/* ==========================================================================
   ABIFLO Technical Training Institute — public website styles (v4)
   Structure: 1 fonts · 2 tokens · 3 base · 4 layout · 5 components ·
              6 header/nav · 7 page sections · 8 forms · 9 footer ·
              10 popup/dialogs · 11 motion · 12 utilities
   ========================================================================== */

/* 1. Fonts (self-hosted, variable) ---------------------------------------- */
@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-var.woff2") format("woff2-variations"), url("../fonts/archivo-var.woff2") format("woff2");
  font-weight: 100 900; font-stretch: 62% 125%; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Public Sans";
  src: url("../fonts/public-sans-var.woff2") format("woff2-variations"), url("../fonts/public-sans-var.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Public Sans";
  src: url("../fonts/public-sans-var-italic.woff2") format("woff2-variations"), url("../fonts/public-sans-var-italic.woff2") format("woff2");
  font-weight: 100 900; font-style: italic; font-display: swap;
}

/* 2. Tokens ---------------------------------------------------------------- */
:root {
  /* Brand (overridable from Admin › Site via inline --primary/--secondary/--accent) */
  --primary: #0a1f44;
  --secondary: #0b55a8;
  --accent: #d81727;

  --navy: var(--primary);
  --navy-deep: color-mix(in srgb, var(--primary) 78%, #000);
  --navy-soft: color-mix(in srgb, var(--primary) 88%, #fff);
  --blue: var(--secondary);
  --blue-ink: color-mix(in srgb, var(--secondary) 82%, #000);
  --red: var(--accent);
  --red-ink: color-mix(in srgb, var(--accent) 86%, #000);

  /* Neutrals */
  --ink: #0f1b2d;
  --ink-2: #33425a;
  --muted: #5a687d;
  --line: #dfe4ec;
  --line-strong: #c5cedb;
  --bg: #f4f6f9;
  --bg-blue: #edf3fa;
  --surface: #ffffff;
  --on-dark: #ffffff;
  --on-dark-2: #c3cede;

  /* Status */
  --success: #157347; --success-bg: #e9f6ef;
  --warning: #915400; --warning-bg: #fff5e3;
  --error: #b9232a;   --error-bg: #fdeeee;
  --whatsapp: #128c4b;

  /* Type */
  --f-display: "Archivo", "Arial Narrow", Arial, sans-serif;
  --f-body: "Public Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --fs-h1: clamp(2.35rem, 1.55rem + 3.1vw, 4.1rem);
  --fs-h2: clamp(1.85rem, 1.35rem + 1.75vw, 2.75rem);
  --fs-h3: 1.25rem;
  --fs-lead: clamp(1.06rem, 1rem + .3vw, 1.2rem);
  --fs-body: 1.0625rem;
  --fs-sm: .9375rem;
  --fs-xs: .8125rem;

  /* Space, shape, depth */
  --gutter: clamp(16px, 4vw, 32px);
  --container: 1240px;
  --section: clamp(64px, 8vw, 112px);
  --r-sm: 4px;
  --r-md: 8px;
  --r-lg: 12px;
  --sh-1: 0 1px 2px rgba(10, 31, 68, .06), 0 1px 1px rgba(10, 31, 68, .04);
  --sh-2: 0 10px 28px -12px rgba(10, 31, 68, .22), 0 2px 4px rgba(10, 31, 68, .05);
  --sh-3: 0 28px 56px -20px rgba(10, 31, 68, .35);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 76px;
}

/* 3. Base ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--surface); color: var(--ink);
  font-family: var(--f-body); font-size: var(--fs-body); line-height: 1.65;
  font-feature-settings: "kern", "liga"; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img, picture, svg, video { display: block; max-width: 100%; }
img { height: auto; }
picture { width: 100%; height: 100%; }
picture > img { width: 100%; height: 100%; }
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--blue-ink); }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0; font-family: var(--f-display); font-stretch: 90%; color: var(--navy); text-wrap: balance; }
h1 { font-size: var(--fs-h1); line-height: 1.03; font-weight: 720; letter-spacing: -.022em; }
h2 { font-size: var(--fs-h2); line-height: 1.08; font-weight: 700; letter-spacing: -.018em; }
h3 { font-size: var(--fs-h3); line-height: 1.3; font-weight: 650; letter-spacing: -.005em; }
h4 { font-size: 1rem; line-height: 1.35; font-weight: 650; }
strong, b { font-weight: 650; }
small { font-size: var(--fs-xs); }
button { font: inherit; color: inherit; }
::selection { background: color-mix(in srgb, var(--secondary) 22%, #fff); color: var(--ink); }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--secondary) 70%, #fff); outline-offset: 2px; border-radius: 2px; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: var(--r-sm); font-weight: 600; text-decoration: none; transition: top .2s; }
.skip-link:focus { top: 12px; color: #fff; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.icon { flex: none; }

/* 4. Layout ---------------------------------------------------------------- */
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: calc(860px + var(--gutter) * 2); }
.section { padding-block: var(--section); }
.section--tint { background: var(--bg); }
.section--blue { background: var(--bg-blue); }
.section--navy { background: var(--navy); color: var(--on-dark-2); }
.section--navy h2, .section--navy h3 { color: #fff; }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }
.section + .section--flush { padding-top: 0; }
.stack > * + * { margin-top: 1rem; }

.section-head { display: grid; gap: 16px 64px; margin-bottom: clamp(32px, 4vw, 56px); }
.section-head__title { max-width: 680px; }
.section-head__title h2 { margin-top: 12px; }
.section-head__aside { max-width: 560px; color: var(--ink-2); font-size: var(--fs-lead); line-height: 1.6; }
.section-head__aside .link-arrow { margin-top: 16px; }
@media (min-width: 960px) {
  .section-head--split { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: end; }
}
.section--navy .section-head__aside { color: var(--on-dark-2); }

.split { display: grid; gap: clamp(32px, 5vw, 80px); align-items: center; }
@media (min-width: 960px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--wide-left { grid-template-columns: 1.15fr .85fr; }
  .split--wide-right { grid-template-columns: .85fr 1.15fr; }
  .split--top { align-items: start; }
}

/* 5. Components ------------------------------------------------------------ */

/* Eyebrow with the three-colour brand rule (taken from the vehicle livery) */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0; font-family: var(--f-body); font-size: var(--fs-xs); font-weight: 650; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); }
.eyebrow::before { content: ""; width: 26px; height: 3px; flex: none; background: linear-gradient(90deg, var(--navy) 0 33.3%, var(--blue) 33.3% 66.6%, var(--red) 66.6%); border-radius: 1px; }
.eyebrow--light { color: #9ec3f0; }
.eyebrow--light::before { background: linear-gradient(90deg, #fff 0 33.3%, #6aa6ea 33.3% 66.6%, var(--red) 66.6%); }
.eyebrow--plain::before { display: none; }

.lead { font-size: var(--fs-lead); line-height: 1.6; color: var(--ink-2); }
.muted { color: var(--muted); }

/* Buttons */
.btn {
  --btn-bg: var(--navy); --btn-fg: #fff; --btn-bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border: 1px solid var(--btn-bd); border-radius: var(--r-sm);
  background: var(--btn-bg); color: var(--btn-fg); font-family: var(--f-body); font-size: .96875rem; font-weight: 620; line-height: 1.2;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color .18s var(--ease), border-color .18s var(--ease), color .18s var(--ease), box-shadow .18s var(--ease), transform .18s var(--ease);
}
.btn:hover { color: var(--btn-fg); }
.btn:active { transform: translateY(1px); }
.btn .icon { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.btn:hover .icon-arrow { transform: translateX(3px); }
.btn--primary { --btn-bg: var(--red); }
.btn--primary:hover { --btn-bg: var(--red-ink); }
.btn--dark { --btn-bg: var(--navy); }
.btn--dark:hover { --btn-bg: var(--navy-deep); }
.btn--outline { --btn-bg: transparent; --btn-fg: var(--navy); --btn-bd: var(--line-strong); }
.btn--outline:hover { --btn-bd: var(--navy); --btn-bg: #fff; }
.btn--light { --btn-bg: #fff; --btn-fg: var(--navy); }
.btn--light:hover { --btn-bg: #eaf1fa; }
.btn--ghost-light { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: rgba(255, 255, 255, .42); }
.btn--ghost-light:hover { --btn-bd: #fff; --btn-bg: rgba(255, 255, 255, .08); }
.btn--whatsapp { --btn-bg: var(--whatsapp); }
.btn--whatsapp:hover { --btn-bg: #0d7a40; }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: var(--fs-sm); }
.btn--lg { min-height: 54px; padding: 0 26px; font-size: 1.03rem; }
.btn--block { width: 100%; }
.btn[disabled], .btn.is-loading { cursor: progress; opacity: .85; }
.btn .spinner { display: none; }
.btn.is-loading .spinner { display: block; animation: spin .8s linear infinite; }
.btn.is-loading .btn__label-idle, .btn.is-loading .icon-arrow, .btn.is-loading .icon-send { display: none; }
.btn__label-busy { display: none; }
.btn.is-loading .btn__label-busy { display: inline; }
@keyframes spin { to { transform: rotate(360deg); } }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* Text link with arrow */
.link-arrow { display: inline-flex; align-items: center; gap: 8px; color: var(--blue); font-weight: 620; text-decoration: none; }
.link-arrow .icon { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.link-arrow:hover { color: var(--blue-ink); text-decoration: underline; }
.link-arrow:hover .icon { transform: translateX(3px); }
.section--navy .link-arrow { color: #fff; }

/* Check list */
.checklist { list-style: none; display: grid; gap: 12px; }
.checklist li { position: relative; padding-left: 30px; color: var(--ink-2); line-height: 1.55; }
.checklist li::before { content: ""; position: absolute; left: 0; top: .2em; width: 19px; height: 19px; border-radius: 50%; background: var(--bg-blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b55a8' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 11px no-repeat; }
.checklist--cols { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px 32px; }
.section--navy .checklist li { color: var(--on-dark-2); }
.section--navy .checklist li::before { background-color: rgba(255, 255, 255, .1); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); }

/* Media frame */
.media { position: relative; overflow: hidden; border-radius: var(--r-md); background: #dfe5ee; }
.media img { width: 100%; height: 100%; object-fit: cover; }
.media--4x3 { aspect-ratio: 4 / 3; }
.media--3x2 { aspect-ratio: 3 / 2; }
.media--16x10 { aspect-ratio: 16 / 10; }
.media--portrait { aspect-ratio: 4 / 5; }
.media--square { aspect-ratio: 1; }
.media-caption { position: absolute; left: 12px; bottom: 12px; right: 12px; display: flex; align-items: center; gap: 8px; width: fit-content; max-width: calc(100% - 24px); padding: 7px 12px; border-radius: var(--r-sm); background: rgba(10, 22, 44, .78); color: #fff; font-size: var(--fs-xs); font-weight: 550; line-height: 1.35; backdrop-filter: blur(6px); }
.media-caption .icon { width: 15px; height: 15px; opacity: .85; }

/* Notice */
.notice { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: var(--r-md); border: 1px solid #f1dcb4; background: var(--warning-bg); color: #5c3b06; font-size: var(--fs-sm); line-height: 1.55; }
.notice .icon { color: var(--warning); margin-top: 1px; }
.notice--info { border-color: #cfe0f4; background: var(--bg-blue); color: var(--ink-2); }
.notice--info .icon { color: var(--blue); }

/* Status alert (form results) */
.alert { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: var(--r-md); border: 1px solid; font-size: var(--fs-sm); line-height: 1.55; margin-bottom: 20px; }
.alert .icon { margin-top: 1px; }
.alert--error { background: var(--error-bg); border-color: #f2c5c7; color: #7d171c; }
.alert--error .icon { color: var(--error); }
.alert--success { background: var(--success-bg); border-color: #bfe3cf; color: #0f4f31; }
.alert--success .icon { color: var(--success); }

/* Status dot */
.status-dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: #3ddc84; flex: none; }
.status-dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid #3ddc84; opacity: 0; animation: pulse 2.4s var(--ease) infinite; }
@keyframes pulse { 0% { transform: scale(.6); opacity: .7; } 100% { transform: scale(1.5); opacity: 0; } }

/* Breadcrumb */
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 0; font-size: var(--fs-xs); color: var(--muted); }
.breadcrumb li { display: inline-flex; align-items: center; }
.breadcrumb li + li::before { content: ""; width: 5px; height: 5px; margin: 0 10px; border-right: 1.5px solid currentColor; border-top: 1.5px solid currentColor; transform: rotate(45deg); opacity: .6; }
.breadcrumb a { color: var(--ink-2); text-decoration: none; }
.breadcrumb a:hover { color: var(--blue); text-decoration: underline; }
.breadcrumb [aria-current] { color: var(--muted); max-width: 46ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Accordion (FAQ) */
.accordion { border-top: 1px solid var(--line); }
.accordion__item { border-bottom: 1px solid var(--line); }
.accordion__trigger { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 24px; padding: 22px 0; border: 0; background: none; text-align: left; cursor: pointer; font-family: var(--f-display); font-stretch: 92%; font-size: 1.125rem; font-weight: 620; line-height: 1.35; color: var(--navy); }
.accordion__trigger:hover { color: var(--blue); }
.accordion__icon { position: relative; width: 32px; height: 32px; flex: none; border: 1px solid var(--line-strong); border-radius: 50%; transition: background-color .2s, border-color .2s; }
.accordion__icon::before, .accordion__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.75px; background: currentColor; transform: translate(-50%, -50%); transition: transform .25s var(--ease); }
.accordion__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.accordion__trigger[aria-expanded="true"] .accordion__icon { background: var(--navy); border-color: var(--navy); color: #fff; }
.accordion__trigger[aria-expanded="true"] .accordion__icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.accordion__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s var(--ease); }
.accordion__panel > div { overflow: hidden; }
.accordion__panel p { padding: 0 56px 24px 0; color: var(--ink-2); max-width: 760px; }
.accordion__item.is-open .accordion__panel { grid-template-rows: 1fr; }
.no-js .accordion__panel { grid-template-rows: 1fr; }

/* Facts strip (trust indicators) */
.facts { display: grid; grid-template-columns: repeat(2, 1fr); border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); }
.fact { padding: 20px 22px; border-left: 1px solid var(--line); border-top: 1px solid var(--line); }
.fact:nth-child(2n+1) { border-left: 0; }
.fact:nth-child(-n+2) { border-top: 0; }
.fact__value { display: block; font-family: var(--f-display); font-stretch: 88%; font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); font-weight: 700; line-height: 1.1; color: var(--navy); letter-spacing: -.01em; }
.fact__label { display: block; margin-top: 6px; color: var(--muted); font-size: var(--fs-sm); line-height: 1.4; }
@media (min-width: 900px) {
  .facts { grid-template-columns: repeat(4, 1fr); }
  .fact { border-top: 0; }
  .fact:nth-child(2n+1) { border-left: 1px solid var(--line); }
  .fact:first-child { border-left: 0; }
}

/* Numbered steps (process) */
.steps { list-style: none; display: grid; gap: 0; counter-reset: step; }
.step { position: relative; display: grid; grid-template-columns: 48px 1fr; gap: 0 20px; padding-bottom: 32px; }
.step:last-child { padding-bottom: 0; }
.step::before { counter-increment: step; content: counter(step, decimal-leading-zero); display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-strong); background: var(--surface); font-family: var(--f-display); font-stretch: 88%; font-weight: 700; color: var(--navy); font-size: 1rem; position: relative; z-index: 1; }
.step::after { content: ""; position: absolute; left: 24px; top: 48px; bottom: 0; width: 1px; background: var(--line-strong); }
.step:last-child::after { display: none; }
.step h3 { margin-top: 10px; margin-bottom: 6px; font-size: 1.125rem; }
.step p { color: var(--ink-2); font-size: var(--fs-sm); line-height: 1.6; }
@media (min-width: 1000px) {
  .steps--row { grid-auto-flow: column; grid-auto-columns: 1fr; gap: 28px; }
  .steps--row .step { grid-template-columns: 1fr; padding-bottom: 0; }
  .steps--row .step::after { left: 56px; right: -28px; top: 24px; bottom: auto; width: auto; height: 1px; }
  .steps--row .step h3 { margin-top: 20px; }
}
.section--navy .step::before { background: transparent; border-color: rgba(255, 255, 255, .3); color: #fff; }
.section--navy .step::after { background: rgba(255, 255, 255, .2); }
.section--navy .step p { color: var(--on-dark-2); }

/* Cards (used deliberately, not everywhere) */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: clamp(22px, 2.5vw, 32px); }
.card--tint { background: var(--bg); border-color: transparent; }
.card h3 + p, .card h3 + .checklist { margin-top: 10px; }
.card .eyebrow + h3 { margin-top: 12px; }

/* Icon badge */
.icon-badge { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: var(--r-sm); background: var(--bg-blue); color: var(--blue); }
.icon-badge .icon { width: 22px; height: 22px; }
.icon-badge--navy { background: var(--navy); color: #fff; }
.icon-badge--sm { width: 36px; height: 36px; }
.icon-badge--sm .icon { width: 18px; height: 18px; }

/* 6. Header & navigation ---------------------------------------------------- */
.utility-bar { background: var(--navy-deep); color: var(--on-dark-2); font-size: var(--fs-xs); }
.utility-bar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.utility-bar__status { display: flex; align-items: center; gap: 10px; min-width: 0; }
.utility-bar__status strong { color: #fff; font-weight: 650; letter-spacing: .04em; white-space: nowrap; }
.utility-bar__status span.text { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.utility-bar__status a { color: #fff; font-weight: 600; white-space: nowrap; text-decoration: none; display: inline-flex; align-items: center; gap: 4px; }
.utility-bar__status a:hover { text-decoration: underline; }
.utility-bar__links { display: flex; align-items: center; gap: 22px; }
.utility-bar__links a, .utility-bar__links span { display: inline-flex; align-items: center; gap: 7px; color: var(--on-dark-2); text-decoration: none; white-space: nowrap; }
.utility-bar__links a:hover { color: #fff; }
.utility-bar__links .icon { width: 15px; height: 15px; opacity: .8; }
@media (max-width: 1100px) { .utility-bar__links .u-hours, .utility-bar__links .u-email { display: none; } }
@media (max-width: 720px) { .utility-bar__status span.text, .utility-bar__links { display: none; } .utility-bar__inner { justify-content: center; } }

.site-header { position: sticky; top: 0; z-index: 80; background: rgba(255, 255, 255, .97); border-bottom: 1px solid var(--line); transition: box-shadow .25s var(--ease); }
@supports (backdrop-filter: blur(8px)) { .site-header { background: rgba(255, 255, 255, .9); backdrop-filter: saturate(1.4) blur(12px); } }
.site-header.is-scrolled { box-shadow: 0 6px 24px -14px rgba(10, 31, 68, .35); }
.site-header__inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.brand { display: flex; align-items: center; flex: none; margin-right: auto; }
.brand img { width: auto; height: 54px; }
.nav { display: none; }
.nav__list { list-style: none; display: flex; align-items: center; gap: 2px; }
.nav__link { position: relative; display: inline-flex; align-items: center; gap: 5px; height: var(--header-h); padding: 0 12px; border: 0; background: none; color: var(--ink); font-size: .9375rem; font-weight: 560; text-decoration: none; cursor: pointer; white-space: nowrap; }
.nav__link::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: -1px; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .22s var(--ease); }
.nav__link:hover { color: var(--blue); }
.nav__link:hover::after, .nav__link.is-active::after, .nav__item--mega.is-open > .nav__link::after { transform: scaleX(1); }
.nav__link.is-active { color: var(--navy); font-weight: 650; }
.nav__link .icon { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.nav__item--mega.is-open > .nav__link .icon { transform: rotate(180deg); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.header-actions .btn { min-height: 44px; }
.header-phone { display: none; align-items: center; gap: 8px; color: var(--navy); font-weight: 620; font-size: var(--fs-sm); text-decoration: none; white-space: nowrap; }
.header-phone .icon { width: 18px; height: 18px; color: var(--blue); }
.nav-toggle { display: inline-grid; place-items: center; width: 46px; height: 46px; border: 1px solid var(--line-strong); border-radius: var(--r-sm); background: #fff; color: var(--navy); cursor: pointer; }
.nav-toggle .icon { width: 22px; height: 22px; }

/* Mega menu */
.nav__item--mega { position: static; }
.mega { position: absolute; left: 0; right: 0; top: 100%; visibility: hidden; opacity: 0; transform: translateY(-6px); transition: opacity .2s var(--ease), transform .2s var(--ease), visibility 0s .2s; background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); box-shadow: 0 28px 48px -28px rgba(10, 31, 68, .35); }
.nav__item--mega.is-open .mega { visibility: visible; opacity: 1; transform: none; transition: opacity .2s var(--ease), transform .2s var(--ease); }
.mega__inner { display: grid; grid-template-columns: 300px 1fr; gap: 48px; padding-block: 36px 40px; }
.mega__intro { padding-right: 40px; border-right: 1px solid var(--line); }
.mega__intro h2 { font-size: 1.5rem; margin: 12px 0 10px; }
.mega__intro p { color: var(--muted); font-size: var(--fs-sm); margin-bottom: 20px; }
.mega__grid { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px 20px; align-content: start; }
.mega__link { display: flex; gap: 14px; align-items: flex-start; padding: 12px; margin: 0 -12px; border-radius: var(--r-md); text-decoration: none; color: var(--ink); transition: background-color .15s; }
.mega__link:hover { background: var(--bg); color: var(--ink); }
.mega__link:hover strong { color: var(--blue); }
.mega__link strong { display: block; font-size: .9375rem; font-weight: 640; line-height: 1.3; color: var(--navy); }
.mega__link small { display: block; margin-top: 3px; color: var(--muted); font-size: var(--fs-xs); line-height: 1.4; }

@media (min-width: 1180px) {
  .nav { display: block; }
  .nav-toggle { display: none; }
  .brand { margin-right: 8px; }
  .nav { margin-right: auto; }
}
@media (min-width: 1360px) { .header-phone { display: inline-flex; } .nav__link { padding: 0 14px; } .nav__link::after { left: 14px; right: 14px; } }
@media (max-width: 520px) {
  :root { --header-h: 66px; }
  .brand img { height: 46px; }
}

/* Mobile drawer */
.drawer { position: fixed; inset: 0; z-index: 120; visibility: hidden; }
.drawer.is-open { visibility: visible; }
.drawer__backdrop { position: absolute; inset: 0; border: 0; background: rgba(6, 16, 34, .5); opacity: 0; transition: opacity .25s var(--ease); cursor: pointer; }
.drawer.is-open .drawer__backdrop { opacity: 1; }
.drawer__panel { position: absolute; top: 0; right: 0; bottom: 0; display: flex; flex-direction: column; width: min(420px, 100%); background: #fff; transform: translateX(100%); transition: transform .3s var(--ease); box-shadow: var(--sh-3); }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 0 16px 0 20px; height: var(--header-h); border-bottom: 1px solid var(--line); flex: none; }
.drawer__head img { height: 44px; width: auto; }
.drawer__body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 8px 20px 24px; }
.drawer__nav { list-style: none; }
.drawer__nav > li { border-bottom: 1px solid var(--line); }
.drawer__link { display: flex; width: 100%; align-items: center; justify-content: space-between; min-height: 56px; padding: 0; border: 0; background: none; color: var(--navy); font-family: var(--f-display); font-stretch: 92%; font-size: 1.125rem; font-weight: 620; text-decoration: none; text-align: left; cursor: pointer; }
.drawer__link.is-active { color: var(--red); }
.drawer__link .icon { width: 20px; height: 20px; color: var(--muted); transition: transform .2s; }
.drawer__link[aria-expanded="true"] .icon { transform: rotate(180deg); }
.drawer__sub { list-style: none; display: none; padding: 0 0 14px; }
.drawer__sub.is-open { display: grid; gap: 2px; }
.drawer__sub a { display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 6px 10px; margin: 0 -10px; border-radius: var(--r-sm); color: var(--ink-2); text-decoration: none; font-size: var(--fs-sm); font-weight: 550; }
.drawer__sub a:hover { background: var(--bg); color: var(--navy); }
.drawer__sub .icon { width: 18px; height: 18px; color: var(--blue); }
.drawer__foot { flex: none; display: grid; gap: 10px; padding: 16px 20px calc(16px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--bg); }
.drawer__contact { display: grid; gap: 6px; margin-bottom: 6px; font-size: var(--fs-sm); }
.drawer__contact a { display: inline-flex; align-items: center; gap: 10px; color: var(--ink-2); text-decoration: none; }
.drawer__contact .icon { width: 17px; height: 17px; color: var(--blue); }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: var(--r-sm); background: transparent; color: var(--navy); cursor: pointer; }
.icon-btn:hover { background: var(--bg); }
body.has-overlay { overflow: hidden; }

/* 7. Page sections ----------------------------------------------------------- */

/* Home hero */
.hero { position: relative; padding-block: clamp(40px, 6vw, 88px) clamp(48px, 6vw, 80px); background: linear-gradient(180deg, var(--bg) 0%, #fff 100%); overflow: hidden; }
.hero__grid { display: grid; gap: clamp(40px, 5vw, 72px); align-items: center; }
.hero__status { display: inline-flex; align-items: center; gap: 10px; padding: 6px 12px 6px 10px; border: 1px solid var(--line); border-radius: var(--r-sm); background: #fff; font-size: var(--fs-xs); font-weight: 600; color: var(--ink-2); box-shadow: var(--sh-1); }
.hero__status .status-dot { background: #1aa260; }
.hero__status .status-dot::after { border-color: #1aa260; }
.hero h1 { margin-top: 22px; max-width: 14ch; }
.hero__text { margin-top: 22px; max-width: 56ch; font-size: var(--fs-lead); line-height: 1.6; color: var(--ink-2); }
.hero .btn-row { margin-top: 32px; }
.hero__points { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--ink-2); font-size: var(--fs-sm); }
.hero__points li { display: inline-flex; align-items: center; gap: 8px; }
.hero__points .icon { width: 18px; height: 18px; color: var(--blue); }
.hero__visual { position: relative; }
.hero__main { aspect-ratio: 5 / 4; border-radius: var(--r-lg); box-shadow: var(--sh-3); }
.hero__inset { position: absolute; left: -32px; bottom: -36px; width: 42%; aspect-ratio: 1; border: 6px solid #fff; border-radius: var(--r-lg); box-shadow: var(--sh-2); }
.hero__badge { position: absolute; right: -14px; top: 28px; display: flex; gap: 12px; align-items: center; padding: 12px 16px; border-radius: var(--r-md); background: #fff; box-shadow: var(--sh-2); max-width: 250px; }
.hero__badge strong { display: block; font-size: var(--fs-sm); color: var(--navy); line-height: 1.25; }
.hero__badge small { display: block; color: var(--muted); line-height: 1.35; }
.hero .facts { margin-top: clamp(56px, 7vw, 88px); }
@media (min-width: 1000px) { .hero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr); } }
@media (max-width: 999px) {
  .hero__visual { margin-right: 0; padding-left: 0; }
  .hero__inset { left: 12px; bottom: -28px; width: 34%; border-width: 4px; }
  .hero__badge { right: 12px; top: auto; bottom: -24px; }
}
@media (max-width: 560px) {
  .hero__inset { display: none; }
  .hero__badge { position: relative; right: auto; bottom: auto; margin: -28px 12px 0; max-width: none; }
  .hero__main { aspect-ratio: 4 / 3; }
}

/* School index (home) */
.school-index { list-style: none; display: grid; border-top: 1px solid var(--line); }
.school-index__item { border-bottom: 1px solid var(--line); }
.school-index__link { display: grid; grid-template-columns: 44px 1fr auto; gap: 18px; align-items: center; padding: 20px 4px; text-decoration: none; color: inherit; transition: background-color .2s, padding .25s var(--ease); }
.school-index__link:hover { background: var(--bg); padding-inline: 16px; }
.school-index__name { display: block; font-family: var(--f-display); font-stretch: 90%; font-size: 1.1875rem; font-weight: 650; line-height: 1.3; color: var(--navy); }
.school-index__programs { display: block; margin-top: 4px; color: var(--muted); font-size: var(--fs-sm); line-height: 1.5; }
.school-index__arrow { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-strong); color: var(--navy); transition: background-color .2s, color .2s, border-color .2s; }
.school-index__arrow .icon { width: 18px; height: 18px; }
.school-index__link:hover .school-index__arrow { background: var(--navy); border-color: var(--navy); color: #fff; }
.school-index__link:hover .school-index__name { color: var(--blue); }
.school-index-aside { position: sticky; top: calc(var(--header-h) + 32px); }
.school-index-aside .media { margin-top: 32px; }
@media (max-width: 600px) { .school-index__link { grid-template-columns: 40px 1fr; } .school-index__arrow { display: none; } }

/* Pathway cards (home featured) */
.pathways { display: grid; gap: 24px; }
@media (min-width: 720px) { .pathways { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .pathways { grid-template-columns: repeat(4, 1fr); } }
.pathway { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; transition: box-shadow .25s var(--ease), transform .25s var(--ease), border-color .25s; }
.pathway:hover { box-shadow: var(--sh-2); transform: translateY(-3px); border-color: var(--line-strong); }
.pathway .media { border-radius: 0; aspect-ratio: 16 / 11; }
.pathway .media img { transition: transform .6s var(--ease); }
.pathway:hover .media img { transform: scale(1.04); }
.pathway__body { display: flex; flex-direction: column; flex: 1; padding: 22px 22px 24px; }
.pathway__kicker { font-size: var(--fs-xs); font-weight: 650; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); }
.pathway h3 { margin-top: 8px; font-size: 1.1875rem; }
.pathway p { margin-top: 10px; color: var(--muted); font-size: var(--fs-sm); line-height: 1.6; }
.pathway .link-arrow { margin-top: auto; padding-top: 18px; font-size: var(--fs-sm); }
.pathway__title-link { color: inherit; text-decoration: none; }
.pathway__title-link::after { content: ""; position: absolute; inset: 0; }
.pathway { position: relative; }
.pathway .link-arrow { position: relative; z-index: 1; }

/* Method grid (how we train) */
.method { display: grid; gap: 32px clamp(32px, 5vw, 80px); align-items: start; }
@media (min-width: 1000px) { .method { grid-template-columns: .9fr 1.1fr; } }
.method__photo { aspect-ratio: 4 / 3.2; }
.method__list { list-style: none; display: grid; border-top: 1px solid rgba(255, 255, 255, .16); }
.method__list li { display: flex; gap: 18px; align-items: baseline; padding: 17px 16px 17px 0; font-size: 1.0625rem; border-bottom: 1px solid rgba(255, 255, 255, .16); color: #e6ecf5; font-weight: 520; }
.method__list li span { font-family: var(--f-display); font-stretch: 88%; font-weight: 700; color: #6aa6ea; font-size: var(--fs-sm); min-width: 22px; }
.section--navy .lead { color: var(--on-dark-2); }

/* Offer panel (Computer Packages) */
.offer { display: grid; overflow: hidden; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--sh-2); }
@media (min-width: 900px) { .offer { grid-template-columns: 340px 1fr; } }
@media (min-width: 1100px) { .offer { grid-template-columns: 340px 1fr 320px; } }
.offer__price { position: relative; padding: 36px 32px; background: var(--navy); color: var(--on-dark-2); display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
.offer__price::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: linear-gradient(90deg, var(--blue) 0 50%, var(--red) 50%); }
.offer__amount { font-family: var(--f-display); font-stretch: 86%; color: #fff; font-weight: 750; font-size: clamp(2.6rem, 2rem + 2vw, 3.4rem); line-height: 1; letter-spacing: -.02em; }
.offer__amount small { display: block; margin-bottom: 8px; font-family: var(--f-body); font-size: var(--fs-xs); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #9ec3f0; }
.offer__bonus { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: var(--r-sm); background: rgba(255, 255, 255, .08); color: #fff; font-weight: 600; font-size: var(--fs-sm); width: fit-content; }
.offer__bonus .icon { width: 17px; height: 17px; color: #ffb3b8; }
.offer__body { padding: 36px clamp(24px, 3vw, 40px); }
.offer__body h3 { font-size: clamp(1.4rem, 1.2rem + .6vw, 1.75rem); }
.offer__body p { margin-top: 10px; color: var(--ink-2); }
.offer__body .checklist { margin-top: 22px; }
.offer__body .btn-row { margin-top: 28px; }
.offer__media { display: none; }
@media (min-width: 1100px) { .offer__media { display: block; border-radius: 0; height: 100%; } }

/* Audience split (individuals / organisations) */
.audience { display: grid; gap: 24px; }
@media (min-width: 900px) { .audience { grid-template-columns: 1fr 1fr; } }
.audience__panel { display: flex; flex-direction: column; padding: clamp(28px, 3.5vw, 44px); border-radius: var(--r-lg); border: 1px solid var(--line); background: #fff; }
.audience__panel--dark { background: var(--navy); border-color: var(--navy); color: var(--on-dark-2); }
.audience__panel--dark h3 { color: #fff; }
.audience__panel h3 { margin-top: 18px; font-size: clamp(1.4rem, 1.2rem + .6vw, 1.75rem); }
.audience__panel > p { margin-top: 12px; }
.audience__panel .checklist { margin-top: 22px; margin-bottom: 28px; }
.audience__panel .btn-row { margin-top: auto; }
.audience__panel--dark .checklist li { color: var(--on-dark-2); }
.audience__panel--dark .checklist li::before { background-color: rgba(255, 255, 255, .1); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); }

/* Campus mosaic */
.mosaic { display: grid; gap: 16px; grid-template-columns: 1fr 1fr; }
.mosaic .media { aspect-ratio: 4 / 3; }
@media (min-width: 900px) {
  .mosaic { grid-template-columns: 1.4fr 1fr 1fr; grid-template-rows: 1fr 1fr; height: clamp(440px, 42vw, 560px); }
  .mosaic .media { aspect-ratio: auto; }
  .mosaic .media:first-child { grid-row: span 2; }
}
@media (max-width: 899px) { .mosaic .media:first-child { grid-column: span 2; aspect-ratio: 16 / 10; } .mosaic .media:nth-child(n+4) { display: none; } }

/* News cards */
.news-grid { display: grid; gap: 28px; }
@media (min-width: 720px) { .news-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .news-grid { grid-template-columns: repeat(3, 1fr); } }
.news-card { position: relative; display: flex; flex-direction: column; }
.news-card .media { aspect-ratio: 16 / 10; }
.news-card .media img { transition: transform .6s var(--ease); }
.news-card:hover .media img { transform: scale(1.035); }
.news-card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin-top: 18px; color: var(--muted); font-size: var(--fs-xs); font-weight: 560; }
.news-card__meta .tag { color: var(--blue); font-weight: 650; letter-spacing: .06em; text-transform: uppercase; }
.news-card__meta .sep { width: 3px; height: 3px; border-radius: 50%; background: currentColor; opacity: .6; }
.news-card h3 { margin-top: 10px; font-size: 1.1875rem; }
.news-card h3 a { color: inherit; text-decoration: none; }
.news-card h3 a::after { content: ""; position: absolute; inset: 0; }
.news-card:hover h3 a { color: var(--blue); }
.news-card p { margin-top: 10px; color: var(--muted); font-size: var(--fs-sm); line-height: 1.6; }
.news-card__more { margin-top: 14px; font-size: var(--fs-sm); }
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 3px 8px; border-radius: var(--r-sm); font-size: .75rem; font-weight: 650; letter-spacing: .04em; text-transform: uppercase; background: var(--bg); color: var(--ink-2); border: 1px solid var(--line); }
.badge--past { background: #f1f2f4; color: #4c5566; }
.badge--upcoming { background: var(--success-bg); color: var(--success); border-color: #c4e5d2; }

/* FAQ block on home */
.faq-layout { display: grid; gap: 40px clamp(40px, 6vw, 96px); }
@media (min-width: 1000px) { .faq-layout { grid-template-columns: .8fr 1.2fr; } }
.help-card { margin-top: 32px; padding: 24px; border-radius: var(--r-md); background: var(--bg); }
.help-card h3 { font-size: 1.0625rem; }
.help-card p { margin-top: 6px; color: var(--muted); font-size: var(--fs-sm); }
.help-card .btn-row { margin-top: 16px; }

/* Inner page header */
.page-head { position: relative; padding-block: clamp(28px, 4vw, 48px) clamp(48px, 6vw, 80px); background: var(--bg); border-bottom: 1px solid var(--line); }
.page-head__grid { display: grid; gap: 32px clamp(32px, 5vw, 72px); align-items: center; margin-top: clamp(24px, 3vw, 40px); }
.page-head h1 { margin-top: 16px; font-size: clamp(2.1rem, 1.5rem + 2.4vw, 3.4rem); max-width: 18ch; }
.page-head__text { margin-top: 18px; max-width: 60ch; }
.page-head .btn-row { margin-top: 28px; }
.page-head__media { aspect-ratio: 16 / 11; border-radius: var(--r-lg); box-shadow: var(--sh-2); }
@media (min-width: 1000px) { .page-head__grid--media { grid-template-columns: 1.05fr .95fr; } }
.page-head--plain .page-head__grid { margin-top: clamp(24px, 3vw, 36px); }
.page-head--plain h1 { max-width: 22ch; }
.page-head__meta { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 28px; color: var(--ink-2); font-size: var(--fs-sm); }
.page-head__meta li { display: inline-flex; align-items: center; gap: 8px; }
.page-head__meta .icon { width: 18px; height: 18px; color: var(--blue); }
.page-head__meta a { color: inherit; text-decoration: none; font-weight: 600; }
.page-head__meta a:hover { color: var(--blue); text-decoration: underline; }

/* Course catalogue */
.catalogue-tools { display: grid; gap: 16px; align-items: center; margin-bottom: 32px; }
@media (min-width: 900px) { .catalogue-tools { grid-template-columns: 1fr auto; } }
.search-field { position: relative; }
.search-field .icon { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.search-field input { width: 100%; height: 54px; padding: 0 16px 0 48px; border: 1px solid var(--line-strong); border-radius: var(--r-sm); background: #fff; font: inherit; font-size: 1rem; color: var(--ink); transition: border-color .15s, box-shadow .15s; }
.search-field input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px color-mix(in srgb, var(--secondary) 18%, transparent); }
.catalogue-count { color: var(--muted); font-size: var(--fs-sm); }
.catalogue { list-style: none; display: grid; gap: 20px; }
.school-row { display: grid; overflow: hidden; border: 1px solid var(--line); border-radius: var(--r-md); background: #fff; transition: box-shadow .25s var(--ease), border-color .25s; }
.school-row:hover { box-shadow: var(--sh-2); border-color: var(--line-strong); }
.school-row .media { border-radius: 0; aspect-ratio: 16 / 9; }
.school-row__body { padding: clamp(22px, 2.6vw, 32px); display: grid; gap: 18px; }
.school-row__head { display: flex; gap: 16px; align-items: flex-start; }
.school-row__head h2 { font-size: clamp(1.3rem, 1.15rem + .5vw, 1.6rem); line-height: 1.2; }
.school-row__head h2 a { color: inherit; text-decoration: none; }
.school-row__head h2 a:hover { color: var(--blue); }
.school-row__badge { display: block; margin-top: 4px; color: var(--muted); font-size: var(--fs-sm); }
.school-row__short { color: var(--ink-2); }
.school-row__programs { list-style: none; display: grid; gap: 8px 24px; padding-top: 18px; border-top: 1px solid var(--line); }
.school-row__programs li { position: relative; padding-left: 16px; font-size: var(--fs-sm); color: var(--ink); line-height: 1.45; }
.school-row__programs li::before { content: ""; position: absolute; left: 0; top: .55em; width: 6px; height: 6px; background: var(--red); border-radius: 1px; }
.school-row__foot { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between; }
.school-row__count { color: var(--muted); font-size: var(--fs-sm); }
@media (min-width: 640px) { .school-row__programs { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) {
  .school-row { grid-template-columns: 340px 1fr; }
  .school-row .media { aspect-ratio: auto; height: 100%; min-height: 260px; }
}
.empty-state { display: none; padding: 48px 24px; text-align: center; border: 1px dashed var(--line-strong); border-radius: var(--r-md); background: var(--bg); }
.empty-state.is-visible { display: block; }
.empty-state .icon-badge { margin: 0 auto 16px; }
.empty-state h3 { font-size: 1.125rem; }
.empty-state p { margin-top: 6px; color: var(--muted); }
.empty-state .btn-row { justify-content: center; margin-top: 18px; }

/* Goals grid (courses page) */
.goals { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
@media (min-width: 700px) { .goals { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .goals { grid-template-columns: repeat(4, 1fr); } }
.goal { padding: 28px 26px 30px; background: #fff; }
.goal h3 { margin-top: 18px; font-size: 1.125rem; }
.goal p { margin-top: 8px; color: var(--muted); font-size: var(--fs-sm); line-height: 1.6; }

/* School (course detail) page */
.school-hero { padding-block: clamp(28px, 4vw, 48px) 0; background: var(--bg); }
.school-hero__grid { display: grid; gap: 32px clamp(32px, 5vw, 72px); margin-top: clamp(24px, 3vw, 40px); align-items: end; }
@media (min-width: 1000px) { .school-hero__grid { grid-template-columns: 1fr 1fr; } }
.school-hero__copy { padding-bottom: clamp(32px, 5vw, 72px); }
.school-hero__icon { margin-bottom: 20px; }
.school-hero h1 { font-size: clamp(2.1rem, 1.5rem + 2.4vw, 3.4rem); margin-top: 14px; max-width: 16ch; }
.school-hero .lead { margin-top: 18px; max-width: 54ch; }
.school-hero .btn-row { margin-top: 28px; }
.school-hero__media { aspect-ratio: 4 / 3; border-radius: var(--r-lg) var(--r-lg) 0 0; }
@media (max-width: 999px) { .school-hero__media { border-radius: var(--r-lg); margin-bottom: 40px; } }
.school-layout { display: grid; gap: 48px clamp(40px, 5vw, 80px); align-items: start; }
@media (min-width: 1040px) { .school-layout { grid-template-columns: minmax(0, 1fr) 360px; } }
.school-section + .school-section { margin-top: clamp(48px, 6vw, 72px); padding-top: clamp(48px, 6vw, 72px); border-top: 1px solid var(--line); }
.school-section h2 { font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem); margin-top: 12px; }
.school-section > p, .school-section .lead { margin-top: 16px; }
.program-list { list-style: none; display: grid; gap: 16px; margin-top: 28px; counter-reset: prog; }
@media (min-width: 720px) { .program-list { grid-template-columns: 1fr 1fr; } }
.program { position: relative; padding: 24px 24px 26px; border: 1px solid var(--line); border-radius: var(--r-md); background: #fff; }
.program::before { counter-increment: prog; content: counter(prog, decimal-leading-zero); display: block; margin-bottom: 14px; font-family: var(--f-display); font-stretch: 88%; font-weight: 700; color: var(--red); font-size: var(--fs-sm); letter-spacing: .04em; }
.program h3 { font-size: 1.125rem; }
.program p { margin-top: 8px; color: var(--muted); font-size: var(--fs-sm); line-height: 1.6; }
.two-lists { display: grid; gap: 32px 48px; margin-top: 28px; }
@media (min-width: 720px) { .two-lists { grid-template-columns: 1fr 1fr; } }
.two-lists h3 { font-size: 1.0625rem; margin-bottom: 16px; display: flex; align-items: center; gap: 10px; }
.two-lists h3 .icon { color: var(--blue); width: 20px; height: 20px; }
.def-grid { display: grid; gap: 24px; margin-top: 28px; }
@media (min-width: 720px) { .def-grid { grid-template-columns: 1fr 1fr; } }
.def-grid dt { font-size: var(--fs-xs); font-weight: 650; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.def-grid dd { margin: 8px 0 0; color: var(--ink-2); }
.glance { position: sticky; top: calc(var(--header-h) + 24px); border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; box-shadow: var(--sh-2); overflow: hidden; }
.glance__head { padding: 22px 24px; background: var(--navy); color: #fff; }
.glance__head .eyebrow { color: #9ec3f0; }
.glance__head .eyebrow::before { background: linear-gradient(90deg, #fff 0 33.3%, #6aa6ea 33.3% 66.6%, var(--red) 66.6%); }
.glance__head h2 { margin-top: 10px; color: #fff; font-size: 1.375rem; }
.glance dl { margin: 0; padding: 8px 24px; }
.glance dl > div { display: grid; gap: 4px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.glance dl > div:last-child { border-bottom: 0; }
.glance dt { font-size: var(--fs-xs); font-weight: 650; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.glance dd { margin: 0; font-size: var(--fs-sm); color: var(--ink); line-height: 1.5; }
.glance__actions { display: grid; gap: 10px; padding: 0 24px 24px; }
.school-nav { display: grid; gap: 16px; margin-top: 8px; }
@media (min-width: 720px) { .school-nav { grid-template-columns: 1fr 1fr; } }
.school-nav a { display: flex; align-items: center; gap: 16px; padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--r-md); background: #fff; text-decoration: none; color: var(--navy); transition: border-color .2s, box-shadow .2s; }
.school-nav a:hover { border-color: var(--line-strong); box-shadow: var(--sh-1); }
.school-nav a small { display: block; color: var(--muted); font-size: var(--fs-xs); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.school-nav a strong { display: block; margin-top: 2px; font-family: var(--f-display); font-stretch: 92%; font-size: 1.0625rem; }
.school-nav a.next { justify-content: flex-end; text-align: right; }
.school-nav .icon { color: var(--blue); }

/* About */
.statement { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
@media (min-width: 860px) { .statement { grid-template-columns: 1fr 1fr; } }
.statement__item { padding: clamp(28px, 4vw, 48px); background: #fff; }
.statement__item--dark { background: var(--navy); }
.statement__item--dark .eyebrow { color: #9ec3f0; }
.statement__item--dark .eyebrow::before { background: linear-gradient(90deg, #fff 0 33.3%, #6aa6ea 33.3% 66.6%, var(--red) 66.6%); }
.statement__item blockquote { margin: 20px 0 0; font-family: var(--f-display); font-stretch: 92%; font-size: clamp(1.25rem, 1.1rem + .6vw, 1.6rem); line-height: 1.38; font-weight: 520; color: var(--navy); letter-spacing: -.005em; }
.statement__item--dark blockquote { color: #fff; }
.numbered { list-style: none; display: grid; gap: 0; counter-reset: num; border-top: 1px solid var(--line); }
.numbered li { counter-increment: num; display: grid; grid-template-columns: 56px 1fr; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--line); color: var(--ink-2); }
.numbered li::before { content: counter(num, decimal-leading-zero); font-family: var(--f-display); font-stretch: 88%; font-weight: 700; color: var(--red); }
@media (min-width: 900px) { .numbered--2 { grid-template-columns: 1fr 1fr; column-gap: 48px; } }
.values { display: grid; gap: 0 48px; }
@media (min-width: 700px) { .values { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .values { grid-template-columns: repeat(3, 1fr); } }
.value { padding: 28px 0; border-top: 1px solid var(--line); }
.value h3 { display: flex; align-items: center; gap: 12px; font-size: 1.125rem; }
.value p { margin-top: 10px; color: var(--muted); font-size: var(--fs-sm); line-height: 1.6; }
.serve-list { list-style: none; display: grid; gap: 0 40px; }
@media (min-width: 700px) { .serve-list { grid-template-columns: 1fr 1fr; } }
.serve-list li { display: flex; align-items: center; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); font-weight: 540; color: var(--ink); }
.serve-list .icon { color: var(--blue); width: 20px; height: 20px; }

/* Partnerships */
.partner-grid { list-style: none; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
@media (min-width: 600px) { .partner-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .partner-grid { grid-template-columns: repeat(4, 1fr); } }
.partner-grid li { display: flex; flex-direction: column; gap: 16px; padding: 26px 24px; background: #fff; font-weight: 600; color: var(--navy); line-height: 1.4; }
.factor-list { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.factor-list li { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border: 1px solid var(--line-strong); border-radius: var(--r-sm); background: #fff; font-size: var(--fs-sm); font-weight: 560; color: var(--ink); }
.factor-list .icon { width: 16px; height: 16px; color: var(--blue); }

/* Admissions */
.requirements { display: grid; gap: 24px; }
@media (min-width: 1000px) { .requirements { grid-template-columns: 1.1fr .9fr; align-items: start; } }

/* Enquiry layout (form + sidebar) */
.enquiry { display: grid; gap: 40px clamp(40px, 5vw, 72px); align-items: start; }
@media (min-width: 1000px) { .enquiry { grid-template-columns: minmax(0, 1fr) 380px; } }
.enquiry__aside { display: grid; gap: 16px; }
.contact-list { list-style: none; display: grid; }
.contact-list li { display: flex; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.contact-list li:first-child { padding-top: 0; }
.contact-list strong { display: block; font-size: var(--fs-xs); font-weight: 650; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.contact-list span, .contact-list a { display: block; margin-top: 3px; color: var(--ink); font-weight: 560; line-height: 1.45; text-decoration: none; overflow-wrap: anywhere; }
.contact-list a:hover { color: var(--blue); text-decoration: underline; }

/* Contact methods */
.methods { display: grid; gap: 16px; }
@media (min-width: 640px) { .methods { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .methods { grid-template-columns: repeat(4, 1fr); } }
.method-card { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 24px; border: 1px solid var(--line); border-radius: var(--r-md); background: #fff; transition: border-color .2s, box-shadow .2s, transform .2s var(--ease); }
a.method-card { text-decoration: none; color: inherit; }
a.method-card:hover { border-color: var(--line-strong); box-shadow: var(--sh-2); transform: translateY(-2px); }
.method-card small { font-size: var(--fs-xs); font-weight: 650; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.method-card strong { display: block; margin-top: 4px; font-family: var(--f-display); font-stretch: 92%; font-size: 1.125rem; color: var(--navy); line-height: 1.3; overflow-wrap: anywhere; }
.method-card span.note { color: var(--muted); font-size: var(--fs-sm); line-height: 1.5; margin-top: auto; }
.method-card .icon-badge--wa { background: #e7f6ee; color: var(--whatsapp); }
.directions { padding: 28px; border-radius: var(--r-md); background: var(--navy); color: var(--on-dark-2); }
.directions h3 { color: #fff; margin-top: 12px; }
.directions p { margin-top: 10px; }
.directions .btn-row { margin-top: 20px; }

/* Gallery */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.filter-btn { min-height: 40px; padding: 0 16px; border: 1px solid var(--line-strong); border-radius: var(--r-sm); background: #fff; color: var(--ink-2); font-size: var(--fs-sm); font-weight: 580; cursor: pointer; transition: background-color .15s, color .15s, border-color .15s; }
.filter-btn:hover { border-color: var(--navy); color: var(--navy); }
.filter-btn[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.filter-btn span { margin-left: 6px; opacity: .65; font-weight: 500; }
.gallery { list-style: none; display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.gallery__item[hidden] { display: none; }
.gallery__btn { display: block; width: 100%; padding: 0; border: 0; background: none; text-align: left; cursor: zoom-in; }
.gallery__btn .media { aspect-ratio: 4 / 3; }
.gallery__btn .media img { transition: transform .5s var(--ease); }
.gallery__btn:hover .media img { transform: scale(1.04); }
.gallery__cap { display: block; margin-top: 10px; font-size: var(--fs-sm); color: var(--ink-2); line-height: 1.45; }
.gallery__cap small { display: block; color: var(--muted); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; font-size: .72rem; margin-bottom: 2px; }
.lightbox { position: fixed; inset: 0; z-index: 150; display: none; align-items: center; justify-content: center; padding: 24px; background: rgba(5, 12, 26, .92); }
.lightbox.is-open { display: flex; }
.lightbox figure { margin: 0; display: grid; gap: 12px; max-width: min(1200px, 100%); }
.lightbox img { max-height: calc(100vh - 160px); width: auto; max-width: 100%; margin-inline: auto; border-radius: var(--r-sm); object-fit: contain; }
.lightbox figcaption { color: #dfe6f1; font-size: var(--fs-sm); text-align: center; }
.lightbox__btn { position: absolute; display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid rgba(255, 255, 255, .25); border-radius: 50%; background: rgba(255, 255, 255, .06); color: #fff; cursor: pointer; }
.lightbox__btn:hover { background: rgba(255, 255, 255, .16); }
.lightbox__close { top: 16px; right: 16px; }
.lightbox__prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 16px; top: 50%; transform: translateY(-50%); }
@media (max-width: 640px) { .lightbox__prev, .lightbox__next { top: auto; bottom: 16px; transform: none; } }

/* News listing & article */
.feature-story { display: grid; gap: 28px clamp(32px, 4vw, 56px); align-items: center; position: relative; margin-bottom: clamp(48px, 6vw, 72px); padding-bottom: clamp(48px, 6vw, 72px); border-bottom: 1px solid var(--line); }
@media (min-width: 960px) { .feature-story { grid-template-columns: 1.15fr .85fr; } }
.feature-story .media { aspect-ratio: 16 / 10; }
.feature-story h2 { margin-top: 14px; font-size: clamp(1.7rem, 1.3rem + 1.3vw, 2.4rem); }
.feature-story h2 a { color: inherit; text-decoration: none; }
.feature-story h2 a:hover { color: var(--blue); }
.feature-story p { margin-top: 14px; color: var(--ink-2); }
.feature-story .btn-row { margin-top: 24px; }
.article-layout { display: grid; gap: 48px clamp(40px, 5vw, 80px); align-items: start; }
@media (min-width: 1040px) { .article-layout { grid-template-columns: minmax(0, 1fr) 340px; } }
.article { max-width: 720px; }
.article__media { aspect-ratio: 16 / 9; margin-bottom: 36px; }
.prose { font-size: 1.125rem; line-height: 1.75; color: var(--ink-2); }
.prose p { margin-bottom: 1.2em; }
.event-facts { display: grid; gap: 1px; margin-bottom: 32px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
@media (min-width: 640px) { .event-facts { grid-template-columns: repeat(3, 1fr); } }
.event-facts > div { display: flex; gap: 12px; padding: 18px 20px; background: #fff; }
.event-facts .icon { color: var(--blue); margin-top: 2px; }
.event-facts small { display: block; font-size: var(--fs-xs); font-weight: 650; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.event-facts strong, .event-facts a { display: block; margin-top: 2px; color: var(--ink); font-weight: 600; line-height: 1.4; text-decoration: none; }
.event-facts a:hover { color: var(--blue); text-decoration: underline; }
.attachment { display: flex; align-items: center; gap: 16px; margin: 32px 0; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--bg); text-decoration: none; color: inherit; transition: border-color .2s; }
.attachment:hover { border-color: var(--line-strong); }
.attachment strong { display: block; color: var(--navy); }
.attachment span { display: block; color: var(--muted); font-size: var(--fs-sm); }
.attachment .icon-arrow-out { margin-left: auto; color: var(--blue); }
.sidebar { display: grid; gap: 20px; position: sticky; top: calc(var(--header-h) + 24px); }
.sidebar h2 { font-size: 1.125rem; margin-bottom: 16px; }
.related { list-style: none; display: grid; }
.related li { border-top: 1px solid var(--line); }
.related a { display: block; padding: 14px 0; text-decoration: none; color: var(--navy); font-weight: 600; line-height: 1.4; }
.related a small { display: block; margin-bottom: 4px; color: var(--muted); font-weight: 560; }
.related a:hover { color: var(--blue); }

/* Privacy (document layout) */
.doc { display: grid; gap: 40px clamp(40px, 6vw, 96px); align-items: start; }
@media (min-width: 1000px) { .doc { grid-template-columns: 260px minmax(0, 720px); } }
.toc { position: sticky; top: calc(var(--header-h) + 24px); }
.toc p { font-size: var(--fs-xs); font-weight: 650; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.toc ol { list-style: none; display: grid; border-left: 1px solid var(--line); }
.toc a { display: block; padding: 8px 0 8px 16px; margin-left: -1px; border-left: 2px solid transparent; color: var(--ink-2); font-size: var(--fs-sm); text-decoration: none; }
.toc a:hover { color: var(--navy); border-left-color: var(--line-strong); }
.toc a.is-active { color: var(--navy); font-weight: 620; border-left-color: var(--red); }
.doc__section { padding-bottom: 36px; margin-bottom: 36px; border-bottom: 1px solid var(--line); }
.doc__section h2 { font-size: 1.5rem; }
.doc__section p { margin-top: 12px; color: var(--ink-2); line-height: 1.75; }
@media (max-width: 999px) { .toc { position: static; } }

/* Not found */
.not-found { padding-block: clamp(80px, 12vw, 160px); text-align: center; }
.not-found h1 { font-size: clamp(2rem, 1.5rem + 2vw, 3rem); margin: 16px auto 0; }
.not-found p { margin: 16px auto 0; max-width: 52ch; color: var(--ink-2); }
.not-found .btn-row { justify-content: center; margin-top: 28px; }

/* 8. Forms ------------------------------------------------------------------- */
.form-card { padding: clamp(24px, 3.5vw, 44px); border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; box-shadow: var(--sh-2); }
.form-card__head { margin-bottom: 28px; }
.form-card__head h2 { font-size: clamp(1.5rem, 1.3rem + .8vw, 2rem); margin-top: 12px; }
.form-card__head p { margin-top: 10px; color: var(--muted); }
.form-grid { display: grid; gap: 20px; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } .field--full { grid-column: 1 / -1; } }
.field { display: grid; gap: 7px; align-content: start; }
.field label, .field .label { font-size: var(--fs-sm); font-weight: 620; color: var(--ink); }
.field .req { color: var(--red); margin-left: 2px; }
.field .opt { color: var(--muted); font-weight: 500; margin-left: 4px; font-size: var(--fs-xs); }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid var(--line-strong); border-radius: var(--r-sm); background: #fff; font: inherit; font-size: 1rem; line-height: 1.4; color: var(--ink); transition: border-color .15s, box-shadow .15s, background-color .15s; }
.field textarea { min-height: 140px; resize: vertical; }
.field select { appearance: none; padding-right: 44px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235a687d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 14px center / 18px no-repeat; }
.field input::placeholder, .field textarea::placeholder { color: #8a96a8; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #9faabb; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px color-mix(in srgb, var(--secondary) 18%, transparent); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--error); background: #fffafa; }
.field.has-error input:focus, .field.has-error select:focus, .field.has-error textarea:focus { box-shadow: 0 0 0 4px rgba(185, 35, 42, .15); }
.field__hint { font-size: var(--fs-xs); color: var(--muted); }
.field__error { display: none; align-items: center; gap: 6px; font-size: var(--fs-xs); font-weight: 560; color: var(--error); }
.field__error .icon { width: 15px; height: 15px; }
.field.has-error .field__error { display: flex; }
.consent { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; padding: 16px; border-radius: var(--r-sm); background: var(--bg); font-size: var(--fs-sm); color: var(--ink-2); line-height: 1.55; cursor: pointer; }
.consent input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--navy); cursor: pointer; }
.field.has-error .consent { box-shadow: inset 0 0 0 1px var(--error); background: #fffafa; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.form-foot small { color: var(--muted); }
.hp-field { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-success { text-align: left; }
.form-success .icon-badge { background: var(--success-bg); color: var(--success); width: 52px; height: 52px; }
.form-success h2 { margin-top: 20px; font-size: clamp(1.5rem, 1.3rem + .8vw, 2rem); }
.form-success p { margin-top: 10px; color: var(--ink-2); }
.form-success .btn-row { margin-top: 24px; }

/* 9. Footer -------------------------------------------------------------------- */
.cta-band { position: relative; background: var(--navy); color: var(--on-dark-2); overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(80% 140% at 100% 0%, color-mix(in srgb, var(--secondary) 45%, transparent) 0%, transparent 60%); opacity: .55; pointer-events: none; }
.cta-band__inner { position: relative; display: grid; gap: 32px 64px; padding-block: clamp(56px, 7vw, 88px); align-items: center; }
@media (min-width: 1000px) { .cta-band__inner { grid-template-columns: 1.2fr .8fr; } }
.cta-band h2 { color: #fff; margin-top: 14px; max-width: 20ch; }
.cta-band p { margin-top: 14px; max-width: 58ch; }
.cta-band__actions { display: grid; gap: 12px; }
.cta-band__phone { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border: 1px solid rgba(255, 255, 255, .18); border-radius: var(--r-md); color: #fff; text-decoration: none; transition: background-color .2s, border-color .2s; }
.cta-band__phone:hover { color: #fff; background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .35); }
.cta-band__phone small { display: block; color: var(--on-dark-2); font-size: var(--fs-xs); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.cta-band__phone strong { display: block; font-family: var(--f-display); font-stretch: 90%; font-size: 1.375rem; letter-spacing: .01em; }
.cta-band__phone .icon { width: 22px; height: 22px; color: #9ec3f0; }
.cta-band__buttons { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 420px) { .cta-band__buttons { grid-template-columns: 1fr; } }

.site-footer { background: var(--bg); border-top: 1px solid var(--line); font-size: var(--fs-sm); color: var(--ink-2); }
.footer-grid { display: grid; gap: 40px; padding-block: clamp(48px, 6vw, 72px); }
@media (min-width: 700px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .footer-grid { grid-template-columns: 1.35fr 1fr .8fr 1.05fr; gap: 48px; } }
.footer-brand img { width: auto; height: 76px; }
.footer-brand p { margin-top: 18px; max-width: 40ch; line-height: 1.65; }
.footer-social { display: flex; gap: 8px; margin-top: 20px; }
.footer-social a { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--line-strong); border-radius: var(--r-sm); color: var(--navy); background: #fff; }
.footer-social a:hover { border-color: var(--navy); background: var(--navy); color: #fff; }
.footer-social .icon { width: 18px; height: 18px; }
.footer-col h2 { font-family: var(--f-body); font-size: var(--fs-xs); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--navy); margin-bottom: 16px; }
.footer-col ul { list-style: none; display: grid; gap: 4px; }
.footer-col a { display: inline-block; padding: 4px 0; color: var(--ink-2); text-decoration: none; line-height: 1.45; }
.footer-col a:hover { color: var(--blue); text-decoration: underline; }
.footer-contact li { display: flex; gap: 12px; padding: 4px 0; line-height: 1.5; }
.footer-contact .icon { width: 17px; height: 17px; color: var(--blue); margin-top: 3px; }
.footer-contact a { padding: 0; overflow-wrap: anywhere; }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-block: 22px calc(22px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); color: var(--muted); font-size: var(--fs-xs); }
.footer-bottom ul { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 24px; }
.footer-bottom a { color: var(--muted); text-decoration: none; }
.footer-bottom a:hover { color: var(--navy); text-decoration: underline; }

/* Floating WhatsApp */
.wa-float { position: fixed; right: 20px; bottom: calc(20px + env(safe-area-inset-bottom)); z-index: 70; display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 18px 0 14px; border-radius: 26px; background: var(--whatsapp); color: #fff; font-weight: 620; font-size: var(--fs-sm); text-decoration: none; box-shadow: 0 10px 24px -8px rgba(8, 70, 38, .55); transition: transform .2s var(--ease), background-color .2s, opacity .25s; }
.wa-float:hover { color: #fff; background: #0d7a40; transform: translateY(-2px); }
.wa-float .icon { width: 24px; height: 24px; }
.wa-float.is-hidden { opacity: 0; pointer-events: none; transform: translateY(8px); }
@media (max-width: 640px) { .wa-float { width: 54px; height: 54px; padding: 0; justify-content: center; right: 14px; bottom: calc(14px + env(safe-area-inset-bottom)); } .wa-float span { display: none; } }

/* 10. Campaign popup (Admin › Promotional Popup) ----------------------------- */
.campaign-popup { position: fixed; inset: 0; z-index: 160; display: grid; place-items: center; padding: 20px; visibility: hidden; opacity: 0; transition: opacity .25s var(--ease), visibility 0s .25s; }
.campaign-popup.is-open { visibility: visible; opacity: 1; transition: opacity .25s var(--ease); }
.campaign-popup__backdrop { position: absolute; inset: 0; border: 0; background: rgba(5, 13, 28, .62); cursor: pointer; }
.campaign-popup__dialog { --campaign-accent: var(--red); position: relative; display: grid; width: min(860px, 100%); max-height: calc(100vh - 40px); overflow: auto; border-radius: var(--r-lg); background: #fff; box-shadow: var(--sh-3); transform: translateY(12px) scale(.98); transition: transform .3s var(--ease); }
.campaign-popup.is-open .campaign-popup__dialog { transform: none; }
@media (min-width: 760px) { .campaign-popup__dialog { grid-template-columns: .95fr 1.05fr; } }
.campaign-popup__accent { position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, var(--navy) 0 33.3%, var(--blue) 33.3% 66.6%, var(--campaign-accent) 66.6%); z-index: 2; }
.campaign-popup__close { position: absolute; top: 12px; right: 12px; z-index: 3; display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .92); color: var(--navy); cursor: pointer; box-shadow: var(--sh-1); }
.campaign-popup__close:hover { background: #fff; }
.campaign-popup__media { position: relative; min-height: 220px; background: #dfe5ee; }
.campaign-popup__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 759px) { .campaign-popup__media { aspect-ratio: 16 / 9; min-height: 0; } }
.campaign-popup__content { padding: clamp(24px, 3.5vw, 40px); display: grid; gap: 20px; align-content: start; }
.campaign-popup__brand img { height: 46px; width: auto; }
.campaign-popup__eyebrow { color: var(--campaign-accent); }
.campaign-popup__eyebrow::before { background: var(--campaign-accent); }
.campaign-popup h2 { margin-top: 10px; font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem); }
.campaign-popup__headline p { margin-top: 10px; color: var(--ink-2); }
.campaign-popup__facts { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.campaign-popup__facts > div { padding: 12px 14px; background: var(--bg); }
.campaign-popup__facts small { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .08em; color: var(--muted); }
.campaign-popup__facts strong { display: block; margin-top: 2px; color: var(--navy); line-height: 1.4; }
.campaign-popup__footerrow { display: flex; flex-wrap: wrap; gap: 14px 20px; align-items: center; justify-content: space-between; }
.campaign-popup__rsvp { font-size: var(--fs-sm); color: var(--muted); }
.campaign-popup__rsvp a { margin-left: 6px; color: var(--navy); font-weight: 650; text-decoration: none; }
.campaign-popup__actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.campaign-popup__primary { --btn-bg: var(--campaign-accent); }
.campaign-popup__primary:hover { --btn-bg: color-mix(in srgb, var(--campaign-accent) 85%, #000); }
body.campaign-popup-open { overflow: hidden; }

/* 11. Motion ---------------------------------------------------------------- */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }
.js [data-reveal-delay="1"] { transition-delay: .08s; }
.js [data-reveal-delay="2"] { transition-delay: .16s; }
.js [data-reveal-delay="3"] { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}

/* 12. Utilities / print ------------------------------------------------------ */
.mt-0 { margin-top: 0 !important; }
.mt-s { margin-top: 16px; }
.mt-m { margin-top: 28px; }
.mt-l { margin-top: 48px; }
.text-center { text-align: center; }
@media print {
  .utility-bar, .site-header, .drawer, .cta-band, .wa-float, .campaign-popup, .site-footer .footer-grid { display: none !important; }
  body { color: #000; }
  .section { padding-block: 24px; }
}
.footer-bottom p { margin: 0; }
.step { align-content: start; }
.footer-bottom { position: relative; border-top: 0; }
.footer-bottom::before { content: ""; position: absolute; top: 0; left: var(--gutter); right: var(--gutter); height: 1px; background: var(--line); }
[hidden] { display: none !important; }
.media img { color: transparent; }
.school-row__body { align-content: start; }
@media (min-width: 900px) {
  .school-row .media { position: relative; }
  .school-row .media picture, .school-row .media img { position: absolute; inset: 0; }
}
.gallery__btn .media { display: block; }
.consent { font-weight: 450 !important; }
.split .serve-list { grid-template-columns: 1fr; }
@media (max-width: 520px) {
  .header-actions .btn--primary { display: inline-flex; min-height: 40px; padding: 0 14px; font-size: var(--fs-sm); }
  .nav-toggle { width: 42px; height: 42px; }
}
@media (max-width: 360px) { .header-actions .btn--primary { display: none; } }
@media (max-width: 699px) {
  .footer-grid { grid-template-columns: 1fr 1fr; column-gap: 24px; }
  .footer-brand, .footer-grid > .footer-col:last-child { grid-column: 1 / -1; }
}

/* Small modifiers */
figure.media { margin: 0; }
.h-sub { font-size: clamp(1.5rem, 1.3rem + .8vw, 2.1rem); }
.h-card { font-size: 1.25rem; }
.req { color: var(--red); }
.accordion__heading { margin: 0; }
.status-dot--green { background: #1aa260; }
.status-dot--green::after { border-color: #1aa260; }
.offer--stacked { grid-template-columns: 1fr !important; }
.offer--stacked .offer__media { display: none; }
.offer--stacked .offer__body p { margin-top: 0; }
.news-card__meta--head { margin-top: 0; }
.page-head .news-card__meta--head + h1 { margin-top: 14px; }
.school-index--grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); column-gap: 40px; }
.btn-row--end { justify-content: flex-start; }
@media (min-width: 960px) { .btn-row--end { justify-content: flex-end; } }
.icon-badge--on-dark { background: rgba(255, 255, 255, .1); color: #fff; }
.doc__intro { margin-bottom: 40px; }
.doc__section:last-child { border-bottom: 0; margin-bottom: 0; }
.not-found .icon-badge { margin-inline: auto; }
.contact-list li:last-child { border-bottom: 0; padding-bottom: 0; }
a.media { display: block; text-decoration: none; }
.media.is-broken { background: linear-gradient(135deg, var(--bg-blue), #dfe7f2); }
.media.is-broken img { visibility: hidden; }
.facts { list-style: none; }
.consent input { min-height: 0; padding: 0; }
.breadcrumb [aria-current] { max-width: min(46ch, 62vw); }
@media (max-width: 560px) {
  .btn { white-space: normal; text-align: center; line-height: 1.25; padding-block: 10px; }
  .cta-band__buttons { grid-template-columns: 1fr; }
  .btn-row > .btn { flex: 1 1 auto; }
}
@media (max-width: 1199px) { .hero__badge { right: 12px; } }
