/* =====================================================
   SHARED.CSS — Ameisen Academy CBC Pages
   Used by: cbc-pp1-g3.html | cbc-g4-g6.html |
            cbc-g7-g9.html  | cbc-g10-g12.html
===================================================== */

/* ── TOKENS ─────────────────────────────────────── */
:root {
    --coral:        #ff6f61;
    --coral-dark:   #e65a50;
    --coral-light:  #fff0ee;
    --ink:          #1a1a2e;
    --ink-mid:      #3d3d5c;
    --ink-soft:     #6b6b8a;
    --surface:      #ffffff;
    --surface-alt:  #f7f7fb;
    --border:       #e8e8f0;
    --gold:         #f5a623;
    --success:      #27ae60;

    /* Page accent — overridden per page */
    --accent:       var(--coral);
    --accent-dark:  var(--coral-dark);
    --accent-light: var(--coral-light);

    --shadow-sm: 0 1px 4px rgba(26,26,46,.07);
    --shadow-md: 0 4px 18px rgba(26,26,46,.10);
    --shadow-lg: 0 12px 40px rgba(26,26,46,.14);

    --r-sm:  6px;
    --r-md:  12px;
    --r-lg:  20px;
    --r-xl:  32px;

    --ease: cubic-bezier(.4,0,.2,1);
    --t:    .25s var(--ease);

    --font-d: 'Playfair Display', Georgia, serif;
    --font-b: 'DM Sans', system-ui, sans-serif;
    --max-w:  1240px;
    --nav-h:  68px;
}

/* ── RESET ───────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-b);
    font-size: 16px;
    line-height: 1.65;
    color: var(--ink);
    background: var(--surface);
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a   { color: inherit; text-decoration: none; }
ul  { list-style: none; }
button { font-family: var(--font-b); cursor: pointer; }

/* ── SKIP LINK ───────────────────────────────────── */
.skip-link {
    position: absolute; top: -100%; left: 1rem;
    background: var(--accent); color: #fff;
    padding: .4rem 1rem;
    border-radius: 0 0 var(--r-sm) var(--r-sm);
    font-weight: 700; z-index: 9999;
    transition: top var(--t);
}
.skip-link:focus { top: 0; }

/* ── ANNOUNCEMENT BAR ────────────────────────────── */
.announcement-bar {
    background: var(--ink); color: #fff;
    text-align: center; font-size: .82rem;
    font-weight: 500; padding: 8px 1rem;
    letter-spacing: .02em;
}
.announcement-bar a {
    color: var(--accent); font-weight: 700;
    margin-left: .3em; text-decoration: underline;
    text-underline-offset: 2px;
}

/* ── HEADER ──────────────────────────────────────── */
header {
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    position: sticky; top: 0; z-index: 1000;
}
nav {
    display: flex; align-items: center;
    justify-content: space-between;
    max-width: var(--max-w); margin: 0 auto;
    padding: 0 2rem; height: var(--nav-h); gap: 1.5rem;
}
.logo { display: flex; align-items: center; gap: .6rem; flex-shrink: 0; }
.logo img { height: 36px; }
.logo-name {
    font-family: var(--font-d); font-size: 1.1rem;
    font-weight: 800; color: var(--ink); display: block;
}
.logo-sub {
    font-size: .67rem; font-weight: 700;
    letter-spacing: .1em; text-transform: uppercase;
    color: var(--accent); display: block;
}
.nav-links {
    display: flex; align-items: center; gap: .2rem;
}
.nav-links > li > a,
.nav-links > li > .drop-btn {
    display: flex; align-items: center; gap: .3rem;
    padding: .4rem .7rem; font-size: .88rem; font-weight: 600;
    color: var(--ink-mid); border-radius: var(--r-sm);
    transition: color var(--t), background var(--t);
    white-space: nowrap; background: none; border: none;
}
.nav-links > li > a:hover,
.nav-links > li > .drop-btn:hover,
.nav-links > li > .drop-btn[aria-expanded="true"] {
    color: var(--accent); background: var(--accent-light);
}
.fa-chevron-down { font-size: .62rem; transition: transform var(--t); }
.drop-btn[aria-expanded="true"] .fa-chevron-down { transform: rotate(180deg); }

.dropdown { position: relative; }
.dropdown-content {
    display: none; position: absolute; top: calc(100% + 6px); left: 0;
    background: var(--surface); min-width: 220px;
    border: 1px solid var(--border); border-radius: var(--r-md);
    box-shadow: var(--shadow-lg); padding: .4rem 0; z-index: 1001;
}
.dropdown-content.show { display: block; }
.dropdown-content a {
    display: block; padding: .55rem 1rem;
    font-size: .87rem; font-weight: 500; color: var(--ink-mid);
    transition: background var(--t), color var(--t);
}
.dropdown-content a:hover { background: var(--accent-light); color: var(--accent); }

.nav-extra { display: flex; align-items: center; gap: .8rem; flex-shrink: 0; }
.nav-phone {
    display: flex; align-items: center; gap: .5rem;
    padding: .4rem .85rem; border: 1.5px solid var(--border);
    border-radius: var(--r-md); font-size: .8rem; color: var(--ink-mid);
}
.nav-phone .ph-icon {
    width: 30px; height: 30px; background: var(--accent-light);
    border-radius: 50%; display: flex; align-items: center;
    justify-content: center; color: var(--accent); font-size: .8rem;
}
.nav-phone .ph-label { font-size: .7rem; color: var(--ink-soft); display: block; line-height: 1.2; }
.nav-phone strong    { font-size: .82rem; color: var(--ink); display: block; }

.mobile-menu-btn {
    display: none; width: 38px; height: 38px;
    background: var(--surface-alt); border: 1px solid var(--border);
    border-radius: var(--r-sm); font-size: 1rem;
    color: var(--ink); align-items: center; justify-content: center;
}
.mobile-overlay {
    display: none; position: fixed; inset: 0;
    background: rgba(26,26,46,.5); z-index: 999;
    backdrop-filter: blur(2px);
}
.mobile-overlay.show { display: block; }
.mobile-close {
    display: none; position: absolute; top: 1rem; right: 1rem;
    width: 34px; height: 34px; background: var(--surface-alt);
    border: 1px solid var(--border); border-radius: 50%;
    align-items: center; justify-content: center;
    font-size: .95rem; color: var(--ink); cursor: pointer;
}

/* ── BUTTONS ─────────────────────────────────────── */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    gap: .4rem; font-family: var(--font-b); font-size: .9rem;
    font-weight: 700; border: none; border-radius: var(--r-md);
    cursor: pointer; white-space: nowrap;
    transition: background var(--t), box-shadow var(--t), transform var(--t);
}
.btn:hover  { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary {
    background: var(--accent); color: #fff; padding: .7rem 1.4rem;
    box-shadow: 0 4px 14px rgba(0,0,0,.18);
}
.btn-primary:hover { background: var(--accent-dark); }
.btn-outline {
    background: transparent; color: var(--accent);
    padding: .65rem 1.35rem; border: 2px solid var(--accent);
}
.btn-outline:hover { background: var(--accent-light); }
.btn-ghost {
    background: rgba(255,255,255,.14); color: #fff;
    padding: .7rem 1.6rem; border: 2px solid rgba(255,255,255,.45);
    backdrop-filter: blur(4px);
}
.btn-ghost:hover { background: rgba(255,255,255,.25); border-color: #fff; }
.btn-lg { font-size: .98rem; padding: .82rem 1.9rem; }

/* ── HERO ────────────────────────────────────────── */
.page-hero {
    background: linear-gradient(135deg, var(--ink) 0%, #2a1f5c 100%);
    position: relative; overflow: hidden;
    padding: 72px 2rem 80px;
}
.page-hero::before {
    content: ''; position: absolute; top: -80px; right: -80px;
    width: 420px; height: 420px; border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,.06) 0%, transparent 70%);
}
.page-hero::after {
    content: ''; position: absolute; bottom: -60px; left: 4%;
    width: 260px; height: 260px; border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,.04) 0%, transparent 70%);
}
.hero-inner {
    max-width: var(--max-w); margin: 0 auto;
    display: flex; align-items: center;
    justify-content: space-between;
    gap: 2.5rem; flex-wrap: wrap; position: relative; z-index: 1;
}
.hero-text { flex: 1; min-width: 280px; }
.hero-breadcrumb {
    display: inline-flex; align-items: center; gap: .35rem;
    font-size: .75rem; font-weight: 600; letter-spacing: .08em;
    text-transform: uppercase; color: rgba(255,255,255,.4);
    margin-bottom: .9rem;
}
.hero-breadcrumb a { color: var(--accent); }
.hero-breadcrumb i { font-size: .58rem; }
.hero-badge {
    display: inline-flex; align-items: center; gap: .4rem;
    background: var(--accent); color: #fff;
    font-size: .75rem; font-weight: 700; letter-spacing: .07em;
    text-transform: uppercase; padding: .32rem .85rem;
    border-radius: 100px; margin-bottom: .9rem;
}
.hero-text h1 {
    font-family: var(--font-d);
    font-size: clamp(1.9rem, 4vw, 3rem);
    font-weight: 800; color: #fff; line-height: 1.15;
    margin-bottom: .8rem;
}
.hero-text h1 span { color: var(--accent); }
.hero-text p {
    font-size: 1rem; color: rgba(255,255,255,.72);
    max-width: 500px; margin-bottom: 1.6rem;
}
.hero-actions { display: flex; gap: .75rem; flex-wrap: wrap; }
.hero-stats {
    display: flex; gap: 2rem; flex-wrap: wrap; margin-top: 2rem;
    padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.12);
}
.hero-stat strong {
    display: block; font-family: var(--font-d);
    font-size: 1.55rem; font-weight: 800; color: #fff; line-height: 1;
}
.hero-stat span { font-size: .78rem; color: rgba(255,255,255,.5); }

.hero-visual {
    flex-shrink: 0;
    background: rgba(255,255,255,.07);
    border: 1.5px solid rgba(255,255,255,.14);
    border-radius: var(--r-xl);
    padding: 2rem 2.5rem; text-align: center;
    backdrop-filter: blur(8px);
}
.hero-visual .big-emoji { font-size: 4rem; line-height: 1; margin-bottom: .75rem; }
.hero-visual .grade-label {
    font-family: var(--font-d); font-size: 1.1rem;
    font-weight: 800; color: #fff; margin-bottom: .3rem;
}
.hero-visual .grade-sub { font-size: .8rem; color: rgba(255,255,255,.55); }
.hero-visual .enroll-cta {
    margin-top: 1.25rem;
    background: var(--accent);
    color: #fff; border: none; padding: .7rem 1.4rem;
    border-radius: var(--r-md); font-size: .88rem; font-weight: 700;
    cursor: pointer; width: 100%; display: flex; align-items: center;
    justify-content: center; gap: .4rem;
    transition: background var(--t);
}
.hero-visual .enroll-cta:hover { background: var(--accent-dark); }

/* ── SECTION SCAFFOLDING ─────────────────────────── */
.section { padding: 72px 2rem; max-width: var(--max-w); margin: 0 auto; }
.section-alt { background: var(--surface-alt); }
.section-alt .section { /* pass-through */ }

.section-header { text-align: center; margin-bottom: 2.75rem; }
.section-tag {
    display: inline-block; font-size: .74rem; font-weight: 700;
    letter-spacing: .12em; text-transform: uppercase;
    color: var(--accent); margin-bottom: .65rem;
}
.section-header h2 {
    font-family: var(--font-d);
    font-size: clamp(1.55rem, 3vw, 2.3rem);
    font-weight: 800; color: var(--ink); line-height: 1.2;
}
.section-header p {
    margin-top: .65rem; font-size: .97rem;
    color: var(--ink-soft); max-width: 520px;
    margin-left: auto; margin-right: auto;
}

/* ── SUBJECT CARDS ───────────────────────────────── */
.subjects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.25rem;
}
.subject-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 1.75rem 1.5rem;
    display: flex; flex-direction: column; gap: .75rem;
    position: relative; overflow: hidden;
    transition: box-shadow var(--t), transform var(--t), border-color var(--t);
}
.subject-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0;
    height: 4px; background: var(--accent);
    transform: scaleX(0); transform-origin: left;
    transition: transform var(--t);
    border-radius: var(--r-lg) var(--r-lg) 0 0;
}
.subject-card:hover {
    box-shadow: var(--shadow-lg); transform: translateY(-4px);
    border-color: transparent;
}
.subject-card:hover::before { transform: scaleX(1); }
.subject-icon {
    width: 50px; height: 50px; border-radius: var(--r-md);
    background: var(--accent-light); display: flex;
    align-items: center; justify-content: center;
    font-size: 1.4rem;
}
.subject-card h3 { font-size: 1rem; font-weight: 700; color: var(--ink); }
.subject-card p  { font-size: .85rem; color: var(--ink-soft); flex: 1; }
.subject-card .lessons {
    font-size: .78rem; font-weight: 600; color: var(--accent);
    display: flex; align-items: center; gap: .3rem;
}

/* ── LEARNING PATH / STEPS ───────────────────────── */
.path-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem; counter-reset: step;
}
.path-step {
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--r-lg); padding: 2rem 1.5rem;
    position: relative; overflow: hidden;
    transition: box-shadow var(--t), transform var(--t);
}
.path-step:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.step-num {
    font-family: var(--font-d); font-size: 3rem; font-weight: 800;
    color: var(--accent); opacity: .12; position: absolute;
    top: .5rem; right: 1rem; line-height: 1;
}
.path-step h3 { font-size: 1rem; font-weight: 700; color: var(--ink); margin-bottom: .4rem; }
.path-step p  { font-size: .87rem; color: var(--ink-soft); }

/* ── CTA BAND ────────────────────────────────────── */
.cta-band {
    background: linear-gradient(135deg, var(--accent) 0%, #ff9a4d 100%);
    position: relative; overflow: hidden;
}
.cta-band::before {
    content: ''; position: absolute; top: -60%; right: -5%;
    width: 420px; height: 420px; border-radius: 50%;
    background: rgba(255,255,255,.07);
}
.cta-inner {
    max-width: var(--max-w); margin: 0 auto; padding: 64px 2rem;
    display: flex; align-items: center;
    justify-content: space-between; gap: 2rem; flex-wrap: wrap;
    position: relative; z-index: 1;
}
.cta-text h2 {
    font-family: var(--font-d);
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 800; color: #fff; margin-bottom: .4rem;
}
.cta-text p { font-size: .97rem; color: rgba(255,255,255,.82); max-width: 460px; }
.cta-actions { display: flex; gap: .85rem; flex-wrap: wrap; }

/* ── TESTIMONIALS ────────────────────────────────── */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.25rem;
}
.testimonial-card {
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--r-lg); padding: 1.75rem;
    display: flex; flex-direction: column; gap: 1rem;
    transition: box-shadow var(--t);
}
.testimonial-card:hover { box-shadow: var(--shadow-md); }
.testimonial-stars { color: var(--gold); font-size: .9rem; }
.testimonial-quote { font-size: .92rem; color: var(--ink-mid); line-height: 1.7; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: .75rem; }
.testimonial-author .avatar {
    width: 42px; height: 42px; border-radius: 50%;
    object-fit: cover; border: 2px solid var(--accent-light);
}
.testimonial-author .name  { font-weight: 700; font-size: .9rem; color: var(--ink); display: block; }
.testimonial-author .grade { font-size: .78rem; color: var(--ink-soft); display: block; }

/* ── FAQ ─────────────────────────────────────────── */
.faq-list { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: .75rem; }
.faq-item {
    border: 1px solid var(--border); border-radius: var(--r-md);
    overflow: hidden;
    transition: border-color var(--t);
}
.faq-item.open { border-color: var(--accent); }
.faq-q {
    width: 100%; padding: 1.1rem 1.25rem;
    background: var(--surface); border: none;
    display: flex; align-items: center; justify-content: space-between;
    font-family: var(--font-b); font-size: .93rem; font-weight: 700;
    color: var(--ink); cursor: pointer; text-align: left;
    transition: background var(--t);
}
.faq-item.open .faq-q { background: var(--accent-light); color: var(--accent); }
.faq-q i { font-size: .7rem; transition: transform var(--t); flex-shrink: 0; }
.faq-item.open .faq-q i { transform: rotate(180deg); }
.faq-a {
    max-height: 0; overflow: hidden;
    transition: max-height .35s var(--ease);
    font-size: .88rem; color: var(--ink-soft); line-height: 1.7;
    padding: 0 1.25rem;
}
.faq-item.open .faq-a { max-height: 300px; padding: .75rem 1.25rem 1.1rem; }

/* ── ENROLL MODAL ────────────────────────────────── */
.modal-overlay {
    position: fixed; inset: 0; background: rgba(26,26,46,.55);
    backdrop-filter: blur(4px); z-index: 900;
    display: none; align-items: center; justify-content: center; padding: 1rem;
}
.modal-overlay.open { display: flex; }
.modal {
    background: var(--surface); border-radius: var(--r-xl);
    box-shadow: var(--shadow-lg); max-width: 480px; width: 100%;
    overflow: hidden; animation: modalIn .3s var(--ease);
    max-height: 90vh; overflow-y: auto;
}
@keyframes modalIn {
    from { opacity: 0; transform: translateY(18px) scale(.97); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}
.modal-head {
    background: linear-gradient(135deg, var(--ink) 0%, #2a1f5c 100%);
    padding: 1.5rem 1.75rem;
    display: flex; align-items: center; justify-content: space-between;
}
.modal-head h2 { font-family: var(--font-d); font-size: 1.2rem; font-weight: 800; color: #fff; }
.modal-head p  { font-size: .82rem; color: rgba(255,255,255,.6); margin-top: .2rem; }
.modal-close {
    width: 34px; height: 34px; border-radius: 50%;
    background: rgba(255,255,255,.12); border: none; color: #fff;
    font-size: .95rem; display: flex; align-items: center;
    justify-content: center; cursor: pointer; flex-shrink: 0;
    transition: background var(--t);
}
.modal-close:hover { background: rgba(255,255,255,.22); }
.modal-body { padding: 1.75rem; }
.form-row { margin-bottom: 1rem; }
.form-row label {
    display: block; font-size: .77rem; font-weight: 700;
    letter-spacing: .07em; text-transform: uppercase;
    color: var(--ink-soft); margin-bottom: .38rem;
}
.form-row input, .form-row select, .form-row textarea {
    width: 100%; padding: .68rem 1rem;
    border: 1.5px solid var(--border); border-radius: var(--r-sm);
    font-family: var(--font-b); font-size: .9rem; color: var(--ink);
    background: var(--surface); transition: border-color var(--t);
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
    outline: none; border-color: var(--accent);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 12%, transparent);
}
.form-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.btn-submit {
    width: 100%; padding: .95rem; background: var(--accent); color: #fff;
    border: none; border-radius: var(--r-md); font-size: .95rem;
    font-weight: 700; display: flex; align-items: center;
    justify-content: center; gap: .5rem;
    box-shadow: 0 4px 14px rgba(0,0,0,.18);
    transition: all var(--t); cursor: pointer; margin-top: .5rem;
}
.btn-submit:hover { background: var(--accent-dark); }
.modal-success {
    display: none; padding: 2.5rem 1.75rem; text-align: center;
}
.modal-success.show { display: block; }
.success-icon {
    width: 68px; height: 68px; border-radius: 50%;
    background: #e8f5e9; margin: 0 auto 1.2rem;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.9rem; color: #22c55e;
    animation: popIn .45s var(--ease);
}
@keyframes popIn {
    0%   { transform: scale(0); opacity: 0; }
    70%  { transform: scale(1.12); }
    100% { transform: scale(1); opacity: 1; }
}
.modal-success h3 { font-family: var(--font-d); font-size: 1.35rem; font-weight: 800; color: var(--ink); margin-bottom: .5rem; }
.modal-success p  { font-size: .88rem; color: var(--ink-soft); max-width: 320px; margin: 0 auto 1.5rem; }
.btn-done {
    padding: .7rem 2.2rem; background: var(--accent); color: #fff;
    border: none; border-radius: var(--r-md); font-size: .9rem;
    font-weight: 700; cursor: pointer; transition: background var(--t);
}
.btn-done:hover { background: var(--accent-dark); }

/* ── FOOTER ──────────────────────────────────────── */
footer { background: var(--ink); color: rgba(255,255,255,.7); }
.footer-top {
    max-width: var(--max-w); margin: 0 auto;
    padding: 60px 2rem 44px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2.5rem;
}
.footer-brand .logo-name { color: #fff; font-size: 1.2rem; }
.footer-brand .logo-sub  { color: var(--accent); }
.footer-brand > p {
    margin-top: .9rem; font-size: .86rem;
    line-height: 1.7; color: rgba(255,255,255,.5); max-width: 290px;
}
.footer-contact { margin-top: 1.1rem; display: flex; flex-direction: column; gap: .45rem; }
.footer-contact a {
    display: flex; align-items: center; gap: .45rem;
    font-size: .84rem; color: rgba(255,255,255,.55);
    transition: color var(--t);
}
.footer-contact a i { color: var(--accent); width: 13px; }
.footer-contact a:hover { color: #fff; }
.footer-col h4 {
    font-size: .75rem; font-weight: 700; letter-spacing: .1em;
    text-transform: uppercase; color: rgba(255,255,255,.3);
    margin-bottom: 1.1rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: .45rem; }
.footer-col ul a {
    font-size: .86rem; color: rgba(255,255,255,.55);
    transition: color var(--t), padding-left var(--t); display: block;
}
.footer-col ul a:hover { color: #fff; padding-left: 4px; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.1);
    padding: 1.1rem 2rem; max-width: var(--max-w); margin: 0 auto;
    display: flex; justify-content: space-between;
    align-items: center; flex-wrap: wrap; gap: .75rem;
}
.footer-bottom p { font-size: .8rem; color: rgba(255,255,255,.38); }
.social-icons { display: flex; gap: .45rem; }
.social-icons a {
    width: 34px; height: 34px; border-radius: 50%;
    border: 1.5px solid rgba(255,255,255,.14);
    display: flex; align-items: center; justify-content: center;
    font-size: .85rem; color: rgba(255,255,255,.45);
    transition: all var(--t);
}
.social-icons a:hover {
    border-color: var(--accent); color: var(--accent);
    background: rgba(255,111,97,.1); transform: translateY(-2px);
}

/* ── RESPONSIVE ──────────────────────────────────── */
@media (max-width: 1024px) {
    .footer-top { grid-template-columns: 1fr 1fr; gap: 1.75rem; }
}
@media (max-width: 900px) {
    .nav-links, .nav-phone { display: none; }
    .mobile-menu-btn { display: flex; }
}
@media (max-width: 768px) {
    .nav-links {
        display: none; position: fixed;
        top: 0; right: 0; width: 290px; height: 100vh;
        background: var(--surface); padding: 4.5rem 1.5rem 2rem;
        box-shadow: var(--shadow-lg); flex-direction: column;
        align-items: stretch; gap: .2rem; overflow-y: auto; z-index: 1001;
        transform: translateX(100%); transition: transform var(--t);
    }
    .nav-links.show { display: flex; transform: translateX(0); }
    .nav-links > li > a,
    .nav-links > li > .drop-btn { padding: .75rem 1rem; font-size: .93rem; }
    .dropdown-content { position: static; box-shadow: none; border: none;
        background: var(--surface-alt); max-height: 0; overflow: hidden;
        transition: max-height var(--t); padding: 0; opacity: 1; transform: none; }
    .dropdown-content.show { max-height: 400px; padding: .2rem 0 .2rem 1rem; }
    .mobile-close { display: flex; }
    .hero-visual { display: none; }
    .cta-inner { flex-direction: column; text-align: center; }
    .cta-text p { margin: 0 auto; }
    .cta-actions { justify-content: center; }
    .form-2col { grid-template-columns: 1fr; }
    .footer-top { grid-template-columns: 1fr 1fr; gap: 1.25rem; }
}
@media (max-width: 560px) {
    nav { padding: 0 1rem; }
    .section { padding: 52px 1rem; }
    .page-hero { padding: 52px 1rem 60px; }
    .footer-top { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; text-align: center; }
}
