/* =========================================================
   Apex Business & Economics Academy
   PLAYFUL "theme-park" design system
   Palette: teal #49c5b6 · gold #ECD06F · deep blue #2d83bd
   Fonts: Fredoka (display) · Nunito (body)
   ========================================================= */

:root {
  /* Brand colors */
  --teal: #49c5b6;
  --teal-dark: #2fa595;
  --teal-deep: #1f8c7e;
  --teal-soft: #e1f6f2;

  --gold: #ecd06f;
  --gold-dark: #e0b93f;
  --gold-soft: #fdf4d6;

  --blue: #2d83bd;
  --blue-dark: #21689a;
  --blue-soft: #e4f1fa;

  --coral: #ff8a73;          /* playful pop accent */
  --coral-dark: #f56b50;

  /* Neutrals (warm) */
  --ink: #234155;            /* primary text — warm deep blue */
  --ink-soft: #4d6678;
  --muted: #80929e;
  --line: #e7eef2;
  --white: #ffffff;

  /* Surfaces */
  --bg: #ffffff;
  --bg-sky: linear-gradient(180deg, #d9f1fb 0%, #eafaf6 55%, #fdf6e3 100%);
  --bg-cream: #fef9ee;
  --bg-mint: #eafaf6;

  /* Fonts */
  --font-display: 'Fredoka', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Nunito', 'Segoe UI', system-ui, sans-serif;

  /* Shape */
  --r-sm: 14px;
  --r: 22px;
  --r-lg: 34px;
  --r-pill: 999px;

  /* Soft, puffy, colored shadows */
  --sh-sm: 0 6px 16px rgba(35, 65, 85, 0.08);
  --sh: 0 16px 34px rgba(35, 65, 85, 0.12);
  --sh-lg: 0 26px 60px rgba(35, 65, 85, 0.16);
  --sh-teal: 0 18px 40px rgba(73, 197, 182, 0.32);
  --sh-gold: 0 18px 40px rgba(224, 185, 63, 0.32);

  --container: 1180px;
  --ease: cubic-bezier(0.34, 1.56, 0.64, 1); /* bouncy */
}

/* ---------- 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-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  font-size: 17px;
  font-weight: 500;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { color: var(--blue); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--blue-dark); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.12;
  font-weight: 600;
  letter-spacing: -0.01em;
}

ul { list-style: none; }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 92px 0; position: relative; }

.section--mint { background: var(--bg-mint); }
.section--cream { background: var(--bg-cream); }
.section--alt { background: var(--bg-mint); }

.section-head {
  max-width: 720px;
  margin: 0 auto 56px;
  text-align: center;
}

.section-head.left { margin-left: 0; text-align: left; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-display);
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--teal-deep);
  background: var(--teal-soft);
  padding: 8px 18px;
  border-radius: var(--r-pill);
  margin-bottom: 18px;
}

.eyebrow.gold { color: var(--gold-dark); background: var(--gold-soft); }
.eyebrow.blue { color: var(--blue-dark); background: var(--blue-soft); }

.section-head h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 16px;
}

.section-head p {
  color: var(--ink-soft);
  font-size: 1.12rem;
  font-weight: 500;
}

/* squiggle underline accent */
.squiggle {
  display: inline-block;
  position: relative;
}
.squiggle::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -10px;
  height: 12px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 12' preserveAspectRatio='none'%3E%3Cpath d='M2 8 Q 15 2 30 7 T 60 7 T 90 7 T 118 7' fill='none' stroke='%23ecd06f' stroke-width='4' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat;
  background-size: 100% 100%;
}

/* ---------- Buttons (chunky, toy-like, pill) ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.02rem;
  padding: 14px 30px;
  border-radius: var(--r-pill);
  border: none;
  cursor: pointer;
  transition: transform 0.18s var(--ease), box-shadow 0.18s ease, background 0.2s ease;
  white-space: nowrap;
  position: relative;
}

.btn--primary {
  background: var(--teal);
  color: #fff;
  box-shadow: 0 6px 0 var(--teal-deep), 0 14px 26px rgba(73, 197, 182, 0.4);
}
.btn--primary:hover { background: var(--teal-dark); color: #fff; transform: translateY(-2px); box-shadow: 0 8px 0 var(--teal-deep), 0 18px 30px rgba(73, 197, 182, 0.45); }
.btn--primary:active { transform: translateY(4px); box-shadow: 0 2px 0 var(--teal-deep), 0 6px 12px rgba(73, 197, 182, 0.4); }

.btn--blue {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 6px 0 var(--blue-dark), 0 14px 26px rgba(45, 131, 189, 0.4);
}
.btn--blue:hover { background: var(--blue-dark); color: #fff; transform: translateY(-2px); }
.btn--blue:active { transform: translateY(4px); box-shadow: 0 2px 0 var(--blue-dark); }

.btn--gold {
  background: var(--gold);
  color: #5b4a12;
  box-shadow: 0 6px 0 var(--gold-dark), 0 14px 26px rgba(224, 185, 63, 0.4);
}
.btn--gold:hover { background: #f0d989; color: #5b4a12; transform: translateY(-2px); }
.btn--gold:active { transform: translateY(4px); box-shadow: 0 2px 0 var(--gold-dark); }

/* keep older class names working */
.btn--green { background: var(--teal); color: #fff; box-shadow: 0 6px 0 var(--teal-deep), 0 14px 26px rgba(73,197,182,0.4); }
.btn--green:hover { background: var(--teal-dark); color:#fff; transform: translateY(-2px); }
.btn--green:active { transform: translateY(4px); box-shadow: 0 2px 0 var(--teal-deep); }

.btn--ghost {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 6px 0 var(--line), 0 12px 22px rgba(35,65,85,0.08);
}
.btn--ghost:hover { color: var(--teal-deep); transform: translateY(-2px); }
.btn--ghost:active { transform: translateY(4px); box-shadow: 0 2px 0 var(--line); }

.btn--white {
  background: #fff;
  color: var(--teal-deep);
  box-shadow: 0 6px 0 rgba(0,0,0,0.12), 0 14px 26px rgba(0,0,0,0.18);
}
.btn--white:hover { background: #fff; color: var(--teal-dark); transform: translateY(-2px); }
.btn--white:active { transform: translateY(4px); }

.btn--lg { padding: 17px 38px; font-size: 1.12rem; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 2px solid var(--teal-soft);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.28rem;
  color: var(--ink);
}
.brand:hover { color: var(--ink); }

.brand-mark {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--teal), var(--blue));
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 700;
  font-size: 1.4rem;
  flex-shrink: 0;
  box-shadow: 0 6px 14px rgba(73, 197, 182, 0.4);
  transform: rotate(-6deg);
  transition: transform 0.3s var(--ease);
}
.brand:hover .brand-mark { transform: rotate(6deg) scale(1.05); }

.brand-text { line-height: 1.05; }
.brand-text small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal-deep);
}

.nav-links { display: flex; align-items: center; gap: 4px; }

.nav-links a {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1rem;
  color: var(--ink-soft);
  padding: 9px 16px;
  border-radius: var(--r-pill);
  transition: all 0.2s;
}
.nav-links a:hover { color: var(--teal-deep); background: var(--teal-soft); }
.nav-links a.active { color: var(--teal-deep); background: var(--teal-soft); font-weight: 600; }

.nav-cta { margin-left: 10px; }
.nav-cta .btn { color: #fff; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: var(--teal-soft);
  border: none;
  cursor: pointer;
  padding: 11px;
  border-radius: 12px;
}
.nav-toggle span { width: 24px; height: 3px; background: var(--teal-deep); border-radius: 3px; transition: 0.3s; }

/* ---------- Decorative floaty shapes ---------- */
.floaty { position: absolute; z-index: 1; pointer-events: none; will-change: transform; }
.float-a { animation: floatY 6s ease-in-out infinite; }
.float-b { animation: floatY 8s ease-in-out infinite; animation-delay: -2s; }
.float-c { animation: floatY 7s ease-in-out infinite; animation-delay: -4s; }
.spin-slow { animation: spin 18s linear infinite; }
.bob { animation: bob 4s ease-in-out infinite; }

@keyframes floatY {
  0%, 100% { transform: translateY(0) rotate(var(--rot, 0deg)); }
  50% { transform: translateY(-18px) rotate(var(--rot, 0deg)); }
}
@keyframes bob {
  0%, 100% { transform: translateY(0) rotate(-3deg); }
  50% { transform: translateY(-14px) rotate(3deg); }
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes wiggle {
  0%, 100% { transform: rotate(-8deg); }
  50% { transform: rotate(8deg); }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--bg-sky);
  overflow: hidden;
  padding-bottom: 40px;
}

.hero-inner {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 50px;
  align-items: center;
  padding: 70px 0 90px;
}

.hero-content h1 {
  font-size: clamp(2.4rem, 5.4vw, 4rem);
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.05;
}
.hero-content h1 .accent {
  color: var(--teal-deep);
}
.hero-content h1 .accent-gold { color: var(--gold-dark); }

.hero-content .lead {
  font-size: 1.2rem;
  color: var(--ink-soft);
  margin-bottom: 32px;
  max-width: 540px;
  font-weight: 500;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 38px; }

.hero-stats { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-stat {
  background: #fff;
  border-radius: var(--r);
  padding: 14px 20px;
  box-shadow: var(--sh-sm);
  border: 2px solid #fff;
  transition: transform 0.25s var(--ease);
}
.hero-stat:hover { transform: translateY(-4px) rotate(-2deg); }
.hero-stat .num {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--teal-deep);
  line-height: 1;
}
.hero-stat:nth-child(2) .num { color: var(--gold-dark); }
.hero-stat:nth-child(3) .num { color: var(--blue); }
.hero-stat .label { font-size: 0.84rem; color: var(--muted); font-weight: 600; }

/* Hero illustrated scene */
.hero-scene {
  position: relative;
  min-height: 440px;
}
.hero-scene svg.scene-art { width: 100%; height: auto; display: block; filter: drop-shadow(0 20px 40px rgba(35,65,85,0.14)); }

/* floating sticker cards inside scene */
.sticker {
  position: absolute;
  background: #fff;
  border-radius: var(--r);
  padding: 12px 16px;
  box-shadow: var(--sh);
  border: 3px solid #fff;
  display: flex;
  align-items: center;
  gap: 11px;
  z-index: 4;
}
.sticker .pill {
  width: 42px; height: 42px;
  border-radius: 13px;
  display: grid; place-items: center;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  flex-shrink: 0;
}
.sticker .pill.teal { background: var(--teal); }
.sticker .pill.gold { background: var(--gold); color: #5b4a12; }
.sticker .pill.blue { background: var(--blue); }
.sticker strong { font-family: var(--font-display); font-size: 0.95rem; display: block; line-height: 1.1; }
.sticker span { font-size: 0.78rem; color: var(--muted); font-weight: 600; }

.sticker.s1 { top: 6%; left: -4%; transform: rotate(-5deg); }
.sticker.s2 { top: 42%; right: -6%; transform: rotate(4deg); }
.sticker.s3 { bottom: 2%; right: 10%; transform: rotate(3deg); }

/* ---------- Hero scene animations ---------- */
.scene-rocket { transform-box: fill-box; transform-origin: center; animation: sceneRocketBob 4.2s ease-in-out infinite; }
@keyframes sceneRocketBob {
  0%, 100% { transform: translateY(2px) rotate(-1.5deg); }
  50% { transform: translateY(-12px) rotate(1.5deg); }
}
.scene-flame { transform-box: fill-box; transform-origin: top center; animation: sceneFlame 0.32s ease-in-out infinite alternate; }
@keyframes sceneFlame {
  from { transform: scaleY(0.82) scaleX(0.9); opacity: 0.8; }
  to { transform: scaleY(1.12) scaleX(1.06); opacity: 1; }
}
.scene-tassel { transform-box: fill-box; transform-origin: top left; animation: sceneSway 2.8s ease-in-out infinite; }
@keyframes sceneSway { 0%, 100% { transform: rotate(-7deg); } 50% { transform: rotate(7deg); } }

.scene-sun-rays { transform-box: fill-box; transform-origin: center; animation: sceneSpin 36s linear infinite; }
.scene-pie { transform-box: fill-box; transform-origin: center; animation: sceneSpin 26s linear infinite; }
@keyframes sceneSpin { to { transform: rotate(360deg); } }

.scene-bar { transform-box: fill-box; transform-origin: center bottom; animation: sceneBarGrow 1.1s cubic-bezier(0.34, 1.56, 0.64, 1) both; }
.scene-bar-1 { animation-delay: 0.25s; }
.scene-bar-2 { animation-delay: 0.45s; }
.scene-bar-3 { animation-delay: 0.65s; }
@keyframes sceneBarGrow { from { transform: scaleY(0); } to { transform: scaleY(1); } }

.scene-trend { stroke-dasharray: 240; stroke-dashoffset: 240; animation: sceneDraw 1s 0.7s ease-out forwards; }
.scene-trend-head { opacity: 0; animation: sceneFade 0.3s 1.55s ease-out forwards; }
@keyframes sceneDraw { to { stroke-dashoffset: 0; } }
@keyframes sceneFade { to { opacity: 1; } }

.scene-bulb-glow { transform-box: fill-box; transform-origin: center; animation: sceneGlow 2.6s ease-in-out infinite; }
@keyframes sceneGlow {
  0%, 100% { opacity: 0.25; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.18); }
}

.scene-coin { transform-box: fill-box; transform-origin: center; animation: sceneCoinSpin 3.6s ease-in-out infinite; }
@keyframes sceneCoinSpin { 0%, 100% { transform: scaleX(1); } 50% { transform: scaleX(0.12); } }

.scene-spark { transform-box: fill-box; transform-origin: center; animation: sceneTwinkle 2.2s ease-in-out infinite; }
.scene-spark-2 { animation-delay: 0.7s; }
.scene-spark-3 { animation-delay: 1.3s; }
@keyframes sceneTwinkle {
  0%, 100% { opacity: 0.2; transform: scale(0.6) rotate(0deg); }
  50% { opacity: 1; transform: scale(1.1) rotate(45deg); }
}

.scene-floatA { animation: sceneFloatA 5s ease-in-out infinite; }
.scene-floatB { animation: sceneFloatB 6.4s ease-in-out infinite; }
.scene-floatC { animation: sceneFloatC 5.6s ease-in-out infinite; }
@keyframes sceneFloatA { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes sceneFloatB { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-16px); } }
@keyframes sceneFloatC { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

.scene-cloud-1 { animation: sceneCloudA 11s ease-in-out infinite; }
.scene-cloud-2 { animation: sceneCloudB 13s ease-in-out infinite; }
@keyframes sceneCloudA { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(16px); } }
@keyframes sceneCloudB { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(-14px); } }

/* ---------- Wave dividers ---------- */
.wave {
  display: block;
  width: 100%;
  height: 70px;
  line-height: 0;
}
.wave svg { width: 100%; height: 100%; display: block; }
.wave--flip svg { transform: rotate(180deg); }

/* ---------- Trust strip ---------- */
.trust-strip {
  background: linear-gradient(120deg, var(--teal), var(--blue));
  color: #fff;
  padding: 40px 0;
  position: relative;
  overflow: hidden;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
  position: relative;
  z-index: 2;
}
.trust-grid .num {
  font-family: var(--font-display);
  font-size: 2.1rem;
  font-weight: 700;
  color: #fff;
}
.trust-grid .label { font-size: 0.92rem; color: rgba(255,255,255,0.85); font-weight: 600; }

/* ---------- Card grid ---------- */
.grid { display: grid; gap: 30px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

/* Feature cards */
.feature-card {
  background: #fff;
  border-radius: var(--r-lg);
  padding: 34px 30px;
  box-shadow: var(--sh-sm);
  border: 2px solid var(--line);
  transition: transform 0.3s var(--ease), box-shadow 0.3s ease, border-color 0.3s;
}
.feature-card:hover {
  transform: translateY(-8px) rotate(-1deg);
  box-shadow: var(--sh);
  border-color: var(--teal-soft);
}

.feature-icon {
  width: 64px;
  height: 64px;
  border-radius: 20px;
  background: var(--teal-soft);
  color: var(--teal-deep);
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  transform: rotate(-5deg);
  transition: transform 0.3s var(--ease);
}
.feature-card:hover .feature-icon { transform: rotate(6deg) scale(1.06); }
.feature-icon.green { background: var(--teal-soft); color: var(--teal-deep); }
.feature-icon.gold { background: var(--gold-soft); color: var(--gold-dark); }
.feature-icon.blue { background: var(--blue-soft); color: var(--blue-dark); }
.feature-icon svg { width: 30px; height: 30px; }

.feature-card h3 { font-size: 1.3rem; margin-bottom: 10px; }
.feature-card p { color: var(--ink-soft); font-size: 1rem; font-weight: 500; }

/* ---------- Course cards ---------- */
.course-card {
  background: #fff;
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--sh-sm);
  border: 2px solid var(--line);
  transition: transform 0.3s var(--ease), box-shadow 0.3s ease;
}
.course-card:hover { transform: translateY(-10px); box-shadow: var(--sh-lg); }

.course-banner {
  height: 110px;
  display: flex;
  align-items: center;
  padding: 0 28px;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.4rem;
  position: relative;
  overflow: hidden;
}
.course-banner::after {
  content: '';
  position: absolute;
  right: -30px; bottom: -40px;
  width: 130px; height: 130px;
  background: rgba(255,255,255,0.16);
  border-radius: 50%;
}
.course-banner::before {
  content: '';
  position: absolute;
  right: 40px; top: -50px;
  width: 80px; height: 80px;
  background: rgba(255,255,255,0.12);
  border-radius: 50%;
}
.course-banner.b1 { background: linear-gradient(125deg, var(--teal), var(--teal-dark)); }
.course-banner.b2 { background: linear-gradient(125deg, var(--gold), var(--gold-dark)); color: #5b4a12; }
.course-banner.b3 { background: linear-gradient(125deg, var(--blue), var(--blue-dark)); }
.course-banner.b4 { background: linear-gradient(125deg, var(--coral), var(--coral-dark)); }

.course-tag {
  position: absolute;
  top: 16px; right: 18px;
  background: rgba(255, 255, 255, 0.3);
  padding: 5px 14px;
  border-radius: var(--r-pill);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-family: var(--font-body);
  z-index: 2;
}

.course-body { padding: 28px; display: flex; flex-direction: column; flex-grow: 1; }
.course-body p { color: var(--ink-soft); font-size: 1rem; margin-bottom: 18px; font-weight: 500; }

.course-meta { margin-bottom: 22px; }
.course-meta li {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 6px 0;
  font-size: 0.96rem;
  color: var(--ink-soft);
  font-weight: 600;
}
.course-meta li::before {
  content: '';
  width: 22px; height: 22px;
  flex-shrink: 0;
  background: var(--teal-soft);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f8c7e' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 13px;
}

.course-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  border-top: 2px dashed var(--line);
  gap: 12px;
}
.course-price { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; color: var(--ink); }
.course-price small { display: block; font-weight: 600; font-size: 0.74rem; color: var(--muted); font-family: var(--font-body); }

/* Live group-class flair */
.section--live { background: linear-gradient(180deg, #eaf9f5 0%, #fdf6e3 100%); }
.live-card { border-color: var(--teal-soft); }
.live-dot {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #ff4d4f;
  margin-right: 6px;
  vertical-align: middle;
  box-shadow: 0 0 0 0 rgba(255, 77, 79, 0.55);
  animation: livePulse 1.6s infinite;
}
@keyframes livePulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 77, 79, 0.55); }
  70% { box-shadow: 0 0 0 8px rgba(255, 77, 79, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 77, 79, 0); }
}
.course-cohort {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.84rem;
  color: var(--blue-dark);
  background: var(--blue-soft);
  padding: 6px 13px;
  border-radius: var(--r-pill);
  margin-bottom: 14px;
}

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: center; }

.about-photo {
  background: linear-gradient(160deg, var(--teal-soft), var(--gold-soft));
  border-radius: var(--r-lg);
  aspect-ratio: 4 / 5;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  border: 4px solid #fff;
  box-shadow: var(--sh);
}
.about-photo .placeholder { text-align: center; color: var(--ink-soft); padding: 24px; z-index: 2; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 18%; }
.about-photo-badge {
  position: absolute;
  left: 16px; right: 16px; bottom: 16px;
  background: rgba(255, 255, 255, 0.96);
  border-radius: 18px;
  padding: 12px 18px;
  box-shadow: var(--sh);
  z-index: 3;
}
.about-photo-badge strong { font-family: var(--font-display); display: block; font-size: 1.05rem; color: var(--ink); line-height: 1.15; }
.about-photo-badge span { font-size: 0.82rem; color: var(--teal-deep); font-weight: 700; }
.about-photo .avatar {
  width: 140px; height: 140px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), var(--blue));
  display: grid; place-items: center;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2.8rem;
  margin: 0 auto 18px;
  box-shadow: 0 10px 24px rgba(45,131,189,0.4);
  border: 5px solid #fff;
}

.about-content h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); margin-bottom: 18px; }
.about-content p { color: var(--ink-soft); margin-bottom: 16px; font-weight: 500; }

.credential-list { margin: 26px 0; }
.credential-list li {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 13px 0;
  border-bottom: 2px dashed var(--line);
  font-weight: 600;
}
.credential-list .ic {
  width: 38px; height: 38px;
  flex-shrink: 0;
  color: var(--teal-deep);
  background: var(--teal-soft);
  border-radius: 12px;
  padding: 7px;
  transform: rotate(-4deg);
}

/* Values */
.value-card { text-align: center; }
.value-card .feature-icon { margin: 0 auto 18px; }

/* ---------- Resources ---------- */
.resource-card {
  display: flex;
  align-items: center;
  gap: 18px;
  background: #fff;
  border-radius: var(--r);
  padding: 22px 24px;
  box-shadow: var(--sh-sm);
  border: 2px solid var(--line);
  transition: transform 0.25s var(--ease), box-shadow 0.25s;
}
.resource-card:hover { transform: translateY(-5px) rotate(-1deg); box-shadow: var(--sh); border-color: var(--teal-soft); }

.resource-ic {
  width: 54px; height: 54px;
  border-radius: 16px;
  display: grid; place-items: center;
  flex-shrink: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.74rem;
  color: #fff;
  transform: rotate(-5deg);
}
.resource-ic.pdf { background: var(--coral); }
.resource-ic.doc { background: var(--blue); }
.resource-ic.xls { background: var(--teal); }
.resource-ic.zip { background: var(--gold); color: #5b4a12; }

.resource-info { flex-grow: 1; }
.resource-info strong { font-family: var(--font-display); display: block; font-size: 1.05rem; }
.resource-info span { font-size: 0.86rem; color: var(--muted); font-weight: 600; }

.resource-dl {
  flex-shrink: 0;
  width: 46px; height: 46px;
  border-radius: 14px;
  background: var(--teal-soft);
  color: var(--teal-deep);
  display: grid; place-items: center;
  transition: 0.2s;
}
.resource-dl:hover { background: var(--teal); color: #fff; transform: scale(1.1); }
.resource-dl svg { width: 22px; height: 22px; }

/* Resources: "View" button (opens the PDF reader) */
.resource-view {
  flex-shrink: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.92rem;
  color: #fff;
  background: var(--teal);
  border: none;
  padding: 9px 22px;
  border-radius: var(--r-pill);
  cursor: pointer;
  box-shadow: 0 4px 0 var(--teal-deep);
  transition: transform 0.15s var(--ease), background 0.2s;
}
.resource-view:hover { background: var(--teal-dark); transform: translateY(-1px); }
.resource-view:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--teal-deep); }

/* ---------- PDF viewer modal ---------- */
.pdf-modal { position: fixed; inset: 0; z-index: 300; display: none; }
.pdf-modal.open { display: block; }
.pdf-modal-backdrop { position: absolute; inset: 0; background: rgba(28, 58, 77, 0.62); backdrop-filter: blur(3px); }
.pdf-modal-window {
  position: absolute;
  top: 3vh; left: 50%;
  transform: translateX(-50%);
  width: min(980px, 94vw);
  height: 94vh;
  background: #fff;
  border-radius: 22px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--sh-lg);
}
.pdf-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px 12px 20px;
  background: linear-gradient(120deg, var(--teal), var(--blue));
  color: #fff;
  flex-shrink: 0;
}
.pdf-modal-head strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pdf-controls { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.pdf-pageinfo { font-family: var(--font-display); font-weight: 600; font-size: 0.9rem; min-width: 62px; text-align: center; }
.pdf-btn {
  width: 38px; height: 38px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  font-size: 1.2rem;
  line-height: 1;
  display: grid;
  place-items: center;
  transition: background 0.2s, transform 0.15s;
}
.pdf-btn:hover { background: rgba(255, 255, 255, 0.34); }
.pdf-btn:active { transform: scale(0.94); }
.pdf-close { background: rgba(255, 255, 255, 0.26); }
.pdf-viewport {
  position: relative;
  flex: 1;
  overflow: auto;
  background: #e9eff3;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 18px;
  -webkit-user-select: none;
  user-select: none;
}
.pdf-viewport canvas { background: #fff; box-shadow: var(--sh); border-radius: 6px; max-width: 100%; height: auto; }
.pdf-loading {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  color: var(--muted);
  font-family: var(--font-display);
  font-weight: 700;
}
.pdf-watermark {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 7vw, 4.5rem);
  color: rgba(35, 65, 85, 0.06);
  transform: rotate(-22deg);
  pointer-events: none;
  user-select: none;
  letter-spacing: 0.08em;
  white-space: nowrap;
}
@media (max-width: 720px) {
  .pdf-modal-window { top: 0; height: 100%; width: 100%; border-radius: 0; }
  .pdf-modal-head strong { font-size: 0.95rem; }
}

/* Chips */
.chips { display: flex; flex-wrap: wrap; gap: 11px; justify-content: center; margin-bottom: 46px; }
.chip {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.94rem;
  padding: 10px 22px;
  border-radius: var(--r-pill);
  border: 2px solid var(--line);
  background: #fff;
  color: var(--ink-soft);
  cursor: pointer;
  transition: all 0.2s var(--ease);
}
.chip:hover { border-color: var(--teal); color: var(--teal-deep); transform: translateY(-2px); }
.chip.active { background: var(--teal); color: #fff; border-color: var(--teal); box-shadow: 0 6px 16px rgba(73,197,182,0.4); }

/* ---------- Testimonials ---------- */
.testi-card {
  background: #fff;
  border-radius: var(--r-lg);
  padding: 32px 30px;
  position: relative;
  box-shadow: var(--sh-sm);
  border: 2px solid var(--line);
  transition: transform 0.3s var(--ease);
}
.testi-card:hover { transform: translateY(-6px) rotate(1deg); box-shadow: var(--sh); }
.testi-card:nth-child(even):hover { transform: translateY(-6px) rotate(-1deg); }

.testi-card .quote-mark {
  font-family: Georgia, serif;
  font-size: 4rem;
  line-height: 1;
  color: var(--teal-soft);
  position: absolute;
  top: 18px; right: 26px;
}
.testi-stars { color: var(--gold-dark); margin-bottom: 14px; font-size: 1.1rem; letter-spacing: 2px; }
.testi-card p { color: var(--ink); font-size: 1.02rem; margin-bottom: 22px; position: relative; z-index: 1; font-weight: 500; }

.testi-person { display: flex; align-items: center; gap: 14px; }
.testi-avatar {
  width: 52px; height: 52px;
  border-radius: 50%;
  display: grid; place-items: center;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  background: linear-gradient(135deg, var(--teal), var(--blue));
  flex-shrink: 0;
  border: 3px solid #fff;
  box-shadow: var(--sh-sm);
}
.testi-card:nth-child(3n+2) .testi-avatar { background: linear-gradient(135deg, var(--gold), var(--coral)); }
.testi-card:nth-child(3n) .testi-avatar { background: linear-gradient(135deg, var(--blue), var(--teal)); }
.testi-person strong { display: block; font-family: var(--font-display); font-size: 1rem; }
.testi-person span { font-size: 0.86rem; color: var(--muted); font-weight: 600; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: start; }

.contact-info {
  background: linear-gradient(150deg, var(--teal), var(--blue));
  color: #fff;
  border-radius: var(--r-lg);
  padding: 42px 38px;
  box-shadow: var(--sh);
  position: relative;
  overflow: hidden;
}
.contact-info::after {
  content: '';
  position: absolute;
  bottom: -60px; right: -60px;
  width: 180px; height: 180px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
}
.contact-info h3 { color: #fff; font-size: 1.6rem; margin-bottom: 12px; }
.contact-info > p { color: rgba(255,255,255,0.9); margin-bottom: 30px; font-weight: 500; }

.contact-item { display: flex; gap: 16px; margin-bottom: 22px; align-items: flex-start; position: relative; z-index: 2; }
.contact-item .ic {
  width: 48px; height: 48px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.18);
  display: grid; place-items: center;
  flex-shrink: 0;
  color: #fff;
}
.contact-item .ic svg { width: 22px; height: 22px; }
.contact-item strong { display: block; font-family: var(--font-display); font-size: 1rem; }
.contact-item a, .contact-item span { color: rgba(255,255,255,0.88); font-size: 0.96rem; font-weight: 500; }
.contact-item a:hover { color: #fff; text-decoration: underline; }

.contact-socials { display: flex; gap: 12px; margin-top: 30px; position: relative; z-index: 2; }
.contact-socials a {
  width: 46px; height: 46px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.18);
  display: grid; place-items: center;
  color: #fff;
  transition: 0.2s var(--ease);
}
.contact-socials a:hover { background: #fff; color: var(--teal-deep); transform: translateY(-3px) rotate(-6deg); }
.contact-socials svg { width: 22px; height: 22px; }

/* Form */
.contact-form {
  background: #fff;
  border-radius: var(--r-lg);
  padding: 42px 38px;
  box-shadow: var(--sh);
  border: 2px solid var(--line);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-family: var(--font-display); font-weight: 500; font-size: 0.95rem; margin-bottom: 8px; color: var(--ink); }
.form-group .req { color: var(--coral-dark); }

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  padding: 13px 16px;
  border: 2px solid var(--line);
  border-radius: var(--r-sm);
  color: var(--ink);
  background: #fbfdfe;
  transition: 0.2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--teal);
  background: #fff;
  box-shadow: 0 0 0 4px var(--teal-soft);
}
.form-group textarea { resize: vertical; min-height: 130px; }

.form-note { font-size: 0.88rem; color: var(--muted); margin-top: 14px; text-align: center; font-weight: 600; }

.form-success {
  display: none;
  background: var(--teal-soft);
  border: 2px solid var(--teal);
  color: var(--teal-deep);
  padding: 16px 20px;
  border-radius: var(--r-sm);
  margin-bottom: 20px;
  font-weight: 700;
}
.form-success.show { display: block; }

.map-wrap {
  margin-top: 56px;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 4px solid #fff;
  box-shadow: var(--sh);
  height: 360px;
}
.map-wrap iframe { width: 100%; height: 100%; border: 0; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(125deg, var(--teal) 0%, var(--blue) 60%, var(--gold) 130%);
  color: #fff;
  border-radius: var(--r-lg);
  padding: 60px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--sh-lg);
}
.cta-band::before {
  content: '';
  position: absolute;
  top: -50px; left: -30px;
  width: 160px; height: 160px;
  background: rgba(255,255,255,0.12);
  border-radius: 50%;
}
.cta-band::after {
  content: '';
  position: absolute;
  bottom: -70px; right: -20px;
  width: 200px; height: 200px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
}
.cta-band h2 { color: #fff; font-size: clamp(1.8rem, 3.6vw, 2.6rem); margin-bottom: 14px; position: relative; z-index: 2; }
.cta-band p { color: rgba(255, 255, 255, 0.94); max-width: 560px; margin: 0 auto 28px; font-size: 1.12rem; position: relative; z-index: 2; font-weight: 500; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; position: relative; z-index: 2; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  background: var(--bg-sky);
  padding: 72px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero .container { position: relative; z-index: 3; }
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); margin-bottom: 14px; }
.page-hero p { color: var(--ink-soft); max-width: 620px; margin: 0 auto; font-size: 1.15rem; font-weight: 500; }

.breadcrumb { font-size: 0.9rem; color: var(--muted); margin-bottom: 18px; font-weight: 600; }
.breadcrumb a { color: var(--teal-deep); }

/* ---------- Footer ---------- */
.site-footer {
  background: #1c3a4d;
  color: #a9c2d0;
  padding: 70px 0 28px;
  position: relative;
}
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; margin-bottom: 44px; }
.footer-brand .brand { color: #fff; margin-bottom: 16px; }
.footer-brand p { font-size: 0.96rem; max-width: 300px; font-weight: 500; }
.footer-col h4 { color: #fff; font-size: 1.1rem; margin-bottom: 18px; }
.footer-col ul li { margin-bottom: 11px; }
.footer-col a { color: #a9c2d0; font-size: 0.95rem; font-weight: 500; }
.footer-col a:hover { color: var(--gold); }

.footer-contact li { display: flex; gap: 10px; margin-bottom: 12px; font-size: 0.95rem; align-items: flex-start; font-weight: 500; }
.footer-contact svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 3px; color: var(--teal); }

.footer-bottom {
  border-top: 2px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.88rem;
  font-weight: 500;
}
.footer-bottom a { color: #a9c2d0; }
.footer-bottom a:hover { color: var(--gold); }

/* ---------- WhatsApp float ---------- */
.whatsapp-float {
  position: fixed;
  bottom: 26px; right: 26px;
  z-index: 200;
  width: 64px; height: 64px;
  border-radius: 50%;
  background: #25d366;
  display: grid; place-items: center;
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.5);
  transition: 0.25s var(--ease);
  animation: wa-pulse 2.4s infinite;
}
.whatsapp-float:hover { transform: scale(1.12) rotate(-6deg); }
.whatsapp-float svg { width: 34px; height: 34px; fill: #fff; }
.whatsapp-float .wa-label {
  position: absolute;
  right: 76px;
  background: #fff;
  color: var(--ink);
  padding: 9px 16px;
  border-radius: var(--r-pill);
  font-size: 0.9rem;
  font-weight: 700;
  font-family: var(--font-display);
  white-space: nowrap;
  box-shadow: var(--sh);
  opacity: 0;
  pointer-events: none;
  transform: translateX(8px);
  transition: 0.25s var(--ease);
}
.whatsapp-float:hover .wa-label { opacity: 1; transform: translateX(0); }

@keyframes wa-pulse {
  0% { box-shadow: 0 10px 28px rgba(37, 211, 102, 0.5), 0 0 0 0 rgba(37, 211, 102, 0.5); }
  70% { box-shadow: 0 10px 28px rgba(37, 211, 102, 0.5), 0 0 0 18px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 10px 28px rgba(37, 211, 102, 0.5), 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.6s ease, transform 0.6s var(--ease); }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ---------- FAQ ---------- */
.faq-item {
  background: #fff;
  border-radius: var(--r);
  margin-bottom: 14px;
  overflow: hidden;
  box-shadow: var(--sh-sm);
  border: 2px solid var(--line);
  transition: border-color 0.2s;
}
.faq-item.open { border-color: var(--teal-soft); }
.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 22px 26px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--ink);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-q .plus { flex-shrink: 0; width: 26px; height: 26px; position: relative; transition: 0.3s var(--ease); }
.faq-q .plus::before, .faq-q .plus::after { content: ''; position: absolute; background: var(--teal-deep); border-radius: 3px; }
.faq-q .plus::before { top: 12px; left: 2px; width: 22px; height: 3px; }
.faq-q .plus::after { top: 2px; left: 12px; width: 3px; height: 22px; transition: 0.3s; }
.faq-item.open .plus { transform: rotate(180deg); }
.faq-item.open .plus::after { transform: scaleY(0); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-a-inner { padding: 0 26px 24px; color: var(--ink-soft); font-weight: 500; }

/* ---------- Steps (how it works) numbers ---------- */
.feature-icon.step { background: linear-gradient(135deg, var(--teal), var(--blue)); color: #fff; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; padding: 50px 0 70px; }
  .hero-scene { max-width: 520px; margin: 0 auto; min-height: 360px; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-grid { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); gap: 26px; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .section { padding: 64px 0; }

  .nav-links {
    position: fixed;
    top: 80px; left: 0; right: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    padding: 18px 24px 28px;
    gap: 4px;
    border-bottom: 2px solid var(--teal-soft);
    box-shadow: var(--sh);
    transform: translateY(-135%);
    transition: transform 0.35s var(--ease);
    max-height: calc(100vh - 80px);
    overflow-y: auto;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { padding: 14px 16px; font-size: 1.05rem; }
  .nav-cta { margin: 8px 0 0; }
  .nav-cta .btn { width: 100%; }
  .nav-toggle { display: flex; }

  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .cta-band { padding: 44px 26px; }
  .contact-info, .contact-form { padding: 32px 24px; }
  .hero-actions .btn { flex: 1; }
  .sticker.s1 { left: 0; }
  .sticker.s2 { right: 0; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .hero-stats { gap: 10px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .whatsapp-float { width: 58px; height: 58px; bottom: 18px; right: 18px; }
  .sticker { padding: 9px 12px; }
  .sticker .pill { width: 36px; height: 36px; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .float-a, .float-b, .float-c, .spin-slow, .bob, .whatsapp-float { animation: none !important; }
  [class*="scene-"] { animation: none !important; }
  .scene-bar { transform: scaleY(1) !important; }
  .scene-trend { stroke-dashoffset: 0 !important; }
  .scene-trend-head { opacity: 1 !important; }
  * { scroll-behavior: auto; }
}

/* ===================== Dark mode ===================== */
.theme-toggle {
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 2px solid var(--line);
  background: transparent;
  color: var(--ink-soft);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: color .2s, border-color .2s, background .2s, transform .25s var(--ease);
}
.theme-toggle:hover { color: var(--teal-deep); border-color: var(--teal); background: var(--teal-soft); transform: rotate(-18deg); }
.theme-toggle svg { width: 20px; height: 20px; }
.theme-toggle .icon-sun { display: none; }
.nav-theme { display: flex; align-items: center; }

[data-theme="dark"] {
  --ink: #e8eef3;
  --ink-soft: #b4c3ce;
  --muted: #8295a2;
  --line: #2b3c49;
  --bg: #0f1b26;
  --bg-mint: #112029;
  --bg-cream: #13212b;
  --bg-sky: linear-gradient(180deg, rgba(21,39,53,0.55) 0%, #0f1b26 62%, #142029 100%);
  --teal-soft: rgba(73,197,182,.16);
  --gold-soft: rgba(236,208,111,.16);
  --blue-soft: rgba(45,131,189,.20);
  --surface: #17242f;
  --surface-2: #1f2f3b;
  --sh-sm: 0 6px 16px rgba(0,0,0,.30);
  --sh: 0 16px 34px rgba(0,0,0,.40);
  --sh-lg: 0 26px 60px rgba(0,0,0,.55);
}
[data-theme="dark"] body { background: var(--bg); }
[data-theme="dark"] a:not(.btn) { color: #6fb8e6; }
[data-theme="dark"] .site-header { background: rgba(15,27,38,.82); border-bottom-color: rgba(73,197,182,.18); }
[data-theme="dark"] .nav-links { background: var(--surface); border-bottom-color: var(--line); }
[data-theme="dark"] .nav-links a:not(.btn) { color: var(--ink-soft); }
[data-theme="dark"] .nav-links a:not(.btn):hover,
[data-theme="dark"] .nav-links a:not(.btn).active { color: #67ddcd; }
[data-theme="dark"] .nav-toggle { background: var(--teal-soft); }
[data-theme="dark"] .nav-toggle span { background: var(--teal); }
[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
[data-theme="dark"] .theme-toggle .icon-moon { display: none; }
[data-theme="dark"] .theme-toggle:hover { color: var(--gold); border-color: var(--gold); background: var(--gold-soft); }

/* swap header logo to the white version on dark */
[data-theme="dark"] .brand-logo-img:not(.footer-logo-img) { content: url('../images/logo-light.png'); }

/* surfaces */
[data-theme="dark"] .feature-card,
[data-theme="dark"] .course-card,
[data-theme="dark"] .testi-card,
[data-theme="dark"] .contact-form,
[data-theme="dark"] .faq-item,
[data-theme="dark"] .resource-card,
[data-theme="dark"] .hero-stat,
[data-theme="dark"] .chip,
[data-theme="dark"] .pdf-modal-window { background: var(--surface); border-color: var(--line); }
[data-theme="dark"] .sticker { background: var(--surface); border-color: var(--surface); }
[data-theme="dark"] .about-photo-badge { background: rgba(23,36,47,.95); }
[data-theme="dark"] .faq-item.open { border-color: rgba(73,197,182,.4); }
[data-theme="dark"] .course-footer { border-top-color: var(--line); }

/* buttons / chips */
[data-theme="dark"] .btn--ghost { background: var(--surface); color: var(--ink); box-shadow: 0 6px 0 var(--line), 0 12px 22px rgba(0,0,0,.3); }
[data-theme="dark"] .chip { color: var(--ink-soft); }
[data-theme="dark"] .chip:hover { color: var(--teal); }

/* accents that would be too dark on dark */
[data-theme="dark"] .eyebrow { color: #67ddcd; }
[data-theme="dark"] .eyebrow.gold { color: var(--gold); }
[data-theme="dark"] .eyebrow.blue { color: #6fb8e6; }
[data-theme="dark"] .feature-icon { color: #67ddcd; }
[data-theme="dark"] .feature-icon.gold { color: var(--gold); }
[data-theme="dark"] .feature-icon.blue { color: #6fb8e6; }
[data-theme="dark"] .feature-icon.step { color: #fff; }
[data-theme="dark"] .hero-content h1 .accent { color: #5fd3c4; }
[data-theme="dark"] .hero-stat .num { color: #67ddcd; }
[data-theme="dark"] .hero-stat:nth-child(2) .num { color: var(--gold); }
[data-theme="dark"] .hero-stat:nth-child(3) .num { color: #6fb8e6; }
[data-theme="dark"] .course-cohort { color: #6fb8e6; }
[data-theme="dark"] .breadcrumb a { color: #67ddcd; }
[data-theme="dark"] .testi-stars { color: var(--gold); }
[data-theme="dark"] .credential-list .ic { color: #67ddcd; }
[data-theme="dark"] .course-meta li::before { background-color: var(--teal); }
[data-theme="dark"] .form-success { color: #7fe8d8; }

/* forms */
[data-theme="dark"] .form-group input,
[data-theme="dark"] .form-group select,
[data-theme="dark"] .form-group textarea { background: var(--surface-2); border-color: var(--line); color: var(--ink); }
[data-theme="dark"] .form-group input::placeholder,
[data-theme="dark"] .form-group textarea::placeholder { color: var(--muted); }

/* footer / pdf / live section */
[data-theme="dark"] .site-footer { background: #0b141c; }
[data-theme="dark"] .pdf-viewport { background: #0b141c; }
[data-theme="dark"] .section--live { background: linear-gradient(180deg, #14242f 0%, #15222c 100%); }

/* ---------- Brand wordmark (Learn with mba) ---------- */
.brand-logo { display: inline-flex; flex-direction: column; line-height: 0.78; }
.brand-learn {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ink);
  letter-spacing: 0.01em;
  margin-left: 3px;
}
.brand-mba {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 700;
  font-size: 1.95rem;
  color: #3a9cc2;
  letter-spacing: -0.01em;
}
.footer-logo .brand-learn { color: #fff; }
.footer-logo .brand-mba { color: var(--teal); }

/* Real logo image (trimmed). Header uses logo.png; footer uses the white logo-light.png */
.brand-logo-img { height: 46px; width: 124px; flex-shrink: 0; display: block; }
.footer-logo-img { height: 40px; width: 108px; }

/* Books & tools links */
.tool-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--blue-dark);
}
.tool-link:hover { color: var(--teal-deep); }
.tool-tag {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  background: var(--teal);
  padding: 3px 9px;
  border-radius: 999px;
  vertical-align: middle;
  margin-left: 8px;
}

@media (max-width: 480px) {
  .brand-mba { font-size: 1.7rem; }
  .brand-learn { font-size: 0.82rem; }
}
