/* ==========================================================
   Aurum Academy Global — redesign
   Navy + gold, serif display headings, motion-rich.
   ========================================================== */
:root {
  --navy-900: #0b1530;
  --navy-800: #101d3f;
  --navy-700: #17295a;
  --navy-600: #22386f;
  --gold-50: #fdf8ec;
  --gold-100: #faefd2;
  --gold-200: #f4dc9c;
  --gold-300: #ebc66b;
  --gold-400: #ddae45;
  --gold-500: #c9962b;
  --gold-600: #a77a1d;
  --cream: #fbf7ee;
  --ink: #1b2440;
  --muted: #5d6680;
  --line: #ece3cf;
  --white: #fff;
  --success: #2f9e6a;
  --wa: #25d366;

  --grad-gold: linear-gradient(135deg, #f7dd8f 0%, #e4b74f 45%, #c9962b 100%);
  --grad-navy: linear-gradient(135deg, #0b1530 0%, #17295a 100%);

  --font-display: "Playfair Display", Georgia, serif;
  --font-body: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-hand: "Caveat", cursive;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 2px 10px rgba(16, 29, 63, .06);
  --shadow: 0 12px 34px rgba(16, 29, 63, .10);
  --shadow-lg: 0 24px 60px rgba(16, 29, 63, .18);
  --shadow-gold: 0 10px 28px rgba(201, 150, 43, .35);

  --container: 1220px;
  --header-h: 84px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-back: cubic-bezier(.34, 1.56, .64, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--white);
  overflow-x: clip;
}
html { overflow-x: clip; }
body.is-loading { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.18; margin: 0 0 .5em; color: var(--navy-800); font-weight: 700; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--gold-300); color: var(--navy-900); }

.container { width: min(100% - 40px, var(--container)); margin-inline: auto; }
.section { padding: 100px 0; position: relative; }
.section--cream { background: var(--cream); }
.section--navy { background: var(--grad-navy); color: #dfe5f5; }
.section--navy h2, .section--navy h3 { color: var(--white); }
.text-gold { color: var(--gold-500); }
.text-center { text-align: center; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Gold shimmering text ---------- */
.shine {
  background: linear-gradient(110deg, #c9962b 0%, #f7dd8f 25%, #c9962b 50%, #f7dd8f 75%, #c9962b 100%);
  background-size: 250% 100%;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 6s linear infinite;
}
@keyframes shimmer { to { background-position: -250% 0; } }

/* ---------- Eyebrow / section heads ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12.5px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold-500); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--grad-gold); border-radius: 2px; }
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head.text-center { margin-inline: auto; }
.section-head.text-center .eyebrow::after { content: ""; width: 28px; height: 2px; background: var(--grad-gold); border-radius: 2px; }
.section-head h2 { font-size: clamp(30px, 4vw, 46px); }
.section-head p { color: var(--muted); font-size: 17px; }
.section--navy .section-head p { color: #b9c3dd; }
.head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 40px; flex-wrap: wrap; }
.head-row .section-head { margin-bottom: 0; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--grad-gold);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 30px; border-radius: 12px; border: 0; cursor: pointer;
  font-weight: 600; font-size: 15px; letter-spacing: .01em;
  background: var(--bg); color: var(--navy-900);
  box-shadow: var(--shadow-gold);
  overflow: hidden; isolation: isolate;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.btn::after { /* shine sweep */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.65) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .8s var(--ease);
}
.btn:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(201,150,43,.45); }
.btn:hover::after { transform: translateX(120%); }
.btn svg { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--ghost { background: transparent; color: var(--white); border: 1.5px solid rgba(255,255,255,.55); box-shadow: none; }
.btn--ghost:hover { background: rgba(255,255,255,.1); box-shadow: none; border-color: var(--white); }
.btn--navy { background: var(--grad-navy); color: var(--white); box-shadow: 0 10px 26px rgba(16,29,63,.3); }
.btn--outline { background: transparent; color: var(--navy-800); border: 1.5px solid var(--gold-400); box-shadow: none; }
.btn--outline:hover { background: var(--gold-50); box-shadow: none; }
.btn--wa { background: var(--wa); color: var(--white); box-shadow: 0 10px 26px rgba(37,211,102,.35); }
.btn--sm { padding: 11px 20px; font-size: 14px; border-radius: 10px; }
.btn--block { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; color: var(--gold-600); font-weight: 600; font-size: 14px; }
.link-arrow svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.link-arrow:hover svg { transform: translateX(5px); }
.link-arrow span { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat; transition: background-size .35s var(--ease); }
.link-arrow:hover span { background-size: 100% 1.5px; }

/* ---------- Page loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center;
  background: var(--navy-900);
  transition: opacity .6s var(--ease), visibility .6s;
}
.loader.is-done { opacity: 0; visibility: hidden; }
/* Safety net: never leave the loader up, even if a script fails to run. */
.loader { animation: loaderAutoHide .6s 4.4s forwards; overflow: hidden; }
@keyframes loaderAutoHide { to { opacity: 0; visibility: hidden; } }
body.no-loader .loader { display: none; }
.loader__inner { display: grid; place-items: center; gap: 18px; }
/* Symbol loader: the "A" rises in, the plane flies in along the swoosh and lands, then the name appears. */
.loader__logo { position: relative; width: 180px; aspect-ratio: 320 / 259; }
.loader__logo img { position: absolute; inset: 0; width: 100%; height: 100%; }
.loader__a { animation: loaderA .8s var(--ease) both; }
.loader__plane { animation: loaderFly 1.75s .15s cubic-bezier(.45, .05, .25, 1) both, loaderHover 2.2s 2s ease-in-out infinite; will-change: transform; }
.loader__glow { position: absolute; left: 50%; top: 50%; width: 170%; aspect-ratio: 1; border-radius: 50%; translate: -50% -50%;
  background: radial-gradient(circle, rgba(228, 183, 79, .30) 0%, rgba(228, 183, 79, .08) 40%, transparent 68%); animation: loaderGlow 1.2s 1.65s ease-out both; }
.loader__trail { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.loader__trail path { stroke: #ebc66b; stroke-width: 2; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; opacity: 0;
  animation: loaderTrail 2.1s .15s cubic-bezier(.45, .05, .25, 1) both; }
.loader__name { display: grid; justify-items: center; gap: 4px; animation: loaderName .8s 1.75s var(--ease) both; }
.loader__name strong { font: 700 26px/1 var(--font-display); letter-spacing: .34em; margin-right: -.34em;
  background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; color: transparent; }
.loader__name span { font: 600 11px/1 var(--font-body); letter-spacing: .46em; margin-right: -.46em; color: #c7cfe4; }
@keyframes loaderA { from { opacity: 0; transform: translateY(18px) scale(.86); filter: blur(6px); } }
/* The plane enters from far off the bottom-left of the screen, climbs, banks and swoops down onto the A. */
@keyframes loaderFly {
  0%   { opacity: 0; transform: translate(-55vw, 32vh) scale(.14) rotate(10deg); }
  8%   { opacity: 1; }
  42%  { transform: translate(-30vw, -8vh) scale(.42) rotate(-12deg); }
  72%  { transform: translate(-9vw, 5vh) scale(.78) rotate(-3deg); }
  90%  { transform: translate(2%, -3%) scale(1.04) rotate(1deg); }
  100% { opacity: 1; transform: none; }
}
@keyframes loaderHover { 50% { transform: translate(2px, -4px); } }
@keyframes loaderTrail { 0% { opacity: 0; stroke-dashoffset: 100; } 10% { opacity: .55; } 80% { opacity: .45; stroke-dashoffset: 0; } 100% { opacity: 0; stroke-dashoffset: 0; } }
@keyframes loaderGlow { from { opacity: 0; transform: scale(.4); } 45% { opacity: 1; } to { opacity: .6; transform: scale(1); } }
@keyframes loaderName { from { opacity: 0; transform: translateY(10px); filter: blur(4px); } }
.loader__mark {
  width: 96px; height: 96px; border-radius: 50%; display: grid; place-items: center;
  background: var(--white); position: relative;
  animation: loaderPop 1s var(--ease-back) both;
}
.loader__mark img { width: 70px; }
.loader__mark::before {
  content: ""; position: absolute; inset: -10px; border-radius: 50%;
  border: 2px solid transparent; border-top-color: var(--gold-400); border-right-color: var(--gold-400);
  animation: spin 1s linear infinite;
}
.loader__bar { width: 140px; height: 2px; background: rgba(255,255,255,.12); border-radius: 2px; overflow: hidden; }
.loader__bar span { display: block; height: 100%; width: 40%; background: var(--grad-gold); animation: loaderBar 1.1s var(--ease) infinite; }
@keyframes loaderPop { from { transform: scale(.4); opacity: 0; } }
@keyframes loaderBar { from { transform: translateX(-100%); } to { transform: translateX(260%); } }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Scroll progress ---------- */
.scroll-progress { position: fixed; top: 0; left: 0; height: 3px; width: 100%; z-index: 120; background: var(--grad-gold); transform-origin: 0 50%; transform: scaleX(0); }

/* ---------- Top bar + Header ---------- */
.topbar { background: var(--navy-900); color: #c7cfe4; font-size: 13px; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; height: 40px; gap: 16px; }
.topbar a { display: inline-flex; align-items: center; gap: 7px; transition: color .25s; }
.topbar a:hover { color: var(--gold-300); }
.topbar svg { width: 14px; height: 14px; color: var(--gold-400); }
.topbar__left, .topbar__right { display: flex; gap: 22px; align-items: center; }

.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .4s var(--ease), border-color .4s, background .4s;
}
.header.is-scrolled { box-shadow: 0 8px 30px rgba(16,29,63,.08); border-color: var(--line); background: rgba(255,255,255,.97); }
.header .container { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 24px; transition: height .4s var(--ease); }
.header.is-scrolled .container { height: 70px; }
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand img { height: 52px; width: auto; mix-blend-mode: multiply; transition: height .4s var(--ease), transform .5s var(--ease-back); }
.header.is-scrolled .brand img { height: 44px; }
.brand:hover img { transform: rotate(-6deg) scale(1.05); }
.brand__text { line-height: 1.05; }
.brand__name { font-family: var(--font-display); font-size: 22px; font-weight: 700; color: var(--navy-800); letter-spacing: .04em; }
.brand__sub { display: block; font-size: 10px; letter-spacing: .32em; color: var(--gold-600); font-weight: 600; margin-top: 3px; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav__link {
  position: relative; padding: 10px 14px; font-size: 14.5px; font-weight: 500; color: var(--ink);
  border-radius: 8px; transition: color .25s;
}
.nav__link::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; border-radius: 2px;
  background: var(--grad-gold); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease);
}
.nav__link:hover, .nav__link.is-active { color: var(--gold-600); }
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); transform-origin: left; }
.header__cta { display: flex; align-items: center; gap: 12px; }
.burger { display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line); background: var(--white); cursor: pointer; position: relative; }
.burger span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--navy-800); border-radius: 2px; transition: transform .4s var(--ease), opacity .3s, top .4s var(--ease); }
.burger span:nth-child(1) { top: 15px; } .burger span:nth-child(2) { top: 22px; } .burger span:nth-child(3) { top: 29px; }
.nav-open .burger span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.nav-open .burger span:nth-child(2) { opacity: 0; transform: translateX(-10px); }
.nav-open .burger span:nth-child(3) { top: 22px; transform: rotate(-45deg); }

/* ---------- Hero (home, dark) ---------- */
.hero {
  position: relative; overflow: hidden; color: #dfe5f5;
  background: radial-gradient(1200px 600px at 85% 20%, rgba(221,174,69,.18), transparent 60%), var(--grad-navy);
  padding: 90px 0 140px;
}
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero__grid { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; align-items: center; }
.hero h1 { color: var(--white); font-size: clamp(38px, 5.4vw, 66px); line-height: 1.08; margin-bottom: 24px; }
.hero__lead { font-size: 18px; color: #c2cbe2; max-width: 560px; margin-bottom: 36px; }
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero__visual { position: relative; aspect-ratio: 1; max-width: 520px; justify-self: center; width: 100%; }
.hero__ring { position: absolute; inset: 0; border-radius: 50%; border: 1.5px dashed rgba(235,198,107,.45); animation: spin 40s linear infinite; }
.hero__ring--2 { inset: 7%; border-style: solid; border-color: rgba(235,198,107,.18); animation-direction: reverse; animation-duration: 60s; }
.hero__ring::before { content: ""; position: absolute; top: -7px; left: 50%; width: 14px; height: 14px; border-radius: 50%; background: var(--gold-300); box-shadow: 0 0 20px var(--gold-300); }
.hero__photo { position: absolute; inset: 12%; border-radius: 50%; overflow: hidden; box-shadow: 0 30px 80px rgba(0,0,0,.45), 0 0 0 8px rgba(255,255,255,.06); }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); }
.float-badge {
  position: absolute; display: flex; align-items: center; gap: 12px;
  padding: 12px 16px; border-radius: 14px; background: rgba(255,255,255,.96); color: var(--ink);
  box-shadow: var(--shadow-lg); font-size: 13.5px; font-weight: 600; line-height: 1.25;
  animation: floatY 5s ease-in-out infinite;
}
.float-badge small { display: block; font-weight: 500; color: var(--muted); font-size: 12px; }
.float-badge .ico { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: var(--gold-100); color: var(--gold-600); flex-shrink: 0; }
.float-badge .ico svg { width: 22px; height: 22px; }
.float-badge--1 { top: 8%; left: -6%; }
.float-badge--2 { bottom: 14%; right: -4%; animation-delay: -2.5s; }
@media (max-width: 1240px) { .float-badge--2 { right: 0; } .float-badge--1 { left: 0; } }
.float-badge--3 { bottom: 0; left: 4%; animation-delay: -1.2s; }
@keyframes floatY { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
.hero__wave { position: absolute; left: 0; right: 0; bottom: -1px; height: 90px; color: var(--white); }
.hero__wave svg { width: 100%; height: 100%; display: block; }

/* Split-text reveal */
.split .word { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.split .word > span { display: inline-block; transform: translateY(105%); transition: transform 1s var(--ease); transition-delay: calc(var(--i) * 70ms + var(--d, 0ms)); }
.split.is-in .word > span { transform: none; }

/* ---------- Feature strip (overlaps hero) ---------- */
.features-strip { position: relative; z-index: 3; margin-top: -70px; }
.features-strip__inner {
  background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  display: grid; grid-template-columns: repeat(4, 1fr); padding: 26px 18px;
}
.feature-mini { display: flex; align-items: center; gap: 14px; padding: 8px 18px; border-right: 1px solid var(--line); }
.feature-mini:last-child { border-right: 0; }
.feature-mini .ico { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0; border: 1.5px solid var(--gold-300); color: var(--gold-600); transition: transform .5s var(--ease-back), background .3s, color .3s; }
.feature-mini:hover .ico { transform: rotate(-10deg) scale(1.1); background: var(--grad-gold); color: var(--navy-900); border-color: transparent; }
.feature-mini .ico svg { width: 24px; height: 24px; }
.feature-mini strong { font-size: 14.5px; font-weight: 600; line-height: 1.35; color: var(--navy-800); }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; position: relative; padding: 6px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee__track { display: flex; gap: 14px; width: max-content; animation: marquee 40s linear infinite; }
.marquee--reverse .marquee__track { animation-direction: reverse; animation-duration: 46s; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.chip {
  display: inline-flex; align-items: center; gap: 10px; white-space: nowrap;
  padding: 12px 22px; border-radius: 100px; background: var(--white); border: 1px solid var(--line);
  font-weight: 500; font-size: 15px; color: var(--navy-800); box-shadow: var(--shadow-sm);
  transition: border-color .3s, transform .3s var(--ease);
}
.chip:hover { border-color: var(--gold-400); transform: translateY(-3px); }
.chip .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--grad-gold); }
.chip--navy { background: var(--navy-800); color: var(--white); border-color: var(--navy-700); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Generic grids & cards ---------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-6 { grid-template-columns: repeat(6, 1fr); }
.split-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split-2--wide { grid-template-columns: 1.1fr .9fr; }

.card {
  position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .4s;
  overflow: hidden;
}
.card::before { /* gold top line grows on hover */
  content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%; background: var(--grad-gold);
  transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease);
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: transparent; }
.card:hover::before { transform: scaleX(1); }
.card h3 { font-size: 20px; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 14.5px; margin: 0; }
.card .ico {
  width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 20px;
  background: var(--gold-50); color: var(--gold-600); border: 1px solid var(--gold-100);
  transition: transform .6s var(--ease-back), background .4s, color .4s;
}
.card .ico svg { width: 28px; height: 28px; }
.card:hover .ico { transform: rotateY(180deg); background: var(--grad-gold); color: var(--navy-900); }
.card:hover .ico svg { transform: rotateY(180deg); }
.card .link-arrow { margin-top: 16px; }
.card--center { text-align: center; }
.card--center .ico { margin-inline: auto; }

/* Board/curriculum card */
.board-card { text-align: center; padding: 28px 16px; }
.board-card .ico { margin-inline: auto; border-radius: 50%; }
.board-card h3 { font-size: 22px; margin-bottom: 4px; }
.board-card p { font-size: 13px; line-height: 1.5; }

/* Image cards (programs) */
.img-card {
  position: relative; display: block; border-radius: var(--radius); overflow: hidden; background: var(--white);
  border: 1px solid var(--line); transition: transform .5s var(--ease), box-shadow .5s var(--ease);
  transform-style: preserve-3d;
}
.img-card:hover { box-shadow: var(--shadow-lg); }
.img-card__media { aspect-ratio: 4 / 4.4; overflow: hidden; position: relative; }
.img-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.img-card:hover .img-card__media img { transform: scale(1.1); }
.img-card__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(11,21,48,.55)); opacity: 0; transition: opacity .5s; }
.img-card:hover .img-card__media::after { opacity: 1; }
.img-card__body { padding: 20px 20px 22px; }
.img-card__body h3 { font-size: 19px; margin-bottom: 6px; }
.img-card__body p { font-size: 14px; color: var(--muted); margin-bottom: 10px; line-height: 1.6; }
.img-card--wide .img-card__media { aspect-ratio: 16 / 10; }

/* ---------- Tabs ---------- */
.tabs__nav {
  position: relative; display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 6px; border-radius: 100px;
  background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-sm); margin-bottom: 44px;
}
.tabs__btn { position: relative; z-index: 1; border: 0; background: none; padding: 12px 24px; border-radius: 100px; font-weight: 600; font-size: 14.5px; cursor: pointer; color: var(--muted); transition: color .35s; }
.tabs__btn.is-active { color: var(--navy-900); }
.tabs__ink { position: absolute; z-index: 0; top: 6px; bottom: 6px; left: 0; border-radius: 100px; background: var(--grad-gold); box-shadow: var(--shadow-gold); transition: transform .5s var(--ease), width .5s var(--ease); }
.tabs__panel { display: none; }
.tabs__panel.is-active { display: grid; }
.tabs__panel.is-active > * { animation: popIn .6s var(--ease) both; animation-delay: calc(var(--n, 0) * 50ms); }
@keyframes popIn { from { opacity: 0; transform: translateY(24px) scale(.97); } }

.subject {
  display: flex; gap: 16px; align-items: flex-start; padding: 22px; border-radius: var(--radius);
  background: var(--white); border: 1px solid var(--line); transition: transform .4s var(--ease), box-shadow .4s, border-color .4s;
}
.subject:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--gold-200); }
.subject .ico { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: var(--gold-50); color: var(--gold-600); flex-shrink: 0; transition: transform .5s var(--ease-back); }
.subject:hover .ico { transform: scale(1.12) rotate(-8deg); }
.subject .ico svg { width: 24px; height: 24px; }
.subject h3 { font-size: 17px; margin-bottom: 2px; font-family: var(--font-body); font-weight: 600; }
.subject p { font-size: 13.8px; color: var(--muted); margin: 0; line-height: 1.55; }

/* ---------- Media frame with decor ---------- */
.frame { position: relative; }
.frame img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); width: 100%; }
.frame::before {
  content: ""; position: absolute; inset: 24px -24px -24px 24px; border-radius: var(--radius-lg);
  border: 2px solid var(--gold-300); z-index: -1; transition: inset .6s var(--ease);
}
.frame:hover::before { inset: 14px -14px -14px 14px; }
.frame__dots { position: absolute; width: 120px; height: 120px; left: -40px; top: -40px; z-index: -1; background-image: radial-gradient(var(--gold-300) 2px, transparent 2px); background-size: 16px 16px; animation: floatY 7s ease-in-out infinite; }
.handnote { font-family: var(--font-hand); font-size: 30px; color: var(--gold-600); line-height: 1.1; transform: rotate(-6deg); display: inline-block; }

/* Checklist */
.checklist { display: grid; gap: 12px; margin: 22px 0 30px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; }
.checklist li::before {
  content: ""; flex-shrink: 0; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%;
  background: var(--grad-gold) center / 12px no-repeat;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b1530' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E"), var(--grad-gold);
  background-size: 12px, cover;
}
.section--navy .checklist li { color: #dfe5f5; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { text-align: center; padding: 34px 18px; border-radius: var(--radius); background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.09); transition: transform .5s var(--ease), background .4s; }
.stat:hover { transform: translateY(-6px); background: rgba(255,255,255,.07); }
.stat__num { font-family: var(--font-display); font-size: clamp(42px, 5vw, 60px); font-weight: 700; line-height: 1; margin-bottom: 12px; }
.stat__label { font-size: 14.5px; color: #b9c3dd; line-height: 1.5; }
.stat__label small { display: block; font-size: 12px; opacity: .75; margin-top: 4px; }

/* ---------- Testimonials ---------- */
.testi { position: relative; overflow: hidden; }
.testi__track { display: flex; transition: transform .8s var(--ease); }
.testi__slide { flex: 0 0 calc(100% / 3); padding: 12px; }
.quote-card { height: 100%; background: var(--white); border-radius: var(--radius-lg); padding: 34px 30px; border: 1px solid var(--line); position: relative; display: flex; flex-direction: column; transition: box-shadow .4s, transform .4s var(--ease); }
.quote-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.quote-card__mark { font-family: var(--font-display); font-size: 80px; line-height: .6; height: 36px; color: var(--gold-300); }
.quote-card__tag { display: inline-block; align-self: flex-start; padding: 5px 12px; border-radius: 100px; background: var(--gold-50); color: var(--gold-600); font-size: 12px; font-weight: 600; margin-bottom: 14px; }
.quote-card p { font-size: 15.5px; color: var(--ink); flex: 1; }
.quote-card__who { display: flex; align-items: center; gap: 12px; padding-top: 18px; border-top: 1px solid var(--line); font-weight: 600; font-size: 14.5px; color: var(--navy-800); }
.quote-card__who .avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--grad-navy); color: var(--gold-300); font-family: var(--font-display); font-size: 18px; }
.stars { color: var(--gold-400); letter-spacing: 2px; font-size: 15px; margin-bottom: 10px; }
.testi__controls { display: flex; justify-content: center; align-items: center; gap: 18px; margin-top: 34px; }
.testi__btn { width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--gold-300); background: var(--white); cursor: pointer; display: grid; place-items: center; color: var(--navy-800); transition: background .3s, transform .3s var(--ease); }
.testi__btn:hover { background: var(--grad-gold); transform: scale(1.08); }
.testi__btn svg { width: 20px; height: 20px; }
.testi__dots { display: flex; gap: 8px; }
.testi__dots button { width: 9px; height: 9px; border-radius: 9px; border: 0; padding: 0; background: var(--gold-200); cursor: pointer; transition: width .4s var(--ease), background .3s; }
.testi__dots button.is-active { width: 30px; background: var(--gold-500); }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: 64px; color: #dfe5f5;
  background: radial-gradient(600px 300px at 90% 10%, rgba(221,174,69,.3), transparent 60%), var(--grad-navy);
  display: grid; grid-template-columns: 1.3fr .7fr; gap: 40px; align-items: center;
}
.cta-band h2 { color: var(--white); font-size: clamp(28px, 3.6vw, 42px); }
.cta-band p { color: #c2cbe2; font-size: 16.5px; }
.cta-band__actions { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.cta-band .orb { position: absolute; border-radius: 50%; background: var(--grad-gold); opacity: .12; animation: floatY 8s ease-in-out infinite; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative; overflow: hidden; padding: 56px 0 90px;
  background: linear-gradient(180deg, var(--gold-50), #fff);
}
.page-hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; position: relative; }
.page-hero h1 { font-size: clamp(34px, 4.6vw, 56px); margin-bottom: 20px; }
.page-hero h1 em { font-style: normal; }
.page-hero__lead { font-size: 17px; color: var(--muted); max-width: 600px; margin-bottom: 30px; }
.page-hero__media { position: relative; }
.page-hero__media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); width: 100%; }
.page-hero__blob { position: absolute; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(235,198,107,.35), transparent 70%); top: -120px; right: -120px; animation: floatY 9s ease-in-out infinite; }
.breadcrumb { display: flex; gap: 10px; align-items: center; font-size: 13.5px; color: var(--muted); margin-bottom: 26px; }
.breadcrumb a:hover { color: var(--gold-600); }
.breadcrumb svg { width: 14px; height: 14px; color: var(--gold-500); }

/* Banner image section */
.banner-img { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.banner-img img { width: 100%; transition: transform 1.4s var(--ease); }
.banner-img:hover img { transform: scale(1.04); }

/* ---------- Language cards ---------- */
.lang-card { text-align: center; padding: 34px 22px 28px; }
.flag { width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 18px; overflow: hidden; box-shadow: 0 6px 18px rgba(16,29,63,.18), 0 0 0 4px #fff, 0 0 0 5px var(--line); transition: transform .7s var(--ease-back); }
.flag svg { width: 100%; height: 100%; display: block; }
.lang-card:hover .flag { transform: rotate(360deg) scale(1.08); }
.lang-card .script { font-family: var(--font-display); font-size: 15px; color: var(--gold-600); margin-bottom: 6px; display: block; }
.regional { display: flex; gap: 16px; align-items: center; padding: 20px 22px; }
.regional .glyph { width: 56px; height: 56px; border-radius: 14px; flex-shrink: 0; display: grid; place-items: center; font-size: 24px; font-weight: 700; color: var(--navy-900); background: var(--grad-gold); transition: transform .6s var(--ease-back); }
.regional:hover .glyph { transform: rotate(-12deg) scale(1.1); }
.regional h3 { font-size: 18px; margin-bottom: 2px; }

/* ---------- Program detail (creative / logic / wellness) ---------- */
.program { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; padding: 30px 0; }
.program + .program { margin-top: 60px; }
.program--rev .program__media { order: 2; }
.program__media { position: relative; }
.program__media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); width: 100%; aspect-ratio: 4/3.2; object-fit: cover; }
.program__media .badge-num { position: absolute; top: -18px; left: -18px; width: 74px; height: 74px; border-radius: 50%; background: var(--grad-gold); display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 26px; color: var(--navy-900); box-shadow: var(--shadow-gold); }
.program h2 { font-size: clamp(28px, 3.4vw, 40px); }
.program p.lead { color: var(--muted); font-size: 16.5px; }
.pills { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 26px; }
.pill { padding: 9px 18px; border-radius: 100px; font-size: 14px; font-weight: 500; background: var(--white); border: 1px solid var(--gold-200); color: var(--navy-800); transition: background .3s, transform .3s var(--ease); }
.pill:hover { background: var(--gold-50); transform: translateY(-2px); }
.mini-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 20px 0 28px; }
.mini { padding: 16px 18px; border-radius: 14px; background: var(--white); border: 1px solid var(--line); transition: border-color .3s, transform .3s var(--ease); }
.mini:hover { border-color: var(--gold-300); transform: translateY(-3px); }
.mini strong { display: block; font-size: 15px; color: var(--navy-800); }
.mini span { font-size: 13.5px; color: var(--muted); line-height: 1.5; display: block; }

/* Anchor sub-nav (creative page) */
.subnav { position: sticky; top: 70px; z-index: 50; background: rgba(255,255,255,.95); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.subnav .container { display: flex; gap: 8px; overflow-x: auto; padding: 12px 0; scrollbar-width: none; }
.subnav a { white-space: nowrap; padding: 9px 18px; border-radius: 100px; font-size: 14px; font-weight: 500; color: var(--muted); transition: background .3s, color .3s; }
.subnav a:hover, .subnav a.is-active { background: var(--gold-50); color: var(--gold-600); }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; position: relative; }
.steps::before { content: ""; position: absolute; top: 34px; left: 12%; right: 12%; height: 2px; background: repeating-linear-gradient(90deg, var(--gold-300) 0 8px, transparent 8px 16px); }
.step { text-align: center; position: relative; }
.step__num { width: 68px; height: 68px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center; background: var(--white); border: 2px solid var(--gold-300); font-family: var(--font-display); font-size: 24px; font-weight: 700; color: var(--gold-600); position: relative; z-index: 1; transition: background .4s, color .4s, transform .5s var(--ease-back); }
.step:hover .step__num { background: var(--grad-gold); color: var(--navy-900); transform: scale(1.12); }
.step h3 { font-size: 18px; font-family: var(--font-body); font-weight: 600; }
.section--navy .step__num { background: var(--navy-800); }

/* ---------- Forms ---------- */
.form-card { background: var(--white); border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.form-card h3 { font-size: 26px; }
.form-card .sub { color: var(--muted); margin-bottom: 26px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
.field { position: relative; }
.field label { display: block; font-size: 13px; font-weight: 600; color: var(--navy-800); margin-bottom: 7px; }
.field label .req { color: #d14b4b; }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; border-radius: 12px; border: 1.5px solid var(--line); background: #fdfcf9;
  font-size: 15px; outline: none; transition: border-color .3s, box-shadow .3s, background .3s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gold-400); box-shadow: 0 0 0 4px rgba(221,174,69,.18); background: #fff; }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: #d14b4b; animation: shake .45s; }
.field .count { position: absolute; right: 12px; bottom: 10px; font-size: 12px; color: var(--muted); }
@keyframes shake { 20%,60% { transform: translateX(-6px); } 40%,80% { transform: translateX(6px); } }
.form-success { display: none; text-align: center; padding: 30px 10px; }
.form-success.is-shown { display: block; animation: popIn .6s var(--ease) both; }
.form-success .tick { width: 76px; height: 76px; margin: 0 auto 18px; border-radius: 50%; background: var(--grad-gold); display: grid; place-items: center; }
.form-success .tick svg { width: 38px; height: 38px; stroke-dasharray: 30; stroke-dashoffset: 30; animation: draw .7s .2s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

.contact-tiles { display: grid; gap: 16px; }
.contact-tile { display: flex; gap: 16px; align-items: center; padding: 20px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); transition: transform .4s var(--ease), box-shadow .4s; }
.contact-tile:hover { transform: translateX(6px); box-shadow: var(--shadow); }
.contact-tile .ico { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; background: var(--gold-50); color: var(--gold-600); flex-shrink: 0; }
.contact-tile .ico svg { width: 22px; height: 22px; }
.contact-tile strong { display: block; color: var(--navy-800); font-size: 15px; }
.contact-tile span { color: var(--muted); font-size: 14.5px; word-break: break-word; }
.wa-card { border-radius: var(--radius-lg); padding: 30px; color: #dfe5f5; background: var(--grad-navy); position: relative; overflow: hidden; }
.wa-card h3 { color: var(--white); font-size: 22px; }

/* ---------- Footer ---------- */
.footer { background: var(--navy-900); color: #aeb8d3; padding: 80px 0 0; position: relative; overflow: hidden; }
.footer::before { content: ""; position: absolute; width: 500px; height: 500px; border-radius: 50%; right: -200px; top: -250px; background: radial-gradient(circle, rgba(221,174,69,.14), transparent 70%); }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 40px; position: relative; }
.footer h4 { color: var(--white); font-family: var(--font-body); font-size: 16px; font-weight: 600; margin-bottom: 20px; position: relative; padding-bottom: 12px; }
.footer h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 34px; height: 2px; background: var(--grad-gold); }
.footer__brand .brand-badge { display: inline-flex; align-items: center; gap: 12px; background: #fff; border-radius: 14px; padding: 8px 16px 8px 10px; margin-bottom: 20px; }
.footer__brand .brand-badge img { height: 44px; mix-blend-mode: multiply; }
.footer__brand .tagline { font-family: var(--font-display); color: var(--gold-300); font-size: 22px; margin-bottom: 8px; }
.footer__links li { margin-bottom: 10px; }
.footer__links a { font-size: 14.5px; transition: color .25s, padding-left .3s var(--ease); }
.footer__links a:hover { color: var(--gold-300); padding-left: 6px; }
.footer__contact li { display: flex; gap: 12px; margin-bottom: 14px; font-size: 14.5px; align-items: flex-start; }
.footer__contact svg { width: 18px; height: 18px; color: var(--gold-400); flex-shrink: 0; margin-top: 4px; }
.socials { display: flex; gap: 10px; margin-top: 20px; }
.socials a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.07); color: #dfe5f5; transition: background .3s, color .3s, transform .4s var(--ease-back); }
.socials a:hover { background: var(--grad-gold); color: var(--navy-900); transform: translateY(-4px) rotate(8deg); }
.socials svg { width: 18px; height: 18px; }
.footer__bottom { margin-top: 60px; border-top: 1px solid rgba(255,255,255,.08); padding: 22px 0; font-size: 13.5px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; position: relative; }

/* ---------- Floating UI ---------- */
.fab-wa { position: fixed; right: 22px; bottom: 22px; z-index: 90; width: 58px; height: 58px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 10px 26px rgba(37,211,102,.45); transition: transform .4s var(--ease-back); }
.fab-wa:hover { transform: scale(1.1); }
.fab-wa svg { width: 30px; height: 30px; }
.fab-wa::before, .fab-wa::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--wa); animation: ping 2.4s var(--ease) infinite; }
.fab-wa::after { animation-delay: 1.2s; }
@keyframes ping { from { transform: scale(1); opacity: .7; } to { transform: scale(1.7); opacity: 0; } }
.to-top { position: fixed; right: 28px; bottom: 96px; z-index: 90; width: 46px; height: 46px; border-radius: 50%; border: 0; cursor: pointer; background: var(--white); box-shadow: var(--shadow); display: grid; place-items: center; opacity: 0; transform: translateY(20px); pointer-events: none; transition: opacity .4s, transform .4s var(--ease); }
.to-top.is-shown { opacity: 1; transform: none; pointer-events: auto; }
.to-top svg.arrow { width: 18px; height: 18px; color: var(--navy-800); position: relative; }
.to-top svg.ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.to-top svg.ring circle { fill: none; stroke: var(--gold-400); stroke-width: 3; stroke-dasharray: 138; stroke-dashoffset: 138; }

/* Cursor glow (desktop) */
.cursor-glow { position: fixed; width: 340px; height: 340px; border-radius: 50%; pointer-events: none; z-index: 0; background: radial-gradient(circle, rgba(235,198,107,.13), transparent 65%); transform: translate(-50%, -50%); transition: opacity .4s; opacity: 0; }
body:hover .cursor-glow { opacity: 1; }

/* ---------- Reveal on scroll ---------- */
[data-reveal] { opacity: 0; transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--delay, 0ms); will-change: transform, opacity; }
[data-reveal="up"] { transform: translateY(50px); }
[data-reveal="down"] { transform: translateY(-40px); }
[data-reveal="left"] { transform: translateX(-60px); }
[data-reveal="right"] { transform: translateX(60px); }
[data-reveal="zoom"] { transform: scale(.88); }
[data-reveal="flip"] { transform: perspective(900px) rotateX(18deg) translateY(40px); transform-origin: top; }
[data-reveal].is-in { opacity: 1; transform: none; }
.img-reveal { position: relative; overflow: hidden; border-radius: var(--radius-lg); }
.img-reveal::after { content: ""; position: absolute; inset: 0; background: var(--gold-300); transform-origin: right; transition: transform 1.1s var(--ease) .15s; }
.img-reveal.is-in::after { transform: scaleX(0); }
.img-reveal img { transform: scale(1.25); transition: transform 1.6s var(--ease) .2s; }
.img-reveal.is-in img { transform: scale(1); }

/* ---------- Responsive ---------- */
.nav__link { white-space: nowrap; }
@media (max-width: 1240px) {
  .nav__link { padding: 10px 10px; font-size: 14px; }
}
@media (max-width: 1100px) {
  .grid-6 { grid-template-columns: repeat(3, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  /* Off-canvas menu */
  .burger { display: block; }
  .header__cta .btn { display: none; }
  /* backdrop-filter would make the header the containing block of the fixed off-canvas nav */
  .header, .header.is-scrolled { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; }
  .nav {
    position: fixed; inset: 0 0 0 auto; width: min(340px, 86vw); flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--white); padding: 100px 24px 30px; box-shadow: var(--shadow-lg);
    transform: translateX(105%); transition: transform .55s var(--ease); z-index: 99;
  }
  .nav-open .nav { transform: none; }
  .nav__link { padding: 14px 16px; font-size: 16px; opacity: 0; transform: translateX(30px); transition: opacity .4s, transform .5s var(--ease), color .25s, background .25s; }
  .nav-open .nav__link { opacity: 1; transform: none; transition-delay: calc(var(--i) * 60ms + 150ms); }
  .nav__link::after { display: none; }
  .nav__link.is-active { background: var(--gold-50); }
  .nav .btn { display: inline-flex; margin-top: 18px; }
  .nav-backdrop { position: fixed; inset: 0; background: rgba(11,21,48,.45); opacity: 0; pointer-events: none; transition: opacity .4s; z-index: 98; }
  .nav-open .nav-backdrop { opacity: 1; pointer-events: auto; }
  .burger { z-index: 101; }
}
@media (max-width: 960px) {
  :root { --header-h: 72px; }
  .section { padding: 76px 0; }
  .hero { padding: 60px 0 130px; }
  .hero__grid, .page-hero__grid, .split-2, .split-2--wide, .program, .cta-band { grid-template-columns: 1fr; }
  .hero__visual { max-width: 420px; }
  .program--rev .program__media { order: 0; }
  .features-strip__inner { grid-template-columns: 1fr 1fr; gap: 10px 0; }
  .feature-mini:nth-child(2) { border-right: 0; }
  .grid-4, .stats { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .testi__slide { flex-basis: 50%; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .steps::before { display: none; }
  .cta-band { padding: 44px 32px; }
  .topbar__left a:nth-child(2) { display: none; }
}
@media (min-width: 1101px) { .nav .btn, .nav-backdrop { display: none; } }
@media (max-width: 640px) {
  .section { padding: 64px 0; }
  .topbar .container { justify-content: center; }
  .topbar__right { display: none; }
  .brand__name { font-size: 18px; }
  .brand img { height: 42px; }
  .grid-2, .grid-3, .form-grid, .mini-grid { grid-template-columns: 1fr; }
  .grid-6 { grid-template-columns: repeat(2, 1fr); }
  .features-strip__inner { grid-template-columns: 1fr; padding: 14px; }
  .feature-mini { border-right: 0; border-bottom: 1px solid var(--line); padding: 12px 8px; }
  .feature-mini:last-child { border-bottom: 0; }
  .testi__slide { flex-basis: 100%; }
  .float-badge { font-size: 12px; padding: 9px 12px; }
  .float-badge .ico { width: 32px; height: 32px; }
  .float-badge--1 { left: 0; } .float-badge--2 { right: 0; }
  .form-card { padding: 26px 20px; }
  .tabs__nav { border-radius: 18px; }
  .tabs__btn { padding: 10px 16px; font-size: 13.5px; }
  .footer__grid { grid-template-columns: 1fr; }
  .frame::before { inset: 14px -10px -10px 14px; }
  .program__media .badge-num { left: 10px; top: -20px; width: 60px; height: 60px; font-size: 22px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  [data-reveal], .split .word > span, .img-reveal img { opacity: 1 !important; transform: none !important; }
  .img-reveal::after { display: none; }
}

/* ---------- Aurum AI: public website assistant ---------- */
.aai-fab { position: fixed; left: 22px; bottom: 22px; z-index: 95; display: flex; align-items: center; gap: 9px; padding: 8px 18px 8px 8px; border: 1px solid rgba(235, 198, 107, .55); border-radius: 40px; background: var(--grad-navy, #0b1530); color: #fff; font: 600 14.5px var(--font-body); cursor: pointer; box-shadow: 0 12px 30px rgba(11, 21, 48, .35); transition: transform .35s var(--ease-back), opacity .25s; }
.aai-fab img { width: 40px; height: 40px; object-fit: contain; padding: 6px; border-radius: 50%; background: rgba(255, 255, 255, .08); }
.aai-fab:hover { transform: translateY(-3px); }
.aai-fab.is-hidden { opacity: 0; pointer-events: none; transform: scale(.8); }
.aai-fab.is-nudge { animation: aaiNudge 1.2s var(--ease) 2; }
@keyframes aaiNudge { 30% { transform: translateY(-6px) rotate(-2deg); } 60% { transform: translateY(0) rotate(1deg); } }
.aai { position: fixed; left: 22px; bottom: 22px; z-index: 96; width: min(390px, calc(100vw - 32px)); height: min(600px, calc(100vh - 110px)); display: flex; flex-direction: column; background: #fff; border-radius: 20px; overflow: hidden; box-shadow: 0 30px 70px rgba(11, 21, 48, .35); border: 1px solid #ece4d2; opacity: 0; transform: translateY(18px) scale(.97); transform-origin: bottom left; transition: opacity .25s, transform .3s var(--ease); }
.aai.is-open { opacity: 1; transform: none; }
.aai[hidden] { display: none; }
.aai__head { display: flex; align-items: center; gap: 10px; padding: 14px 12px 14px 16px; background: var(--grad-navy, #0b1530); color: #fff; }
.aai__head > div { flex: 1; display: grid; line-height: 1.25; }
.aai__head strong { font-size: 16px; letter-spacing: .02em; }
.aai__head small { font-size: 12px; color: #c7cfe4; display: flex; align-items: center; gap: 6px; }
.aai__dot { width: 7px; height: 7px; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 0 3px rgba(61, 220, 132, .2); }
.aai__logo { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: rgba(255, 255, 255, .08); }
.aai__icon { width: 34px; height: 34px; display: grid; place-items: center; border: 0; border-radius: 10px; background: transparent; color: #dfe5f4; cursor: pointer; }
.aai__icon:hover { background: rgba(255, 255, 255, .1); }
.aai__icon svg { width: 18px; height: 18px; }
.aai__log { flex: 1; overflow-y: auto; padding: 16px 14px 8px; display: flex; flex-direction: column; gap: 10px; background: #faf8f3; overscroll-behavior: contain; }
.aai__msg { max-width: 88%; padding: 10px 13px; border-radius: 14px; font-size: 14.5px; line-height: 1.5; word-wrap: break-word; animation: aaiIn .25s var(--ease); }
@keyframes aaiIn { from { opacity: 0; transform: translateY(6px); } }
.aai__msg p { margin: 0 0 6px; } .aai__msg p:last-child { margin: 0; }
.aai__msg ul, .aai__msg ol { margin: 4px 0 6px; padding-left: 18px; }
.aai__msg li { margin: 2px 0; }
.aai__msg a { color: #a77a1d; font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.aai__msg--bot { align-self: flex-start; background: #fff; border: 1px solid #ece4d2; border-bottom-left-radius: 4px; color: var(--ink); }
.aai__msg--me { align-self: flex-end; background: var(--navy-800, #101d3f); color: #fff; border-bottom-right-radius: 4px; white-space: pre-wrap; }
.aai__msg.is-error { border-color: #f0c8c8; background: #fff7f7; }
.aai__msg.is-typing { display: flex; gap: 4px; padding: 14px; }
.aai__msg.is-typing span { width: 7px; height: 7px; border-radius: 50%; background: #c9962b; animation: aaiDot 1s infinite; }
.aai__msg.is-typing span:nth-child(2) { animation-delay: .15s; } .aai__msg.is-typing span:nth-child(3) { animation-delay: .3s; }
@keyframes aaiDot { 0%, 80%, 100% { opacity: .3; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-4px); } }
.aai__wa { display: inline-block; margin: 8px 8px 0 0; padding: 6px 12px; border-radius: 20px; background: var(--wa, #25d366); color: #fff !important; text-decoration: none !important; font-size: 13px; }
.aai__wa--gold { background: var(--grad-gold); color: var(--navy-900) !important; }
.aai__chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 8px 14px 4px; background: #faf8f3; }
.aai__chips[hidden] { display: none; }
.aai__chips button { padding: 7px 11px; border: 1px solid #e6dcc4; border-radius: 20px; background: #fff; font: 500 13px var(--font-body); color: var(--navy-800); cursor: pointer; }
.aai__chips button:hover { border-color: #c9962b; background: #fffaf0; }
.aai__form { display: flex; align-items: flex-end; gap: 8px; padding: 10px 12px; border-top: 1px solid #efe8d8; background: #fff; }
.aai__form textarea { flex: 1; resize: none; border: 1px solid #e3dccb; border-radius: 14px; padding: 10px 12px; font: 400 14.5px/1.4 var(--font-body); max-height: 110px; outline: none; }
.aai__form textarea:focus { border-color: #c9962b; box-shadow: 0 0 0 3px rgba(201, 150, 43, .15); }
.aai__form button { width: 42px; height: 42px; flex: none; display: grid; place-items: center; border: 0; border-radius: 50%; background: var(--grad-gold); color: var(--navy-900); cursor: pointer; }
.aai__form button svg { width: 19px; height: 19px; }
.aai__note { margin: 0; padding: 0 14px 10px; font-size: 11.5px; color: var(--muted); background: #fff; }
.aai__note a { color: inherit; text-decoration: underline; }
@media (max-width: 560px) {
  .aai-fab { left: 14px; bottom: 16px; padding-right: 14px; font-size: 13.5px; }
  .aai-fab img { width: 34px; height: 34px; }
  .aai { left: 0; right: 0; bottom: 0; width: 100%; height: min(88vh, 640px); border-radius: 20px 20px 0 0; }
}
@media print { .aai, .aai-fab { display: none !important; } }
