/* ============================================================
   AGTU — Four Pillars Website  ·  shared design system
   Time-based light/dark themes · italic-accent headings · counters
   ============================================================ */

:root {
  /* Neutral palette — DARK (default / night) */
  --bg:            #060d1f;
  --bg-2:          #0a1530;
  --surface:       #0e1c3d;
  --surface-2:     #15264f;
  --line:          rgba(255, 255, 255, 0.08);
  --line-strong:   rgba(255, 255, 255, 0.16);
  --text:          #f4f6fb;
  --muted:         #9aa6bf;
  --muted-2:       #6c7791;

  /* Accent — unified blue / navy-blue brand */
  --accent:        #3b82f6;
  --accent-bright: #60a5fa;             /* never overridden — used in dark heroes */
  --accent-glow:   rgba(59,130,246,.20);
  --accent-text:   #7db4ff;
  --accent-soft:   rgba(59, 130, 246, 0.15);
  --accent-line:   rgba(59, 130, 246, 0.42);
  --accent-ink:    #04122e;

  --radius:        18px;
  --radius-sm:     12px;
  --maxw:          1180px;
  --ease:          cubic-bezier(.22,.61,.36,1);

  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-display: "Instrument Serif", Georgia, "Times New Roman", serif;
}

/* ---------- Unified blue / navy accent (all pages, dark theme) ---------- */
[data-pillar="free"],
[data-pillar="scholarship"],
[data-pillar="accelerated"],
[data-pillar="transfer"] {
  --accent:#3b82f6; --accent-bright:#60a5fa; --accent-glow:rgba(59,130,246,.20);
  --accent-text:#7db4ff; --accent-soft:rgba(59,130,246,.15); --accent-line:rgba(59,130,246,.42); --accent-ink:#04122e;
}

/* ---------- LIGHT THEME (daytime) ---------- */
[data-theme="light"] {
  --bg:            #f6f8fc;
  --bg-2:          #eceff6;
  --surface:       #ffffff;
  --surface-2:     #f1f4fa;
  --line:          rgba(16, 22, 38, 0.10);
  --line-strong:   rgba(16, 22, 38, 0.20);
  --text:          #131a2b;
  --muted:         #515c72;
  --muted-2:       #818b9e;
}
[data-theme="light"][data-pillar="free"],
[data-theme="light"][data-pillar="scholarship"],
[data-theme="light"][data-pillar="accelerated"],
[data-theme="light"][data-pillar="transfer"] {
  --accent:#2563eb; --accent-bright:#2563eb; --accent-text:#1e417d; --accent-soft:rgba(37,99,235,.12); --accent-line:rgba(37,99,235,.36); --accent-ink:#ffffff;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  background: var(--bg); color: var(--text);
  line-height: 1.6; font-size: 17px;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
  transition: background .4s ease, color .4s ease;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ---------- Layout helpers ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
.section { padding: 110px 0; position: relative; }
.section--tight { padding: 78px 0; }
.panel { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.center { text-align: center; }
.grid { display: grid; gap: 28px; }

/* ---------- Typography ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 12.5px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--accent-text); margin-bottom: 20px;
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: var(--accent-line); }
.eyebrow.center-line { justify-content: center; }

h1, h2, h3 { font-weight: 800; line-height: 1.08; letter-spacing: -.02em; }
.h-display { font-size: clamp(2.6rem, 6vw, 4.6rem); }
h2.title { font-size: clamp(2rem, 4vw, 3.15rem); line-height: 1.1; }
h3 { font-size: 1.3rem; line-height: 1.25; }
.accent-it { font-family: var(--font-display); font-style: italic; font-weight: 600; color: var(--accent-text); letter-spacing: 0; }
.lead { color: var(--muted); font-size: 1.18rem; max-width: 62ch; }
.center .lead { margin-left: auto; margin-right: auto; }
.muted { color: var(--muted); }
.section-head { max-width: 780px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-weight: 600; font-size: .98rem; letter-spacing: .01em;
  padding: 10px 24px; border-radius: 999px; cursor: pointer;
  border: 1px solid transparent; transition: transform .25s var(--ease), background .25s, border-color .25s, color .25s, box-shadow .25s;
  white-space: nowrap;
}
.btn-primary { background: var(--accent); color: var(--accent-ink); box-shadow: 0 10px 30px -12px var(--accent-line); }
.btn-primary:hover { transform: translateY(-2px); filter: brightness(1.05); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent-text); transform: translateY(-2px); }
.btn-lg { padding: 17px 34px; font-size: 1.02rem; }

/* ---------- Header / Nav ---------- */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; transition: background .3s, border-color .3s, backdrop-filter .3s; border-bottom: 1px solid transparent; }
.nav.scrolled { background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: saturate(140%) blur(14px); border-bottom-color: var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }
.brand { display: flex; align-items: center; }
.logo { height: 26px; width: auto; display: block; }
.logo-light { display: none; }
[data-theme="light"] .logo-dark { display: none; }
[data-theme="light"] .logo-light { display: block; }
/* Nav logo stays white while the header sits over the dark hero (light theme, before scroll) */
[data-theme="light"] .nav:not(.scrolled) .logo-dark { display: block; }
[data-theme="light"] .nav:not(.scrolled) .logo-light { display: none; }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a { font-size: .93rem; color: var(--muted); font-weight: 500; transition: color .2s; position: relative; white-space: nowrap; }
.nav-links a:hover { color: var(--text); }
.nav-links a.active { color: var(--text); }
.nav-links a.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -8px; height: 2px; background: var(--accent); border-radius: 2px; }
/* Keep top-menu links white over the dark hero (any theme) and in dark theme */
.nav:not(.scrolled) .nav-links:not(.open) a,
[data-theme="dark"] .nav-links a { color: rgba(255,255,255,.9); }
.nav:not(.scrolled) .nav-links:not(.open) a:hover,
.nav:not(.scrolled) .nav-links:not(.open) a.active,
[data-theme="dark"] .nav-links a:hover,
[data-theme="dark"] .nav-links a.active { color: #fff; }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.theme-toggle { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; flex: none; border-radius: 999px; border: 1px solid var(--line-strong); background: transparent; color: var(--text); cursor: pointer; transition: border-color .25s var(--ease), color .25s, transform .25s; }
.theme-toggle:hover { border-color: var(--accent); color: var(--accent-text); transform: translateY(-2px); }
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle .icon-sun { display: none; }
.theme-toggle .icon-moon { display: block; }
[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
[data-theme="dark"] .theme-toggle .icon-moon { display: none; }
.nav-toggle { display: none; background: none; border: 0; color: var(--text); cursor: pointer; padding: 6px; }
.nav-toggle svg { width: 26px; height: 26px; }

/* ---------- Hero (always dark & dramatic) ---------- */
.hero { position: relative; min-height: 92vh; display: flex; align-items: center; padding: 150px 0 90px; overflow: hidden; background: #070b16; color: #eef1f8; }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg video, .hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,11,22,.60) 0%, rgba(7,11,22,.80) 55%, #070b16 100%), radial-gradient(120% 90% at 80% 8%, var(--accent-glow), transparent 55%); }
.hero-grad-only { background: radial-gradient(90% 120% at 78% -10%, var(--accent-glow), transparent 55%), linear-gradient(180deg, #0b1120, #070b16); }
.hero-inner { position: relative; z-index: 1; max-width: 900px; }
.hero .eyebrow { color: var(--accent-bright); }
.hero .eyebrow::before { background: var(--accent-bright); opacity: .55; }
.hero h1 { margin: 6px 0 10px; color: #fff; }
.hero-tagline { font-family: var(--font-display); font-style: italic; font-size: clamp(1.5rem, 3vw, 2.3rem); color: var(--accent-bright); margin-bottom: 22px; line-height: 1.1; font-weight: 600; }
.hero .lead { font-size: 1.24rem; max-width: 58ch; color: #c7d0e4; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 36px; }
.hero-loc { display: inline-flex; align-items: center; gap: 10px; margin-top: 34px; color: #aab4cc; font-size: .92rem; }
.hero-loc .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent-bright); box-shadow: 0 0 0 4px var(--accent-glow); }
.hero-loc b { color: #fff; font-weight: 600; }

/* ---------- Stat bar ---------- */
.stats { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-2); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 46px 26px; text-align: center; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat .num { font-family: var(--font-display); font-style: italic; font-size: clamp(2.4rem, 4.5vw, 3.4rem); color: var(--accent-text); line-height: 1; }
.stat .label { margin-top: 12px; color: var(--muted); font-size: .9rem; letter-spacing: .02em; }

/* ---------- Accreditation strip ---------- */
.accred { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.accred .item { display: flex; gap: 18px; align-items: flex-start; padding: 28px 30px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.accred .badge { flex: none; width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-text); border: 1px solid var(--accent-line); }
.accred .badge svg { width: 26px; height: 26px; }
.accred h4 { font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--accent-text); margin-bottom: 6px; }
.accred p { color: var(--muted); font-size: .96rem; }
.accred p b { color: var(--text); }

/* ---------- Cards ---------- */
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.cards-2 { grid-template-columns: repeat(2, 1fr); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 30px; transition: transform .3s var(--ease), border-color .3s, background .3s, box-shadow .3s; }
.card:hover { transform: translateY(-5px); border-color: var(--accent-line); }
[data-theme="light"] .card:hover { box-shadow: 0 18px 40px -24px rgba(16,22,38,.35); }
.card .ico { width: 50px; height: 50px; border-radius: 13px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-text); margin-bottom: 22px; }
.card .ico svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: 12px; }
.card p { color: var(--muted); font-size: .98rem; }
.card .knum { font-family: var(--font-display); font-style: italic; font-size: 1.5rem; color: var(--accent-text); margin-bottom: 14px; }

/* ---------- Steps ---------- */
.steps { display: grid; gap: 22px; }
.step { display: grid; grid-template-columns: 64px 1fr; gap: 24px; align-items: start; padding: 30px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.step .n { width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; font-family: var(--font-display); font-style: italic; font-size: 1.7rem; background: var(--accent-soft); color: var(--accent-text); border: 1px solid var(--accent-line); }
.step h3 { margin-bottom: 8px; }
.step p { color: var(--muted); font-size: .98rem; }

/* ---------- Split feature ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split.reverse .split-media { order: 2; }
.split-media { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); position: relative; }
.split-media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; }
.split-list { display: grid; gap: 14px; margin-top: 28px; }
.split-list li { display: flex; gap: 13px; align-items: flex-start; color: var(--muted); }
.split-list .ck { flex: none; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; margin-top: 2px; background: var(--accent-soft); color: var(--accent-text); }
.split-list .ck svg { width: 13px; height: 13px; }
.split-list b { color: var(--text); font-weight: 600; }

/* ---------- Data table ---------- */
.table-wrap { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface); overflow-x: auto; }
table.data { width: 100%; border-collapse: collapse; font-size: .96rem; min-width: 640px; }
table.data th, table.data td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--line); }
table.data thead th { background: var(--bg-2); color: var(--muted); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; }
table.data tbody tr:last-child td { border-bottom: 0; }
table.data tbody tr:hover { background: var(--surface-2); }
table.data .tier { font-weight: 700; }
.pill { display: inline-block; padding: 4px 12px; border-radius: 999px; font-size: .8rem; font-weight: 600; border: 1px solid var(--accent-line); color: var(--accent-text); background: var(--accent-soft); }
.pill.free { background: var(--accent); color: var(--accent-ink); border-color: transparent; }

.chip { display:inline-flex; align-items:center; gap:8px; font-weight:600; }
.chip::before { content:""; width:10px; height:10px; border-radius:50%; }
.chip.platinum::before { background:#cbd2e0; }
.chip.gold::before { background:#e3b84c; }
.chip.silver::before { background:#9aa4b6; }
.chip.bronze::before { background:#c08457; }
.chip.access::before { background:#6c7791; }
.chip.standard::before { background:#404a63; }

/* ---------- Audience cards (credit transfer) ---------- */
.aud-grid { grid-template-columns: repeat(3, 1fr); }
.aud { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 28px; transition: transform .3s var(--ease), border-color .3s; }
.aud:hover { transform: translateY(-5px); border-color: var(--accent-line); }
.aud .ico { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-text); margin-bottom: 20px; }
.aud .ico svg { width: 24px; height: 24px; }
.aud h3 { margin-bottom: 10px; font-size: 1.18rem; }
.aud p { color: var(--muted); font-size: .96rem; }

/* ---------- The Future of Education (articles) ---------- */
.articles { grid-template-columns: repeat(3, 1fr); }
.article {
  display: flex; flex-direction: column; gap: 12px; padding: 30px 28px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  transition: transform .3s var(--ease), border-color .3s; min-height: 220px;
}
.article:hover { transform: translateY(-5px); border-color: var(--accent-line); }
.article .src { font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-text); font-weight: 600; }
.article h3 { font-size: 1.12rem; line-height: 1.3; }
.article p { color: var(--muted); font-size: .92rem; flex: 1; }
.article .read { display: inline-flex; align-items: center; gap: 7px; color: var(--accent-text); font-weight: 600; font-size: .9rem; }
.article .read svg { width: 15px; height: 15px; transition: transform .25s; }
.article:hover .read svg { transform: translateX(4px); }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin: 0 auto; display: grid; gap: 14px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; transition: border-color .25s; }
.faq details[open] { border-color: var(--accent-line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 26px; font-weight: 600; font-size: 1.05rem; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus { flex: none; width: 24px; height: 24px; position: relative; transition: transform .3s var(--ease); color: var(--accent-text); }
.faq summary .plus::before, .faq summary .plus::after { content: ""; position: absolute; background: currentColor; border-radius: 2px; }
.faq summary .plus::before { left: 0; right: 0; top: 11px; height: 2px; }
.faq summary .plus::after { top: 0; bottom: 0; left: 11px; width: 2px; transition: transform .3s var(--ease); }
.faq details[open] summary .plus::after { transform: scaleY(0); }
.faq .faq-body { padding: 0 26px 24px; color: var(--muted); font-size: 1rem; }
.faq .faq-body p + p { margin-top: 12px; }

/* ---------- Programs list ---------- */
.prog-group { margin-bottom: 44px; }
.prog-group h3 { margin-bottom: 20px; color: var(--text); }
.prog-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.prog-list a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); color: var(--text); font-weight: 500; font-size: .97rem; transition: transform .25s var(--ease), border-color .25s, color .25s; }
.prog-list a:hover { transform: translateY(-3px); border-color: var(--accent-line); color: var(--accent-text); }
.prog-list a svg { width: 16px; height: 16px; flex: none; opacity: .6; }

/* ---------- Partner logos ---------- */
.partner-logos { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 18px; margin-top: 48px; }
.partner-logos .chip-logo { background: #ffffff; border-radius: 12px; padding: 16px 22px; display: grid; place-items: center; min-width: 120px; height: 72px; box-shadow: 0 6px 20px -14px rgba(0,0,0,.5); }
.partner-logos img { height: 30px; width: auto; max-width: 130px; object-fit: contain; }

/* ---------- Pillars cross-nav ---------- */
.pillars-grid { grid-template-columns: repeat(2, 1fr); }
.pillar-card { display: block; padding: 34px 32px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); transition: transform .3s var(--ease), border-color .3s, background .3s; position: relative; overflow: hidden; }
.pillar-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--accent); opacity: .6; }
.pillar-card:hover { transform: translateY(-5px); border-color: var(--accent-line); }
.pillar-card .pnum { font-family: var(--font-display); font-style: italic; color: var(--muted-2); font-size: 1.05rem; }
.pillar-card h3 { margin: 6px 0 10px; }
.pillar-card p { color: var(--muted); font-size: .97rem; }
.pillar-card .go { margin-top: 18px; display: inline-flex; align-items: center; gap: 8px; color: var(--accent-text); font-weight: 600; font-size: .92rem; }
.pillar-card .go svg { width: 16px; height: 16px; transition: transform .25s; }
.pillar-card:hover .go svg { transform: translateX(4px); }
.pillar-card[aria-current="page"] { background: var(--surface-2); border-color: var(--accent-line); }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; border-radius: var(--radius); padding: 72px 56px; background: linear-gradient(120deg, var(--surface-2), var(--surface)); border: 1px solid var(--line); text-align: center; }
.cta-band::after { content:""; position:absolute; inset:0; background: radial-gradient(80% 120% at 50% -20%, var(--accent-soft), transparent 60%); pointer-events:none; }
.cta-band > * { position: relative; z-index: 1; }
.cta-band .hero-actions { justify-content: center; }

/* ---------- Merged contact (photo + copy) ---------- */
.contact-merge { display: grid; grid-template-columns: 340px 1fr; gap: 52px; align-items: center; background: linear-gradient(120deg, var(--surface-2), var(--surface)); border: 1px solid var(--line); border-radius: var(--radius); padding: 48px; }
.contact-photo { margin: 0; text-align: center; }
.contact-photo-frame { position: relative; width: 100%; aspect-ratio: 4/5; border-radius: var(--radius); overflow: hidden; background: linear-gradient(160deg, var(--surface-2), var(--bg-2)); border: 1px solid var(--line); box-shadow: 0 24px 48px rgba(0,0,0,.28); display: flex; align-items: center; justify-content: center; }
.contact-photo-ph { width: 46%; height: 46%; color: var(--muted-2); opacity: .6; }
.contact-photo-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.contact-person { margin-top: 16px; }
.contact-name { display: block; font-weight: 800; font-size: 1.15rem; color: var(--text); }
.contact-role { display: block; color: var(--muted); font-size: .9rem; margin-top: 2px; }
.contact-copy .hero-actions { justify-content: flex-start; }
@media (max-width: 860px) {
  .contact-merge { grid-template-columns: 1fr; gap: 28px; padding: 32px 24px; text-align: center; }
  .contact-photo-frame { max-width: 280px; margin: 0 auto; }
  .contact-copy .hero-actions { justify-content: center; }
}

/* ---------- Footer ---------- */
.footer { background: var(--bg-2); border-top: 1px solid var(--line); padding: 70px 0 36px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; }
.footer h5 { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 18px; }
.footer ul li { margin-bottom: 11px; }
.footer ul a, .footer .about p, .footer address { color: var(--muted); font-size: .95rem; font-style: normal; line-height: 1.7; }
.footer ul a { transition: color .2s; }
.footer ul a:hover { color: var(--accent-text); }
.footer .about .logo { margin-bottom: 16px; }
.footer .about .footer-shield { height: 180px; width: auto; display: block; margin-bottom: 16px; }
.footer .about p { max-width: 36ch; }
.footer .lic { color: var(--muted-2); font-size: .82rem; margin-top: 14px; }
.footer-bottom { margin-top: 52px; padding-top: 26px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; color: var(--muted-2); font-size: .86rem; }
.footer-tm { text-align: center; color: var(--muted-2); font-size: .82rem; margin-top: 18px; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1040px) {
  .nav-links { gap: 18px; }
}
@media (max-width: 940px) {
  .split, .pillars-grid, .accred { grid-template-columns: 1fr; }
  .split.reverse .split-media { order: 0; }
  .cards-3, .cards-2, .aud-grid, .articles { grid-template-columns: 1fr; }
  .prog-list { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--line); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links, .nav-cta .btn { display: none; }
  .nav-toggle { display: block; }
  .nav-links.open { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; position: absolute; top: 76px; left: 0; right: 0; background: var(--bg-2); padding: 24px 28px; border-bottom: 1px solid var(--line); }
  .nav-links.open a.active::after { display: none; }
  .section { padding: 80px 0; }
  .cta-band { padding: 52px 26px; }
}
@media (max-width: 560px) {
  .stats-grid, .prog-list { grid-template-columns: 1fr; }
  .stat { border-right: 0; border-bottom: 1px solid var(--line); }
  .step { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .wrap { padding: 0 20px; }
}
