/* --------------------------------------------------
   Top English Center - CSS Stylesheet
   Design System, Components & Responsive Layouts
-------------------------------------------------- */

/* 1. VARIABLES & DESIGN TOKENS */
:root {
    /* Color Palette */
    --navy-dark: #061B3A;
    --navy-medium: #082B5C;
    --blue-strong: #0057D9;
    --blue-light: #EBF2FE;
    --yellow: #FFC400;
    --yellow-hover: #E0AD00;
    --white: #FFFFFF;
    --gray-light: #F4F6F9;
    --gray-medium: #E2E8F0;
    --gray-dark: #4B5563;
    --text-color: #1F2937;
    --text-light: #6B7280;
    
    /* Semantic Colors */
    --danger-bg: #FEF2F2;
    --danger-text: #DC2626;
    --success-bg: #F0FDF4;
    --success-text: #16A34A;
    --warning-bg: #FFFBEB;
    --warning-border: #FBBF24;
    --warning-text: #92400E;
    
    /* Typography */
    --font-headings: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --font-handwritten: 'Caveat', cursive;
    
    /* Layout & Spacing */
    --container-width: 1200px;
    --header-height: 80px;
    --header-height-scroll: 70px;
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Borders & Shadows */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 25px rgba(6, 27, 58, 0.08);
    --shadow-lg: 0 20px 40px rgba(6, 27, 58, 0.12);
    --shadow-glow: 0 0 25px rgba(0, 87, 217, 0.2);
}

@property --border-glow-color {
    syntax: '<color>';
    inherits: false;
    initial-value: #0057D9;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    color: var(--text-color);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
    color: inherit;
    border: none;
    background: none;
}

button {
    cursor: pointer;
}

ul, ol {
    list-style: none;
}

/* 3. UTILITY CLASSES */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

.text-center { text-align: center; }
.text-navy { color: var(--navy-dark); }
.text-white { color: var(--white); }
.text-blue { color: var(--blue-strong); }
.text-yellow { color: var(--yellow); }
.text-gray-light { color: var(--gray-light); }
.max-w-600 { max-width: 600px; margin-left: auto; margin-right: auto; }
.w-full { width: 100%; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: var(--font-headings);
    font-weight: 600;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    user-select: none;
    border-radius: var(--radius-sm);
    transition: var(--transition-normal);
    box-shadow: var(--shadow-sm);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1.05rem;
}

.btn-md {
    padding: 12px 24px;
    font-size: 0.95rem;
}

.btn-sm {
    padding: 8px 18px;
    font-size: 0.85rem;
}

.btn-primary {
    background-color: var(--yellow);
    color: var(--navy-dark);
}

.btn-primary:hover {
    background-color: var(--yellow-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(255, 196, 0, 0.3);
}

.btn-secondary {
    background-color: var(--blue-strong);
    color: var(--white);
}

.btn-secondary:hover {
    background-color: #004ac2;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 87, 217, 0.25);
}

.btn-navy {
    background-color: var(--navy-dark);
    color: var(--white);
}

.btn-navy:hover {
    background-color: var(--navy-medium);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(6, 27, 58, 0.25);
}

.btn-outline-white {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-outline-white:hover {
    background-color: var(--white);
    color: var(--navy-dark);
}

.badge {
    display: inline-block;
    padding: 6px 14px;
    font-family: var(--font-headings);
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Sections Global */
section {
    padding: 100px 0;
}

.section-header {
    margin-bottom: 60px;
}

.section-eyebrow {
    display: block;
    font-family: var(--font-headings);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.section-title {
    font-family: var(--font-headings);
    font-size: 2.25rem;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 16px;
}

.section-subtitle {
    color: var(--gray-dark);
    font-size: 1.05rem;
    line-height: 1.6;
}

/* 4. MAIN HEADER */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    z-index: 1000;
    transition: background 0.4s ease, box-shadow 0.4s ease, height 0.3s ease;
    display: flex;
    align-items: center;
}

.main-header.scrolled {
    height: var(--header-height-scroll);
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.10);
}

/* Nav links turn dark when header is white */
.main-header.scrolled .nav-link {
    color: var(--navy-dark);
}
.main-header.scrolled .nav-link:hover,
.main-header.scrolled .nav-link.active {
    color: var(--blue-strong);
}
.main-header.scrolled .nav-cta {
    background-color: var(--blue-strong);
    color: var(--white);
}
.main-header.scrolled .hamburger-line {
    background-color: var(--navy-dark);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 1002;
}

.logo-svg {
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.15));
}

.logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
    display: block;
}

.logo-img-footer {
    height: 70px;
    width: auto;
    max-width: 220px;
    object-fit: contain;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.brand-top {
    font-family: var(--font-headings);
    font-size: 1.4rem;
    font-weight: 900;
    color: var(--yellow);
    line-height: 1;
    letter-spacing: -0.02em;
}

.brand-top.text-white {
    color: var(--white);
}

.brand-sub {
    font-family: var(--font-headings);
    font-size: 0.62rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 0.18em;
    margin-top: 2px;
}

.brand-sub.text-gray-light {
    color: var(--gray-medium);
}

.nav-menu {
    display: flex;
    align-items: center;
}

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

.nav-link {
    font-family: var(--font-headings);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--navy-dark);
    opacity: 0.85;
    position: relative;
    padding: 6px 0;
}

.nav-link:hover, .nav-link.active {
    opacity: 1;
    color: var(--blue-strong);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--blue-strong);
    transition: var(--transition-normal);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    z-index: 1002;
}

.mobile-nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}

.hamburger-line {
    width: 100%;
    height: 2px;
    background-color: var(--navy-dark);
    border-radius: var(--radius-full);
    transition: var(--transition-normal);
}

/* 5. HERO SECTION */
.hero-section {
    background-color: #061B3A;
    color: var(--white);
    padding-top: calc(var(--header-height) + 60px);
    padding-bottom: 120px;
    position: relative;
    overflow: hidden;
}

/* Background animated speed-lines SVG */
.hero-svg-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    opacity: 0.5;
}

/* Background Student Image on the Right (desktop only) */
.hero-bg-image {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: url('../assets/hero_student.png') no-repeat center center;
    background-size: cover;
    z-index: 2;
}

/* Navy Curved Overlay on the Left (desktop only) */
.hero-navy-overlay-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 60%;
    height: 100%;
    z-index: 3;
    pointer-events: none;
}

.hero-navy-shape {
    width: 100%;
    height: 100%;
    display: block;
}

.hero-container {
    position: relative;
    z-index: 5;
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

/* Yellow Badge */
.hero-badge {
    background-color: var(--yellow);
    color: var(--navy-dark);
    padding: 6px 16px;
    border-radius: var(--radius-full);
    font-family: var(--font-headings);
    font-size: 0.82rem;
    font-weight: 700;
    margin-bottom: 24px;
    display: inline-block;
    letter-spacing: 0.02em;
}

.hero-title {
    font-family: var(--font-headings);
    font-size: clamp(1.7rem, 3.4vw, 2.5rem);
    font-weight: 800;
    line-height: 1.15;
    color: var(--white);
    margin-bottom: 20px;
    letter-spacing: -0.02em;
    max-width: 580px; /* Limit width to prevent overlap with background image */
}

.highlight-yellow {
    color: var(--yellow);
}

.hero-subtitle {
    font-size: 0.98rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    margin-bottom: 35px;
    max-width: 620px;
}

/* 4 Features Row */
.hero-features-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    width: 100%;
    margin-bottom: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 24px;
}

.hero-feature-col {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
}

.feature-icon {
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-feature-col:nth-child(1) .feature-icon { color: var(--yellow); }
.hero-feature-col:nth-child(2) .feature-icon { color: #0057D9; }
.hero-feature-col:nth-child(3) .feature-icon { color: #00d2ff; }
.hero-feature-col:nth-child(4) .feature-icon { color: #ff4d4d; }

.feature-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
    line-height: 1.3;
}

.feature-text strong {
    font-family: var(--font-headings);
    font-size: 1.1rem; /* Slightly larger for better readability */
    font-weight: 700;
    color: var(--white);
}

.feature-text span {
    font-size: 0.85rem; /* Slightly larger description */
    color: rgba(255, 255, 255, 0.7);
}

/* CTA Actions Container */
.hero-actions-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
}

.hero-buttons {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.hero-cta-btn {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
    padding: 12px 28px;
    border-radius: var(--radius-sm);
    font-family: var(--font-headings);
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition-normal);
    box-shadow: none;
}

.hero-cta-btn:hover {
    background-color: var(--white);
    color: var(--navy-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.15);
}

.btn-link-programs {
    color: rgba(255, 255, 255, 0.5);
    font-family: var(--font-headings);
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition-fast);
    text-decoration: none;
}

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

.hero-whatsapp-link {
    display: flex;
    align-items: center;
}

.hero-whatsapp-link a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.85rem;
    text-decoration: none;
    transition: var(--transition-fast);
}

.hero-whatsapp-link a:hover {
    color: var(--white);
}

.hero-whatsapp-link a strong {
    color: var(--yellow);
    text-decoration: underline;
}

.wa-chat-icon {
    color: #25D366;
    font-size: 1.1rem;
}

/* Right Side Columns - Floating elements over background image */
.hero-right-column {
    position: relative;
    height: 100%;
    min-height: 480px;
}

.hero-desktop-only-wrapper {
    display: block;
}

.hero-mobile-only-wrapper {
    display: none;
}

/* Floating elements styles */
.hero-desktop-floating-wrap {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    pointer-events: none;
    z-index: 10;
}

.floating-teacher-card,
.floating-teacher-card-mobile {
    position: absolute;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #061B3A;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    pointer-events: auto;
}

/* hero-desktop-only hides elements on mobile/tablet */
.hero-desktop-only {
    display: block;
}

.floating-teacher-card {
    position: absolute;
    top: 120px;
    right: 2%;
    width: 260px;
    height: 175px;
    z-index: 6;
}

.floating-teacher-card-mobile {
    top: 20px;
    right: 20px;
    width: 140px;
    height: 95px;
}

/* Hover effects */
.floating-teacher-card:hover {
    transform: scale(1.05) translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 87, 217, 0.3);
}

.floating-teacher-card::before,
.floating-teacher-card-mobile::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background: conic-gradient(
        transparent,
        var(--border-glow-color, #0057D9),
        transparent 25%
    );
    animation: borderRotate 3s linear infinite, borderHighlight 6s ease-in-out infinite;
    z-index: 1;
}

.floating-teacher-card-inner {
    position: absolute;
    inset: 2.5px; /* Delicate border thickness */
    border-radius: calc(var(--radius-md) - 2.5px);
    background: url('../assets/chica.png') no-repeat center center;
    background-size: cover;
    z-index: 2;
    overflow: hidden;
}

.floating-teacher-card-mobile .floating-teacher-card-inner {
    inset: 2px;
    border-radius: calc(var(--radius-md) - 2px);
}

@keyframes borderHighlight {
    0%, 100% {
        --border-glow-color: #0057D9; /* Blue */
    }
    50% {
        --border-glow-color: #FFC400; /* Yellow */
    }
}

@keyframes borderRotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.floating-testimonial-card {
    position: absolute;
    bottom: 120px;
    right: 10%;
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 20px;
    width: 300px;
    box-shadow: var(--shadow-lg);
    z-index: 10;
    transition: var(--transition-normal);
    pointer-events: auto;
}

.floating-testimonial-card:hover {
    transform: translateY(-5px);
}

.testimonial-quote {
    font-size: 0.85rem;
    color: var(--text-color);
    font-weight: 500;
    line-height: 1.5;
    margin-bottom: 12px;
    font-style: normal;
}

.testimonial-stars {
    color: var(--yellow);
    font-size: 0.9rem;
    display: flex;
    gap: 4px;
}


/* TICKER STRIP */
.ticker-strip {
    background-color: var(--yellow);
    overflow: hidden;
    padding: 14px 0;
    position: relative;
    z-index: 10;
    border-top: 3px solid rgba(6, 27, 58, 0.12);
    border-bottom: 3px solid rgba(6, 27, 58, 0.12);
}

/* fade edges */
.ticker-strip::before,
.ticker-strip::after {
    content: '';
    position: absolute;
    top: 0;
    width: 120px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}
.ticker-strip::before {
    left: 0;
    background: linear-gradient(to right, var(--yellow), transparent);
}
.ticker-strip::after {
    right: 0;
    background: linear-gradient(to left, var(--yellow), transparent);
}

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

.ticker-track {
    display: flex;
    width: max-content;
    animation: ticker-scroll 22s linear infinite;
    will-change: transform;
}

.ticker-track:hover {
    animation-play-state: paused;
}

.ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
    font-family: var(--font-headings);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--navy-dark);
    padding: 0 60px;
    letter-spacing: 0.01em;
}

.ticker-item i {
    color: var(--navy-dark);
    font-size: 0.75rem;
    opacity: 0.6;
    flex-shrink: 0;
}

/* 6. PROBLEM SECTION */
.problem-section {
    background-color: var(--white);
}

.problem-container {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 80px;
    align-items: center;
}

.problem-image-column {
    position: relative;
    display: flex;
    justify-content: center;
}

.problem-img-wrapper {
    position: relative;
    width: 100%;
    max-width: 440px;
}

.problem-img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-medium);
}

/* Handwritten stickers overlay */
.note-sticker {
    position: absolute;
    background-color: var(--warning-bg);
    border: 1px dashed var(--warning-border);
    color: var(--warning-text);
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    font-family: var(--font-handwritten);
    font-size: 1.25rem;
    font-weight: 700;
    box-shadow: var(--shadow-sm);
    white-space: nowrap;
    z-index: 5;
    animation: floatingStickers 4s ease-in-out infinite alternate;
}

.sticker-1 {
    top: 15%;
    left: -50px;
    transform: rotate(-6deg);
    animation-delay: 0s;
}

.sticker-2 {
    top: 40%;
    right: -60px;
    transform: rotate(5deg);
    background-color: #FFF0F0;
    border-color: #FCA5A5;
    color: #991B1B;
    animation-delay: 0.5s;
}

.sticker-3 {
    bottom: 20%;
    left: -40px;
    transform: rotate(-4deg);
    animation-delay: 1s;
}

.sticker-4 {
    bottom: -15px;
    right: -10px;
    transform: rotate(3deg);
    background-color: #F0FDF4;
    border-color: #86EFAC;
    color: #166534;
    animation-delay: 1.5s;
}

.sticker-5 {
    top: -20px;
    right: 20px;
    transform: rotate(-2deg);
    animation-delay: 2s;
}

@keyframes floatingStickers {
    0% { transform: translateY(0) rotate(-3deg); }
    100% { transform: translateY(-8px) rotate(3deg); }
}

.problem-content-column {
    display: flex;
    flex-direction: column;
}

.problem-intro {
    font-size: 1.1rem;
    color: var(--gray-dark);
    margin-bottom: 30px;
}

.problem-list {
    display: grid;
    gap: 16px;
    margin-bottom: 40px;
}

.problem-list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.list-icon {
    color: var(--danger-text);
    font-size: 1.1rem;
    margin-top: 3px;
}

.list-text {
    font-size: 0.95rem;
    color: var(--text-color);
}

/* Alert Box */
.alert-box-warning {
    display: flex;
    gap: 16px;
    background-color: var(--blue-light);
    border-left: 4px solid var(--blue-strong);
    padding: 20px;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    box-shadow: var(--shadow-sm);
}

.alert-icon {
    color: var(--blue-strong);
    font-size: 1.25rem;
    margin-top: 2px;
}

.alert-content {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--navy-dark);
    line-height: 1.5;
}

/* 7. FOCUS SHIFT SECTION */
.focus-shift-section {
    background-color: var(--gray-light);
    padding: 100px 0;
    border-top: 1px solid var(--gray-medium);
    border-bottom: 1px solid var(--gray-medium);
}

.focus-shift-container {
    text-align: center;
    max-width: 800px;
}

.focus-eyebrow {
    display: block;
    font-family: var(--font-headings);
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.15em;
    color: var(--blue-strong);
    margin-bottom: 16px;
}

.focus-title {
    font-family: var(--font-headings);
    font-size: 2.75rem;
    font-weight: 800;
    color: var(--navy-dark);
    line-height: 1.2;
    margin-bottom: 24px;
}

.focus-accent {
    display: block;
    color: var(--blue-strong);
}

.focus-text {
    font-size: 1.15rem;
    color: var(--gray-dark);
    line-height: 1.65;
}

/* 8. BEFORE / AFTER COMPARISON SECTION */
.before-after-section {
    background-color: var(--white);
    padding: 100px 0;
}

.comparison-card {
    display: grid;
    grid-template-columns: 1fr 340px 1fr;
    gap: 40px;
    align-items: center;
    background-color: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-medium);
    overflow: hidden;
    padding: 50px;
    transition: box-shadow 0.4s ease, transform 0.4s ease;
}

.comparison-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.comparison-column {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.before-column {
    background-color: transparent;
}

.after-column {
    background-color: transparent;
}

.column-header {
    margin-bottom: 30px;
}

.badge-before {
    background-color: #374151; /* Dark charcoal/grey */
    color: var(--white);
    padding: 8px 18px;
    font-size: 0.85rem;
    font-weight: 800;
    border-radius: 50px; /* capsule shape */
    letter-spacing: 0.08em;
    display: inline-block;
}

.badge-after {
    background-color: var(--blue-strong);
    color: var(--white);
    padding: 8px 18px;
    font-size: 0.85rem;
    font-weight: 800;
    border-radius: 50px; /* capsule shape */
    letter-spacing: 0.08em;
    display: inline-block;
}

.comparison-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.comparison-list li {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    font-size: 1.05rem;
    padding: 12px 16px;
    margin: -12px -16px;
    border-radius: var(--radius-sm);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    cursor: default;
}

.before-column .comparison-list li {
    color: #4B5563; /* Grey text */
    font-weight: 500;
}

.before-column .comparison-list li:hover {
    background-color: rgba(75, 85, 99, 0.05);
    color: #1F2937;
    transform: translateX(6px);
}

.after-column .comparison-list li {
    color: var(--navy-dark); /* Navy text */
    font-weight: 700;
}

.after-column .comparison-list li:hover {
    background-color: rgba(0, 87, 217, 0.05);
    color: var(--blue-strong);
    transform: translateX(6px);
}

.list-bullet-before {
    color: #9CA3AF; /* Grey bullet */
    font-size: 1.3rem;
    margin-top: 2px;
    display: inline-block;
    transition: transform 0.3s ease, color 0.3s ease;
}

.list-bullet-after {
    color: #0057D9; /* Blue bullet */
    font-size: 1.3rem;
    margin-top: 2px;
    display: inline-block;
    transition: transform 0.3s ease, color 0.3s ease;
}

.before-column .comparison-list li:hover .list-bullet-before {
    transform: scale(1.2);
    color: #4B5563;
}

.after-column .comparison-list li:hover .list-bullet-after {
    transform: scale(1.2);
    color: var(--blue-strong);
}

/* Center Graphic Column (Split Circle) */
.comparison-center-column {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.split-circle-container {
    width: 340px;
    height: 340px;
    border-radius: 50%;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 4px solid var(--white);
    background-color: var(--gray-light);
}

.split-half {
    position: absolute;
    top: 0;
    height: 100%;
    width: 50%;
    overflow: hidden;
    transition: width 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: 2;
}

.left-half {
    left: 0;
}

.left-half::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 2px;
    height: 100%;
    background-color: var(--white);
    z-index: 4;
}

.right-half {
    right: 0;
}

.split-image {
    position: absolute;
    top: 0;
    height: 100%;
    width: 340px; /* Fixed width matching the container diameter */
    object-fit: cover;
    transition: transform 0.5s ease, filter 0.5s ease;
}

.left-half .split-image {
    left: 0;
    filter: grayscale(100%) contrast(0.95);
}

.right-half .split-image {
    right: 0;
    filter: saturate(1.1);
}

.left-half:hover {
    z-index: 3;
}

.left-half:hover .split-image {
    transform: scale(1.08);
    filter: grayscale(20%) contrast(1.05);
}

.right-half:hover {
    z-index: 3;
}

.right-half:hover .split-image {
    transform: scale(1.08);
    filter: saturate(1.3) contrast(1.05);
}

/* 9. METHOD SECTION */
.method-section {
    background-color: var(--navy-dark);
    color: var(--white);
    position: relative;
}

.timeline-container {
    position: relative;
    margin-top: 60px;
    width: 100%;
}

.timeline-line {
    position: absolute;
    top: 52px;
    left: 4%;
    right: 4%;
    height: 2px;
    background: dashed rgba(255, 255, 255, 0.15);
    z-index: 1;
}

.timeline-steps {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
    position: relative;
    z-index: 2;
}

.timeline-step {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.step-number-box {
    position: relative;
    margin-bottom: 24px;
}

.step-num {
    position: absolute;
    top: -12px;
    right: -12px;
    background-color: var(--yellow);
    color: var(--navy-dark);
    font-family: var(--font-headings);
    font-size: 0.7rem;
    font-weight: 800;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--navy-dark);
    z-index: 2;
}

.step-icon {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background-color: var(--navy-medium);
    border: 2px solid rgba(255, 255, 255, 0.15);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    transition: var(--transition-normal);
}

.timeline-step:hover .step-icon {
    background-color: var(--blue-strong);
    border-color: var(--blue-strong);
    color: var(--white);
    transform: scale(1.1);
    box-shadow: var(--shadow-glow);
}

.step-title {
    font-family: var(--font-headings);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--white);
}

.step-desc {
    font-size: 0.85rem;
    color: var(--gray-light);
    opacity: 0.8;
    line-height: 1.5;
}

/* 10. PROGRAMS SECTION */
.programs-section {
    background-color: var(--gray-light);
}

.programs-vertical-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 40px;
}

.program-row {
    display: grid;
    grid-template-columns: 280px 1.5fr 1fr;
    gap: 40px;
    align-items: center;
    background-color: var(--white);
    padding: 30px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-medium);
    transition: var(--transition-normal);
}

.program-row:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(0, 87, 217, 0.2);
}

.program-img-col {
    width: 100%;
}

.program-img-card {
    position: relative;
    border-radius: var(--radius-sm);
    overflow: hidden;
    height: 160px;
    box-shadow: var(--shadow-sm);
}

.program-row-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.program-row:hover .program-row-img {
    transform: scale(1.05);
}

.program-badge-floating {
    position: absolute;
    top: 12px;
    left: 12px;
    background-color: rgba(6, 27, 58, 0.85);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    color: var(--white);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.program-desc-col {
    display: flex;
    flex-direction: column;
}

.program-name {
    font-family: var(--font-headings);
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--navy-dark);
    margin-bottom: 8px;
}

.program-tagline {
    font-size: 0.95rem;
    color: var(--gray-dark);
    font-weight: 500;
    margin-bottom: 16px;
}

.program-bullet-list {
    display: grid;
    gap: 8px;
}

.program-bullet-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-color);
}

.program-bullet-list i {
    color: var(--blue-strong);
    font-size: 0.95rem;
}

.program-duration-col {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 20px;
    border-left: 1px solid var(--gray-medium);
    padding-left: 40px;
}

.duration-box {
    text-align: right;
}

.duration-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-light);
    letter-spacing: 0.05em;
    margin-bottom: 4px;
}

.duration-value {
    display: block;
    font-family: var(--font-headings);
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--blue-strong);
}

.select-prog-btn {
    white-space: nowrap;
}

.program-footnote {
    font-size: 0.85rem;
    color: var(--text-light);
    font-style: italic;
    margin-top: 30px;
}

/* 11. TESTIMONIALS SECTION */
.testimonials-section {
    background-color: var(--white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.testimonial-card {
    background-color: var(--white);
    border-radius: var(--radius-md);
    padding: 40px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-medium);
    display: flex;
    flex-direction: column;
    position: relative;
    transition: var(--transition-normal);
}

.testimonial-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: rgba(0, 87, 217, 0.15);
}

.quote-icon {
    font-size: 2.2rem;
    color: var(--blue-strong);
    opacity: 0.15;
    position: absolute;
    top: 30px;
    left: 30px;
}

.testimonial-text {
    font-size: 0.95rem;
    color: var(--text-color);
    line-height: 1.6;
    margin-bottom: 30px;
    position: relative;
    z-index: 2;
    flex-grow: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
    border-top: 1px solid var(--gray-medium);
    padding-top: 20px;
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-family: var(--font-headings);
    font-weight: 700;
    font-size: 0.95rem;
}

.avatar-c { background: linear-gradient(135deg, #FF9900, #FF5E00); }
.avatar-d { background: linear-gradient(135deg, #0057D9, #00A3FF); }
.avatar-v { background: linear-gradient(135deg, #8A2387, #E94057); }

.author-info {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-family: var(--font-headings);
    font-size: 1rem;
    font-weight: 700;
    color: var(--navy-dark);
}

.author-role {
    font-size: 0.75rem;
    color: var(--text-light);
    margin-bottom: 4px;
}

.stars-rating {
    color: var(--yellow);
    font-size: 0.7rem;
    display: flex;
    gap: 2px;
}

.testimonial-video-link-wrapper {
    margin-top: 40px;
}

.video-testimonial-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-headings);
    font-size: 1rem;
    font-weight: 700;
    color: var(--blue-strong);
    transition: var(--transition-normal);
}

.video-testimonial-link i {
    font-size: 1.25rem;
    transition: var(--transition-fast);
}

.video-testimonial-link:hover {
    color: #004ac2;
}

.video-testimonial-link:hover i {
    transform: scale(1.15) rotate(5deg);
}

/* 12. AUTHORITY SECTION (CRC PERÚ) */
.authority-section {
    background-color: var(--navy-dark);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.authority-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(ellipse at 80% 50%, rgba(0, 87, 217, 0.18) 0%, transparent 55%),
        radial-gradient(ellipse at 20% 80%, rgba(255, 196, 0, 0.04) 0%, transparent 45%);
    z-index: 1;
}

.authority-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.authority-content {
    display: flex;
    flex-direction: column;
}

.authority-text {
    font-size: 1.1rem;
    line-height: 1.65;
    margin-bottom: 40px;
    color: var(--gray-light);
    opacity: 0.9;
}

/* CRC Badge Box */
.crc-box {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    padding: 30px;
    box-shadow: var(--shadow-sm);
}

.crc-logo-wrapper {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.crc-logo-img {
    height: 48px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    display: block;
    opacity: 0.95;
    transition: opacity 0.3s ease;
}

.crc-logo-img:hover {
    opacity: 1;
}

.crc-icon {
    color: var(--yellow);
    font-size: 1.4rem;
}

.crc-badge {
    font-family: var(--font-headings);
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--white);
}

.crc-text {
    font-size: 0.9rem;
    color: var(--gray-light);
    opacity: 0.85;
    line-height: 1.6;
}

/* Stats column */
.authority-stats {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.stat-card {
    background: linear-gradient(135deg, rgba(8, 43, 92, 0.9) 0%, rgba(6, 27, 58, 0.95) 100%);
    border: 1px solid rgba(0, 87, 217, 0.35);
    border-radius: var(--radius-md);
    padding: 30px;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow:
        0 0 0 1px rgba(0, 87, 217, 0.1),
        0 4px 20px rgba(0, 87, 217, 0.15),
        0 0 40px rgba(0, 87, 217, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

/* Glow accent line at top */
.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(0, 87, 217, 0.8), rgba(255, 196, 0, 0.6), transparent);
    opacity: 0.7;
    transition: opacity 0.4s ease;
}

/* Inner shimmer layer */
.stat-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(ellipse at 30% 30%, rgba(0, 87, 217, 0.06) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
}

.stat-card:hover {
    transform: translateX(6px) translateY(-2px);
    border-color: rgba(255, 196, 0, 0.5);
    box-shadow:
        0 0 0 1px rgba(255, 196, 0, 0.2),
        0 8px 32px rgba(0, 87, 217, 0.3),
        0 0 60px rgba(0, 87, 217, 0.15),
        0 0 80px rgba(255, 196, 0, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.stat-card:hover::before {
    opacity: 1;
    background: linear-gradient(90deg, transparent, rgba(255, 196, 0, 0.9), rgba(0, 87, 217, 0.8), transparent);
}

.stat-icon-wrapper {
    position: absolute;
    right: 20px;
    bottom: -10px;
    font-size: 5rem;
    color: rgba(0, 87, 217, 0.08);
    z-index: 1;
    transition: color 0.4s ease, transform 0.4s ease;
}

.stat-card:hover .stat-icon-wrapper {
    color: rgba(255, 196, 0, 0.1);
    transform: scale(1.1) rotate(-5deg);
}

@keyframes stat-glow-pulse {
    0%, 100% { text-shadow: 0 0 8px rgba(255, 196, 0, 0.4), 0 0 20px rgba(255, 196, 0, 0.15); }
    50%       { text-shadow: 0 0 14px rgba(255, 196, 0, 0.7), 0 0 35px rgba(255, 196, 0, 0.25); }
}

.stat-numbers {
    font-family: var(--font-headings);
    font-size: 2.25rem;
    font-weight: 900;
    color: var(--yellow);
    line-height: 1;
    margin-bottom: 8px;
    position: relative;
    z-index: 2;
    text-shadow: 0 0 8px rgba(255, 196, 0, 0.4), 0 0 20px rgba(255, 196, 0, 0.15);
    animation: stat-glow-pulse 3s ease-in-out infinite;
}

.stat-label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--gray-light);
    opacity: 0.9;
    position: relative;
    z-index: 2;
}

/* 13. CTA SECTION & LEAD FORM */
.cta-section {
    background-color: var(--yellow);
    color: var(--navy-dark);
    padding: 100px 0;
    position: relative;
}

.cta-container {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 80px;
    align-items: center;
}

.cta-text-side {
    display: flex;
    flex-direction: column;
}

.cta-title {
    font-family: var(--font-headings);
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
    color: var(--navy-dark);
}

.cta-subtitle {
    font-size: 1.1rem;
    font-weight: 500;
    line-height: 1.6;
    margin-bottom: 30px;
    color: rgba(6, 27, 58, 0.85);
}

.cta-info-points {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 40px;
}

.cta-point {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.cta-point i {
    color: var(--navy-dark);
    font-size: 1.15rem;
    margin-top: 3px;
}

.cta-point span {
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.4;
}

.cta-alternative {
    border-top: 1px solid rgba(6, 27, 58, 0.15);
    padding-top: 30px;
}

.alternative-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--navy-dark);
    opacity: 0.85;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.whatsapp-cta-btn {
    background-color: var(--navy-dark);
    color: var(--white);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(6, 27, 58, 0.2);
}

.whatsapp-cta-btn:hover {
    background-color: var(--navy-medium);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(6, 27, 58, 0.3);
}

/* Lead Form Card */
.cta-form-side {
    display: flex;
    justify-content: center;
}

.form-wrapper-card {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-lg);
    width: 100%;
    max-width: 480px;
    position: relative;
    overflow: hidden;
}

.form-title {
    font-family: var(--font-headings);
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--navy-dark);
    margin-bottom: 8px;
    line-height: 1.2;
}

.form-desc {
    font-size: 0.85rem;
    color: var(--gray-dark);
    margin-bottom: 28px;
}

.lead-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    transition: opacity var(--transition-normal);
}

.form-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    width: 100%;
}

.form-group label {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--navy-dark);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.input-wrapper {
    position: relative;
    width: 100%;
}

.field-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
    font-size: 0.95rem;
    pointer-events: none;
    transition: var(--transition-fast);
}

.input-wrapper input, .input-wrapper select {
    width: 100%;
    padding: 14px 16px 14px 44px;
    border: 2px solid var(--gray-medium);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-family: var(--font-body);
    transition: var(--transition-fast);
    background-color: var(--gray-light);
    outline: none;
}

.input-wrapper input:focus, .input-wrapper select:focus {
    border-color: var(--blue-strong);
    background-color: var(--white);
    box-shadow: 0 0 0 3px rgba(0, 87, 217, 0.1);
}

.input-wrapper input:focus + .field-icon, .input-wrapper select:focus + .field-icon {
    color: var(--blue-strong);
}

.input-wrapper select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg fill='%234B5563' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 20px;
    cursor: pointer;
}

/* Validation Errors */
.form-group.has-error input, .form-group.has-error select {
    border-color: var(--danger-text);
    background-color: #FFF5F5;
}

.form-group.has-error .field-icon {
    color: var(--danger-text);
}

.error-message {
    display: none;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--danger-text);
    margin-top: 2px;
}

.form-group.has-error .error-message {
    display: block;
}

.btn-submit {
    background-color: var(--blue-strong);
    color: var(--white);
    padding: 16px;
    font-size: 1rem;
    border-radius: var(--radius-sm);
    transition: var(--transition-normal);
    box-shadow: var(--shadow-sm);
    margin-top: 10px;
}

.btn-submit:hover {
    background-color: #004ac2;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 87, 217, 0.25);
}

/* Success State Styles */
.form-success-state {
    display: none;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px 10px;
    animation: fadeIn 0.4s ease forwards;
}

.success-icon {
    width: 64px;
    height: 64px;
    background-color: var(--success-bg);
    color: var(--success-text);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    margin-bottom: 24px;
    box-shadow: 0 4px 15px rgba(22, 163, 74, 0.15);
}

.success-title {
    font-family: var(--font-headings);
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--navy-dark);
    margin-bottom: 12px;
}

.success-text {
    font-size: 0.9rem;
    color: var(--gray-dark);
    line-height: 1.6;
    margin-bottom: 30px;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* 14. FAQ SECTION (ACCORDION) */
.faq-section {
    background-color: var(--white);
}

.faq-accordion-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background-color: var(--white);
    border: 1px solid var(--gray-medium);
    border-radius: var(--radius-sm);
    overflow: hidden;
    transition: var(--transition-normal);
}

.faq-item:hover {
    border-color: rgba(0, 87, 217, 0.2);
    box-shadow: var(--shadow-sm);
}

.faq-trigger {
    width: 100%;
    padding: 22px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    background: transparent;
    border: none;
    outline: none;
}

.faq-question {
    font-family: var(--font-headings);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--navy-dark);
    line-height: 1.4;
    padding-right: 20px;
}

.faq-icon-wrapper {
    color: var(--blue-strong);
    font-size: 0.95rem;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: var(--blue-light);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: var(--transition-normal);
}

.faq-trigger[aria-expanded="true"] .faq-icon-wrapper {
    transform: rotate(180deg);
    background-color: var(--blue-strong);
    color: var(--white);
}

/* Modern smooth height transition using CSS Grid rows */
.faq-content {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows var(--transition-slow);
}

.faq-trigger[aria-expanded="true"] + .faq-content {
    grid-template-rows: 1fr;
}

.faq-answer {
    overflow: hidden;
}

.faq-answer p {
    padding: 0 28px 24px 28px;
    font-size: 0.92rem;
    color: var(--gray-dark);
    line-height: 1.6;
}

/* 15. MAIN FOOTER */
.main-footer {
    background-color: var(--navy-dark);
    border-top: 1px solid rgba(255,255,255,0.08);
    color: var(--white);
    padding-top: 80px;
    position: relative;
    z-index: 10;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.9fr 1.1fr;
    gap: 50px;
    margin-bottom: 60px;
}

.footer-col {
    display: flex;
    flex-direction: column;
}

.footer-logo {
    margin-bottom: 18px;
}

.footer-slogan {
    font-size: 0.9rem;
    font-style: italic;
    color: var(--gray-light);
    opacity: 0.8;
    margin-bottom: 24px;
}

.footer-socials {
    display: flex;
    gap: 12px;
}

.footer-socials a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    transition: var(--transition-normal);
}

.footer-socials a:hover {
    background-color: var(--yellow);
    color: var(--navy-dark);
    border-color: var(--yellow);
    transform: translateY(-3px);
}

.footer-title {
    font-family: var(--font-headings);
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 8px;
    letter-spacing: 0.02em;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35px;
    height: 2px;
    background-color: var(--blue-strong);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    font-size: 0.9rem;
    color: var(--gray-light);
    opacity: 0.8;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    opacity: 1;
    color: var(--yellow);
    padding-left: 4px;
}

.footer-contact-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.88rem;
    color: var(--gray-light);
    opacity: 0.85;
}

.footer-contact-info li i {
    color: var(--yellow);
    font-size: 1rem;
    margin-top: 3px;
    flex-shrink: 0;
}

.footer-contact-info a {
    color: var(--white);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.footer-contact-info a:hover {
    color: var(--yellow);
}

.crc-footer-info {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 16px;
    margin-top: 4px;
}

.crc-footer-info strong {
    color: var(--yellow);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 30px 0;
    background-color: #041227;
}

.footer-bottom-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.copyright {
    font-size: 0.82rem;
    color: var(--gray-light);
    opacity: 0.7;
}

/* ----- Preloader Styles ----- */
.preloader {
    position: fixed;
    inset: 0;
    background: #ffffff;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.preloader-rhombus-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
}
.rhombus-loader {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 4px;
    width: 60px;
    height: 60px;
    transform: rotate(45deg);
    animation: rhombusPulse 2.5s ease-in-out infinite;
}
.rhombus-part {
    background-color: #FFA000;
    border-radius: 3px;
    opacity: 0;
    transform: scale(0);
}

.part-1 { /* North (Top-Left in Grid) */
    grid-row: 1;
    grid-column: 1;
    animation: appearPart1 2.5s ease-in-out infinite;
}
.part-2 { /* East (Top-Right in Grid) */
    grid-row: 1;
    grid-column: 2;
    animation: appearPart2 2.5s ease-in-out infinite;
}
.part-3 { /* West (Bottom-Left in Grid) */
    grid-row: 2;
    grid-column: 1;
    animation: appearPart3 2.5s ease-in-out infinite;
}
.part-4 { /* South (Bottom-Right in Grid) */
    grid-row: 2;
    grid-column: 2;
    animation: appearPart4 2.5s ease-in-out infinite;
}

@keyframes appearPart3 { /* West - First */
    0% { transform: scale(0); opacity: 0; }
    8% { transform: scale(1); opacity: 1; }
    72% { transform: scale(1); opacity: 1; }
    84%, 100% { transform: scale(0); opacity: 0; }
}

@keyframes appearPart4 { /* South - Second */
    0%, 8% { transform: scale(0); opacity: 0; }
    16% { transform: scale(1); opacity: 1; }
    72% { transform: scale(1); opacity: 1; }
    84%, 100% { transform: scale(0); opacity: 0; }
}

@keyframes appearPart1 { /* North - Third */
    0%, 16% { transform: scale(0); opacity: 0; }
    24% { transform: scale(1); opacity: 1; }
    72% { transform: scale(1); opacity: 1; }
    84%, 100% { transform: scale(0); opacity: 0; }
}

@keyframes appearPart2 { /* East - Fourth (Rhombus complete!) */
    0%, 24% { transform: scale(0); opacity: 0; }
    32% { transform: scale(1); opacity: 1; }
    72% { transform: scale(1); opacity: 1; }
    84%, 100% { transform: scale(0); opacity: 0; }
}

@keyframes rhombusPulse {
    0%, 32% { transform: rotate(45deg) scale(1); }
    50% { transform: rotate(45deg) scale(1.06); }
    72% { transform: rotate(45deg) scale(1); }
    84%, 100% { transform: rotate(45deg) scale(0.9); }
}

.preloader.fade-out {
    animation: fadeOut 0.5s ease forwards;
}
@keyframes fadeOut {
    to { opacity: 0; visibility: hidden; }
}
/* ----- End Preloader Styles ----- */

.footer-bottom-links {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.82rem;
    color: var(--gray-light);
    opacity: 0.7;
}

.footer-bottom-links a:hover {
    color: var(--yellow);
    opacity: 1;
}

.bullet-separator {
    color: rgba(255, 255, 255, 0.2);
}

/* 16. RESPONSIVE BREAKPOINTS */

/* Tablet & Smaller Desktop (max-width: 1024px) */
@media (max-width: 1024px) {
    section {
        padding: 80px 0;
    }
    
    .hero-section {
        background: #061B3A;
        padding-top: calc(var(--header-height) + 40px);
        padding-bottom: 80px;
    }
    
    .hero-bg-image,
    .hero-navy-overlay-wrapper,
    .hero-desktop-floating-wrap {
        display: none !important;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-content {
        align-items: center;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.3rem;
    }
    
    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-features-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
        text-align: left;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-whatsapp-link {
        justify-content: center;
    }
    
    .hero-right-column {
        min-height: auto;
        margin-top: 20px;
    }
    
    .hero-desktop-only-wrapper {
        display: none !important;
    }

    .hero-desktop-only {
        display: none !important;
    }
    
    
    .hero-mobile-only-wrapper {
        display: block;
        width: 100%;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .hero-img-card {
        position: relative;
        width: 100%;
        border-radius: var(--radius-lg);
        overflow: visible;
        box-shadow: var(--shadow-lg);
    }
    
    .hero-img-mobile {
        width: 100%;
        height: auto;
        max-height: 380px;
        object-fit: cover;
        border-radius: var(--radius-lg);
        border: 4px solid rgba(255, 255, 255, 0.05);
        display: block;
    }
    
    .floating-teacher-card-mobile {
        position: absolute;
        top: 20px;
        right: 20px;
        width: 130px;
        height: 90px;
        border-radius: var(--radius-md);
        border: 2px solid #061B3A;
        overflow: hidden;
        box-shadow: var(--shadow-lg);
        z-index: 6;
        background: url('../assets/hero_mockup.png') no-repeat;
        background-size: 800px 373px;
        background-position: -640px -90px;
    }
    
    .floating-testimonial-card-mobile {
        background: var(--white);
        border-radius: var(--radius-md);
        padding: 16px;
        box-shadow: var(--shadow-lg);
        margin-top: -30px;
        position: relative;
        z-index: 7;
        width: 90%;
        margin-left: auto;
        margin-right: auto;
        text-align: left;
    }
    
    .problem-container {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .problem-image-column {
        order: -1;
    }
    
    .before-after-section {
        padding: 60px 0;
    }
    
    .comparison-card {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 40px;
        justify-items: center;
    }
    
    .comparison-column {
        padding: 0;
        width: 100%;
    }
    
    .timeline-line {
        display: none;
    }
    
    .timeline-steps {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .timeline-step {
        flex-direction: row;
        text-align: left;
        align-items: flex-start;
        gap: 20px;
        background-color: var(--navy-medium);
        padding: 24px;
        border-radius: var(--radius-md);
        border: 1px solid rgba(255, 255, 255, 0.08);
    }
    
    .step-number-box {
        margin-bottom: 0;
    }
    
    .program-row {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
    
    .program-duration-col {
        grid-column: span 2;
        border-left: none;
        border-top: 1px solid var(--gray-medium);
        padding-left: 0;
        padding-top: 24px;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
    
    .duration-box {
        text-align: left;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .authority-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .cta-container {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .footer-grid {
        grid-template-columns: 1.5fr 1fr;
        gap: 40px;
    }
}

/* Mobile Screen Sizes (max-width: 768px) */
@media (max-width: 768px) {
    :root {
        --header-height: 70px;
    }
    
    section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    /* Navigation toggle */
    .mobile-nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: var(--header-height);
        left: -100%;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background-color: var(--navy-dark);
        z-index: 1001;
        transition: var(--transition-slow);
        display: block;
        padding: 40px 24px;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
    }
    
    .nav-menu.open {
        left: 0;
    }
    
    .nav-list {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }
    
    .main-header.scrolled .nav-link,
    .nav-link {
        font-size: 1.25rem;
        color: var(--white);
    }
    
    .main-header.scrolled .nav-link:hover,
    .main-header.scrolled .nav-link.active,
    .nav-link:hover,
    .nav-link.active {
        color: var(--yellow);
    }
    
    .header-cta {
        display: none !important; /* Hide header CTA in mobile to keep header clean */
    }
    
    /* Active Hamburger Menu Animation */
    .mobile-nav-toggle.active .hamburger-line:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .mobile-nav-toggle.active .hamburger-line:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-nav-toggle.active .hamburger-line:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    /* Hero */
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-features-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        gap: 16px;
    }
    
    .hero-cta-btn {
        width: 100%;
        text-align: center;
    }
    
    .btn-link-programs {
        text-align: center;
        width: 100%;
        display: block;
    }
    
    .floating-teacher-card-mobile {
        width: 110px;
        height: 80px;
        background-size: 680px 317px;
        background-position: -540px -75px;
    }
    
    /* Problem stickers on mobile - adjusted for viewport */
    .note-sticker {
        font-size: 0.95rem;
        padding: 6px 10px;
    }
    
    .sticker-1 { left: -10px; top: 10%; }
    .sticker-2 { right: -10px; top: 35%; }
    .sticker-3 { left: -10px; bottom: 20%; }
    .sticker-4 { right: -10px; bottom: -5px; }
    .sticker-5 { right: 10px; top: -15px; }
    
    .focus-title {
        font-size: 1.9rem;
    }
    
    .comparison-column {
        padding: 0;
        width: 100%;
    }
    
    .comparison-list li {
        font-size: 0.9rem;
    }

    .split-circle-container {
        width: 280px;
        height: 280px;
    }

    .split-image {
        width: 280px;
    }
    
    /* Program rows stacked fully */
    .program-row {
        grid-template-columns: 1fr;
        padding: 20px;
    }
    
    .program-img-col {
        display: flex;
        justify-content: center;
    }
    
    .program-img-card {
        width: 100%;
        max-width: 320px;
    }
    
    .program-duration-col {
        grid-column: span 1;
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
    }
    
    .duration-box {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .duration-label {
        margin-bottom: 0;
    }
    
    .select-prog-btn {
        width: 100%;
    }
    
    .stat-card {
        padding: 24px;
    }
    
    .stat-numbers {
        font-size: 1.9rem;
    }
    
    /* Form wrapper cards */
    .form-wrapper-card {
        padding: 30px 20px;
    }
    
    .cta-title {
        font-size: 1.8rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-bottom-container {
        flex-direction: column;
        text-align: center;
    }
}

/* 17. SCROLL REVEAL ANIMATIONS */
.scroll-reveal {
    opacity: 0;
    transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.scroll-reveal[data-reveal="bottom"] {
    transform: translateY(40px);
}

.scroll-reveal[data-reveal="left"] {
    transform: translateX(-40px);
}

.scroll-reveal[data-reveal="right"] {
    transform: translateX(40px);
}

.scroll-reveal.reveal-active {
    opacity: 1;
    transform: translate(0) rotate(0);
}

/* 18. QUIZ / TEST PAGES */
.quiz-page {
  padding-top: 90px;
  background: #f5f8ff;
  min-height: 100vh;
}

.quiz-hero-section {
  padding: 80px 0;
}

.quiz-card {
  max-width: 850px;
  margin: 40px auto 0;
  background: #ffffff;
  border-radius: 28px;
  padding: 36px;
  box-shadow: 0 24px 70px rgba(6, 27, 58, 0.12);
  border: 1px solid rgba(0, 87, 217, 0.08);
}

.quiz-progress {
  width: 100%;
  height: 10px;
  background: #e8eef8;
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 32px;
}

.quiz-progress-bar {
  width: 0%;
  height: 100%;
  background: #0057D9;
  border-radius: 999px;
  transition: width 0.3s ease;
}

.quiz-step {
  font-weight: 700;
  color: #0057D9;
  margin-bottom: 10px;
}

.quiz-question {
  font-size: 32px;
  color: #061B3A;
  margin-bottom: 28px;
}

.quiz-options {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.quiz-option {
  border: 2px solid #dce7f7;
  background: #ffffff;
  border-radius: 18px;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  text-align: left;
  font-family: inherit;
  font-size: 17px;
  font-weight: 600;
  color: #061B3A;
  cursor: pointer;
  transition: all 0.2s ease;
}

.quiz-option:hover {
  border-color: #0057D9;
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(0, 87, 217, 0.12);
}

.quiz-option.selected {
  border-color: #0057D9;
  background: #eef5ff;
}

.quiz-option-icon {
  min-width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #0057D9;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}

.quiz-actions {
  margin-top: 32px;
  display: flex;
  justify-content: space-between;
  gap: 14px;
}

@media (max-width: 768px) {
  .quiz-card {
    padding: 24px;
    border-radius: 22px;
  }

  .quiz-question {
    font-size: 24px;
  }

  .quiz-actions {
    flex-direction: column;
  }

  .quiz-actions .btn {
    width: 100%;
    justify-content: center;
  }
}

.result-page {
  padding-top: 86px;
  background: #f6f8fc;
}

.result-hero {
  background: linear-gradient(135deg, #061B3A 0%, #082B5C 55%, #0057D9 100%);
  color: #ffffff;
  padding: 90px 0;
  position: relative;
  overflow: hidden;
}

.result-hero::after {
  content: "";
  position: absolute;
  inset: auto -80px -160px auto;
  width: 420px;
  height: 420px;
  background: rgba(255, 196, 0, 0.18);
  border-radius: 50%;
  filter: blur(20px);
}

.result-hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.result-badge {
  display: inline-flex;
  background: #FFC400;
  color: #061B3A;
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 13px;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.result-hero h1 {
  font-size: clamp(42px, 6vw, 78px);
  line-height: 0.95;
  margin-bottom: 22px;
}

.result-subtitle {
  font-size: 19px;
  line-height: 1.6;
  max-width: 620px;
  color: rgba(255,255,255,0.88);
}

.result-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.result-hero-card {
  background: #ffffff;
  color: #061B3A;
  padding: 32px;
  border-radius: 28px;
  box-shadow: 0 28px 80px rgba(0,0,0,0.22);
  border-top: 8px solid #FFC400;
}

.result-card-label {
  color: #0057D9;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 13px;
  margin-bottom: 10px;
}

.result-hero-card h2 {
  font-size: 32px;
  margin-bottom: 14px;
}

.result-hero-card ul {
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
}

.result-hero-card li {
  margin-bottom: 12px;
  font-weight: 700;
}

.result-hero-card i {
  color: #0057D9;
  margin-right: 8px;
}

.result-benefits {
  padding: 80px 0;
}

.result-benefits h2,
.result-testimonials h2 {
  color: #061B3A;
  font-size: 38px;
  margin-bottom: 30px;
}

.result-benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.benefit-card {
  background: #ffffff;
  padding: 26px;
  border-radius: 22px;
  box-shadow: 0 14px 40px rgba(6, 27, 58, 0.08);
}

.benefit-card i {
  color: #0057D9;
  font-size: 28px;
  margin-bottom: 16px;
}

.benefit-card h3 {
  color: #061B3A;
  margin-bottom: 10px;
}

.benefit-card p {
  color: #5b6575;
  line-height: 1.5;
}

.result-offer {
  padding: 60px 0 90px;
}

.result-offer-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 34px;
  align-items: start;
}

.offer-card-dark {
  background: #061B3A;
  color: #ffffff;
  border-radius: 28px;
  padding: 32px;
  border: 3px solid #FFC400;
  box-shadow: 0 28px 70px rgba(6, 27, 58, 0.18);
}

.offer-tag {
  display: inline-flex;
  background: #FFC400;
  color: #061B3A;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 12px;
  text-transform: uppercase;
  font-weight: 800;
  margin-bottom: 16px;
}

.offer-card-dark h2 {
  font-size: 34px;
  margin-bottom: 12px;
}

.offer-card-dark p {
  color: rgba(255,255,255,0.82);
  line-height: 1.5;
}

.offer-duration {
  border-top: 1px solid rgba(255,255,255,0.18);
  border-bottom: 1px solid rgba(255,255,255,0.18);
  padding: 20px 0;
  margin: 24px 0;
}

.offer-duration span {
  display: block;
  color: #FFC400;
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
}

.offer-duration strong {
  display: block;
  font-size: 30px;
  margin-top: 6px;
}

.result-form-card {
  background: #ffffff;
  padding: 34px;
  border-radius: 28px;
  box-shadow: 0 18px 50px rgba(6, 27, 58, 0.08);
}

.result-form-card h2 {
  color: #061B3A;
  margin-bottom: 8px;
}

.result-form-card p {
  color: #5b6575;
  margin-bottom: 24px;
}

.result-form-card input,
.result-form-card select {
  width: 100%;
  padding: 16px;
  border: 1px solid #dce7f7;
  border-radius: 14px;
  margin-bottom: 14px;
  font-family: inherit;
}

.result-testimonials {
  padding: 80px 0;
  background: #f1f3f7;
}

@media (max-width: 900px) {
  .result-hero-grid,
  .result-offer-grid {
    grid-template-columns: 1fr;
  }

  .result-benefits-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .result-hero {
    padding: 64px 0;
  }

  .result-benefits-grid {
    grid-template-columns: 1fr;
  }

  .result-actions {
    flex-direction: column;
  }

  .result-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .result-hero-card,
  .offer-card-dark,
  .result-form-card {
    padding: 24px;
    border-radius: 22px;
  }
}
/* Ajuste botones del quiz */
.quiz-actions {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 32px;
}

.quiz-actions .btn {
  min-width: 180px;
  min-height: 58px;
  padding: 18px 36px;
  font-size: 18px;
  font-weight: 700;
  border-radius: 50px; /* Beautiful oval/capsule shape */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

/* Botón siguiente más grande */
#next-question {
  min-width: 220px;
  background-color: var(--yellow) !important;
  color: var(--navy-dark) !important;
  border-radius: 50px !important;
  border: 2px solid var(--yellow) !important;
  padding: 18px 42px !important;
  font-size: 19px !important;
}

#next-question:hover {
  background-color: var(--yellow-hover) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 196, 0, 0.4) !important;
}

#prev-question {
  min-width: 180px;
  background-color: transparent !important;
  color: var(--navy-dark) !important;
  border: 2px solid var(--gray-medium) !important;
  border-radius: 50px !important;
  padding: 18px 36px !important;
}

#prev-question:hover {
  background-color: var(--gray-light) !important;
}

/* En celular, botones grandes a todo el ancho */
@media (max-width: 600px) {
  .quiz-actions {
    flex-direction: column;
    gap: 12px;
  }

  .quiz-actions .btn,
  #next-question {
    width: 100%;
    min-width: 100%;
    padding: 16px 20px !important;
  }
}
/* Fondo del hero para Grupal Virtual */
.result-hero-grupal-virtual {
  position: relative;
  min-height: 720px;
  display: flex;
  align-items: center;
  background-image:
    linear-gradient(
      90deg,
      rgba(6, 27, 58, 0.92) 0%,
      rgba(6, 27, 58, 0.78) 42%,
      rgba(6, 27, 58, 0.25) 100%
    ),
    url("../assets/online_learning.png");
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  color: #ffffff;
}
.result-hero-grupal-virtual h1,
.result-hero-grupal-virtual .result-subtitle {
  color: #ffffff;
}

.result-hero-grupal-virtual .result-badge {
  background: #FFC400;
  color: #061B3A;
}

.result-hero-grupal-virtual .result-hero-card {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  color: #061B3A;
}
@media (max-width: 768px) {
  .result-hero-private {
    min-height: auto;
    padding: 120px 0 70px;
    background-image:
      linear-gradient(
        rgba(6, 27, 58, 0.88),
        rgba(6, 27, 58, 0.88)
      ),
      url("../assets/hero-grupal-virtual.png");
    background-position: center;
  }
}
/* Fondo solo para landing Grupal Presencial */
.result-hero-grupal-presencial {
  position: relative;
  min-height: 720px;
  display: flex;
  align-items: center;
  background-image:
    linear-gradient(
      90deg,
      rgba(6, 27, 58, 0.84) 0%,
      rgba(6, 27, 58, 0.58) 45%,
      rgba(6, 27, 58, 0.12) 100%
    ),
    url("../assets/group_class.png");
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  color: #ffffff;
}

.result-hero-grupal-presencial h1,
.result-hero-grupal-presencial .result-subtitle {
  color: #ffffff;
}

.result-hero-grupal-presencial .result-badge {
  background: #FFC400;
  color: #061B3A;
}

.result-hero-grupal-presencial .result-hero-card {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  color: #061B3A;
}

@media (max-width: 768px) {
  .result-hero-grupal-presencial {
    min-height: auto;
    padding: 120px 0 70px;
    background-image:
      linear-gradient(
        rgba(6, 27, 58, 0.88),
        rgba(6, 27, 58, 0.88)
      ),
      url("../assets/group_class.png");
    background-position: center;
  }
}
/* Fondo solo para landing Privado Presencial */
.result-hero-privado-presencial {
  position: relative;
  min-height: 720px;
  display: flex;
  align-items: center;
  background-image:
    linear-gradient(
      90deg,
      rgba(6, 27, 58, 0.86) 0%,
      rgba(6, 27, 58, 0.62) 45%,
      rgba(6, 27, 58, 0.14) 100%
    ),
    url("../assets/private_class.png");
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  color: #ffffff;
}

.result-hero-privado-presencial h1,
.result-hero-privado-presencial .result-subtitle {
  color: #ffffff;
}

.result-hero-privado-presencial .result-badge {
  background: #FFC400;
  color: #061B3A;
}

.result-hero-privado-presencial .result-hero-card {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  color: #061B3A;
}

@media (max-width: 768px) {
  .result-hero-privado-presencial {
    min-height: auto;
    padding: 120px 0 70px;
    background-image:
      linear-gradient(
        rgba(6, 27, 58, 0.88),
        rgba(6, 27, 58, 0.88)
      ),
      url("../assets/private_class.png");
    background-position: center;
  }
}
/* Fondo solo para landing Privado Virtual */
.result-hero-privado-virtual {
  position: relative;
  min-height: 720px;
  display: flex;
  align-items: center;
  background-image:
    linear-gradient(
      90deg,
      rgba(6, 27, 58, 0.86) 0%,
      rgba(6, 27, 58, 0.62) 45%,
      rgba(6, 27, 58, 0.14) 100%
    ),
    url("../assets/one_on_one.png");
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  color: #ffffff;
}

.result-hero-privado-virtual h1,
.result-hero-privado-virtual .result-subtitle {
  color: #ffffff;
}

.result-hero-privado-virtual .result-badge {
  background: #FFC400;
  color: #061B3A;
}

.result-hero-privado-virtual .result-hero-card {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  color: #061B3A;
}

@media (max-width: 768px) {
  .result-hero-privado-virtual {
    min-height: auto;
    padding: 120px 0 70px;
    background-image:
      linear-gradient(
        rgba(6, 27, 58, 0.88),
        rgba(6, 27, 58, 0.88)
      ),
      url("../assets/one_on_one.png");
    background-position: center;
  }
}
/* ================================
   BOTONES GRANDES PARA LAS 4 LANDINGS
   ================================ */

.result-page .result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 32px;
}

.result-page .result-actions .btn,
.result-page .offer-card-dark .btn,
.result-page .result-form-card .btn,
.result-page .result-testimonials .btn {
  min-height: 56px;
  padding: 16px 30px;
  font-size: 16px;
  font-weight: 800;
  border-radius: 14px;
  line-height: 1.2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 10px 24px rgba(6, 27, 58, 0.16);
}

/* Botones del hero más fuertes */
.result-page .result-actions .btn {
  min-width: 220px;
}

/* Botón de WhatsApp más visible */
.result-page .result-actions .btn:first-child {
  min-width: 240px;
}

/* Botón del formulario a todo el ancho */
.result-page .result-form-card .btn-submit {
  width: 100%;
  min-height: 58px;
  font-size: 17px;
}

/* Botón consultar precio */
.result-page .offer-card-dark .btn {
  width: 100%;
  margin-top: 18px;
}

/* Hover más bonito */
.result-page .result-actions .btn:hover,
.result-page .offer-card-dark .btn:hover,
.result-page .result-form-card .btn:hover,
.result-page .result-testimonials .btn:hover {
  transform: translateY(-3px);
}

/* Responsive celular */
@media (max-width: 768px) {
  .result-page .result-actions {
    flex-direction: column;
    width: 100%;
  }

  .result-page .result-actions .btn,
  .result-page .offer-card-dark .btn,
  .result-page .result-form-card .btn,
  .result-page .result-testimonials .btn {
    width: 100%;
    min-width: 100%;
    min-height: 58px;
    font-size: 16px;
  }
}
