/* Aspire Institute of Health & Professional Studies — site styles
   Colours are sampled from the AIHPS seal. */
:root {
  --ink: #18233f;        /* deepest navy, hero + footer */
  --navy: #2c3f67;       /* seal ring */
  --navy-2: #3b5287;
  --laurel: #457443;     /* laurel + inner ring */
  --laurel-d: #355a34;
  --sprout: #9cc97f;     /* green on dark backgrounds */
  --mist: #eef2f6;       /* cool section background */
  --paper: #ffffff;
  --line: #d8dfe8;
  --text: #1d2638;
  --muted: #5a6680;
  --on-dark: #e8edf6;
  --on-dark-muted: #a9b5cc;

  --f-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --f-body: "Figtree", system-ui, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, monospace;

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 14px;
  --shadow: 0 1px 2px rgba(24, 35, 63, .06), 0 8px 24px rgba(24, 35, 63, .08);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--text);
  font: 400 17px/1.6 var(--f-body);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--navy); }
a:hover { color: var(--laurel); }
:focus-visible { outline: 3px solid var(--sprout); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3, h4 { margin: 0; line-height: 1.1; color: var(--ink); }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--paper); padding: 8px 14px; }
.skip:focus { left: 8px; }

/* ---------- type ---------- */
.display {
  font-family: var(--f-display); font-weight: 700; text-transform: uppercase;
  letter-spacing: .01em; line-height: .95;
}
.eyebrow {
  font: 500 13px/1.3 var(--f-mono); letter-spacing: .08em; text-transform: uppercase;
  color: var(--laurel); margin: 0 0 14px; display: flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; }
.on-dark .eyebrow { color: var(--sprout); }
.h2 { font: 700 clamp(34px, 5vw, 56px)/.98 var(--f-display); text-transform: uppercase; letter-spacing: .005em; }
.h3 { font: 700 26px/1.05 var(--f-display); text-transform: uppercase; letter-spacing: .01em; }
.lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); max-width: 60ch; }
.on-dark .lead { color: var(--on-dark-muted); }
.mono { font-family: var(--f-mono); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: 999px; white-space: nowrap; border: 2px solid transparent;
  font: 600 16px/1 var(--f-body); text-decoration: none; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: var(--laurel); color: #fff; }
.btn-primary:hover { background: var(--laurel-d); color: #fff; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--ink); color: #fff; }
.btn-ghost { border-color: currentColor; color: var(--navy); background: transparent; }
.btn-ghost:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.on-dark .btn-ghost { color: #fff; }
.on-dark .btn-ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn-wa { background: #1f9d55; color: #fff; }
.btn-wa:hover { background: #17824a; color: #fff; }
.link-arrow { font-weight: 600; text-decoration: none; display: inline-flex; gap: 8px; align-items: center; }
.link-arrow::after { content: "→"; transition: transform .2s; }
.link-arrow:hover::after { transform: translateX(4px); }

/* ---------- top bar + header ---------- */
.topbar { background: var(--ink); color: var(--on-dark-muted); font-size: 14px; }
.topbar .wrap { max-width: 1340px; display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 40px; }
.topbar a { color: var(--on-dark); text-decoration: none; }
.topbar a:hover { color: var(--sprout); }
.topbar .notice { display: flex; align-items: center; gap: 10px; }
.topbar .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--sprout); box-shadow: 0 0 0 4px rgba(156, 201, 127, .2); }
.topbar .contacts { display: flex; gap: 22px; }

.header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header .wrap { position: relative; display: flex; align-items: center; gap: 18px; min-height: 76px; max-width: 1340px; }
.brand-name span { white-space: nowrap; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); margin-right: auto; }
.brand img { width: 52px; height: 52px; }
.brand-name { display: flex; flex-direction: column; line-height: 1; }
.brand-name b { font: 700 22px/1 var(--f-display); text-transform: uppercase; letter-spacing: .02em; color: var(--navy); }
.brand-name span { font: 500 11px/1.3 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }
.header .btn { min-height: 44px; }
.menu-btn { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 10px; background: #fff; cursor: pointer; }
.menu-btn span { display: block; width: 20px; height: 2px; background: var(--ink); margin: 4px auto; transition: .2s; }

/* ---------- hero ---------- */
.hero { background: var(--ink); color: var(--on-dark); position: relative; overflow: hidden; }
.hero::before { /* faint globe grid from the seal */
  content: ""; position: absolute; inset: 0; opacity: .07; pointer-events: none;
  background-image: radial-gradient(circle at 78% 46%, transparent 0 34%, rgba(255,255,255,.9) 34.1% 34.25%, transparent 34.4%),
    repeating-linear-gradient(0deg, transparent 0 59px, rgba(255,255,255,.6) 59px 60px),
    repeating-linear-gradient(90deg, transparent 0 59px, rgba(255,255,255,.6) 59px 60px);
  mask-image: radial-gradient(circle at 78% 46%, #000 0 40%, transparent 70%);
}
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; padding-block: clamp(48px, 7vw, 96px) clamp(110px, 12vw, 150px); }
.hero h1 { font: 700 clamp(46px, 7.4vw, 96px)/.9 var(--f-display); text-transform: uppercase; color: #fff; letter-spacing: .005em; margin-bottom: 24px; }
.hero h1 em { font-style: normal; color: var(--sprout); }
.hero .lead { margin-bottom: 32px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 36px 0 0; padding: 0; list-style: none; font: 500 14px/1.3 var(--f-mono); color: var(--on-dark-muted); }
.hero-facts li { display: flex; align-items: center; gap: 8px; }
.hero-facts svg { width: 16px; height: 16px; color: var(--sprout); }

/* the seal: rotating ring of text around a photo, like the AIHPS badge */
.seal { position: relative; width: min(100%, 500px); aspect-ratio: 1; margin-inline: auto; }
.seal-ring { position: absolute; inset: 0; animation: spin 60s linear infinite; }
.seal-ring text { font: 600 27px var(--f-display); letter-spacing: .1em; text-transform: uppercase; fill: var(--on-dark); }
.seal-ring .r-band { fill: none; stroke: var(--navy); stroke-width: 44; }
.seal-ring .r-line { fill: none; stroke: rgba(255,255,255,.55); stroke-width: 1.5; }
.seal-photo { position: absolute; inset: 15%; border-radius: 50%; overflow: hidden; border: 5px solid var(--laurel); background: var(--navy-2); }
.seal-photo img { width: 100%; height: 100%; object-fit: cover; }
.seal-star { position: absolute; left: 50%; top: 9.5%; transform: translateX(-50%); width: 56px; height: 56px; color: #fff; filter: drop-shadow(0 2px 6px rgba(0,0,0,.35)); }
.seal-badge {
  position: absolute; right: 2%; bottom: 10%; background: #fff; color: var(--ink); border-radius: 14px;
  padding: 12px 16px; box-shadow: var(--shadow); display: flex; gap: 12px; align-items: center; max-width: 230px;
}
.seal-badge b { font: 700 30px/1 var(--f-display); color: var(--laurel); white-space: nowrap; }
.seal-badge span { font-size: 13px; line-height: 1.3; color: var(--muted); }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- three schools: the shield panels from the seal ---------- */
.schools { position: relative; z-index: 2; margin-top: clamp(-90px, -8vw, -60px); }
.schools-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; background: #fff; border-radius: 22px; box-shadow: 0 20px 50px rgba(24,35,63,.18); overflow: hidden; border: 3px solid var(--navy); }
.school {
  position: relative; padding: 34px 28px 30px; text-decoration: none; color: var(--text);
  display: flex; flex-direction: column; gap: 10px; transition: background .25s;
}
.school + .school { border-left: 3px solid var(--navy); }
.school::before { /* curved top edge, echoing the open book over the shield */
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: var(--laurel);
  transform: scaleX(0); transform-origin: left; transition: transform .35s ease;
}
.school:hover { background: var(--mist); color: var(--text); }
.school:hover::before { transform: scaleX(1); }
.school-icon { width: 64px; height: 64px; color: var(--navy); }
.school h3 { font: 700 28px/1 var(--f-display); text-transform: uppercase; }
.school p { margin: 0; color: var(--muted); font-size: 15.5px; }
.school .count { font: 500 13px/1 var(--f-mono); color: var(--laurel); letter-spacing: .05em; text-transform: uppercase; margin-top: auto; padding-top: 8px; }

/* ---------- sections ---------- */
.section { padding-block: clamp(64px, 9vw, 112px); }
.section-mist { background: var(--mist); }
.section-dark { background: var(--ink); color: var(--on-dark); }
.section-dark .h2, .section-dark .h3 { color: #fff; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px 48px; flex-wrap: wrap; margin-bottom: 44px; }
.section-head .lead { margin: 14px 0 0; }

/* intro split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.photo { border-radius: var(--radius); overflow: hidden; position: relative; background: var(--mist); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo-tall { aspect-ratio: 4 / 5; }
.photo-wide { aspect-ratio: 16 / 10; }
.checklist { list-style: none; padding: 0; margin: 24px 0 32px; display: grid; gap: 12px; }
.checklist li { display: grid; grid-template-columns: 26px 1fr; gap: 10px; }
.checklist li::before {
  content: ""; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%;
  background: var(--laurel) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 14px no-repeat;
}

/* ---------- programme table ---------- */
.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
.tab { border: 1.5px solid var(--line); background: #fff; color: var(--text); border-radius: 999px; padding: 10px 18px; font: 600 15px/1 var(--f-body); cursor: pointer; min-height: 44px; }
.tab:hover { border-color: var(--navy); }
.tab[aria-selected="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.programs { display: grid; gap: 12px; }
.program {
  display: grid; grid-template-columns: 1.5fr 1fr 1.6fr auto; gap: 20px; align-items: center;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 26px;
  text-decoration: none; color: var(--text); transition: border-color .2s, box-shadow .2s, transform .2s;
}
.program:hover { border-color: var(--navy); box-shadow: var(--shadow); color: var(--text); }
.program[hidden] { display: none; }
.program h3 { font: 700 24px/1.05 var(--f-display); text-transform: uppercase; color: var(--ink); }
.program .school-tag { font: 500 12px/1 var(--f-mono); text-transform: uppercase; letter-spacing: .06em; color: var(--laurel); margin-bottom: 8px; display: block; }
.fact dt { font: 500 11.5px/1 var(--f-mono); text-transform: uppercase; letter-spacing: .07em; color: var(--muted); margin-bottom: 6px; }
.fact dd { margin: 0; font-weight: 600; font-size: 15.5px; line-height: 1.35; }
.program .go { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--line); display: grid; place-items: center; color: var(--navy); transition: .2s; }
.program:hover .go { background: var(--laurel); border-color: var(--laurel); color: #fff; }
.program .go svg { width: 18px; height: 18px; }

/* ---------- recognition strip ---------- */
.bodies { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.body-card { background: #fff; padding: 26px 22px; display: flex; flex-direction: column; gap: 8px; }
.body-card abbr { font: 700 32px/1 var(--f-display); color: var(--navy); text-decoration: none; letter-spacing: .02em; }
.body-card span { font-size: 14.5px; color: var(--muted); line-height: 1.4; }

/* ---------- admission steps (a real sequence) ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; counter-reset: step; position: relative; }
.steps::before { content: ""; position: absolute; top: 27px; left: 28px; right: 28px; height: 2px; background: repeating-linear-gradient(90deg, var(--sprout) 0 8px, transparent 8px 14px); opacity: .6; }
.steps li { counter-increment: step; position: relative; }
.steps li::before {
  content: counter(step); display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  background: var(--ink); border: 2px solid var(--sprout); color: #fff; font: 700 26px/1 var(--f-display); margin-bottom: 18px; position: relative;
}
.steps h3 { font: 700 22px/1.1 var(--f-display); text-transform: uppercase; color: #fff; margin-bottom: 8px; }
.steps p { color: var(--on-dark-muted); font-size: 15.5px; margin: 0; }
.section-mist .steps li::before, .section .steps.light li::before { background: #fff; color: var(--navy); border-color: var(--laurel); }
.steps.light h3 { color: var(--ink); }
.steps.light p { color: var(--muted); }

/* ---------- facilities ---------- */
.facilities { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.facility { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; }
.facility .photo { border-radius: 0; aspect-ratio: 4 / 3; }
.facility div.txt { padding: 20px 22px 24px; }
.facility h3 { font: 700 23px/1.05 var(--f-display); text-transform: uppercase; margin-bottom: 8px; }
.facility p { margin: 0; color: var(--muted); font-size: 15.5px; }

/* photo placeholder until real campus photos arrive */
.ph {
  width: 100%; height: 100%; min-height: 100%; display: grid; place-items: center; text-align: center;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 60%, var(--laurel) 140%);
  color: rgba(255,255,255,.75); font: 500 12px/1.4 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; padding: 16px;
}
.ph svg { width: 34%; max-width: 90px; height: auto; color: rgba(255,255,255,.22); margin: 0 auto 10px; }

/* ---------- message ---------- */
.message { display: grid; grid-template-columns: 300px 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.message blockquote { margin: 0; font: 500 clamp(22px, 2.4vw, 30px)/1.35 var(--f-body); color: var(--ink); letter-spacing: -.01em; }
.message blockquote::before { content: "“"; display: block; font: 700 96px/.6 var(--f-display); color: var(--laurel); margin-bottom: 8px; }
.message cite { display: block; margin-top: 24px; font-style: normal; }
.message cite b { display: block; font: 700 22px/1.1 var(--f-display); text-transform: uppercase; color: var(--navy); }
.message cite span { font-size: 15px; color: var(--muted); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--laurel); color: #fff; border-radius: 22px; padding: clamp(32px, 5vw, 56px); display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: center; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%; border: 40px solid rgba(255,255,255,.08); }
.cta-band .h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.85); margin: 14px 0 0; max-width: 52ch; }
.cta-band .actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; position: relative; z-index: 1; }
.cta-band .btn-navy { background: var(--ink); }
.cta-band .btn-light { background: #fff; color: var(--laurel-d); }
.cta-band .btn-light:hover { background: var(--mist); color: var(--ink); }

/* ---------- page header (inner pages) ---------- */
.page-head { background: var(--ink); color: var(--on-dark); position: relative; overflow: hidden; }
.page-head .wrap { padding-block: clamp(48px, 7vw, 88px); position: relative; }
.page-head h1 { font: 700 clamp(44px, 7vw, 84px)/.92 var(--f-display); text-transform: uppercase; color: #fff; margin-bottom: 16px; }
.page-head .lead { margin: 0; }
.page-head .seal-mark { position: absolute; right: -60px; top: 50%; transform: translateY(-50%); width: 420px; opacity: .08; pointer-events: none; }
.crumbs { font: 500 13px/1 var(--f-mono); text-transform: uppercase; letter-spacing: .06em; color: var(--on-dark-muted); margin-bottom: 18px; }
.crumbs a { color: var(--on-dark-muted); text-decoration: none; }
.crumbs a:hover { color: var(--sprout); }

/* ---------- programme detail ---------- */
.detail { display: grid; grid-template-columns: 1fr 340px; gap: clamp(32px, 5vw, 64px); align-items: start; }
.detail h2 { font: 700 34px/1 var(--f-display); text-transform: uppercase; margin: 44px 0 16px; }
.detail h2:first-child { margin-top: 0; }
.detail ul.bul { padding-left: 20px; margin: 0 0 1em; }
.detail ul.bul li { margin-bottom: 6px; }
.side-card { position: sticky; top: 100px; background: var(--mist); border-radius: var(--radius); padding: 26px; border-top: 6px solid var(--laurel); }
.side-card dl { display: grid; gap: 18px; margin: 0 0 24px; }
.side-card .btn { width: 100%; margin-top: 10px; }
.subjects { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; list-style: none; padding: 0; margin: 0; }
.subjects li { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; font-size: 15.5px; font-weight: 500; }
.subjects li small { display: block; font: 500 11.5px/1.4 var(--f-mono); color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }

/* ---------- docs, fees, faq ---------- */
.doc-list { columns: 2; column-gap: 40px; padding: 0; list-style: none; margin: 0; }
.doc-list li { break-inside: avoid; padding: 12px 0; border-bottom: 1px solid var(--line); display: flex; gap: 12px; }
.doc-list li::before { content: "▢"; color: var(--laurel); font-family: var(--f-mono); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; font-weight: 600; font-size: 18px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font: 400 28px/1 var(--f-body); color: var(--laurel); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 12px; }
.note { background: #fff8e6; border: 1px solid #f0dca6; border-radius: 10px; padding: 14px 18px; font-size: 15px; color: #6b5517; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 5vw, 56px); }
.contact-items { display: grid; gap: 14px; }
.contact-item { display: grid; grid-template-columns: 48px 1fr; gap: 16px; align-items: start; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; text-decoration: none; color: var(--text); }
a.contact-item:hover { border-color: var(--navy); color: var(--text); }
.contact-item .ic { width: 48px; height: 48px; border-radius: 12px; background: var(--mist); color: var(--navy); display: grid; place-items: center; }
.contact-item .ic svg { width: 22px; height: 22px; }
.contact-item b { display: block; font: 500 12px/1 var(--f-mono); text-transform: uppercase; letter-spacing: .07em; color: var(--muted); margin-bottom: 6px; }
.form { background: var(--mist); border-radius: var(--radius); padding: clamp(22px, 4vw, 36px); display: grid; gap: 16px; grid-template-columns: 1fr 1fr; }
.form .full { grid-column: 1 / -1; }
.form label { display: grid; gap: 6px; font-weight: 600; font-size: 15px; }
.form input, .form select, .form textarea {
  font: 400 16px/1.4 var(--f-body); padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; color: var(--text); min-height: 48px; width: 100%;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(44,63,103,.15); }
.form textarea { min-height: 120px; resize: vertical; }
.form .hint { font-size: 14px; color: var(--muted); margin: 0; }
.map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16 / 7; background: var(--mist); }
.map iframe { width: 100%; height: 100%; border: 0; }

/* ---------- gallery ---------- */

/* ---------- footer ---------- */
.footer { background: var(--ink); color: var(--on-dark-muted); padding-top: 72px; font-size: 15.5px; }
.footer a { color: var(--on-dark); text-decoration: none; }
.footer a:hover { color: var(--sprout); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 56px; }
.footer h4 { font: 500 12.5px/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--sprout); margin-bottom: 18px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer .brand { color: #fff; margin-bottom: 18px; }
.footer .brand-name b { color: #fff; }
.footer .brand-name span { color: var(--on-dark-muted); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-block: 22px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 14px; }
.socials { display: flex; gap: 10px; margin-top: 20px; }
.socials a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); display: grid; place-items: center; }
.socials a:hover { background: var(--laurel); border-color: var(--laurel); color: #fff; }
.socials svg { width: 18px; height: 18px; }

/* floating WhatsApp on phones */
.wa-float { position: fixed; right: 16px; bottom: 16px; z-index: 60; width: 56px; height: 56px; border-radius: 50%; background: #1f9d55; color: #fff; display: none; place-items: center; box-shadow: 0 8px 24px rgba(0,0,0,.25); }
.wa-float svg { width: 28px; height: 28px; }

/* scroll reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
}
@media (max-width: 960px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .seal { width: min(86%, 420px); order: -1; }
  .split, .message, .contact-grid, .detail, .cta-band { grid-template-columns: 1fr; }
  .cta-band .actions { justify-content: flex-start; }
  .program { grid-template-columns: 1fr 1fr; }
  .program > div:first-child { grid-column: 1 / -1; }
  .program .go { display: none; }
  .bodies { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps::before { display: none; }
  .facilities { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .side-card { position: static; order: -1; }
  .message .photo { max-width: 300px; }
}
@media (max-width: 720px) {
  .topbar .contacts a:not(:first-child) { display: none; }
  .topbar .notice span.long { display: none; }
  .schools-grid { grid-template-columns: 1fr; }
  .school + .school { border-left: 0; border-top: 3px solid var(--navy); }
  .school { padding: 24px 22px; display: grid; grid-template-columns: 52px 1fr; column-gap: 16px; }
  .school-icon { width: 52px; height: 52px; grid-row: span 3; }
  .brand img { width: 44px; height: 44px; }
  .brand-name b { font-size: 19px; }
  .brand-name span { font-size: 10px; }
  .facilities, .steps, .footer-grid { grid-template-columns: 1fr; }
  .subjects, .doc-list { grid-template-columns: 1fr; columns: 1; }
  .form { grid-template-columns: 1fr; }
  .wa-float { display: grid; }
  .seal-badge { right: -2%; bottom: 2%; padding: 10px 12px; }
  .seal-badge b { font-size: 24px; }
  .map { aspect-ratio: 4 / 3; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* =====================================================================
   v2: multi-page components
   ===================================================================== */

/* ---------- top bar icons ---------- */
.topbar p.notice { margin: 0; }
.topbar .contacts a { display: inline-flex; align-items: center; gap: 7px; }
.topbar .contacts svg { width: 14px; height: 14px; opacity: .7; }

/* ---------- main menu with dropdowns ---------- */
.nav { display: flex; align-items: center; }
.menu { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.menu > li { position: relative; display: flex; align-items: center; }
.menu .top { padding: 10px 11px; border-radius: 8px; text-decoration: none; color: var(--text); font-weight: 500; font-size: 15.5px; white-space: nowrap; }
.menu .top:hover { color: var(--navy); background: var(--mist); }
.menu .top[aria-current="page"] { color: var(--laurel); }
.menu .has-sub > .top { padding-right: 4px; }
.sub-toggle { width: 26px; height: 32px; border: 0; background: none; color: var(--muted); cursor: pointer; display: grid; place-items: center; padding: 0; border-radius: 6px; }
.sub-toggle svg { width: 15px; height: 15px; transition: transform .2s; }
.sub {
  position: absolute; top: calc(100% + 12px); left: -8px; min-width: 240px; background: #fff; border: 1px solid var(--line);
  border-radius: 14px; box-shadow: 0 24px 50px rgba(24,35,63,.16); padding: 10px; display: grid; gap: 2px;
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s, transform .18s, visibility .18s; z-index: 70;
}
.sub::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; } /* hover bridge */
.sub a { display: block; padding: 10px 12px; border-radius: 8px; text-decoration: none; color: var(--text); font-size: 15px; font-weight: 500; }
.sub a:hover { background: var(--mist); color: var(--navy); }
.has-sub:hover > .sub, .has-sub:focus-within > .sub, .has-sub.open > .sub { opacity: 1; visibility: visible; transform: none; }
.has-sub:hover .sub-toggle svg, .has-sub.open .sub-toggle svg { transform: rotate(180deg); }
.sub.mega { grid-template-columns: repeat(3, 210px); gap: 8px 18px; padding: 22px; left: 50%; transform: translate(-50%, 6px); }
.has-sub:hover > .sub.mega, .has-sub:focus-within > .sub.mega, .has-sub.open > .sub.mega { transform: translate(-50%, 0); }
.mega-col { display: grid; align-content: start; gap: 0; }
.mega-h { display: flex; align-items: center; gap: 10px; margin: 0 0 8px; padding: 0 12px 10px; border-bottom: 1px solid var(--line);
  font: 700 17px/1.1 var(--f-display); text-transform: uppercase; color: var(--ink); }
.mega-h span { width: 28px; height: 28px; color: var(--navy); flex: none; }
.mega .more { color: var(--laurel); font-weight: 600; }
.mega-all { grid-column: 1 / -1; margin-top: 6px; border-top: 1px solid var(--line); border-radius: 0 !important; padding-top: 14px !important; color: var(--laurel) !important; font-weight: 600 !important; }
.nav-apply { display: none; }
.head-apply { min-height: 44px; margin-left: 6px; }

/* section sub-navigation (pills under the page header) */
.subnav { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 76px; z-index: 40; }
.subnav .wrap { display: flex; gap: 6px; overflow-x: auto; padding-block: 12px; scrollbar-width: none; }
.subnav .wrap::-webkit-scrollbar { display: none; }
.subnav a { flex: none; padding: 9px 16px; border-radius: 999px; text-decoration: none; color: var(--text); font-size: 15px; font-weight: 500; border: 1.5px solid var(--line); }
.subnav a:hover { border-color: var(--navy); color: var(--navy); }
.subnav a[aria-current="page"] { background: var(--navy); border-color: var(--navy); color: #fff; }

/* ---------- photo-backed page headers ---------- */
.bg-layer { position: absolute; inset: 0; background-position: center; background-size: cover; background-repeat: no-repeat; }
.page-head.has-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(24,35,63,.97) 0%, rgba(24,35,63,.88) 45%, rgba(24,35,63,.45) 100%);
}
.page-head .wrap { z-index: 1; }
.page-head.has-bg .seal-mark { display: none; }
.crumbs span { opacity: .5; margin: 0 4px; }

/* ---------- hero media ---------- */
.hero-bg { position: absolute; inset: 0; background-position: center; background-size: cover; opacity: .12; filter: grayscale(.4); }
.seal-photo video, .seal-photo > img { width: 100%; height: 100%; object-fit: cover; display: block; }
.seal-photo .ph { border-radius: 50%; }

/* stacked photos (why section) */
.stack { position: relative; padding: 0 0 48px 48px; }
.stack .photo-tall { aspect-ratio: 4 / 4.6; }
.photo-inset { position: absolute; left: 0; bottom: 0; width: 46%; aspect-ratio: 1; border: 6px solid #fff; box-shadow: var(--shadow); }

/* full-bleed photo band */
.band-photo { position: relative; color: #fff; padding-block: clamp(80px, 12vw, 150px); background: var(--ink); overflow: hidden; }
.band-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(24,35,63,.94), rgba(24,35,63,.55)); }
.band-photo .wrap { position: relative; z-index: 1; }
.band-quote { font: 700 clamp(30px, 4.4vw, 56px)/1 var(--f-display); text-transform: uppercase; max-width: 22ch; margin: 0 0 32px; color: #fff; }

/* ---------- programme photo cards ---------- */
.pcards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.pcard { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; text-decoration: none; color: var(--text); transition: box-shadow .25s, transform .25s, border-color .25s; }
.pcard:hover { box-shadow: 0 18px 40px rgba(24,35,63,.14); transform: translateY(-3px); border-color: var(--navy); color: var(--text); }
.pcard[hidden] { display: none; }
.pcard-img { border-radius: 0; aspect-ratio: 16 / 10; }
.pcard-img img { transition: transform .6s ease; }
.pcard:hover .pcard-img img { transform: scale(1.05); }
.pcard-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.pcard h3 { font: 700 25px/1.02 var(--f-display); text-transform: uppercase; margin: 2px 0 8px; }
.pcard-body > p { color: var(--muted); font-size: 15.5px; margin: 0 0 16px; }
.pcard-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: auto 0 0; padding-top: 14px; border-top: 1px solid var(--line); }
.pcard-facts dt { font: 500 11px/1 var(--f-mono); text-transform: uppercase; letter-spacing: .07em; color: var(--muted); margin-bottom: 5px; }
.pcard-facts dd { margin: 0; font-weight: 600; font-size: 14.5px; line-height: 1.3; }

/* ---------- programme detail ---------- */
.jump { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.jump a { font: 500 12.5px/1 var(--f-mono); text-transform: uppercase; letter-spacing: .06em; padding: 10px 14px; border-radius: 8px; background: var(--mist); color: var(--navy); text-decoration: none; }
.jump a:hover { background: var(--navy); color: #fff; }
.dsec { scroll-margin-top: 110px; }
.dsec + .dsec { margin-top: 44px; }
.detail .dsec h2 { margin: 0 0 16px; }
.dsec .photo-wide { margin-top: 20px; }
.ccards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.ccard { display: grid; grid-template-columns: 120px 1fr; gap: 16px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; text-decoration: none; color: var(--text); padding-right: 14px; }
.ccard:hover { border-color: var(--navy); box-shadow: var(--shadow); color: var(--text); }
.ccard .photo { border-radius: 0; height: 100%; min-height: 100px; }
.ccard h3 { font: 700 21px/1.05 var(--f-display); text-transform: uppercase; margin: 4px 0 6px; }
.ccard .link-arrow { font-size: 14px; color: var(--laurel); }
.mono-s { font: 500 12px/1.3 var(--f-mono); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.learn { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.learn li { background: var(--mist); border-left: 4px solid var(--laurel); border-radius: 8px; padding: 12px 14px; font-weight: 500; font-size: 15.5px; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pills a { padding: 10px 16px; border-radius: 999px; border: 1.5px solid var(--line); text-decoration: none; color: var(--navy); font-weight: 500; font-size: 15px; }
.pills a:hover { border-color: var(--navy); background: var(--navy); color: #fff; }
.side-card .btn + .btn { margin-top: 10px; }

/* ---------- about ---------- */
.linkcards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.linkcard { position: relative; padding: 26px 22px 64px; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--text); background: #fff; }
.linkcard:hover { border-color: var(--navy); box-shadow: var(--shadow); color: var(--text); }
.linkcard h3 { font: 700 23px/1.05 var(--f-display); text-transform: uppercase; margin-bottom: 8px; }
.linkcard p { margin: 0; color: var(--muted); font-size: 15px; }
.linkcard .go { position: absolute; left: 22px; bottom: 20px; width: 36px; height: 36px; border-radius: 50%; border: 1.5px solid var(--line); display: grid; place-items: center; color: var(--navy); }
.linkcard .go svg { width: 16px; height: 16px; }
.linkcard:hover .go { background: var(--laurel); border-color: var(--laurel); color: #fff; }
.school-lines { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 3px solid var(--navy); border-radius: 22px; overflow: hidden; background: #fff; }
.school-line { padding: 30px 26px; display: grid; gap: 14px; }
.school-line + .school-line { border-left: 3px solid var(--navy); }
.school-line .school-icon { width: 56px; height: 56px; color: var(--navy); }
.school-line h3 { font: 700 26px/1 var(--f-display); text-transform: uppercase; margin-bottom: 8px; }
.school-line p { margin: 0; color: var(--muted); }
.mvv { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 80px); }
.mvv-big { font: 700 clamp(28px, 3.3vw, 42px)/1.04 var(--f-display); text-transform: uppercase; color: var(--ink); margin: 0; }
.mission-list { margin: 0; padding: 0; list-style: none; counter-reset: m; display: grid; gap: 18px; }
.mission-list li { counter-increment: m; display: grid; grid-template-columns: 40px 1fr; gap: 14px; font-size: 18px; }
.mission-list li::before { content: counter(m); width: 36px; height: 36px; border-radius: 50%; background: var(--laurel); color: #fff; display: grid; place-items: center; font: 700 19px/1 var(--f-display); }
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.value { padding: 28px 24px; border-radius: var(--radius); background: var(--ink); color: var(--on-dark-muted); position: relative; overflow: hidden; }
.value::after { content: ""; position: absolute; right: -40px; bottom: -40px; width: 120px; height: 120px; border-radius: 50%; border: 18px solid rgba(156,201,127,.12); }
.value h3 { font: 700 28px/1 var(--f-display); text-transform: uppercase; color: var(--sprout); margin-bottom: 10px; }
.value p { margin: 0; font-size: 15.5px; }
.affs { display: grid; gap: 14px; }
.aff { display: grid; grid-template-columns: 170px 1fr; gap: 28px; align-items: center; padding: 26px 28px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.aff abbr { font: 700 46px/1 var(--f-display); color: var(--navy); text-decoration: none; }
.aff h3 { font: 700 24px/1.05 var(--f-display); text-transform: uppercase; margin-bottom: 6px; }
.aff p { margin: 0 0 8px; color: var(--muted); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 !important; }
.tags span { font: 500 12px/1 var(--f-mono); padding: 7px 10px; border-radius: 6px; background: var(--mist); color: var(--navy); letter-spacing: .03em; }
.hosps { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.hosp { display: grid; grid-template-columns: 52px 1fr; gap: 18px; padding: 24px; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); }
.hosp .ic, .sch .ic, .dl .ic { width: 52px; height: 52px; border-radius: 12px; background: var(--mist); color: var(--laurel); display: grid; place-items: center; }
.hosp .ic svg, .sch .ic svg, .dl .ic svg { width: 26px; height: 26px; }
.hosp h3 { font: 700 23px/1.05 var(--f-display); text-transform: uppercase; }
.hosp .mono-s { margin: 4px 0 8px; }
.hosp p:last-child { margin: 0; color: var(--muted); font-size: 15.5px; }
.message-full p { font-size: 18px; }
.message .link-arrow { margin-top: 18px; }

/* ---------- admissions ---------- */
.steps.six { grid-template-columns: repeat(3, 1fr); row-gap: 40px; }
.steps.six::before { display: none; }
.rules li { margin-bottom: 8px; }
.doc-list { columns: 1; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
.table { width: 100%; border-collapse: collapse; background: #fff; font-size: 15.5px; }
.table th { text-align: left; font: 500 12px/1.2 var(--f-mono); text-transform: uppercase; letter-spacing: .07em; color: var(--muted); background: var(--mist); padding: 14px 16px; }
.table td { padding: 14px 16px; border-top: 1px solid var(--line); vertical-align: top; }
.table td a { font-weight: 600; text-decoration: none; }
.table:not(.elig) { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; border-collapse: separate; border-spacing: 0; }
.merit { display: grid; grid-template-columns: 1fr 4fr 5fr; gap: 6px; }
.merit div { background: var(--navy); color: #fff; border-radius: 10px; padding: 16px 14px; }
.merit div:nth-child(2) { background: var(--navy-2); }
.merit div:nth-child(3) { background: var(--laurel); }
.merit b { display: block; font: 700 34px/1 var(--f-display); }
.merit span { font-size: 13.5px; opacity: .85; }
.testbars { display: grid; gap: 10px; }
.testbars div { display: grid; grid-template-columns: 140px 1fr 36px; gap: 12px; align-items: center; font-size: 15px; }
.testbars i { height: 12px; border-radius: 6px; background: var(--mist); position: relative; overflow: hidden; }
.testbars i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: calc(var(--w) * 2.5); max-width: 100%; background: var(--laurel); border-radius: 6px; }
.testbars b { font: 700 20px/1 var(--f-display); color: var(--navy); text-align: right; }
.schs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.sch { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px; background: #fff; }
.sch .amt { display: block; font: 700 36px/1 var(--f-display); color: var(--laurel); margin: 18px 0 8px; }
.sch h3 { font: 700 23px/1.05 var(--f-display); text-transform: uppercase; margin-bottom: 8px; }
.sch p { margin: 0; color: var(--muted); font-size: 15.5px; }
.downloads { display: grid; gap: 10px; margin-top: 28px; }
.dl { display: grid; grid-template-columns: 52px 1fr; gap: 14px; align-items: center; padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.dl b { display: block; }
.dl span:not(.ic) { color: var(--muted); font-size: 14.5px; }

/* ---------- events ---------- */
.events { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.ecard { display: flex; flex-direction: column; text-decoration: none; color: var(--text); background: #fff; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); transition: box-shadow .25s, transform .25s; }
.ecard:hover { box-shadow: 0 18px 40px rgba(24,35,63,.14); transform: translateY(-3px); color: var(--text); }
.ecard[hidden] { display: none; }
.ecard .photo { border-radius: 0; aspect-ratio: 16 / 10; }
.ecard-body { padding: 18px 20px 22px; }
.ecard .meta { display: flex; gap: 12px; flex-wrap: wrap; font: 500 12px/1 var(--f-mono); text-transform: uppercase; letter-spacing: .06em; margin: 0 0 10px; }
.ecard .meta span { color: var(--laurel); }
.ecard .meta time { color: var(--muted); }
.ecard h3 { font: 700 23px/1.05 var(--f-display); text-transform: uppercase; margin-bottom: 8px; }
.ecard p:last-child { margin: 0; color: var(--muted); font-size: 15px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.story p { font-size: 18px; }
.story .photo-wide { margin-bottom: 28px; }

/* ---------- gallery + lightbox ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.gallery.small { grid-template-columns: repeat(3, 1fr); margin-top: 28px; }
.g-item { display: block; aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: var(--mist); cursor: zoom-in; }
.g-item[hidden] { display: none; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.g-item:hover img { transform: scale(1.06); }
.g-item.photo .ph { border-radius: 12px; }
.lb { position: fixed; inset: 0; z-index: 200; background: rgba(10,15,30,.94); display: grid; place-items: center; padding: 60px 70px; }
.lb[hidden] { display: none; }
.lb img { max-width: 100%; max-height: calc(100vh - 120px); border-radius: 8px; object-fit: contain; }
.lb button { position: absolute; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255,255,255,.12); color: #fff; font-size: 26px; cursor: pointer; display: grid; place-items: center; }
.lb button:hover { background: rgba(255,255,255,.25); }
.lb .lb-close { top: 16px; right: 16px; }
.lb .lb-close svg { width: 22px; height: 22px; }
.lb .lb-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lb .lb-next { right: 14px; top: 50%; transform: translateY(-50%); }
.lb p { position: absolute; bottom: 16px; left: 0; right: 0; text-align: center; color: rgba(255,255,255,.75); font-size: 14px; margin: 0; }

.cta-wrap { padding-top: 0; }
.section-mist + .cta-wrap, .section-dark + .cta-wrap { padding-top: clamp(64px, 9vw, 112px); }
.footer h4.mt { margin-top: 28px; }

/* ---------- v2 responsive ---------- */
@media (max-width: 1280px) {
  .menu .top { padding: 10px 7px; font-size: 15px; }
  .brand-name span { display: none; }
}
@media (max-width: 1060px) {
  .menu-btn { display: block; }
  .head-apply { margin-left: auto; }
  .brand { margin-right: 0; }
  .brand-name span { display: block; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch;
    padding: 8px var(--gutter) 24px; border-bottom: 1px solid var(--line); box-shadow: 0 20px 40px rgba(24,35,63,.15);
    max-height: calc(100vh - 120px); overflow-y: auto;
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: .2s;
  }
  body.menu-open .nav { transform: none; opacity: 1; visibility: visible; }
  body.menu-open .menu-btn span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  body.menu-open .menu-btn span:nth-child(2) { opacity: 0; }
  body.menu-open .menu-btn span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .menu { flex-direction: column; gap: 0; }
  .menu > li { flex-wrap: wrap; border-bottom: 1px solid var(--mist); }
  .menu .top { flex: 1; padding: 15px 4px; font-size: 17px; }
  .sub-toggle { width: 44px; height: 44px; }
  .sub, .sub.mega { position: static; transform: none !important; opacity: 1; visibility: visible; box-shadow: none; border: 0; padding: 0 0 10px 8px; min-width: 0; width: 100%; display: none; grid-template-columns: 1fr; }
  .sub::before { display: none; }
  .has-sub:hover > .sub, .has-sub:focus-within > .sub { display: none; }
  .has-sub.open > .sub, .has-sub.open > .sub.mega { display: grid; }
  .has-sub:hover .sub-toggle svg { transform: none; }
  .has-sub.open .sub-toggle svg { transform: rotate(180deg); }
  .mega-h { padding: 12px 12px 8px; border: 0; margin: 0; font-size: 15px; }
  .mega-h span { width: 22px; height: 22px; }
  .nav-apply { display: flex; margin-top: 16px; }
  .pcards, .events { grid-template-columns: repeat(2, 1fr); }
  .linkcards, .values { grid-template-columns: repeat(2, 1fr); }
  .school-lines { grid-template-columns: 1fr; }
  .school-line + .school-line { border-left: 0; border-top: 3px solid var(--navy); }
  .mvv { grid-template-columns: 1fr; }
  .steps.six { grid-template-columns: repeat(2, 1fr); }
  .schs { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 720px) {
  .head-apply { display: none; }
  .menu-btn { margin-left: auto; }
  .topbar .contacts a:not(:first-child) { display: none; }
  .pcards, .events, .linkcards, .values, .hosps, .ccards, .learn, .steps.six { grid-template-columns: 1fr; }
  .aff { grid-template-columns: 1fr; gap: 10px; padding: 22px; }
  .aff abbr { font-size: 38px; }
  .stack { padding: 0 0 36px 24px; }
  .gallery, .gallery.small { grid-template-columns: repeat(2, 1fr); }
  .elig thead { display: none; }
  .elig tr { display: block; padding: 14px 16px; border-top: 1px solid var(--line); }
  .elig tr:first-child { border-top: 0; }
  .elig td { display: grid; grid-template-columns: 120px 1fr; gap: 10px; padding: 4px 0; border: 0; }
  .elig td::before { content: attr(data-label); font: 500 11px/1.6 var(--f-mono); text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
  .testbars div { grid-template-columns: 110px 1fr 30px; }
  .lb { padding: 60px 12px; }
  .ccard { grid-template-columns: 96px 1fr; }
}

/* =====================================================================
   Medical design options (option-1/2/3.html)
   ===================================================================== */

/* ---------- shared medical pieces ---------- */
.ecg { display: block; width: 100%; height: 90px; overflow: visible; }
.ecg path { fill: none; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.ecg-base { stroke: rgba(156, 201, 127, .32); stroke-width: 2; }
.ecg-pulse { stroke: #8ff0a4; stroke-width: 2.5; stroke-dasharray: 140 860; stroke-dashoffset: 1000;
  filter: drop-shadow(0 0 6px rgba(143, 240, 164, .9)); animation: ecg-sweep 4.5s linear infinite; }
@keyframes ecg-sweep { to { stroke-dashoffset: 0; } }
.mini-ecg { display: block; width: 100%; height: 26px; margin-top: 6px; overflow: visible; }
.mini-ecg path { fill: none; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
.mini-ecg .ecg-base { stroke: currentColor; opacity: .25; stroke-width: 1.5; }
.mini-ecg .ecg-pulse { stroke: currentColor; stroke-width: 2; stroke-dasharray: 260 740; stroke-dashoffset: 1000; animation: ecg-sweep 2.4s linear infinite; filter: none; }

/* medical-cross pattern for light sections */
.section-mist {
  background-color: var(--mist);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56'%3E%3Cpath d='M26 22h4v4h4v4h-4v4h-4v-4h-4v-4h4z' fill='%232c3f67' fill-opacity='.05'/%3E%3C/svg%3E");
}
/* pulse glyph instead of the plain dash in eyebrows */
.eyebrow::before {
  width: 30px; height: 14px; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 14'%3E%3Cpath d='M0 7h9l2-4 3 9 3-11 2 6h11' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 14'%3E%3Cpath d='M0 7h9l2-4 3 9 3-11 2 6h11' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* option switcher */
.opt-switch {
  position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 90; display: flex; align-items: center; gap: 4px;
  background: rgba(24, 35, 63, .94); backdrop-filter: blur(8px); border-radius: 999px; padding: 6px; box-shadow: 0 12px 30px rgba(0,0,0,.3);
}
.opt-switch > span { font: 500 11px/1 var(--f-mono); text-transform: uppercase; letter-spacing: .08em; color: var(--on-dark-muted); padding: 0 10px 0 12px; }
.opt-switch a { display: flex; align-items: center; gap: 8px; padding: 9px 14px 9px 9px; border-radius: 999px; color: #fff; text-decoration: none; font-size: 14px; font-weight: 500; white-space: nowrap; }
.opt-switch a b { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.12); font-size: 13px; }
.opt-switch a:hover { background: rgba(255,255,255,.1); color: #fff; }
.o1 .opt-switch a[data-opt="1"], .o2 .opt-switch a[data-opt="2"], .o3 .opt-switch a[data-opt="3"] { background: var(--laurel); }
.o1 .opt-switch a[data-opt="1"], .o2 .opt-switch a[data-opt="2"], .o3 .opt-switch a[data-opt="3"] b { background: #fff; color: var(--laurel); }

/* ---------- option 1: clinical monitor ---------- */
.o1 .hero { padding-bottom: 0; }
.o1 .hero .wrap { padding-bottom: clamp(150px, 14vw, 190px); }
.ecg-hero { position: absolute; left: 0; right: 0; bottom: clamp(70px, 8vw, 100px); height: 100px; z-index: 0; }
.o1 .hero-facts { color: #8ff0a4; }
.vital {
  position: absolute; left: -18%; top: 2%; width: 170px; padding: 12px 14px 8px; border-radius: 12px;
  background: rgba(8, 14, 30, .88); border: 1px solid rgba(143, 240, 164, .35); color: #8ff0a4; box-shadow: 0 10px 30px rgba(0,0,0,.35);
}
.vital .vl { display: block; font: 500 10.5px/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: rgba(143,240,164,.75); }
.vital b { display: block; font: 700 34px/1 var(--f-display); margin-top: 6px; }
.monitor-wrap { padding-top: clamp(48px, 6vw, 72px); }
.monitor {
  background: #0b1326; border-radius: 22px; padding: 18px; color: #dfe7f5; position: relative; overflow: hidden;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 24px 24px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.06), 0 24px 50px rgba(11,19,38,.25);
}
.mon-head { display: flex; justify-content: space-between; font: 500 12px/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: #8a97b3; padding: 4px 6px 16px; }
.mon-head i { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #ff5d6c; margin-right: 8px; animation: blink 1.2s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .2; } }
.reads { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.read { padding: 16px 18px 10px; border-radius: 14px; background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.06); }
.read .tag { font: 500 11px/1 var(--f-mono); letter-spacing: .12em; opacity: .8; }
.read b { display: block; font: 600 64px/1 var(--f-mono); letter-spacing: -.03em; margin: 10px 0 6px; }
.read .lbl { font-size: 14px; color: #a9b5cc; }
.read.g { color: #8ff0a4; } .read.c { color: #6fe3ff; } .read.a { color: #ffd166; } .read.r { color: #ff8a98; }
.read .lbl { color: #a9b5cc; }

/* ---------- option 2: clean clinic ---------- */
.o2 .schools { margin-top: 0; padding-top: 8px; }
.o2 .schools-grid { border-color: var(--line); border-width: 1px; box-shadow: 0 10px 30px rgba(24,35,63,.06); }
.o2 .school + .school { border-left: 1px solid var(--line); }
.o2 .school-icon { width: 58px; height: 58px; padding: 12px; border-radius: 16px; background: #e8f3ec; color: var(--laurel); }
.hero2 {
  position: relative; overflow: hidden; color: var(--text);
  background: radial-gradient(circle at 85% 20%, #e3f1e6 0, transparent 40%), linear-gradient(180deg, #f5f9fc 0%, #fff 100%);
}
.hero2 .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; padding-block: clamp(40px, 6vw, 80px) clamp(56px, 7vw, 96px); position: relative; }
.hero2 h1 { font: 700 clamp(46px, 6.6vw, 88px)/.92 var(--f-display); text-transform: uppercase; color: var(--ink); margin: 18px 0 22px; }
.hero2 h1 em { font-style: normal; color: var(--laurel); }
.hero2 .lead { color: var(--muted); margin-bottom: 30px; }
.pill-note { display: inline-flex; align-items: center; gap: 10px; margin: 0; padding: 8px 16px 8px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 14px; font-weight: 600; color: var(--navy); box-shadow: 0 4px 14px rgba(24,35,63,.06); }
.pill-note .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--laurel); box-shadow: 0 0 0 4px rgba(69,116,67,.18); }
.btn-outline { border-color: var(--navy); color: var(--navy); background: #fff; }
.btn-outline:hover { background: var(--navy); color: #fff; }
.trust { display: flex; align-items: center; gap: 16px; margin-top: 34px; }
.trust p { margin: 0; font-size: 14.5px; color: var(--muted); line-height: 1.4; }
.trust p b { display: block; color: var(--ink); }
.avatars { display: flex; flex: none; }
.avatars img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; border: 3px solid #fff; margin-left: -12px; box-shadow: 0 4px 10px rgba(24,35,63,.12); }
.avatars img:first-child { margin-left: 0; }
.h2-visual { position: relative; aspect-ratio: 1 / 1.02; max-width: 540px; width: 100%; justify-self: center; }
.blob { position: absolute; inset: 6% 0 0 8%; border-radius: 46% 54% 42% 58% / 52% 44% 56% 48%; background: linear-gradient(140deg, var(--laurel), #7fb26a); opacity: .9; }
.arch { position: absolute; inset: 0 8% 4% 14%; border-radius: 260px 260px 28px 28px; overflow: hidden; border: 8px solid #fff; box-shadow: 0 30px 60px rgba(24,35,63,.18); }
.arch img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 30%; }
.float-card { position: absolute; display: flex; align-items: center; gap: 12px; background: #fff; border-radius: 16px; padding: 12px 16px 12px 12px; box-shadow: 0 16px 36px rgba(24,35,63,.16); max-width: 250px; animation: floaty 6s ease-in-out infinite; }
.float-card b { display: block; font-size: 15px; color: var(--ink); }
.float-card span:not(.ic) { font-size: 13px; color: var(--muted); line-height: 1.3; display: block; }
.float-card .ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: #e8f3ec; color: var(--laurel); flex: none; }
.float-card .ic svg { width: 22px; height: 22px; }
.float-card .ic.heart { background: #ffe8ec; color: #e0475d; font-size: 22px; }
.float-card .ic.ok { background: var(--navy); color: #fff; }
.fc1 { left: -6%; top: 16%; }
.fc2 { right: -4%; top: 46%; width: 210px; animation-delay: -2s; color: #e0475d; }
.fc2 > div { flex: 1; }
.fc3 { left: 4%; bottom: 4%; animation-delay: -4s; }
@keyframes floaty { 50% { transform: translateY(-8px); } }
.plus { position: absolute; width: 22px; height: 22px; opacity: .5; }
.plus::before, .plus::after { content: ""; position: absolute; background: var(--laurel); border-radius: 2px; }
.plus::before { left: 8px; top: 0; width: 6px; height: 22px; }
.plus::after { top: 8px; left: 0; height: 6px; width: 22px; }
.p1 { left: 46%; top: 12%; } .p2 { left: 4%; bottom: 10%; transform: scale(.7); opacity: .3; } .p3 { right: 3%; top: 8%; transform: scale(1.2); opacity: .25; }
.stats2 { padding-top: clamp(48px, 6vw, 72px); }
.stats2-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat2 { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 24px; display: grid; grid-template-columns: 56px 1fr; column-gap: 16px; align-items: center; }
.stat2 .ic { grid-row: span 2; width: 56px; height: 56px; border-radius: 16px; background: #e8f3ec; color: var(--laurel); display: grid; place-items: center; padding: 12px; }
.stat2 .ic svg { width: 100%; height: 100%; }
.stat2 b { font: 700 40px/1 var(--f-display); color: var(--ink); }
.stat2 span:last-child { color: var(--muted); font-size: 15px; }

/* ---------- option 3: care in motion ---------- */
.hero3 { position: relative; min-height: min(92vh, 860px); display: flex; align-items: center; overflow: hidden; background: var(--ink); color: #fff; text-align: center; }
.hero3-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero3-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(24,35,63,.72) 0%, rgba(24,35,63,.6) 50%, rgba(24,35,63,.95) 100%); }
.hero3 .wrap { position: relative; z-index: 1; padding-block: 80px 150px; }
.hero3 .eyebrow { justify-content: center; }
.hero3 h1 { font: 700 clamp(50px, 8.4vw, 118px)/.88 var(--f-display); text-transform: uppercase; color: #fff; max-width: 14ch; margin: 0 auto; }
.hero3 h1 em { font-style: normal; color: var(--sprout); }
.ecg-hero3 { height: 70px; margin: 18px auto 6px; max-width: 900px; }
.hero3 .lead { margin: 0 auto 30px; }
.hero3 .hero-cta { justify-content: center; }
.desk { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-top: 56px; background: rgba(255,255,255,.14); border-radius: 18px; overflow: hidden; text-align: left; backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,.14); }
.desk a { display: flex; gap: 14px; align-items: center; padding: 18px 20px; background: rgba(24,35,63,.55); color: #fff; text-decoration: none; transition: background .2s; }
.desk a:hover { background: var(--laurel); color: #fff; }
.desk .ic { width: 44px; height: 44px; border-radius: 12px; background: rgba(255,255,255,.12); display: grid; place-items: center; flex: none; padding: 9px; }
.desk .ic svg { width: 100%; height: 100%; }
.desk b { display: block; font-size: 15.5px; }
.desk span span, .desk a > span:last-child { font-size: 13.5px; color: var(--on-dark-muted); }
.desk a:hover span { color: #fff; }
.desk a > span:last-child b { color: #fff; }
.o3 .schools { margin-top: -70px; }
.stats3 { background: var(--laurel); color: #fff; padding-block: 34px 44px; margin-top: clamp(48px, 6vw, 72px); overflow: hidden; }
.ecg-band { height: 60px; margin-bottom: 8px; }
.ecg-band .ecg-base { stroke: rgba(255,255,255,.25); }
.ecg-band .ecg-pulse { stroke: #fff; filter: drop-shadow(0 0 6px rgba(255,255,255,.8)); }
.stats3-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat3 b { display: block; font: 700 64px/1 var(--f-display); }
.stat3 span { font-size: 15px; opacity: .85; }

/* ---------- option responsive ---------- */
@media (max-width: 1060px) {
  .reads, .stats2-grid, .stats3-grid { grid-template-columns: repeat(2, 1fr); }
  .hero2 .wrap { grid-template-columns: 1fr; }
  .h2-visual { max-width: 460px; }
  .desk { grid-template-columns: repeat(2, 1fr); }
  .vital { left: -6%; top: -2%; }
}
@media (max-width: 720px) {
  .opt-switch { bottom: 84px; left: 12px; right: 12px; transform: none; justify-content: space-between; }
  .opt-switch > span { display: none; }
  .opt-switch a { padding: 8px 10px 8px 8px; font-size: 12.5px; gap: 6px; }
  .read b { font-size: 46px; }
  .reads { gap: 8px; }
  .read { padding: 12px 12px 8px; }
  .fc1 { left: -2%; top: 6%; } .fc2 { right: -2%; } .fc3 { left: 0; }
  .float-card { max-width: 200px; padding: 10px 12px 10px 10px; }
  .float-card .ic { width: 36px; height: 36px; }
  .stats2-grid { grid-template-columns: 1fr 1fr; }
  .stat2 { grid-template-columns: 1fr; padding: 18px; gap: 8px; }
  .stat2 .ic { grid-row: auto; width: 46px; height: 46px; }
  .desk { grid-template-columns: 1fr; }
  .hero3 .wrap { padding-block: 56px 120px; }
  .stat3 b { font-size: 48px; }
  .vital { width: 140px; }
  .vital b { font-size: 26px; }
}
@media (prefers-reduced-motion: reduce) {
  .ecg-pulse { animation: none; stroke-dasharray: none; }
  .hero3-video { display: none; }
}

@media (max-width: 720px) {
  .opt-switch { gap: 2px; padding: 5px; }
  .opt-switch a { font-size: 11.5px; padding: 7px 8px 7px 6px; gap: 5px; }
  .opt-switch a b { width: 20px; height: 20px; font-size: 11px; }
  .topbar .wrap { min-height: 36px; }
  .topbar .notice { min-width: 0; font-size: 13px; }
  .topbar .notice span:last-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .topbar .contacts a { white-space: nowrap; font-size: 13px; }
}

/* clean screenshots (?shot) */
.shot .opt-switch, .shot .wa-float { display: none !important; }
.shot .reveal { opacity: 1; transform: none; transition: none; }

/* =====================================================================
   Site-wide design options (html.o1 / .o2 / .o3, set by the switcher)
   ===================================================================== */
.opt-block { display: none; }
html:not(.o2):not(.o3) .opt-1, .o2 .opt-2, .o3 .opt-3 { display: block; }

/* ECG line along the bottom of inner page headers */
.page-head { overflow: hidden; }
.ecg-head { position: absolute; left: 0; right: 0; bottom: 10px; height: 56px; z-index: 1; pointer-events: none; }
.page-head .wrap { padding-bottom: clamp(70px, 8vw, 104px); }

/* ---------- option 1: clinical monitor (dark, glowing green) ---------- */
.o1 .page-head .crumbs { color: #8ff0a4; }
.o1 .page-head .crumbs a { color: rgba(143,240,164,.75); }
.o1 .subnav a[aria-current="page"] { background: #0b1326; border-color: #0b1326; color: #8ff0a4; }
.o1 .side-card { background: #0b1326; color: #dfe7f5; border-top-color: #8ff0a4; }
.o1 .side-card .fact dt, .o1 .side-card .eyebrow { color: #8ff0a4; }
.o1 .side-card .fact dd { color: #fff; }
.o1 .side-card .btn-ghost { color: #fff; }
.o1 .jump a { background: #0b1326; color: #8ff0a4; }

/* ---------- option 2: clean clinic (light, mint, white cards) ---------- */
.o2 .page-head { background: linear-gradient(180deg, #f2f8f4 0%, #fff 100%); color: var(--text); }
.o2 .page-head h1 { color: var(--ink); }
.o2 .page-head .lead { color: var(--muted); }
.o2 .page-head .crumbs, .o2 .page-head .crumbs a { color: var(--laurel); }
.o2 .page-head .seal-mark { opacity: .06; }
.o2 .page-head.has-bg .bg-layer { left: 52%; border-radius: 0 0 0 220px; }
.o2 .page-head.has-bg::after { background: linear-gradient(90deg, #f2f8f4 0%, #f2f8f4 50%, rgba(242,248,244,0) 66%); }
.o2 .page-head .eyebrow { color: var(--laurel); }
.o2 .ecg-head .ecg-base { stroke: rgba(69,116,67,.25); }
.o2 .ecg-head .ecg-pulse, .o2 .ecg-hero .ecg-pulse { stroke: var(--laurel); filter: none; }
.o2 .section-dark { background: #eaf4ee; color: var(--text); }
.o2 .section-dark .h2, .o2 .section-dark .steps h3 { color: var(--ink); }
.o2 .section-dark .eyebrow { color: var(--laurel); }
.o2 .section-dark .steps p { color: var(--muted); }
.o2 .section-dark .steps li::before { background: #fff; color: var(--laurel); border-color: var(--laurel); }
.o2 .section-dark .btn-ghost { color: var(--navy); }
.o2 .section-dark .btn-ghost:hover { color: #fff; }
.o2 .program, .o2 .pcard, .o2 .ecard, .o2 .facility, .o2 .linkcard, .o2 .hosp, .o2 .sch, .o2 .aff { border-radius: 20px; box-shadow: 0 6px 20px rgba(24,35,63,.05); }
.o2 .value { background: #fff; border: 1px solid var(--line); color: var(--muted); }
.o2 .value h3 { color: var(--laurel); }
.o2 .side-card { background: #fff; border: 1px solid var(--line); border-top: 6px solid var(--laurel); box-shadow: 0 10px 30px rgba(24,35,63,.08); border-radius: 20px; }
.o2 .band-photo::after { background: linear-gradient(90deg, rgba(69,116,67,.94), rgba(69,116,67,.55)); }
.o2 .school-icon, .o2 .school-line .school-icon { padding: 10px; border-radius: 16px; background: #e8f3ec; color: var(--laurel); }

/* ---------- option 3: care in motion (photo-led, centred) ---------- */
.o3 .page-head { text-align: center; }
.o3 .page-head .wrap { padding-top: clamp(70px, 10vw, 130px); padding-bottom: clamp(90px, 10vw, 130px); }
.o3 .page-head h1 { font-size: clamp(50px, 8vw, 104px); }
.o3 .page-head .lead { margin-inline: auto; }
.o3 .page-head.has-bg::after { background: linear-gradient(180deg, rgba(24,35,63,.78), rgba(24,35,63,.92)); }
.o3 .page-head .seal-mark { display: none; }
.o3 .ecg-head { bottom: 18px; height: 64px; }
.o3 .subnav .wrap { justify-content: center; }
.o3 .section-head { flex-direction: column; align-items: center; text-align: center; }
.o3 .section-head .eyebrow { justify-content: center; }
.o3 .section-head .lead { margin-inline: auto; }
.o3 .facility .photo, .o3 .ecard .photo, .o3 .pcard-img { aspect-ratio: 4 / 3.2; }
.o3 .cta-band { background: linear-gradient(120deg, var(--laurel), #2f5a3b); }

@media (max-width: 720px) {
  .o2 .page-head.has-bg .bg-layer { left: 0; top: auto; height: 38%; border-radius: 120px 0 0 0; opacity: .9; }
  .o2 .page-head.has-bg::after { background: linear-gradient(180deg, #f2f8f4 0%, #f2f8f4 58%, rgba(242,248,244,0) 72%); }
  .o2 .page-head .wrap { padding-bottom: 46%; }
}

/* =====================================================================
   Site header: crest in the centre (C1)
   See-through over the dark hero / page header; --hp (0 -> 1 over the
   first 160px of scroll, site.js) turns it white and tucks the seal in.
   ===================================================================== */
:root { --hp: 0; }
html, body { overflow-x: clip; }
body { padding-top: 0; }
.cx {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  background: linear-gradient(180deg, rgba(10, 16, 34, calc(.55 * (1 - var(--hp)))), rgba(10, 16, 34, 0)), rgba(255, 255, 255, var(--hp));
  box-shadow: 0 10px 30px rgba(24, 35, 63, calc(var(--hp) * .1));
}
.cx-in { max-width: 1400px; margin: 0 auto; height: calc(86px - var(--hp) * 18px); padding-inline: var(--gutter); display: flex; align-items: center; }
.cx-nav { flex: 1; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 26px; position: relative; }
.cx-l { justify-content: flex-end; }
.cx-rw { display: flex; align-items: center; gap: 10px; }
.cx .menu .top {
  padding: 10px 11px; border-radius: 8px; background: none; font-size: 15px; letter-spacing: .01em;
  color: color-mix(in srgb, #3b4763 calc(var(--hp) * 100%), rgba(255, 255, 255, .92));
}
.cx .menu .has-sub > .top { padding-right: 2px; }
.cx .menu .top:hover { background: none; color: color-mix(in srgb, var(--ink) calc(var(--hp) * 100%), #fff); }
.cx .menu .top[aria-current="page"] { color: color-mix(in srgb, var(--ink) calc(var(--hp) * 100%), #fff); font-weight: 600; box-shadow: inset 0 -2px 0 var(--sprout); border-radius: 0; }
.cx .sub-toggle { color: color-mix(in srgb, var(--muted) calc(var(--hp) * 100%), rgba(255, 255, 255, .7)); }
.cx .menu > li:has(.mega) { position: static; }
.cx .sub.mega { top: calc(100% + 18px); z-index: 80; }
.cx-crest {
  display: block; flex: none; position: relative; z-index: 2; border-radius: 50%; background: #fff; padding: 5px;
  width: calc(104px - var(--hp) * 50px); height: calc(104px - var(--hp) * 50px); margin-top: calc((1 - var(--hp)) * 46px);
  box-shadow: 0 0 0 calc(3px - var(--hp) * 1px) var(--laurel), 0 0 0 calc(9px - var(--hp) * 9px) rgba(255, 255, 255, .18), 0 18px 40px rgba(0, 0, 0, calc(.35 - var(--hp) * .25));
  transition: transform .3s;
}
.cx-crest:hover { transform: rotate(-8deg); }
.cx-crest img { width: 100%; height: 100%; display: block; }
.cx-apply {
  margin-left: 6px; padding: 12px 20px; border-radius: 999px; font: 600 14.5px/1 var(--f-body); white-space: nowrap; text-decoration: none;
  background: color-mix(in srgb, var(--laurel) calc(var(--hp) * 100%), #fff); color: color-mix(in srgb, #fff calc(var(--hp) * 100%), var(--ink));
  transition: transform .2s, box-shadow .2s;
}
.cx-apply:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(0, 0, 0, .18); color: color-mix(in srgb, #fff calc(var(--hp) * 100%), var(--ink)); }
.cx-mcall, .cx-mcrest { display: none; }

/* every page now starts under the see-through header */
.o3 .hero3 .wrap { padding-top: 210px; }
.o3 .page-head .wrap { padding-top: calc(clamp(70px, 10vw, 130px) + 120px); }
.subnav { top: 68px; }
.side-card { top: 100px; }

@media (max-width: 1280px) {
  .cx-nav { gap: 16px; }
  .cx .menu .top { padding: 10px 8px; font-size: 14.5px; }
}
@media (max-width: 1180px) {
  .cx .menu .top { padding: 10px 6px; font-size: 14px; }
  .cx-apply { padding: 11px 15px; font-size: 13.5px; }
}
@media (max-width: 1060px) {
  .cx-in { height: 70px; justify-content: space-between; }
  .cx-nav { display: flex; gap: 0; position: absolute; grid-template-columns: none; align-items: stretch; padding-top: 26px; }
  .cx-l { justify-content: flex-start; }
  .cx-crest, .cx-rw .cx-apply { display: none; }
  .cx-rw { display: block; }
  .cx .menu .top { color: var(--text); padding: 15px 4px; font-size: 17px; border-radius: 0; }
  .cx .menu .top[aria-current="page"] { color: var(--laurel); box-shadow: none; }
  .cx .sub-toggle { color: var(--muted); }
  .cx .menu > li:has(.mega) { position: relative; }
  .cx-mcall { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
    border: 1px solid color-mix(in srgb, var(--line) calc(var(--hp) * 100%), rgba(255, 255, 255, .35));
    color: color-mix(in srgb, var(--laurel) calc(var(--hp) * 100%), #9cc97f); background: color-mix(in srgb, #fff calc(var(--hp) * 100%), rgba(255, 255, 255, .1)); }
  .cx-mcall svg { width: 18px; height: 18px; }
  .cx-mcrest { display: block; position: absolute; left: 50%; top: 6px; transform: translateX(-50%); border-radius: 50%; background: #fff; padding: 4px;
    width: calc(80px - var(--hp) * 24px); height: calc(80px - var(--hp) * 24px); box-shadow: 0 0 0 3px var(--laurel), 0 12px 26px rgba(0, 0, 0, calc(.3 - var(--hp) * .2)); }
  .cx-mcrest img { width: 100%; height: 100%; display: block; }
  .cx .menu-btn { margin-left: 0; background: color-mix(in srgb, #fff calc(var(--hp) * 100%), rgba(255, 255, 255, .12));
    border-color: color-mix(in srgb, var(--line) calc(var(--hp) * 100%), rgba(255, 255, 255, .35)); }
  .cx .menu-btn span { background: color-mix(in srgb, var(--ink) calc(var(--hp) * 100%), #fff); }
  body.menu-open .cx { background: #fff; }
  body.menu-open .cx .menu-btn span { background: var(--ink); }
  .o3 .hero3 .wrap { padding-top: 130px; }
  .o3 .page-head .wrap { padding-top: 150px; }
  .subnav { top: 70px; }
}

/* =====================================================================
   Home: programmes bento grid (M1)
   ===================================================================== */
.bento { display: grid; grid-template-columns: 1.35fr 1fr 1fr; grid-template-rows: 280px minmax(280px, auto) auto; gap: 16px; }
.bt { position: relative; border-radius: 26px; overflow: hidden; text-decoration: none; color: #fff; background-color: var(--ink); background-position: center; background-size: cover;
  display: flex; flex-direction: column; padding: 22px; transition: transform .35s, box-shadow .35s; }
a.bt:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(24, 35, 63, .18); color: #fff; }
a.bt:not(.b-post)::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(24, 35, 63, .05) 25%, rgba(24, 35, 63, .92)); }
.b-hero { grid-row: 1 / 3; }
.b-tag { position: relative; align-self: flex-start; font: 500 11px/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; padding: 8px 11px; border-radius: 999px; background: rgba(255, 255, 255, .92); color: var(--laurel); }
.b-tag.dark { background: #e8f3ec; }
.b-body { position: relative; margin-top: auto; }
.bt h3 { font: 700 30px/1 var(--f-display); text-transform: uppercase; color: inherit; margin: 0 0 10px; }
.b-hero h3 { font-size: 52px; }
.b-meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding-right: 56px; }
.b-meta span { font-size: 13.5px; padding: 6px 10px; border-radius: 8px; background: rgba(255, 255, 255, .14); backdrop-filter: blur(6px); }
.b-go { position: absolute; right: 0; bottom: 0; width: 46px; height: 46px; border-radius: 50%; background: var(--laurel); display: grid; place-items: center; color: #fff; transition: transform .25s; }
.b-go svg { width: 18px; height: 18px; }
a.bt:hover .b-go { transform: translateX(3px); }
.b-dip, .b-post { background: #fff; color: var(--text); border: 1px solid var(--line); }
.b-dip { grid-row: 2; grid-column: 2; gap: 4px; }
.b-dip h3, .b-post h3 { color: var(--ink); margin: 14px 0 6px; }
.d-row { display: grid; grid-template-columns: 54px 1fr auto; gap: 10px; align-items: center; padding: 9px 0; border-top: 1px solid var(--mist); text-decoration: none; color: var(--text); font-size: 14px; }
.d-row:hover { color: var(--text); }
.d-row:hover b { color: var(--laurel); }
.d-row b { font: 700 22px/1 var(--f-display); color: var(--navy); }
.d-row i { font-style: normal; font: 500 11px/1 var(--f-mono); text-transform: uppercase; letter-spacing: .05em; color: var(--laurel); }
.b-post { grid-row: 2; grid-column: 3; }
.b-post p { margin: 0; color: var(--muted); }
.b-post .b-go { right: 22px; bottom: 22px; }
a.b-post:hover { color: var(--text); }
.b-para { grid-row: 3; grid-column: 1 / 4; display: grid; grid-template-columns: 1fr 1.3fr; column-gap: 40px; align-items: center; }
.b-para::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(24, 35, 63, .96) 40%, rgba(24, 35, 63, .6)); }
.b-para > * { position: relative; }
.b-para .b-tag, .b-para h3, .b-para p, .b-para .b-link { grid-column: 1; }
.b-para .b-tag { justify-self: start; }
.b-para h3 { margin-top: 14px; }
.b-para p { margin: 0 0 14px; color: rgba(255, 255, 255, .75); max-width: 50ch; }
.chips { grid-column: 2; grid-row: 1 / 5; display: flex; flex-wrap: wrap; gap: 7px; }
.chips a { font-size: 13px; padding: 7px 11px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .22); background: rgba(255, 255, 255, .06); color: #fff; text-decoration: none; transition: background .2s, border-color .2s; }
.chips a:hover { background: var(--laurel); border-color: var(--laurel); color: #fff; }
.b-link { margin-top: 16px; display: inline-flex; gap: 8px; align-items: center; color: var(--sprout); font-weight: 600; text-decoration: none; justify-self: start; }
.b-link:hover { color: #fff; }
.b-link svg { width: 16px; height: 16px; }
@media (max-width: 900px) {
  .bento { grid-template-columns: 1fr; grid-template-rows: none; }
  .bt { min-height: 270px; grid-column: auto !important; grid-row: auto !important; }
  .b-hero { min-height: 340px; }
  .b-dip, .b-post, .b-para { min-height: 0; }
  .b-para { display: flex; }
  .chips { margin-top: 4px; }
  .b-hero h3 { font-size: 40px; }
}
@media (prefers-reduced-motion: reduce) { .bt, .b-go { transition: none; } }

/* =====================================================================
   Footer: crest on a heartbeat line
   ===================================================================== */
.ft {
  position: relative; margin-top: 58px; padding-bottom: 8px; color: var(--on-dark-muted); font-size: 15.5px;
  background-color: var(--ink);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56'%3E%3Cpath d='M26 22h4v4h4v4h-4v4h-4v-4h-4v-4h4z' fill='%23ffffff' fill-opacity='.035'/%3E%3C/svg%3E");
  overflow: hidden;
}
.ft a { color: var(--on-dark); text-decoration: none; }
.ft a:hover { color: var(--sprout); }
.ft-mark { position: absolute; right: -120px; bottom: -140px; width: 520px; opacity: .04; filter: grayscale(1) brightness(3); pointer-events: none; }
.ft-head { position: relative; height: 96px; margin-top: -48px; display: grid; place-items: center; }
.ft-ecg { position: absolute; left: 0; right: 0; top: 48px; height: 60px; transform: translateY(-50%); }
.ft-crest { position: relative; z-index: 1; width: 96px; height: 96px; border-radius: 50%; background: #fff; padding: 5px;
  box-shadow: 0 0 0 3px var(--laurel), 0 0 0 10px var(--ink), 0 16px 34px rgba(0, 0, 0, .35); transition: transform .4s; }
.ft-crest:hover { transform: rotate(-10deg); }
.ft-crest img { width: 100%; height: 100%; display: block; }
.ft-tag { text-align: center; margin: 26px 0 54px; font: 700 clamp(30px, 3.6vw, 46px)/1 var(--f-display); text-transform: uppercase; color: #fff; letter-spacing: .01em; }
.ft-tag em { font-style: normal; color: var(--sprout); }
.ft-grid { display: grid; grid-template-columns: 1.25fr .85fr .95fr .9fr 1.45fr; gap: 36px; padding-bottom: 54px; }
.ft-brand b { display: block; font: 700 26px/1 var(--f-display); text-transform: uppercase; letter-spacing: .03em; color: #fff; }
.ft-brand > span { display: block; font: 500 10.5px/1.3 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--sprout); margin: 6px 0 16px; }
.ft-brand p { margin: 0 0 20px; max-width: 32ch; }
.ft h4 { font: 500 12px/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--sprout); margin: 0 0 16px; display: flex; align-items: center; gap: 8px; }
.ft h4::before { content: ""; width: 14px; height: 2px; background: currentColor; }
.ft h4.mt { margin-top: 28px; }
.ft-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.ft-col a { position: relative; transition: color .2s, padding .2s; }
.ft-col a:hover { padding-left: 8px; }
.ft-visit { background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); border-radius: 22px; padding: 22px; align-self: start; }
.ft-vh { display: grid; grid-template-columns: 22px 1fr; gap: 10px; margin: 0 0 10px; color: var(--on-dark); line-height: 1.45; }
.ft-vh svg, .ft-meta svg { width: 18px; height: 18px; color: var(--sprout); margin-top: 2px; }
.ft-vh small, .ft-acts small { display: block; font: 500 10.5px/1.3 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--on-dark-muted); }
.ft-dir { display: inline-flex; align-items: center; gap: 8px; margin-left: 32px; font-weight: 600; color: var(--sprout) !important; font-size: 14.5px; }
.ft-dir svg { width: 15px; height: 15px; transition: transform .2s; }
.ft-dir:hover svg { transform: translateX(3px); }
.ft-acts { display: grid; gap: 8px; margin: 18px 0 14px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .1); }
.ft-acts a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px; background: rgba(255, 255, 255, .06); font: 700 19px/1.1 var(--f-display); letter-spacing: .03em; transition: background .2s, transform .2s; }
.ft-acts a:hover { background: rgba(255, 255, 255, .12); transform: translateX(3px); color: #fff; }
.ft-acts i { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--laurel); color: #fff; flex: none; }
.ft-acts i.wa { background: #1f9d55; }
.ft-acts i svg { width: 18px; height: 18px; }
.ft-meta { display: flex; align-items: center; gap: 10px; margin: 8px 0 0; font-size: 14.5px; }
.ft-bottom { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; padding: 22px 0 18px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 14px; }
.ft-bodies { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.ft-bodies small { font: 500 10.5px/1.3 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; margin-right: 4px; }
.ft-bodies span { font: 700 15px/1 var(--f-display); letter-spacing: .06em; color: #fff; padding: 7px 11px; border-radius: 8px; border: 1px solid rgba(255, 255, 255, .16); }
.ft-up { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .2); transition: background .2s, border-color .2s; }
.ft-up svg { width: 18px; height: 18px; transform: rotate(-90deg); }
.ft-up:hover { background: var(--laurel); border-color: var(--laurel); color: #fff !important; }
.cta-wrap + .ft, .section + .ft { margin-top: 48px; }

@media (max-width: 1180px) {
  .ft-grid { grid-template-columns: 1fr 1fr 1fr; }
  .ft-brand { grid-column: 1 / -1; }
  .ft-visit { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; column-gap: 28px; }
  .ft-visit .ft-acts { grid-column: 2; grid-row: 1 / 5; margin: 0; padding: 0; border: 0; align-self: center; }
}
@media (max-width: 720px) {
  .ft-tag { margin: 20px 0 40px; }
  .ft-grid { grid-template-columns: 1fr 1fr; gap: 30px 22px; }
  .ft-visit { display: block; }
  .ft-visit .ft-acts { margin: 18px 0 14px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .1); }
  .ft-bottom { flex-direction: column; align-items: flex-start; }
  .ft-up { position: absolute; right: 0; bottom: 18px; }
  .ft-bottom { position: relative; padding-right: 56px; }
  .ft-mark { width: 340px; }
}
@media (prefers-reduced-motion: reduce) { .ft-crest, .ft-acts a, .ft-col a { transition: none; } }

/* =====================================================================
   Hero info desk: white on hover, green text
   ===================================================================== */
.desk a:hover { background: #fff; color: var(--laurel); }
.desk a:hover > span:last-child b { color: var(--laurel); }
.desk a:hover span, .desk a:hover > span:last-child { color: var(--laurel-d); }
.desk a:hover .ic { background: #e8f3ec; color: var(--laurel); }

/* =====================================================================
   Home: key numbers as vital-sign cards (count up when they scroll in)
   ===================================================================== */
.vitals { position: relative; padding-block: clamp(56px, 7vw, 84px) clamp(48px, 6vw, 72px); background: var(--mist);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56'%3E%3Cpath d='M26 22h4v4h4v4h-4v4h-4v-4h-4v-4h4z' fill='%232c3f67' fill-opacity='.05'/%3E%3C/svg%3E"); }
.vitals .wrap { position: relative; }
.vt-ecg { position: absolute; left: 0; right: 0; top: 50%; height: 70px; transform: translateY(-50%); z-index: 0; }
.vt-ecg .ecg-base { stroke: rgba(69, 116, 67, .22); }
.vt-ecg .ecg-pulse { stroke: var(--laurel); filter: drop-shadow(0 0 4px rgba(69, 116, 67, .55)); }
.vt-grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.vt { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 24px 24px 22px; box-shadow: 0 12px 30px rgba(24, 35, 63, .06);
  position: relative; overflow: hidden; transition: transform .3s, box-shadow .3s, border-color .3s; }
.vt::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, var(--laurel), var(--sprout)); transform: scaleX(0); transform-origin: left; transition: transform .45s ease; }
.vt:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(24, 35, 63, .12); border-color: transparent; }
.vt:hover::after { transform: scaleX(1); }
.vt-ic { width: 50px; height: 50px; border-radius: 15px; background: #e8f3ec; color: var(--laurel); display: grid; place-items: center; padding: 11px; }
.vt-ic svg { width: 100%; height: 100%; }
.vt-num { display: flex; align-items: baseline; gap: 8px; margin: 18px 0 4px; color: var(--ink); }
.vt-num b { font: 700 64px/.9 var(--f-display); font-variant-numeric: tabular-nums; }
.vt-num small { font: 700 26px/1 var(--f-display); text-transform: uppercase; color: var(--laurel); }
.vt h3 { font: 700 21px/1.1 var(--f-display); text-transform: uppercase; color: var(--ink); margin: 0 0 6px; }
.vt-d { margin: 0; font-size: 14.5px; color: var(--muted); line-height: 1.45; }
@media (max-width: 1060px) { .vt-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) {
  .vt-grid { gap: 12px; }
  .vt { padding: 18px 16px; }
  .vt-num b { font-size: 48px; }
  .vt-d { font-size: 13.5px; }
}
@media (prefers-reduced-motion: reduce) { .vt, .vt::after { transition: none; } }

/* =====================================================================
   Footer styles 1 / 2 / 3 (html.ff1 / ff2 / ff3, switcher at the bottom)
   ===================================================================== */
.ftv { display: none; }
html:not(.ff2):not(.ff3) .ftv-1, .ff2 .ftv-2, .ff3 .ftv-3 { display: block; }
.ft-switch { bottom: 18px; }
.ff1 .ft-switch a[data-ft="1"], .ff2 .ft-switch a[data-ft="2"], .ff3 .ft-switch a[data-ft="3"] { background: var(--laurel); }
.ff1 .ft-switch a[data-ft="1"] b, .ff2 .ft-switch a[data-ft="2"] b, .ff3 .ft-switch a[data-ft="3"] b { background: #fff; color: var(--laurel); }
.cta-wrap { padding-bottom: clamp(40px, 5vw, 64px); }

/* ---------- style 1 fixes: let the crest sit on the edge ---------- */
.ft { overflow: visible; }
.ft-clip { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }

/* shared column look for styles 2 and 3 */
.ft2 .ft-col ul, .ft3 .ft-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.ft2 h4, .ft3 h4 { font: 500 12px/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; margin: 0 0 16px; display: flex; align-items: center; gap: 8px; }
.ft2 h4::before, .ft3 h4::before { content: ""; width: 14px; height: 2px; background: currentColor; }
.ft2 h4.mt, .ft3 h4.mt { margin-top: 28px; }
.ft2 .ft-col a, .ft3 .ft-col a { text-decoration: none; transition: color .2s, padding .2s; }
.ft2 .ft-col a:hover, .ft3 .ft-col a:hover { padding-left: 8px; }

/* ---------- style 2: light clinic ---------- */
.ft2 { position: relative; margin-top: 70px; background: #f2f7f3; border-top: 1px solid var(--line); color: var(--muted); font-size: 15.5px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56'%3E%3Cpath d='M26 22h4v4h4v4h-4v4h-4v-4h-4v-4h4z' fill='%23457443' fill-opacity='.06'/%3E%3C/svg%3E"); }
.ft2 a { color: var(--navy); text-decoration: none; }
.ft2 a:hover { color: var(--laurel); }
.f2-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: -46px; position: relative; }
.f2-card { display: grid; grid-template-columns: 50px 1fr 36px; gap: 14px; align-items: center; padding: 18px 18px 18px 16px; background: #fff; border: 1px solid var(--line); border-radius: 20px;
  box-shadow: 0 14px 34px rgba(24, 35, 63, .08); transition: transform .25s, border-color .25s, box-shadow .25s; }
.f2-card:hover { transform: translateY(-3px); border-color: var(--laurel); box-shadow: 0 20px 40px rgba(24, 35, 63, .12); }
.f2-card i { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; background: var(--laurel); color: #fff; }
.f2-card i.wa { background: #1f9d55; }
.f2-card i svg { width: 21px; height: 21px; }
.f2-card small { display: block; font: 500 10.5px/1.3 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 3px; }
.f2-card b { font: 700 24px/1.05 var(--f-display); letter-spacing: .03em; color: var(--ink); }
.f2-card b.addr { font: 600 15px/1.35 var(--f-body); letter-spacing: 0; display: block; }
.f2-card em { width: 36px; height: 36px; border-radius: 50%; border: 1.5px solid var(--line); display: grid; place-items: center; color: var(--navy); transition: background .2s, color .2s, border-color .2s; }
.f2-card em svg { width: 15px; height: 15px; }
.f2-card:hover em { background: var(--laurel); border-color: var(--laurel); color: #fff; }
.f2-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; padding: 60px 0 50px; }
.f2-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.f2-logo img { width: 56px; height: 56px; }
.f2-logo b { display: block; font: 700 24px/1 var(--f-display); text-transform: uppercase; letter-spacing: .03em; color: var(--navy); }
.f2-logo span span { display: block; font: 500 10.5px/1.3 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--laurel); margin-top: 4px; }
.ft2 .ft-brand p { max-width: 34ch; margin: 0 0 14px; }
.ft2 .ft-meta { display: flex; align-items: center; gap: 10px; margin: 6px 0 0; font-size: 14.5px; }
.ft2 .ft-meta svg { width: 17px; height: 17px; color: var(--laurel); }
.ft2 .socials { margin-top: 18px; }
.ft2 .socials a { border-color: var(--line); color: var(--navy); background: #fff; }
.ft2 .socials a:hover { background: var(--laurel); border-color: var(--laurel); color: #fff; }
.ft2 h4 { color: var(--laurel); }
.ft2 .ft-bottom { border-top-color: var(--line); color: var(--muted); }
.ft2 .ft-bodies span { color: var(--navy); border-color: var(--line); background: #fff; }
.ft2 .ft-up { border-color: var(--line); color: var(--navy); }

/* ---------- style 3: big statement ---------- */
.ft3 { position: relative; overflow: hidden; margin-top: 0; background: #0f1830; color: var(--on-dark-muted); font-size: 15.5px; padding-top: clamp(64px, 8vw, 96px); }
.ft3 a { color: var(--on-dark); text-decoration: none; }
.ft3 a:hover { color: var(--sprout); }
.f3-top { display: grid; grid-template-columns: 1.45fr 1fr; gap: 60px; align-items: center; padding-bottom: 56px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.ft3 .eyebrow { color: var(--sprout); }
.f3-q { font: 700 clamp(30px, 3.4vw, 46px)/1 var(--f-display); text-transform: uppercase; color: #fff; margin: 0; }
.f3-q em { font-style: normal; color: var(--sprout); }
.f3-num { display: inline-block; margin: 14px 0 24px; font: 700 clamp(58px, 8vw, 116px)/.9 var(--f-display); letter-spacing: .02em;
  background: linear-gradient(90deg, #fff 30%, var(--sprout)); -webkit-background-clip: text; background-clip: text; color: transparent !important; transition: letter-spacing .4s; }
.f3-num:hover { letter-spacing: .05em; }
.f3-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.ft3 .btn-ghost { color: #fff; }
.ft3 .btn-ghost:hover { color: var(--ink); }
.f3-visit { position: relative; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1); border-radius: 24px; padding: 30px 26px 24px; }
.f3-crest { position: absolute; top: -34px; right: 24px; width: 84px; height: 84px; border-radius: 50%; background: #fff; padding: 4px; box-shadow: 0 0 0 3px var(--laurel), 0 14px 30px rgba(0, 0, 0, .4); transition: transform .4s; }
.f3-crest:hover { transform: rotate(-10deg); }
.f3-crest img { width: 100%; height: 100%; display: block; }
.f3-visit p { display: grid; grid-template-columns: 22px 1fr; gap: 10px; margin: 0 0 12px; padding-right: 90px; }
.f3-visit p:not(:first-of-type) { padding-right: 0; }
.f3-visit svg { width: 18px; height: 18px; color: var(--sprout); margin-top: 2px; }
.f3-visit .ft-dir { display: inline-flex; align-items: center; gap: 8px; margin: -4px 0 16px 32px; font-weight: 600; color: var(--sprout); }
.f3-visit .ft-dir svg { width: 15px; height: 15px; margin: 0; }
.f3-visit .socials { margin-top: 18px; }
.ft3 h4 { color: var(--sprout); }
.f3-grid { grid-template-columns: repeat(3, 1fr); padding: 48px 0 40px; }
.ft3 .ft-bottom { position: relative; z-index: 1; }
.f3-word { margin: -10px 0 0; text-align: center; white-space: nowrap; pointer-events: none; user-select: none;
  font: 700 clamp(120px, 25vw, 380px)/.78 var(--f-display); text-transform: uppercase; letter-spacing: .02em;
  color: transparent; -webkit-text-stroke: 1px rgba(156, 201, 127, .28);
  background: linear-gradient(180deg, rgba(156, 201, 127, .16), rgba(156, 201, 127, 0) 80%); -webkit-background-clip: text; background-clip: text;
  transform: translateY(16%); }

@media (max-width: 1060px) {
  .f2-cards { grid-template-columns: 1fr; margin-top: -40px; }
  .f2-grid { grid-template-columns: 1fr 1fr; }
  .f2-grid .ft-brand { grid-column: 1 / -1; }
  .f3-top { grid-template-columns: 1fr; gap: 50px; }
}
@media (max-width: 720px) {
  .f2-grid, .f3-grid { grid-template-columns: 1fr 1fr; gap: 30px 22px; }
  .f3-grid .ft-col:first-child { grid-column: 1 / -1; }
  .f3-visit { padding-top: 54px; }
  .f3-visit p { padding-right: 0; }
  .f3-crest { width: 68px; height: 68px; top: -30px; }
  .ft-switch { bottom: 84px; }
}

/* =====================================================================
   Footer: compact big statement (style 3)
   ===================================================================== */
.fs { position: relative; overflow: hidden; background: #0f1830; color: var(--on-dark-muted); font-size: 14.5px; }
.fs a { color: var(--on-dark); text-decoration: none; }
.fs a:hover { color: var(--sprout); }
.fs-top { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 32px; padding: 34px 0 30px; border-bottom: 1px solid rgba(255, 255, 255, .09); }
.fs-q { margin: 0; font: 700 clamp(22px, 2.2vw, 30px)/1.05 var(--f-display); text-transform: uppercase; color: #fff; }
.fs-q em { font-style: normal; color: var(--sprout); }
.fs-num { display: inline-flex; align-items: center; gap: 14px; font: 700 clamp(34px, 3.6vw, 50px)/1 var(--f-display); letter-spacing: .03em;
  background: linear-gradient(90deg, #fff 35%, var(--sprout)); -webkit-background-clip: text; background-clip: text; color: transparent !important; }
.fs-num svg { width: 42px; height: 42px; padding: 10px; border-radius: 50%; background: var(--laurel); color: #fff; flex: none; }
.fs-btns { display: flex; gap: 10px; }
.fs-btns .btn { min-height: 44px; padding: 0 18px; font-size: 14.5px; }
.fs .btn-ghost { color: #fff; }
.fs .btn-ghost:hover { color: var(--ink); }
.fs-grid { display: grid; grid-template-columns: 1.1fr 1.6fr .9fr .85fr 1.2fr; gap: 28px; padding: 36px 0 30px; }
.fs-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.fs-logo img { width: 52px; height: 52px; border-radius: 50%; background: #fff; padding: 2px; box-shadow: 0 0 0 2px var(--laurel); }
.fs-logo b { display: block; font: 700 21px/1 var(--f-display); text-transform: uppercase; letter-spacing: .03em; color: #fff; }
.fs-logo small { display: block; font: 500 9.5px/1.3 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--sprout); margin-top: 4px; }
.fs-brand p { margin: 0 0 14px; max-width: 30ch; line-height: 1.5; }
.fs .socials { margin: 0; gap: 8px; }
.fs .socials a { width: 34px; height: 34px; }
.fs .socials svg { width: 15px; height: 15px; }
.fs h4 { font: 500 11px/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--sprout); margin: 4px 0 14px; }
.fs-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 7px; }
.fs-progs ul { grid-template-columns: auto auto; justify-content: start; column-gap: 26px; }
.fs-progs a, .fs-col a { white-space: nowrap; }
.fs-logo small { max-width: 150px; }
.fs-col a { transition: color .2s; }
.fs-visit p { display: grid; grid-template-columns: 18px 1fr; gap: 10px; margin: 0 0 10px; line-height: 1.45; }
.fs-visit svg { width: 16px; height: 16px; color: var(--sprout); margin-top: 2px; }
.fs-dir { display: block; margin-top: 4px; font-weight: 600; color: var(--sprout) !important; }
.fs-bottom { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 16px 0; border-top: 1px solid rgba(255, 255, 255, .09); font-size: 13px; }
.fs-bodies { display: flex; gap: 6px; flex-wrap: wrap; }
.fs-bodies span { font: 700 13px/1 var(--f-display); letter-spacing: .06em; color: #fff; padding: 6px 9px; border-radius: 7px; border: 1px solid rgba(255, 255, 255, .15); }
.fs-up { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .2); }
.fs-up svg { width: 16px; height: 16px; transform: rotate(-90deg); }
.fs-up:hover { background: var(--laurel); border-color: var(--laurel); color: #fff !important; }
.fs-word { margin: -6px 0 0; height: clamp(54px, 7vw, 104px); overflow: hidden; text-align: center; white-space: nowrap; pointer-events: none; user-select: none;
  font: 700 clamp(110px, 15vw, 220px)/.8 var(--f-display); text-transform: uppercase; letter-spacing: .04em;
  color: transparent; -webkit-text-stroke: 1px rgba(156, 201, 127, .25);
  background: linear-gradient(180deg, rgba(156, 201, 127, .18), rgba(156, 201, 127, 0) 70%); -webkit-background-clip: text; background-clip: text; }

@media (max-width: 1180px) {
  .fs-top { grid-template-columns: 1fr auto; }
  .fs-btns { grid-column: 1 / -1; }
  .fs-grid { grid-template-columns: 1fr 1fr 1fr; }
  .fs-brand { grid-column: 1 / -1; display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
  .fs-brand p { margin: 0; }
}
@media (max-width: 720px) {
  .fs-top { grid-template-columns: 1fr; gap: 16px; padding: 28px 0 24px; }
  .fs-grid { grid-template-columns: 1fr 1fr; gap: 26px 18px; }
  .fs-progs, .fs-visit { grid-column: 1 / -1; }
  .fs-brand { display: block; }
  .fs-brand p { margin: 0 0 12px; }
  .fs-bottom { flex-direction: column; align-items: flex-start; padding-right: 52px; }
  .fs-up { position: absolute; right: 0; top: 50%; transform: translateY(-50%); }
}
