/* ============================================================
   WBS — World Business School · Design tokens + custom classes
   Cinematic Premium Dark + Warm Ivory
   ============================================================ */

:root {
  /* Core inks & papers */
  --ink: #0A0E1A;
  --ink-2: #111726;
  --paper: #F7F3EA;
  --paper-2: #EFE9DC;
  --white: #FFFFFF;

  /* Gold system (use sparingly) */
  --gold: #C6A15B;
  --gold-bright: #E8C877;
  --gold-deep: #9A7B3F;
  --gold-grad: linear-gradient(135deg, #E8C877 0%, #C6A15B 55%, #9A7B3F 100%);

  /* Text */
  --text: #1B2130;
  --text-dim: #5A6070;
  --text-inv: #F2EFE6;
  --text-inv-dim: #B9BAC6;

  /* Semantic */
  --success: #2F7D4F;
  --warn: #B45309;
  --danger: #C0392B;
  --whatsapp: #25D366;

  /* Lines */
  --line: rgba(10, 14, 26, .12);
  --line-inv: rgba(242, 239, 230, .16);

  /* Category accents */
  --cat-films: #8A2433;
  --cat-agriculture: #2F7D4F;
  --cat-edp: #B4541B;
  --cat-exim: #1F5F7A;
  --cat-vloggers: #C24D7A;
  --cat-influencers: #7A3E9D;
  --cat-youtubers: #C0392B;
  --cat-drones: #2C6E8F;
  --cat-culinary: #A65E2E;
  --cat-hospitality: #1E6E5C;
  --cat-aiml: #4338CA;
  --cat-digital: #0E7490;
  --cat-extreme: #4D5560;

  /* Type */
  --font-display: 'Rozha One', Georgia, serif;
  --font-body: 'Mukta', system-ui, sans-serif;

  /* Radii */
  --r-sm: 10px; --r-md: 16px; --r-lg: 22px; --r-xl: 28px; --r-pill: 999px;

  /* Motion */
  --ease: cubic-bezier(.22, .61, .36, 1);
}

html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { font-family: var(--font-body); }
img, svg, video { max-width: 100%; }

/* Utility color aliases used in markup */
.bg-wbs-white { background: var(--white); }
.bg-wbs-gold-grad { background: var(--gold-grad); }

/* Devanagari-safe line height */
.devanagari { line-height: 1.45 !important; }
h1.devanagari, h2.devanagari { line-height: 1.22 !important; }

/* ---------- Section surfaces ---------- */
.section-dark { background: var(--ink); color: var(--text-inv); }
.section-light { background: var(--paper); color: var(--text); }

/* ---------- Film-grain overlay (subtle, dark sections) ---------- */
.grain { position: relative; }
.grain::after {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)' opacity='0.6'/%3E%3C/svg%3E");
}


/* ============================================================
   WBS HERO — cinematic full-bleed, matches reference image exactly
   Photo: warm golden-hour composite, figures backlit by amber sun
   ============================================================ */

.wbs-hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-top: 64px; /* nav height */
  background: #0A0E1A;
}

/* ── Background layers ── */
.wbs-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

/* THE ACTUAL PHOTO — reference image as full-bleed bg */
.wbs-hero__photo {
  position: absolute;
  inset: 0;
  background-image: url('/static/hero.png');
  background-size: cover;
  background-position: center 20%;
  background-repeat: no-repeat;
}

/* Left-side dark gradient so text is legible (0→55% width, dark→transparent) */
.wbs-hero__overlay {
  position: absolute;
  inset: 0;
  background:
    /* Heavy left dark for text */
    linear-gradient(90deg,
      rgba(5, 6, 10, 0.82) 0%,
      rgba(5, 6, 10, 0.70) 30%,
      rgba(5, 6, 10, 0.45) 52%,
      rgba(5, 6, 10, 0.12) 68%,
      transparent 82%
    ),
    /* Top-to-bottom: slightly darken top (nav area) */
    linear-gradient(180deg,
      rgba(5, 6, 10, 0.35) 0%,
      rgba(5, 6, 10, 0.08) 18%,
      transparent 40%,
      transparent 55%,
      rgba(5, 6, 10, 0.15) 72%,
      rgba(5, 6, 10, 0.60) 88%,
      rgba(10, 14, 26, 0.95) 100%
    );
}

/* Hard bottom fade — image to midnight (for stat strip and section below) */
.wbs-hero__bottom-fade {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: clamp(260px, 32vh, 400px);
  background: linear-gradient(0deg,
    #0A0E1A 0%,
    rgba(10, 14, 26, 0.96) 22%,
    rgba(10, 14, 26, 0.75) 45%,
    rgba(10, 14, 26, 0.28) 72%,
    transparent 100%
  );
}

/* ── Text content ── */
.wbs-hero__content {
  position: relative;
  z-index: 10;
  padding-top: clamp(40px, 5vh, 72px);
  padding-bottom: clamp(200px, 26vh, 280px); /* room for stat strip */
}

/* Eyebrow — gold caps, reference image style */
.wbs-hero__eyebrow {
  font-family: var(--font-body);
  font-size: clamp(10px, 0.75vw, 12.5px);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-bright);
  margin-bottom: clamp(12px, 1.5vh, 20px);
  display: flex;
  align-items: center;
  gap: 10px;
}

/* The gold dash before the eyebrow text */
.wbs-hero__eyebrow::before {
  content: '';
  display: block;
  width: 36px;
  height: 2px;
  background: var(--gold-bright);
  opacity: 0.75;
  flex-shrink: 0;
}

/* H1 — massive Rozha, cream-white */
.wbs-hero__h1 {
  font-family: var(--font-display);
  font-size: clamp(44px, 6.8vw, 92px);
  line-height: 1.02;
  color: #FFFFFF;
  letter-spacing: -0.01em;
  margin-bottom: clamp(8px, 1vh, 14px);
  /* Deep shadow so it pops over any part of the photo */
  text-shadow:
    0 2px 4px rgba(0,0,0,0.90),
    0 4px 20px rgba(0,0,0,0.70),
    0 8px 40px rgba(0,0,0,0.50);
}

/* H2 — "Skill seekho. Career banao." */
.wbs-hero__h2 {
  font-family: var(--font-body);
  font-size: clamp(20px, 2.5vw, 34px);
  font-weight: 400;
  color: var(--text-inv);
  line-height: 1.28;
  margin-bottom: clamp(6px, 0.8vh, 10px);
  text-shadow: 0 2px 12px rgba(0,0,0,0.75);
}

/* Devanagari soul line — warm gold */
.wbs-hero__soul {
  font-family: var(--font-body);
  font-size: clamp(16px, 1.7vw, 22px);
  font-weight: 400;
  color: var(--gold-bright);
  margin-bottom: clamp(20px, 3vh, 36px);
  text-shadow: 0 1px 10px rgba(0,0,0,0.65);
  opacity: 0.95;
}

/* CTA row */
.wbs-hero__ctas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(10px, 1.2vw, 16px);
}

/* Gold pill CTA — matches reference exactly */
.wbs-hero__btn-gold {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold-grad);
  color: var(--ink) !important;
  font-family: var(--font-body);
  font-size: clamp(13px, 1vw, 15px);
  font-weight: 700;
  padding: clamp(11px, 1.2vh, 14px) clamp(22px, 2.2vw, 30px);
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 2px 14px rgba(198, 161, 91, 0.38);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  white-space: nowrap;
  letter-spacing: 0.02em;
}
.wbs-hero__btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(198, 161, 91, 0.50);
}

/* Ghost outline CTA — matches reference "WhatsApp par baat karo" */
.wbs-hero__btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-inv) !important;
  font-family: var(--font-body);
  font-size: clamp(13px, 1vw, 15px);
  font-weight: 600;
  padding: clamp(11px, 1.2vh, 14px) clamp(18px, 1.8vw, 26px);
  border-radius: 999px;
  border: 1.5px solid rgba(255, 255, 255, 0.30);
  text-decoration: none;
  backdrop-filter: blur(6px);
  transition: background 0.18s ease, transform 0.18s ease;
  white-space: nowrap;
  letter-spacing: 0.02em;
}
.wbs-hero__btn-ghost:hover {
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-2px);
}

/* ── Frosted-glass stat strip ── */
/* Position: absolute, fixed at bottom of the hero section */
.wbs-hero__stats {
  position: absolute;
  bottom: clamp(36px, 4.5vh, 56px);
  left: 0;
  right: 0;
  z-index: 10;
  padding: 0 clamp(16px, 3.5vw, 56px);
}

.wbs-hero__stats-inner {
  display: flex;
  align-items: center;
  max-width: 960px;
  margin: 0 auto;
  /* Frosted dark glass — matches reference image stat bar exactly */
  background: rgba(15, 12, 8, 0.58);
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  border: 1px solid rgba(212, 170, 84, 0.25);
  border-radius: 14px;
  overflow: hidden;
}

.wbs-hero__stat {
  flex: 1;
  padding: clamp(14px, 1.8vh, 22px) clamp(14px, 2vw, 32px);
}

.wbs-hero__stat-row {
  display: flex;
  align-items: baseline;
  gap: 4px;
  flex-wrap: wrap;
}

/* Gold brackets [ ] */
.wbs-hero__stat-br {
  font-family: var(--font-display);
  font-size: clamp(18px, 2vw, 28px);
  color: rgba(212, 170, 84, 0.42);
  line-height: 1;
}

/* Big gold number */
.wbs-hero__stat-num {
  font-family: var(--font-display);
  font-size: clamp(24px, 2.8vw, 38px);
  color: var(--gold-bright);
  line-height: 1;
}

/* The + after 70 */
.wbs-hero__stat-plus {
  font-family: var(--font-display);
  font-size: clamp(14px, 1.6vw, 22px);
  color: rgba(212, 170, 84, 0.60);
  line-height: 1;
}

/* Inline label: "Career Worlds", "Courses", "Sub-fields" */
.wbs-hero__stat-label-inline {
  font-family: var(--font-body);
  font-size: clamp(11px, 0.85vw, 13.5px);
  color: var(--text-inv-dim);
  margin-left: 4px;
  line-height: 1.3;
  align-self: center;
}

/* "Placement Support / Har Course Par" text */
.wbs-hero__stat-placement {
  font-family: var(--font-display);
  font-size: clamp(13px, 1.4vw, 19px);
  color: var(--text-inv);
  line-height: 1.25;
  margin: 0 4px;
}

/* Vertical divider between stats */
.wbs-hero__stat-div {
  width: 1px;
  align-self: stretch;
  background: rgba(212, 170, 84, 0.18);
  flex-shrink: 0;
  margin: 10px 0;
}

/* ── Mobile responsive ── */
@media (max-width: 768px) {
  /* Mobile is much narrower/taller than the photo's own 16:9-ish shape, so
     "cover" was zooming in until only 1-2 of the 5 figures were visible at
     once. Show the FULL photo instead — full width, un-cropped, as a banner
     at the top of the hero — same composition as desktop, just stacked
     above the text instead of behind it. The bottom ~22% fades into the
     hero's ink color so it blends into the content below rather than
     cutting off with a hard edge. Both layers share one background-size so
     the fade always lines up with the photo's real bottom edge regardless
     of screen width. */
  .wbs-hero__photo {
    background-image:
      linear-gradient(180deg,
        transparent 0%,
        transparent 74%,
        rgba(10, 14, 26, 0.88) 92%,
        #0A0E1A 100%
      ),
      url('/static/hero.png');
    background-size: 100% auto, 100% auto;
    background-position: top center, top center;
    background-repeat: no-repeat, no-repeat;
  }
  .wbs-hero__overlay {
    /* The photo is now a self-contained banner with its own fade baked in
       (above) — the text below sits on solid ink, so this just needs a
       light, even tint rather than the desktop left-to-right legibility
       gradient (which had nothing to do with this stacked layout). */
    background: rgba(5, 6, 10, 0.25);
  }
  /* The desktop padding-bottom here (up to 280px) assumed content sat over
     a full-bleed photo with a stat strip pinned near the viewport edge.
     In the stacked banner layout that's just dead space between the CTAs
     and the stats strip — the strip itself is only ~65-75px tall plus its
     own ~38-46px bottom offset here, so ~130px is enough breathing room. */
  .wbs-hero__content { padding-bottom: 130px; }
  /* Desktop forces the hero to fill the viewport and pins content to its
     bottom edge (right, for text-over-full-bleed-photo). In the stacked
     banner layout that leaves a big dead gap between the photo and the
     text whenever content doesn't happen to fill the screen. Let the
     section size itself to its actual content — photo, then text, right
     after it — instead. */
  .wbs-hero { min-height: 0; justify-content: flex-start; }
}

@media (max-width: 640px) {
  .wbs-hero__stat-label-inline { display: none; }
  .wbs-hero__stat-num { font-size: 22px; }
  .wbs-hero__stat-br { font-size: 16px; }
  .wbs-hero__stat-placement { font-size: 11px; }
  .wbs-hero__stats-inner { border-radius: 10px; }
  .wbs-hero__stat { padding: 12px 10px; }
  /* The last card ("Placement Support / Har Course Par") needs more room
     than a plain number — give it a bigger flex share instead of shrinking
     all four columns equally. */
  .wbs-hero__stat:last-child { flex: 1.6; }
  /* At 4 wrapped lines, the "[ ]" brackets (built for one-line baseline
     framing) end up split apart — "[" pinned to the top, "]" wrapping
     onto its own line far below. Drop them here rather than fight the
     flex-wrap; the other three (single-line) cards keep theirs. */
  .wbs-hero__stat:last-child .wbs-hero__stat-br { display: none; }
  .wbs-hero__stat:last-child .wbs-hero__stat-placement { margin: 0; }
  /* Extra right-side clearance so the fixed WhatsApp FAB (56px, 20px from
     the edge) never sits on top of the last "Placement Support" card. */
  .wbs-hero__stats { padding-right: 92px; }
}

@media (max-width: 400px) {
  .wbs-hero__stats { padding: 0 92px 0 10px; }
  .wbs-hero__stat { padding: 10px 8px; }
  .wbs-hero__stat-plus { display: none; }
}

/* ── Clean up old hero classes (no longer used) ── */
.hero-cinematic,
.hero-cin-bg, .hero-cin-dots, .hero-cin-ground,
.hero-cin-fade, .hero-cin-horizon, .hero-cin-sky,
.hero-cin-content, .hero-cin-text, .hero-cin-eyebrow,
.hero-cin-h1, .hero-cin-h1__gold, .hero-cin-h2, .hero-cin-soul,
.hero-cin-ctas, .hero-cin-btn-wa, .hero-cin-stats,
.hero-cin-stats__inner, .hero-cin-stat, .hero-cin-stat__top,
.hero-cin-stat__bracket, .hero-cin-stat__num, .hero-cin-stat__plus,
.hero-cin-stat__label, .hero-cin-stat__placement, .hero-cin-stat__divider,
.cin-fig, .cin-fig--pilot, .cin-fig--chef, .cin-fig--director,
.cin-fig--laptop, .cin-fig--climber, .cin-fig__body, .cin-fig__head,
.cin-fig__hat, .cin-fig__arm, .cin-fig__plate, .cin-fig__rope,
.cin-fig__helmet, .cin-fig__scarf, .cin-fig__camera, .cin-fig__lens,
.cin-fig__laptop-lid, .cin-fig__laptop-screen, .cin-fig__arm--raise,
.cin-fig__arm--plate, .cin-fig__arm--up, .cin-fig__head--tilt,
.cin-drone, .cin-drone__body, .cin-drone__arm, .cin-drone__arm--h,
.cin-drone__arm--v, .cin-drone__rotor, .cin-drone__rotor--tl,
.cin-drone__rotor--tr, .cin-drone__rotor--bl, .cin-drone__rotor--br,
.hero-silhouettes { display: none !important; }


/* ---------- Loader (never blocks: content is under it; JS removes; CSS failsafe ≤1.6s) ---------- */
#wbs-loader {
  position: fixed; inset: 0; z-index: 100; background: var(--ink);
  display: flex; align-items: center; justify-content: center;
  animation: loaderOut .45s var(--ease) 1.15s forwards;
}
#wbs-loader .loader-mark {
  font-family: var(--font-display); font-size: 44px; letter-spacing: .14em;
  background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: loaderPulse 1.1s ease-in-out infinite;
}
#wbs-loader.is-done { animation: loaderOut .3s var(--ease) forwards; }
@keyframes loaderOut { to { opacity: 0; visibility: hidden; } }
@keyframes loaderPulse { 0%,100% { opacity: .55; } 50% { opacity: 1; } }

/* ---------- Nav ---------- */
#site-nav { background: rgba(10, 14, 26, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line-inv); }
#site-nav.is-scrolled { background: rgba(10, 14, 26, .95); box-shadow: 0 6px 24px rgba(0,0,0,.28); }
.nav-link { color: var(--text-inv-dim); font-size: 14px; font-weight: 600; transition: color .18s var(--ease); }
.nav-link:hover, .nav-link:focus-visible { color: var(--gold-bright); }
.mega-menu { z-index: 50; }
#lang-switcher .lang-btn { color: var(--text-inv-dim); transition: all .18s var(--ease); }
#lang-switcher .lang-btn.is-active { background: var(--gold); color: var(--ink); }
#nav-drawer.is-open { display: block; }

/* ---------- Buttons ---------- */
.btn-gold {
  background: var(--gold-grad); color: var(--ink) !important;
  box-shadow: 0 2px 12px rgba(198, 161, 91, .32);
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), filter .18s var(--ease);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(198, 161, 91, .42); filter: brightness(1.04); }
.btn-gold:active { transform: translateY(0); }
.btn-wa {
  background: var(--whatsapp); color: #fff !important;
  box-shadow: 0 2px 12px rgba(37, 211, 102, .30);
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), filter .18s var(--ease);
  border: none; cursor: pointer;
}
.btn-wa:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(37, 211, 102, .40); filter: brightness(1.05); }

/* ---------- Eyebrow ---------- */
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }

/* ---------- Glass card (hero) ---------- */
.glass-card {
  background: rgba(17, 23, 38, .55); border: 1px solid var(--line-inv);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 24px 60px rgba(0,0,0,.35);
  min-height: 340px;
}
.hero-feat { display: none; }
.hero-feat.is-active { display: block; animation: featIn .5s var(--ease); }
@keyframes featIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.feat-dot { width: 22px; height: 4px; border-radius: 999px; background: var(--line-inv); transition: background .25s var(--ease); cursor: pointer; }
.feat-dot.is-active { background: var(--gold); }

/* ---------- Marquee (40s, pause on hover) ---------- */
.marquee-mask { mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee { animation: marquee 40s linear infinite; }
.marquee-mask:hover .marquee { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Reveal (visible by default = never blocks; .js-anim enables animation) ---------- */
.reveal { opacity: 1; transform: none; }
.js-anim .reveal { opacity: 0; transform: translateY(16px); transition: opacity .24s var(--ease), transform .24s var(--ease); }
.js-anim .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Cards ---------- */
.course-card, .cat-card, .story-card, .net-tile, .mentor-card {
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
}
.course-card:hover, .cat-card:hover, .net-tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 36px rgba(10, 14, 26, .10);
  border-color: var(--cat, var(--gold));
}
.story-card:hover, .mentor-card:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(10, 14, 26, .08); }

/* ---------- demo tag ---------- */
.demo-tag {
  display: inline-block; vertical-align: middle;
  font-size: 9.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: 1px 7px; margin-left: 4px; border-radius: 999px;
  background: var(--paper-2); color: var(--text-dim); border: 1px dashed var(--line);
}
.section-dark .demo-tag { background: transparent; color: var(--text-inv-dim); border-color: var(--line-inv); }

/* ---------- Job tabs & table ---------- */
.job-tab {
  font-size: 14px; font-weight: 700; padding: 10px 22px; border-radius: 999px;
  border: 1px solid var(--line-inv); color: var(--text-inv-dim); cursor: pointer;
  transition: all .2s var(--ease); background: transparent;
}
.job-tab.is-active { background: var(--gold-grad); color: var(--ink); border-color: transparent; }
.jobs-table { border-collapse: collapse; min-width: 560px; }
@media (max-width: 768px) {
  .jobs-table { min-width: 0; }
  .jobs-table thead { display: none; }
  .jobs-table tr { display: block; padding: 14px 0; }
  .jobs-table td { display: block; padding: 3px 20px !important; }
  .jobs-table td::before { content: attr(data-label); display: block; font-size: 10.5px; text-transform: uppercase; letter-spacing: .1em; opacity: .55; font-weight: 700; }
}

/* ---------- Process steps ---------- */
.process-steps { display: grid; gap: 18px; grid-template-columns: repeat(5, 1fr); }
.proc-step { position: relative; display: flex; flex-direction: column; gap: 12px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); padding: 22px 20px 24px; }
.proc-num { font-size: 40px; line-height: 1; position: absolute; top: 14px; right: 16px; -webkit-text-stroke: 1px var(--gold-deep); color: transparent; }
@media (max-width: 1024px) { .process-steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .process-steps { grid-template-columns: 1fr; } }

/* ---------- Career map (horizontal desktop / vertical ≤768px) ---------- */
.career-map { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 14px; position: relative; }
.cm-node { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); padding: 20px 18px 20px 58px; }
.cm-dot {
  position: absolute; left: 16px; top: 20px; width: 30px; height: 30px; border-radius: 999px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(198, 161, 91, .12);
  color: var(--cat, var(--gold-deep)); font-weight: 800; font-size: 13px;
  border: 1.5px solid var(--cat, var(--gold));
}
.cm-node::after {
  content: ''; position: absolute; right: -14px; top: 50%; width: 14px; height: 2px;
  background: var(--cat, var(--gold)); opacity: .45;
}
.cm-node:last-child::after { display: none; }
.cm-dream { border-color: var(--cat, var(--gold)); box-shadow: 0 6px 22px rgba(10, 14, 26, .12); }
@media (max-width: 768px) {
  .career-map { grid-auto-flow: row; grid-auto-columns: unset; }
  .cm-node::after { right: auto; left: 30px; top: auto; bottom: -14px; width: 2px; height: 14px; }
}

/* ---------- FAQ ---------- */
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary { list-style: none; }
.faq-chev { transition: transform .25s var(--ease); color: var(--gold-deep); }
.faq-item[open] .faq-chev { transform: rotate(180deg); }
.faq-dark .faq-chev { color: var(--gold-bright); }

/* ---------- Forms ---------- */
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-label { font-size: 13px; font-weight: 700; color: var(--text); }
.form-input {
  width: 100%; font-family: var(--font-body); font-size: 15px; color: var(--text);
  background: var(--white); border: 1.5px solid var(--line); border-radius: var(--r-sm);
  padding: 11px 14px; transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
  appearance: none; -webkit-appearance: none;
}
select.form-input {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235A6070' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; padding-right: 38px;
}
.form-input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(198, 161, 91, .18); }
.form-input.is-invalid { border-color: var(--danger); }
.form-prefix {
  display: flex; align-items: center; padding: 0 12px; font-size: 14px; font-weight: 700; color: var(--text-dim);
  background: var(--paper-2); border: 1.5px solid var(--line); border-right: none;
  border-radius: var(--r-sm) 0 0 var(--r-sm);
}
.form-input.rounded-l-none { border-top-left-radius: 0; border-bottom-left-radius: 0; }
.form-err { display: none; font-size: 12.5px; font-weight: 600; color: var(--danger); }
.form-err.is-visible { display: block; }
.form-success.is-visible, .form-fallback.is-visible { display: block !important; }

/* ---------- Modal ---------- */
#apply-modal.is-open { display: flex; }
#apply-modal .modal-backdrop { animation: fadeIn .2s var(--ease); }
#apply-modal.is-open > div:last-child { animation: modalIn .28s var(--ease); }
@keyframes fadeIn { from { opacity: 0; } }
@keyframes modalIn { from { opacity: 0; transform: translateY(14px) scale(.98); } }
body.modal-open { overflow: hidden; }

/* ---------- WhatsApp FAB ---------- */
#wa-fab { transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
#wa-fab:hover { transform: scale(1.08); box-shadow: 0 10px 28px rgba(37, 211, 102, .45); }

/* ---------- Course page mobile bottom bar spacing ---------- */
@media (max-width: 1023px) {
  body.has-bottombar footer { padding-bottom: 76px; }
  body.has-bottombar #wa-fab { bottom: 86px; }
}

/* ---------- 360px safety: no horizontal scroll ---------- */
html, body { overflow-x: hidden; max-width: 100%; }
@media (max-width: 400px) {
  .font-display { word-break: break-word; }
  #lang-switcher .lang-btn { padding: 6px 7px; font-size: 11px; }
}

/* ---------- Reduced motion: all animation off ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .marquee { animation: none !important; transform: none !important; }
  .js-anim .reveal { opacity: 1 !important; transform: none !important; }
  #wbs-loader { display: none !important; }
}

/* ---------- Print ---------- */
@media print {
  #wbs-loader, #wa-fab, #apply-modal, #site-nav, #announcement-bar, #crs-bottombar { display: none !important; }
}
