/* My Best Education — public site */
:root {
  --brand: #003399;
  --brand-dark: #00226b;
  --ink: #0f172a;
  --muted: #5b6475;
  --line: #e3e7ef;
  --bg: #ffffff;
  --soft: #f4f7fd;
  --accent: #ffb400;
  --accent-ink: #1b1300;
  --ok: #166534;
  --err: #b42318;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(15,23,42,.06), 0 6px 20px rgba(15,23,42,.06);
  --font: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, "Noto Sans", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.6; font-size: 16px; }
img { max-width: 100%; height: auto; }
a { color: var(--brand); text-underline-offset: 2px; }
a:hover { color: var(--brand-dark); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); }
h2 { font-size: clamp(1.3rem, 2.2vw, 1.65rem); }
h3, .h3 { font-size: 1.08rem; }
p { margin: 0 0 1em; }
.wrap { width: min(1180px, 100% - 2rem); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: .5rem 1rem; z-index: 99; }
.skip:focus { left: 1rem; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.muted { color: var(--muted); }
.center { text-align: center; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; padding: .72rem 1.2rem; border-radius: 999px;
  font-weight: 650; font-size: .98rem; text-decoration: none; border: 2px solid transparent; cursor: pointer; font-family: inherit; line-height: 1.2; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); color: #fff; }
.btn-accent { background: var(--accent); color: var(--accent-ink); }
.btn-accent:hover { background: #ffc43d; color: var(--accent-ink); }
.btn-block { width: 100%; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 72px; }
.logo img { display: block; width: 120px; height: auto; }
.nav-toggle { display: none; background: none; border: 0; padding: .6rem; cursor: pointer; }
.nav-toggle span:not(.sr) { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; transition: .2s; }

/* Hero */
.hero { background: radial-gradient(1200px 400px at 90% -10%, rgba(255,180,0,.18), transparent 60%), linear-gradient(160deg, var(--brand) 0%, var(--brand-dark) 100%); color: #fff; padding: 3.5rem 0 4rem; }
.hero-grid { display: grid; grid-template-columns: 1.25fr .9fr; gap: 3rem; align-items: center; }
.eyebrow { text-transform: uppercase; letter-spacing: .08em; font-size: .78rem; font-weight: 700; color: var(--accent); margin-bottom: .8rem; }
.hero h1 { color: #fff; }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 62ch; }
.hero .lead { color: #dbe4ff; }
.search-box { position: relative; display: flex; gap: .5rem; background: #fff; padding: .4rem; border-radius: 999px; box-shadow: var(--shadow); margin: 1.4rem 0; max-width: 640px; }
.search-box.narrow { margin-inline: auto; }
.search-box input { flex: 1; border: 0; padding: .7rem 1rem; font-size: 1rem; border-radius: 999px; min-width: 0; font-family: inherit; color: var(--ink); }
.search-box input:focus { outline: none; }
.suggest { position: absolute; top: calc(100% + 6px); left: 0; right: 0; background: #fff; border-radius: 12px; box-shadow: var(--shadow); overflow: hidden; z-index: 20; text-align: left; }
.suggest a { display: flex; justify-content: space-between; gap: 1rem; padding: .65rem 1rem; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); }
.suggest a:hover, .suggest a.active { background: var(--soft); }
.suggest small { color: var(--muted); }
.stage-pills { display: flex; flex-wrap: wrap; gap: .5rem; }
.stage-pills a { color: #fff; border: 1px solid rgba(255,255,255,.4); padding: .45rem .9rem; border-radius: 999px; text-decoration: none; font-weight: 550; font-size: .93rem; }
.stage-pills a:hover { background: #fff; color: var(--brand); }
.hero-form { background: #fff; color: var(--ink); border-radius: 18px; padding: 1.5rem; box-shadow: 0 20px 50px rgba(0,0,0,.25); }
.hero-form h2 { font-size: 1.3rem; margin-bottom: .2rem; }
.hero-form > p { color: var(--muted); font-size: .95rem; }

/* Sections */
.section { padding: 3rem 0 1rem; }
.section-title { margin-bottom: 1.2rem; }
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.section-head a { font-weight: 600; text-decoration: none; white-space: nowrap; }
.quick-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; }
.quick-grid a { display: flex; flex-direction: column; gap: .3rem; padding: 1.2rem; border-radius: var(--radius); background: var(--soft); text-decoration: none; color: var(--ink); border: 1px solid transparent; transition: .15s; }
.quick-grid a:hover { border-color: var(--brand); background: #fff; box-shadow: var(--shadow); }
.quick-grid strong { color: var(--brand); font-size: 1.05rem; }
.quick-grid span { color: var(--muted); font-size: .92rem; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1rem; }
.cards-sm { grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); }
.card { display: block; padding: 1.15rem 1.2rem; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); background: #fff; transition: .15s; }
.card:hover { border-color: var(--brand); box-shadow: var(--shadow); transform: translateY(-2px); color: var(--ink); }
.card h3, .card .h3 { color: var(--brand); margin: .2rem 0 .35rem; }
.card p { color: var(--muted); font-size: .93rem; margin: 0; }
.kicker { display: inline-block; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: #8a5a00; background: #fff4d6; padding: .15rem .5rem; border-radius: 6px; }
.band { background: var(--soft); padding: 3rem 0; margin-top: 3rem; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; counter-reset: s; }
.steps li { counter-increment: s; background: #fff; border-radius: var(--radius); padding: 1.2rem; border: 1px solid var(--line); }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 700; margin-bottom: .6rem; }
.steps strong { display: block; margin-bottom: .2rem; }
.steps span { color: var(--muted); font-size: .92rem; }
.cta-band { display: flex; align-items: center; justify-content: space-between; gap: 2rem; background: linear-gradient(135deg, var(--brand), var(--brand-dark)); color: #fff; border-radius: 20px; padding: 2rem 2.2rem; margin: 3rem auto; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #dbe4ff; margin: 0; }

/* Page heads & items */
.page-head { background: var(--soft); padding: 2rem 0 1.8rem; border-bottom: 1px solid var(--line); }
.page-head .search-box { margin-bottom: 0; }
.crumbs { font-size: .88rem; color: var(--muted); margin-bottom: .8rem; }
.crumbs a { color: var(--muted); }
.crumbs span { margin: 0 .25rem; }
.facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: .6rem; margin: 1.2rem 0 0; }
.facts div { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: .6rem .8rem; }
.facts dt { font-size: .76rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); font-weight: 650; }
.facts dd { margin: .15rem 0 0; font-weight: 650; }
.item-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 2.5rem; padding: 2rem 0 3rem; }
.item-image { border-radius: var(--radius); margin-bottom: 1.5rem; width: 100%; object-fit: cover; }
.block { margin-bottom: 2rem; }
.block h2 { font-size: 1.3rem; padding-bottom: .4rem; border-bottom: 2px solid var(--soft); }
.prose { font-size: 1.02rem; }
.prose h2 { margin-top: 1.4em; }
.prose ul, .ticks { padding-left: 1.2rem; }
.ticks { list-style: none; padding: 0; }
.ticks li { padding-left: 1.6rem; position: relative; margin-bottom: .35rem; }
.ticks li::before { content: "✓"; position: absolute; left: 0; color: var(--brand); font-weight: 700; }
.chips { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.chips li { background: var(--soft); border: 1px solid var(--line); padding: .35rem .8rem; border-radius: 999px; font-size: .93rem; }
.path { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; counter-reset: p; }
.path li { counter-increment: p; background: var(--brand); color: #fff; padding: .55rem .9rem; border-radius: 10px; font-weight: 600; font-size: .95rem; position: relative; }
.path li::before { content: counter(p) ". "; opacity: .7; }
.join-steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: .7rem; counter-reset: j; }
.join-steps li { counter-increment: j; border: 1px solid var(--line); border-radius: 12px; padding: .8rem .9rem; background: #fff; }
.join-steps li::before { content: "Step " counter(j); display: block; font-size: .74rem; font-weight: 700; color: #8a5a00; text-transform: uppercase; }
.join-steps strong { display: block; }
.join-steps span { color: var(--muted); font-size: .9rem; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; }
table { width: 100%; border-collapse: collapse; font-size: .95rem; }
th, td { text-align: left; padding: .65rem .85rem; border-bottom: 1px solid var(--line); }
th { background: var(--soft); font-weight: 650; }
tr:last-child td { border-bottom: 0; }
.faqs details { border: 1px solid var(--line); border-radius: 12px; padding: .2rem 1rem; margin-bottom: .6rem; background: #fff; }
.faqs summary { cursor: pointer; font-weight: 650; padding: .7rem 0; }
.faqs details p { color: var(--muted); }
.updated { font-size: .85rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 1rem; }
.side-card { border: 1px solid var(--line); border-radius: 18px; padding: 1.4rem; background: #fff; box-shadow: var(--shadow); }
.side-card h2 { font-size: 1.2rem; margin-bottom: .2rem; }
.side-card > p { color: var(--muted); font-size: .93rem; }
.sticky { position: sticky; top: 90px; }
.preview-bar { background: #fff4d6; color: #5c3d00; text-align: center; padding: .5rem; font-size: .92rem; }

/* Lists */
.list-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 2rem; padding: 2rem 0 3rem; }
.filters form { position: sticky; top: 90px; background: var(--soft); border-radius: var(--radius); padding: 1.1rem; }
.clear-link { display: block; text-align: center; margin-top: .6rem; font-size: .9rem; }
.result-count { color: var(--muted); font-weight: 600; }
.pager { display: flex; gap: .4rem; margin-top: 1.5rem; flex-wrap: wrap; }
.pager a, .pager span { padding: .45rem .8rem; border: 1px solid var(--line); border-radius: 8px; text-decoration: none; }
.pager span { background: var(--brand); color: #fff; border-color: var(--brand); }
.empty { background: var(--soft); border-radius: var(--radius); padding: 2rem; text-align: center; }
.enquire-layout { display: grid; grid-template-columns: minmax(0, 520px) 1fr; gap: 3rem; padding: 2rem 0 3rem; }

/* Forms */
.field { margin-bottom: .8rem; }
.field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: .25rem; }
.field input, .field select, .field textarea { width: 100%; padding: .65rem .8rem; border: 1px solid #cdd4e1; border-radius: 10px; font: inherit; font-size: 1rem; background: #fff; color: var(--ink); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--brand); outline: 3px solid rgba(0,51,153,.15); }
.field [aria-invalid="true"] { border-color: var(--err); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; }
.field-error { display: block; color: var(--err); font-size: .85rem; margin-top: .2rem; }
.consent label { display: flex; gap: .55rem; align-items: flex-start; font-weight: 400; font-size: .82rem; color: var(--muted); }
.consent input { width: auto; margin-top: .2rem; }
.form-note { font-size: .8rem; color: var(--muted); text-align: center; margin: .6rem 0 0; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.alert { padding: .8rem 1rem; border-radius: 10px; margin: 1rem 0; }
.alert-error { background: #fef3f2; color: var(--err); border: 1px solid #fecdca; }
.alert-success { background: #ecfdf3; color: var(--ok); border: 1px solid #abefc6; }

/* Footer */
.site-footer { background: #0b1736; color: #c8d1e6; padding: 3rem 0 5rem; margin-top: 2rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; }
.footer-logo { background: #fff; border-radius: 10px; padding: .4rem .6rem; width: 140px; }
.site-footer h3 { color: #fff; font-size: 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .4rem; }
.social a { margin-right: .8rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 2rem; padding-top: 1rem; font-size: .85rem; }
.disclaimer { color: #8f9bb8; }
.mobile-bar { display: none; }

/* Responsive */
@media (max-width: 1020px) {
  .hero-grid, .item-layout, .enquire-layout { grid-template-columns: 1fr; }
  .quick-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr 1fr; }
  .sticky { position: static; }
}
@media (max-width: 860px) {
      .list-layout { grid-template-columns: 1fr; }
  .filters form { position: static; }
  .footer-grid { grid-template-columns: 1fr; }
  .join-steps { grid-template-columns: 1fr 1fr; }
  .cta-band { flex-direction: column; align-items: flex-start; }
  .mobile-bar { display: flex; position: fixed; bottom: 0; left: 0; right: 0; z-index: 60; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -4px 16px rgba(0,0,0,.08); }
  .mobile-bar a { flex: 1; text-align: center; padding: .85rem .5rem; font-weight: 700; text-decoration: none; color: var(--brand); }
  .mobile-bar a.primary { background: var(--accent); color: var(--accent-ink); }
  body { padding-bottom: 56px; }
}
@media (max-width: 560px) {
  .hero { padding: 2rem 0 2.5rem; }
  .quick-grid, .steps, .join-steps, .field-row { grid-template-columns: 1fr; }
  .search-box { border-radius: 16px; flex-wrap: wrap; }
  .search-box .btn { width: 100%; }
  .logo img { width: 104px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* Enquiry form (compact, DPDP) */
.enquiry-form .field { margin-bottom: .7rem; }
.enquiry-form .field label, .enquiry-form legend { font-size: .85rem; }
.enquiry-form .field input, .enquiry-form .field select, .enquiry-form .field textarea { padding: .58rem .75rem; font-size: .95rem; }
.opt { color: var(--muted); font-weight: 400; }
.field-help { display: block; color: var(--muted); font-size: .76rem; margin-top: .25rem; }
fieldset.who { border: 0; padding: 0; margin: 0 0 .7rem; min-width: 0; }
fieldset.who legend { font-weight: 600; padding: 0; margin-bottom: .25rem; }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: .4rem; }
.seg label { position: relative; display: block; margin: 0; font-weight: 400; }
.seg input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.seg span { display: block; text-align: center; padding: .55rem .4rem; border: 1px solid #cdd4e1; border-radius: 10px; font-size: .9rem; font-weight: 600; color: var(--ink); background: #fff; transition: .12s; }
.seg input:checked + span { border-color: var(--brand); background: rgba(0,51,153,.07); color: var(--brand); box-shadow: inset 0 0 0 1px var(--brand); }
.seg input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 1px; }
.consent-box { margin: .2rem 0 .9rem; }
.consent-box .check { display: flex; gap: .5rem; align-items: flex-start; font-size: .8rem; color: var(--muted); margin-bottom: .4rem; font-weight: 400; line-height: 1.45; }
.consent-box .check input { width: 16px; height: 16px; margin: .1rem 0 0; flex: none; accent-color: var(--brand); }
.notice { font-size: .78rem; color: var(--muted); margin-top: .3rem; }
.notice summary { cursor: pointer; color: var(--brand); font-weight: 600; list-style: none; display: inline-flex; align-items: center; gap: .3rem; }
.notice summary::-webkit-details-marker { display: none; }
.notice summary::before { content: "ⓘ"; }
.notice[open] { background: var(--soft); border: 1px solid var(--line); border-radius: 10px; padding: .6rem .75rem; }
.notice ul { padding-left: 1.05rem; margin: .45rem 0; }
.notice li { margin-bottom: .2rem; }
.consent-full { margin: .3rem 0 0; font-style: italic; }

/* ===== Header + mega menu ===== */
:root { --mega-w: min(1180px, calc(100vw - 2rem)); }
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); backdrop-filter: none; -webkit-backdrop-filter: none; }
.header-row { min-height: 76px; }
.logo img { width: 128px; }
.site-nav { display: flex; align-items: center; gap: .6rem; }
.menu { list-style: none; margin: 0; padding: 0; display: flex; gap: .3rem; }
.top-link { font: inherit; font-size: 15.5px; font-weight: 500; color: #344054; background: none; border: 0; padding: .55rem .95rem; border-radius: 999px; cursor: pointer; display: inline-flex; align-items: center; gap: .5rem; }
.top-link::after { content: ""; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); opacity: .6; transition: transform .15s; }
.has-mega.open > .top-link, .top-link:hover { background: var(--soft); color: var(--brand); }
.has-mega.open > .top-link { font-weight: 600; }
.has-mega.open > .top-link::after { transform: rotate(-135deg) translateY(-1px); }
.btn-book { background: var(--brand); color: #fff; border-radius: 999px; padding: .7rem 1.25rem; font-weight: 600; font-size: 15px; text-decoration: none; margin-left: .4rem; white-space: nowrap; }
.btn-book:hover { background: var(--brand-dark); color: #fff; }
.nav-phone { display: none; }

.mega { display: none; position: absolute; left: 0; right: 0; top: 100%; padding: 0 0 1.5rem; }
.has-mega.open > .mega { display: block; }
.mega-grid { position: relative; width: var(--mega-w); margin: 0 auto; background: #fff; border-radius: 0 0 20px 20px; box-shadow: 0 24px 48px -12px rgba(16,24,40,.22); border: 1px solid var(--line); border-top: 0; display: grid; min-height: 380px; }
.cols-counselling { grid-template-columns: 300px 1fr 290px; --c1: 300px; min-height: 500px; }
.cols-courses { grid-template-columns: 220px 260px 1fr 290px; --c1: 220px; --c2: 260px; min-height: 470px; }
.mega-col { padding: 1.3rem 0; border-right: 1px solid var(--line); }
.mega-h { font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: #667085; font-weight: 600; margin: 0 0 .7rem; padding: 0 1.4rem; display: flex; align-items: center; gap: .5rem; }
.lvl { list-style: none; margin: 0; padding: 0; }
.lvl > li { position: static; }
.lvl-link { width: 100%; text-align: left; font: inherit; font-size: 15px; color: #344054; background: none; border: 0; cursor: pointer; padding: .6rem 1.4rem; display: flex; align-items: center; justify-content: space-between; text-decoration: none; }
.lvl > li.on > .lvl-link { color: var(--brand); font-weight: 600; background: linear-gradient(90deg, var(--soft), #fff); }
.lvl > li.on > .lvl-link::after { content: ""; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-top: 1.5px solid currentColor; transform: rotate(45deg); flex: none; }
.svc { display: flex; flex-direction: column; gap: 1px; }
.svc small { font-size: 12.5px; color: #98a2b3; font-weight: 400; }
.lvl > li.on .svc small { color: #6b7fc4; }
.pane { display: none; position: absolute; top: 0; padding: 1.3rem 0; }
.lvl > li.on > .pane { display: block; }
.cols-counselling .pane-2 { left: var(--c1); width: calc(var(--mega-w) - var(--c1) - 290px); padding: 1.3rem 1.8rem; }
.cols-counselling .pane-2 .mega-h { padding: 0; }
.cols-courses .pane-2 { left: var(--c1); width: var(--c2); bottom: 0; border-right: 1px solid var(--line); }
.cols-courses .pane-3 { left: var(--c2); width: calc(var(--mega-w) - var(--c1) - var(--c2) - 290px); padding: 1.3rem 1.8rem; top: 0; }
.cols-courses .pane-3 .mega-h { padding: 0; }
.list { list-style: none; margin: 0; padding: 0; }
.list a { display: flex; justify-content: space-between; gap: 1rem; padding: .55rem 0; border-bottom: 1px solid #f2f4f7; color: var(--ink); text-decoration: none; font-size: 15px; }
.list a:hover span { color: var(--brand); }
.list small { color: #98a2b3; font-size: 12px; white-space: nowrap; }
.pill { font-size: 11px; background: #eef2ff; color: #3346a8; border-radius: 6px; padding: 2px 7px; font-weight: 600; letter-spacing: 0; text-transform: none; }
.ticks { list-style: none; padding: 0; margin: 0; }
.ticks li { padding: .5rem 0 .5rem 1.6rem; position: relative; font-size: 15px; border-bottom: 1px solid #f2f4f7; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .85rem; width: 12px; height: 7px; border-left: 2px solid #16a34a; border-bottom: 2px solid #16a34a; transform: rotate(-45deg); }
.chips { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: 1rem; }
.chip { font-size: 12.5px; padding: .3rem .7rem; border-radius: 999px; background: var(--soft); color: #344054; }
.mega-note { font-size: 12px; color: #98a2b3; margin: .8rem 0 0; }
.more { display: inline-block; margin-top: 1rem; font-size: 14px; font-weight: 600; text-decoration: none; }
.mega-promo { grid-column: -2; margin: 1.3rem; border-radius: 16px; background: linear-gradient(160deg, #0a3aa8, #00226b); color: #fff; padding: 1.4rem; display: flex; flex-direction: column; gap: .6rem; align-self: start; min-height: 300px; }
.mega-promo b { font-size: 17px; line-height: 1.3; }
.mega-promo p { margin: 0; font-size: 13.5px; color: #c9d6f7; line-height: 1.5; }
.mega-promo a { margin-top: auto; align-self: flex-start; background: var(--accent); color: #1b1300; border-radius: 999px; padding: .55rem 1rem; font-weight: 600; font-size: 14px; text-decoration: none; }

/* Mobile drawer */
@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .site-nav { display: none; position: fixed; inset: 76px 0 0 0; background: #fff; flex-direction: column; align-items: stretch; gap: 0; overflow-y: auto; padding: .5rem 0 6rem; border-top: 1px solid var(--line); }
  .site-nav.open { display: flex; }
  .menu { flex-direction: column; gap: 0; }
  .top-link { width: 100%; justify-content: space-between; border-radius: 0; padding: 1rem 1.25rem; font-size: 17px; font-weight: 600; color: var(--ink); border-bottom: 1px solid var(--line); }
  .top-link:hover { background: none; color: var(--ink); }
  .mega { position: static; padding: 0; }
  .mega-grid, .cols-counselling, .cols-courses { display: block; width: auto; min-height: 0; border: 0; box-shadow: none; border-radius: 0; background: var(--soft); }
  .mega-col { border: 0; padding: .3rem 0; }
  .mega-col > .mega-h, .mega-promo, .cols-counselling .pane-2 { display: none !important; }
  .pane { position: static; width: auto !important; padding: 0 !important; border: 0 !important; display: none; }
  .lvl > li.on > .pane { display: none; }
  .lvl > li.open > .pane { display: block; }
  .lvl-link { padding: .8rem 1.25rem; font-size: 16px; }
  .lvl > li.on > .lvl-link { background: none; color: #344054; font-weight: 400; }
  .lvl > li.on > .lvl-link::after { display: none; }
  .cols-courses .lvl-link[type=button]::after { content: "+"; font-size: 20px; color: #98a2b3; }
  .lvl > li.open > .lvl-link { color: var(--brand); font-weight: 600; }
  .lvl > li.open > .lvl-link[type=button]::after { content: "–"; }
  .pane-2 .lvl-link { padding-left: 2.2rem; }
  .pane .mega-h { display: none; }
  .pane-3 { background: #fff; }
  .list a { padding: .7rem 1.25rem .7rem 3rem; }
  .btn-book { margin: 1.2rem 1.25rem .5rem; text-align: center; padding: .9rem; }
  .nav-phone { display: block; text-align: center; padding: .6rem; font-weight: 600; text-decoration: none; }
}
.asking { display: inline-block; background: #fff4d6; color: #5c3d00; border-radius: 999px; padding: .35rem .9rem; font-size: .95rem; margin: .4rem 0 0; }
body.nav-open .mobile-bar { display: none; }

/* ===== Header polish (v2) ===== */
@font-face { font-family: "Outfit"; src: url("/assets/fonts/outfit.woff2") format("woff2"); font-weight: 300 800; font-display: swap; }
.site-header { transition: box-shadow .2s ease; }
.site-header.scrolled { box-shadow: 0 6px 24px -10px rgba(16,24,40,.18); border-bottom-color: transparent; }
.header-row { min-height: 78px; gap: 1.5rem; transition: min-height .2s ease; }
.site-header.scrolled .header-row { min-height: 66px; }
.logo img { transition: width .2s ease; }
.site-header.scrolled .logo img { width: 112px; }
.site-nav { flex: 1; }
.menu { margin-left: 1.2rem; }
.top-link { font-family: "Outfit", var(--font); font-size: 16px; font-weight: 500; color: #1d2939; padding: .7rem 1rem; border-radius: 10px; min-height: 44px; position: relative; transition: color .15s, background .15s; }
.top-link:hover, .has-mega.open > .top-link { background: transparent; color: var(--brand); }
.top-link::before { content: ""; position: absolute; left: 1rem; right: 1.6rem; bottom: 4px; height: 2px; border-radius: 2px; background: var(--brand); transform: scaleX(0); transform-origin: left; transition: transform .2s ease; }
.top-link:hover::before, .has-mega.open > .top-link::before { transform: scaleX(1); }
.nav-actions { margin-left: auto; display: flex; align-items: center; gap: .5rem; }
.icon-btn { width: 44px; height: 44px; border-radius: 12px; display: inline-grid; place-items: center; color: #344054; border: 1px solid var(--line); background: #fff; text-decoration: none; transition: border-color .15s, color .15s, background .15s; }
.icon-btn:hover { border-color: #c7d2fe; color: var(--brand); background: var(--soft); }
.icon-btn.wa { color: #128c4b; border-color: #cdeedb; background: #f2fbf6; }
.icon-btn.wa:hover { background: #e3f7eb; color: #0b6b38; }
.m-only { display: none; }
.btn-book { display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; font-family: "Outfit", var(--font); font-weight: 600; font-size: 15.5px; padding: .65rem 1.2rem; margin-left: .25rem; border-radius: 12px; box-shadow: 0 6px 16px -6px rgba(0,51,153,.55); transition: background .15s, transform .15s, box-shadow .15s; }
.btn-book:hover { transform: translateY(-1px); box-shadow: 0 10px 22px -8px rgba(0,51,153,.6); }
.btn-book:active { transform: translateY(0); }
:where(.top-link, .lvl-link, .list a, .icon-btn, .btn-book, .mega-promo a, .more):focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

/* Panel */
.mega { padding-top: 0; }
.has-mega.open > .mega { animation: megaIn .2s ease-out; }
@keyframes megaIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.mega-grid { border-radius: 0 0 22px 22px; box-shadow: 0 28px 56px -16px rgba(16,24,40,.25); }
.mega-h { font-family: "Outfit", var(--font); }
.lvl-link { gap: .75rem; justify-content: flex-start; min-height: 44px; border-radius: 0 12px 12px 0; margin-right: .6rem; width: calc(100% - .6rem); transition: background .15s, color .15s; }
.lvl-link:hover { background: var(--soft); }
.lvl-link .lbl, .lvl-link .svc { flex: 1; }
.lvl > li.on > .lvl-link { background: #eef3ff; box-shadow: inset 3px 0 0 var(--brand); }
.ico { width: 36px; height: 36px; flex: none; display: grid; place-items: center; border-radius: 10px; background: #f2f5fb; color: #475467; transition: background .15s, color .15s; }
.ico.sm { width: 32px; height: 32px; border-radius: 9px; }
.lvl > li.on > .lvl-link .ico { background: var(--brand); color: #fff; }
.svc { font-weight: 500; }
.pane-2 > .lvl .lvl-link { margin-right: .6rem; }
.list a { align-items: center; padding: .6rem .5rem; margin: 0 -.5rem; border-radius: 8px; border-bottom: 0; transition: background .15s; }
.list li + li a { box-shadow: 0 -1px 0 #f2f4f7; }
.list a:hover { background: var(--soft); }
.list .go { color: var(--brand); opacity: 0; transform: translateX(-4px); transition: opacity .15s, transform .15s; flex: none; }
.list a:hover .go { opacity: 1; transform: none; }
.list small { margin-left: auto; }
.more { display: inline-flex; align-items: center; gap: .35rem; }
.mega-promo { background: radial-gradient(120% 90% at 100% 0%, rgba(255,180,0,.22), transparent 55%), linear-gradient(160deg, #0a3aa8, #00226b); gap: .55rem; }
.promo-ico { width: 44px; height: 44px; border-radius: 12px; background: rgba(255,255,255,.14); display: grid; place-items: center; color: #ffd166; margin-bottom: .2rem; }
.mega-promo b { font-family: "Outfit", var(--font); font-size: 19px; font-weight: 600; }
.mega-promo a { display: inline-flex; align-items: center; gap: .35rem; min-height: 44px; padding: .6rem 1.1rem; }
.pill { background: #fff4d6; color: #8a5a00; }

@media (prefers-reduced-motion: reduce) {
  .has-mega.open > .mega { animation: none; }
  .site-header, .header-row, .logo img, .top-link::before, .btn-book, .list .go { transition: none; }
}

/* Mobile drawer (v2) */
@media (max-width: 960px) {
  .site-header.scrolled .header-row, .header-row { min-height: 70px; }
  .site-nav { inset: 70px 0 0 0; animation: drawerIn .2s ease-out; }
  @keyframes drawerIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
  .menu { margin-left: 0; }
  .top-link { font-family: "Outfit", var(--font); min-height: 56px; }
  .top-link::before { display: none; }
  .lvl-link { margin: 0; width: 100%; border-radius: 0; min-height: 52px; }
  .lvl > li.on > .lvl-link { background: none; box-shadow: none; }
  .lvl > li.on > .lvl-link .ico { background: #f2f5fb; color: #475467; }
  .lvl > li.open > .lvl-link .ico { background: var(--brand); color: #fff; }
  .lvl-link .lbl::after { content: none; }
  .list a { margin: 0; border-radius: 0; padding-left: 3.6rem; }
  .list .go { opacity: .5; transform: none; }
  .nav-actions { margin: 1rem 1.25rem 0; flex-direction: column; align-items: stretch; gap: .6rem; }
  .icon-btn { width: auto; justify-content: center; display: flex; gap: .5rem; height: 50px; font-weight: 600; }
  .m-only { display: inline; }
  .btn-book { justify-content: center; margin: 0; min-height: 52px; font-size: 16px; }
  .site-nav { padding-bottom: 2rem; }
  @media (prefers-reduced-motion: reduce) { .site-nav { animation: none; } }
}
.nav-toggle { width: 44px; height: 44px; border-radius: 12px; display: none; place-items: center; }
.nav-toggle span { transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 960px) { .nav-toggle { display: grid; } .nav-toggle span:not(.sr) { margin: 2.5px 0; } }
.cols-courses { grid-template-columns: 250px 300px 1fr 270px; --c1: 250px; --c2: 300px; min-height: 500px; }
.cols-courses .pane-3 { width: calc(var(--mega-w) - var(--c1) - var(--c2) - 270px); }
.cols-counselling { grid-template-columns: 320px 1fr 270px; --c1: 320px; min-height: 470px; }
.cols-counselling .pane-2 { width: calc(var(--mega-w) - var(--c1) - 270px); }
.lvl-link { padding-top: .45rem; padding-bottom: .45rem; white-space: nowrap; }
.svc small { white-space: normal; }
@media (max-width: 960px) {
  .mega-grid, .cols-counselling, .cols-courses { box-shadow: none; border-radius: 0; }
  .lvl-link { white-space: normal; }
}
.mega-promo a { white-space: nowrap; }
@media (max-width: 960px) { .mega-grid, .cols-counselling, .cols-courses { min-height: 0; } }
.cols-counselling { min-height: 440px; } @media (max-width: 960px) { .cols-counselling { min-height: 0; } }
/* panels size themselves (JS); no fixed tall minimum */
.cols-courses, .cols-counselling { min-height: 0; }
.cols-courses .pane-2 { bottom: auto; }
.cols-courses .mega-col { min-height: 100%; }

/* ===== Liquid glass (desktop) ===== */
@media (min-width: 961px) {
  .glass.site-header { background: transparent; border-bottom-color: rgba(255,255,255,.35); }
  .glass.site-header::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(255,255,255,.72);
    -webkit-backdrop-filter: blur(20px) saturate(180%); backdrop-filter: blur(20px) saturate(180%); }
  .glass .mega-grid { background: linear-gradient(180deg, rgba(255,255,255,.80), rgba(255,255,255,.66));
    -webkit-backdrop-filter: blur(28px) saturate(190%); backdrop-filter: blur(28px) saturate(190%);
    border: 1px solid rgba(255,255,255,.65); border-top-color: rgba(255,255,255,.25);
    box-shadow: 0 30px 60px -18px rgba(0,20,70,.45), inset 0 1px 0 rgba(255,255,255,.8), inset 0 -1px 0 rgba(255,255,255,.25); }
  .glass .mega-col, .glass .cols-courses .pane-2 { border-color: rgba(15,23,42,.08); }
  .glass .lvl-link:hover { background: rgba(255,255,255,.55); }
  .glass .lvl > li.on > .lvl-link { background: rgba(255,255,255,.75); box-shadow: inset 3px 0 0 var(--brand), 0 4px 14px -8px rgba(0,30,90,.35); }
  .glass .ico { background: rgba(255,255,255,.7); box-shadow: inset 0 0 0 1px rgba(15,23,42,.06); }
  .glass .list a:hover { background: rgba(255,255,255,.7); }
  .glass .list li + li a { box-shadow: 0 -1px 0 rgba(15,23,42,.06); }
  .glass .chip { background: rgba(255,255,255,.7); box-shadow: inset 0 0 0 1px rgba(15,23,42,.06); }
  .glass .mega-promo { background: radial-gradient(120% 90% at 100% 0%, rgba(255,180,0,.28), transparent 55%), linear-gradient(160deg, rgba(10,58,168,.92), rgba(0,34,107,.92));
    box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 12px 30px -12px rgba(0,20,70,.6); }
  .glass .icon-btn { background: rgba(255,255,255,.6); border-color: rgba(15,23,42,.08); }
  .glass .icon-btn.wa { background: rgba(236,250,242,.75); }
}
@media (prefers-reduced-transparency: reduce) {
  .glass .mega-grid, .glass.site-header::before { background: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; }
}
@media (min-width: 961px) {
  .glass .svc small { color: #475467; }
  .glass .lvl > li.on .svc small { color: #3346a8; }
  .glass .mega-h { color: #475467; }
  .glass .mega-note { color: #475467; }
  .glass .list small { color: #475467; }
}
