/* ==========================================================================
   Global Rise Education — Core Stylesheet
   Brand: deep royal-indigo + lime accent (from logo)
   Type:  Fraunces (display serif) + Plus Jakarta Sans (UI/body)
   ========================================================================== */

/* ---------- Design tokens ---------- */
:root {
  /* Brand */
  --navy:        #1d1b84;   /* logo background */
  --navy-700:    #16154f;
  --navy-900:    #0d0c33;
  --royal:       #2f2cc4;   /* brighter indigo for gradients */
  --royal-light: #5a57e6;
  --lime:        #c5d62c;   /* logo dot / accent */
  --lime-bright: #d8ea4a;
  --lime-deep:   #a4b414;

  /* Neutrals */
  --ink:      #11122b;
  --body:     #3a3c52;
  --muted:    #6b6e84;
  --line:     #e6e7ef;
  --cloud:    #f5f6fb;
  --cloud-2:  #eef0f8;
  --white:    #ffffff;

  /* Effects */
  --shadow-sm: 0 1px 2px rgba(17,18,43,.06), 0 2px 8px rgba(17,18,43,.05);
  --shadow:    0 10px 30px -12px rgba(17,18,43,.22);
  --shadow-lg: 0 28px 60px -22px rgba(20,18,79,.40);
  --ring:      0 0 0 4px rgba(47,44,196,.14);

  /* System */
  --radius:    18px;
  --radius-sm: 12px;
  --radius-lg: 28px;
  --maxw:      1240px;
  --gutter:    clamp(20px, 5vw, 56px);
  --header-h:  86px;

  --serif: "Fraunces", "Playfair Display", Georgia, serif;
  --sans:  "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

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

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  color: var(--body);
  background: var(--white);
  line-height: 1.65;
  font-size: 1.02rem;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, picture, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; padding: 0; }
input, textarea, select { font: inherit; }
:focus-visible { outline: none; box-shadow: var(--ring); border-radius: 6px; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--serif);
  color: var(--ink);
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.4rem, 5.2vw, 4.1rem); font-weight: 600; }
h2 { font-size: clamp(2rem, 3.6vw, 3rem); }
h3 { font-size: clamp(1.35rem, 2vw, 1.7rem); }
h4 { font-size: 1.18rem; font-family: var(--sans); font-weight: 700; letter-spacing: -0.01em; }
p { color: var(--body); }
.serif { font-family: var(--serif); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .6em;
  font-family: var(--sans);
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--royal);
}
.eyebrow::before {
  content: ""; width: 26px; height: 2px; background: var(--lime-deep); border-radius: 2px;
}
.eyebrow.on-dark { color: var(--lime-bright); }
.eyebrow.on-dark::before { background: var(--lime); }
.eyebrow.center { justify-content: center; }

/* highlight underline accent for headings */
.accent-mark { position: relative; white-space: nowrap; }
.accent-mark::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .06em; height: .34em;
  background: var(--lime); opacity: .45; z-index: -1; border-radius: 3px;
}

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(64px, 8vw, 120px); }
.section.tight { padding-block: clamp(48px, 5vw, 80px); }
.section.cloud { background: var(--cloud); }
.section-head { max-width: 720px; margin-bottom: clamp(36px, 4vw, 60px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p { margin-top: 16px; font-size: 1.1rem; color: var(--muted); }

.grid { display: grid; gap: 28px; }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  font-weight: 700; font-size: .98rem; letter-spacing: -0.01em;
  padding: 15px 28px; border-radius: 100px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), color .25s var(--ease);
  white-space: nowrap; cursor: pointer;
}
.btn svg { width: 1.1em; height: 1.1em; }
.btn-primary { background: var(--navy); color: #fff; box-shadow: 0 12px 24px -10px rgba(29,27,132,.6); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 34px -10px rgba(29,27,132,.7); background: var(--royal); }
.btn-accent { background: var(--lime); color: var(--navy-900); box-shadow: 0 12px 24px -10px rgba(164,180,20,.7); }
.btn-accent:hover { transform: translateY(-2px); background: var(--lime-bright); box-shadow: 0 18px 34px -10px rgba(164,180,20,.8); }
.btn-ghost { background: transparent; color: var(--navy); box-shadow: inset 0 0 0 2px var(--line); }
.btn-ghost:hover { box-shadow: inset 0 0 0 2px var(--navy); transform: translateY(-2px); }
.btn-ghost.on-dark { color: #fff; box-shadow: inset 0 0 0 2px rgba(255,255,255,.32); }
.btn-ghost.on-dark:hover { box-shadow: inset 0 0 0 2px #fff; background: rgba(255,255,255,.08); }
.btn-lg { padding: 18px 34px; font-size: 1.05rem; }
.btn-block { width: 100%; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .4em;
  font-weight: 700; color: var(--royal);
}
.link-arrow svg { transition: transform .25s var(--ease); width: 1em; }
.link-arrow:hover svg { transform: translateX(4px); }

/* ==========================================================================
   HEADER + MEGA MENU
   ========================================================================== */
.topbar {
  background: var(--navy-900); color: rgba(255,255,255,.78);
  font-size: .82rem; font-weight: 500;
}
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 42px; gap: 18px; }
.topbar a { color: rgba(255,255,255,.78); transition: color .2s; display: inline-flex; align-items: center; gap: .45em; }
.topbar a:hover { color: var(--lime-bright); }
.topbar .tb-left { display: flex; gap: 22px; flex-wrap: wrap; }
.topbar .tb-right { display: flex; gap: 16px; align-items: center; }
.topbar svg { width: 15px; height: 15px; opacity: .85; }
.topbar .tb-accred { color: var(--lime-bright); font-weight: 700; letter-spacing: .04em; }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s var(--ease);
}
.site-header.scrolled { box-shadow: var(--shadow); }
.nav { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); gap: 24px; }

.brand { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.brand img { height: 50px; width: auto; border-radius: 8px; }

.nav-links { display: flex; align-items: stretch; gap: 2px; height: var(--header-h); }
.nav-item { display: flex; align-items: center; }
.nav-item > a {
  display: inline-flex; align-items: center; gap: .4em; height: 100%;
  padding: 0 16px; font-weight: 600; font-size: .95rem; color: var(--ink);
  position: relative; transition: color .2s;
}
.nav-item > a .chev { width: 12px; height: 12px; transition: transform .25s var(--ease); opacity: .6; }
.nav-item > a::after {
  content: ""; position: absolute; left: 16px; right: 16px; bottom: 22px; height: 2px;
  background: var(--lime-deep); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease);
}
.nav-item:hover > a { color: var(--royal); }
.nav-item:hover > a::after { transform: scaleX(1); }
.nav-item:hover > a .chev { transform: rotate(180deg); }

.nav-cta { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }

/* Mega panel */
.mega {
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--white);
  border-top: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .28s var(--ease), transform .28s var(--ease), visibility .28s;
  z-index: 90;
}
.nav-item.has-mega { position: static; }
.nav-item.has-mega:hover .mega,
.mega:hover,
.mega.open { opacity: 1; visibility: visible; transform: translateY(0); }
.mega-inner { display: grid; grid-template-columns: 1fr 320px; gap: 0; }
.mega-cols { padding: 38px var(--gutter); display: grid; gap: 30px 40px; }
.mega-cols.c3 { grid-template-columns: repeat(3, 1fr); }
.mega-cols.c4 { grid-template-columns: repeat(4, 1fr); }
.mega-col h5 {
  font-family: var(--sans); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--royal); font-weight: 800; margin-bottom: 10px; padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}
.mega-col a {
  display: block; padding: 5px 0; font-size: .9rem; color: var(--body); font-weight: 500;
  transition: color .18s, padding .18s; position: relative;
}
.mega-col a:hover { color: var(--royal); padding-left: 8px; }
.mega-col a:hover::before { content: ""; position: absolute; left: -4px; top: 50%; width: 4px; height: 4px; border-radius: 50%; background: var(--lime-deep); transform: translateY(-50%); }

.mega-feature {
  background: linear-gradient(160deg, var(--navy) 0%, var(--royal) 100%);
  color: #fff; padding: 38px 34px; display: flex; flex-direction: column; justify-content: space-between;
  position: relative; overflow: hidden;
}
.mega-feature::after {
  content: ""; position: absolute; right: -40px; bottom: -40px; width: 180px; height: 180px;
  background: radial-gradient(circle, rgba(197,214,44,.35), transparent 70%);
}
.mega-feature .eyebrow { color: var(--lime-bright); }
.mega-feature .eyebrow::before { background: var(--lime); }
.mega-feature h4 { color: #fff; font-family: var(--serif); font-size: 1.5rem; margin: 12px 0 8px; }
.mega-feature p { color: rgba(255,255,255,.82); font-size: .92rem; margin-bottom: 20px; }
.mega-feature .btn { align-self: flex-start; }

/* Academics tabbed mega */
.mega-academics .mega-inner { grid-template-columns: 252px 1fr 286px; }
.mega-tabs { border-right: 1px solid var(--line); padding: 20px 0; display: flex; flex-direction: column; }
.mega-tab {
  display: flex; align-items: center; justify-content: space-between; gap: 10px; text-align: left;
  padding: 16px 26px; cursor: pointer; border-left: 3px solid transparent; color: var(--ink);
  transition: background .2s, color .2s, border-color .2s; width: 100%;
}
.mega-tab span b { display: block; font-weight: 700; font-size: 1.02rem; }
.mega-tab span i { font-style: normal; font-size: .78rem; color: var(--muted); }
.mega-tab svg { width: 16px; height: 16px; opacity: .35; transition: .2s; flex-shrink: 0; }
.mega-tab:hover, .mega-tab.active { background: var(--cloud); color: var(--royal); border-left-color: var(--lime-deep); }
.mega-tab.active span i { color: var(--royal); }
.mega-tab.active svg { opacity: 1; transform: translateX(3px); color: var(--royal); }
.mega-panels { padding: 22px var(--gutter); max-height: min(76vh, 600px); overflow-y: auto; }
.mega-panel { display: none; }
.mega-panel.active { display: block; }
.mega-panel-label { display: none; }
.mega-viewall { display: inline-flex; align-items: center; gap: .4em; margin-top: 16px; font-weight: 700; color: var(--royal); font-size: .9rem; }
.mega-viewall svg { width: 1em; transition: transform .2s var(--ease); }
.mega-viewall:hover svg { transform: translateX(4px); }
.mega-grid { display: grid; gap: 14px 28px; align-items: start; }
.mega-grid.c2 { grid-template-columns: repeat(2, 1fr); }
.mega-grid.c3 { grid-template-columns: repeat(3, 1fr); }
.mega-grid.c4 { grid-template-columns: repeat(4, 1fr); }
.spec-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.spec-list span { font-size: .82rem; font-weight: 600; background: rgba(47,44,196,.07); color: var(--navy-700); padding: 6px 14px; border-radius: 100px; border: 1px solid var(--line); }
.partner-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.partner-chips span { font-size: .78rem; font-weight: 700; color: var(--royal); background: rgba(197,214,44,.16); padding: 5px 12px; border-radius: 8px; }

/* Mobile nav */
.hamburger { display: none; width: 46px; height: 46px; border-radius: 12px; align-items: center; justify-content: center; box-shadow: inset 0 0 0 2px var(--line); }
.hamburger span, .hamburger span::before, .hamburger span::after {
  content: ""; display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: .3s var(--ease); position: relative;
}
.hamburger span::before { position: absolute; top: -6px; }
.hamburger span::after { position: absolute; top: 6px; }
body.nav-open .hamburger span { background: transparent; }
body.nav-open .hamburger span::before { top: 0; transform: rotate(45deg); }
body.nav-open .hamburger span::after { top: 0; transform: rotate(-45deg); }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative; overflow: hidden;
  background: radial-gradient(120% 130% at 85% 0%, var(--royal) 0%, var(--navy) 45%, var(--navy-900) 100%);
  color: #fff;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 12% 88%, rgba(197,214,44,.16), transparent 38%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Cpath d='M0 59h60M59 0v60' fill='none' stroke='%23ffffff' stroke-opacity='.05'/%3E%3C/svg%3E");
  pointer-events: none;
}
.hero .wrap { position: relative; }
.hero-grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center;
  padding-block: clamp(56px, 7vw, 104px);
}
.hero-badge {
  display: inline-flex; align-items: center; gap: .6em;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18);
  padding: 8px 16px 8px 10px; border-radius: 100px; font-size: .82rem; font-weight: 600;
  backdrop-filter: blur(6px); margin-bottom: 26px;
}
.hero-badge .tag { background: var(--lime); color: var(--navy-900); font-weight: 800; font-size: .72rem; padding: 3px 10px; border-radius: 100px; letter-spacing: .03em; }
.hero h1 { color: #fff; }
.hero h1 em { font-style: italic; color: var(--lime-bright); }
.hero-lead { margin-top: 22px; font-size: 1.18rem; color: rgba(255,255,255,.84); max-width: 540px; }
.hero-actions { margin-top: 36px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero-trust { margin-top: 40px; display: flex; gap: 32px; flex-wrap: wrap; }
.hero-trust .t { }
.hero-trust .t b { font-family: var(--serif); font-size: 1.9rem; color: #fff; display: block; line-height: 1; }
.hero-trust .t span { font-size: .82rem; color: rgba(255,255,255,.7); letter-spacing: .02em; }

/* Hero choice cards */
.hero-visual { position: relative; display: grid; gap: 18px; }
.path-card {
  position: relative; background: rgba(255,255,255,.97); color: var(--ink);
  border-radius: var(--radius-lg); padding: 28px 28px 26px; box-shadow: var(--shadow-lg);
  overflow: hidden; transition: transform .35s var(--ease);
}
.path-card:hover { transform: translateY(-6px); }
.path-card .pc-flag { position: absolute; top: 22px; right: 24px; font-size: 1.7rem; }
.path-card .pc-kicker { font-size: .74rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--royal); }
.path-card.intl .pc-kicker { color: var(--lime-deep); }
.path-card h3 { font-size: 1.45rem; margin: 6px 0 8px; }
.path-card p { font-size: .92rem; color: var(--muted); margin-bottom: 16px; }
.path-card .pc-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.path-card .pc-tags span { font-size: .78rem; font-weight: 600; background: var(--cloud-2); color: var(--navy-700); padding: 5px 12px; border-radius: 100px; }
.path-card .pc-bar { height: 5px; border-radius: 5px; background: linear-gradient(90deg, var(--royal), var(--royal-light)); margin-bottom: 20px; }
.path-card.intl .pc-bar { background: linear-gradient(90deg, var(--lime-deep), var(--lime)); }

.hero-wave { display:block; width: 100%; height: auto; }

/* ==========================================================================
   CARDS / FEATURES
   ========================================================================== */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
  position: relative; overflow: hidden; height: 100%;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; }
.card .ic {
  width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 18px;
  background: linear-gradient(150deg, var(--navy), var(--royal)); color: var(--lime-bright);
}
.card .ic svg { width: 26px; height: 26px; }
.card h3 { font-size: 1.25rem; margin-bottom: 8px; }
.card h4 { margin-bottom: 8px; }
.card p { font-size: .96rem; color: var(--muted); }

/* Program card */
.prog-card {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; height: 100%;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.prog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.prog-card .pc-top {
  padding: 22px 24px; background: linear-gradient(150deg, var(--navy) 0%, var(--royal) 130%); color: #fff;
  position: relative; overflow: hidden;
}
.prog-card .pc-top::after { content:""; position:absolute; right:-30px; top:-30px; width:110px; height:110px; background: radial-gradient(circle, rgba(197,214,44,.3), transparent 70%); }
.prog-card .pc-level { font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--lime-bright); }
.prog-card .pc-top h3 { color: #fff; font-size: 1.18rem; margin-top: 6px; position: relative; }
.prog-card .pc-body { padding: 20px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.prog-card .pc-meta { display: flex; gap: 16px; flex-wrap: wrap; font-size: .82rem; color: var(--muted); margin-bottom: 14px; }
.prog-card .pc-meta span { display: inline-flex; align-items: center; gap: .4em; }
.prog-card .pc-meta svg { width: 15px; height: 15px; color: var(--royal); }
.prog-card .pc-body p { font-size: .92rem; color: var(--muted); margin-bottom: 18px; }
.prog-card .pc-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; }
.tag-pill { font-size: .72rem; font-weight: 700; padding: 5px 12px; border-radius: 100px; background: rgba(197,214,44,.18); color: var(--lime-deep); }

/* Stat strip */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.stat { text-align: center; }
.stat b { font-family: var(--serif); font-size: clamp(2.2rem, 4vw, 3.2rem); color: var(--navy); display: block; line-height: 1; }
.stat span { font-size: .9rem; color: var(--muted); font-weight: 600; }
.stat .plus { color: var(--lime-deep); }
.band-dark .stat b { color: #fff; }
.band-dark .stat span { color: rgba(255,255,255,.72); }

/* SSU at-a-glance grid */
.glance-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px 24px; }
.glance { text-align: center; }
.glance .g-ic { width: 56px; height: 56px; border-radius: 16px; margin: 0 auto 12px; display: grid; place-items: center; background: rgba(47,44,196,.08); color: var(--royal); }
.glance .g-ic svg { width: 26px; height: 26px; }
.glance b { font-family: var(--serif); font-size: clamp(1.8rem, 3vw, 2.5rem); color: var(--navy); display: block; line-height: 1; }
.glance span { font-size: .88rem; color: var(--muted); font-weight: 600; }
.band-dark .glance .g-ic { background: rgba(255,255,255,.1); color: var(--lime-bright); }
.band-dark .glance b { color: #fff; }
.band-dark .glance span { color: rgba(255,255,255,.72); }
@media (max-width: 860px) { .glance-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .glance-grid { grid-template-columns: repeat(2, 1fr); gap: 26px 16px; } }

/* Recruiter logo wall */
.logo-wall { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 16px; }
.logo-tile {
  background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 20px 14px 16px;
  display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s;
}
.logo-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.logo-tile .lg { height: 42px; display: flex; align-items: center; justify-content: center; }
.logo-tile .lg img { max-height: 42px; max-width: 124px; object-fit: contain; }
.logo-tile .mono {
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(150deg, var(--navy), var(--royal)); color: #fff;
  font-family: var(--serif); font-weight: 700; font-size: 1.1rem; letter-spacing: .02em;
}
.logo-tile b { font-size: .82rem; color: var(--navy-700); font-weight: 700; line-height: 1.2; }
@media (max-width: 560px) { .logo-wall { grid-template-columns: repeat(2, 1fr); gap: 12px; } }

/* Split feature */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 5vw, 72px); align-items: center; }
.split.rev .split-media { order: 2; }
.split-media { position: relative; }
.split-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); width: 100%; object-fit: cover; }
.split-media .badge-float {
  position: absolute; background: #fff; border-radius: 16px; padding: 16px 20px; box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: 12px;
}
.split-media .badge-float.bl { bottom: -22px; left: -22px; }
.split-media .badge-float.tr { top: -22px; right: -22px; }
.split-media .badge-float .bf-ic { width: 42px; height: 42px; border-radius: 11px; background: var(--lime); display: grid; place-items: center; color: var(--navy-900); }
.split-media .badge-float b { font-family: var(--serif); color: var(--ink); font-size: 1.2rem; line-height: 1; }
.split-media .badge-float span { font-size: .76rem; color: var(--muted); }

.check-list li { display: flex; gap: 12px; align-items: flex-start; padding: 9px 0; color: var(--body); font-weight: 500; }
.check-list li svg { flex-shrink: 0; width: 22px; height: 22px; color: var(--lime-deep); margin-top: 2px; }

/* ==========================================================================
   BANDS
   ========================================================================== */
.band-dark { background: linear-gradient(140deg, var(--navy-900), var(--navy) 60%, var(--royal)); color: #fff; position: relative; overflow: hidden; }
.band-dark::before { content:""; position:absolute; right:-5%; top:-30%; width: 420px; height: 420px; background: radial-gradient(circle, rgba(197,214,44,.14), transparent 65%); }
.band-dark h2, .band-dark h3, .band-dark h4 { color: #fff; }
.band-dark p { color: rgba(255,255,255,.8); }
.band-dark .step h4 { color: #fff; }
.band-dark .step p { color: rgba(255,255,255,.78); }
.band-dark .step .num { background: rgba(255,255,255,.1); color: var(--lime-bright); box-shadow: inset 0 0 0 1px rgba(255,255,255,.18); }

.cta-band { text-align: center; position: relative; z-index: 1; }
.cta-band .btn-row { margin-top: 32px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* Testimonials */
.quote-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; height: 100%; position: relative; }
.quote-card .q-mark { font-family: var(--serif); font-size: 4rem; line-height: .5; color: var(--lime); height: 28px; }
.quote-card p { color: var(--ink); font-size: 1.02rem; margin: 8px 0 22px; }
.quote-card .q-who { display: flex; align-items: center; gap: 12px; }
.quote-card .q-who .av { width: 46px; height: 46px; border-radius: 50%; background: linear-gradient(150deg, var(--navy), var(--royal)); color: #fff; display: grid; place-items: center; font-weight: 800; font-family: var(--serif); }
.quote-card .q-who b { color: var(--ink); display: block; font-size: .95rem; }
.quote-card .q-who span { font-size: .82rem; color: var(--muted); }
.stars { color: var(--lime-deep); letter-spacing: 2px; font-size: .9rem; margin-bottom: 6px; }

/* Partner logos / accreditation */
.logo-strip { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; justify-content: center; }
.logo-chip { background: #fff; border: 1px solid var(--line); border-radius: 100px; padding: 10px 22px; font-weight: 700; color: var(--navy-700); font-size: .9rem; }

/* Steps / process */
.steps { counter-reset: step; display: grid; gap: 24px; }
.step { display: flex; gap: 20px; align-items: flex-start; }
.step .num { counter-increment: step; flex-shrink: 0; width: 50px; height: 50px; border-radius: 14px; background: var(--navy); color: var(--lime-bright); font-family: var(--serif); font-size: 1.3rem; display: grid; place-items: center; }
.step .num::before { content: counter(step, decimal-leading-zero); }
.step h4 { margin-bottom: 4px; }
.step p { font-size: .94rem; color: var(--muted); }

/* ==========================================================================
   PAGE HEADER (interior pages)
   ========================================================================== */
.page-hero { background: linear-gradient(135deg, var(--navy-900), var(--navy) 55%, var(--royal)); color: #fff; position: relative; overflow: hidden; }
.page-hero::before { content:""; position:absolute; inset:0; background-image: radial-gradient(circle at 90% 10%, rgba(197,214,44,.16), transparent 40%); }
.page-hero .wrap { position: relative; padding-block: clamp(48px, 6vw, 86px); }
.breadcrumb { display: flex; gap: 8px; align-items: center; font-size: .85rem; color: rgba(255,255,255,.65); margin-bottom: 18px; flex-wrap: wrap; }
.breadcrumb a:hover { color: var(--lime-bright); }
.breadcrumb svg { width: 14px; height: 14px; opacity: .6; }
.page-hero h1 { color: #fff; max-width: 850px; }
.page-hero .ph-lead { margin-top: 16px; font-size: 1.12rem; color: rgba(255,255,255,.82); max-width: 660px; }
.page-hero .ph-meta { margin-top: 26px; display: flex; gap: 28px; flex-wrap: wrap; }
.page-hero .ph-meta .m { display: flex; align-items: center; gap: 10px; }
.page-hero .ph-meta .m svg { width: 20px; height: 20px; color: var(--lime-bright); }
.page-hero .ph-meta .m b { color: #fff; display: block; font-size: .95rem; }
.page-hero .ph-meta .m span { font-size: .78rem; color: rgba(255,255,255,.65); }

/* Page-hero with background photo */
.page-hero.has-photo { background: var(--navy-900); }
.page-hero .ph-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.page-hero.has-photo::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(100deg, var(--navy-900) 8%, rgba(13,12,51,.88) 42%, rgba(29,27,132,.62) 100%);
}
.page-hero.has-photo .wrap { z-index: 2; }

/* Image frame utility */
.media-frame { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.media-tag {
  position: absolute; left: 18px; bottom: 18px; z-index: 2;
  background: rgba(13,12,51,.72); color: #fff; backdrop-filter: blur(6px);
  padding: 8px 16px; border-radius: 100px; font-size: .82rem; font-weight: 700;
  display: inline-flex; align-items: center; gap: .5em;
}
.media-tag svg { width: 16px; height: 16px; color: var(--lime-bright); }

/* ==========================================================================
   COURSE DETAIL
   ========================================================================== */
.course-layout { display: grid; grid-template-columns: 1fr 340px; gap: 48px; align-items: start; }
.course-main > section { margin-bottom: 44px; }
.course-main h2 { font-size: 1.75rem; margin-bottom: 16px; }
.course-main h2 .accent-mark::after { height: .28em; }
.course-main p { margin-bottom: 14px; }
.course-main ul.bullets { margin: 8px 0 8px; }
.course-main ul.bullets li { position: relative; padding: 8px 0 8px 28px; border-bottom: 1px dashed var(--line); }
.course-main ul.bullets li::before { content:""; position: absolute; left: 4px; top: 16px; width: 8px; height: 8px; border-radius: 50%; background: var(--lime-deep); }

.spec-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 14px; }
.spec-grid .sp { background: var(--cloud); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 16px 18px; }
.spec-grid .sp .lbl { font-size: .76rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 700; }
.spec-grid .sp .val { font-weight: 700; color: var(--ink); margin-top: 3px; }

.sem-table { width: 100%; border-collapse: collapse; border-radius: var(--radius-sm); overflow: hidden; box-shadow: var(--shadow-sm); }
.sem-table th { background: var(--navy); color: #fff; text-align: left; padding: 13px 16px; font-size: .85rem; letter-spacing: .03em; }
.sem-table td { padding: 12px 16px; border-bottom: 1px solid var(--line); font-size: .92rem; background: #fff; }
.sem-table tr:nth-child(even) td { background: var(--cloud); }

/* sticky sidebar */
.course-aside { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 20px; }
.apply-box { background: linear-gradient(160deg, var(--navy), var(--royal)); color: #fff; border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-lg); position: relative; overflow: hidden; }
.apply-box::after { content:""; position:absolute; right:-30px; bottom:-30px; width:140px; height:140px; background: radial-gradient(circle, rgba(197,214,44,.3), transparent 70%); }
.apply-box h3 { color: #fff; font-size: 1.3rem; position: relative; }
.apply-box p { color: rgba(255,255,255,.82); font-size: .9rem; margin: 8px 0 18px; position: relative; }
.apply-box .ab-row { display: grid; gap: 10px; position: relative; }
.aside-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.aside-card h4 { margin-bottom: 14px; }
.aside-card .fact { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: .9rem; }
.aside-card .fact:last-child { border-bottom: none; }
.aside-card .fact span { color: var(--muted); }
.aside-card .fact b { color: var(--ink); text-align: right; }

/* FAQ */
.faq { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:last-child { border-bottom: none; }
.faq summary { padding: 20px 24px; font-weight: 700; color: var(--ink); cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; list-style: none; font-size: 1.02rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { width: 24px; height: 24px; flex-shrink: 0; position: relative; }
.faq summary .pm::before, .faq summary .pm::after { content:""; position:absolute; top:50%; left:50%; transform: translate(-50%,-50%); background: var(--royal); transition: .25s; }
.faq summary .pm::before { width: 13px; height: 2.5px; }
.faq summary .pm::after { width: 2.5px; height: 13px; }
.faq details[open] summary .pm::after { transform: translate(-50%,-50%) rotate(90deg); opacity: 0; }
.faq details[open] summary { color: var(--royal); }
.faq .faq-body { padding: 0 24px 22px; color: var(--muted); font-size: .95rem; }

/* ==========================================================================
   FORMS / CONTACT
   ========================================================================== */
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; font-size: .88rem; color: var(--ink); margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; border-radius: var(--radius-sm); border: 1.5px solid var(--line);
  background: #fff; color: var(--ink); transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--royal); box-shadow: var(--ring); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; gap: 16px; align-items: flex-start; transition: .25s var(--ease); }
.contact-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.contact-card .cc-ic { width: 48px; height: 48px; border-radius: 13px; background: linear-gradient(150deg, var(--navy), var(--royal)); color: var(--lime-bright); display: grid; place-items: center; flex-shrink: 0; }
.contact-card .cc-ic svg { width: 22px; height: 22px; }
.contact-card h4 { margin-bottom: 3px; }
.contact-card p, .contact-card a { font-size: .94rem; color: var(--muted); }
.contact-card a:hover { color: var(--royal); }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer { background: var(--navy-900); color: rgba(255,255,255,.72); padding-top: clamp(56px, 7vw, 88px); position: relative; overflow: hidden; }
.site-footer::before { content:""; position:absolute; left:-5%; top:-20%; width: 380px; height: 380px; background: radial-gradient(circle, rgba(47,44,196,.4), transparent 65%); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 40px; position: relative; }
.footer-brand img { height: 52px; border-radius: 8px; margin-bottom: 18px; }
.footer-brand p { font-size: .92rem; color: rgba(255,255,255,.62); max-width: 320px; }
.footer-soc { display: flex; gap: 10px; margin-top: 20px; }
.footer-soc a { width: 40px; height: 40px; border-radius: 10px; background: rgba(255,255,255,.07); display: grid; place-items: center; transition: .25s; }
.footer-soc a:hover { background: var(--lime); color: var(--navy-900); transform: translateY(-3px); }
.footer-soc svg { width: 18px; height: 18px; }
.footer-col h5 { color: #fff; font-family: var(--sans); font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 18px; }
.footer-col a { display: block; padding: 6px 0; font-size: .92rem; color: rgba(255,255,255,.66); transition: .2s; }
.footer-col a:hover { color: var(--lime-bright); padding-left: 5px; }
.footer-col a.btn { display: inline-flex; width: auto; padding: 13px 24px; color: var(--navy-900); box-shadow: 0 8px 20px -10px rgba(164,180,20,.55); }
.footer-col a.btn:hover { color: var(--navy-900); padding: 13px 24px; transform: translateY(-2px); }
.footer-contact li { display: flex; gap: 12px; padding: 8px 0; font-size: .92rem; color: rgba(255,255,255,.7); }
.footer-contact svg { width: 18px; height: 18px; color: var(--lime-bright); flex-shrink: 0; margin-top: 3px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 48px; padding-block: 24px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .85rem; color: rgba(255,255,255,.5); }
.footer-bottom a:hover { color: var(--lime-bright); }

/* ==========================================================================
   FLOATING WHATSAPP
   ========================================================================== */
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 200; display: flex; align-items: center; gap: 10px; background: #25D366; color: #fff; padding: 13px 20px 13px 16px; border-radius: 100px; font-weight: 700; box-shadow: 0 14px 30px -8px rgba(37,211,102,.6); transition: transform .25s var(--ease); }
.wa-float:hover { transform: translateY(-3px) scale(1.03); }
.wa-float svg { width: 24px; height: 24px; }
.wa-float .wa-txt { font-size: .92rem; }

/* ==========================================================================
   ANIMATIONS
   ========================================================================== */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal][data-delay="1"] { transition-delay: .08s; }
[data-reveal][data-delay="2"] { transition-delay: .16s; }
[data-reveal][data-delay="3"] { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) { [data-reveal] { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1080px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .course-layout { grid-template-columns: 1fr; }
  .course-aside { position: static; }
  .hero-grid { gap: 36px; }
}
@media (max-width: 920px) {
  :root { --header-h: 72px; }
  /* backdrop-filter makes the header a containing block for position:fixed
     descendants, which breaks the slide-in drawer — disable it on mobile */
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; }
  .nav-links, .topbar .tb-right { display: none; }
  .topbar .tb-left { gap: 14px; font-size: .78rem; }
  .topbar .tb-left a.tb-email { display: none; }
  .hamburger { display: flex; }
  .hero-grid { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .split.rev .split-media { order: 0; }
  .cols-4 { grid-template-columns: repeat(2,1fr); }
  .stats { grid-template-columns: repeat(2,1fr); gap: 36px 20px; }
  .contact-grid { grid-template-columns: 1fr; }

  /* mobile drawer */
  .nav-links {
    position: fixed; inset: var(--header-h) 0 0 auto; width: min(380px, 86vw);
    background: #fff; flex-direction: column; height: auto; max-height: calc(100vh - var(--header-h));
    overflow-y: auto; padding: 18px; gap: 0; box-shadow: var(--shadow-lg);
    transform: translateX(105%); transition: transform .35s var(--ease); display: flex;
  }
  body.nav-open .nav-links { transform: translateX(0); }
  body.nav-open::after { content:""; position: fixed; inset: var(--header-h) 0 0 0; background: rgba(13,12,51,.4); z-index: 80; }
  .nav-item { display: block; width: 100%; height: auto; border-bottom: 1px solid var(--line); }
  .nav-item > a { height: auto; padding: 15px 8px; justify-content: space-between; width: 100%; }
  .nav-item > a::after { display: none; }
  .mega { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border-top: none; max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
  .nav-item.mobile-open .mega { max-height: 3600px; }
  .mega-grid { grid-template-columns: 1fr !important; gap: 4px 0 !important; }
  /* tabbed academics -> stacked panels with labels on mobile */
  .mega-academics .mega-inner { grid-template-columns: 1fr; }
  .mega-tabs { display: none; }
  .mega-panels { padding: 4px 8px 14px; }
  .mega-panel { display: block !important; }
  .mega-panel-label { display: block; font-weight: 800; color: var(--royal); text-transform: uppercase; font-size: .76rem; letter-spacing: .1em; padding: 16px 0 6px; }
  .mega-viewall { margin-top: 10px; margin-bottom: 8px; }
  .nav-item.has-mega:hover .mega { max-height: 0; }
  .nav-item.has-mega.mobile-open:hover .mega { max-height: 1400px; }
  .mega-inner { grid-template-columns: 1fr; }
  .mega-cols { grid-template-columns: 1fr !important; padding: 8px 8px 18px; gap: 18px; }
  .mega-feature { display: none; }
  .nav-item > a .chev { transition: transform .3s; }
  .nav-item.mobile-open > a .chev { transform: rotate(180deg); }
}
@media (max-width: 620px) {
  .cols-2, .cols-3, .cols-4 { grid-template-columns: 1fr; }
  .spec-grid { grid-template-columns: 1fr !important; }
  .hero-actions .btn, .cta-band .btn, .btn-row .btn, .page-hero .btn { width: 100%; }
  .hero-actions, .btn-row, .page-hero [style*="flex"] { width: 100%; }
  .wa-float .wa-txt { display: none; }
  .wa-float { padding: 14px; right: 16px; bottom: 16px; }
  .footer-grid { grid-template-columns: 1fr; }
  .section-head p { font-size: 1rem; }
  .page-hero .ph-meta { gap: 14px 24px; }
  .media-frame { aspect-ratio: 16 / 11; }
  .split-media .badge-float { position: static; margin-top: 14px; display: inline-flex; }
  .grid { gap: 18px; }
  body { font-size: .98rem; }
  .hero-trust { gap: 22px; }
  .topbar .wrap { min-height: 38px; }
}
