/* ========================================
   RESET & BASE
   ======================================== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

/* ========================================
   PRELOADER
   ======================================== */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #050505;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.preloader__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.preloader__logo {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 120px;
    color: #ffffff;
    letter-spacing: 4px;
    line-height: 1;
}

.preloader__logo--red {
    color: #FF0000;
}

.preloader__bar-container {
    width: 180px;
    height: 3px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
}

.preloader__bar {
    width: 0%;
    height: 100%;
    background-color: #FF0000;
    border-radius: 2px;
    animation: loadingBar 0.8s ease-in-out forwards;
}

@keyframes loadingBar {
    0% {
        width: 0%;
    }
    100% {
        width: 100%;
    }
}

/* ========================================
   ANIMATIONS
   ======================================== */
.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }
.delay-400 { transition-delay: 400ms; }
.delay-500 { transition-delay: 500ms; }

body {
    background-color: #0a0a0a;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* Grain texture overlay */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.03;
    pointer-events: none;
    z-index: 9998;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

a {
    text-decoration: none;
    color: inherit;
}

/* ========================================
   NAVBAR
   ======================================== */
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 48px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-sizing: border-box;
    border-bottom: 1px solid transparent;
}

.navbar--scrolled {
    padding: 16px 48px;
    background-color: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.navbar__logo {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 32px;
    color: #ffffff;
    text-decoration: none;
    letter-spacing: 1px;
}

.navbar__logo--accent {
    color: #FF0000;
}

.navbar__nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.navbar__link {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    letter-spacing: 1px;
    transition: color 0.3s ease;
    position: relative;
    padding: 4px 0;
}

.navbar__link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: #FF0000;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(-50%);
}

.navbar__link:hover {
    color: #ffffff;
}

.navbar__link:hover::after {
    width: 100%;
}

.navbar__cta {
    display: flex;
    align-items: center;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #ffffff;
    text-decoration: none;
    padding: 8px 20px;
    background-color: #FF0000;
    border: 1px solid #FF0000;
    border-radius: 4px;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}

.navbar__cta:hover {
    background-color: #cc0000;
    border-color: #cc0000;
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(255, 0, 0, 0.4);
}

.navbar__actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.navbar__hamburger {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    padding: 0;
    z-index: 1001;
}

.navbar__hamburger span {
    width: 100%;
    height: 2px;
    background-color: #ffffff;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.navbar__hamburger.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.navbar__hamburger.active span:nth-child(2) {
    opacity: 0;
}

.navbar__hamburger.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 100vh;
    padding: 100px 48px 40px 48px;
    gap: 40px;
    position: relative;
    background: linear-gradient(135deg, #0a0a0a 0%, #111111 40%, #0d0d0d 100%);
}

/* Left red accent bar */
.hero::before {
    content: '';
    position: absolute;
    left: 0;
    top: 15%;
    width: 4px;
    height: 70%;
    background: linear-gradient(to bottom, transparent, #FF0000, transparent);
    opacity: 0.6;
}

.hero__content {
    flex: 1;
    max-width: 55%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero__title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 140px;
    font-weight: 400;
    line-height: 0.95;
    letter-spacing: 2px;
    color: #ffffff;
    margin-bottom: 28px;
}

/* Red skewed background behind PARA and SIEMPRE */
.hero__title--red {
    display: inline-block;
    position: relative;
    color: #ffffff;
    padding: 5px 100px 10px 35px;
    margin-left: -20px;
    margin-top: 5px;
}

.hero__title--red::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #FF0000;
    background-image: linear-gradient(
        120deg,
        rgba(255, 255, 255, 0) 47.6%,
        rgba(255, 255, 255, 0.2) 50%,
        rgba(255, 255, 255, 0) 52.4%
    );
    background-size: 210% 100%;
    z-index: -1;
    transform: skewX(-12deg);
    animation: shine-red 2s infinite linear;
}

@keyframes shine-red {
    0% {
        background-position: 100% 0;
    }
    100% {
        background-position: 0% 0;
    }
}

.hero__description {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    max-width: 480px;
    margin-bottom: 36px;
}

.hero__description strong {
    color: #ffffff;
    font-weight: 700;
}

.hero__buttons {
    display: flex;
    align-items: center;
    gap: 16px;
}

.hero__btn {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 30px;
    font-weight: 400;
    padding: 12px 32px;
    transition: all 0.2s ease;
    cursor: pointer;
    text-transform: uppercase;
}

.hero__btn--primary {
    background-color: #FF0000;
    color: #ffffff;
    border: none;
    border-radius: 0;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(255, 0, 0, 0.3);
    animation: ctaPulse 2.5s infinite ease-in-out;
}

@keyframes ctaPulse {
    0%, 100% { box-shadow: 0 4px 20px rgba(255, 0, 0, 0.3); }
    50% { box-shadow: 0 6px 35px rgba(255, 0, 0, 0.55); }
}

.hero__btn--primary:hover {
    background-color: #cc0000;
    transform: translateY(-2px);
}

.hero__btn--secondary {
    background-color: transparent;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50px;
    letter-spacing: 1px;
}

.hero__btn--secondary:hover {
    background-color: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.5);
}

/* Hero Image */
.hero__image {
    flex: 0 0 auto;
    width: 700px;
    height: 850px;
    margin-bottom: 60px;
    transform: translateY(-200px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero__photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    image-rendering: high-quality;
    filter: contrast(1.08) saturate(1.1) drop-shadow(0 0 40px rgba(0,0,0,0.6));
    -webkit-mask-image: linear-gradient(to bottom, black 55%, transparent 100%);
    mask-image: linear-gradient(to bottom, black 55%, transparent 100%);
}

/* ========================================
   STATS SECTION
   ======================================== */
.stats {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    padding: 0;
    margin: 0 48px 0 48px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: linear-gradient(180deg, rgba(255,0,0,0.02) 0%, transparent 100%);
}

.stats__item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 32px 0;
}

.stats__divider {
    width: 1px;
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.15), transparent);
}

.stats__value {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 45px;
    font-weight: 400;
    color: #ffffff;
    line-height: 1;
    margin-bottom: 10px;
    letter-spacing: 1px;
    text-shadow: 0 0 30px rgba(255, 0, 0, 0.15);
}

.stats__value--red {
    color: #FF0000;
}

.stats__label {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.4;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* ========================================
   MARQUEE SECTION
   ======================================== */
.marquee {
    position: relative;
    width: 100vw;
    max-width: 100%;
    overflow: hidden;
    background-color: rgba(255, 0, 0, 0.04);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding: 14px 0;
    display: flex;
    white-space: nowrap;
    margin-top: 80px;
    margin-bottom: 80px;
}

.marquee__content {
    display: flex;
    align-items: center;
    animation: scroll 20s linear infinite;
    flex-shrink: 0;
}

.marquee__item {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 32px;
    font-weight: 400;
    color: #ffffff;
    letter-spacing: 1px;
    margin: 0 40px;
}

.marquee__separator {
    display: inline-block;
    width: 60px;
    height: 1px;
    background-color: #FF0000;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

/* ========================================
   SUCCESS SECTION
   ======================================== */
.success {
    padding: 20px 48px 80px 48px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
}

.success__header {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 800px;
}

.success__title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 80px;
    font-weight: 400;
    color: #ffffff;
    letter-spacing: -3px;
    line-height: 1;
    margin-bottom: -4px;
}

.success__title--red {
    color: #FF0000;
}

.success__title-divider {
    width: 250px;
    height: 1px;
    background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.4) 50%, rgba(255,255,255,0) 100%);
    margin-bottom: 24px;
}

.success__subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 400;
    font-style: italic;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.5;
    letter-spacing: 0.5px;
}

.success__divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    margin-top: 60px;
}

/* ========================================
   CASE CARD SECTION
   ======================================== */
.case-card {
    display: flex;
    gap: 30px;
    margin-top: 60px;
    justify-content: center;
    align-items: stretch;
    flex-wrap: wrap;
}

.case-image-container {
    position: relative;
    width: 280px;
    display: flex;
    overflow: hidden;
    border-radius: 4px;
}

.case-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.5s ease;
}

.case-btn {
    position: absolute;
    bottom: 16px;
    right: 0;
    background-color: #FF0000;
    color: #ffffff;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 16px;
    padding: 8px 16px;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 12px rgba(255, 0, 0, 0.4);
}

.case-btn:hover {
    background-color: #cc0000;
    box-shadow: 0 4px 20px rgba(255, 0, 0, 0.6);
    transform: translateY(-1px);
}

.case-info {
    width: 533px;
    min-height: 533px;
    background: linear-gradient(160deg, rgba(20, 20, 20, 0.95) 0%, rgba(10, 10, 10, 0.98) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    padding: 40px 24px;
    border-radius: 8px;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transition: border-color 0.4s ease, box-shadow 0.4s ease, transform 0.4s ease;
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
}

.case-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 0, 0, 0.7), transparent);
}

@media (hover: hover) and (min-width: 1025px) {
    .case-info:hover {
        border-color: rgba(255, 0, 0, 0.2);
        box-shadow: 
            0 0 60px -10px rgba(255, 0, 0, 0.15),
            0 20px 60px rgba(0, 0, 0, 0.5);
    }
}

.case-accent {
    width: 40px;
    height: 3px;
    background-color: #FF0000;
    margin-bottom: 20px;
    border-radius: 2px;
}

.case-name {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 80px;
    font-weight: 400;
    color: #ffffff;
    letter-spacing: -0.03em;
    line-height: 1;
    margin: 0 0 12px 0;
}

.case-details {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.6);
    margin: 0 0 32px 0;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.case-quote-box {
    width: 90%;
    max-width: 501px;
    background-color: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 28px 32px 24px 32px;
    box-sizing: border-box;
    margin-bottom: 28px;
    position: relative;
}

.case-quote-icon {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 48px;
    color: rgba(255, 0, 0, 0.4);
    line-height: 0.6;
    margin-bottom: 8px;
}

.case-quote {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    text-align: center;
    margin: 0;
    font-style: italic;
}

.case-author-line {
    width: 30px;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.2);
    margin-bottom: 16px;
}

.case-author {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
    letter-spacing: 4px;
}

/* Divider between case cards */
.cases-divider {
    width: 60%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    margin: 80px auto;
}

/* Reversed case card (info left, image right) */
.case-card--reversed {
    flex-direction: row-reverse;
}

/* CTA Button at bottom of cases */
.cases-cta {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 24px;
    font-weight: 400;
    color: #ffffff;
    background-color: #FF0000;
    padding: 10px 28px;
    border: none;
    border-radius: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(255, 0, 0, 0.3);
    margin-top: 20px;
}

.cases-cta:hover {
    background-color: #cc0000;
    box-shadow: 0 6px 30px rgba(255, 0, 0, 0.5);
    transform: translateY(-2px) scale(1.05);
}

/* ========================================
   SERVICIO SECTION
   ======================================== */
.servicio {
    padding: 100px 48px;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: linear-gradient(180deg, rgba(15, 15, 15, 0.8) 0%, rgba(10, 10, 10, 0.95) 50%, rgba(15, 15, 15, 0.8) 100%);
    position: relative;
}

.servicio__header {
    text-align: center;
    margin-bottom: 60px;
}

.servicio__title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 80px;
    font-weight: 400;
    color: #ffffff;
    letter-spacing: -1px;
    line-height: 1;
    margin-bottom: -4px;
}

.servicio__title-divider {
    width: 250px;
    height: 1px;
    background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.4) 50%, rgba(255,255,255,0) 100%);
    margin: 0 auto 24px auto;
}

.servicio__subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 400;
    font-style: italic;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
    text-align: center;
    margin-bottom: 60px;
}

.servicio__grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    max-width: 1000px;
    margin: 0 auto;
    width: 100%;
}

.servicio__card {
    background: linear-gradient(160deg, rgba(20, 20, 20, 0.9) 0%, rgba(12, 12, 12, 0.95) 100%);
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    text-align: left;
    width: calc(33.333% - 14px);
    box-sizing: border-box;
    transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
}

.servicio__card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 0, 0, 0.5), transparent);
    opacity: 0;
    transition: opacity 0.4s ease, width 0.4s ease;
}

@media (hover: hover) and (min-width: 1025px) {
    .servicio__card:hover {
        border-color: rgba(255, 0, 0, 0.15);
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 40px rgba(255, 0, 0, 0.08);
    }

    .servicio__card:hover::before {
        opacity: 1;
        width: 80%;
    }
}

.servicio__card--large {
    width: calc(45% - 10px); /* Top row left card */
}

.servicio__card--xlarge {
    width: calc(55% - 10px); /* Top row right card */
}

.servicio__card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
    margin-bottom: 24px;
}

.servicio__card-icon {
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 2px;
}

.servicio__card-number {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 1px;
}

.servicio__card-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 28px;
    font-weight: 400;
    color: #ffffff;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
    line-height: 1.2;
}

.servicio__card-desc {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 400;
    font-style: italic;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

/* ========================================
   QUIEN SOY SECTION
   ======================================== */
.quien-soy {
    padding: 120px 48px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.quien-soy__header {
    text-align: center;
    margin-bottom: 60px;
    width: 100%;
}

.quien-soy__title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 64px;
    font-weight: 400;
    color: #ffffff;
    letter-spacing: -1px;
    line-height: 1;
    margin-bottom: -3px;
}

.quien-soy__title-divider {
    width: 250px;
    height: 1px;
    background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.5) 50%, rgba(255,255,255,0) 100%);
    margin: 0 auto;
}

.quien-soy__content {
    display: flex;
    flex-direction: row;
    gap: 60px;
    max-width: 1100px;
    width: 100%;
    align-items: stretch;
}

.quien-soy__image-wrapper {
    flex: 0 0 45%;
}

.quien-soy__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    transition: box-shadow 0.4s ease, transform 0.4s ease;
}

.quien-soy__image:hover {
    box-shadow: 0 0 50px rgba(255, 0, 0, 0.15), 0 20px 60px rgba(0, 0, 0, 0.4);
    transform: scale(1.01);
}

.quien-soy__text-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.quien-soy__heading {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 52px;
    font-weight: 400;
    color: #ffffff;
    line-height: 1.1;
    margin-bottom: 32px;
    letter-spacing: 0.5px;
}

.text-red {
    color: #FF0000;
}

.quien-soy__paragraphs p {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin-bottom: 28px;
}

.quien-soy__paragraphs p:last-child {
    margin-bottom: 0;
}

/* ========================================
   CONTACTO SECTION
   ======================================== */
.contacto {
    padding: 140px 48px 140px 48px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, transparent 0%, rgba(255, 0, 0, 0.02) 50%, transparent 100%);
}

.contacto__glow {
    position: absolute;
    left: -200px;
    top: 50%;
    transform: translateY(-50%);
    width: 276px;
    height: 276px;
    background-color: #ff0000;
    filter: blur(150px);
    border-radius: 50%;
    z-index: -1;
    pointer-events: none;
    opacity: 1;
}

.contacto__header {
    text-align: center;
    margin-bottom: 80px;
    width: 100%;
}

.contacto__title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 64px;
    font-weight: 400;
    color: #ffffff;
    letter-spacing: -1px;
    line-height: 1;
    margin-bottom: -3px;
}

.contacto__title-divider {
    width: 250px;
    height: 1px;
    background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.5) 50%, rgba(255,255,255,0) 100%);
    margin: 0 auto;
}

.contacto__content {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 1000px;
    gap: 100px;
}

.contacto__left {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 450px;
}

.contacto__heading {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 64px;
    font-weight: 100;
    color: #ffffff;
    line-height: 1;
    letter-spacing: 0.5px;
    margin-bottom: 24px;
}

.strike-through {
    position: relative;
    display: inline-block;
}

.strike-through::after {
    content: '';
    position: absolute;
    left: -5%;
    top: 50%;
    width: 110%;
    height: 6px;
    background-color: #FF0000;
    transform: translateY(-50%) rotate(-3deg);
    z-index: 1;
}

.contacto__desc {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 100;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.5;
}

.contacto__right {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    max-width: 450px;
}

.contacto__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px 28px;
    width: fit-content;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 2px;
}

.contacto__btn:hover {
    transform: translateY(-2px);
}

.contacto__btn--primary {
    background-color: #FF0000;
    color: #ffffff;
    box-shadow: 0 4px 20px rgba(255, 0, 0, 0.3);
    animation: ctaPulse 2.5s infinite ease-in-out;
}

.contacto__btn--primary:hover {
    box-shadow: 0 8px 35px rgba(255, 0, 0, 0.5);
}

.contacto__btn--secondary {
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
}

.contacto__btn--secondary:hover {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.5);
}

.contacto__btn .btn-icon {
    margin-right: 20px;
    flex-shrink: 0;
}

.contacto__btn .btn-text {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 28px;
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: 0.5px;
    flex: none;
    text-align: center;
}

.contacto__btn .btn-arrow {
    margin-left: 20px;
    flex-shrink: 0;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    width: 100%;
    padding: 40px 30px;
    text-align: center;
    background-color: #050505;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 0, 0, 0.3), transparent);
}

.footer p {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.35);
    letter-spacing: 1px;
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
    .hero {
        padding-top: 120px;
    }

    .hero__title {
        font-size: 100px;
    }

    .hero__image {
        width: 450px;
        height: auto;
        transform: translateY(-80px);
    }

    .navbar__nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 40px;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1000;
    }

    .navbar__nav.active {
        right: 0;
    }

    .navbar__link {
        font-size: 24px;
    }

    .navbar__hamburger {
        display: flex;
    }

    .navbar__cta {
        display: none;
    }

    .case-info {
        width: 100%;
        max-width: 450px;
        min-height: auto;
    }
}

@media (max-width: 768px) {
    .preloader {
        display: none !important;
    }

    .navbar {
        padding: 16px 24px;
    }

    .hero {
        flex-direction: column;
        align-items: center;
        padding: 120px 24px 40px 24px;
    }

    .hero::before {
        display: none;
    }

    .hero__content {
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .hero__title {
        font-size: 64px;
        text-align: center;
    }

    .hero__title--red {
        padding: 5px 20px 10px 15px;
        margin-left: 0;
        display: inline-block;
    }

    .hero__description {
        text-align: center;
    }

    .hero__image {
        display: none;
    }

    .hero__buttons {
        flex-direction: column;
        align-items: center;
        width: 100%;
        gap: 16px;
    }

    .hero__btn {
        width: 100%;
        max-width: 190px;
        font-size: 16px;
        padding: 8px 16px;
        text-align: center;
        justify-content: center;
    }

    .hero__btn--secondary {
        max-width: 170px;
    }

    .stats {
        flex-wrap: wrap;
        margin: 0;
        padding: 20px 0;
    }

    .stats__item {
        flex: 0 0 50%;
        padding: 20px 0;
    }

    .stats__divider {
        display: none;
    }

    .success {
        padding: 60px 24px;
    }

    .success__title,
    .servicio__title,
    .quien-soy__title,
    .contacto__title,
    .contacto__heading {
        font-size: 48px;
        letter-spacing: 0px;
    }

    .case-card {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .case-card .case-image-container {
        order: -1;
        width: 100%;
        max-width: 350px;
        aspect-ratio: 4/5;
        height: auto;
    }

    .case-info {
        width: 100%;
        padding: 30px 20px;
    }

    .case-name {
        font-size: 48px;
        text-align: center;
    }

    .case-details {
        text-align: center;
        line-height: 1.4;
    }

    .servicio {
        padding: 60px 24px;
    }

    .servicio__card,
    .servicio__card--large,
    .servicio__card--xlarge {
        width: 100%;
    }

    .quien-soy {
        padding: 60px 24px;
    }

    .quien-soy__content {
        flex-direction: column;
        gap: 40px;
    }

    .quien-soy__image-wrapper {
        width: 100%;
        max-width: 500px;
        margin: 0 auto;
    }

    .quien-soy__heading {
        font-size: 40px;
    }

    .contacto {
        padding: 60px 24px;
    }

    .contacto__content {
        flex-direction: column;
        gap: 60px;
    }

    .contacto__btn {
        padding: 12px 24px;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap: 12px;
        text-align: center;
        width: fit-content;
        margin: 0 auto;
    }

    .contacto__btn .btn-icon {
        display: none;
    }

    .hide-on-mobile {
        display: none;
    }

    .contacto__btn .btn-text {
        font-size: 24px;
        text-align: center;
        flex: none;
    }

    .contacto__btn .btn-arrow {
        margin-left: 0;
    }

    .cases-cta {
        font-size: 16px;
        padding: 10px 16px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero__title {
        font-size: 56px;
    }

    .navbar__logo {
        font-size: 24px;
    }

    .stats__item {
        flex: 0 0 100%;
    }

    .case-name {
        font-size: 40px;
    }

    .success__title,
    .servicio__title,
    .quien-soy__title,
    .contacto__title,
    .contacto__heading {
        font-size: 38px;
        letter-spacing: 0px;
    }
    
    .marquee__item {
        font-size: 24px;
        margin: 0 20px;
    }
    
    .marquee__separator {
        width: 30px;
    }

    .contacto__btn {
        padding: 10px 20px;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap: 8px;
        width: fit-content;
        margin: 0 auto;
    }
}
