/* === Say & Play — Homepage Styles === */
/* Google Fonts loaded via <link> in HTML head */

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --bg: #F3E4C9;
    --bg-alt: #faf3e8;
    --brown: #5c3d1e;
    --brown-mid: #8b6340;
    --brown-light: #faf3e8;
    --brown-border: #b8936a;
    --olive: #BAC09C;
    --olive-dark: #6b7050;
    --olive-light: #eef1e7;
    --white: #ffffff;
    --text: #3d2b1f;
    --text-muted: #8b7060;
    --green: #4a7a35;
    --green-light: #e8f5e0;
    --radius: 18px;
    --radius-sm: 10px;
    --radius-lg: 28px;
    --border: 2px solid var(--brown-border);
    --shadow: 0 2px 10px rgba(91, 61, 30, 0.08);
    --shadow-md: 0 4px 20px rgba(91, 61, 30, 0.13);
    --shadow-lg: 0 8px 40px rgba(91, 61, 30, 0.16);
    --container: 1160px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Nunito', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg);
    color: var(--text);
    font-size: 17px;
    line-height: 1.7;
    overflow-x: hidden;
}

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 2rem;
}

/* ═══════════════════════════════════════════════════════
   NAVBAR
═══════════════════════════════════════════════════════ */
.navbar {
    background: var(--olive-dark);
    height: 70px;
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 200;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.18);
}

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

.nav-logo {
    height: 50px;
    width: auto;
    display: block;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    list-style: none;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.82);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    padding: 0.4rem 0.75rem;
    border-radius: var(--radius-sm);
    transition: color 0.15s, background 0.15s;
}

.nav-links a:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.lang-switcher {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.lang-switcher a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-weight: 800;
    font-size: 0.82rem;
    transition: color 0.15s;
}

.lang-switcher a.active {
    color: #fff;
}

.lang-switcher span {
    color: rgba(255, 255, 255, 0.25);
}

/* Login dropdown */
.login-wrap {
    position: relative;
}

.btn-login {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.45);
    color: rgba(255, 255, 255, 0.9);
    font-family: inherit;
    font-weight: 800;
    font-size: 0.88rem;
    padding: 0.4rem 1rem;
    border-radius: 30px;
    cursor: pointer;
    transition: border-color 0.15s, color 0.15s, background 0.15s;
    white-space: nowrap;
}

.btn-login:hover {
    border-color: #fff;
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

.login-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: var(--white);
    border-radius: var(--radius);
    border: var(--border);
    box-shadow: var(--shadow-lg);
    min-width: 200px;
    padding: 0.5rem;
    z-index: 300;
}

.login-dropdown.open {
    display: block;
}

.login-dropdown a {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.65rem 0.9rem;
    border-radius: var(--radius-sm);
    color: var(--text);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    transition: background 0.12s;
}

.login-dropdown a:hover {
    background: var(--bg);
}

.login-dropdown a .dd-icon {
    font-size: 1.1rem;
}

/* CTA button in nav */
.btn-nav-cta {
    background: var(--bg);
    color: var(--brown);
    border: none;
    font-family: inherit;
    font-weight: 900;
    font-size: 0.88rem;
    padding: 0.5rem 1.2rem;
    border-radius: 30px;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.15s, transform 0.1s;
    white-space: nowrap;
}

.btn-nav-cta:hover {
    background: #fff;
    transform: translateY(-1px);
}

/* Mobile hamburger */
.nav-hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    padding: 4px;
}

.nav-hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 2px;
    transition: 0.2s;
}

/* ═══════════════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════════════ */
.hero {
    background: var(--bg);
    padding: 4.5rem 0 3.5rem;
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 60px;
    background: var(--white);
    clip-path: ellipse(60% 100% at 50% 100%);
}

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

.hero-label {
    display: inline-block;
    background: var(--olive-dark);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    padding: 0.3rem 0.85rem;
    border-radius: 20px;
    margin-bottom: 1.1rem;
    text-transform: uppercase;
}

.hero-h1 {
    font-size: clamp(2rem, 4vw, 2.9rem);
    font-weight: 900;
    line-height: 1.2;
    color: var(--brown);
    margin-bottom: 0.9rem;
}

.hero-h1 .accent {
    color: var(--olive-dark);
}

.hero-sub {
    color: var(--text-muted);
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 2rem;
}

/* ─── Quiz Box ───────────────────────────────────────── */
.quiz-box {
    background: var(--white);
    border-radius: var(--radius-lg);
    border: var(--border);
    box-shadow: var(--shadow-lg);
    padding: 1.75rem;
    min-height: 260px;
    position: relative;
    display: none;
}

.quiz-step {
    animation: fadeIn 0.25s ease;
}

.quiz-step.hidden {
    display: none !important;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(6px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

.quiz-header {
    text-align: center;
    margin-bottom: 1.25rem;
}

.quiz-header-title {
    font-size: 1.25rem;
    font-weight: 900;
    color: var(--brown);
    margin-bottom: 0.25rem;
}

.quiz-header-sub {
    font-size: 0.95rem;
    color: var(--text-muted);
    font-weight: 600;
    line-height: 1.4;
}

.quiz-step-label {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--brown);
    margin-bottom: 1rem;
    line-height: 1.4;
}

/* Age grid */
.age-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.45rem;
    margin-bottom: 0.75rem;
}

.age-btn {
    aspect-ratio: 1;
    border: var(--border);
    border-radius: var(--radius-sm);
    background: var(--bg-alt);
    color: var(--brown);
    font-family: inherit;
    font-weight: 900;
    font-size: 1.05rem;
    cursor: pointer;
    transition: background 0.14s, color 0.14s, transform 0.1s, border-color 0.14s;
}

.age-btn:hover {
    background: var(--olive);
    border-color: var(--olive-dark);
    transform: scale(1.05);
}

.age-btn.active {
    background: var(--brown);
    color: #fff;
    border-color: var(--brown);
}

.age-more-row {
    display: none;
}

/* shown by JS */
.show-more-btn {
    background: none;
    border: none;
    color: var(--brown-mid);
    font-family: inherit;
    font-weight: 700;
    font-size: 0.88rem;
    cursor: pointer;
    text-decoration: underline;
    padding: 0;
}

.show-more-btn:hover {
    color: var(--brown);
}

/* Step 2 — Name + gender */
.quiz-input {
    width: 100%;
    border: var(--border);
    border-radius: var(--radius-sm);
    padding: 0.7rem 1rem;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
    background: var(--bg-alt);
    margin-bottom: 0.75rem;
    outline: none;
    transition: border-color 0.15s;
}

.quiz-input:focus {
    border-color: var(--brown);
    background: var(--white);
}

.quiz-input.error {
    border-color: #c0392b;
}

.gender-row {
    display: flex;
    gap: 0.6rem;
    margin-bottom: 0.9rem;
}

.gender-btn {
    flex: 1;
    border: var(--border);
    border-radius: var(--radius-sm);
    background: var(--bg-alt);
    color: var(--brown);
    font-family: inherit;
    font-weight: 800;
    font-size: 0.95rem;
    padding: 0.55rem;
    cursor: pointer;
    transition: background 0.14s, color 0.14s, border-color 0.14s;
}

.gender-btn.active {
    background: var(--olive-dark);
    color: #fff;
    border-color: var(--olive-dark);
}

.gender-btn:hover:not(.active) {
    background: var(--olive);
    border-color: var(--olive-dark);
}

/* Step 3 — Level options */
.level-options {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 0.9rem;
}

.level-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border: var(--border);
    border-radius: var(--radius-sm);
    background: var(--bg-alt);
    color: var(--text);
    font-family: inherit;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 0.65rem 1rem;
    cursor: pointer;
    text-align: left;
    transition: background 0.14s, border-color 0.14s;
}

.level-btn:hover {
    background: var(--olive-light);
    border-color: var(--olive-dark);
}

.level-btn.active {
    background: var(--olive-dark);
    color: #fff;
    border-color: var(--olive-dark);
}

.level-btn .emoji {
    font-size: 1.3rem;
}

/* Step 4 — Contact */
.quiz-actions {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-top: 0.25rem;
}

.btn-quiz-submit {
    width: 100%;
    background: var(--brown);
    color: #fff;
    border: none;
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-weight: 900;
    font-size: 1rem;
    padding: 0.85rem 1.5rem;
    cursor: pointer;
    transition: background 0.14s, transform 0.1s;
}

.btn-quiz-submit:hover {
    background: var(--olive-dark);
    transform: translateY(-1px);
}

.btn-quiz-submit:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none;
}

.btn-quiz-back {
    background: none;
    border: none;
    color: var(--text-muted);
    font-family: inherit;
    font-weight: 700;
    font-size: 0.88rem;
    cursor: pointer;
    padding: 0;
    text-align: left;
    transition: color 0.14s;
}

.btn-quiz-back:hover {
    color: var(--brown);
}

/* Step — success */
.quiz-success {
    text-align: center;
    padding: 0.75rem 0;
}

.quiz-success .success-emoji {
    font-size: 3rem;
    margin-bottom: 0.75rem;
}

.quiz-success h3 {
    font-size: 1.4rem;
    font-weight: 900;
    color: var(--brown);
    margin-bottom: 0.5rem;
}

.quiz-success p {
    color: var(--text);
    font-weight: 600;
    margin-bottom: 0.4rem;
}

.quiz-success small {
    color: var(--text-muted);
    font-size: 0.88rem;
}

/* Quiz error */
.quiz-error {
    background: #fdecea;
    color: #c0392b;
    border-radius: var(--radius-sm);
    padding: 0.5rem 0.85rem;
    font-size: 0.88rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
    display: none;
}

.quiz-error.visible {
    display: block;
}

/* ─── Hero Image ───────────────────────────────────────── */
.hero-image {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.hero-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
    transform: scale(1.8);
    transform-origin: center;
}

@keyframes pulseBtn {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(74, 122, 53, 0.6);
    }

    70% {
        transform: scale(1.03);
        box-shadow: 0 0 0 12px rgba(74, 122, 53, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(74, 122, 53, 0);
    }
}

.mobile-only-btn {
    display: none !important;
}

.desktop-only-btn {
    display: inline-block;
    background: var(--green) !important;
    color: #fff !important;
    margin-top: 1.5rem;
    animation: pulseBtn 2s infinite;
}

.desktop-only-btn:hover,
.desktop-only-btn:active {
    background: #3a6327 !important;
    color: #fff !important;
    animation: none;
}

.mobile-only-btn:hover,
.mobile-only-btn:active {
    background: #3a6327 !important;
    color: #fff !important;
}

/* ═══════════════════════════════════════════════════════
   TRUST BAR
═══════════════════════════════════════════════════════ */
.trust-bar {
    background: var(--white);
    padding: 2.25rem 0;
    border-bottom: 2px solid var(--brown-border);
}

.trust-inner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    text-align: center;
}

.trust-item {}

.trust-number {
    font-size: 2rem;
    font-weight: 900;
    color: var(--brown);
    line-height: 1.1;
}

.trust-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

/* ═══════════════════════════════════════════════════════
   SECTION SHARED
═══════════════════════════════════════════════════════ */
.section {
    padding: 5rem 0;
}

.section-alt {
    background: var(--bg);
}

.section-white {
    background: var(--white);
}

.section-olive {
    background: var(--olive-light);
}

.section-label {
    font-size: 0.75rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--olive-dark);
    margin-bottom: 0.6rem;
}

.section-title {
    font-size: clamp(1.7rem, 3vw, 2.4rem);
    font-weight: 900;
    color: var(--brown);
    margin-bottom: 0.75rem;
    line-height: 1.25;
}

.section-sub {
    color: var(--text-muted);
    font-size: 1rem;
    font-weight: 600;
    max-width: 600px;
}

.section-header {
    margin-bottom: 3rem;
}

.section-header.centered {
    text-align: center;
}

.section-header.centered .section-sub {
    margin: 0 auto;
}

/* ═══════════════════════════════════════════════════════
   HOW IT WORKS
═══════════════════════════════════════════════════════ */
.hiw-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    position: relative;
}

.hiw-grid::before {
    content: '';
    position: absolute;
    top: 36px;
    left: 20%;
    right: 20%;
    height: 2px;
    background: repeating-linear-gradient(90deg, var(--brown-border) 0, var(--brown-border) 8px, transparent 8px, transparent 16px);
    z-index: 0;
}

.hiw-card {
    background: var(--white);
    border: var(--border);
    border-radius: var(--radius);
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: var(--shadow);
    position: relative;
    z-index: 1;
}

.hiw-number {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--olive-dark);
    color: #fff;
    font-size: 1.3rem;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.1rem;
}

.hiw-icon {
    font-size: 1.8rem;
    margin-bottom: 0.3rem;
}

.hiw-title {
    font-size: 1.05rem;
    font-weight: 900;
    color: var(--brown);
    margin-bottom: 0.5rem;
}

.hiw-body {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 600;
    line-height: 1.6;
}

/* ═══════════════════════════════════════════════════════
   PROGRAMS
═══════════════════════════════════════════════════════ */
.programs-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
}

.prog-card {
    background: var(--white);
    border: var(--border);
    border-radius: var(--radius);
    padding: 1.5rem 1.1rem;
    text-align: center;
    box-shadow: var(--shadow);
    cursor: default;
    transition: transform 0.15s, box-shadow 0.15s;
}

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

.prog-emoji {
    font-size: 2.2rem;
    margin-bottom: 0.75rem;
}

.prog-name {
    font-size: 1rem;
    font-weight: 900;
    color: var(--brown);
    margin-bottom: 0.3rem;
}

.prog-age {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-muted);
    margin-bottom: 0.6rem;
}

.prog-desc {
    font-size: 0.82rem;
    color: var(--text-muted);
    font-weight: 600;
    line-height: 1.55;
}

.prog-badge {
    display: inline-block;
    background: var(--olive-light);
    color: var(--olive-dark);
    font-size: 0.72rem;
    font-weight: 900;
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
    margin-top: 0.75rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* ═══════════════════════════════════════════════════════
   WHY SAY & PLAY
═══════════════════════════════════════════════════════ */
.why-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

.why-card {
    background: var(--white);
    border: var(--border);
    border-radius: var(--radius);
    padding: 2rem 1.75rem;
    box-shadow: var(--shadow);
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    transition: transform 0.15s, box-shadow 0.15s;
}

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

.why-icon-wrap {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    background: var(--olive-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    flex-shrink: 0;
}

.why-text {}

.why-title {
    font-size: 1.05rem;
    font-weight: 900;
    color: var(--brown);
    margin-bottom: 0.4rem;
}

.why-body {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 600;
    line-height: 1.6;
}

/* ═══════════════════════════════════════════════════════
   CHRONICLE METHOD
═══════════════════════════════════════════════════════ */
.chronicle-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.chronicle-card {
    background: var(--white);
    border: 2px solid var(--brown-border);
    border-radius: var(--radius);
    padding: 1.25rem;
    text-align: center;
    box-shadow: 6px 6px 0px #e1ccae;
    transition: transform 0.15s, box-shadow 0.15s;
}

.chronicle-card:hover {
    transform: translate(-3px, -3px);
    box-shadow: 9px 9px 0px #e1ccae;
}

.chronicle-img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: var(--radius-sm);
    margin-bottom: 0.75rem;
}

.chronicle-title {
    font-size: 1.25rem;
    font-weight: 900;
    color: var(--brown);
    margin-bottom: 0.2rem;
}

.chronicle-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    font-weight: 600;
}

/* ═══════════════════════════════════════════════════════
   TEACHERS
═══════════════════════════════════════════════════════ */
.teachers-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.teacher-card {
    background: var(--white);
    border: var(--border);
    border-radius: var(--radius);
    padding: 2.25rem 2rem;
    box-shadow: var(--shadow);
    display: flex;
    gap: 1.75rem;
    align-items: flex-start;
}

.teacher-avatar {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    border: 3px solid var(--brown-border);
}

.teacher-avatar.brown {
    background: linear-gradient(135deg, var(--brown-mid), var(--brown));
}

.teacher-avatar.olive {
    background: linear-gradient(135deg, var(--olive), var(--olive-dark));
}

.teacher-info {}

.teacher-name {
    font-size: 1.2rem;
    font-weight: 900;
    color: var(--brown);
    margin-bottom: 0.2rem;
}

.teacher-role {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--olive-dark);
    margin-bottom: 0.75rem;
}

.teacher-bio {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 600;
    line-height: 1.65;
}

.teacher-badge {
    display: inline-block;
    background: var(--brown);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 900;
    padding: 0.2rem 0.65rem;
    border-radius: 20px;
    margin-top: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* ═══════════════════════════════════════════════════════
   TESTIMONIALS
═══════════════════════════════════════════════════════ */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.testi-card {
    background: var(--white);
    border: var(--border);
    border-radius: var(--radius);
    padding: 1.75rem 1.5rem;
    box-shadow: var(--shadow);
}

.testi-stars {
    color: #f5a623;
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    letter-spacing: 2px;
}

.testi-text {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text);
    line-height: 1.65;
    margin-bottom: 1.1rem;
    font-style: italic;
}

.testi-text::before {
    content: '"';
}

.testi-text::after {
    content: '"';
}

.testi-author {
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--brown-mid);
}

.testi-child {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 600;
}

/* ═══════════════════════════════════════════════════════
   AFTER TRIAL
═══════════════════════════════════════════════════════ */
.after-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.after-steps {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.after-step {
    display: flex;
    gap: 1.1rem;
    align-items: flex-start;
}

.after-num {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--olive-dark);
    color: #fff;
    font-weight: 900;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.after-text {}

.after-step-title {
    font-size: 1rem;
    font-weight: 900;
    color: var(--brown);
    margin-bottom: 0.2rem;
}

.after-step-body {
    font-size: 0.88rem;
    color: var(--text-muted);
    font-weight: 600;
}

.after-visual {
    background: linear-gradient(135deg, var(--olive) 0%, var(--brown-mid) 100%);
    border-radius: var(--radius-lg);
    border: var(--border);
    aspect-ratio: 4/3;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 0.5rem;
}

.after-visual span {
    font-size: 3.5rem;
    opacity: 0.5;
}

.after-visual p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 700;
}

/* ═══════════════════════════════════════════════════════
   FINAL CTA
═══════════════════════════════════════════════════════ */
.final-cta {
    background: var(--olive-dark);
    padding: 5rem 0;
    text-align: center;
}

.final-cta .section-title {
    color: #fff;
}

.final-cta .section-sub {
    color: rgba(255, 255, 255, 0.75);
    margin: 0 auto 2.25rem;
}

.btn-cta-primary {
    display: inline-block;
    background: var(--bg);
    color: var(--brown);
    font-family: inherit;
    font-weight: 900;
    font-size: 1.1rem;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: background 0.15s, transform 0.12s, box-shadow 0.12s;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.btn-cta-primary:hover {
    background: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 28px rgba(0, 0, 0, 0.25);
}

/* ═══════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════ */
.footer {
    background: var(--brown);
    color: rgba(255, 255, 255, 0.8);
    padding: 3rem 0 2rem;
}

.footer-inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 2.5rem;
    margin-bottom: 2.5rem;
}

.footer-brand {}

.footer-logo {
    height: 44px;
    width: auto;
    margin-bottom: 0.75rem;
    opacity: 0.9;
}

.footer-tagline {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 600;
    max-width: 240px;
    line-height: 1.6;
}

.footer-col-title {
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 0.85rem;
}

.footer-col a {
    display: block;
    color: rgba(255, 255, 255, 0.78);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    transition: color 0.14s;
}

.footer-col a:hover {
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.footer-rights {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 600;
}

.footer-tg {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 700;
    transition: color 0.14s;
}

.footer-tg:hover {
    color: #fff;
}

/* ═══════════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════════ */
@media (max-width: 1020px) {
    .programs-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .trust-inner {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 860px) {
    .hero {
        padding-top: 1rem;
        padding-bottom: 3.5rem;
    }

    .nav-logo {
        height: 36px;
    }

    .nav-right {
        gap: 0.5rem;
    }

    .hero-inner {
        display: flex;
        flex-direction: column;
        gap: 0;
    }

    .hero-left {
        display: contents;
    }

    .hero-label {
        order: 1;
        align-self: flex-start;
        margin-bottom: 0.6rem;
    }

    .hero-h1 {
        order: 2;
        align-self: flex-start;
        margin-bottom: 0.4rem;
    }

    .hero-image {
        order: 3;
        display: block;
        margin: 2.5rem 0 1.5rem;
        width: 100%;
    }

    .hero-image img {
        transform: scale(1.5);
    }

    .hero-sub {
        order: 4;
        align-self: flex-start;
        text-align: left;
        margin-top: 1rem;
        margin-bottom: 1rem;
    }

    .mobile-only-btn {
        order: 5;
        display: block !important;
        width: 100%;
        background: var(--green);
        color: #fff;
        font-size: 1.25rem;
        padding: 1.25rem;
        border-radius: var(--radius);
        text-transform: uppercase;
        font-weight: 900;
        border: none;
        margin-top: 0.5rem;
        margin-bottom: 2.5rem;
        animation: pulseBtn 2s infinite;
    }

    .quiz-box {
        order: 6;
        display: none;
        width: 100%;
    }

    .desktop-only-btn {
        display: none !important;
    }

    .hiw-grid {
        grid-template-columns: 1fr;
    }

    .hiw-grid::before {
        display: none;
    }

    .chronicle-grid {
        grid-template-columns: 1fr;
    }

    .why-grid {
        grid-template-columns: 1fr;
    }

    .teachers-grid {
        grid-template-columns: 1fr;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .after-inner {
        grid-template-columns: 1fr;
    }

    .after-visual {
        display: none;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        gap: 1.75rem;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .nav-links,
    .btn-nav-cta {
        display: none;
    }

    .nav-hamburger {
        display: flex;
    }
}

@media (max-width: 640px) {
    .container {
        padding: 0 1.1rem;
    }

    .section {
        padding: 3.5rem 0;
    }

    .programs-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .trust-inner {
        grid-template-columns: 1fr 1fr;
    }

    .age-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ─── Sticky Mobile CTA ──────────────────────────────────────────────── */
.sticky-mobile-cta {
    display: none;
}

@media (max-width: 860px) {
    .sticky-mobile-cta {
        display: block;
        position: fixed;
        bottom: 20px;
        left: 20px;
        right: 20px;
        background: var(--green);
        color: #fff;
        font-size: 1.15rem;
        padding: 1.15rem;
        border-radius: var(--radius);
        text-transform: uppercase;
        font-weight: 900;
        border: none;
        text-align: center;
        box-shadow: var(--shadow-lg);
        z-index: 1000;
        opacity: 0;
        visibility: hidden;
        transform: translateY(20px);
        transition: opacity 0.25s, visibility 0.25s, transform 0.25s;
        animation: pulseBtn 2s infinite; 
    }

    .sticky-mobile-cta.visible {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .sticky-mobile-cta:hover, .sticky-mobile-cta:active {
        background: #3a6327;
    }
}