/* BMS PU College · I PU 2027–28 landing page
   Palette: dark blue, dark orange, white.  Fonts: Lora (headings) + Inter (text), self-hosted. */

@font-face { font-family: 'Inter'; src: url('/bmspuc/fonts/inter.woff2') format('woff2'); font-weight: 400 800; font-style: normal; font-display: swap; }
@font-face { font-family: 'Lora'; src: url('/bmspuc/fonts/lora.woff2') format('woff2'); font-weight: 500 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Lora'; src: url('/bmspuc/fonts/lora-italic.woff2') format('woff2'); font-weight: 500 600; font-style: italic; font-display: swap; }

:root {
  --navy-950: #04112f;
  --navy-900: #071a45;
  --navy-800: #0b2561;
  --navy-700: #123a8c;
  --blue-600: #1e4fb8;
  --blue-100: #dbe6fb;

  --orange-700: #9a3412;
  --orange-600: #c2410c;   /* buttons / text on white: 5.2:1 contrast */
  --orange-500: #ea580c;
  --orange-400: #fb923c;   /* accents on dark blue */
  --orange-300: #fdba74;

  --white: #ffffff;
  --ink: #0b1a3a;
  --muted: #475674;
  --line: #dfe6f3;
  --tint: #f2f6fd;
  --warm: #fff4ea;
  --wa: #25d366;
  --wa-ink: #052e16;

  --font-head: 'Lora', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Noto Sans', 'Noto Sans Kannada', sans-serif;

  --maxw: 1200px;
  --gutter: 20px;
  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 28px;
  --shadow-sm: 0 2px 6px rgba(7, 26, 69, .06), 0 8px 20px -10px rgba(7, 26, 69, .16);
  --shadow-md: 0 4px 10px rgba(7, 26, 69, .06), 0 22px 40px -18px rgba(7, 26, 69, .28);
  --shadow-lg: 0 8px 18px rgba(7, 26, 69, .10), 0 40px 70px -28px rgba(7, 26, 69, .45);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html.modal-open { overflow: hidden; }
body {
  margin: 0; font-family: var(--font-body); font-size: 1rem; line-height: 1.6; color: var(--ink);
  background: var(--navy-950); overflow-x: clip; -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3, h4, p, ul, ol, blockquote, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--orange-600); outline-offset: 3px; border-radius: 6px; }
.hero :focus-visible, .topstrip :focus-visible, .section--dark :focus-visible, .enquire__copy :focus-visible, .site-footer :focus-visible, .safety :focus-visible { outline-color: var(--orange-300); }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ico { width: 1.15em; height: 1.15em; flex: none; }
.container { width: min(100% - 2 * var(--gutter), var(--maxw)); margin-inline: auto; }
.container--narrow { width: min(100% - 2 * var(--gutter), 820px); }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--orange-600); color: #fff; padding: 10px 16px; border-radius: 10px; font-weight: 700; text-decoration: none; }
.skip-link:focus { top: 12px; }

@media (max-width: 380px) { :root { --gutter: 16px; } }

/* ---------- top strip ---------- */
.topstrip { background: var(--navy-950); color: #fff; font-size: .8125rem; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.topstrip__inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-block: 8px; }
.topstrip__msg { display: none; align-items: center; gap: 10px; color: rgba(255, 255, 255, .86); font-weight: 500; }
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange-400); box-shadow: 0 0 0 0 rgba(251, 146, 60, .7); animation: pulse 2s infinite; }
.topstrip__actions { display: flex; gap: 8px; flex: 1; }
.strip-btn {
  flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 0 14px;
  border-radius: 999px; font-weight: 700; font-size: .875rem; text-decoration: none; white-space: nowrap;
  transition: transform .2s var(--ease), background .2s;
}
.strip-btn:hover { transform: translateY(-1px); }
.strip-btn--call { background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .28); color: #fff; }
.strip-btn--call:hover { background: rgba(255, 255, 255, .18); }
.strip-btn--wa { background: var(--wa); color: var(--wa-ink); flex: .8; }
.strip-btn--wa:hover { background: #3be07b; }
@media (min-width: 720px) {
  .topstrip__msg { display: flex; }
  .topstrip__actions { flex: none; }
  .strip-btn { flex: none; min-height: 38px; }
}

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .94); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); transition: box-shadow .25s; }
.site-header.is-stuck { box-shadow: 0 8px 24px -14px rgba(7, 26, 69, .35); }
.header__inner { display: flex; align-items: center; gap: 20px; padding-block: 8px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; min-width: 0; }
.brand img { width: 46px; height: 46px; border-radius: 50%; flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.brand__text strong { font-family: var(--font-head); font-size: 1.1rem; color: var(--navy-900); }
.brand__text small { font-size: .7rem; color: var(--muted); font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nav { display: none; gap: 4px; }
.nav a { padding: 8px 12px; border-radius: 999px; font-size: .875rem; font-weight: 600; color: var(--navy-900); text-decoration: none; transition: background .2s, color .2s; }
.nav a:hover { background: var(--tint); color: var(--orange-600); }
@media (min-width: 1020px) { .nav { display: flex; } }
@media (max-width: 420px) { .brand__text small { display: none; } .header__inner { gap: 10px; } }
.scroll-progress { height: 3px; background: transparent; }
.scroll-progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--orange-600), var(--orange-400)); transform-origin: 0 50%; transform: scaleX(0); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem; min-height: 48px; padding: 0 1.4rem;
  border: 2px solid transparent; border-radius: 999px; font-weight: 700; font-size: 1rem; line-height: 1.1; text-align: center; text-decoration: none;
  cursor: pointer; transition: transform .2s var(--ease), box-shadow .25s var(--ease), background .2s, color .2s, border-color .2s;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn--sm { min-height: 42px; padding: 0 1.1rem; font-size: .9rem; }
.btn--lg { min-height: 56px; padding: 0 1.9rem; font-size: 1.05rem; }
.btn--block { width: 100%; }
.btn--primary { color: #fff; background: linear-gradient(180deg, #cc470f, var(--orange-600)); box-shadow: 0 12px 26px -10px rgba(194, 65, 12, .8), inset 0 1px 0 rgba(255, 255, 255, .25); }
.btn--primary:hover { background: linear-gradient(180deg, #d4500f, #b13a0a); box-shadow: 0 16px 30px -10px rgba(194, 65, 12, .9), inset 0 1px 0 rgba(255, 255, 255, .3); transform: translateY(-2px); }
.btn--ghost { color: #fff; border-color: rgba(255, 255, 255, .45); background: rgba(255, 255, 255, .06); }
.btn--ghost:hover { background: rgba(255, 255, 255, .16); border-color: #fff; }
.btn--outline { color: var(--navy-900); border-color: var(--navy-900); background: transparent; }
.btn--outline:hover { background: var(--navy-900); color: #fff; }
.btn--light { background: #fff; color: var(--navy-900); box-shadow: 0 10px 24px -12px rgba(0, 0, 0, .5); }
.btn--light:hover { transform: translateY(-2px); background: #fff4ea; }
.btn--wa { background: var(--wa); color: var(--wa-ink); box-shadow: 0 12px 24px -12px rgba(37, 211, 102, .8); }
.btn--wa:hover { background: #3be07b; transform: translateY(-2px); }
.btn .ico { transition: transform .25s var(--ease); }
.btn:hover .ico { transform: translateX(3px); }
.btn .ico[href], .btn--wa .ico, .btn--light .ico:first-child { transform: none; }
.btn--wa:hover .ico, .btn--light:hover .ico { transform: none; }

/* ---------- section scaffolding ---------- */
.section { position: relative; padding-block: clamp(56px, 8vw, 104px); background: #fff; }
.section--tint { background: var(--tint); }
.section--warm { background: var(--warm); }
.section--dark { background: radial-gradient(1200px 600px at 85% -10%, #123a8c 0%, transparent 60%), linear-gradient(180deg, var(--navy-900), var(--navy-950)); color: #fff; overflow: hidden; }
.section--enquire { background: radial-gradient(900px 500px at 10% 0%, #123a8c 0%, transparent 60%), linear-gradient(180deg, var(--navy-900), var(--navy-950)); color: #fff; overflow: hidden; }
.dark-glow { position: absolute; border-radius: 50%; filter: blur(80px); pointer-events: none; opacity: .5; }
.dark-glow--a { width: 420px; height: 420px; right: -120px; top: 10%; background: rgba(234, 88, 12, .55); }
.dark-glow--b { width: 380px; height: 380px; left: -140px; bottom: 5%; background: rgba(30, 79, 184, .6); }
.section > .container { position: relative; z-index: 1; }

.section-head { max-width: 760px; margin: 0 auto clamp(32px, 5vw, 56px); text-align: center; }
.section-head p:not(.eyebrow) { margin-top: 14px; color: var(--muted); font-size: 1.0625rem; }
.section-head--light p:not(.eyebrow) { color: rgba(255, 255, 255, .8); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 14px; font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--blue-600); }
.eyebrow::before { content: ''; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }
.eyebrow--orange { color: var(--orange-600); }
.section--dark .eyebrow:not(.eyebrow--light) { color: var(--orange-300); }
.eyebrow--light { color: var(--orange-300); }
h1, h2, h3 { text-wrap: balance; }
h2 { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.75rem, 3.2vw + .9rem, 3rem); line-height: 1.14; letter-spacing: -.01em; color: var(--navy-900); }
h2 em, h1 em { font-style: italic; font-weight: 500; color: var(--orange-600); }
.section--dark h2, .section--enquire h2 { color: #fff; }
.section--dark h2 em, .section--enquire h2 em { color: var(--orange-400); }
h3 { font-family: var(--font-head); font-weight: 700; color: var(--navy-900); line-height: 1.25; }
h4 { font-weight: 700; color: var(--navy-900); line-height: 1.3; }
.section-cta { margin-top: 44px; text-align: center; }

/* ---------- reveal on scroll ---------- */
.js .reveal { opacity: 0; }
.js .reveal.in { animation: rise .75s var(--ease) both; animation-delay: var(--d, 0s); }
.stagger > .reveal:nth-child(2) { --d: .08s; } .stagger > .reveal:nth-child(3) { --d: .16s; }
.stagger > .reveal:nth-child(4) { --d: .24s; } .stagger > .reveal:nth-child(5) { --d: .32s; }
.stagger > .reveal:nth-child(6) { --d: .4s; }  .stagger > .reveal:nth-child(7) { --d: .48s; }
.stagger > .reveal:nth-child(8) { --d: .56s; } .stagger > .reveal:nth-child(9) { --d: .64s; }
@keyframes rise { from { opacity: 0; translate: 0 28px; } to { opacity: 1; translate: 0 0; } }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(251, 146, 60, 0); } 100% { box-shadow: 0 0 0 0 rgba(251, 146, 60, 0); } }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(var(--rot, 0deg)); } 50% { transform: translateY(-14px) rotate(calc(var(--rot, 0deg) * -1)); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pop { from { opacity: 0; transform: translateY(18px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes shine { from { background-position: 200% 0; } to { background-position: -200% 0; } }

/* ---------- 3D tilt (JS sets --rx --ry --mx --my) ---------- */
.tilt {
  position: relative; transform-style: preserve-3d;
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--lift, 0px));
  transition: transform .28s var(--ease), box-shadow .28s var(--ease), border-color .28s;
}
.tilt::after { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .3s; background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 255, 255, .22), transparent 45%); }
@media (hover: hover) { .tilt:hover { --lift: -6px; } .tilt:hover::after { opacity: 1; } }

/* ---------- hero ---------- */
.hero { position: relative; background: linear-gradient(180deg, var(--navy-900) 0%, var(--navy-950) 100%); color: #fff; padding-block: clamp(36px, 6vw, 80px) clamp(96px, 11vw, 150px); overflow: hidden; isolation: isolate; }
.hero__bg { position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px); background-size: 52px 52px; -webkit-mask-image: radial-gradient(ellipse 80% 70% at 70% 30%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse 80% 70% at 70% 30%, #000 20%, transparent 75%); }
.glow { position: absolute; border-radius: 50%; filter: blur(90px); }
.glow--a { width: 460px; height: 460px; right: -80px; top: -60px; background: rgba(234, 88, 12, .5); }
.glow--b { width: 420px; height: 420px; left: -140px; bottom: -80px; background: rgba(30, 79, 184, .7); }
.hero__inner { display: grid; gap: 44px; align-items: center; }
.badge { display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px 7px 10px; margin-bottom: 20px; font-size: .8125rem; font-weight: 700; letter-spacing: .02em; border: 1px solid rgba(253, 186, 116, .5); border-radius: 999px; background: rgba(251, 146, 60, .12); color: #ffe2c6; }
.badge img { width: 22px; height: 22px; }
.hero h1 { font-family: var(--font-head); font-weight: 700; font-size: clamp(2.15rem, 5.6vw + .5rem, 4.1rem); line-height: 1.07; letter-spacing: -.015em; color: #fff; }
.hl { background: linear-gradient(100deg, #ffb26b 0%, #ff7a2f 60%, #ff9a52 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: var(--orange-400); font-style: italic; }
.lead { margin-top: 22px; max-width: 54ch; font-size: clamp(1.02rem, .9rem + .5vw, 1.2rem); color: rgba(255, 255, 255, .85); }
.lead--light { color: rgba(255, 255, 255, .82); }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero__chips { display: flex; flex-wrap: wrap; gap: 8px 10px; margin-top: 30px; }
.hero__chips li { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 10px; font-size: .8125rem; font-weight: 600; color: rgba(255, 255, 255, .92); background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); border-radius: 999px; }
.hero__chips .ico { width: 15px; height: 15px; padding: 2px; border-radius: 50%; background: var(--orange-500); color: #fff; }
@media (min-width: 960px) { .hero__inner { grid-template-columns: 1.08fr .92fr; gap: 28px; } }

.stage { position: relative; width: min(100%, 500px); aspect-ratio: 1; margin-inline: auto; }
.stage__ring { position: absolute; border-radius: 50%; border: 1.5px dashed rgba(255, 255, 255, .2); animation: spin 60s linear infinite; }
.stage__ring--1 { inset: 4%; }
.stage__ring--2 { inset: 15%; border-style: solid; border-color: rgba(251, 146, 60, .28); animation-duration: 90s; animation-direction: reverse; }
.stage__ring--3 { inset: -4%; border-color: rgba(255, 255, 255, .09); animation-duration: 120s; }
.stage__logo { position: absolute; inset: 22%; border-radius: 50%; background: #fff; display: grid; place-items: center; padding: 2%; box-shadow: 0 0 0 10px rgba(255, 255, 255, .1), 0 0 0 22px rgba(255, 255, 255, .05), 0 40px 80px -20px rgba(0, 0, 0, .65); translate: var(--lx, 0) var(--ly, 0); transition: translate .3s ease-out; }
.stage__logo img { width: 100%; height: 100%; border-radius: 50%; }
.float { position: absolute; width: 22%; filter: drop-shadow(0 16px 18px rgba(0, 0, 0, .38)); translate: var(--px, 0) var(--py, 0); transition: translate .35s ease-out; animation: bob 7s ease-in-out infinite; will-change: transform; }
.f1 { top: 8%; left: 6%; --rot: 5deg; animation-delay: -1s; }
.f2 { top: 1%; right: 11%; width: 25%; --rot: -6deg; animation-delay: -3s; animation-duration: 6s; }
.f3 { top: 40%; right: -3%; width: 21%; --rot: 7deg; animation-delay: -2s; animation-duration: 8s; }
.f4 { bottom: 5%; right: 12%; width: 23%; --rot: -5deg; animation-delay: -4s; }
.f5 { bottom: 6%; left: 11%; width: 21%; --rot: 4deg; animation-delay: -5s; animation-duration: 6.5s; }
.f6 { top: 41%; left: -3%; width: 19%; --rot: -4deg; animation-delay: -2.5s; animation-duration: 7.5s; }
@media (max-width: 959px) { .stage { width: min(100%, 360px); } }

/* ---------- trust bar (overlaps the hero) ---------- */
.trustbar { position: relative; z-index: 5; margin-top: -64px; background: linear-gradient(180deg, transparent 64px, var(--tint) 64px); }
.trustbar__list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.trustbar__list li { display: flex; align-items: center; gap: 12px; padding: 18px 16px; background: #fff; }
.trustbar__list img { width: 44px; height: 44px; flex: none; filter: drop-shadow(0 6px 8px rgba(7, 26, 69, .22)); }
.trustbar__list strong { display: block; font-size: .95rem; line-height: 1.25; color: var(--navy-900); }
.trustbar__list li div > span { display: block; margin-top: 2px; font-size: .78rem; line-height: 1.35; color: var(--muted); }
@media (max-width: 899px) { .trustbar__list li { flex-direction: column; align-items: flex-start; gap: 8px; padding: 16px 14px; } }
@media (min-width: 900px) { .trustbar__list { grid-template-columns: repeat(4, 1fr); } .trustbar__list li { padding: 22px 24px; gap: 16px; } .trustbar__list img { width: 54px; height: 54px; } .trustbar__list strong { font-size: 1.05rem; } }

/* ---------- courses ---------- */
.stream { display: grid; gap: 22px; padding-block: 34px; border-top: 1px solid var(--line); }
.stream:first-of-type { border-top: 0; padding-top: 6px; }
.stream__head { display: grid; grid-template-columns: 72px 1fr; column-gap: 16px; align-items: center; }
.stream__head img { grid-row: 1 / span 2; width: 72px; height: 72px; filter: drop-shadow(0 12px 14px rgba(7, 26, 69, .28)); }
.stream__head h3 { align-self: end; font-size: 1.7rem; }
.stream__head p { align-self: start; margin-top: 2px; color: var(--muted); font-size: .95rem; max-width: 34ch; }
.cards { display: grid; gap: 22px; grid-template-columns: 1fr; align-items: stretch; }
@media (min-width: 700px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1020px) {
  .stream { grid-template-columns: 240px 1fr; gap: 36px; padding-block: 44px; }
  .stream__head { display: flex; flex-direction: column; align-items: flex-start; position: sticky; top: 110px; align-self: start; gap: 14px; }
  .stream__head img { width: 104px; height: 104px; }
  .stream__head h3, .stream__head p { align-self: auto; }
  .cards { grid-template-columns: repeat(auto-fit, minmax(262px, 1fr)); }
}

.course-card { display: flex; flex-direction: column; gap: 10px; padding: 14px 14px 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); }
@media (hover: hover) { .course-card:hover { box-shadow: var(--shadow-lg); border-color: #c9d6ee; } }
.course-card::after { background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 0%), rgba(234, 88, 12, .08), transparent 45%); }
.course-card.is-featured { border-color: var(--orange-500); box-shadow: 0 0 0 3px rgba(234, 88, 12, .22), var(--shadow-md); }
.course-card__art { position: relative; transform-style: preserve-3d; min-height: 148px; padding: 14px; border-radius: 20px; margin-bottom: 8px; display: flex; align-items: flex-start; }
.art--blue { background: radial-gradient(220px 140px at 82% 90%, rgba(255, 255, 255, .22), transparent 70%), linear-gradient(135deg, #0b2561, #1e4fb8); }
.art--navy { background: radial-gradient(220px 140px at 82% 90%, rgba(251, 146, 60, .35), transparent 70%), linear-gradient(135deg, #04112f, #123a8c); }
.art--orange { background: radial-gradient(220px 140px at 82% 90%, rgba(255, 255, 255, .28), transparent 70%), linear-gradient(135deg, #9a3412, #ea580c); }
.course-card__icon { position: absolute; right: 12px; bottom: -22px; width: 124px; transform: translateZ(50px) rotate(-4deg); filter: drop-shadow(0 18px 16px rgba(0, 0, 0, .4)); transition: transform .35s var(--ease); }
@media (hover: hover) { .course-card:hover .course-card__icon { transform: translateZ(70px) rotate(4deg) scale(1.07); } }
.tag { display: inline-block; padding: 5px 12px; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #fff; background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .3); border-radius: 999px; }
.ribbon { position: absolute; left: 14px; bottom: 14px; padding: 4px 11px; font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--orange-700); background: #fff; border-radius: 999px; box-shadow: 0 6px 14px -6px rgba(0, 0, 0, .4); }
.course-card h4 { font-family: var(--font-head); font-size: 1.3rem; padding: 6px 6px 0; }
.course-card > p { padding: 0 6px; color: var(--muted); font-size: .95rem; }
.combos { margin: 6px 6px 8px; padding-top: 14px; border-top: 1px dashed var(--line); flex: 1; }
.combos__label { margin-bottom: 8px; font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--blue-600); }
.combo-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.no-js .combo-tabs { display: none; }
.chip { min-height: 40px; padding: 0 16px; font-size: .9rem; font-weight: 700; color: var(--navy-900); background: var(--tint); border: 1.5px solid var(--line); border-radius: 999px; cursor: pointer; transition: all .2s var(--ease); }
.chip:hover { border-color: var(--navy-900); }
.chip[aria-pressed="true"] { color: #fff; background: var(--navy-900); border-color: var(--navy-900); box-shadow: 0 8px 16px -8px rgba(7, 26, 69, .7); }
.combo-list { margin-top: 12px; display: grid; gap: 8px; }
.combo-list li { display: grid; gap: 2px; padding: 10px 14px; background: var(--tint); border-left: 4px solid var(--orange-500); border-radius: 10px; }
.combo-list strong { color: var(--navy-900); }
.combo-list span { font-size: .875rem; color: var(--muted); line-height: 1.45; }
.js .combo-list li { display: none; }
.js .combo-list li.is-active { display: grid; animation: pop .3s var(--ease); }
.course-card .btn { margin-top: auto; }

.course-card--wide .combos { max-width: 520px; }
@media (min-width: 1020px) {
  .course-card--wide { display: grid; grid-template-columns: minmax(260px, 340px) 1fr; column-gap: 28px; align-content: start; }
  .course-card--wide .course-card__art { grid-row: 1 / span 5; grid-column: 1; margin: 0; min-height: 100%; }
  .course-card--wide > :not(.course-card__art) { grid-column: 2; }
  .course-card--wide .btn { margin-top: 10px; max-width: 520px; margin-inline: 6px; width: auto; }
  .course-card--wide .course-card__icon { width: 150px; bottom: 18px; right: 18px; }
}

.help-choose { display: flex; flex-direction: column; align-items: center; gap: 14px; margin-top: 40px; padding: 28px 24px; text-align: center; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); }
.help-choose img { width: 64px; height: 64px; filter: drop-shadow(0 10px 10px rgba(7, 26, 69, .25)); }
.help-choose p { max-width: 54ch; color: var(--muted); }
.help-choose strong { color: var(--navy-900); }
@media (min-width: 860px) { .help-choose { flex-direction: row; text-align: left; padding: 24px 32px; gap: 24px; } .help-choose .btn { margin-left: auto; flex: none; } }

/* ---------- competitive prep ---------- */
.equation { display: grid; gap: 10px; align-items: center; justify-items: center; margin-bottom: 36px; }
.eq-card { display: flex; flex-direction: column; align-items: center; gap: 4px; width: 100%; padding: 22px 18px; text-align: center; background: linear-gradient(180deg, rgba(255, 255, 255, .11), rgba(255, 255, 255, .05)); border: 1px solid rgba(255, 255, 255, .16); border-radius: var(--r-lg); }
.eq-card img { width: 84px; height: 84px; margin-bottom: 6px; filter: drop-shadow(0 14px 14px rgba(0, 0, 0, .4)); }
.eq-card strong { font-size: 1.1rem; }
.eq-card span { font-size: .85rem; color: rgba(255, 255, 255, .72); }
.eq-card--result { background: linear-gradient(180deg, rgba(234, 88, 12, .55), rgba(194, 65, 12, .35)); border-color: rgba(253, 186, 116, .6); }
.eq-sign { font-family: var(--font-head); font-size: 2.2rem; line-height: 1; color: var(--orange-400); }
@media (min-width: 860px) { .equation { grid-template-columns: 1fr auto 1fr auto 1fr; gap: 20px; } .eq-card { height: 100%; } }

.tracks { display: grid; gap: 22px; margin-bottom: 52px; }
@media (min-width: 860px) { .tracks { grid-template-columns: 1fr 1fr; } }
.track { position: relative; padding: 28px; background: linear-gradient(180deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .04)); border: 1px solid rgba(255, 255, 255, .16); border-radius: var(--r-lg); }
.track--new { border-color: rgba(253, 186, 116, .55); background: linear-gradient(180deg, rgba(234, 88, 12, .22), rgba(255, 255, 255, .04)); }
.ribbon--float { left: auto; bottom: auto; right: 22px; top: 22px; }
.track__icons { display: flex; gap: 6px; margin-bottom: 14px; }
.track__icons img { width: 74px; height: 74px; filter: drop-shadow(0 14px 12px rgba(0, 0, 0, .4)); }
.track h3 { color: #fff; font-size: 1.5rem; }
.track h3 span { display: block; margin-top: 2px; font-family: var(--font-body); font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--orange-300); }
.ticks { display: grid; gap: 10px; margin-top: 18px; }
.ticks li { position: relative; padding-left: 30px; color: rgba(255, 255, 255, .9); }
.ticks li::before { content: ''; position: absolute; left: 0; top: .28em; width: 19px; height: 19px; border-radius: 50%; background: var(--orange-500) 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.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 11px no-repeat; }
.subhead { margin-bottom: 22px; text-align: center; font-size: 1.35rem; color: #fff; }
.features { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 620px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .features { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.feature { padding: 24px 22px 26px; background: linear-gradient(180deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .04)); border: 1px solid rgba(255, 255, 255, .14); border-radius: 22px; }
.feature img { width: 64px; height: 64px; margin-bottom: 14px; transform: translateZ(40px); filter: drop-shadow(0 14px 12px rgba(0, 0, 0, .4)); transition: transform .35s var(--ease); }
@media (hover: hover) { .feature:hover img { transform: translateZ(60px) rotate(-6deg) scale(1.1); } .feature:hover { border-color: rgba(253, 186, 116, .55); } }
.feature h4 { color: #fff; font-size: 1.08rem; }
.feature p { margin-top: 6px; font-size: .92rem; color: rgba(255, 255, 255, .76); }

/* ---------- legacy ---------- */
.legacy { display: grid; gap: 44px; align-items: center; }
@media (min-width: 960px) { .legacy { grid-template-columns: .9fr 1.1fr; gap: 72px; } }
.legacy__visual { display: grid; gap: 20px; }
.year-card { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-height: 340px; padding: 36px 24px; text-align: center; color: #fff; border-radius: 36px; background: radial-gradient(320px 220px at 80% 0%, rgba(234, 88, 12, .6), transparent 70%), linear-gradient(145deg, var(--navy-800), var(--navy-950)); box-shadow: var(--shadow-lg); overflow: hidden; }
.year-card::before { content: ''; position: absolute; inset: 14px; border: 1.5px dashed rgba(255, 255, 255, .22); border-radius: 26px; }
.year-card__since { font-size: .85rem; font-weight: 700; letter-spacing: .4em; text-transform: uppercase; color: var(--orange-300); transform: translateZ(30px); }
.year-card__year { font-family: var(--font-head); font-weight: 700; font-size: clamp(5rem, 16vw, 8.5rem); line-height: 1; letter-spacing: -.02em; background: linear-gradient(180deg, #fff 20%, #ffc08a 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; transform: translateZ(60px); filter: drop-shadow(0 12px 18px rgba(0, 0, 0, .35)); }
.year-card__name { font-size: 1.05rem; font-weight: 600; letter-spacing: .06em; color: rgba(255, 255, 255, .88); transform: translateZ(30px); }
.year-card__logo { position: absolute; right: 22px; bottom: 22px; width: 72px; height: 72px; border-radius: 50%; box-shadow: 0 10px 20px -6px rgba(0, 0, 0, .6); transform: translateZ(40px); }
.identity { padding: 14px 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--shadow-sm); }
.identity img { width: 100%; }
.legacy__copy > p:not(.eyebrow) { margin-top: 16px; color: var(--muted); font-size: 1.0625rem; }
.legacy__copy h2 { text-align: left; }
.pull { margin-top: 24px; padding: 18px 22px; font-family: var(--font-head); font-size: 1.3rem; line-height: 1.35; color: var(--navy-900); background: var(--warm); border-left: 5px solid var(--orange-600); border-radius: 0 var(--r-md) var(--r-md) 0; }
.pull strong { color: var(--orange-600); }
.timeline { position: relative; display: grid; gap: 18px; margin-top: 30px; }
.timeline::before { content: ''; position: absolute; left: 31px; top: 24px; bottom: 24px; width: 2px; background: linear-gradient(var(--orange-400), var(--blue-600)); opacity: .35; }
.timeline li { position: relative; display: flex; gap: 16px; align-items: center; }
.timeline img { width: 64px; height: 64px; flex: none; padding: 8px; background: #fff; border: 1px solid var(--line); border-radius: 50%; box-shadow: var(--shadow-sm); }
.timeline strong { display: block; font-family: var(--font-head); font-size: 1.15rem; color: var(--navy-900); }
.timeline span { color: var(--muted); font-size: .95rem; }

/* ---------- co-ed ---------- */
.coed-cards { display: grid; gap: 20px; margin-bottom: 36px; }
@media (min-width: 860px) { .coed-cards { grid-template-columns: repeat(3, 1fr); } }
.coed-card { padding: 28px 26px 30px; background: #fff; border: 1px solid #f3d9bf; border-radius: var(--r-lg); box-shadow: var(--shadow-sm); }
.coed-card::after { background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 0%), rgba(234, 88, 12, .1), transparent 45%); }
@media (hover: hover) { .coed-card:hover { box-shadow: var(--shadow-lg); } }
.coed-card img { width: 84px; height: 84px; margin-bottom: 16px; transform: translateZ(46px); filter: drop-shadow(0 14px 12px rgba(7, 26, 69, .3)); }
.coed-card h3 { font-size: 1.2rem; }
.coed-card p { margin-top: 10px; color: var(--muted); font-size: .95rem; }

.safety { position: relative; display: grid; gap: 26px; padding: clamp(26px, 4vw, 44px); color: #fff; border-radius: 32px; background: radial-gradient(420px 260px at 100% 0%, rgba(234, 88, 12, .5), transparent 70%), linear-gradient(145deg, var(--navy-800), var(--navy-950)); box-shadow: var(--shadow-lg); }
.safety__head { display: flex; gap: 20px; align-items: center; }
.safety__head img { width: 92px; height: 92px; flex: none; filter: drop-shadow(0 16px 14px rgba(0, 0, 0, .45)); }
.safety__head h3 { color: #fff; font-size: clamp(1.4rem, 2vw + .8rem, 2rem); }
.safety__head p:not(.eyebrow) { margin-top: 6px; color: rgba(255, 255, 255, .8); }
.safety__head .eyebrow { margin-bottom: 8px; }
.safety__list { display: grid; gap: 14px 28px; }
@media (min-width: 860px) { .safety__list { grid-template-columns: 1fr 1fr; } }
.safety__list li { display: flex; gap: 12px; align-items: flex-start; color: rgba(255, 255, 255, .88); font-size: .95rem; }
.safety__list strong { color: #fff; }
.safety__list .ico { width: 24px; height: 24px; padding: 5px; margin-top: 1px; border-radius: 50%; background: var(--orange-500); color: #fff; }
.safety .btn { justify-self: start; }
@media (max-width: 560px) { .safety__head { flex-direction: column; align-items: flex-start; } }

/* ---------- campus + steps ---------- */
.campus-cards { display: grid; gap: 20px; }
@media (min-width: 860px) { .campus-cards { grid-template-columns: repeat(3, 1fr); } }
.campus-card { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 28px 26px; background: var(--tint); border: 1px solid var(--line); border-radius: var(--r-lg); }
.campus-card::after { background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 0%), rgba(30, 79, 184, .1), transparent 45%); }
@media (hover: hover) { .campus-card:hover { box-shadow: var(--shadow-lg); background: #fff; } }
.campus-card img { width: 76px; height: 76px; margin-bottom: 10px; transform: translateZ(44px); filter: drop-shadow(0 14px 12px rgba(7, 26, 69, .3)); }
.campus-card h3 { font-size: 1.2rem; }
.campus-card p { color: var(--muted); font-size: .95rem; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; font-weight: 700; color: var(--orange-600); text-decoration: none; border-bottom: 2px solid currentColor; padding-bottom: 2px; }
.link-arrow:hover { color: var(--orange-700); }

.steps { display: grid; gap: 18px; margin-top: 52px; counter-reset: s; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 28px; } }
.steps li { position: relative; padding: 24px 24px 24px 84px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); }
.steps__n { position: absolute; left: 22px; top: 22px; display: grid; place-items: center; width: 46px; height: 46px; font-family: var(--font-head); font-weight: 700; font-size: 1.3rem; color: #fff; background: linear-gradient(145deg, var(--orange-500), var(--orange-700)); border-radius: 50%; box-shadow: 0 10px 18px -8px rgba(194, 65, 12, .8); }
.steps h3 { font-size: 1.15rem; }
.steps p { margin-top: 4px; color: var(--muted); font-size: .95rem; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--shadow-sm); transition: box-shadow .25s; }
.faq details[open] { box-shadow: var(--shadow-md); border-color: #c9d6ee; }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; font-weight: 700; color: var(--navy-900); cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ico { width: 24px; height: 24px; padding: 4px; color: var(--orange-600); background: var(--warm); border-radius: 50%; transition: transform .3s var(--ease); }
.faq details[open] summary .ico { transform: rotate(180deg); }
.faq details p { padding: 0 22px 20px; color: var(--muted); animation: pop .3s var(--ease); }
.faq details a { color: var(--orange-600); font-weight: 600; }

/* ---------- enquiry section ---------- */
.enquire { display: grid; gap: 40px; align-items: start; }
@media (min-width: 960px) { .enquire { grid-template-columns: .9fr 1.1fr; gap: 64px; } .enquire__copy { position: sticky; top: 110px; } }
.enquire__copy h2 { margin-top: 0; }
.reassure { display: grid; gap: 14px; margin-top: 28px; }
.reassure li { display: flex; align-items: center; gap: 14px; color: rgba(255, 255, 255, .88); }
.reassure img { width: 46px; height: 46px; flex: none; filter: drop-shadow(0 10px 10px rgba(0, 0, 0, .4)); }
.enquire__direct { margin-top: 32px; padding-top: 26px; border-top: 1px solid rgba(255, 255, 255, .16); }
.enquire__direct > p { margin-bottom: 14px; font-weight: 600; color: rgba(255, 255, 255, .85); }
.btn-pair { display: flex; flex-wrap: wrap; gap: 12px; }
.form-card { padding: clamp(22px, 3.4vw, 36px); color: var(--ink); background: #fff; border-radius: var(--r-lg); box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .7); }
.form-card__title { margin-bottom: 18px; font-size: 1.4rem; }
.noscript { color: var(--muted); }
.noscript a { color: var(--orange-600); font-weight: 700; }

/* ---------- form ---------- */
.eform__body { display: grid; gap: 18px; }
.field { display: grid; gap: 6px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field > label, .field > legend, .choice-set > legend { padding: 0; font-size: .875rem; font-weight: 700; color: var(--navy-900); }
.req { color: var(--orange-600); }
.field input[type="text"], .field input[type="tel"] {
  width: 100%; min-height: 52px; padding: 0 16px; font: inherit; font-size: 1rem; color: var(--ink); background: #fff;
  border: 1.5px solid #c3cee6; border-radius: 14px; transition: border-color .2s, box-shadow .2s;
}
.field input::placeholder { color: #66758f; }
.field input:hover { border-color: #8da2cf; }
.field input:focus { outline: none; border-color: var(--orange-600); box-shadow: 0 0 0 4px rgba(234, 88, 12, .18); }
.input-group { display: flex; align-items: stretch; }
.input-group__prefix { display: grid; place-items: center; padding: 0 14px; font-weight: 700; color: var(--navy-900); background: var(--tint); border: 1.5px solid #c3cee6; border-right: 0; border-radius: 14px 0 0 14px; }
.input-group input { border-radius: 0 14px 14px 0 !important; }
.field__hint { font-size: .8rem; color: var(--muted); }
.field__error { display: none; font-size: .825rem; font-weight: 600; color: #b42318; }
.field.has-error .field__error { display: block; }
.field.has-error input[type="text"], .field.has-error input[type="tel"] { border-color: #d92d20; background: #fff8f7; }
.field.has-error .input-group__prefix { border-color: #d92d20; }

.choice-set { display: grid; gap: 8px; }
.choice-grid { display: grid; gap: 10px; }
.choice-grid--3 { grid-template-columns: repeat(3, 1fr); }
.choice-grid--1 { grid-template-columns: 1fr; }
.choice-grid--chips { display: flex; flex-wrap: wrap; }
.choice { position: relative; display: block; cursor: pointer; }
.choice input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.choice__body { display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 6px; min-height: 76px; padding: 10px 6px; font-size: .9rem; font-weight: 700; text-align: center; color: var(--navy-900); background: #fff; border: 1.5px solid #c3cee6; border-radius: 14px; transition: all .2s var(--ease); }
.choice__body img { width: 38px; height: 38px; filter: drop-shadow(0 6px 6px rgba(7, 26, 69, .25)); transition: transform .3s var(--ease); }
.choice:hover .choice__body { border-color: var(--navy-900); }
.choice input:checked + .choice__body { color: var(--navy-900); background: var(--warm); border-color: var(--orange-600); box-shadow: 0 0 0 3px rgba(234, 88, 12, .2); }
.choice input:checked + .choice__body img { transform: scale(1.15) rotate(-5deg); }
.choice input:focus-visible + .choice__body { outline: 3px solid var(--orange-600); outline-offset: 2px; }
.choice--wide .choice__body { flex-direction: row; justify-content: flex-start; min-height: 54px; padding: 10px 16px 10px 46px; text-align: left; position: relative; }
.choice--wide .choice__body::before, .choice--chip .choice__body::before { content: ''; position: absolute; left: 16px; width: 18px; height: 18px; border: 2px solid #9fb0d3; border-radius: 50%; transition: all .2s; }
.choice--wide input:checked + .choice__body::before { border-color: var(--orange-600); background: radial-gradient(circle, var(--orange-600) 45%, #fff 50%); }
.choice--chip .choice__body { min-height: 46px; padding: 0 18px; border-radius: 999px; }
.choice--chip .choice__body::before { display: none; }
.choice--chip input:checked + .choice__body { color: #fff; background: var(--navy-900); border-color: var(--navy-900); box-shadow: 0 8px 16px -8px rgba(7, 26, 69, .7); }
.choice--muted .choice__body { font-weight: 600; color: var(--muted); border-style: dashed; }
.step { animation: pop .35s var(--ease); }
.combo-subjects { min-height: 1.4em; font-size: .85rem; font-weight: 600; color: var(--blue-600); }
.choice-set.has-error .choice__body { border-color: #d92d20; }
.choice-set.has-error .choice__body { background: #fff8f7; }
@media (max-width: 380px) { .choice-grid--3 { gap: 6px; } .choice__body { font-size: .8rem; } }

.consent { gap: 8px; }
.consent__label { position: relative; display: grid; grid-template-columns: 26px 1fr; gap: 12px; align-items: start; cursor: pointer; }
.consent__label input { position: absolute; opacity: 0; width: 26px; height: 26px; margin: 0; }
.consent__box { display: grid; place-items: center; width: 26px; height: 26px; margin-top: 1px; color: #fff; background: #fff; border: 2px solid #8da2cf; border-radius: 8px; transition: all .2s var(--ease); }
.consent__box .ico { width: 16px; height: 16px; transform: scale(0); transition: transform .2s var(--ease); }
.consent__label input:checked ~ .consent__box { background: var(--orange-600); border-color: var(--orange-600); }
.consent__label input:checked ~ .consent__box .ico { transform: scale(1); }
.consent__label input:focus-visible ~ .consent__box { outline: 3px solid var(--orange-600); outline-offset: 2px; }
.consent__text { font-size: .85rem; line-height: 1.55; color: var(--muted); }
.consent__text a { color: var(--orange-600); font-weight: 600; }
.consent.has-error .consent__box { border-color: #d92d20; background: #fff8f7; }
.consent__kn { margin-left: 38px; font-size: .85rem; }
.consent__kn summary { cursor: pointer; font-weight: 700; color: var(--blue-600); }
.consent__kn p { margin-top: 8px; padding: 12px 14px; color: var(--muted); line-height: 1.7; background: var(--tint); border-radius: 12px; }

.hp { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.eform__status { min-height: 0; font-size: .9rem; font-weight: 600; }
.eform__status:not(:empty) { padding: 12px 14px; border-radius: 12px; }
.eform__status.is-error { color: #912018; background: #fef3f2; border: 1px solid #fecdca; }
.eform__submit { position: relative; }
.btn__spinner { display: none; width: 22px; height: 22px; border: 3px solid rgba(255, 255, 255, .4); border-top-color: #fff; border-radius: 50%; animation: spin .8s linear infinite; }
.eform__submit.is-busy { pointer-events: none; opacity: .92; }
.eform__submit.is-busy .btn__spinner { display: block; }
.eform__submit.is-busy .btn__arrow { display: none; }
.eform__secure { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: .78rem; color: var(--muted); }
.eform__secure .ico { width: 14px; height: 14px; }
.eform__success { display: grid; justify-items: center; gap: 12px; padding: 20px 4px; text-align: center; outline: none; }
.eform__success.is-in { animation: pop .5s var(--ease); }
.eform__success img { width: 96px; height: 96px; filter: drop-shadow(0 14px 12px rgba(7, 26, 69, .3)); animation: bob 4s ease-in-out infinite; }
.eform__success h3 { font-size: 1.7rem; }
.eform__success p { max-width: 36ch; color: var(--muted); }
.eform__success .btn-pair { justify-content: center; margin-top: 6px; }
.link-btn { padding: 8px; font-weight: 600; color: var(--blue-600); text-decoration: underline; background: none; border: 0; cursor: pointer; }

/* ---------- pop-up ---------- */
.dialog { width: min(560px, calc(100% - 20px)); max-height: calc(100dvh - 20px); padding: 0; color: var(--ink); background: #fff; border: 0; border-radius: var(--r-lg); box-shadow: 0 40px 100px -30px rgba(0, 0, 0, .8); overflow: auto; overscroll-behavior: contain; }
.dialog[open] { animation: pop .3s var(--ease); }
.dialog::backdrop { background: rgba(4, 17, 47, .74); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.dialog__inner { position: relative; padding: clamp(22px, 4vw, 32px); }
.dialog__close { position: absolute; right: 12px; top: 12px; display: grid; place-items: center; width: 42px; height: 42px; color: var(--navy-900); background: var(--tint); border: 0; border-radius: 50%; cursor: pointer; transition: background .2s, transform .2s; }
.dialog__close:hover { background: var(--blue-100); transform: rotate(90deg); }
.dialog__title { padding-right: 48px; font-size: 1.5rem; }
.dialog__sub { margin: 4px 0 20px; color: var(--muted); }

/* ---------- footer ---------- */
.site-footer { color: rgba(255, 255, 255, .82); background: var(--navy-950); border-top: 4px solid var(--orange-600); }
.footer__grid { display: grid; gap: 36px; padding-block: 52px 40px; }
@media (min-width: 860px) { .footer__grid { grid-template-columns: 1.4fr 1fr; gap: 80px; } }
.footer__brand { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.footer__brand img { width: 72px; height: 72px; border-radius: 50%; }
.footer__brand strong { display: block; font-family: var(--font-head); font-size: 1.6rem; color: #fff; line-height: 1.15; }
.footer__brand small { color: rgba(255, 255, 255, .65); font-size: .8rem; }
.site-footer address { margin-bottom: 18px; font-style: normal; line-height: 1.7; }
.footer__nav { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-top: 26px; }
.footer__nav a { color: rgba(255, 255, 255, .75); font-size: .9rem; text-decoration: none; }
.footer__nav a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.footer__right { display: grid; gap: 12px; align-content: start; }
.footer__cta-title { margin-bottom: 4px; font-family: var(--font-head); font-size: 1.3rem; color: #fff; }
.footer__bar { border-top: 1px solid rgba(255, 255, 255, .1); font-size: .8rem; color: rgba(255, 255, 255, .6); }
.footer__bar-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding-block: 16px; }
.footer__bar a { color: inherit; }

/* ---------- floating call-to-actions ---------- */
.side-tab, .wa-float, .mobile-bar { transition: opacity .3s, translate .35s var(--ease), transform .3s; }
.form-in-view .side-tab, .form-in-view .wa-float { opacity: 0; pointer-events: none; }
.side-tab { display: none; }
.wa-float { display: none; }
@media (min-width: 1020px) {
  .side-tab { position: fixed; z-index: 40; right: 0; top: 46%; display: block; padding: 20px 12px; font-weight: 800; font-size: .95rem; letter-spacing: .06em; color: #fff; text-decoration: none; background: linear-gradient(180deg, #cc470f, var(--orange-700)); border-radius: 14px 0 0 14px; box-shadow: -8px 12px 30px -10px rgba(194, 65, 12, .7); writing-mode: vertical-rl; }
  .side-tab:hover { translate: -6px 0; }
}
@media (min-width: 720px) {
  .wa-float { position: fixed; z-index: 40; right: 22px; bottom: 22px; display: grid; place-items: center; width: 58px; height: 58px; color: #fff; background: var(--wa); border-radius: 50%; box-shadow: 0 14px 30px -8px rgba(37, 211, 102, .8); }
  .wa-float .ico { width: 30px; height: 30px; }
  .wa-float:hover { transform: translateY(-3px) scale(1.06); }
}
@media (max-width: 719px) {
  body { padding-bottom: 76px; }
  .mobile-bar { position: fixed; z-index: 60; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: 1fr 1.15fr 1.45fr; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .96); border-top: 1px solid var(--line); box-shadow: 0 -12px 30px -14px rgba(7, 26, 69, .4); translate: 0 110%; }
  .mobile-bar.is-visible { translate: 0 0; }
  .form-in-view .mobile-bar { translate: 0 110%; }
  .mbar { display: flex; align-items: center; justify-content: center; gap: 7px; min-height: 48px; font-size: .9rem; font-weight: 800; text-decoration: none; border-radius: 14px; }
  .mbar--call { color: #fff; background: var(--navy-900); }
  .mbar--wa { color: var(--wa-ink); background: var(--wa); }
  .mbar--enq { color: #fff; background: linear-gradient(180deg, #cc470f, var(--orange-600)); }
}
@media (min-width: 720px) { .mobile-bar { display: none; } }

/* ---------- motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js .reveal { opacity: 1; }
  .float, .stage__ring { animation: none !important; }
}

/* ---------- 404 page ---------- */
.notfound { min-height: 100vh; display: grid; place-content: center; justify-items: center; gap: 14px; padding: 24px; text-align: center; color: #fff; background: radial-gradient(700px 400px at 70% 0%, #123a8c, transparent 70%), var(--navy-950); }
.notfound img { border-radius: 50%; box-shadow: 0 0 0 10px rgba(255, 255, 255, .1); margin-bottom: 8px; }
.notfound h1 { font-family: var(--font-head); font-size: clamp(1.7rem, 4vw, 2.6rem); }
.notfound p { color: rgba(255, 255, 255, .8); margin-bottom: 8px; }

/* ---------- plain document pages (privacy notice) ---------- */
.doc-page { background: #fff; }
.doc-header { background: #fff; border-bottom: 1px solid var(--line); }
.doc-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 10px; }
.doc { padding-block: clamp(36px, 6vw, 72px) clamp(48px, 7vw, 90px); }
.doc h1 { font-family: var(--font-head); font-size: clamp(1.9rem, 3vw + 1rem, 2.8rem); line-height: 1.15; color: var(--navy-900); margin-bottom: 10px; }
.doc__meta { padding-bottom: 20px; margin-bottom: 20px; font-size: .9rem; color: var(--muted); border-bottom: 1px solid var(--line); }
.doc__intro { font-size: 1.05rem; color: var(--ink); }
.doc section { margin-top: 30px; }
.doc h2 { font-size: 1.3rem; margin-bottom: 8px; }
.doc p, .doc li { color: var(--muted); }
.doc p + p, .doc p + .doc-list, .doc .doc-list + p { margin-top: 10px; }
.doc a { color: var(--orange-600); font-weight: 600; }
.doc strong { color: var(--ink); }
.doc-list { display: grid; gap: 6px; padding-left: 0; }
.doc-list li { position: relative; padding-left: 22px; }
.doc-list li::before { content: ''; position: absolute; left: 4px; top: .65em; width: 7px; height: 7px; border-radius: 50%; background: var(--orange-500); }
.doc .kn { margin-top: 40px; padding: 22px; background: var(--tint); border-radius: var(--r-md); }
.doc-footer { margin-top: 0; }
