/* Reset y Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-purple: #3f2f85;
    --primary-yellow: #F7B32B;
    --dark-purple: #241f5d;
    --light-purple: #5a4ba8;
    --text-dark: #1a1a1a;
    --text-light: #666;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --success: #28a745;
    --danger: #dc3545;
    --shadow: 0 4px 20px rgba(63, 47, 133, 0.1);
    --shadow-hover: 0 8px 30px rgba(63, 47, 133, 0.2);
    --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
    --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 1.5rem;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.skip-link {
    position: fixed;
    top: 1rem;
    left: 1rem;
    z-index: 3000;
    padding: 0.7rem 0.95rem;
    border-radius: 8px;
    background: var(--primary-yellow);
    color: var(--dark-purple);
    font-weight: 800;
    text-decoration: none;
    transform: translateY(-150%);
    transition: transform 160ms var(--ease-out);
}

.skip-link:focus {
    transform: translateY(0);
}

#detalles,
#modulos,
#faq,
#inscripcion {
    scroll-margin-top: 1.5rem;
}

/* Hero Top Bar */
.hero-top-bar {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 3;
}

.hero-top-inner {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    white-space: nowrap;
    gap: 1rem;
    padding: 0.65rem 1.4rem;
    border-radius: 999px;
    background: rgba(46, 26, 79, 0.75);
    backdrop-filter: blur(8px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.site-nav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0.35rem 0.62rem;
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.01em;
    text-decoration: none;
    transition: color 160ms ease, background-color 160ms ease, transform 160ms var(--ease-out);
}

.site-nav a:hover,
.site-nav a:focus-visible {
    color: var(--white);
    background: rgba(255, 255, 255, 0.12);
}

.site-nav a:active {
    transform: scale(0.97);
}

.nav-socials {
    display: flex;
    gap: 1rem;
}

.nav-socials a {
    color: var(--white);
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.nav-socials a:hover {
    color: var(--primary-yellow);
}

.lang-switcher {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 600;
    font-size: 0.95rem;
}

.lang-link {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    transition: color 0.3s ease;
}

.lang-link:hover {
    color: var(--white);
}

.lang-link.active {
    color: var(--primary-yellow);
}

.lang-separator {
    color: rgba(255, 255, 255, 0.45);
}

@media (max-width: 992px) {
    .hero-top-bar {
        right: 1rem;
        top: 0.35rem;
    }
}

@media (max-width: 768px) {
    .hero-top-bar {
        position: static;
        display: flex;
        justify-content: center;
        margin: 0 auto 1.5rem;
    }
    
    .hero-top-inner {
        width: calc(100% - 1rem);
        max-width: 560px;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.72rem 0.9rem;
        padding: 0.72rem;
        border-radius: 16px;
        background: rgba(46, 26, 79, 0.85);
    }

    .site-nav {
        order: 3;
        width: 100%;
        justify-content: center;
        gap: 0.3rem;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .site-nav::-webkit-scrollbar {
        display: none;
    }

    .site-nav a {
        flex: 0 0 auto;
        min-height: 36px;
        padding: 0.42rem 0.54rem;
        font-size: 0.76rem;
    }
    
    .nav-socials {
        gap: 0.9rem;
    }
    
    .nav-socials a {
        font-size: 1.1rem;
    }
}

.no-break {
    white-space: nowrap;
}

/* Typography */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    color: var(--primary-purple);
    text-align: center;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    text-align: center;
    margin-bottom: 3rem;
}

.highlight {
    color: var(--primary-yellow);
    background: linear-gradient(90deg, var(--primary-yellow), #FFD700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary-purple), var(--light-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    touch-action: manipulation;
    transition: transform 160ms var(--ease-out), box-shadow 180ms var(--ease-out), background-color 160ms ease, border-color 160ms ease, color 160ms ease;
    text-align: center;
    justify-content: center;
}

.btn:focus-visible,
.site-nav a:focus-visible,
.lang-link:focus-visible,
.nav-socials a:focus-visible,
.social-link:focus-visible,
.footer-links a:focus-visible,
.module-header:focus-visible,
.faq-question:focus-visible,
.popup-close:focus-visible,
.form-group input:focus-visible {
    outline: 3px solid rgba(247, 179, 43, 0.9);
    outline-offset: 3px;
}

.btn:active {
    transform: scale(0.97);
}

.btn[disabled],
.btn.is-disabled {
    opacity: 0.65;
    cursor: not-allowed;
    pointer-events: none;
    transform: none;
    box-shadow: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-purple), var(--light-purple));
    color: var(--white);
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-secondary {
    background: var(--white);
    color: var(--primary-purple);
    border: 2px solid var(--primary-purple);
}

.btn-secondary:hover {
    background: var(--primary-purple);
    color: var(--white);
}

.btn-whatsapp {
    background: #25D366;
    color: var(--white);
}

.btn-whatsapp:hover {
    background: #20BA5A;
}

.btn-large {
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
}

.btn-block {
    width: 100%;
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: calc(env(safe-area-inset-bottom) + 30px);
    right: calc(env(safe-area-inset-right) + 30px);
    width: 60px;
    height: 60px;
    background: #25D366;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: transform 160ms var(--ease-out), box-shadow 180ms var(--ease-out), background-color 160ms ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
}

.whatsapp-float:active {
    transform: scale(0.96);
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Hero Section */
.hero {
    background-image: linear-gradient(120deg, rgba(46, 26, 79, 0.92) 0%, rgba(74, 44, 125, 0.88) 55%, rgba(0, 0, 0, 0.35) 100%), url('images/jacob-photo.jpg');
    background-size: 100% 100%, cover;
    background-position: 0 0, 58% -0.45rem;
    background-repeat: no-repeat, no-repeat;
    color: var(--white);
    padding: 3.8rem 0 2rem;
    position: relative;
    overflow: hidden;
}

@supports (background-image: image-set(url('images/jacob-photo.webp') type('image/webp'), url('images/jacob-photo.jpg') type('image/jpeg'))) {
    .hero {
        background-image: linear-gradient(120deg, rgba(46, 26, 79, 0.92) 0%, rgba(74, 44, 125, 0.88) 55%, rgba(0, 0, 0, 0.35) 100%), image-set(
            url('images/jacob-photo.webp') type('image/webp'),
            url('images/jacob-photo.jpg') type('image/jpeg')
        );
    }
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    opacity: 0.2;
    pointer-events: none;
}

.hero .container {
    position: relative;
    z-index: 1;
    min-height: 62vh;
    display: flex;
    align-items: center;
}

.hero-grid {
    display: block;
    width: 100%;
}

.hero-main {
    text-align: center;
    max-width: 940px;
    margin: 0 auto;
}

@media (min-width: 992px) {
    .hero {
        background-position: 0 0, 58% -1.55rem;
        padding-top: 4.25rem;
    }

    .hero-main {
        text-align: left;
        margin: 0 auto 0 0;
        max-width: 840px;
        padding-left: 0.15rem;
    }
}

@media (max-width: 768px) {
    .hero {
        background-position: 0 0, center top;
        padding: 3.35rem 0 2rem;
    }

    .hero .container {
        min-height: auto;
        flex-direction: column;
        align-items: center;
    }

    .hero-main {
        text-align: center;
    }

    .hero-countdown {
        width: 100%;
        max-width: 100%;
        margin: 0 auto 1.5rem;
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }

    .countdown {
        gap: 0.7rem;
        justify-content: center;
        flex-wrap: nowrap;
    }

    .hero-title-main {
        font-size: clamp(2rem, 8.1vw, 3rem);
    }

    .hero-claim {
        font-size: clamp(1.52rem, 6.8vw, 2.15rem);
        max-width: none;
    }

    .countdown-label {
        max-width: none;
        text-align: center;
    }

    .hero-subtitle {
        font-size: clamp(0.96rem, 4vw, 1rem);
        white-space: normal;
    }

    .hero-cert {
        font-size: clamp(0.98rem, 4vw, 1.08rem);
    }

    .hero-badges {
        margin-bottom: 1.55rem;
    }

    .hero-title {
        margin-bottom: 0.8rem;
    }

    .hero-subtitle {
        margin-bottom: 1.15rem;
    }

    .hero-cert {
        margin-bottom: 1.45rem;
    }

    .hero-countdown {
        margin-bottom: 1.8rem;
    }

    .hero-cta {
        margin-bottom: 2.9rem;
    }
}

.hero-badges {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-bottom: 2.35rem;
}

.hero-badges-row {
    display: flex;
    gap: 0.85rem;
    flex-wrap: wrap;
    justify-content: center;
}

.hero-badges-row-primary {
    margin-bottom: 0.4rem;
}

.hero-edition-note {
    display: inline-flex;
    align-items: center;
    font-size: 1rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.92);
    letter-spacing: 0.01em;
}

.badge {
    display: inline-block;
    padding: 0.55rem 1.15rem;
    font-size: 0.95rem;
    font-weight: 700;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.badge-free {
    background: var(--primary-yellow);
    color: var(--dark-purple);
    text-transform: none;
    letter-spacing: 0.01em;
}

.badge-limited {
    background: var(--white);
    color: var(--primary-purple);
    animation: none;
}

.hero-availability-cluster {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    flex-wrap: wrap;
}

.badge-limited-counter {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.48rem 0.95rem 0.48rem 0.78rem;
    border: 1px solid rgba(63, 47, 133, 0.08);
}

.badge-limited-old {
    display: inline-flex;
    align-items: baseline;
    gap: 0.18rem;
    color: var(--primary-purple);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.01em;
}

.badge-limited-old-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-purple);
    font-size: 1.08rem;
    font-weight: 800;
    text-decoration: line-through;
    text-decoration-thickness: 1.6px;
    text-decoration-color: var(--primary-yellow);
    letter-spacing: -0.02em;
}

.badge-limited-old-label {
    text-transform: uppercase;
}

.badge-limited-copy {
    color: var(--primary-purple);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    white-space: nowrap;
    text-transform: uppercase;
}

.hero-availability-live {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-yellow);
    font-size: 0.98rem;
    font-weight: 800;
    letter-spacing: 0.01em;
    text-transform: uppercase;
}

.hero-availability-live-label,
.hero-availability-live-copy {
    white-space: nowrap;
}

.hero-availability-live-score {
    display: inline-flex;
    gap: 0.2rem;
}

.hero-availability-live-digit {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.42rem;
    height: 1.9rem;
    border-radius: 0.42rem;
    background: linear-gradient(180deg, #ffd15e 0%, #f7b32b 100%);
    color: var(--dark-purple);
    font-size: 1.22rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.03em;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28), 0 8px 18px rgba(10, 7, 28, 0.22);
}

.hero-availability-live-digit::after {
    content: '';
    position: absolute;
    left: 3px;
    right: 3px;
    top: 50%;
    height: 1px;
    background: rgba(36, 31, 93, 0.18);
}

.badge-spanish {
    background: var(--primary-yellow);
    color: var(--dark-purple);
    border: 2px solid var(--dark-purple);
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.hero-title {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-bottom: 1.15rem;
    line-height: 1.02;
}

.hero-title-main {
    display: block;
    font-size: clamp(2.16rem, 4.15vw, 3.68rem);
    color: var(--white);
    text-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
}

.hero-claim {
    display: block;
    font-size: clamp(1.72rem, 3.2vw, 2.55rem);
    max-width: 26ch;
    background: linear-gradient(135deg, #8f81e8 0%, #b8adff 52%, #e5dfff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.18));
    line-height: 1.04;
}

.hero-subtitle {
    font-size: clamp(0.98rem, 1.18vw, 1.02rem);
    line-height: 1.35;
    margin-bottom: 1.7rem;
    opacity: 1;
    max-width: none;
    margin-left: auto;
    margin-right: auto;
    font-weight: 500;
    font-style: italic;
    background: linear-gradient(135deg, #8f81e8 0%, #b8adff 52%, #e5dfff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.hero-cert {
    font-size: clamp(1.04rem, 1.28vw, 1.14rem);
    margin-bottom: 2.1rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.92);
    letter-spacing: 0.01em;
}

.hero-cta {
    display: flex;
    gap: 0.85rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 0;
    margin-bottom: 3.4rem;
}

.btn-hero-primary {
    background: var(--primary-yellow);
    color: var(--dark-purple);
    box-shadow: 0 15px 40px rgba(247, 179, 43, 0.35);
}

.btn-hero-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 45px rgba(247, 179, 43, 0.45);
}

/* Countdown */
.hero-countdown {
    margin: 0 0 2.35rem;
    width: fit-content;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.78rem;
    flex-wrap: nowrap;
    padding: 0;
    border: 0;
    background: none;
    backdrop-filter: none;
    box-shadow: none;
}

.hero-countdown.is-closed {
    align-items: flex-start;
    max-width: 760px;
    width: auto;
}

.hero-countdown.is-closed .countdown-label {
    max-width: 16ch;
    font-weight: 700;
}

.hero-countdown.is-closed .countdown {
    display: block;
    max-width: 520px;
}

.hero-countdown.is-closed .countdown-closed {
    margin: 0;
    color: rgba(255, 255, 255, 0.92);
    font-size: 1rem;
    line-height: 1.35;
    font-weight: 600;
}

@media (max-width: 640px) {
    .hero-countdown.is-closed {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .hero-countdown.is-closed .countdown-label,
    .hero-countdown.is-closed .countdown {
        max-width: none;
    }
}

.countdown-label {
    font-size: 1.18rem;
    opacity: 1;
    font-weight: 500;
    margin: 0;
    width: auto;
    max-width: 11ch;
    line-height: 1.15;
    text-align: left;
    color: rgba(255, 255, 255, 0.96);
}

.countdown {
    display: flex;
    align-items: flex-start;
    gap: 1.18rem;
    justify-content: flex-start;
    flex-wrap: nowrap;
    width: auto;
}

.countdown-item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: none;
    backdrop-filter: none;
    padding: 0;
    border-radius: 0;
    min-width: 84px;
    border: 0;
    z-index: 0;
}

.countdown-item::before {
    content: '';
    position: absolute;
    top: -0.35rem;
    width: 4.9rem;
    height: 4.9rem;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.05) 45%, rgba(255, 255, 255, 0) 72%);
    z-index: -1;
}

.countdown-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -0.6rem;
    top: 0.24rem;
    width: 1px;
    height: 3.2rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.36) 50%, rgba(255, 255, 255, 0) 100%);
}

.countdown-value {
    font-size: clamp(2.36rem, 4.05vw, 3.2rem);
    font-weight: 800;
    color: var(--primary-yellow);
    line-height: 0.92;
    text-shadow: 0 8px 18px rgba(247, 179, 43, 0.24);
}

.countdown-unit {
    margin-top: 0.25rem;
    font-size: 0.72rem;
    text-transform: uppercase;
    opacity: 0.72;
    letter-spacing: 0.12em;
    font-weight: 600;
}

.countdown-closed {
    color: var(--primary-yellow);
    font-weight: 700;
}

/* Funding Section */
.funding-section {
    background: var(--white);
    padding: 2.5rem 0;
    margin-top: 0;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.12);
}

.funding-section .container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logos-label {
    text-align: center;
    font-size: 1rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    color: var(--primary-purple);
    padding: 0.4rem 1.2rem;
    display: inline-flex;
    border-radius: 999px;
    background: rgba(106, 76, 154, 0.1);
    margin-left: auto;
    margin-right: auto;
}

.logos-grid {
    display: flex;
    gap: 3rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    width: 100%;
}

.logo-img {
    height: 60px;
    width: auto;
    object-fit: contain;
    filter: none;
    opacity: 1;
}

/* Pain Section */
.pain-section {
    padding: 5rem 0 4rem;
    background: linear-gradient(135deg, var(--dark-purple) 0%, rgba(74, 44, 125, 0.95) 60%, rgba(106, 76, 154, 0.9) 100%);
    color: var(--white);
}

.pain-section .section-title {
    color: var(--white);
}

.pain-block {
    max-width: 1100px;
    margin: 0 auto;
}

.pain-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.15rem;
    margin-top: 2.6rem;
}

.pain-card {
    background: rgba(81, 98, 173, 0.36);
    padding: 1.35rem 1.45rem;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    box-shadow: 0 18px 40px rgba(15, 8, 37, 0.18);
    transition: transform 180ms var(--ease-out), box-shadow 180ms var(--ease-out), background-color 180ms ease;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.8rem;
    align-items: center;
    text-align: center;
    color: var(--white);
    min-height: auto;
    backdrop-filter: blur(8px);
}

.pain-card:hover {
    transform: translateY(-3px);
    background: rgba(90, 108, 188, 0.42);
    box-shadow: 0 24px 50px rgba(10, 6, 29, 0.22);
}

.pain-card h3 {
    color: var(--white);
    font-size: clamp(1.12rem, 1.45vw, 1.28rem);
    line-height: 1.16;
    margin: 0;
    text-align: center;
    padding-right: 0;
    align-self: center;
    max-width: none;
    text-wrap: balance;
}

.pain-card p {
    color: rgba(255, 255, 255, 0.96);
    font-size: 0.95rem;
    line-height: 1.72;
    margin: 0;
}

.pain-card-quote {
    position: relative;
    padding-left: 1.15rem;
}

.pain-card-quote::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.15rem;
    bottom: 0.15rem;
    width: 3px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
}

.course-details-block {
    margin-top: 4rem;
    text-align: center;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.course-details-block .section-title {
    text-align: center;
}

.details-priority,
.details-list {
    display: grid;
    gap: 1rem;
}

.details-priority {
    margin-top: 2.35rem;
    margin-bottom: 2.3rem;
}

.detail-line {
    width: min(760px, 100%);
    margin: 0 auto;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0.85rem;
    text-align: left;
}

.detail-line-primary {
    width: min(860px, 100%);
    justify-content: center;
    text-align: center;
}

.detail-line i {
    flex: 0 0 auto;
    font-size: 1.2rem;
    color: var(--primary-yellow);
    margin-top: 0.2rem;
}

.detail-line-copy {
    display: flex;
    flex-direction: column;
    gap: 0.18rem;
}

.detail-line-primary .detail-line-copy {
    align-items: center;
}

.detail-line-main {
    margin: 0;
    font-size: 1rem;
    line-height: 1.45;
    color: var(--white);
    font-weight: 700;
}

.detail-line-sub {
    margin: 0;
    font-size: 0.98rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.84);
}

.detail-line-primary .detail-line-main {
    font-size: clamp(1.55rem, 2.6vw, 2.05rem);
    line-height: 1.1;
    font-weight: 800;
    text-align: center;
}

.detail-line-primary .detail-line-sub {
    font-size: clamp(1.18rem, 1.95vw, 1.38rem);
    line-height: 1.45;
    text-align: center;
    color: rgba(255, 255, 255, 0.92);
}

.details-big-inline {
    color: var(--primary-yellow);
}

.details-inline-icon {
    font-size: 0.78em;
    margin-left: 0.22em;
    vertical-align: 0.02em;
}

.detail-line-muted {
    color: rgba(255, 255, 255, 0.7);
}

.details-list {
    gap: 1.2rem;
}

.details-list .detail-line {
    width: min(860px, 100%);
    justify-content: center;
    text-align: center;
    gap: 0.35rem;
}

.details-list .detail-line-copy {
    align-items: center;
    max-width: 100%;
}

.details-list .detail-line-main {
    font-size: clamp(1.08rem, 1.7vw, 1.3rem);
    line-height: 1.4;
    text-align: center;
    margin: 0;
}

.details-list .detail-line-sub {
    font-size: 0.98rem;
    text-align: center;
    padding-left: 0;
}

.detail-line-heading {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    max-width: 100%;
}

.details-list .detail-line i {
    margin-top: 0;
    flex: 0 0 auto;
}

.detail-line-label {
    color: var(--primary-yellow);
    font-weight: 700;
}

.detail-line-soft {
    font-weight: 500;
}

.program-status-note {
    width: min(860px, 100%);
    margin: 1.35rem auto 0;
    padding: 0.9rem 1.05rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.11);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    line-height: 1.55;
    text-align: center;
}

.program-status-note strong {
    color: var(--primary-yellow);
}

.program-status-note-light {
    background: rgba(46, 26, 79, 0.07);
    border-color: rgba(46, 26, 79, 0.13);
    color: var(--text-light);
}

.program-status-note-light strong {
    color: var(--primary-purple);
}


@media (max-width: 480px) {
    .pain-card {
        grid-template-columns: 1fr;
        gap: 0.8rem;
        min-height: auto;
        text-align: center;
    }

    .pain-card h3 {
        text-align: center;
    }

    .details-highlight,
    .details-grid {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 992px) {
    .pain-card {
        grid-template-columns: minmax(190px, 0.85fr) minmax(0, 1fr);
        gap: 1rem;
        min-height: 180px;
        text-align: left;
    }

    .pain-card h3 {
        text-align: right;
        padding-right: 0.55rem;
        max-width: 15ch;
    }
}

@media (min-width: 768px) {
    .pain-grid {
        grid-template-columns: repeat(2, minmax(220px, 1fr));
        gap: 1.15rem;
    }

    .hero-badges-row {
        justify-content: flex-start;
    }

    .hero-cta {
        justify-content: flex-start;
    }

    .hero-countdown {
        justify-content: flex-start;
        align-items: center;
    }

    .countdown {
        justify-content: flex-start;
    }

    .hero-subtitle {
        margin-left: 0;
        margin-right: 0;
        white-space: nowrap;
    }

    .hero-cert {
        margin-left: 0;
        margin-right: 0;
    }

    .countdown-label {
        text-align: left;
    }

    html[lang="es"] .hero-subtitle {
        white-space: nowrap;
    }

    html[lang="es"] .hero-cert {
        white-space: normal;
    }

    html[lang="en"] .hero-subtitle {
        white-space: normal;
        max-width: 40ch;
    }

    html[lang="en"] .hero-cert {
        white-space: normal;
        max-width: 34ch;
    }
}

@media (min-width: 1200px) {
    .details-grid {
        grid-template-columns: repeat(4, minmax(220px, 1fr));
    }
}

/* Program Section */
.program-section {
    padding: 5rem 0;
    background: var(--white);
}

.program-outcomes {
    margin-bottom: 3.5rem;
}

.outcomes-grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

@media (min-width: 768px) {
    .outcomes-grid {
        grid-template-columns: repeat(2, minmax(220px, 1fr));
    }
}

@media (min-width: 992px) {
    .outcomes-grid {
        grid-template-columns: repeat(3, minmax(220px, 1fr));
    }
}

@media (min-width: 1200px) {
    .outcomes-grid {
        grid-template-columns: repeat(3, minmax(220px, 1fr));
    }
}

.outcome-item {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: 12px;
    border: 2px solid transparent;
    transition: transform 180ms var(--ease-out), box-shadow 180ms var(--ease-out), border-color 160ms ease;
    height: 100%;
}

.outcome-item:hover {
    border-color: var(--primary-yellow);
    box-shadow: var(--shadow);
    transform: translateY(-4px);
}

.outcome-item i {
    font-size: 1.6rem;
    color: var(--primary-yellow);
}

.outcome-item h3 {
    color: var(--primary-purple);
    font-size: 1.05rem;
    margin-bottom: 0.4rem;
}

.outcome-item p {
    color: var(--text-light);
    font-size: 0.95rem;
}

.modules-block {
    margin-top: 3rem;
}

.modules-block .section-title,
.modules-block .section-subtitle {
    text-align: center;
}

.modules-accordion {
    max-width: 920px;
    margin: 3rem auto 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cta-center {
    text-align: center;
    margin-top: 3rem;
}

.cta-note {
    margin-top: 1rem;
    font-size: 0.85rem;
    color: var(--text-light);
    font-style: italic;
}

.module-item {
    width: 100%;
    background: var(--white);
    border-radius: 10px;
    margin: 0 0 1rem;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.module-header {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--white);
    border: none;
    cursor: pointer;
    text-align: left;
    touch-action: manipulation;
    transition: background-color 160ms ease, color 160ms ease;
}

.module-header:hover {
    background: var(--bg-light);
}

.module-header.active {
    background: var(--primary-purple);
    color: var(--white);
}

.module-header.active .module-number {
    background: var(--primary-yellow);
    color: var(--dark-purple);
}

.module-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: var(--primary-purple);
    color: var(--white);
    border-radius: 50%;
    font-weight: 700;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.module-title {
    flex: 1;
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.2;
}

.module-header i {
    transition: transform 180ms var(--ease-out);
}

.module-header.active i {
    transform: rotate(180deg);
}

.module-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 240ms var(--ease-out), padding 240ms var(--ease-out);
    padding: 0 1.5rem;
    box-sizing: border-box;
}

.module-content.active {
    padding: 1.65rem 2rem 3rem;
}

.module-content ul {
    list-style: none;
    margin-bottom: 0;
}

.module-content li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-light);
}

.module-content li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary-yellow);
    font-weight: 700;
}

.module-duration {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--primary-yellow);
    color: var(--dark-purple);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
}

/* About Section */
.about-section {
    padding: 5rem 0;
    background: var(--bg-light);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

.about-bio {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.about-socials {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid var(--primary-purple);
    color: var(--primary-purple);
    font-size: 1.2rem;
    transition: transform 160ms var(--ease-out), background-color 160ms ease, color 160ms ease;
}

.social-link:hover {
    background: var(--primary-purple);
    color: var(--white);
    transform: translateY(-2px);
}

.about-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-image picture {
    display: block;
    width: min(100%, 360px);
}

.about-image img {
    width: 100%;
    max-width: none;
    height: auto;
    aspect-ratio: 768 / 1263;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: var(--shadow-hover);
    margin: 0 auto;
    display: block;
}

/* FAQ Section */
.faq-section {
    padding: 5rem 0;
    background: var(--white);
}

.faq-accordion {
    max-width: 800px;
    margin: 3rem auto;
}

.faq-item {
    background: var(--bg-light);
    border-radius: 10px;
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-purple);
    touch-action: manipulation;
    transition: background-color 160ms ease, color 160ms ease;
}

.faq-question:hover {
    background: var(--white);
}

.faq-question.active {
    background: var(--primary-purple);
    color: var(--white);
}

.faq-question i {
    transition: transform 180ms var(--ease-out);
}

.faq-question.active i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 240ms var(--ease-out), padding 240ms var(--ease-out);
    padding: 0 1.5rem;
}

.faq-answer.active {
    padding: 1.5rem;
}

.faq-answer p {
    color: var(--text-light);
    line-height: 1.8;
}

/* Final CTA */
.final-cta {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--dark-purple), var(--primary-purple));
    color: var(--white);
    text-align: center;
}

.final-cta-title {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.7rem;
}

.final-cta-kicker {
    display: block;
}

.final-cta-availability {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 0.7rem;
    flex-wrap: wrap;
    justify-content: center;
}

.final-cta-old {
    color: rgba(255, 255, 255, 0.92);
    text-decoration: line-through;
    text-decoration-thickness: 2px;
    text-decoration-color: rgba(255, 255, 255, 0.9);
    font-size: 0.5em;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.final-cta-scoreboard {
    display: inline-flex;
    align-items: center;
    gap: 0.9rem;
    padding: 0.45rem 0.65rem 0.45rem 0.45rem;
    border-radius: 22px;
    background: rgba(22, 16, 56, 0.42);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
}

.final-cta-digits {
    display: inline-flex;
    gap: 0.35rem;
}

.final-cta-digit {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.2em;
    min-width: 72px;
    height: 92px;
    border-radius: 16px;
    background: linear-gradient(180deg, #161134 0%, #231a57 100%);
    color: var(--primary-yellow);
    font-size: 1.2em;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.04em;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), inset 0 -10px 20px rgba(0, 0, 0, 0.18);
}

.final-cta-digit::after {
    content: '';
    position: absolute;
    left: 10px;
    right: 10px;
    top: 50%;
    height: 1px;
    background: rgba(255, 255, 255, 0.14);
    box-shadow: 0 -1px 0 rgba(0, 0, 0, 0.18);
}

.final-cta-label {
    color: var(--primary-yellow);
    font-size: 0.46em;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    align-self: center;
    padding-right: 0.1rem;
}

.final-cta-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 0.75rem;
}

.final-cta-services {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    max-width: 820px;
    margin: 0 auto 1.75rem;
}

.final-cta-services span {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.7rem 0.9rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: rgba(255, 255, 255, 0.94);
    font-size: 0.92rem;
    font-weight: 700;
}

.final-cta-services i {
    color: var(--primary-yellow);
}

@media (max-width: 768px) {
    .final-cta-scoreboard {
        gap: 0.7rem;
        padding: 0.4rem 0.55rem 0.4rem 0.4rem;
    }

    .final-cta-digit {
        min-width: 58px;
        height: 74px;
        border-radius: 14px;
    }

    .final-cta-label {
        font-size: 0.4em;
    }

    .final-cta-services {
        align-items: stretch;
        flex-direction: column;
    }

    .final-cta-services span {
        justify-content: center;
    }
}

.final-cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.final-cta-note {
    font-size: 0.85rem;
    opacity: 0.7;
    font-style: italic;
}

/* Prefooter Logos */
.prefooter-logos {
    background: var(--white);
    padding: 3.5rem 0;
}

.prefooter-logos .container {
    display: flex;
    justify-content: center;
}

.prefooter-logos-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.4rem;
    align-items: center;
    justify-items: center;
    width: min(100%, 1180px);
}

.prefooter-logos-grid img {
    display: block;
    width: 100%;
    max-width: 360px;
    height: 132px;
    object-fit: contain;
    filter: none;
    padding: 1.2rem 1.6rem;
    border-radius: 18px;
    background: rgba(63, 47, 133, 0.03);
    border: 1px solid rgba(63, 47, 133, 0.08);
}

@media (min-width: 768px) {
    .prefooter-logos-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 2rem;
    }

    .prefooter-logos-grid img {
        max-width: none;
    }
}

/* Footer */
.footer {
    background: var(--dark-purple);
    color: var(--white);
    padding: 3rem 0 1rem;
    text-align: center;
}

.footer-text {
    max-width: 800px;
    margin: 0 auto 2rem;
    font-size: 0.85rem;
    line-height: 1.6;
    opacity: 0.7;
}

.footer-links {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    font-size: 0.9rem;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    opacity: 1;
}

.footer-copy {
    font-size: 0.85rem;
    opacity: 0.5;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* Popup */
.popup {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(5px);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 180ms var(--ease-out), visibility 0s linear 180ms;
}

.popup.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition-delay: 0s;
}

.popup-content {
    background: var(--white);
    padding: 2rem;
    border-radius: 20px;
    max-width: 500px;
    width: 100%;
    position: relative;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    opacity: 0;
    transform: translateY(8px) scale(0.98);
    transition: opacity 160ms ease, transform 200ms var(--ease-out);
    max-height: calc(100vh - 60px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.popup.active .popup-content {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.popup-content:focus {
    outline: none;
}

.popup-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    background: var(--bg-light);
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: transform 160ms var(--ease-out), background-color 160ms ease, color 160ms ease;
}

.popup-close:hover {
    background: var(--danger);
    color: var(--white);
}

.popup-close:active {
    transform: scale(0.94);
}

.popup-title {
    color: var(--primary-purple);
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.popup-subtitle {
    color: var(--text-light);
    margin-bottom: 2rem;
}

.popup-form {
    margin-bottom: 1rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--bg-light);
    border-radius: 8px;
    font-size: 1rem;
    transition: border 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-purple);
}

.popup-note {
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-light);
    margin-top: 0.65rem;
}

.popup-feedback {
    margin-top: 1rem;
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
    color: var(--primary-purple);
    min-height: 1.2em;
}

.popup-feedback.error {
    color: var(--danger);
}

.popup-feedback.success {
    color: var(--success);
}

.popup-privacy {
    margin-top: 0.65rem;
    text-align: center;
    font-size: 0.82rem;
    line-height: 1.6;
    color: var(--text-light);
}

.popup-divider {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1.5rem 0;
    color: var(--text-light);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: none;
}

.popup-divider::before,
.popup-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--bg-light);
}

/* Responsive */
@media (min-width: 768px) {
    .hero-badges {
        justify-content: flex-start;
    }

    .about-content {
        grid-template-columns: 1fr 1fr;
    }

    .about-image {
        justify-content: flex-end;
    }
}

@media (max-width: 768px) {
    .btn {
        width: 100%;
    }
    
    .whatsapp-float {
        bottom: calc(env(safe-area-inset-bottom) + 20px);
        right: calc(env(safe-area-inset-right) + 20px);
        width: 50px;
        height: 50px;
        font-size: 25px;
    }

    .hero-cta {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-cta .btn {
        width: 100%;
    }

    .hero-countdown {
        align-items: center;
        justify-content: center;
    }

    .countdown {
        justify-content: center;
        flex-wrap: wrap;
    }

    .countdown-item {
        min-width: 82px;
    }

    .countdown-item:not(:last-child)::after {
        right: -0.55rem;
        height: 2.45rem;
    }

    .final-cta-buttons {
        flex-direction: column;
    }

    .about-socials {
        justify-content: center;
    }

    .popup {
        padding: 16px;
    }

    .popup-content {
        padding: 1.5rem;
        border-radius: 16px;
        max-height: calc(100vh - 40px);
    }

    .popup-close {
        top: 0.75rem;
        right: 0.75rem;
    }
}

/* Edicion 3 CRO additions */
.social-proof-section {
    margin-top: 3rem;
    padding: 2.5rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.08);
}

.social-proof-section .section-title {
    color: var(--white);
}

.social-proof-lead {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
    color: rgba(255, 255, 255, 0.92);
    line-height: 1.7;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.96);
    border-radius: 16px;
    padding: 1.75rem;
    box-shadow: var(--shadow);
    color: var(--text-dark);
}

.testimonial-text {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.testimonial-author {
    font-weight: 700;
    color: var(--primary-purple);
}

.metrics-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(120px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.metric-item {
    text-align: center;
    padding: 1rem;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.06);
}

.metric-value {
    display: block;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    color: var(--primary-yellow);
    line-height: 1.1;
    margin-bottom: 0.45rem;
}

.metric-label {
    display: block;
    font-size: 0.92rem;
    line-height: 1.5;
    color: var(--white);
}

.sectors-block {
    margin-bottom: 3.5rem;
}

.sectors-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
}

.sectors-intro,
.sectors-close {
    max-width: 920px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    color: var(--text-light);
    line-height: 1.8;
}

.sectors-intro {
    color: var(--primary-yellow);
    font-weight: 700;
    font-size: clamp(1.12rem, 1.8vw, 1.32rem);
}

.sectors-close {
    margin-top: 1.5rem;
    font-weight: 600;
    color: var(--primary-purple);
}

.sector-card {
    background: var(--white);
    border: 1px solid rgba(63, 47, 133, 0.1);
    border-radius: 16px;
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: 0 6px 20px rgba(63, 47, 133, 0.06);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    min-height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sector-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.sector-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.sector-name {
    color: var(--primary-purple);
    font-size: 1.1rem;
    margin: 0;
    max-width: 18ch;
}

.sector-hook {
    color: var(--text-light);
    line-height: 1.6;
}

.module-header-copy {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.module-duration-inline {
    display: inline-flex;
    align-self: flex-start;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    background: rgba(63, 47, 133, 0.08);
    color: var(--primary-purple);
    font-size: 0.8rem;
    font-weight: 700;
}

.module-header.active .module-duration-inline {
    background: rgba(255, 255, 255, 0.18);
    color: var(--white);
}

.module-result {
    margin-top: 1rem;
    color: var(--primary-purple);
    line-height: 1.7;
}

.stats-banner-section {
    background: #1b1646;
    padding: 3rem 0;
}

.stats-banner {
    display: grid;
    grid-template-columns: repeat(2, minmax(140px, 1fr));
    gap: 1rem;
}

.stat {
    text-align: center;
    padding: 1.5rem 1rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.05);
}

.stat-number {
    display: block;
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 800;
    color: var(--primary-yellow);
    line-height: 1.1;
    margin-bottom: 0.4rem;
}

.stat-label {
    display: block;
    color: var(--white);
    line-height: 1.5;
}

@media (min-width: 768px) {
    .testimonials-grid {
        grid-template-columns: repeat(3, minmax(220px, 1fr));
    }

    .metrics-row {
        grid-template-columns: repeat(4, minmax(140px, 1fr));
    }

    .sectors-grid {
        grid-template-columns: repeat(2, minmax(220px, 1fr));
    }

    .stats-banner {
        grid-template-columns: repeat(4, minmax(160px, 1fr));
    }
}

@media (min-width: 992px) {
    .sectors-grid {
        grid-template-columns: repeat(3, minmax(220px, 1fr));
    }
}

@media (min-width: 1200px) {
    .sectors-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .hero-main {
        text-align: center;
        max-width: 820px;
        margin: 0 auto;
        padding-left: 0;
    }

    .hero-badges {
        align-items: center;
    }

    .hero-badges-row,
    .hero-cta {
        justify-content: center;
    }

    .hero-subtitle,
    .hero-cert {
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }

    .hero-subtitle,
    html[lang="es"] .hero-subtitle,
    html[lang="es"] .hero-cert {
        white-space: normal;
    }

    .hero-countdown {
        width: 100%;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 0.85rem;
        margin: 0 auto 2rem;
    }

    .countdown-label {
        max-width: none;
        text-align: center;
    }

    .countdown {
        justify-content: center;
        gap: 0.95rem;
        flex-wrap: nowrap;
    }
}

@media (max-width: 767px) {
    .hero-main {
        text-align: center;
        max-width: 100%;
        margin: 0 auto;
        padding-left: 0;
    }

    .hero-badges {
        align-items: center;
    }

    .hero-badges-row {
        justify-content: center;
        gap: 0.65rem;
    }

    .badge-limited-counter {
        gap: 0.32rem;
        padding: 0.42rem 0.78rem 0.42rem 0.68rem;
    }

    .hero-availability-cluster {
        justify-content: center;
        gap: 0.55rem;
    }

    .badge-limited-old {
        font-size: 0.72rem;
    }

    .badge-limited-old-number {
        font-size: 0.96rem;
    }

    .badge-limited-copy {
        font-size: 0.66rem;
        letter-spacing: 0.03em;
    }

    .hero-availability-live {
        font-size: 0.82rem;
    }

    .hero-availability-live-digit {
        width: 1.18rem;
        height: 1.58rem;
        font-size: 1rem;
    }

    html[lang="en"] .hero-availability-cluster {
        justify-content: center;
    }

    .hero-subtitle,
    .hero-cert {
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }

    .hero-countdown {
        width: 100%;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 0.85rem;
        margin: 0 auto 1.95rem;
    }

    .countdown-label {
        max-width: none;
        text-align: center;
    }

    .countdown {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 0.55rem;
        width: min(100%, 360px);
        justify-content: unset;
    }

    .countdown-item {
        min-width: 0;
    }

    .countdown-item::before {
        left: 50%;
        width: min(100%, 4.25rem);
        height: 4.25rem;
        transform: translateX(-50%);
    }

    .countdown-item:not(:last-child)::after {
        display: none;
    }

    .countdown-value {
        font-size: clamp(2rem, 9vw, 2.35rem);
    }

    .countdown-unit {
        font-size: 0.64rem;
        letter-spacing: 0.08em;
    }
}

@media (hover: none), (pointer: coarse) {
    .btn-primary:hover {
        transform: none;
        box-shadow: var(--shadow);
    }

    .btn-hero-primary:hover {
        transform: none;
        box-shadow: 0 15px 40px rgba(247, 179, 43, 0.35);
    }

    .btn-secondary:hover {
        background: var(--white);
        color: var(--primary-purple);
    }

    .btn-whatsapp:hover {
        background: #25D366;
    }

    .whatsapp-float:hover,
    .pain-card:hover,
    .outcome-item:hover,
    .sector-card:hover,
    .social-link:hover {
        transform: none;
    }

    .btn:active,
    .site-nav a:active {
        transform: scale(0.97);
    }

    .whatsapp-float:active {
        transform: scale(0.96);
    }
}
