/* ===========================================================
   MAC Training Solutions — Design System
   =========================================================== */

:root {
  --navy: #0a1550;
  --blue-deep: #14209a;
  --blue-mid: #235bf0;
  --blue-bright: #3aa6ff;
  --ink: #16181d;
  --ink-soft: #4a4e59;
  --white: #ffffff;
  --off-white: #f6f8fc;
  --grey-100: #eef1f7;
  --grey-200: #dfe4ee;
  --hivis: #ff8a00;
  --hivis-dark: #e07400;
  --success: #1fae6b;

  --gradient-brand: linear-gradient(135deg, var(--navy) 0%, var(--blue-deep) 45%, var(--blue-mid) 75%, var(--blue-bright) 100%);
  --gradient-hivis: linear-gradient(135deg, #ffb648 0%, var(--hivis) 100%);

  --font-head: "Sora", "Segoe UI", sans-serif;
  --font-body: "Inter", "Segoe UI", sans-serif;

  --container: 1240px;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow-sm: 0 2px 10px rgba(10, 21, 80, 0.08);
  --shadow-md: 0 12px 32px rgba(10, 21, 80, 0.14);
  --shadow-lg: 0 24px 60px rgba(10, 21, 80, 0.2);
  --header-h: 84px;
}

/* ---------- Reset ---------- */
* , *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body, h1, h2, h3, h4, p, figure, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font: inherit; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; line-height: 1.15; color: var(--ink); }
h1 { font-size: clamp(2.2rem, 4.4vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.55rem); }
p { color: var(--ink-soft); }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
section { position: relative; }
.section-pad { padding: 88px 0; }
@media (max-width: 720px) { .section-pad { padding: 56px 0; } }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-mid);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 3px;
  background: var(--gradient-hivis);
  border-radius: 2px;
}

.section-head { max-width: 700px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { margin-top: 14px; font-size: 1.05rem; }

.bg-navy { background: var(--gradient-brand); color: var(--white); }
.bg-navy .eyebrow { color: #9fc4ff; }
.bg-navy h2, .bg-navy h3 { color: var(--white); }
.bg-navy p { color: rgba(255,255,255,0.82); }
.bg-off { background: var(--off-white); }

/* ---------- Buttons (animated) ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 30px;
  border-radius: 999px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.98rem;
  letter-spacing: 0.01em;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.35s cubic-bezier(.2,.8,.2,1), box-shadow 0.35s ease;
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }

.btn-primary {
  background: var(--gradient-hivis);
  color: var(--navy);
  box-shadow: var(--shadow-sm);
}
.btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(120deg, transparent 20%, rgba(255,255,255,0.65) 50%, transparent 80%);
  transform: translateX(-120%);
  transition: transform 0.7s ease;
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(224, 116, 0, 0.35); }
.btn-primary:hover::before { transform: translateX(120%); }

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.55);
}
.btn-outline:hover { background: rgba(255,255,255,0.12); border-color: #fff; transform: translateY(-3px); }

.btn-dark {
  background: var(--ink);
  color: var(--white);
}
.btn-dark:hover { background: var(--navy); transform: translateY(-3px); box-shadow: var(--shadow-md); }

.btn-ghost-blue {
  background: rgba(35, 91, 240, 0.08);
  color: var(--blue-deep);
}
.btn-ghost-blue:hover { background: rgba(35, 91, 240, 0.16); transform: translateY(-2px); }

.btn .arrow { transition: transform 0.3s ease; }
.btn:hover .arrow { transform: translateX(5px); }

.btn-row { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }

/* pulse ring used on key CTAs (book / call) */
.btn-pulse { position: relative; }
.btn-pulse::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: inherit;
  border: 2px solid var(--hivis);
  opacity: 0.55;
  animation: pulseRing 2.2s ease-out infinite;
  pointer-events: none;
}
@keyframes pulseRing {
  0% { transform: scale(0.92); opacity: 0.55; }
  70% { transform: scale(1.18); opacity: 0; }
  100% { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .btn-pulse::after { animation: none; display: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Header / Nav ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: box-shadow 0.3s ease, height 0.3s ease;
  border-bottom: 1px solid rgba(10,21,80,0.06);
}
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
}
.site-header.scrolled { height: 68px; box-shadow: var(--shadow-sm); }

.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; width: 100%; }
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand img { height: 42px; width: auto; }
.brand-text { font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; color: var(--ink); line-height: 1.1; }
.brand-text span { display: block; font-size: 0.62rem; letter-spacing: 0.12em; color: var(--blue-mid); font-weight: 700; }

.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav > ul { display: flex; align-items: center; gap: 2px; }
.main-nav a.nav-link {
  display: flex; align-items: center; gap: 6px;
  padding: 10px 14px; border-radius: 8px;
  font-weight: 600; font-size: 0.92rem; color: var(--ink);
  transition: background 0.25s ease, color 0.25s ease;
}
.main-nav a.nav-link:hover, .main-nav li.is-open > a.nav-link { background: var(--grey-100); color: var(--blue-deep); }
.nav-item { position: relative; }
.nav-item .chev { width: 9px; height: 9px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform 0.25s ease; opacity: 0.6; }
.nav-item.is-open .chev { transform: rotate(225deg) translateY(1px); }

.dropdown {
  position: absolute; top: calc(100% + 10px); left: 0;
  min-width: 260px;
  background: var(--white); border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  padding: 10px;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  border: 1px solid var(--grey-200);
}
.nav-item.is-open .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a { display: block; padding: 10px 12px; border-radius: 6px; font-size: 0.88rem; font-weight: 600; color: var(--ink-soft); }
.dropdown a:hover { background: var(--off-white); color: var(--blue-deep); }
.dropdown .dd-title { padding: 8px 12px 4px; font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue-mid); font-weight: 700; }

.nav-cta { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.nav-cta .call-link { display: none; font-weight: 700; font-size: 0.9rem; color: var(--ink); }
.nav-cta .call-link strong { color: var(--blue-deep); }
@media (min-width: 1080px) { .nav-cta .call-link { display: flex; flex-direction: column; line-height: 1.2; } }

.burger { display: none; flex-direction: column; gap: 5px; padding: 10px; z-index: 1200; }
.burger span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform 0.3s ease, opacity 0.3s ease; }
.burger.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-active span:nth-child(2) { opacity: 0; }
.burger.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1080px) {
  .main-nav { position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0;
    background: var(--white); flex-direction: column; align-items: stretch;
    padding: 20px; overflow-y: auto;
    transform: translateX(100%); transition: transform 0.35s ease;
  }
  .main-nav.is-open { transform: translateX(0); }
  .main-nav > ul { flex-direction: column; align-items: stretch; gap: 4px; }
  .dropdown { position: static; box-shadow: none; border: none; opacity: 1; visibility: visible; transform: none; display: none; padding-left: 14px; }
  .nav-item.is-open .dropdown { display: block; }
  .nav-cta { display: none; }
  .burger { display: flex; }
  body.menu-open { overflow: hidden; }
}

/* ---------- Hero ---------- */
.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: var(--header-h);
  background: var(--gradient-brand);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 82% 20%, rgba(255,255,255,0.12), transparent 45%),
              radial-gradient(circle at 10% 90%, rgba(58,166,255,0.35), transparent 50%);
  pointer-events: none;
}

.hero--photo::after {
  background: linear-gradient(100deg, rgba(10,21,80,0.92) 0%, rgba(10,21,80,0.82) 32%, rgba(10,21,80,0.5) 58%, rgba(10,21,80,0.25) 100%);
}
.hero-photo {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 30%;
  z-index: 0;
}

.hero-grid { display: grid; grid-template-columns: 1fr; position: relative; z-index: 2; }
.hero-grid > div { max-width: 680px; }

.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.hero-badges span {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  padding: 7px 14px; border-radius: 999px; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.04em;
}
.hero h1 { color: var(--white); }
.hero h1 .accent { color: var(--hivis); }
.hero .lead { font-size: 1.15rem; color: rgba(255,255,255,0.85); margin: 20px 0 32px; max-width: 560px; }

.hero-strip { margin-top: 56px; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; position: relative; z-index: 2; opacity: 0.95; }
.hero-strip .strip-label { font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.6); font-weight: 700; margin-right: 6px; }
.hero-strip .logo-chip { display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,0.95); border-radius: 10px; padding: 8px 16px; height: 44px; }
.hero-strip .logo-chip img { height: 100%; width: auto; max-width: 100px; object-fit: contain; }

.scroll-cue {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: rgba(255,255,255,0.75); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 700;
  z-index: 2;
}
.scroll-cue .dot { width: 26px; height: 42px; border: 2px solid rgba(255,255,255,0.55); border-radius: 20px; position: relative; }
.scroll-cue .dot::before { content: ""; position: absolute; top: 6px; left: 50%; width: 4px; height: 8px; background: var(--hivis); border-radius: 3px; transform: translateX(-50%); animation: scrollDot 1.8s ease infinite; }
@keyframes scrollDot { 0% { opacity: 1; top: 6px; } 70% { opacity: 0; top: 20px; } 100% { opacity: 0; top: 6px; } }

@media (max-width: 640px) {
  .hero-strip { margin-top: 36px; gap: 10px; padding-bottom: 60px; }
  .hero-strip .strip-label { flex-basis: 100%; margin-right: 0; margin-bottom: 2px; }
  .hero-strip .logo-chip { height: 32px; padding: 6px 10px; }
  .hero-strip .logo-chip img { max-width: 56px; }
  .scroll-cue { display: none; }
}

/* ---------- Page hero (interior pages) ---------- */
.page-hero {
  padding: calc(var(--header-h) + 64px) 0 64px;
  background: var(--gradient-brand);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.page-hero::after { content:""; position:absolute; inset:0; background: radial-gradient(circle at 85% 10%, rgba(255,255,255,0.14), transparent 50%); pointer-events: none; }
.page-hero > .container { position: relative; z-index: 2; }
.page-hero .breadcrumb { font-size: 0.82rem; font-weight: 600; color: rgba(255,255,255,0.7); margin-bottom: 14px; }
.page-hero .breadcrumb a:hover { color: #fff; }
.page-hero h1 { color: var(--white); max-width: 780px; }
.page-hero p.lead { color: rgba(255,255,255,0.85); font-size: 1.08rem; max-width: 640px; margin-top: 16px; }

/* ---------- Cards / Grids ---------- */
.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius);
  padding: 30px;
  transition: transform 0.35s cubic-bezier(.2,.8,.2,1), box-shadow 0.35s ease, border-color 0.35s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--hivis); }
.card .icon-wrap {
  width: 54px; height: 54px; border-radius: 14px;
  background: linear-gradient(135deg, rgba(35,91,240,0.12), rgba(58,166,255,0.18));
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px; color: var(--blue-deep);
}
.card h3 { margin-bottom: 10px; }
.card p { font-size: 0.94rem; }

.course-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--grey-200);
  transition: transform 0.35s cubic-bezier(.2,.8,.2,1), box-shadow 0.35s ease, border-color 0.35s ease;
  display: flex; flex-direction: column;
}
.course-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--hivis); }
.course-card .thumb { aspect-ratio: 16/10; overflow: hidden; position: relative; background: var(--gradient-brand); }
.course-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.course-card:hover .thumb img { transform: scale(1.07); }
.course-card .thumb .price-tag {
  position: absolute; top: 14px; right: 14px;
  background: var(--hivis); color: var(--navy);
  font-family: var(--font-head); font-weight: 700; font-size: 0.82rem;
  padding: 6px 12px; border-radius: 999px;
}
.course-card .body { padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.course-card .body p { font-size: 0.9rem; flex: 1; }
.course-card .body .link { font-weight: 700; color: var(--blue-deep); display: inline-flex; align-items: center; gap: 6px; font-size: 0.9rem; }
.course-card .body .link .arrow { transition: transform 0.3s ease; }
.course-card:hover .body .link .arrow { transform: translateX(5px); }

/* ---------- Pricing table ---------- */
.price-table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--grey-200); box-shadow: var(--shadow-sm); }
table.price-table { width: 100%; border-collapse: collapse; min-width: 640px; background: var(--white); }
table.price-table th, table.price-table td { padding: 16px 20px; text-align: left; font-size: 0.94rem; }
table.price-table thead th { background: var(--navy); color: var(--white); font-family: var(--font-head); font-size: 0.82rem; letter-spacing: 0.04em; text-transform: uppercase; }
table.price-table tbody tr { border-bottom: 1px solid var(--grey-200); transition: background 0.2s ease; }
table.price-table tbody tr:last-child { border-bottom: none; }
table.price-table tbody tr:hover { background: var(--off-white); }
table.price-table td.price { font-weight: 700; color: var(--blue-deep); font-family: var(--font-head); white-space: nowrap; }
table.price-table td a.mini-link { font-weight: 700; font-size: 0.85rem; color: var(--blue-mid); }

.price-note { margin-top: 18px; font-size: 0.86rem; color: var(--ink-soft); background: var(--off-white); border-left: 3px solid var(--hivis); padding: 14px 18px; border-radius: 0 8px 8px 0; }

/* ---------- Steps / process ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding: 28px 22px 22px; background: var(--white); border: 1px solid var(--grey-200); border-radius: var(--radius); }
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; top: -18px; left: 22px;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--gradient-hivis); color: var(--navy);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 700; box-shadow: var(--shadow-sm);
}

/* ---------- Split / feature sections ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.split .media { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); position: relative; aspect-ratio: 4/3; }
.split .media img { width: 100%; height: 100%; object-fit: cover; }
.split .media--contain { aspect-ratio: 568/488; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; font-weight: 600; color: var(--ink); }
.check-list li::before {
  content: ""; flex-shrink: 0; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%;
  background: rgba(31,174,107,0.14);
  background-image: linear-gradient(135deg, rgba(31,174,107,0.2), rgba(31,174,107,0.05));
  position: relative;
}
.check-list li::after {
  content: "✓"; position: absolute; margin-left: -17px; margin-top: 2px; color: var(--success); font-size: 0.75rem; font-weight: 900;
}

/* ---------- CTA banner ---------- */
.cta-banner {
  background: var(--gradient-brand);
  border-radius: 24px;
  padding: 56px;
  display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
  color: var(--white);
  position: relative; overflow: hidden;
}
.cta-banner::after { content:""; position:absolute; inset:0; background: radial-gradient(circle at 90% 20%, rgba(255,182,72,0.18), transparent 55%); pointer-events: none; }
.cta-banner > * { position: relative; z-index: 2; }
.cta-banner h2 { color: var(--white); margin-bottom: 8px; }
.cta-banner p { color: rgba(255,255,255,0.82); max-width: 480px; }
@media (max-width: 720px) { .cta-banner { padding: 36px 26px; text-align: center; justify-content: center; } .cta-banner p { max-width: none; } }

.call-banner {
  background: var(--ink); color: var(--white); border-radius: var(--radius);
  padding: 26px 30px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
}
.call-banner strong { font-family: var(--font-head); font-size: 1.15rem; }
.call-banner .phone { color: var(--hivis); font-family: var(--font-head); font-weight: 700; font-size: 1.3rem; }

/* ---------- Testimonial / logos strip ---------- */
.accred-strip { display: flex; align-items: center; justify-content: center; gap: 48px; flex-wrap: wrap; padding: 36px 0; }
.accred-strip img { height: 40px; width: auto; opacity: 0.9; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,0.75); padding: 72px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.1); }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-logo-badge { display: inline-flex; align-items: center; background: var(--white); padding: 8px 16px; border-radius: 10px; }
.footer-logo-badge img { height: 34px; }
.site-footer .brand-text { color: var(--white); }
.site-footer p.tag { margin-top: 14px; font-size: 0.9rem; max-width: 300px; }
.social-links { display: flex; gap: 12px; margin-top: 20px; }
.social-links a {
  width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.08);
  color: var(--white);
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}
.social-links a:hover { background: var(--gradient-hivis); color: var(--navy); transform: translateY(-3px); }
.social-links svg { width: 19px; height: 19px; fill: currentColor; }
.site-footer h4 { color: var(--white); font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 18px; }
.site-footer li { margin-bottom: 10px; font-size: 0.92rem; }
.site-footer a:hover { color: var(--hivis); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding: 24px 0; font-size: 0.82rem; flex-wrap: wrap; gap: 10px; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s cubic-bezier(.2,.7,.2,1), transform 0.7s cubic-bezier(.2,.7,.2,1); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-stagger.is-visible > * { transition-delay: calc(var(--i, 0) * 90ms); }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.stat-row { display: flex; gap: 48px; flex-wrap: wrap; }
.stat-row .stat b { display: block; font-family: var(--font-head); font-size: 2.4rem; color: var(--white); }
.stat-row .stat span { font-size: 0.82rem; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(255,255,255,0.65); font-weight: 700; }

.badge-blue { display: inline-block; background: rgba(35,91,240,0.1); color: var(--blue-deep); font-weight: 700; font-size: 0.76rem; letter-spacing: 0.06em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; margin-bottom: 14px; }

.two-col-text { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
@media (max-width: 800px) { .two-col-text { grid-template-columns: 1fr; } }

.anchor-offset { scroll-margin-top: calc(var(--header-h) + 20px); }

.media.gradient-fill { background: var(--gradient-brand); display: flex; align-items: center; justify-content: center; }
.media.gradient-fill .price-badge-big { background: var(--gradient-hivis); color: var(--navy); font-family: var(--font-head); font-weight: 800; font-size: 1.7rem; padding: 26px 36px; border-radius: 20px; box-shadow: var(--shadow-lg); text-align: center; }
.media.gradient-fill .price-badge-big span { display: block; font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; margin-top: 8px; font-weight: 700; color: var(--navy); opacity: 0.85; }

.course-meta { display: flex; flex-wrap: wrap; gap: 12px; margin: 18px 0 8px; }
.course-meta span { background: var(--off-white); border: 1px solid var(--grey-200); color: var(--ink-soft); font-weight: 700; font-size: 0.8rem; padding: 8px 14px; border-radius: 999px; }
