/* ==========================================================================
   Udyat Academy — edu.udyattech.com
   Brand: Udyat Technologies (Primary #3249b3 · Gold #eaad1a · Ink #1a1a1a · White)
   Type:  Poppins (headings) · Montserrat (body)
   ========================================================================== */

:root {
  --blue: #3249b3;
  --blue-700: #26398f;
  --blue-800: #1c2a6b;
  --blue-100: #dfe4f7;
  --blue-50: #eff2fb;
  --gold: #eaad1a;
  --gold-600: #c98f07;
  --gold-50: #fdf6e3;
  --ink: #1a1a1a;
  --ink-2: #3d3f47;
  --muted: #6b6f7b;
  --line: #e6e8ef;
  --bg: #ffffff;
  --bg-soft: #f6f7fb;
  --navy: #0b1030;
  --navy-2: #121a47;

  --font-head: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 1px 2px rgba(16, 24, 64, .06), 0 2px 8px rgba(16, 24, 64, .04);
  --shadow: 0 10px 30px -10px rgba(16, 24, 64, .18);
  --shadow-lg: 0 30px 60px -20px rgba(16, 24, 64, .28);

  --container: 1240px;
  --gutter: clamp(20px, 4vw, 40px);
  --section-y: clamp(72px, 10vw, 128px);
  --ease: cubic-bezier(.2, .7, .2, 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.65;
  color: var(--ink-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: 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-head);
  color: var(--ink);
  margin: 0;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); }
.icon { width: 1.25em; height: 1.25em; flex: none; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Type helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-size: 13px; font-weight: 500;
  letter-spacing: .16em; text-transform: uppercase; color: var(--blue);
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.eyebrow--light { color: var(--gold); }
.display { font-size: clamp(40px, 5.4vw, 74px); font-weight: 400; letter-spacing: -0.045em; line-height: 1.02; }
.h2 { font-size: clamp(32px, 4.6vw, 58px); font-weight: 400; letter-spacing: -0.04em; line-height: 1.06; }
.h3 { font-size: clamp(22px, 2.2vw, 28px); }
.lead { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.6; color: var(--muted); }
.accent { color: var(--blue); }
.accent-gold { color: var(--gold); }
.serif-it { font-style: italic; font-weight: 300; }
.section-head { max-width: 760px; display: grid; gap: 18px; margin-bottom: clamp(40px, 6vw, 72px); }
.section-head--center { margin-inline: auto; text-align: center; justify-items: center; }
.section-head--split { max-width: none; grid-template-columns: 1.2fr 1fr; align-items: end; gap: 32px; }
@media (max-width: 860px) { .section-head--split { grid-template-columns: 1fr; } }

/* ---------- Buttons ---------- */
.btn {
  --bg-btn: var(--blue); --fg-btn: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px; border-radius: 999px; border: 1.5px solid transparent;
  background: var(--bg-btn); color: var(--fg-btn);
  font-family: var(--font-head); font-weight: 500; font-size: 15px; letter-spacing: -0.005em;
  cursor: pointer; white-space: nowrap;
  transition: transform .25s var(--ease), background-color .25s, box-shadow .25s, color .25s, border-color .25s;
}
.btn .icon { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn:hover .icon { transform: translateX(3px); }
.btn--primary { box-shadow: 0 10px 24px -10px rgba(50, 73, 179, .7); }
.btn--primary:hover { background: var(--blue-700); }
.btn--gold { --bg-btn: var(--gold); --fg-btn: var(--ink); box-shadow: 0 10px 24px -10px rgba(234, 173, 26, .7); }
.btn--gold:hover { background: #f4bb2e; }
.btn--ghost { --bg-btn: transparent; --fg-btn: var(--ink); border-color: #cfd3de; }
.btn--ghost:hover { border-color: var(--ink); }
.btn--ghost-light { --bg-btn: transparent; --fg-btn: #fff; border-color: rgba(255,255,255,.35); }
.btn--ghost-light:hover { border-color: #fff; }
.btn--white { --bg-btn: #fff; --fg-btn: var(--ink); }
.btn--sm { padding: 11px 20px; font-size: 14px; }
.btn--block { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 500; color: var(--blue); }
.link-arrow .icon { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }

/* ---------- Promo marquee (top bar) ---------- */
.promo { background: var(--ink); color: #fff; font-size: 13.5px; overflow: hidden; white-space: nowrap; }
.promo__track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.promo:hover .promo__track { animation-play-state: paused; }
.promo__group { display: flex; }
.promo__item { display: inline-flex; align-items: center; gap: 18px; padding: 11px 0 11px 18px; transition: color .2s; }
.promo__item:hover { color: var(--gold); }
.promo__item strong { color: var(--gold); font-weight: 600; }
.promo__item .icon { width: 12px; height: 12px; fill: var(--gold); stroke: none; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.86); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s;
}
.header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px -18px rgba(16,24,64,.4); }
.header__inner { display: flex; align-items: center; gap: 28px; height: 106px; }

/* Brand lockup — sits on its own brand-blue plate so it reads as a logo, not a menu item */
.brand { display: inline-flex; align-items: center; gap: 14px; flex: none; }
.brand--plate {
  gap: 13px; padding: 12px 18px; border-radius: 16px;
  background: linear-gradient(145deg, var(--blue) 0%, var(--blue-800) 100%);
  box-shadow: 0 12px 26px -14px rgba(50,73,179,.85), inset 0 1px 0 rgba(255,255,255,.18);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.brand--plate:hover { transform: translateY(-2px); box-shadow: 0 18px 32px -14px rgba(50,73,179,.95), inset 0 1px 0 rgba(255,255,255,.22); }
.brand--plate .brand__word { color: #fff; }
.brand--plate .brand__word small { color: rgba(255,255,255,.82); }
.header__inner > .brand--plate + * { margin-left: 8px; }
.brand__mark { width: 74px; height: auto; aspect-ratio: 966 / 719; }
.brand__word { display: grid; justify-items: start; line-height: 1; font-family: var(--font-head); color: var(--blue); }
.brand__word b { font-weight: 600; font-size: 30px; letter-spacing: .26em; margin-right: -.26em; }
.brand__word small { font-size: 11px; font-weight: 600; letter-spacing: .39em; margin-top: 6px; }
.brand__tag {
  align-self: center; margin-left: 4px; padding: 6px 11px 5px; border-radius: 7px;
  background: var(--gold); color: var(--ink);
  font-family: var(--font-head); font-size: 11.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; line-height: 1;
}
.brand--light .brand__word { color: #fff; }

/* Navigation grouped in a capsule so it reads separately from the logo */
.header__menu { display: flex; align-items: center; gap: 16px; flex: 1; }
.nav {
  display: flex; align-items: center; gap: 2px; margin-inline: auto;
  padding: 5px; border-radius: 999px; background: var(--bg-soft); border: 1px solid var(--line);
}
.nav a {
  white-space: nowrap;
  padding: 9px 15px; border-radius: 999px; font-family: var(--font-head); font-size: 14.5px; font-weight: 400; color: var(--ink-2);
  transition: background-color .2s, color .2s, box-shadow .2s;
}
.nav a:hover { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }
.header__cta { display: flex; gap: 10px; align-items: center; }
.menu-toggle {
  display: none; margin-left: auto; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line);
  background: #fff; align-items: center; justify-content: center; cursor: pointer;
}
.menu-toggle .icon { width: 22px; height: 22px; }
.menu-toggle .icon-close { display: none; }
.nav-open .menu-toggle .icon-open { display: none; }
.nav-open .menu-toggle .icon-close { display: block; }

@media (min-width: 1241px) { .header__cta .btn--ghost { display: none; } }
@media (max-width: 1240px) {
  .header__menu { display: none; }
  .menu-toggle { display: inline-flex; }
  .nav-open .header__menu {
    display: grid; gap: 16px; position: absolute; top: 100%; left: 0; right: 0;
    max-height: calc(100vh - 106px); overflow-y: auto;
    background: #fff; padding: 12px var(--gutter) 24px; border-bottom: 1px solid var(--line);
    box-shadow: 0 30px 40px -30px rgba(16,24,64,.4);
  }
  .nav-open .nav { flex-direction: column; align-items: stretch; margin: 0; padding: 0; background: none; border: 0; border-radius: 0; }
  .nav-open .nav a { padding: 14px 12px; font-size: 17px; border-radius: 12px; }
  .nav-open .header__cta { display: grid; grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .header__inner { height: 88px; gap: 12px; }
  .brand { gap: 10px; }
  .brand--plate { gap: 9px; padding: 9px 12px; border-radius: 13px; }
  .brand__mark { width: 54px; }
  .brand__word b { font-size: 22px; }
  .brand__word small { font-size: 8px; margin-top: 4px; }
  .brand__tag { font-size: 9px; padding: 5px 7px 4px; margin-left: 0; }
  .nav-open .header__cta { grid-template-columns: 1fr; }
}
@media (max-width: 360px) { .brand__tag { display: none; } }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding-block: clamp(56px, 7vw, 96px) clamp(56px, 7vw, 96px); background: linear-gradient(180deg, #f5f7fd 0%, #fff 70%); }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(50,73,179,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(50,73,179,.06) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 60% 45% at 50% 20%, #000 0%, transparent 75%);
          mask-image: radial-gradient(ellipse 60% 45% at 50% 20%, #000 0%, transparent 75%);
}
.hero .container { position: relative; }
.hero__glow { position: absolute; width: 640px; height: 640px; border-radius: 50%; filter: blur(90px); opacity: .35; pointer-events: none; }
.hero__glow--blue { background: #7f93f0; right: -160px; top: -220px; }
.hero__glow--gold { background: #f7cf6a; left: -260px; top: 120px; opacity: .22; }
.hero__head { display: grid; justify-items: center; text-align: center; gap: 26px; max-width: 980px; margin-inline: auto; }
.hero h1 { font-size: clamp(40px, 5.6vw, 80px); }
.hero__head .lead { max-width: 720px; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 16px 6px 6px; border-radius: 999px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  font-size: 13.5px; font-weight: 500; color: var(--ink-2);
}
.hero__badge span { background: var(--gold-50); color: #9a6a00; padding: 4px 10px; border-radius: 999px; font-family: var(--font-head); font-size: 12px; font-weight: 600; letter-spacing: .02em; }
.hero h1 em { font-style: normal; color: var(--blue); position: relative; white-space: nowrap; display: inline-block; }
.hero h1 em::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .04em; height: .1em; border-radius: 99px;
  background: var(--gold); transform-origin: left; animation: underline 1.1s 1s var(--ease) both;
}
@keyframes underline { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.hero__proof { display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; margin-top: 36px; }
.avatars { display: flex; align-items: center; }
.avatars img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; border: 3px solid #fff; margin-left: -12px; box-shadow: var(--shadow-sm); }
.avatars img:first-child { margin-left: 0; }
.avatars--sm img { width: 32px; height: 32px; border-width: 2px; margin-left: -9px; }
.avatars--sm span { margin-left: 8px; font-size: 12px; font-weight: 600; color: var(--blue); }
.hero__proof-text { font-size: 14px; line-height: 1.45; color: var(--muted); }
.hero__proof-text strong { color: var(--ink); font-weight: 600; }
.stars { display: inline-flex; gap: 2px; color: var(--gold); vertical-align: -2px; }
.stars .icon { width: 15px; height: 15px; fill: currentColor; stroke: none; }

/* Showcase: auto-advancing tabs with progress bars */
.showcase { margin-top: clamp(48px, 6vw, 72px); background: #fff; border: 1px solid var(--line); border-radius: calc(var(--radius-lg) + 8px); padding: 12px; box-shadow: var(--shadow-lg); }
.showcase__stage { position: relative; aspect-ratio: 16 / 7.4; border-radius: var(--radius-lg); overflow: hidden; background: var(--navy); isolation: isolate; }
.showcase__pane { position: absolute; inset: 0; }
.showcase__pane:not(.is-active) { pointer-events: none; }
.showcase__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.08); transition: opacity .9s var(--ease), transform 6.5s linear; }
.showcase__pane.is-active .showcase__img { opacity: 1; transform: scale(1); }
.showcase__pane::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,16,48,.35), transparent 40%, transparent 60%, rgba(11,16,48,.3)); pointer-events: none; }
.sc-card {
  position: absolute; z-index: 2; display: flex; gap: 12px; align-items: center; padding: 14px 16px;
  background: rgba(255,255,255,.96); border-radius: 16px; box-shadow: var(--shadow-lg); border: 1px solid rgba(230,232,239,.8);
  opacity: 0; transform: translateY(26px) scale(.96); transition: opacity .6s var(--ease), transform .8s var(--ease);
}
.showcase__pane.is-active .sc-card { opacity: 1; transform: none; }
.showcase__pane.is-active .sc-card--1 { transition-delay: .25s; }
.showcase__pane.is-active .sc-card--2 { transition-delay: .4s; }
.showcase__pane.is-active .sc-card--3 { transition-delay: .55s; }
.sc-card small { display: block; font-size: 12px; color: var(--muted); line-height: 1.3; }
.sc-card strong { display: block; font-family: var(--font-head); font-weight: 500; color: var(--ink); font-size: 15px; line-height: 1.3; letter-spacing: -0.01em; }
.sc-card--1 { left: 32px; top: 32px; }
.sc-card--2 { right: 32px; bottom: 32px; }
.sc-card--3 { right: 32px; top: 32px; }
.sc-card--wide { width: 290px; display: grid; gap: 10px; }
.sc-card--wide .row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.sc-mentor img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.float-card {
  position: absolute; background: rgba(255,255,255,.96); border-radius: 18px; box-shadow: var(--shadow-lg);
  padding: 16px 18px; display: flex; gap: 14px; align-items: center; border: 1px solid rgba(230,232,239,.8);
}
.float-card small { display: block; font-size: 12px; color: var(--muted); line-height: 1.3; }
.float-card strong { display: block; font-family: var(--font-head); font-weight: 500; color: var(--ink); font-size: 15px; line-height: 1.3; letter-spacing: -0.01em; }
.chip { white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 99px; font-size: 12px; font-weight: 600; background: var(--blue-50); color: var(--blue); }
.chip--gold { background: var(--gold-50); color: #9a6a00; }
.chip--dot::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #1fb55f; box-shadow: 0 0 0 3px rgba(31,181,95,.2); animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 6px rgba(31,181,95,0); } }
.float-card__icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; flex: none; }
.float-card__icon .icon { width: 22px; height: 22px; }
.progress { height: 8px; border-radius: 99px; background: var(--blue-50); overflow: hidden; }
.progress span { display: block; height: 100%; width: 78%; border-radius: inherit; background: linear-gradient(90deg, var(--blue), #6c80e6); transform-origin: left; }
.showcase__pane.is-active .progress span { animation: grow 1.4s .6s var(--ease) both; }
@keyframes grow { from { transform: scaleX(0); } }
.bars { display: flex; align-items: flex-end; gap: 6px; height: 46px; }
.bars i { flex: 1; height: var(--h); border-radius: 4px 4px 2px 2px; background: linear-gradient(180deg, var(--gold), #f5d27a); transform-origin: bottom; }
.bars i:last-child { background: var(--blue); }
.showcase__pane.is-active .bars i { animation: growY .9s var(--ease) both; }
.showcase__pane.is-active .bars i:nth-child(2) { animation-delay: .5s; } .showcase__pane.is-active .bars i:nth-child(3) { animation-delay: .56s; }
.showcase__pane.is-active .bars i:nth-child(4) { animation-delay: .62s; } .showcase__pane.is-active .bars i:nth-child(5) { animation-delay: .68s; }
.showcase__pane.is-active .bars i:nth-child(6) { animation-delay: .74s; } .showcase__pane.is-active .bars i:nth-child(7) { animation-delay: .8s; }
@keyframes growY { from { transform: scaleY(0); } }

.showcase__tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding: 22px 16px 12px; }
.sc-tab { display: grid; gap: 6px; align-content: start; text-align: left; background: none; border: 0; padding: 0 8px 6px; cursor: pointer; color: var(--muted); }
.sc-tab__bar { display: block; height: 3px; border-radius: 99px; background: var(--line); overflow: hidden; margin-bottom: 14px; }
.sc-tab__bar i { display: block; height: 100%; width: 100%; background: var(--blue); transform: scaleX(0); transform-origin: left; }
.sc-tab.is-active .sc-tab__bar i { transform: scaleX(var(--p, 1)); }
.sc-tab strong { font-family: var(--font-head); font-weight: 500; font-size: 17px; color: var(--muted); letter-spacing: -0.015em; transition: color .3s; }
.sc-tab > span:last-child { font-size: 14px; line-height: 1.55; }
.sc-tab.is-active strong, .sc-tab:hover strong { color: var(--ink); }

@media (max-width: 900px) {
  .showcase__stage { aspect-ratio: 4 / 4.2; }
  .sc-card--3 { display: none; }
  .sc-card--1 { left: 16px; top: 16px; }
  .sc-card--2 { right: 16px; bottom: 16px; }
  .showcase__tabs { grid-template-columns: 1fr; gap: 4px; padding: 16px 8px 4px; }
  .sc-tab { padding-bottom: 12px; }
  .sc-tab:not(.is-active) > span:last-child { display: none; }
}
@media (max-width: 560px) {
  .showcase { padding: 8px; border-radius: var(--radius-lg); }
  .sc-card { padding: 11px 13px; }
  .sc-card--wide { width: min(250px, calc(100% - 32px)); }
  .sc-card strong { font-size: 13.5px; }
  .hero__actions .btn { flex: 1 1 100%; }
}

/* ---------- Stats band ---------- */
.stats { padding-block: 0 clamp(56px, 7vw, 88px); }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat { padding: 34px 28px; display: grid; gap: 6px; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat__num { font-family: var(--font-head); font-size: clamp(38px, 4.4vw, 60px); font-weight: 400; letter-spacing: -0.05em; color: var(--ink); line-height: 1; }
.stat__num sup, .stat__num .unit { font-size: .5em; color: var(--blue); letter-spacing: -0.02em; vertical-align: baseline; margin-left: 2px; }
.stat__label { font-size: 14.5px; color: var(--muted); line-height: 1.45; }
@media (max-width: 860px) {
  .stats__grid { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 420px) { .stat { padding: 26px 16px; } }

/* ---------- Marquee ---------- */
.marquee-wrap { padding-block: 0 clamp(20px, 3vw, 40px); }
.marquee-label { text-align: center; font-size: 14px; color: var(--muted); margin-bottom: 22px; }
.marquee { overflow: hidden; -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 48s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item {
  display: inline-flex; align-items: center; gap: 10px; padding: 12px 22px; border-radius: 999px;
  border: 1px solid var(--line); background: #fff; font-family: var(--font-head); font-weight: 500; font-size: 16px; color: var(--ink); white-space: nowrap;
}
.marquee__item i { width: 8px; height: 8px; border-radius: 50%; background: var(--blue); }
.marquee__item:nth-child(3n) i { background: var(--gold); }
.marquee__item:nth-child(3n+2) i { background: var(--ink); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Gap / comparison ---------- */
.gap { background: var(--bg-soft); }
.gap__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.compare-card { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; }
.compare-card__media { position: relative; aspect-ratio: 16 / 8; overflow: hidden; }
.compare-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.compare-card:hover .compare-card__media img { transform: scale(1.04); }
.compare-card--old .compare-card__media img { filter: grayscale(1) contrast(.95) brightness(.95); }
.compare-card__tag { position: absolute; left: 20px; top: 20px; padding: 8px 14px; border-radius: 99px; font-family: var(--font-head); font-size: 13px; font-weight: 500; background: rgba(26,26,26,.78); color: #fff; backdrop-filter: blur(6px); }
.compare-card--new .compare-card__tag { background: var(--blue); }
.compare-card__body { padding: clamp(24px, 3vw, 36px); display: grid; gap: 18px; }
.compare-list { display: grid; gap: 14px; }
.compare-list li { display: flex; gap: 14px; align-items: flex-start; font-size: 15.5px; line-height: 1.5; }
.compare-list .mark { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; flex: none; margin-top: -1px; }
.compare-list .mark .icon { width: 15px; height: 15px; stroke-width: 2.4; }
.compare-card--old .mark { background: #f1f1f3; color: #8a8d96; }
.compare-card--old li { color: var(--muted); }
.compare-card--new { border-color: var(--blue-100); box-shadow: var(--shadow); }
.compare-card--new .mark { background: var(--blue); color: #fff; }
.compare-card--new li { color: var(--ink); }
@media (max-width: 860px) { .gap__grid { grid-template-columns: 1fr; } }

/* ---------- Pillars (bento) ---------- */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: minmax(260px, auto); gap: 20px; }
.pillar {
  position: relative; overflow: hidden; border-radius: var(--radius-lg); color: #fff; isolation: isolate;
  display: flex; flex-direction: column; justify-content: flex-end; padding: clamp(24px, 2.6vw, 34px); min-height: 300px;
}
.pillar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease); }
.pillar::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11,16,48,.45) 0%, rgba(11,16,48,0) 30%, rgba(11,16,48,.1) 42%, rgba(11,16,48,.6) 62%, rgba(11,16,48,.94) 100%); }
.pillar:hover img { transform: scale(1.05); }
.pillar__icon { position: absolute; top: 24px; left: 24px; width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.25); backdrop-filter: blur(8px); }
.pillar__icon .icon { width: 24px; height: 24px; }
.pillar__count { position: absolute; top: 30px; right: 26px; font-family: var(--font-head); font-size: 13px; letter-spacing: .08em; opacity: .85; }
.pillar h3 { color: #fff; font-size: clamp(22px, 2.3vw, 30px); font-weight: 500; margin-bottom: 10px; }
.pillar p { color: rgba(255,255,255,.82); font-size: 15px; line-height: 1.55; max-width: 460px; }
.pillar__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.pillar__tags span { padding: 5px 12px; border-radius: 99px; font-size: 12.5px; font-weight: 500; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.2); backdrop-filter: blur(6px); }
.pillar--a { grid-column: span 7; grid-row: span 2; }
.pillar--b { grid-column: span 5; }
.pillar--c { grid-column: span 5; }
.pillar--d { grid-column: span 4; }
.pillar--e { grid-column: span 4; }
.pillar--f { grid-column: span 4; }
.pillar--a h3 { font-size: clamp(28px, 3.2vw, 42px); }
@media (max-width: 980px) {
  .bento { grid-template-columns: 1fr 1fr; }
  .pillar--a { grid-column: span 2; grid-row: auto; min-height: 460px; }
  .pillar--b, .pillar--c, .pillar--d, .pillar--e, .pillar--f { grid-column: span 1; }
}
@media (max-width: 620px) {
  .bento { grid-template-columns: 1fr; }
  .pillar--a, .pillar--b, .pillar--c, .pillar--d, .pillar--e, .pillar--f { grid-column: auto; min-height: 340px; }
}

/* ---------- Programs (tabs) ---------- */
.programs { background: var(--bg-soft); }
.tabs { display: flex; gap: 8px; flex-wrap: wrap; padding: 6px; border-radius: 999px; background: #fff; border: 1px solid var(--line); width: max-content; max-width: 100%; margin-bottom: 36px; }
.tab {
  display: inline-flex; align-items: center; gap: 8px; padding: 11px 20px; border-radius: 999px; border: 0; background: transparent; cursor: pointer;
  font-family: var(--font-head); font-size: 15px; font-weight: 500; color: var(--muted); transition: background-color .25s, color .25s;
}
.tab .icon { width: 18px; height: 18px; }
.tab:hover { color: var(--ink); }
.tab[aria-selected="true"] { background: var(--ink); color: #fff; }
@media (max-width: 760px) {
  .tabs { width: auto; border-radius: 18px; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .tabs::-webkit-scrollbar { display: none; }
  .tab { flex: none; }
}
.panel { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.panel[hidden] { display: none; }
.panel.is-entering .course { animation: rise .6s var(--ease) both; }
.panel.is-entering .course:nth-child(2) { animation-delay: .06s; }
.panel.is-entering .course:nth-child(3) { animation-delay: .12s; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.course {
  background: #fff; border-radius: var(--radius); border: 1px solid var(--line); overflow: hidden; display: flex; flex-direction: column;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.course:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.course__media { position: relative; aspect-ratio: 16/10; overflow: hidden; }
.course__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.course:hover .course__media img { transform: scale(1.06); }
.course__media .chip { position: absolute; left: 14px; top: 14px; background: rgba(255,255,255,.95); }
.course__body { padding: 24px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.course__meta { display: flex; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--muted); }
.course__meta span { display: inline-flex; align-items: center; gap: 6px; }
.course__meta .icon { width: 16px; height: 16px; color: var(--blue); }
.course h3 { font-size: 21px; line-height: 1.25; letter-spacing: -0.02em; }
.course p { font-size: 14.5px; color: var(--muted); line-height: 1.6; }
.course__skills { display: flex; flex-wrap: wrap; gap: 6px; }
.course__skills span { font-size: 12px; font-weight: 500; padding: 4px 10px; border-radius: 8px; background: var(--bg-soft); color: var(--ink-2); }
.course__foot { margin-top: auto; padding-top: 16px; border-top: 1px dashed var(--line); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.course__foot small { font-size: 13px; color: var(--muted); }
.course__foot small b { color: var(--ink); font-weight: 600; }
@media (max-width: 980px) { .panel { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .panel { grid-template-columns: 1fr; } }
.programs__note { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; padding: 22px 28px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.programs__note p { color: var(--ink-2); font-size: 15.5px; }

/* ---------- Journey (dark) ---------- */
.journey { position: relative; background: var(--navy); color: #fff; overflow: hidden; }
.journey::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 60% 50% at 85% 0%, rgba(50,73,179,.55), transparent 70%), radial-gradient(ellipse 40% 40% at 0% 100%, rgba(234,173,26,.14), transparent 70%);
}
.journey__mark { position: absolute; right: -80px; top: 60px; width: 520px; height: auto; opacity: .05; pointer-events: none; }
.journey .container { position: relative; }
.journey h2 { color: #fff; }
.journey .lead { color: rgba(255,255,255,.7); }
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; counter-reset: step; position: relative; }
.steps::before { content: ""; position: absolute; top: 31px; left: 32px; right: 32px; height: 1px; background: linear-gradient(90deg, rgba(255,255,255,.35), rgba(255,255,255,.08)); }
.step { position: relative; display: grid; gap: 14px; align-content: start; padding-right: 8px; }
.step__num {
  width: 62px; height: 62px; border-radius: 50%; display: grid; place-items: center; position: relative;
  background: var(--navy); border: 1px solid rgba(255,255,255,.25); font-family: var(--font-head); font-size: 18px; color: #fff;
}
.step:last-child .step__num { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.step h3 { color: #fff; font-size: 20px; margin-top: 8px; }
.step p { color: rgba(255,255,255,.66); font-size: 14.5px; line-height: 1.6; }
.step small { font-size: 12.5px; color: var(--gold); font-weight: 600; letter-spacing: .04em; }
@media (max-width: 980px) {
  .steps { grid-template-columns: 1fr; gap: 0; }
  .steps::before { top: 10px; bottom: 10px; left: 31px; right: auto; width: 1px; height: auto; background: linear-gradient(180deg, rgba(255,255,255,.35), rgba(255,255,255,.08)); }
  .step { grid-template-columns: 62px 1fr; column-gap: 22px; padding-bottom: 34px; }
  .step__num { grid-row: span 4; }
  .step h3 { margin-top: 0; }
}

/* ---------- Tracks ---------- */
.tracks__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.track { position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 620px; display: flex; flex-direction: column; justify-content: flex-end; padding: clamp(28px, 3.4vw, 48px); color: #fff; isolation: isolate; }
.track > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.4s var(--ease); }
.track:hover > img { transform: scale(1.04); }
.track::after { content: ""; position: absolute; inset: 0; z-index: -1; }
.track--job::after { background: linear-gradient(180deg, rgba(50,73,179,.1) 0%, rgba(38,57,143,.72) 48%, rgba(20,31,90,.97) 100%); }
.track--founder::after { background: linear-gradient(180deg, rgba(26,26,26,.1) 0%, rgba(26,26,26,.75) 48%, rgba(14,14,14,.97) 100%); }
.track__label { align-self: flex-start; margin-bottom: auto; display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 99px; font-family: var(--font-head); font-size: 13px; font-weight: 500; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.3); backdrop-filter: blur(8px); }
.track--founder .track__label { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.track__label .icon { width: 16px; height: 16px; }
.track h3 { color: #fff; font-size: clamp(30px, 3.4vw, 46px); font-weight: 400; letter-spacing: -0.04em; margin: 28px 0 14px; }
.track p { color: rgba(255,255,255,.8); max-width: 480px; }
.track__list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; margin: 26px 0 30px; }
.track__list li { display: flex; gap: 10px; font-size: 14.5px; line-height: 1.45; color: rgba(255,255,255,.92); }
.track__list .icon { width: 18px; height: 18px; color: var(--gold); margin-top: 1px; stroke-width: 2.4; }
.track .btn { align-self: flex-start; }
@media (max-width: 900px) { .tracks__grid { grid-template-columns: 1fr; } .track { min-height: 560px; } }
@media (max-width: 520px) { .track__list { grid-template-columns: 1fr; } }

/* ---------- Pinned "why" scroll section ---------- */
.why-pin { position: relative; background: #fff; }
.why-pin__stage { position: relative; height: 100vh; min-height: 640px; overflow: hidden; display: flex; align-items: flex-end; color: #fff; }
.why-pin__media { position: absolute; inset: 0; clip-path: inset(var(--inset-y, 0px) var(--inset-x, 0px) round var(--inset-r, 0px)); will-change: clip-path; }
.why-pin__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.08); transition: opacity 1s var(--ease), transform 1.6s var(--ease); }
.why-pin__media img.is-active { opacity: 1; transform: scale(1); }
.why-pin__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,16,48,.25) 0%, rgba(11,16,48,.35) 40%, rgba(11,16,48,.9) 100%); }
.why-pin__content { position: relative; z-index: 1; padding-bottom: clamp(48px, 8vh, 96px); }
.why-pin__title { color: #fff; max-width: 820px; margin-top: 16px; font-size: clamp(34px, 5.2vw, 72px); }
.why-pin__lead { color: rgba(255,255,255,.78); max-width: 560px; margin-top: 16px; font-size: clamp(15px, 1.3vw, 18px); }
.why-pin__labels { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: clamp(32px, 6vh, 60px); padding-top: 24px; border-top: 1px solid rgba(255,255,255,.2); counter-reset: none; }
.why-pin__labels a { display: grid; gap: 8px; font-family: var(--font-head); font-size: clamp(16px, 1.5vw, 21px); line-height: 1.2; letter-spacing: -0.02em; color: rgba(255,255,255,.5); transition: color .5s var(--ease), transform .5s var(--ease); transform-origin: left bottom; }
.why-pin__labels a span { font-size: 12px; letter-spacing: .12em; color: var(--gold); opacity: .6; transition: opacity .5s; }
.why-pin__labels a em { font-style: italic; font-weight: 300; }
.why-pin__labels a.is-active { color: #fff; transform: scale(1.14); }
.why-pin__labels a.is-active span { opacity: 1; }
.why-pin__labels a:hover { color: #fff; }
@media (max-width: 860px) {
  .why-pin__stage { height: auto; min-height: 0; padding-top: 180px; }
  .why-pin__labels { grid-template-columns: 1fr 1fr; }
  .why-pin__labels a.is-active { transform: none; }
}

/* ---------- Experience rows ---------- */
.experience { background: var(--bg-soft); }
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.feature-row + .feature-row { margin-top: clamp(72px, 9vw, 120px); }
.feature-row--flip .feature-row__media { order: 2; }
.feature-row__media { position: relative; }
.feature-row__media > img { width: 100%; height: auto; aspect-ratio: 5/4; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.feature-row__media .float-card { animation: none; }
.feature-row__media .float-card--a { left: -24px; bottom: 32px; }
.feature-row__media .float-card--b { right: -24px; top: 32px; }
.feature-row__copy { display: grid; gap: 22px; }
.feature-list { display: grid; gap: 18px; margin-top: 6px; }
.feature-list li { display: grid; grid-template-columns: 48px 1fr; gap: 16px; align-items: start; }
.feature-list .ficon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: #fff; border: 1px solid var(--line); color: var(--blue); box-shadow: var(--shadow-sm); }
.feature-list .ficon .icon { width: 22px; height: 22px; }
.feature-list h4 { font-size: 17px; letter-spacing: -0.015em; margin-bottom: 4px; }
.feature-list p { font-size: 15px; color: var(--muted); line-height: 1.55; }
@media (max-width: 900px) {
  .feature-row { grid-template-columns: 1fr; }
  .feature-row--flip .feature-row__media { order: 0; }
  .feature-row__media .float-card--a { left: 12px; bottom: -20px; }
  .feature-row__media .float-card--b { right: 12px; top: -20px; }
}

/* ---------- Mentors ---------- */
.mentors__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.mentor { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/5; isolation: isolate; color: #fff; display: flex; flex-direction: column; justify-content: flex-end; padding: 22px; }
.mentor img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1s var(--ease), filter .6s; filter: grayscale(.25); }
.mentor::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 45%, rgba(11,16,48,.9) 100%); }
.mentor:hover img { transform: scale(1.05); filter: grayscale(0); }
.mentor h3 { color: #fff; font-size: 20px; }
.mentor p { font-size: 13.5px; color: rgba(255,255,255,.8); line-height: 1.45; margin-top: 4px; }
.mentor .chip { position: absolute; top: 16px; left: 16px; background: rgba(255,255,255,.92); }
@media (max-width: 980px) { .mentors__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 460px) { .mentors__grid { grid-template-columns: 1fr; } }

/* ---------- Testimonials (Swiper) ---------- */
.testimonials { background: var(--bg-soft); overflow: hidden; }
.stories-swiper { overflow: visible; }
.stories-swiper .swiper-slide { height: auto; width: calc((100% - 40px) / 3); }
.stories { position: relative; }
.t-card { background: #fff; border-radius: var(--radius); border: 1px solid var(--line); padding: 30px; display: flex; flex-direction: column; gap: 22px; transition: transform .5s var(--ease), box-shadow .5s var(--ease), opacity .5s; user-select: none; }
.stories-swiper .swiper-slide:not(.swiper-slide-visible) { opacity: .45; }
.t-card:hover { box-shadow: var(--shadow); }
.t-card blockquote { margin: 0; font-family: var(--font-head); font-size: 18px; line-height: 1.55; letter-spacing: -0.01em; color: var(--ink); font-weight: 400; }
.t-card__person { margin-top: auto; display: flex; align-items: center; gap: 14px; padding-top: 20px; border-top: 1px solid var(--line); }
.t-card__person img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.t-card__person strong { display: block; font-family: var(--font-head); font-weight: 500; color: var(--ink); line-height: 1.3; }
.t-card__person small { font-size: 13px; color: var(--muted); line-height: 1.4; display: block; }
.t-card__outcome { display: flex; gap: 8px; flex-wrap: wrap; }
.t-card--feature { background: var(--blue); border-color: var(--blue); color: #fff; }
.t-card--feature blockquote, .t-card--feature strong { color: #fff; }
.t-card--feature small { color: rgba(255,255,255,.75); }
.t-card--feature .t-card__person { border-color: rgba(255,255,255,.2); }
.t-card--feature .chip { background: rgba(255,255,255,.14); color: #fff; }
.stories__nav, .cs-nav { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 40px; }
.stories__btn { width: 52px; height: 52px; border-radius: 50%; border: 0; background: var(--ink); color: #fff; display: grid; place-items: center; cursor: pointer; transition: background-color .25s, transform .25s var(--ease), opacity .25s; }
.stories__btn:hover { background: var(--blue); transform: scale(1.06); }
.stories__btn.swiper-button-disabled { opacity: .3; cursor: default; transform: none; background: var(--ink); }
.stories__btn .icon { width: 20px; height: 20px; }
.stories__progress { width: min(240px, 40vw); height: 3px; border-radius: 99px; background: #dcdfe8; overflow: hidden; }
.stories__progress span { display: block; height: 100%; background: var(--blue); transform-origin: left; transform: scaleX(var(--p, .2)); transition: transform .5s var(--ease); }
@media (max-width: 980px) { .stories-swiper .swiper-slide { width: calc((100% - 20px) / 2); } }
@media (max-width: 640px) { .stories-swiper .swiper-slide { width: 86%; } .t-card { padding: 24px; } .t-card blockquote { font-size: 16.5px; } }

/* ---------- Alumni spotlight (case-study slider) ---------- */
.spotlight { background: var(--bg-soft); padding-top: 0; }
.spotlight__card { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 5vw, 72px); align-items: center; background: #fff; border: 1px solid var(--line); border-radius: calc(var(--radius-lg) + 8px); padding: clamp(24px, 4vw, 56px); }
.spotlight__intro { display: grid; gap: 18px; }
.spotlight__slider { min-width: 0; }
.cs-swiper { border-radius: var(--radius-lg); }
.cs { display: grid; grid-template-columns: 1.05fr 1fr; min-height: 400px; border-radius: var(--radius-lg); overflow: hidden; color: #fff; }
.cs--blue { background: var(--blue); }
.cs--ink { background: var(--ink); }
.cs--gold { background: var(--gold); color: var(--ink); }
.cs__txt { display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; gap: 16px; padding: 32px 26px; position: relative; }
.cs__txt h3 { color: inherit; font-size: clamp(30px, 3.4vw, 46px); font-weight: 400; letter-spacing: -0.04em; line-height: 1; }
.cs__tag { font-family: var(--font-head); font-size: 11.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; padding: 6px 12px; border-radius: 6px; background: var(--gold); color: var(--ink); }
.cs__tag--gold { background: var(--gold); }
.cs__tag--ink { background: var(--ink); color: #fff; }
.cs__txt p { font-size: 15px; line-height: 1.55; opacity: .85; max-width: 260px; }
.cs__link { position: absolute; left: 26px; right: 26px; bottom: 22px; display: flex; justify-content: space-between; align-items: center; font-family: var(--font-head); font-size: 14px; font-weight: 500; padding-top: 14px; border-top: 1px solid currentColor; border-color: rgba(255,255,255,.2); }
.cs--gold .cs__link { border-color: rgba(26,26,26,.2); }
.cs__link .icon { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.cs__link:hover .icon { transform: translateX(4px); }
.cs__txt { padding-bottom: 80px; }
.cs__img { position: relative; overflow: hidden; }
.cs__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); transition: transform 1.4s var(--ease); }
.swiper-slide-active .cs__img img { transform: scale(1); }
.swiper-slide .cs__txt > * { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .7s var(--ease); }
.swiper-slide-active .cs__txt > * { opacity: 1; transform: none; }
.swiper-slide-active .cs__txt > :nth-child(2) { transition-delay: .08s; }
.swiper-slide-active .cs__txt > :nth-child(3) { transition-delay: .16s; }
.swiper-slide-active .cs__txt > :nth-child(4) { transition-delay: .24s; }
.cs-nav { margin-top: 24px; }
.cs-fraction { font-family: var(--font-head); font-size: 15px; color: var(--muted); min-width: 52px; text-align: center; }
.cs-fraction b { color: var(--ink); font-weight: 500; }
@media (max-width: 980px) { .spotlight__card { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .cs { grid-template-columns: 1fr; } .cs__img { aspect-ratio: 4 / 3.4; order: -1; } .cs { min-height: 0; } }

/* ---------- Plans ---------- */
.plans__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan { position: relative; border-radius: var(--radius-lg); border: 1px solid var(--line); padding: clamp(28px, 3vw, 38px); display: flex; flex-direction: column; gap: 22px; background: #fff; }
.plan__name { font-family: var(--font-head); font-size: 14px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); }
.plan h3 { font-size: clamp(26px, 2.6vw, 34px); font-weight: 400; letter-spacing: -0.035em; }
.plan > p { color: var(--muted); font-size: 15px; }
.plan__meta { display: flex; align-items: baseline; gap: 8px; padding-block: 18px; border-block: 1px solid var(--line); }
.plan__meta strong { font-family: var(--font-head); font-size: 34px; font-weight: 400; letter-spacing: -0.04em; color: var(--ink); line-height: 1; }
.plan__meta span { font-size: 14px; color: var(--muted); }
.plan ul { display: grid; gap: 12px; }
.plan li { display: flex; gap: 12px; font-size: 15px; line-height: 1.45; color: var(--ink-2); }
.plan li .icon { width: 20px; height: 20px; color: var(--blue); stroke-width: 2.2; }
.plan .btn { margin-top: auto; }
.plan--featured { background: var(--ink); border-color: var(--ink); color: #fff; box-shadow: var(--shadow-lg); transform: translateY(-12px); }
.plan--featured h3, .plan--featured .plan__meta strong { color: #fff; }
.plan--featured .plan__name { color: var(--gold); }
.plan--featured > p, .plan--featured .plan__meta span { color: rgba(255,255,255,.65); }
.plan--featured .plan__meta { border-color: rgba(255,255,255,.14); }
.plan--featured li { color: rgba(255,255,255,.9); }
.plan--featured li .icon { color: var(--gold); }
.plan__flag { position: absolute; top: 24px; right: 24px; padding: 6px 12px; border-radius: 99px; background: var(--gold); color: var(--ink); font-family: var(--font-head); font-size: 12px; font-weight: 600; }
.plans__foot { margin-top: 32px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 32px; color: var(--muted); font-size: 14.5px; }
.plans__foot span { display: inline-flex; gap: 8px; align-items: center; }
.plans__foot .icon { color: var(--blue); width: 18px; height: 18px; }
@media (max-width: 980px) { .plans__grid { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; } .plan--featured { transform: none; } }

/* ---------- FAQ ---------- */
.faq__grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.faq__aside { position: sticky; top: 110px; display: grid; gap: 20px; }
.faq__contact { display: flex; gap: 14px; align-items: center; padding: 18px; border-radius: var(--radius); background: var(--bg-soft); border: 1px solid var(--line); }
.faq__contact img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.faq__contact strong { display: block; font-family: var(--font-head); font-weight: 500; color: var(--ink); }
.faq__contact small { font-size: 13.5px; color: var(--muted); }
.accordion { border-top: 1px solid var(--line); }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 26px 0; font-family: var(--font-head); font-size: clamp(17px, 1.6vw, 20px); font-weight: 500; color: var(--ink); letter-spacing: -0.015em;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary .pm { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); flex: none; transition: transform .35s var(--ease), background-color .25s, color .25s, border-color .25s; }
.accordion summary .pm .icon { width: 18px; height: 18px; }
.accordion details[open] summary .pm { transform: rotate(45deg); background: var(--blue); color: #fff; border-color: var(--blue); }
.accordion details p { padding: 0 60px 26px 0; color: var(--muted); font-size: 15.5px; }
@media (max-width: 900px) { .faq__grid { grid-template-columns: 1fr; } .faq__aside { position: static; } .accordion details p { padding-right: 0; } }

/* ---------- CTA / Apply ---------- */
.apply { position: relative; padding-block: var(--section-y); color: #fff; isolation: isolate; overflow: hidden; }
.apply > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.apply::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(11,16,48,.96) 0%, rgba(28,42,107,.9) 45%, rgba(50,73,179,.55) 100%); }
.apply__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.apply h2 { color: #fff; }
.apply .lead { color: rgba(255,255,255,.78); }
.apply__points { display: grid; gap: 14px; margin-top: 30px; }
.apply__points li { display: flex; gap: 12px; align-items: center; color: rgba(255,255,255,.92); }
.apply__points .icon { width: 22px; height: 22px; color: var(--gold); stroke-width: 2.2; }
.form-card { background: #fff; color: var(--ink-2); border-radius: var(--radius-lg); padding: clamp(26px, 3vw, 40px); box-shadow: var(--shadow-lg); }
.form-card h3 { font-size: 26px; margin-bottom: 6px; }
.form-card form > p:first-of-type { font-size: 14.5px; color: var(--muted); margin-bottom: 24px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 13px; font-weight: 600; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 16px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--bg-soft);
  font-size: 15px; transition: border-color .2s, background-color .2s, box-shadow .2s; appearance: none; -webkit-appearance: none;
}
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%236b6f7b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 42px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(50,73,179,.12); }
.field.is-invalid input, .field.is-invalid select { border-color: #d64545; }
.form-card .btn { margin-top: 20px; }
.form-card__legal { margin-top: 14px; font-size: 12.5px; color: var(--muted); text-align: center; }
.form-success { display: none; text-align: center; padding: 30px 10px; }
.form-success .tick { width: 72px; height: 72px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center; background: #e8f6ee; color: #1b8a4b; }
.form-success .tick .icon { width: 34px; height: 34px; stroke-width: 2.4; }
.form-success h3 { margin-bottom: 8px; }
.form-card.is-sent form { display: none; }
.form-card.is-sent .form-success { display: block; }
@media (max-width: 900px) { .apply__grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .form-grid { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.footer { background: var(--navy); color: rgba(255,255,255,.7); padding-top: clamp(64px, 8vw, 96px); font-size: 14.5px; }
.footer__top { display: grid; grid-template-columns: 1.7fr repeat(3, 1fr) 1.3fr; gap: 40px; padding-bottom: 56px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer__brand { display: grid; gap: 22px; align-content: start; }
.footer .brand { flex: initial; flex-wrap: wrap; row-gap: 10px; gap: 12px; justify-self: start; }
.footer .brand__mark { width: 56px; }
.footer .brand__word b { font-size: 22px; }
.footer .brand__word small { font-size: 8px; margin-top: 5px; }
.footer .brand__tag { font-size: 9.5px; padding: 5px 8px 4px; }
.footer__brand p { max-width: 320px; line-height: 1.7; }
.footer h4 { color: #fff; font-size: 15px; font-weight: 500; letter-spacing: 0; margin-bottom: 18px; }
.footer ul { display: grid; gap: 12px; }
.footer a { transition: color .2s; }
.footer a:hover { color: #fff; }
.footer__contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer__contact .icon { width: 18px; height: 18px; color: var(--gold); margin-top: 3px; }
.socials { display: flex; gap: 10px; }
.socials a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.18); transition: background-color .2s, border-color .2s, color .2s; }
.socials a:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.socials .icon { width: 18px; height: 18px; }
.footer__big { font-family: var(--font-head); font-weight: 400; letter-spacing: -0.06em; line-height: .85; font-size: clamp(40px, 10.6vw, 152px); color: rgba(255,255,255,.05); text-align: center; padding-top: 36px; user-select: none; white-space: nowrap; overflow: hidden; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-block: 26px; border-top: 1px solid rgba(255,255,255,.1); font-size: 13.5px; }
.footer__bottom nav { display: flex; gap: 22px; flex-wrap: wrap; }
@media (max-width: 1080px) { .footer__top { grid-template-columns: 1fr 1fr 1fr; } .footer__brand { grid-column: 1 / -1; } }
@media (max-width: 620px) { .footer__top { grid-template-columns: 1fr 1fr; } .footer__contact-col { grid-column: 1 / -1; } }

/* ---------- Motion helpers ---------- */
.h2--xl { font-size: clamp(36px, 5.6vw, 76px); }
[data-scale-text] { will-change: transform; }
.split-w { display: inline-block; overflow: hidden; vertical-align: top; padding-block: .08em .14em; margin-block: -.08em -.14em; }
.split-w > span { display: inline-block; transform: translateY(110%); transition: transform 1s var(--ease); transition-delay: calc(var(--i) * 45ms); }
.is-split-in .split-w > span { transform: none; }
.footer__big span { display: inline-block; }
[data-parallax] { will-change: transform; }
.apply > img[data-parallax] { inset: -12% 0; height: 124%; }
.accordion details .acc-body { overflow: hidden; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .split-w > span { transform: none; }
  .promo__track, .marquee__track { animation: none; }
}
