/* The Training Centre — site styles (mobile first). Tokens from docs/SPEC.md §5. */

@font-face { font-family: 'Figtree'; font-style: normal; font-weight: 300 900; font-display: swap; src: url('../fonts/figtree-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Bricolage Grotesque'; font-style: normal; font-weight: 600 800; font-stretch: 75% 100%; font-display: swap; src: url('../fonts/bricolage-grotesque-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --brand: #0A84D0;
  --tile: #008CD2;
  --action: #0567A8;
  --action-hover: #044F82;
  --navy: #06223A;
  --navy-deep: #041828;
  --ink: #0B1F33;
  --body: #3E5266;
  --muted: #4A5D70;
  --subtle: #5B6F82;
  --surface: #FFFFFF;
  --tint: #F4F8FC;
  --chip: #F1F5F9;
  --line: #E3EAF1;
  --red: #C62A2F;
  --amber: #F2A007;
  --green: #5BA829;
  --plum: #A3247B;
  --signal: linear-gradient(90deg, var(--red), var(--amber), var(--green), var(--plum));
  --ease: cubic-bezier(.2, .8, .2, 1);
  --spring: cubic-bezier(.2, .9, .25, 1.25);
  --radius: 20px;
  --font: 'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-display: 'Bricolage Grotesque', 'Figtree', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--surface); line-height: 1.5; -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; }
a { color: var(--action); }
a:hover { color: #033F69; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 6px; }
@view-transition { navigation: auto; }

.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding-inline: 20px; }
.display { font-family: var(--font-display); font-variation-settings: 'wdth' 92; letter-spacing: -0.02em; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 12px 18px; border-radius: 12px; background: var(--navy); color: #fff; font-weight: 600; text-decoration: none; transition: top .2s var(--ease); }
.skip-link:focus { top: 12px; color: #fff; }
.stack-sm, .stack-md, .stack-lg { display: flex; flex-direction: column; }
.stack-sm { gap: 12px; }
.stack-md { gap: 18px; }
.stack-lg { gap: 32px; }
.stack-sm > *, .stack-md > *, .stack-lg > * { margin-block: 0; }
.h1 { margin: 0; font-size: 44px; line-height: 1.02; font-weight: 750; }
.h2 { margin: 0; font-size: 32px; line-height: 1.08; font-weight: 720; }
.eyebrow { margin: 0; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--action); }
.eyebrow--light { color: #7CC4F2; }
.section-lead { margin: 0; font-size: 17px; line-height: 1.6; color: var(--muted); max-width: 640px; }
.icon { flex: none; }

/* ── Buttons ─────────────────────────────────────── */
.btn { position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: 999px; border: 0; font: 600 16px/1 var(--font); text-decoration: none; white-space: nowrap; cursor: pointer; transition: transform .25s var(--ease), box-shadow .25s ease, background-color .25s ease, color .25s ease; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.97); }
.btn-sm { min-height: 44px; }
.btn-lg { min-height: 52px; padding: 0 20px; }
.btn-primary { background: var(--action); color: #fff; box-shadow: 0 10px 24px -14px rgba(5, 103, 168, .9); }
.btn-primary:hover { background: var(--action-hover); color: #fff; box-shadow: 0 16px 30px -14px rgba(5, 103, 168, .95); }
.btn-primary::after { content: ''; position: absolute; top: 0; left: -70%; width: 45%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .38), transparent); transform: skewX(-20deg); transition: left .7s var(--ease); }
.btn-primary:hover::after { left: 130%; }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px #C9D6E3; }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--action); color: var(--action); }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: #E8F3FB; color: var(--navy); }
.btn-brand { background: var(--brand); color: #fff; }
.btn-brand:hover { background: #0B76BA; color: #fff; }
.btn-outline-light { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .7); }
.btn-outline-light:hover { color: #fff; box-shadow: inset 0 0 0 1.5px #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; }
.arr { transition: transform .3s var(--ease); }
a:hover .arr, .btn:hover .arr { transform: translateX(4px); }
.icon-btn { width: 48px; height: 48px; border-radius: 999px; border: 0; display: inline-flex; align-items: center; justify-content: center; background: var(--navy); color: #fff; cursor: pointer; transition: transform .2s var(--ease); }
.icon-btn:active { transform: scale(.94); }
.icon-btn--light { background: #EAF4FB; color: var(--action); }
.chip { display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border-radius: 999px; background: #fff; box-shadow: 0 0 0 1px #DCE6EF; color: var(--ink); font-size: 14px; font-weight: 500; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease, color .2s ease; }
.chip:hover { transform: translateY(-2px); box-shadow: 0 0 0 1.5px var(--action), 0 8px 18px -12px rgba(5, 103, 168, .8); color: #033F69; }
.live { position: relative; display: inline-block; width: 8px; height: 8px; border-radius: 999px; background: #3E9E1B; flex: none; }
.live--bright { background: #9BE07A; }

/* ── Utility bar & header ─────────────────────────── */
.utility { background: var(--navy); color: #CFE0EE; font-size: 13px; }
.utility-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.utility-note { display: inline-flex; align-items: center; gap: 8px; }
.utility-phone { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-weight: 600; text-decoration: none; }
.utility-phone:hover { color: #fff; }

.hdr { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .9); -webkit-backdrop-filter: saturate(170%) blur(16px); backdrop-filter: saturate(170%) blur(16px); box-shadow: 0 1px 0 var(--line); }
.hdr-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; }
.hdr-logo { display: flex; align-items: center; padding: 6px 0; }
.hdr-logo .logo-svg { display: block; width: auto; height: 42px; overflow: visible; }
.hdr-actions, .nav { display: none; }
.hdr-mobile { display: flex; align-items: center; gap: 8px; }
.icon-open { display: inline-flex; }
.icon-close { display: none; }
[data-menu-toggle][aria-expanded="true"] .icon-open { display: none; }
[data-menu-toggle][aria-expanded="true"] .icon-close { display: inline-flex; }
.progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: var(--signal); transform: scaleX(0); transform-origin: left; pointer-events: none; }

.nav-list { display: flex; align-items: center; gap: 14px; margin: 0; padding: 0; list-style: none; }
.navlink { position: relative; display: inline-flex; align-items: center; gap: 4px; padding: 10px 4px; border: 0; background: none; color: var(--ink); font: 600 15px/1 var(--font); text-decoration: none; cursor: pointer; transition: color .2s ease; }
.navlink::after { content: ''; position: absolute; left: 4px; right: 4px; bottom: 2px; height: 2px; border-radius: 2px; background: var(--signal); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.navlink:hover, .navlink[aria-expanded="true"] { color: var(--action); }
.navlink:hover::after, .navlink[aria-expanded="true"]::after { transform: scaleX(1); transform-origin: left; }
.nav-caret { transition: transform .3s var(--ease); }
.navlink[aria-expanded="true"] .nav-caret { transform: rotate(180deg); }

.mega, .dropdown { position: absolute; top: 100%; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .25s ease, transform .35s var(--ease), visibility 0s linear .35s; }
.nav-item.is-open .mega, .nav-item.is-open .dropdown { opacity: 1; visibility: visible; transform: none; transition: opacity .25s ease, transform .35s var(--ease); }
.mega { left: 0; right: 0; background: #fff; box-shadow: 0 1px 0 var(--line), 0 30px 60px -30px rgba(6, 34, 58, .35); }
.mega-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 28px 32px; padding-top: 28px; padding-bottom: 32px; }
.mega-title { display: flex; align-items: center; gap: 10px; margin: 0 0 10px; font: 700 15px/1.2 var(--font); color: var(--ink); }
.mega ul, .dropdown ul { margin: 0; padding: 0; list-style: none; }
.mega li a { display: block; padding: 5px 0; color: var(--muted); font-size: 14.5px; text-decoration: none; transition: color .2s ease, transform .2s var(--ease); }
.mega li a:hover { color: var(--action); transform: translateX(3px); }
.nav-item--small { position: relative; }
.dropdown { left: -12px; min-width: 240px; padding: 10px; border-radius: 16px; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 24px 48px -24px rgba(6, 34, 58, .35); }
.dropdown--cols { min-width: 380px; }
.dropdown--cols ul { columns: 2; column-gap: 8px; }
.dropdown a { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 10px; color: var(--ink); font-size: 15px; text-decoration: none; break-inside: avoid; transition: background-color .2s ease, color .2s ease; }
.dropdown a:hover { background: var(--tint); color: var(--action); }

.mnav { border-top: 1px solid var(--line); background: #fff; max-height: calc(100vh - 116px); overflow-y: auto; overscroll-behavior: contain; }
.mnav-inner { padding-top: 6px; padding-bottom: 20px; }
.mnav-group { border-bottom: 1px solid #EEF2F6; }
.mnav-group summary { display: flex; align-items: center; justify-content: space-between; min-height: 58px; font-size: 18px; font-weight: 600; cursor: pointer; list-style: none; }
.mnav-group summary::-webkit-details-marker { display: none; }
.mnav-group summary .icon { color: #8496A8; transition: transform .3s var(--ease); }
.mnav-group[open] summary .icon { transform: rotate(180deg); }
.mnav-cat { margin: 10px 0 4px; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--subtle); }
.mnav-links { margin: 0 0 12px; padding: 0; list-style: none; }
.mnav-links a { display: flex; align-items: center; min-height: 44px; color: var(--ink); font-size: 16px; text-decoration: none; }
.mnav-actions { display: flex; gap: 10px; margin-top: 18px; }
.mnav-actions .btn { flex: 1 1 0; }

/* ── Hero ─────────────────────────────────────────── */
.hero { position: relative; overflow: hidden; background: var(--tint); }
.hero-rings { position: absolute; right: -300px; top: -220px; width: 900px; height: 900px; opacity: .6; pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; padding-top: 40px; padding-bottom: 56px; }
.hero-copy { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.badge { display: inline-flex; align-self: flex-start; align-items: center; gap: 10px; margin: 0; padding: 6px 14px 6px 6px; border-radius: 999px; background: #fff; box-shadow: 0 0 0 1px #DCE6EF; font-size: 14px; font-weight: 600; }
.badge-tag { display: inline-flex; align-items: center; min-height: 26px; padding: 0 10px; border-radius: 999px; background: var(--action); color: #fff; font-size: 12px; letter-spacing: .04em; text-transform: uppercase; }
.lead { margin: 0; max-width: 560px; font-size: 19px; line-height: 1.55; color: var(--body); }
.uline-wrap { position: relative; display: inline-block; color: var(--action); }
.uline { position: absolute; left: 2%; right: 4%; bottom: .02em; height: .09em; border-radius: 99px; background: var(--signal); transform-origin: left; }
.search { display: flex; flex-direction: column; gap: 10px; max-width: 600px; }
.search label { font-size: 14px; font-weight: 600; }
.search-box { display: flex; align-items: center; gap: 8px; padding: 6px 6px 6px 18px; border-radius: 999px; background: #fff; box-shadow: 0 0 0 1.5px #CFDCE8, 0 20px 40px -28px rgba(6, 34, 58, .45); transition: box-shadow .25s ease; }
.search-box:focus-within { box-shadow: 0 0 0 2px var(--action), 0 24px 44px -26px rgba(5, 103, 168, .55); }
.search-icon { color: var(--subtle); }
.search-box input { flex: 1 1 auto; min-width: 0; height: 48px; border: 0; outline: none; background: transparent; font: 16px var(--font); color: var(--ink); }
.search-box .btn { padding: 0 20px; }
.popular { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 4px; }
.popular > span { margin-right: 2px; font-size: 14px; color: var(--subtle); }

.hero-visual { position: relative; display: flex; align-items: center; min-height: 320px; }
.hero-signal { position: absolute; right: -10px; bottom: -10px; width: 420px; height: auto; overflow: visible; }
.ripple { fill: none; stroke: var(--brand); stroke-width: 2; opacity: 0; }
.hero-dot { fill: var(--brand); }
.hcards { position: relative; display: flex; flex-direction: column; gap: 12px; width: 100%; max-width: 390px; margin: 0; padding: 0; list-style: none; }
.hcard-offset { margin-left: 36px; }
.hcard { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 18px; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 24px 48px -28px rgba(6, 34, 58, .45); color: var(--ink); text-decoration: none; transition: transform .45s var(--ease), box-shadow .35s ease; }
.hcard:hover { color: var(--ink); transform: translateY(-6px) rotate(-1.2deg) scale(1.02); box-shadow: 0 0 0 1.5px var(--action), 0 30px 60px -28px rgba(6, 34, 58, .55); }
.hcard-icon { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; flex: none; border-radius: 12px; transition: transform .45s cubic-bezier(.2, .8, .2, 1.4); }
.hcard:hover .hcard-icon { transform: rotate(-8deg) scale(1.08); }
.hcard-text { display: flex; flex-direction: column; gap: 2px; }
.hcard-text strong { display: inline-flex; align-items: center; gap: 8px; font-size: 16px; }
.hcard-text span { font-size: 14px; color: var(--subtle); }

/* ── Proof strip ──────────────────────────────────── */
.proof { box-shadow: 0 1px 0 var(--line); }
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-block: 0; padding-block: 28px; list-style: none; }
.stat { display: flex; flex-direction: column; gap: 4px; min-width: 0; padding: 16px; border-radius: 16px; background: #F7FAFD; }
.stat-num { font-size: clamp(22px, 6.2vw, 34px); white-space: nowrap; font-weight: 750; color: var(--navy); }
.stat-label { font-size: 14px; line-height: 1.4; color: var(--muted); }

/* ── Sections ─────────────────────────────────────── */
.section { padding-block: 72px; }
.section--tint { background: var(--tint); }
.section--dark { background: var(--navy); color: #fff; }
.section--dark .h2 { color: #fff; }
.section-head--split { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; }

.tabs { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: var(--chip); }
.tab { min-height: 44px; padding: 0 18px; border: 0; border-radius: 999px; background: transparent; color: var(--muted); font: 600 15px/1 var(--font); cursor: pointer; transition: background-color .25s ease, color .25s ease, box-shadow .25s ease; }
.tab[aria-selected="true"] { background: #fff; color: var(--navy); box-shadow: 0 1px 2px rgba(6, 34, 58, .12), 0 0 0 1px #DCE6EF; }

.cats { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; margin: 0; padding: 0; list-style: none; }
.cat-card { display: flex; flex-direction: column; gap: 14px; height: 100%; padding: 22px; border-radius: var(--radius); background: #fff; box-shadow: 0 0 0 1px var(--line); transition: box-shadow .3s ease, transform .35s var(--ease); }
.cat-card:hover { transform: translateY(-4px); box-shadow: 0 0 0 1.5px var(--action), 0 24px 48px -28px rgba(6, 34, 58, .45); }
.cat-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.cat-name { display: flex; align-items: center; gap: 12px; margin: 0; font-size: 22px; font-weight: 700; }
.cat-dot { display: inline-block; width: 12px; height: 12px; flex: none; border-radius: 999px; transition: transform .35s var(--ease); }
.cat-card:hover .cat-dot { transform: scale(1.5); }
.cat-count { padding: 4px 10px; border-radius: 999px; background: var(--chip); font-size: 13px; font-weight: 600; color: var(--muted); white-space: nowrap; }
.cat-courses { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.cat-courses a { display: inline-flex; align-items: center; min-height: 34px; padding: 0 10px; border-radius: 8px; background: #F6F9FC; color: #24384B; font-size: 14px; text-decoration: none; transition: background-color .2s ease, color .2s ease; }
.cat-courses a:hover { background: #E1EEF8; color: #033F69; }
.cat-more { margin-top: auto; }
.cat-more summary, .cat-link { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; color: var(--action); font-size: 15px; font-weight: 600; text-decoration: none; cursor: pointer; list-style: none; }
.cat-more summary::-webkit-details-marker { display: none; }
.cat-more .arr-down { transition: transform .3s var(--ease); }
.cat-more[open] .arr-down { transform: rotate(180deg); }
.cat-more[open] summary { margin-bottom: 8px; }
.cat-link { margin-top: auto; }

.options { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; margin: 0; padding: 0; list-style: none; }
.opt { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 24px; border-radius: var(--radius); background: #fff; box-shadow: 0 0 0 1px var(--line); color: var(--ink); text-decoration: none; transition: transform .35s var(--ease), box-shadow .3s ease; }
.opt:hover { color: var(--ink); transform: translateY(-4px); box-shadow: 0 0 0 1.5px var(--action), 0 24px 48px -28px rgba(6, 34, 58, .45); }
.opt p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--muted); }
.opt-bar { width: 4px; height: 36px; border-radius: 4px; transition: width .45s var(--ease), height .45s var(--ease); }
.opt:hover .opt-bar { width: 40px; height: 4px; }
.opt-title { margin: 0; font-size: 22px; font-weight: 700; }
.opt-title--sm { font-size: 19px; }
.opt-cta { display: flex; align-items: center; gap: 6px; margin-top: auto; font-weight: 600; color: var(--action); }
.opt--soft { gap: 8px; padding: 20px; background: var(--tint); box-shadow: none; }
.opt--soft p { font-size: 14px; }

.story { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; }
.story-text { margin: 0; font-size: 17px; line-height: 1.7; color: var(--body); }
.quote { position: relative; overflow: hidden; margin: 0; padding: 32px; border-radius: 24px; background: var(--navy); color: #fff; }
.quote-arcs { position: absolute; right: -40px; bottom: -40px; width: 200px; height: 200px; opacity: .9; }
.quote-mark { color: var(--amber); }
.quote blockquote { position: relative; max-width: 460px; margin: 16px 0 0; font-size: 24px; line-height: 1.35; font-weight: 600; }
.quote figcaption { position: relative; margin-top: 20px; font-size: 14px; color: #B9C9D8; }
.mini-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }

.cities { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; margin: 0; padding: 0; list-style: none; }
.city { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; padding: 0 18px; border-radius: 14px; background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); color: #fff; font-size: 15px; font-weight: 500; text-decoration: none; transition: background-color .25s ease, transform .3s var(--ease); }
a.city:hover { color: #fff; background: rgba(255, 255, 255, .12); transform: translateX(4px); }
.city .icon { color: #7CC4F2; }

.cta { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 20px; padding: 40px 28px; border-radius: 28px; background: var(--brand); color: #fff; }
.cta .h2 { position: relative; max-width: 760px; color: #fff; }
.cta .btn-row { position: relative; }
.cta-arcs { position: absolute; right: -60px; top: -60px; width: 340px; height: 340px; opacity: .25; }

/* ── Footer & mobile bar ─────────────────────────── */
.footer { background: var(--navy-deep); color: #B9C9D8; }
.footer-inner { display: flex; flex-direction: column; gap: 48px; padding-top: 64px; padding-bottom: 32px; }
.foot { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 20px; }
.foot nav { display: flex; flex-direction: column; gap: 12px; }
.foot a { color: #B9C9D8; font-size: 15px; text-decoration: none; transition: color .2s ease; }
.foot a:hover { color: #fff; }
.foot-brand { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 16px; max-width: 360px; }
.foot-brand img { width: 184px; height: auto; }
.foot-brand p { margin: 0; font-size: 15px; line-height: 1.6; }
.foot .foot-phone { color: #fff; font-size: 18px; font-weight: 600; }
.foot-title { margin: 0; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: #fff; }
.foot-base { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 14px; }
.foot-base a { color: #B9C9D8; text-decoration: none; }
.foot-base a:hover { color: #fff; }
.mbar { position: sticky; bottom: 0; z-index: 40; display: flex; gap: 10px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .96); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 -1px 0 var(--line), 0 -12px 28px -18px rgba(6, 34, 58, .35); }
.mbar .btn-ghost { flex: 1 1 0; }
.mbar .btn-primary { flex: 2 1 0; }

/* ── Responsive ───────────────────────────────────── */
@media (min-width: 640px) {
  .wrap { padding-inline: 32px; }
  .h1 { font-size: 58px; }
  .h2 { font-size: 40px; }
  .cats, .options, .cities { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1080px) {
  .wrap { padding-inline: 40px; }
  .nav, .hdr-actions { display: flex; align-items: center; gap: 10px; }
  .hdr-mobile, .mnav, .mbar { display: none; }
  .hdr-row { min-height: 80px; }
  .hdr-logo .logo-svg { height: 48px; }
  .hero-grid { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 56px; align-items: center; }
  .hero-visual { min-height: 480px; }
  .h1 { font-size: 76px; }
  .h2 { font-size: 48px; }
  .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
  .cats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
  .options { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
  .story { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: start; }
  .cities { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .foot { grid-template-columns: 1.4fr repeat(4, minmax(0, 1fr)); gap: 40px; }
  .foot-brand { grid-column: auto; }
  .section { padding-block: 88px; }
}
@media (min-width: 1080px) and (max-width: 1239px) {
  .nav-list { gap: 6px; }
  .navlink { font-size: 14px; }
  .hdr-actions .btn-ghost { display: none; }
}

/* ── Motion ───────────────────────────────────────── */
@keyframes mmcArcIn { from { opacity: 0; transform: scale(.35); } to { opacity: 1; transform: scale(1); } }
@keyframes mmcArcHover { from { opacity: .2; transform: scale(.6); } to { opacity: 1; transform: scale(1); } }
@keyframes mmcPulse { 0%, 72%, 100% { opacity: 1; } 82% { opacity: .35; } }
@keyframes mmcDotIn { 0% { opacity: 0; transform: scale(0); } 65% { opacity: 1; transform: scale(1.25); } 100% { transform: scale(1); } }
@keyframes mmcWordIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes wordIn { from { opacity: 0; transform: translateY(.5em) rotate(3deg); filter: blur(10px); } to { opacity: 1; transform: none; filter: blur(0); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes drawLine { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes cardIn { 0% { opacity: 0; transform: translateY(48px) scale(.9) rotate(-4deg); } 60% { opacity: 1; transform: translateY(-8px) scale(1.02) rotate(.6deg); } 100% { opacity: 1; transform: none; } }
@keyframes floatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes arcGlow { 0%, 70%, 100% { opacity: 1; } 80% { opacity: .4; } }
@keyframes ripple { from { transform: scale(1); opacity: .55; } to { transform: scale(7); opacity: 0; } }
@keyframes dotBreath { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.12); } }
@keyframes ping { from { transform: scale(1); opacity: .7; } to { transform: scale(3); opacity: 0; } }
@keyframes popIn { from { opacity: 0; transform: translateY(22px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes revealUp { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }
@keyframes menuIn { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }
@keyframes grow { to { transform: scaleX(1); } }
@keyframes hdrShadow { to { box-shadow: 0 1px 0 var(--line), 0 14px 34px -18px rgba(6, 34, 58, .35); } }
@keyframes logoShrink { to { transform: scale(.84); } }
@property --n { syntax: '<integer>'; inherits: false; initial-value: 0; }
@keyframes countUp { from { --n: 0; } }
.count { counter-reset: n var(--n); }
.count::after { content: counter(n); }

@media (prefers-reduced-motion: no-preference) {
  /* Logo: dot pops, arcs broadcast out from it, idle signal pulse; replay on hover */
  .hdr-logo .ttc-arc { transform-box: view-box; transform-origin: 64px 94px; animation: mmcArcIn .7s var(--spring) backwards, mmcPulse 4.5s ease-in-out infinite; }
  .hdr-logo .ttc-arc-1 { animation-delay: .35s, 2.2s; }
  .hdr-logo .ttc-arc-2 { animation-delay: .5s, 2.4s; }
  .hdr-logo .ttc-arc-3 { animation-delay: .65s, 2.6s; }
  .hdr-logo .ttc-dot { transform-box: view-box; transform-origin: 64px 94px; animation: mmcDotIn .6s cubic-bezier(.2, .9, .25, 1.3) .15s backwards; }
  .hdr-logo .ttc-word { animation: mmcWordIn .6s var(--ease) .1s backwards; }
  .hdr-logo:hover .ttc-arc { animation: mmcArcHover .55s var(--spring) backwards; }
  .hdr-logo:hover .ttc-arc-2 { animation-delay: .08s; }
  .hdr-logo:hover .ttc-arc-3 { animation-delay: .16s; }

  /* Hero */
  .w { display: inline-block; animation: wordIn .9s var(--ease) backwards; animation-delay: var(--d); }
  .uline { animation: drawLine .9s cubic-bezier(.65, 0, .35, 1) 1.25s backwards; }
  .rise { animation: fadeUp .8s var(--ease) backwards; animation-delay: var(--d); }
  .hcard { animation: cardIn 1s var(--ease) backwards; animation-delay: var(--d); }
  .float { animation: floatY 6s ease-in-out infinite; animation-delay: var(--fd); }
  .draw { stroke-dasharray: 1; animation: draw 1.3s cubic-bezier(.65, 0, .35, 1) backwards, arcGlow 4.5s ease-in-out infinite; animation-delay: var(--d), calc(var(--d) + 2s); }
  .ripple { transform-box: view-box; transform-origin: 390px 390px; animation: ripple 3.6s cubic-bezier(.2, .6, .3, 1) infinite; animation-delay: var(--d); }
  .hero-dot { transform-box: view-box; transform-origin: 390px 390px; animation: dotBreath 3.6s ease-in-out infinite; }
  .live::after { content: ''; position: absolute; inset: 0; border-radius: 999px; background: inherit; animation: ping 1.8s cubic-bezier(0, 0, .2, 1) infinite; }
  .count { animation: countUp 2.2s var(--ease) backwards; animation-delay: var(--d); }
  .pop { animation: popIn .6s var(--ease) backwards; animation-delay: var(--d); }
  .mnav:not([hidden]) .mnav-group, .mnav:not([hidden]) .mnav-actions { animation: menuIn .45s var(--ease) backwards; animation-delay: var(--d); }

  /* Scroll-driven where supported; site.js adds an IntersectionObserver fallback (.io) */
  @supports (animation-timeline: view()) {
    .progress { animation: grow linear both; animation-timeline: scroll(root); }
    .hdr { animation: hdrShadow linear both; animation-timeline: scroll(root); animation-range: 0 140px; }
    .hdr-logo { transform-origin: left center; animation: logoShrink linear both; animation-timeline: scroll(root); animation-range: 0 140px; }
  }

  ::view-transition-old(root) { animation: .25s ease both fade reverse; }
  ::view-transition-new(root) { animation: .35s var(--ease) both fadeUp; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}

/* ── Experience layer: intro, reveals, parallax, ticker, smart header ── */

/* Branded intro (first page of a visit; see inline script in head.php) */
.intro { display: none; }
.intro-on .intro { position: fixed; inset: 0; z-index: 200; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 28px; background: radial-gradient(120% 90% at 50% 40%, #0A2E4C 0%, var(--navy) 55%, var(--navy-deep) 100%); clip-path: inset(0 0 0 0); }
.intro-mark { width: min(220px, 52vw); height: auto; overflow: visible; }
.intro-arc { stroke-dasharray: 1; stroke-dashoffset: 1; }
.intro-dot { transform-box: fill-box; transform-origin: center; transform: scale(0); }
.intro-bar { width: 120px; height: 3px; border-radius: 3px; background: var(--signal); transform: scaleX(0); transform-origin: left; }
.intro-on .intro-dot { animation: introDot .5s cubic-bezier(.2, .9, .25, 1.4) .05s forwards; }
.intro-on .intro-arc { animation: introArc .55s cubic-bezier(.65, 0, .35, 1) forwards; }
.intro-on .intro-arc-3 { animation-delay: .25s; }
.intro-on .intro-arc-2 { animation-delay: .4s; }
.intro-on .intro-arc-1 { animation-delay: .55s; }
.intro-on .intro-bar { animation: introBar .95s cubic-bezier(.65, 0, .35, 1) .05s forwards; }
.intro-leave .intro { animation: introLift .8s cubic-bezier(.76, 0, .24, 1) forwards; }
.intro-leave .intro-mark { animation: introMarkOut .6s cubic-bezier(.76, 0, .24, 1) forwards; }
@keyframes introDot { to { transform: scale(1); } }
@keyframes introArc { to { stroke-dashoffset: 0; } }
@keyframes introBar { to { transform: scaleX(1); } }
@keyframes introLift { to { clip-path: inset(0 0 100% 0); } }
@keyframes introMarkOut { to { transform: translateY(-40px) scale(.92); opacity: 0; } }
.intro-on body { overflow: hidden; }
/* Hold the page's entrance animations until the curtain lifts */
.intro-playing .hdr *, .intro-playing .hero *, .intro-playing .proof * { animation-play-state: paused !important; }

/* Reveal system (JS adds .js-motion; without JS or with reduced motion everything is simply visible) */
.js-motion .reveal { opacity: 0; transform: translateY(44px); transition: opacity .9s var(--ease), transform 1s var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
.js-motion .reveal.in { opacity: 1; transform: none; }
.js-motion .reveal-scale { opacity: 0; transform: translateY(40px) scale(.94); transition: opacity .9s var(--ease), transform 1.1s var(--ease); }
.js-motion .reveal-scale.in { opacity: 1; transform: none; }

/* Headings: words rise from behind a mask */
.split-word { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.split-inner { display: inline-block; }
.js-motion .split .split-inner { transform: translateY(105%); transition: transform .9s var(--ease); transition-delay: calc(var(--w, 0) * 45ms); }
.js-motion .split.in .split-inner { transform: none; }

/* Counters wait until the stats are in view */
.js-motion .proof:not(.in) .count, .js-motion .proof:not(.in) .pop { animation-play-state: paused; }

/* Parallax targets */
[data-speed], [data-hero-copy] { will-change: transform; }

/* Course ticker */
.ticker { position: relative; overflow: hidden; padding-block: 26px; background: #fff; border-bottom: 1px solid var(--line); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.ticker-row { display: flex; width: max-content; gap: 14px; will-change: transform; }
.ticker-row + .ticker-row { margin-top: 12px; }
.ticker-item { display: inline-flex; align-items: center; gap: 12px; padding: 10px 20px; border-radius: 999px; background: var(--tint); font-family: var(--font-display); font-variation-settings: 'wdth' 92; font-size: 20px; font-weight: 650; letter-spacing: -.01em; color: var(--navy); white-space: nowrap; }
.ticker-item i { width: 8px; height: 8px; border-radius: 999px; background: var(--c, var(--brand)); }
.ticker-row--alt .ticker-item { background: transparent; box-shadow: inset 0 0 0 1.5px var(--line); color: var(--muted); }
@media (min-width: 1080px) { .ticker-item { font-size: 26px; padding: 12px 26px; } }

/* Smart header: hides on scroll down, returns on scroll up */
.hdr { transition: transform .45s var(--ease), box-shadow .3s ease; }
.hdr.is-hidden { transform: translateY(-100%); }
.hdr.is-compact .hdr-row { min-height: 64px; }
.hdr-row { transition: min-height .35s var(--ease); }

/* Back to top with scroll progress ring */
.to-top { position: fixed; right: 16px; bottom: calc(84px + env(safe-area-inset-bottom)); z-index: 45; width: 52px; height: 52px; border: 0; border-radius: 999px; display: grid; place-items: center; background: #fff; color: var(--navy); box-shadow: 0 0 0 1px var(--line), 0 16px 32px -16px rgba(6, 34, 58, .45); cursor: pointer; opacity: 0; transform: translateY(16px) scale(.9); pointer-events: none; transition: opacity .35s ease, transform .45s var(--spring); }
.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { transform: translateY(-3px); }
.to-top svg.ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.to-top .ring-track { fill: none; stroke: #E3EAF1; stroke-width: 3; }
.to-top .ring-fill { fill: none; stroke: url(#ring-grad); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
@media (min-width: 1080px) { .to-top { right: 28px; bottom: 28px; } }

/* Magnetic buttons (transform set by JS) */
.magnetic { transition: transform .35s var(--ease); }

/* Smooth scrolling (Lenis) */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
  .intro { display: none !important; }
  .ticker-row { transform: none !important; flex-wrap: wrap; width: auto; }
}

/* ══ Course pages ═════════════════════════════════════════════════════ */
:root { --hdr-h: 76px; }
@media (min-width: 1080px) { :root { --hdr-h: 80px; } }

.link-btn { display: inline-flex; align-items: center; gap: 6px; padding: 6px 2px; border: 0; background: none; color: var(--action); font: 600 15px/1.2 var(--font); text-decoration: none; cursor: pointer; }
.link-btn:hover { color: #033F69; text-decoration: underline; text-underline-offset: 3px; }
.link-btn[hidden] { display: none; }

/* Hero */
.chero { position: relative; overflow: hidden; background: var(--tint); }
.chero .hero-rings { right: -360px; top: -260px; }
.chero-glow { position: absolute; right: -10%; top: -20%; width: 620px; height: 620px; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 22%, transparent), transparent); filter: blur(20px); pointer-events: none; }
.crumbs { position: relative; padding-top: 22px; font-size: 14px; }
.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0; padding: 0; list-style: none; color: var(--subtle); }
.crumbs li + li::before { content: ''; display: inline-block; width: 6px; height: 6px; margin-right: 8px; border-top: 1.5px solid #9AAABB; border-right: 1.5px solid #9AAABB; transform: rotate(45deg) translateY(-1px); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--action); }
.crumbs [aria-current] { color: var(--ink); font-weight: 600; }
.chero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; padding-top: 24px; padding-bottom: 48px; }
.chero-copy { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.chero-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.tag { display: inline-flex; align-items: center; gap: 8px; min-height: 32px; padding: 0 12px; border-radius: 999px; background: #fff; box-shadow: 0 0 0 1px #DCE6EF; font-size: 13.5px; font-weight: 600; color: var(--ink); }
.tag .cat-dot { width: 9px; height: 9px; }
.tag--soft { background: transparent; box-shadow: inset 0 0 0 1px #CFDCE8; color: var(--muted); }
.tag .icon { color: var(--amber); }
.chero-title { font-size: clamp(38px, 9vw, 54px); text-wrap: balance; }
.chero .lead { font-size: 18px; }
.facts { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; margin: 0; padding: 0; list-style: none; }
.facts li { display: flex; align-items: center; gap: 12px; font-size: 15px; color: var(--muted); }
.facts .icon { flex: none; width: 36px; height: 36px; padding: 9px; border-radius: 11px; background: #fff; color: var(--action); box-shadow: 0 0 0 1px var(--line); }
.facts strong { color: var(--ink); font-weight: 650; }

.chero-visual { position: relative; display: flex; align-items: flex-end; min-width: 0; }
.ctile { display: none; }
.next-wrap { position: relative; width: 100%; }
.next-card { position: relative; display: flex; flex-direction: column; gap: 16px; padding: 20px; border-radius: 22px; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 30px 60px -32px rgba(6, 34, 58, .5); }
.next-eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0; font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--subtle); }
.next-eyebrow .icon { color: var(--action); }
.next-main { display: flex; align-items: center; gap: 16px; }
.next-info { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.next-info p { display: flex; align-items: center; gap: 7px; margin: 0; font-size: 14.5px; color: var(--muted); }
.next-info .icon { color: var(--subtle); }
.next-title { margin: 0 0 2px; font: 700 18px/1.25 var(--font); color: var(--ink); }
.next-text { margin: 0; font-size: 15px; line-height: 1.55; color: var(--muted); }
.next-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding-top: 16px; border-top: 1px dashed #D5E0EA; }
.price { display: flex; flex-direction: column; }
.price-label { font-size: 12.5px; color: var(--subtle); }
.price-num { font-size: 28px; font-weight: 750; color: var(--navy); line-height: 1.1; }
.next-more { display: inline-flex; align-items: center; gap: 6px; font-size: 14.5px; font-weight: 600; text-decoration: none; }

/* Date tile */
.dtile { display: flex; flex: none; flex-direction: column; align-items: center; justify-content: center; width: 68px; padding: 8px 0 9px; border-radius: 16px; background: linear-gradient(160deg, #0B3557, var(--navy)); color: #fff; box-shadow: 0 12px 24px -14px rgba(6, 34, 58, .8); line-height: 1; }
.dtile-m { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--amber); }
.dtile-d { margin: 3px 0 4px; font-size: 30px; font-weight: 750; }
.dtile-w { font-size: 11px; color: #B9C9D8; }
.dtile--sm { width: 58px; padding: 7px 0 8px; border-radius: 14px; }
.dtile--sm .dtile-d { font-size: 24px; }

/* Sticky in-page nav */
.cnav { position: sticky; top: var(--hdr-h); z-index: 40; background: rgba(255, 255, 255, .92); -webkit-backdrop-filter: saturate(170%) blur(14px); backdrop-filter: saturate(170%) blur(14px); box-shadow: 0 1px 0 var(--line); transition: top .45s var(--ease); }
.cnav-row { display: flex; align-items: center; gap: 16px; min-height: 58px; }
.cnav-list { display: flex; flex: 1 1 auto; gap: 4px; min-width: 0; margin: 0 -20px; padding: 0 20px; overflow-x: auto; list-style: none; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent); mask-image: linear-gradient(90deg, #000 88%, transparent); }
.cnav-list::-webkit-scrollbar { display: none; }
.cnav-list a { position: relative; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 12px; border-radius: 999px; color: var(--muted); font-size: 14.5px; font-weight: 600; text-decoration: none; white-space: nowrap; transition: color .2s ease, background-color .2s ease; }
.cnav-list a:hover { color: var(--ink); background: var(--tint); }
.cnav-list a.is-active { color: var(--navy); }
.cnav-list a::after { content: ''; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px; border-radius: 2px; background: var(--signal); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.cnav-list a.is-active::after { transform: scaleX(1); }
.cnav-count { display: inline-flex; align-items: center; justify-content: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--action); color: #fff; font-size: 12px; }
.cnav-cta { display: none; }

/* Body + sticky booking card */
.cbody { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; }
.cmain { min-width: 0; }
.caside { display: none; }
.csec { padding-block: 56px; scroll-margin-top: calc(var(--hdr-h) + 70px); }
.csec + .csec { border-top: 1px solid var(--line); }
.csec--tight { padding-block: 36px; }
.csec-head { display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; }
.csec-head > * { margin: 0; }
.csec .h2 { font-size: clamp(30px, 6vw, 42px); }

/* Learning path */
.path { position: relative; display: grid; gap: 12px; margin: 0 0 28px; padding: 0; list-style: none; }
.path-card { position: relative; display: flex; align-items: center; gap: 16px; height: 100%; padding: 18px; border-radius: 18px; background: #fff; box-shadow: 0 0 0 1px var(--line); color: var(--ink); text-decoration: none; transition: transform .35s var(--ease), box-shadow .3s ease; }
.path-card:hover { color: var(--ink); transform: translateY(-3px); box-shadow: 0 0 0 1.5px var(--action), 0 20px 40px -26px rgba(6, 34, 58, .5); }
.path-card > .arr { margin-left: auto; color: var(--action); flex: none; }
.path-step { display: grid; place-items: center; width: 52px; height: 52px; flex: none; border-radius: 16px; background: var(--tint); color: var(--navy); font-size: 24px; font-weight: 750; box-shadow: inset 0 0 0 1.5px #D6E3EE; transition: background-color .3s ease, color .3s ease; }
.path li:nth-child(1) .path-step { box-shadow: inset 0 -4px 0 #C62A2F, inset 0 0 0 1.5px #D6E3EE; }
.path li:nth-child(2) .path-step { box-shadow: inset 0 -4px 0 #F2A007, inset 0 0 0 1.5px #D6E3EE; }
.path li:nth-child(3) .path-step { box-shadow: inset 0 -4px 0 #5BA829, inset 0 0 0 1.5px #D6E3EE; }
.path li:nth-child(4) .path-step { box-shadow: inset 0 -4px 0 #A3247B, inset 0 0 0 1.5px #D6E3EE; }
.path-card:hover .path-step { background: var(--navy); color: #fff; }
.path-body { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.path-kicker { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--subtle); }
.path-title { font-size: 17px; font-weight: 650; line-height: 1.3; }
.path-meta { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 4px; font-size: 13.5px; color: var(--muted); }
.path-meta span { display: inline-flex; align-items: center; gap: 5px; }
.path-next { color: #2F7A12; font-weight: 600; }
.path-next--off { color: var(--subtle); font-weight: 500; }

.perks { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; margin: 0; padding: 0; list-style: none; }
.perks li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 16px; padding: 20px; border-radius: 18px; background: var(--tint); }
.perk-icon { grid-row: span 2; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: color-mix(in srgb, var(--c) 14%, #fff); color: var(--c); }
.perks h3 { margin: 0; font-size: 16.5px; font-weight: 700; }
.perks p { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--muted); }

/* Level stepper (tabs) */
.steps { display: flex; gap: 8px; margin: 0 -20px 24px; padding: 4px 20px 8px; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity; }
.steps::-webkit-scrollbar { display: none; }
.step { display: flex; flex: none; align-items: center; gap: 12px; min-height: 64px; max-width: 290px; padding: 10px 18px 10px 10px; border: 0; border-radius: 18px; background: #fff; box-shadow: 0 0 0 1px var(--line); color: var(--ink); font: inherit; text-align: left; cursor: pointer; scroll-snap-align: start; transition: background-color .3s ease, color .3s ease, box-shadow .3s ease, transform .3s var(--ease); }
.step:hover { transform: translateY(-2px); box-shadow: 0 0 0 1.5px var(--action); }
.step-num { display: grid; place-items: center; width: 42px; height: 42px; flex: none; border-radius: 13px; background: var(--tint); font-family: var(--font-display); font-size: 20px; font-weight: 750; color: var(--navy); transition: background-color .3s ease, color .3s ease; }
.step-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.step-kicker { font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--subtle); }
.step-title { font-size: 15px; font-weight: 600; line-height: 1.25; }
.step[aria-selected="true"] { background: var(--navy); color: #fff; box-shadow: 0 18px 34px -20px rgba(6, 34, 58, .9); }
.step[aria-selected="true"] .step-num { background: var(--signal); color: #fff; }
.step[aria-selected="true"] .step-kicker { color: #9FC1DC; }

.level + .level { margin-top: 48px; }
[data-tab-panel] + [data-tab-panel] { margin-top: 0; }
.js [data-tab-panel][hidden] { display: none; }
.level-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px 24px; margin-bottom: 24px; }
.level-kicker { margin: 0; font-size: 12.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--action); }
.level-title { margin: 0; font-size: clamp(24px, 4.6vw, 32px); font-weight: 720; line-height: 1.12; }
.level-meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.level-meta li { display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 0 12px; border-radius: 999px; background: var(--chip); font-size: 14px; color: var(--muted); }
.level-meta strong { color: var(--navy); }

/* Content typography for admin HTML */
.prose { font-size: 16px; line-height: 1.7; color: var(--body); }
.prose > :first-child { margin-top: 0; }
.prose > :last-child { margin-bottom: 0; }
.prose p { margin: 0 0 12px; }
.prose strong { color: var(--ink); font-weight: 650; }
.prose ul, .prose ol { margin: 0 0 12px; padding: 0; list-style: none; }
.prose li { position: relative; padding-left: 22px; margin-bottom: 6px; }
.prose ul > li::before { content: ''; position: absolute; left: 4px; top: .7em; width: 7px; height: 7px; border-radius: 2px; background: var(--brand); transform: rotate(45deg); opacity: .75; }
.prose ol { counter-reset: li; }
.prose ol > li::before { counter-increment: li; content: counter(li) '.'; position: absolute; left: 0; color: var(--action); font-weight: 650; }
.prose h2, .prose h3, .prose h4 { margin: 18px 0 8px; font: 700 16px/1.3 var(--font); color: var(--ink); }
.prose table { width: 100%; border-collapse: collapse; margin: 0 0 12px; font-size: 15px; }
.prose td, .prose th { padding: 8px 10px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose a { text-underline-offset: 3px; }

.desc { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; margin-bottom: 28px; }
.desc-intro { font-size: 17.5px; line-height: 1.7; color: var(--ink); }
.desc-intro p { color: var(--body); }
.desc-card { padding: 20px; border-radius: 18px; background: #fff; box-shadow: 0 0 0 1px var(--line); font-size: 15.5px; }
.desc-title { display: flex; align-items: center; gap: 10px; margin: 0 0 8px !important; font: 700 13px/1.2 var(--font) !important; letter-spacing: .1em; text-transform: uppercase; color: var(--action) !important; }
.desc-title::before { content: ''; width: 18px; height: 3px; border-radius: 3px; background: var(--signal); }

/* Outline accordion */
.outline { border-radius: 22px; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 24px 48px -36px rgba(6, 34, 58, .45); overflow: hidden; }
.outline-head { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px; padding: 20px 20px 16px; background: linear-gradient(180deg, var(--tint), #fff); border-bottom: 1px solid var(--line); }
.outline-title { margin: 0; font: 700 18px/1.2 var(--font); }
.outline-count { margin: 0; font-size: 14px; color: var(--subtle); }
.outline-actions { display: flex; align-items: center; gap: 14px; margin-left: auto; }
.outline-intro { padding: 18px 20px 0; font-size: 15px; }
.modules { margin: 0; padding: 0; list-style: none; }
.module + .module { border-top: 1px solid #EEF2F6; }
.module summary, .module-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 14px; min-height: 64px; padding: 12px 20px; list-style: none; }
.module summary { grid-template-columns: auto minmax(0, 1fr) auto auto; cursor: pointer; transition: background-color .2s ease; }
.module summary::-webkit-details-marker { display: none; }
.module summary:hover { background: #F8FBFE; }
.module-num { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; background: var(--tint); font-family: var(--font-display); font-size: 15px; font-weight: 750; color: var(--action); font-variant-numeric: tabular-nums; transition: background-color .3s ease, color .3s ease; }
.module details[open] .module-num { background: var(--action); color: #fff; }
.module-title { display: flex; flex-direction: column; gap: 2px; font-size: 16px; font-weight: 600; line-height: 1.35; color: var(--ink); }
.module-kind { font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--subtle); }
.module-items { display: none; font-size: 13px; color: var(--subtle); white-space: nowrap; }
.module-toggle { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px #D5E0EA; color: var(--muted); transition: transform .4s var(--ease), background-color .3s ease, color .3s ease, box-shadow .3s ease; }
.module details[open] .module-toggle { transform: rotate(135deg); background: var(--navy); color: #fff; box-shadow: none; }
.module-body { padding: 0 20px 20px 72px; font-size: 15px; }
.module-body ul { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2px 24px; }
.module-body h4 { margin-top: 14px; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--subtle); }
.module-body h4:first-child { margin-top: 0; }
.level-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }

/* Schedule */
.filters { display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }
.filters[hidden] { display: none; }
.filter-group { display: flex; gap: 8px; margin: 0 -20px; padding: 2px 20px 6px; overflow-x: auto; scrollbar-width: none; }
.filter-group::-webkit-scrollbar { display: none; }
.fchip { display: inline-flex; flex: none; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px; border: 0; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1.5px #D5E0EA; color: var(--muted); font: 600 14px/1 var(--font); cursor: pointer; transition: background-color .25s ease, color .25s ease, box-shadow .25s ease, transform .2s var(--ease); }
.fchip:hover { color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--action); }
.fchip:active { transform: scale(.96); }
.fchip[aria-pressed="true"] { background: var(--navy); color: #fff; box-shadow: none; }
.month + .month { margin-top: 28px; }
.month[hidden] { display: none; }
.month-title { display: flex; align-items: center; gap: 14px; margin: 0 0 12px; font: 700 13px/1 var(--font); letter-spacing: .12em; text-transform: uppercase; color: var(--subtle); }
.month-title::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.sessions { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.session { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px 16px; align-items: center; padding: 14px; border-radius: 18px; background: #fff; box-shadow: 0 0 0 1px var(--line); transition: box-shadow .3s ease, transform .35s var(--ease); }
.session[hidden] { display: none; }
.session:hover { transform: translateY(-2px); box-shadow: 0 0 0 1.5px var(--action), 0 18px 36px -26px rgba(6, 34, 58, .5); }
.session-info { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.session-title { margin: 0; font-size: 16.5px; font-weight: 650; line-height: 1.3; color: var(--ink); }
.session-meta { display: flex; flex-wrap: wrap; gap: 4px 16px; margin: 0; font-size: 14px; color: var(--muted); }
.session-meta > span { display: inline-flex; align-items: center; gap: 6px; }
.session-meta .icon { color: var(--subtle); }
.session-meta a { color: inherit; text-decoration: underline; text-decoration-color: #C9D6E3; text-underline-offset: 3px; }
.session-meta a:hover { color: var(--action); text-decoration-color: currentColor; }
.session-meta .is-online { color: #2F7A12; font-weight: 600; }
.session-buy { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 12px; border-top: 1px dashed #DCE5EE; }
.session-price { font-size: 22px; font-weight: 750; color: var(--navy); }
.schedule-empty { padding: 20px; border-radius: 16px; background: var(--tint); color: var(--muted); }
.schedule-empty[hidden] { display: none; }
.fine { margin: 20px 0 0; font-size: 13.5px; line-height: 1.6; color: var(--subtle); max-width: 680px; }
.empty { display: flex; flex-direction: column; gap: 18px; padding: 28px; border-radius: 22px; background: var(--tint); box-shadow: inset 0 0 0 1.5px #D6E3EE; }
.empty-icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: #fff; color: var(--action); box-shadow: 0 0 0 1px var(--line); }
.empty-title { margin: 0; font-size: 24px; font-weight: 700; }
.empty p { margin: 0; color: var(--muted); line-height: 1.6; max-width: 620px; }

/* Options */
.city-note { margin-bottom: 20px; padding: 22px; border-radius: 18px; background: var(--tint); }
.optgrid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.optcard { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 24px; border-radius: var(--radius); background: #fff; box-shadow: 0 0 0 1px var(--line); color: var(--ink); text-decoration: none; transition: transform .35s var(--ease), box-shadow .3s ease; }
a.optcard:hover { color: var(--ink); transform: translateY(-4px); box-shadow: 0 0 0 1.5px var(--action), 0 24px 48px -28px rgba(6, 34, 58, .45); }
a.optcard:hover .opt-bar { width: 40px; height: 4px; }
.optcard p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--muted); }
.optcard .opt-title { display: flex; align-items: center; gap: 10px; }
.optcard--feature { background: linear-gradient(160deg, #fff 40%, #FFF8E8); }
.ticks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 16px; margin: 0; padding: 0; list-style: none; font-size: 15px; }
.ticks li { display: flex; align-items: center; gap: 8px; }
.ticks .icon { flex: none; width: 22px; height: 22px; padding: 3px; border-radius: 999px; background: #E6F4DD; color: #3E7A17; }
.more-link { margin: 18px 0 0; }
.more-link a { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; }
.related-title { margin: 0 0 14px; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--subtle); }
.related a { min-height: 40px; padding: 0 14px; border-radius: 999px; }
.section--flush { padding-top: 16px; }

/* Booking card */
.bcard { display: flex; flex-direction: column; gap: 14px; padding: 24px; border-radius: 24px; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 30px 60px -36px rgba(6, 34, 58, .55); }
.bcard::before { content: ''; height: 4px; margin: -24px -24px 6px; border-radius: 24px 24px 0 0; background: var(--signal); }
.bcard-kicker { margin: 0; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--subtle); }
.bcard-price { display: flex; align-items: baseline; gap: 8px; margin: 0; color: var(--muted); }
.bcard-price strong { font-size: 40px; font-weight: 760; line-height: 1; color: var(--navy); }
.bcard-next { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0; font-size: 14.5px; color: var(--muted); }
.bcard-next strong { color: var(--ink); }
.bcard-btn { width: 100%; }
.bcard-list { display: flex; flex-direction: column; gap: 10px; margin: 6px 0 0; padding: 16px 0 0; border-top: 1px solid var(--line); list-style: none; font-size: 14.5px; color: var(--muted); }
.bcard-list li { display: flex; align-items: center; gap: 10px; }
.bcard-list .icon { color: var(--action); }
.bcard-foot { display: flex; flex-direction: column; gap: 8px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 14.5px; }
.bcard-foot a { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); text-decoration: none; }
.bcard-foot a:hover { color: var(--action); }
.bcard-foot strong { color: var(--action); }

@media (min-width: 640px) {
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cnav-list { margin: 0; padding: 0; }
  .steps, .filter-group { margin-inline: 0; padding-inline: 0; flex-wrap: wrap; overflow: visible; }
  .perks, .desc, .optgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .desc-intro, .optcard--feature { grid-column: 1 / -1; }
  .module-items { display: inline; }
  .module-body ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .session { grid-template-columns: auto minmax(0, 1fr) auto; }
  .session-buy { grid-column: auto; flex-direction: column; align-items: flex-end; gap: 8px; padding-top: 0; border-top: 0; }
  .next-card { max-width: 440px; }
}
@media (min-width: 1080px) {
  .chero-grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 48px; align-items: center; padding-top: 28px; padding-bottom: 72px; }
  .chero-title { font-size: clamp(54px, 5.2vw, 72px); }
  .chero-visual { min-height: 460px; align-items: center; justify-content: flex-end; }
  .ctile { position: absolute; right: 0; top: 4px; display: grid; place-items: center; width: 270px; height: 270px; border-radius: 64px; background: radial-gradient(120% 120% at 20% 10%, #12507F 0%, var(--navy) 55%, var(--navy-deep) 100%); box-shadow: 0 40px 80px -40px rgba(6, 34, 58, .9), inset 0 1px 0 rgba(255, 255, 255, .12); transform: rotate(8deg); }
  .ctile-arcs { position: absolute; right: 18px; bottom: 18px; width: 150px; height: 150px; opacity: .95; }
  .ctile-mark { position: relative; left: -34px; top: -30px; font-size: 104px; font-weight: 780; color: #fff; letter-spacing: -.04em; }
  .next-wrap { width: auto; margin-top: 210px; margin-right: 90px; }
  .next-card { width: 380px; }
  .cnav-cta { display: inline-flex; flex: none; opacity: 0; transform: translateY(8px); pointer-events: none; transition: opacity .3s ease, transform .4s var(--ease); }
  .cnav.is-stuck .cnav-cta { opacity: 1; transform: none; pointer-events: auto; }
  .cbody { grid-template-columns: minmax(0, 1fr) 340px; gap: 64px; align-items: start; }
  .caside { display: block; position: sticky; top: calc(var(--hdr-h) + 82px); padding-block: 56px 0; transition: top .45s var(--ease); }
  .path { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .csec { padding-block: 72px; }
}
@media (min-width: 1240px) { .optgrid { grid-template-columns: 1.3fr 1fr; } .optcard--feature { grid-column: auto; grid-row: span 2; } }

/* Course page motion */
@keyframes tileIn { from { opacity: 0; transform: rotate(24deg) scale(.6); } to { opacity: 1; transform: rotate(8deg) scale(1); } }
@keyframes flash { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: no-preference) {
  .next-card { animation: cardIn 1s var(--ease) backwards; animation-delay: var(--d); }
  .ctile { animation: tileIn 1.1s cubic-bezier(.2, .9, .25, 1.15) .35s backwards; }
  .ctile-mark { animation: fadeUp .9s var(--ease) .8s backwards; }
  .chero .crumbs { animation: fadeUp .7s var(--ease) backwards; }
  .session.flash { animation: flash .5s var(--ease) backwards; animation-delay: calc(var(--i, 0) * 35ms); }
  .step[aria-selected="true"] .step-num { animation: dotBreath 2.8s ease-in-out infinite; }
  .js-motion [data-tab-panel]:not([hidden]) { animation: fadeUp .55s var(--ease); }
  @supports (interpolate-size: allow-keywords) {
    .modules { interpolate-size: allow-keywords; }
    .module details::details-content { height: 0; overflow: clip; transition: height .45s var(--ease), content-visibility .45s allow-discrete; }
    .module details[open]::details-content { height: auto; }
  }
}
.intro-playing .chero * { animation-play-state: paused !important; }
.bcard-next + .bcard-next { margin-top: -8px; }
.bcard-next .icon { color: var(--subtle); }
.schedule-more { width: 100%; margin-top: 16px; }
.schedule-more[hidden] { display: none; }

/* ══ Forms & booking ══════════════════════════════════════════════════ */
.fhero { position: relative; overflow: hidden; background: var(--tint); }
.fhero::after { content: ''; position: absolute; right: -180px; top: -220px; width: 560px; height: 560px; border-radius: 50%; background: radial-gradient(closest-side, rgba(10, 132, 208, .14), transparent); pointer-events: none; }
.fhero-inner { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 18px; padding-bottom: 40px; }
.fhero-inner > * { margin: 0; }
.fhero .crumbs { padding-top: 22px; }
.fhero-title { max-width: 760px; }
.fhero .lead { max-width: 760px; font-size: 17px; }
.fhero .lead a { font-weight: 600; }
.fsteps { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0; padding: 0; list-style: none; font-size: 14px; font-weight: 600; color: var(--subtle); }
.fsteps li { display: inline-flex; align-items: center; gap: 8px; }
.fsteps li + li::before { content: ''; width: 22px; height: 2px; margin-right: 8px; border-radius: 2px; background: #CFDCE8; }
.fsteps span { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1.5px #CFDCE8; font-size: 12.5px; }
.fsteps .is-done { color: #2F7A12; }
.fsteps .is-done span { background: #E6F4DD; box-shadow: none; color: #2F7A12; }
.fsteps .is-done + li::before { background: #9BD07C; }
.fsteps .is-current { color: var(--navy); }
.fsteps .is-current span { background: var(--navy); color: #fff; box-shadow: 0 0 0 4px rgba(6, 34, 58, .1); }

.fbody { padding-top: 32px; padding-bottom: 72px; }
.fgrid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; align-items: start; }
.fsummary .bcard { gap: 16px; }
.fsummary-total { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-top: 14px; border-top: 1px solid var(--line); color: var(--muted); }
.fsummary-total strong { font-size: 32px; font-weight: 760; color: var(--navy); }
.fsummary-note { display: flex; align-items: center; gap: 8px; margin: 0; padding: 10px 12px; border-radius: 12px; background: #EEF8E8; font-size: 13.5px; font-weight: 600; color: #2F6B14; }
.next-info a { font-weight: 600; text-decoration: none; }

.fform { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.fcard { min-width: 0; margin: 0; padding: 22px 20px; border: 0; border-radius: 22px; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 20px 40px -36px rgba(6, 34, 58, .45); }
.fcard-title { display: flex; align-items: center; gap: 12px; float: left; width: 100%; margin: 0 0 18px; padding: 0; font: 700 18px/1.2 var(--font); color: var(--ink); }
.fcard-title + * { clear: both; }
.fcard-num { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: var(--tint); font-family: var(--font-display); font-size: 15px; font-weight: 750; color: var(--action); }
.fields { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.field-label { margin: 0; font-size: 14.5px; font-weight: 600; color: var(--ink); }
.field-label .req { color: var(--red); }
.field-label .optl { margin-left: 4px; font-size: 12.5px; font-weight: 500; color: var(--subtle); }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field textarea, .field select {
  width: 100%; min-height: 50px; padding: 12px 14px; border: 0; border-radius: 14px; background: #F7FAFD; box-shadow: inset 0 0 0 1.5px #D5E0EA;
  font: 16px/1.4 var(--font); color: var(--ink); transition: box-shadow .2s ease, background-color .2s ease; -webkit-appearance: none; appearance: none; }
.field textarea { resize: vertical; min-height: 96px; }
.field input:hover, .field textarea:hover, .field select:hover { box-shadow: inset 0 0 0 1.5px #A9BDD0; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; background: #fff; box-shadow: inset 0 0 0 2px var(--action), 0 0 0 4px rgba(5, 103, 168, .14); }
.select { position: relative; }
.select select { padding-right: 42px; cursor: pointer; }
.select-caret { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); color: var(--subtle); pointer-events: none; }
.field-hint { margin: 0; font-size: 13px; color: var(--subtle); }
.field-error { display: flex; align-items: center; gap: 6px; margin: 0; font-size: 13.5px; font-weight: 600; color: #B4232A; }
.field-error .icon { flex: none; width: 18px; height: 18px; padding: 3px; border-radius: 999px; background: #FDECEC; }
.has-error input, .has-error textarea, .has-error select { box-shadow: inset 0 0 0 2px #D9474D !important; background: #FFF8F8; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { position: relative; cursor: pointer; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice span { display: inline-flex; align-items: center; min-height: 46px; padding: 0 18px; border-radius: 999px; background: #F7FAFD; box-shadow: inset 0 0 0 1.5px #D5E0EA; font-size: 15px; font-weight: 600; color: var(--muted); transition: background-color .2s ease, color .2s ease, box-shadow .2s ease; }
.choice:hover span { box-shadow: inset 0 0 0 1.5px var(--action); }
.choice input:checked + span { background: var(--navy); color: #fff; box-shadow: none; }
.choice input:focus-visible + span { outline: 3px solid var(--brand); outline-offset: 2px; }
.check { display: flex; align-items: flex-start; gap: 12px; padding: 14px 16px; border-radius: 16px; background: var(--tint); font-size: 15.5px; font-weight: 600; cursor: pointer; }
.check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.check-box { display: grid; place-items: center; flex: none; width: 24px; height: 24px; margin-top: -1px; border-radius: 8px; background: #fff; box-shadow: inset 0 0 0 1.5px #A9BDD0; color: transparent; transition: background-color .2s ease, color .2s ease, box-shadow .2s ease, transform .25s var(--spring); }
.check input:checked + .check-box { background: var(--action); color: #fff; box-shadow: none; transform: scale(1.06); }
.check input:focus-visible + .check-box { outline: 3px solid var(--brand); outline-offset: 2px; }
.has-error .check { box-shadow: inset 0 0 0 2px #D9474D; background: #FFF8F8; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.fbilling summary { display: flex; align-items: center; gap: 12px; min-height: 48px; font-size: 15.5px; font-weight: 600; cursor: pointer; list-style: none; }
.fbilling summary::-webkit-details-marker { display: none; }
.switch { position: relative; flex: none; width: 44px; height: 26px; border-radius: 999px; background: #CFDCE8; transition: background-color .25s ease; }
.switch::after { content: ''; position: absolute; left: 3px; top: 3px; width: 20px; height: 20px; border-radius: 999px; background: #fff; box-shadow: 0 1px 3px rgba(6, 34, 58, .3); transition: transform .3s var(--spring); }
.fbilling[open] .switch { background: var(--action); }
.fbilling[open] .switch::after { transform: translateX(18px); }
.fbilling > .field-hint { margin: 4px 0 0; }
.fbilling[open] > .field-hint { display: none; }
.fbilling .fields { margin-top: 16px; }
.ticks--stack { grid-template-columns: minmax(0, 1fr); margin-bottom: 14px; }
.fterms-more { margin-bottom: 16px; border-radius: 14px; box-shadow: inset 0 0 0 1px var(--line); }
.fterms-more summary { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 48px; padding: 0 16px; font-size: 14.5px; font-weight: 600; color: var(--action); cursor: pointer; list-style: none; }
.fterms-more summary::-webkit-details-marker { display: none; }
.fterms-more summary .icon { transition: transform .3s var(--ease); }
.fterms-more[open] summary .icon { transform: rotate(180deg); }
.fterms-more .prose { padding: 0 16px 16px; font-size: 14.5px; }
.ferrors { padding: 18px 20px; border-radius: 18px; background: #FFF4F4; box-shadow: inset 0 0 0 1.5px #F2B8BB; color: #8E1C23; }
.ferrors:focus { outline: none; }
.ferrors p { margin: 0 0 8px; }
.ferrors ul { margin: 0; padding-left: 18px; font-size: 14.5px; }
.ferrors a { color: #8E1C23; }
.fsubmit { display: flex; flex-direction: column; gap: 14px; padding: 4px 4px 0; }
.fsubmit .btn { width: 100%; }
.fsubmit .fine { margin: 0; }
.btn.is-busy { pointer-events: none; opacity: .8; }

/* Thank-you */
.fhero--thanks .fhero-inner { align-items: center; text-align: center; padding-top: 28px; padding-bottom: 48px; }
.fhero--thanks .lead { margin-inline: auto; }
.thanks-mark svg { display: block; width: 104px; height: 104px; }
.thanks-ring { fill: #E6F4DD; stroke: #5BA829; stroke-width: 5; }
.thanks-tick { fill: none; stroke: #2F7A12; stroke-width: 9; stroke-linecap: round; stroke-linejoin: round; }
.thanks-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; max-width: 980px; margin: 0 auto; }
.timeline { position: relative; display: flex; flex-direction: column; gap: 22px; margin: 0 0 28px; padding: 0; list-style: none; }
.timeline::before { content: ''; position: absolute; left: 7px; top: 10px; bottom: 10px; width: 2px; background: linear-gradient(var(--red), var(--amber), var(--green), var(--plum)); border-radius: 2px; opacity: .5; }
.timeline li { position: relative; display: flex; gap: 18px; }
.tl-dot { position: relative; flex: none; width: 16px; height: 16px; margin-top: 3px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 4px var(--action); }
.timeline h3 { margin: 0 0 4px; font-size: 16.5px; }
.timeline p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--muted); }

@media (min-width: 640px) {
  .fields { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 16px; }
  .field--wide { grid-column: 1 / -1; }
  .fcard { padding: 28px; }
  .fsubmit { flex-direction: row; align-items: center; gap: 24px; }
  .fsubmit .btn { width: auto; flex: none; }
}
@media (min-width: 1080px) {
  .fgrid { grid-template-columns: minmax(0, 1fr) 360px; gap: 48px; }
  .fsummary { order: 2; position: sticky; top: calc(var(--hdr-h) + 24px); transition: top .45s var(--ease); }
  .fbody { padding-top: 40px; }
  .thanks-grid { grid-template-columns: 380px minmax(0, 1fr); gap: 56px; align-items: start; }
}
@media (prefers-reduced-motion: no-preference) {
  .thanks-ring { stroke-dasharray: 1; animation: draw .9s cubic-bezier(.65, 0, .35, 1) .1s backwards; }
  .thanks-tick { stroke-dasharray: 1; animation: draw .55s cubic-bezier(.65, 0, .35, 1) .75s backwards; }
  .thanks-mark { animation: popIn .6s var(--spring) backwards; }
  .fcard { transition: box-shadow .3s ease; }
  .fcard:focus-within { box-shadow: 0 0 0 1.5px #BFD6EA, 0 24px 48px -32px rgba(6, 34, 58, .5); }
  .has-error input, .has-error textarea, .has-error .check { animation: shake .4s var(--ease); }
}
@keyframes shake { 20%, 60% { transform: translateX(-4px); } 40%, 80% { transform: translateX(4px); } }
.fsteps em { font-style: normal; }
.form-page .mbar { display: none; }
@media (max-width: 639px) {
  .fsteps { flex-wrap: nowrap; gap: 8px; }
  .fsteps li + li::before { width: 14px; margin-right: 0; }
  .fsteps li:not(.is-current) em { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
}

/* ══ City pages ═══════════════════════════════════════════════════════ */
.chero-visual--city { align-items: stretch; }
.addr-card { gap: 14px; }
.addr { margin: 0; font-style: normal; font-size: 16px; line-height: 1.6; color: var(--ink); }
.addr-card .bcard-list { margin: 0; padding-top: 14px; }
.addr-card .bcard-list a { color: inherit; text-decoration: none; font-weight: 600; }
.addr-card .bcard-list a:hover { color: var(--action); }
.addr-card .btn { align-self: flex-start; }
.tabs--dates { display: flex; flex-wrap: wrap; width: fit-content; max-width: 100%; margin-bottom: 22px; }
.tabs--dates .tab { display: inline-flex; align-items: center; gap: 8px; }
.tabs--dates .tab[aria-selected="false"] .cnav-count { background: #CFDCE8; color: var(--navy); }
.js .schedule[hidden] { display: none; }
.session-title a { color: inherit; text-decoration: none; }
.session-title a:hover { color: var(--action); text-decoration: underline; text-underline-offset: 3px; }
.mapwrap { position: relative; overflow: hidden; border-radius: 24px; background: var(--tint); box-shadow: 0 0 0 1px var(--line); }
.mapwrap iframe { display: block; width: 100%; height: 380px; border: 0; filter: saturate(.85); }
.map-card { display: flex; flex-direction: column; gap: 12px; padding: 18px 20px; background: #fff; border-top: 1px solid var(--line); }
.map-card .btn { align-self: flex-start; }
.offer { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; margin: 0; padding: 0; list-style: none; }
.offer a { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px; padding: 0 18px; border-radius: 16px; background: #fff; box-shadow: 0 0 0 1px var(--line); color: var(--ink); font-weight: 600; text-decoration: none; transition: transform .3s var(--ease), box-shadow .3s ease; }
.offer a:hover { color: var(--action); transform: translateY(-2px); box-shadow: 0 0 0 1.5px var(--action), 0 16px 32px -24px rgba(6, 34, 58, .5); }
.offer .arr { color: var(--action); }
.perks a { font-weight: 600; }
.online-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; align-items: start; }
.numlist { margin: 0; padding: 0; list-style: none; counter-reset: n; display: flex; flex-direction: column; gap: 12px; }
.numlist li { position: relative; padding-left: 40px; font-size: 15px; line-height: 1.6; color: var(--body); }
.numlist li::before { counter-increment: n; content: counter(n); position: absolute; left: 0; top: -1px; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 9px; background: var(--tint); font-family: var(--font-display); font-weight: 750; font-size: 14px; color: var(--action); }
.faq { border-radius: 22px; background: #fff; box-shadow: 0 0 0 1px var(--line); overflow: hidden; }
.faq-item + .faq-item { border-top: 1px solid #EEF2F6; }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 62px; padding: 12px 20px; font-size: 16px; font-weight: 650; cursor: pointer; list-style: none; transition: background-color .2s ease; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { background: #F8FBFE; }
.faq-item[open] .module-toggle { transform: rotate(135deg); background: var(--navy); color: #fff; box-shadow: none; }
.faq-item p { margin: 0; padding: 0 20px 20px; font-size: 15px; line-height: 1.7; color: var(--body); }
@media (min-width: 640px) {
  .offer { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .perks--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mapwrap iframe { height: 440px; }
  .map-card { position: absolute; left: 20px; bottom: 20px; max-width: 340px; border-top: 0; border-radius: 18px; box-shadow: 0 24px 48px -24px rgba(6, 34, 58, .55); }
}
@media (min-width: 1080px) {
  .chero-visual--city { min-height: 0; justify-content: flex-end; }
  .addr-card { width: 400px; }
  .offer { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .perks--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .perks--4 li { grid-template-columns: minmax(0, 1fr); }
  .perks--4 .perk-icon { grid-row: auto; margin-bottom: 8px; }
  .online-grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 24px; }
}
@media (prefers-reduced-motion: no-preference) {
  @supports (interpolate-size: allow-keywords) {
    .faq { interpolate-size: allow-keywords; }
    .faq-item::details-content { height: 0; overflow: clip; transition: height .45s var(--ease), content-visibility .45s allow-discrete; }
    .faq-item[open]::details-content { height: auto; }
  }
}

/* ══ Content pages ════════════════════════════════════════════════════ */
.phero .hero-rings { right: -380px; top: -300px; opacity: .55; }
.phero .fhero-inner { padding-bottom: 52px; }
.phero-title { max-width: 900px; font-size: clamp(38px, 8vw, 64px); text-wrap: balance; }
.narrow { max-width: 1000px; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.contact-card { display: flex; flex-direction: column; gap: 6px; padding: 24px; border-radius: 22px; background: #fff; box-shadow: 0 0 0 1px var(--line); color: var(--ink); text-decoration: none; transition: transform .35s var(--ease), box-shadow .3s ease; }
a.contact-card:hover { color: var(--ink); transform: translateY(-4px); box-shadow: 0 0 0 1.5px var(--action), 0 24px 48px -28px rgba(6, 34, 58, .45); }
.contact-card .perk-icon { margin-bottom: 10px; }
.contact-k { font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--subtle); }
.contact-card strong { font-size: 20px; overflow-wrap: anywhere; }
.contact-s { font-size: 14px; color: var(--muted); }
.loc-strip { margin-top: 28px; }
.chip-static { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 999px; background: #F6F9FC; color: var(--muted); font-size: 14px; }
.years { position: relative; display: flex; flex-direction: column; gap: 18px; margin: 0; padding: 0 0 0 24px; list-style: none; }
.years::before { content: ''; position: absolute; left: 0; top: 8px; bottom: 8px; width: 3px; border-radius: 3px; background: var(--signal); background: linear-gradient(var(--red), var(--amber), var(--green), var(--plum), var(--brand)); }
.years li { position: relative; }
.years li::before { content: ''; position: absolute; left: -30px; top: 8px; width: 15px; height: 15px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 4px var(--navy); }
.years-y { font-size: 28px; font-weight: 750; color: var(--navy); line-height: 1.1; }
.years p { margin: 4px 0 0; font-size: 15px; line-height: 1.6; color: var(--muted); }
.pillars { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; margin: 0; padding: 0; list-style: none; }
.pillars li { position: relative; overflow: hidden; padding: 28px; border-radius: 22px; background: var(--navy); color: #fff; }
.pillars li::after { content: ''; position: absolute; right: -60px; bottom: -60px; width: 180px; height: 180px; border-radius: 50%; border: 18px solid var(--c); opacity: .9; }
.pillar-n { font-size: 15px; font-weight: 700; color: var(--c); }
.pillars h3 { margin: 10px 0 8px; font-size: 30px; font-weight: 720; }
.pillars p { position: relative; z-index: 1; margin: 0; max-width: 260px; font-size: 15px; line-height: 1.6; color: #C6D6E4; }
.split-sec { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; align-items: start; }
.split-copy { display: flex; flex-direction: column; gap: 16px; }
.split-copy > * { margin: 0; }
.split-side { min-width: 0; }
.offer--compact a { min-height: 50px; }
.cat-more--box { margin-bottom: 10px; padding: 4px 16px 12px; border-radius: 16px; background: #fff; box-shadow: 0 0 0 1px var(--line); }
.cat-more--box summary { width: 100%; justify-content: space-between; color: var(--ink); }
.quote--sm { padding: 28px; }
.quote-lg { margin: 14px 0 18px; font-size: 22px; line-height: 1.35; font-weight: 600; color: #fff; }
.ticks--light { color: #D6E3EE; }
.ticks--light .icon { background: rgba(155, 224, 122, .18); color: #9BE07A; }
.pay-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; margin-bottom: 16px; }
.stat-card { display: flex; flex-direction: column; gap: 8px; padding: 24px; border-radius: 22px; background: var(--tint); }
.stat-big { font-size: 52px; font-weight: 780; line-height: 1; color: var(--navy); }
.stat-card p { margin: 0; color: var(--muted); line-height: 1.55; }
.callout { display: flex; gap: 12px; margin: 0; padding: 16px 18px; border-radius: 16px; background: #EEF8E8; color: #2F5F14; font-size: 15px; line-height: 1.55; }
.callout .icon { flex: none; margin-top: 2px; }
.policy { display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 0; list-style: none; counter-reset: p; }
.policy li { position: relative; padding: 18px 20px 18px 64px; border-radius: 18px; background: #fff; box-shadow: 0 0 0 1px var(--line); font-size: 15.5px; line-height: 1.6; color: var(--body); }
.policy li::before { counter-increment: p; content: counter(p, decimal-leading-zero); position: absolute; left: 18px; top: 17px; font-family: var(--font-display); font-weight: 750; color: var(--action); }
.infolist { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; margin: 0; padding: 0; list-style: none; }
.infolist li { display: flex; gap: 14px; padding: 18px; border-radius: 18px; background: var(--tint); }
.info-icon { display: grid; place-items: center; flex: none; width: 38px; height: 38px; border-radius: 12px; background: #fff; color: var(--action); box-shadow: 0 0 0 1px var(--line); }
.infolist p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--body); }

.tgrid { margin: 0; padding: 0; list-style: none; columns: 1; column-gap: 16px; }
.tgrid > li { break-inside: avoid; margin-bottom: 16px; }
.tcard { position: relative; display: flex; flex-direction: column; gap: 16px; margin: 0; padding: 24px; border-radius: 22px; background: #fff; box-shadow: 0 0 0 1px var(--line); transition: transform .35s var(--ease), box-shadow .3s ease; }
.tcard::before { content: ''; position: absolute; left: 24px; top: 0; width: 44px; height: 4px; border-radius: 0 0 4px 4px; background: var(--c); }
.tcard:hover { transform: translateY(-3px); box-shadow: 0 0 0 1px var(--line), 0 24px 48px -30px rgba(6, 34, 58, .5); }
.tcard-mark { color: var(--c); }
.tcard blockquote { margin: 0; font-size: 16px; line-height: 1.65; color: var(--ink); }
.tcard figcaption { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--muted); }
.tcard figcaption > span:last-child { display: flex; flex-direction: column; }
.tcard figcaption strong { color: var(--ink); font-size: 15px; }
.tcard-avatar { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 999px; background: color-mix(in srgb, var(--c) 16%, #fff); color: var(--c); font-weight: 700; }

.trainers { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; margin: 0; padding: 0; list-style: none; }
.trainer { display: flex; gap: 16px; height: 100%; padding: 20px; border-radius: 22px; background: #fff; box-shadow: 0 0 0 1px var(--line); transition: transform .35s var(--ease), box-shadow .3s ease; }
.trainer:hover { transform: translateY(-4px); box-shadow: 0 0 0 1.5px var(--c), 0 24px 48px -30px rgba(6, 34, 58, .5); }
.trainer-avatar { display: grid; place-items: center; flex: none; width: 60px; height: 60px; border-radius: 20px; background: radial-gradient(120% 120% at 20% 10%, #12507F, var(--navy)); color: #fff; font-size: 22px; font-weight: 750; box-shadow: inset 0 -4px 0 var(--c); transition: transform .45s var(--spring); }
.trainer:hover .trainer-avatar { transform: rotate(-6deg) scale(1.06); }
.trainer-body { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.trainer-name { margin: 0; font: 700 18px/1.2 var(--font); }
.trainer-cert { display: inline-flex; align-items: center; gap: 6px; margin: 0; font-size: 13px; font-weight: 600; color: #2F7A12; }
.trainer-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0 0; padding: 0; list-style: none; }
.trainer-tags a, .trainer-tags span { display: inline-flex; align-items: center; min-height: 28px; padding: 0 10px; border-radius: 8px; background: #F6F9FC; color: #24384B; font-size: 13px; text-decoration: none; }
.trainer-tags a:hover { background: #E1EEF8; color: #033F69; }

@media (min-width: 640px) {
  .contact-grid, .pay-grid, .infolist, .trainers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tgrid { columns: 2; }
  .pillars { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1080px) {
  .contact-grid, .trainers { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tgrid { columns: 3; }
  .split-sec { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 64px; }
  .phero .fhero-inner { padding-top: 8px; padding-bottom: 72px; }
}
.thanks-grid--single { grid-template-columns: minmax(0, 1fr) !important; max-width: 720px; }
.fcall { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 16px; background: var(--navy); color: #fff; text-decoration: none; transition: transform .3s var(--ease); }
.fcall:hover { color: #fff; transform: translateY(-2px); }
.fcall > span { display: flex; flex-direction: column; }
.fcall > span > span { font-size: 13px; color: #9FC1DC; }
.fcall strong { font-size: 24px; font-weight: 750; }
.fcall .icon { color: var(--amber); }
.fcard-hint { margin: -8px 0 16px; }
.fintro { padding: 0 4px; }
.fsummary--after { order: 2; }
@media (min-width: 1080px) { .fsummary--after { order: 2; } }
.field .check { min-height: 52px; align-items: center; }
@media (max-width: 639px) {
  .tabs--dates { width: 100%; flex-wrap: nowrap; }
  .tabs--dates .tab { flex: 1 1 0; justify-content: center; padding: 0 8px; font-size: 14px; }
}

/* ══ Touch & small-screen polish (final QA) ══════════════════════════ */
.search-box .btn { flex: none; }
.link-btn, .next-more { min-height: 44px; }
@media (max-width: 1079px) {
  /* Finger-sized targets (≥ 44px) for footer and utility links */
  .foot nav { gap: 0; }
  .foot nav a, .foot .foot-phone { display: inline-flex; align-items: center; min-height: 44px; }
  .foot-base a { display: inline-flex; align-items: center; min-height: 44px; }
  .utility-phone { min-height: 40px; }
  .cat-courses a { min-height: 40px; }
}
@media (max-width: 639px) {
  /* Long button labels wrap instead of being cut off on narrow phones */
  .btn { white-space: normal; text-align: center; line-height: 1.25; padding-block: 10px; }
  .mbar .btn { padding-inline: 12px; font-size: 15px; }
}
/* Bigger hit areas for small links without moving the layout */
.session-meta a, .bcard-list a, .next-info a { padding-block: 11px; margin-block: -11px; }
.more-link a, .more-link a + a { display: inline-flex; align-items: center; min-height: 44px; }
.timeline a { white-space: nowrap; padding-block: 10px; margin-block: -10px; }
.policy-note { margin-top: 20px; font-size: 15.5px; overflow-wrap: anywhere; }
.ferrors ul { list-style: none; padding-left: 0; }
.ferrors li + li { border-top: 1px solid #F6D3D5; }
.ferrors a { display: block; padding: 10px 0; text-underline-offset: 3px; }
/* Phones: keep the top bar to one line, no floating back-to-top over content, stack menu buttons when tight */
@media (max-width: 639px) {
  .utility-note { display: none; }
  .utility-row { justify-content: flex-end; }
  .utility-phone { white-space: nowrap; }
  .to-top { display: none; }
}
@media (max-width: 359px) {
  .mnav-actions { flex-direction: column; }
}
/* New (wider) logo: keep menu labels on one line */
.navlink { white-space: nowrap; }
@media (min-width: 1080px) {
  .hdr-logo .logo-svg { height: 44px; }
  .hdr-row { gap: 16px; }
  .nav-list { gap: 6px; }
}
@media (min-width: 1080px) and (max-width: 1279px) {
  .hdr-logo .logo-svg { height: 38px; }
  .navlink { font-size: 14px; padding-inline: 2px; }
  .nav-list { gap: 2px; }
  .hdr-actions .btn-ghost { display: none; }
}

/* ══ Google reviews ═══════════════════════════════════════════════════ */
.gstars { display: inline-flex; gap: 1px; vertical-align: middle; }
.gstars svg { display: block; }
.gmark { flex: none; }
.gsummary { display: inline-flex; align-items: center; gap: 14px; padding: 14px 20px; border-radius: 18px; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 18px 36px -28px rgba(6, 34, 58, .45); color: var(--ink); text-decoration: none; transition: transform .3s var(--ease), box-shadow .3s ease; }
.gsummary:hover { color: var(--ink); transform: translateY(-2px); box-shadow: 0 0 0 1.5px var(--action), 0 22px 40px -26px rgba(6, 34, 58, .5); }
.gsummary-num { font-size: 40px; font-weight: 780; line-height: 1; color: var(--navy); }
.gsummary-meta { display: flex; flex-direction: column; gap: 4px; font-size: 14px; color: var(--muted); }
.greviews { display: flex; gap: 16px; margin: 0 -20px; padding: 4px 20px 12px; list-style: none; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.greviews > li { flex: 0 0 min(86%, 360px); scroll-snap-align: start; }
.gcard { display: flex; flex-direction: column; gap: 12px; height: 100%; margin: 0; padding: 22px; border-radius: 22px; background: #fff; box-shadow: 0 0 0 1px var(--line); }
.gcard-head { display: flex; align-items: center; gap: 12px; }
.gcard-avatar { flex: none; width: 40px; height: 40px; border-radius: 999px; object-fit: cover; }
.gcard-avatar--initial { display: grid; place-items: center; background: #E8F1FA; color: var(--action); font-weight: 700; }
.gcard-who { display: flex; flex-direction: column; min-width: 0; margin-right: auto; font-weight: 650; color: var(--ink); }
.gcard-who a { color: inherit; text-decoration: none; }
.gcard-who a:hover { text-decoration: underline; }
.gcard-who span { font-size: 13px; font-weight: 500; color: var(--subtle); }
.gcard-text { margin: 0; font-size: 15px; line-height: 1.65; color: var(--body); display: -webkit-box; -webkit-line-clamp: 8; -webkit-box-orient: vertical; overflow: hidden; }
.gattrib { margin: 0; font-size: 12.5px; color: var(--subtle); }
.gband { background: var(--tint); border-top: 1px solid var(--line); }
.gband-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; padding-top: 22px; padding-bottom: 22px; }
.gband-score { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; }
.gband-score:hover { color: var(--ink); }
.gband-num { font-size: 30px; font-weight: 780; line-height: 1; color: var(--navy); }
.gband-meta { display: flex; flex-direction: column; gap: 2px; font-size: 13px; color: var(--muted); }
.gband-quote { flex: 1 1 320px; margin: 0; font-size: 15px; line-height: 1.55; color: var(--body); font-style: italic; }
.gband-quote span { font-style: normal; font-weight: 600; color: var(--muted); white-space: nowrap; }
.gband-link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-weight: 650; text-decoration: none; white-space: nowrap; }
@media (min-width: 640px) { .greviews { margin: 0; padding-inline: 0; } .greviews > li { flex-basis: calc((100% - 32px) / 2.2); } }
@media (min-width: 1080px) { .greviews > li { flex-basis: calc((100% - 32px) / 3); } }
.greviews { scroll-padding-inline: 20px; }
@media (min-width: 640px) { .greviews { scroll-padding-inline: 0; } }
