/* --------------------------------------------------
   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);
}

/* 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-color: var(--navy-dark);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    z-index: 1000;
    transition: var(--transition-normal);
    display: flex;
    align-items: center;
}

.main-header.scrolled {
    height: var(--header-height-scroll);
    background-color: rgba(6, 27, 58, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.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: 55px;
    filter: brightness(0) invert(1);
}

.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(--gray-light);
    opacity: 0.85;
    position: relative;
    padding: 6px 0;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--yellow);
    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(--white);
    border-radius: var(--radius-full);
    transition: var(--transition-normal);
}

/* 5. HERO SECTION */
.hero-section {
    background: linear-gradient(to bottom, #030a16 0%, #061b3a 82%, var(--white) 100%);
    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.8;
}

.hero-container {
    position: relative;
    z-index: 5; /* Asegura que el contenido quede encima del fondo animado */
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

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

.badge-text {
    background-color: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--yellow);
    margin-bottom: 24px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.hero-title {
    font-family: var(--font-headings);
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
}

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

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

.hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
    margin-bottom: 50px;
}

.whatsapp-link-secondary {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-align: left;
    transition: var(--transition-normal);
}

.whatsapp-link-secondary:hover {
    transform: translateX(4px);
}

.wa-icon-wrapper {
    width: 44px;
    height: 44px;
    background-color: #25D366;
    color: var(--white);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 4px 10px rgba(37, 211, 102, 0.3);
}

.wa-text-wrapper {
    display: flex;
    flex-direction: column;
}

.wa-label {
    font-size: 0.75rem;
    color: var(--gray-light);
    opacity: 0.8;
}

.wa-action-text {
    font-family: var(--font-headings);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--white);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.hero-badges-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    width: 100%;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
}

.hero-badge-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.badge-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: rgba(0, 87, 217, 0.15);
    border: 1px solid rgba(0, 87, 217, 0.3);
    color: var(--yellow);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    flex-shrink: 0;
}

.badge-label {
    font-size: 0.85rem;
    color: var(--gray-light);
    font-weight: 500;
    line-height: 1.3;
}

/* Hero Right Side - Image Wrapper */
.hero-image-wrapper {
    display: flex;
    justify-content: center;
    position: relative;
}

.hero-img-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: visible;
    box-shadow: var(--shadow-lg);
}

.hero-img-card::before {
    content: '';
    position: absolute;
    top: -15px;
    right: -15px;
    width: 100px;
    height: 100px;
    background-image: radial-gradient(var(--yellow) 20%, transparent 20%);
    background-size: 10px 10px;
    z-index: -1;
}

.hero-img {
    border-radius: var(--radius-lg);
    display: block;
    width: 100%;
    max-height: 520px;
    object-fit: cover;
    border: 4px solid rgba(255, 255, 255, 0.05);
}

/* Floating Testimonial */
.floating-testimonial {
    position: absolute;
    bottom: 30px;
    left: -40px;
    background: rgba(6, 27, 58, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 20px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    width: 320px;
    z-index: 10;
    transition: var(--transition-normal);
}

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

.stars {
    color: var(--yellow);
    font-size: 0.85rem;
    margin-bottom: 10px;
}

.float-quote {
    font-size: 0.85rem;
    color: var(--white);
    font-style: italic;
    line-height: 1.5;
    margin-bottom: 12px;
}

.float-author {
    font-size: 0.75rem;
    color: var(--yellow);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.float-author-dot {
    width: 6px;
    height: 6px;
    background-color: var(--yellow);
    border-radius: 50%;
}

/* 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: 0.95rem;
    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: 80px 0;
}

.comparison-card {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: stretch;
    background-color: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-medium);
    overflow: hidden;
}

.comparison-column {
    padding: 50px 60px;
    display: flex;
    flex-direction: column;
}

.before-column {
    background-color: #FAF4F4;
}

.after-column {
    background-color: #F3F8FF;
}

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

.badge-before {
    background-color: #FEE2E2;
    color: #EF4444;
}

.badge-after {
    background-color: #DDBEFE; /* Soft purple/blue mix */
    background-color: #DBEAFE;
    color: var(--blue-strong);
}

.comparison-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    height: 100%;
    justify-content: center;
}

.comparison-list li {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    font-size: 1rem;
    font-weight: 500;
}

.list-bullet-before {
    color: #FCA5A5;
    font-size: 1.2rem;
    margin-top: 3px;
}

.list-bullet-after {
    color: #10B981;
    font-size: 1.2rem;
    margin-top: 3px;
}

.comparison-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background-color: var(--white);
    width: 2px;
}

.divider-circle {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: var(--navy-dark);
    border: 4px solid var(--white);
    color: var(--yellow);
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    z-index: 10;
    box-shadow: var(--shadow-sm);
}

.divider-icon {
    font-size: 1.2rem;
}

/* 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;
    gap: 12px;
    margin-bottom: 14px;
}

.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;
}

.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-container {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .hero-content {
        align-items: center;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-badges-grid {
        justify-items: center;
    }
    
    .hero-image-wrapper {
        order: -1;
    }
    
    .floating-testimonial {
        left: 50%;
        transform: translateX(-50%);
        bottom: -20px;
    }
    
    .floating-testimonial:hover {
        transform: translateX(-50%) translateY(-5px);
    }
    
    .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;
    }
    
    .comparison-divider {
        width: 100%;
        height: 2px;
        margin: 20px 0;
    }
    
    .divider-circle {
        transform: rotate(90deg);
    }
    
    .comparison-column {
        padding: 40px;
    }
    
    .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;
    }
    
    .nav-link {
        font-size: 1.25rem;
    }
    
    .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: 2.1rem;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
    }
    
    .hero-actions .btn {
        width: 100%;
    }
    
    .whatsapp-link-secondary {
        justify-content: center;
    }
    
    .hero-badges-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .floating-testimonial {
        position: static;
        transform: none !important;
        width: 100%;
        margin-top: 20px;
    }
    
    /* 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: 30px 20px;
    }
    
    .comparison-list li {
        font-size: 0.9rem;
    }
    
    /* 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);
}
