/* ═══════════════════════════════════════════════════════════════════════════
   Code Crush Studio Associates — Main Stylesheet
   Brand: Navy #1A2A5E · Blue #2B5CE0 · White #FFFFFF
   Fonts: Poppins (headings) · Inter (body)
═══════════════════════════════════════════════════════════════════════════ */

/* ─── Variables ──────────────────────────────────────────────────────────── */
:root {
  --navy:      #1A2A5E;
  --blue:      #2B5CE0;
  --blue-dark: #1e46b8;
  --white:     #FFFFFF;
  --light:     #F0F4FB;
  --light-blue:#E8F0FE;
  --body:      #2D2D2D;
  --gray:      #595959;
  --muted:     #94a3b8;
  --green:     #1B6B3A;
  --orange:    #C0510A;
  --warm:      #FEF0E7;
  --wa-green:  #25D366;

  --font-head: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;

  --max-w:     1100px;
  --radius:    12px;
  --radius-sm: 8px;
  --shadow:    0 4px 24px rgba(26,42,94,0.10);
  --shadow-lg: 0 8px 40px rgba(26,42,94,0.16);
}

/* ─── Reset & Base ───────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--body);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
ul { list-style: none; }

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}
.text-center { text-align: center; }
.text-white  { color: var(--white) !important; }

/* ─── Section Wrappers ───────────────────────────────────────────────────── */
.section        { padding: 80px 0; background: var(--white); }
.section-light  { padding: 80px 0; background: var(--light); }
.section-alt    { padding: 80px 0; background: var(--light); }
.section-dark   { padding: 80px 0; background: var(--navy); }
.section-warm   { padding: 80px 0; background: var(--warm); }

/* Offset all anchored sections below the fixed 110px navbar */
section[id] { scroll-margin-top: 120px; }

/* ─── Typography ─────────────────────────────────────────────────────────── */
.section-tag {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--blue);
  background: var(--light-blue);
  border-radius: 999px;
  padding: 4px 14px;
  margin-bottom: 16px;
}
.tag-orange { color: var(--orange); background: var(--warm); }
.tag-white  { color: var(--white); background: rgba(255,255,255,0.15); }

.section-headline {
  font-family: var(--font-head);
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.25;
  margin-bottom: 20px;
}
.section-sub {
  font-size: 17px;
  color: var(--gray);
  max-width: 680px;
  margin-bottom: 40px;
}

/* ─── Buttons ────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  border-radius: 8px;
  padding: 12px 24px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.2s ease;
  text-decoration: none !important;
  white-space: nowrap;
}
.btn-lg  { padding: 15px 30px; font-size: 16px; }
.btn-sm  { padding: 8px 18px; font-size: 13px; }
.btn-full { width: 100%; justify-content: center; }

.btn-primary {
  background: var(--blue);
  color: var(--white);
}
.btn-primary:hover { background: var(--blue-dark); color: var(--white); }

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.6);
}
.btn-outline-white:hover { background: rgba(255,255,255,0.12); color: var(--white); }

.btn-white {
  background: var(--white);
  color: var(--navy);
}
.btn-white:hover { background: var(--light); color: var(--navy); }

.btn-whatsapp {
  background: var(--wa-green);
  color: var(--white);
}
.btn-whatsapp:hover { background: #1da851; color: var(--white); }

/* ─── WhatsApp Float ─────────────────────────────────────────────────────── */
.wa-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 1000;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--wa-green);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.45);
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none !important;
}
.wa-float:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 28px rgba(37,211,102,0.55);
}
.wa-inline { color: var(--blue); font-weight: 600; }
.wa-inline:hover { color: var(--blue-dark); }

/* ─── Exit Popup ─────────────────────────────────────────────────────────── */
.exit-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1100;
}
.exit-popup {
  position: fixed;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1200;
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px 36px;
  max-width: 420px;
  width: calc(100% - 48px);
  text-align: center;
  box-shadow: var(--shadow-lg);
}
.exit-popup h3 { font-family: var(--font-head); font-size: 22px; color: var(--navy); margin-bottom: 12px; }
.exit-popup p  { color: var(--gray); margin-bottom: 20px; line-height: 1.6; }
.exit-close {
  position: absolute; top: 14px; right: 18px;
  background: none; border: none;
  font-size: 24px; color: var(--muted);
  cursor: pointer; line-height: 1;
}
.exit-close:hover { color: var(--body); }
.hidden { display: none !important; }

/* ─── Navbar ─────────────────────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  background: transparent;
  transition: background 0.3s, box-shadow 0.3s;
}
.navbar.scrolled {
  background: var(--white);
  box-shadow: 0 2px 16px rgba(26,42,94,0.10);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 110px;
}
.nav-brand { display: flex; align-items: center; text-decoration: none !important; }
.nav-logo  { height: 92px; width: auto; transition: filter 0.3s; }
/* Make logo white on the dark hero background */
.navbar:not(.scrolled) .nav-logo { filter: brightness(0) invert(1); }
.navbar.scrolled .nav-logo       { filter: none; }
.nav-logo-fallback {
  display: flex;
  align-items: center;
  gap: 2px;
  font-family: var(--font-head);
  font-weight: 800;
}
.logo-cs    { font-size: 22px; color: var(--navy); }
.logo-slash { font-size: 18px; color: var(--blue); }
.navbar.scrolled .logo-cs { color: var(--navy); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}
.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.9);
  transition: color 0.2s;
  text-decoration: none !important;
}
.navbar.scrolled .nav-link { color: var(--body); }
.nav-link:hover { color: var(--white); }
.navbar.scrolled .nav-link:hover { color: var(--blue); }
.nav-link-demo {
  color: rgba(255,255,255,0.9);
  border: 1.5px solid rgba(255,255,255,0.5);
  border-radius: 6px;
  padding: 6px 14px;
}
.navbar.scrolled .nav-link-demo { color: var(--navy); border-color: var(--navy); }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: background 0.2s;
}
.navbar.scrolled .nav-hamburger span { background: var(--navy); }

/* Mobile menu close button — shown inside the full-screen menu overlay */
.nav-close {
  display: none;
  position: absolute;
  top: 24px; right: 28px;
  background: none;
  border: none;
  color: rgba(255,255,255,0.85);
  font-size: 42px;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  min-height: auto;
}
.nav-close:hover { color: var(--white); }

/* ─── Hero ───────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--navy) 0%, #1e3a8a 60%, #1a2a5e 100%);
  padding: 184px 0 80px;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: rgba(43,92,224,0.15);
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; }
.hero-content { max-width: 720px; }
.hero-badge {
  display: inline-block;
  background: rgba(43,92,224,0.35);
  color: rgba(255,255,255,0.9);
  border: 1px solid rgba(43,92,224,0.5);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  padding: 5px 16px;
  margin-bottom: 24px;
}
.hero-headline {
  font-family: var(--font-head);
  font-size: clamp(28px, 5vw, 52px);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 24px;
}
.hero-sub {
  font-size: 17px;
  color: rgba(255,255,255,0.8);
  max-width: 600px;
  margin-bottom: 32px;
  line-height: 1.65;
}
.hero-stats {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}
.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.stat-num {
  font-family: var(--font-head);
  font-size: 32px;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}
.stat-label {
  font-size: 12px;
  color: rgba(255,255,255,0.65);
  font-weight: 500;
}
.hero-stat-divider {
  width: 1px; height: 48px;
  background: rgba(255,255,255,0.2);
  margin: 0 20px;
}
.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.hero-urgency {
  font-size: 14px;
  color: rgba(255,255,255,0.75);
}
.hero-urgency strong { color: var(--white); }
.hero-wave {
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  line-height: 0;
}
.hero-wave svg { width: 100%; height: 60px; }

/* ─── Stats Bar ──────────────────────────────────────────────────────────── */
.stats-bar { background: var(--light-blue); padding: 32px 0; }
.stats-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.stat-item { text-align: center; padding: 0 32px; }
.stat-big {
  display: block;
  font-family: var(--font-head);
  font-size: 28px;
  font-weight: 800;
  color: var(--navy);
}
.stat-lbl {
  font-size: 13px;
  color: var(--gray);
  font-weight: 500;
}
.stat-sep { width: 1px; height: 48px; background: rgba(26,42,94,0.15); }

/* ─── Pain Points ────────────────────────────────────────────────────────── */
.pain-headline { color: var(--orange); font-size: clamp(20px, 3vw, 30px); }
.pain-headline em { font-style: italic; }
.pain-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  margin: 40px 0;
}
.pain-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px 20px;
  box-shadow: var(--shadow);
  border-top: 3px solid var(--orange);
}
.pain-num {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--orange);
  margin-bottom: 12px;
}
.pain-card p { font-size: 14px; line-height: 1.6; color: var(--gray); }
.pain-pivot {
  background: var(--white);
  border-left: 4px solid var(--orange);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 20px 24px;
  margin-top: 16px;
  font-size: 17px;
  line-height: 1.65;
  color: var(--body);
}

/* ─── Pillars ────────────────────────────────────────────────────────────── */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 40px;
}
.pillar-card {
  background: var(--light);
  border-radius: var(--radius);
  padding: 32px 28px;
  border: 1px solid #dde6f5;
}
.pillar-card--accent {
  background: var(--navy);
  border-color: var(--navy);
}
.pillar-card--accent h3,
.pillar-card--accent .pillar-what,
.pillar-card--accent .pillar-why { color: var(--white); }
.pillar-card--accent .pillar-why { color: rgba(255,255,255,0.7); }
.pillar-icon-wrap {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--light-blue);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.pillar-icon-wrap svg { width: 24px; height: 24px; color: var(--blue); }
.pillar-card--accent .pillar-icon-wrap { background: rgba(255,255,255,0.12); }
.pillar-card--accent .pillar-icon-wrap svg { color: rgba(255,255,255,0.95); }
.pillar-card h3 {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}
.pillar-what { font-size: 15px; font-weight: 600; color: var(--body); margin-bottom: 10px; }
.pillar-why  { font-size: 14px; color: var(--gray); line-height: 1.6; }

/* ─── Steps ──────────────────────────────────────────────────────────────── */
.steps-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 40px;
  position: relative;
}
.step {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow);
  position: relative;
}
.step-num {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.step h3 {
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}
.step p { font-size: 14px; color: var(--gray); line-height: 1.65; }

/* ─── Programs ───────────────────────────────────────────────────────────── */
.programs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
  margin-top: 40px;
}
.program-card {
  background: var(--light);
  border-radius: var(--radius);
  padding: 32px 28px;
  border: 2px solid #dde6f5;
  position: relative;
}
.program-card--accent {
  background: var(--navy);
  border-color: var(--blue);
}
.program-badge {
  position: absolute;
  top: -14px; left: 28px;
  background: var(--blue);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
}
.program-track {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 6px;
}
.program-card--accent .program-track { color: rgba(43,92,224,0.7); }
.program-name {
  font-family: var(--font-head);
  font-size: 24px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}
.program-card--accent .program-name { color: var(--white); }
.program-for { font-size: 14px; color: var(--gray); margin-bottom: 24px; }
.program-card--accent .program-for { color: rgba(255,255,255,0.65); }
.program-features { margin-bottom: 28px; }
.program-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  font-size: 14px;
}
.program-card--accent .program-features li { border-color: rgba(255,255,255,0.1); }
.feat-label { font-weight: 600; color: var(--navy); min-width: 80px; }
.feat-val   { color: var(--body); }
.program-card--accent .feat-label { color: rgba(255,255,255,0.7); }
.program-card--accent .feat-val   { color: var(--white); }
.programs-note {
  text-align: center;
  margin-top: 32px;
  font-size: 15px;
  color: var(--gray);
}

/* ─── Curriculum ─────────────────────────────────────────────────────────── */
.curr-month { margin-bottom: 32px; }
.curr-month-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--blue);
  background: var(--light-blue);
  border-radius: 6px;
  padding: 5px 14px;
  margin-bottom: 14px;
}
.curr-track-title {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 20px;
}
.curr-weeks {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(185px, 1fr));
  gap: 14px;
}
.curr-week {
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--blue);
}
.curr-week--capstone { border-left-color: var(--green); }
.week-num {
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 700;
  color: var(--blue);
  min-width: 54px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding-top: 2px;
}
.ir-num { color: var(--green); min-width: 42px; }
.week-theme  { font-weight: 600; font-size: 14px; color: var(--navy); margin-bottom: 4px; }
.week-topics { font-size: 13px; color: var(--gray); line-height: 1.55; }

/* ── IR curriculum block ── */
.curr-track-header {
  display: flex; align-items: baseline; gap: 12px;
  flex-wrap: wrap; margin-bottom: 28px;
}
.curriculum-block--ir .curr-track-title { margin-bottom: 0; }
.curr-track-badge {
  font-size: 12px; font-weight: 700; letter-spacing: 0.4px;
  color: var(--green);
  background: rgba(27,107,58,0.09);
  border-radius: 999px;
  padding: 4px 13px;
  white-space: nowrap;
}
.curr-month-label--ir {
  color: var(--green);
  background: rgba(27,107,58,0.09);
}
.curriculum-block--ir .curr-week {
  border-left-color: var(--green);
}
.curriculum-block--ir .curr-week--capstone {
  border-left-color: var(--navy);
  background: rgba(26,42,94,0.04);
}
/* 2-column grid for IR phases (cleaner than auto-fit for 2 cards) */
.curr-weeks--2col {
  grid-template-columns: repeat(2, 1fr);
}

/* ─── Comparison Table ───────────────────────────────────────────────────── */
.compare-scroll { overflow-x: auto; margin-top: 40px; border-radius: var(--radius); box-shadow: var(--shadow); }
.compare-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  background: var(--white);
}
.compare-table th, .compare-table td {
  padding: 14px 16px;
  text-align: left;
  font-size: 14px;
  border-bottom: 1px solid #eef0f5;
}
.compare-table thead tr { background: var(--navy); }
.compare-table th { color: var(--white); font-family: var(--font-head); font-weight: 600; }
.col-us { background: var(--light-blue); }
.compare-table thead .col-us { background: var(--blue); }
.check { color: var(--green); font-weight: 700; }
.cross  { color: #dc2626; }
.compare-table tbody tr:hover { background: #f8faff; }

/* ─── Mentors ────────────────────────────────────────────────────────────── */
.mentor-trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 40px;
}
.trust-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow);
  border-top: 3px solid var(--blue);
}
.trust-icon-wrap {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--light-blue);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.trust-icon-wrap svg { width: 22px; height: 22px; color: var(--blue); }
.trust-card h3 {
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}
.trust-card p { font-size: 14px; color: var(--gray); line-height: 1.65; }

/* ─── Results ────────────────────────────────────────────────────────────── */
/* Center the entire results section — tag, headline, and body */
#results .container { text-align: center; }
#results .section-headline { max-width: 640px; margin: 0 auto 32px; }

.outcomes-content {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}
.outcomes-content p { color: rgba(255,255,255,0.8); margin-bottom: 16px; font-size: 17px; }
.outcomes-pledge { color: var(--white) !important; font-size: 22px !important; font-weight: 700; }
.outcomes-sub { font-size: 14px !important; color: rgba(255,255,255,0.6) !important; font-style: italic; }

/* ─── Testimonials ───────────────────────────────────────────────────────── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 40px;
}
.testimonial-card {
  background: var(--light);
  border-radius: var(--radius);
  padding: 24px;
  position: relative;
}
.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 8px; left: 18px;
  font-size: 60px;
  color: var(--blue);
  opacity: 0.15;
  font-family: Georgia, serif;
  line-height: 1;
}
.testimonial-quote { font-size: 15px; color: var(--body); line-height: 1.7; margin-bottom: 16px; font-style: italic; }
.testimonial-name { font-weight: 700; font-size: 14px; color: var(--navy); }
.testimonial-meta { font-size: 12px; color: var(--muted); margin-top: 2px; }
.testimonials-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 48px;
  background: var(--light);
  border-radius: var(--radius);
  color: var(--gray);
  font-size: 16px;
}
.t-empty-sub { font-size: 14px; margin-top: 10px; color: var(--muted); }

/* ─── Batch Schedule ─────────────────────────────────────────────────────── */
.schedule-wrap { margin-top: 32px; }
.schedule-loading { text-align: center; color: var(--gray); padding: 40px; }
.batch-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.batch-table th, .batch-table td {
  padding: 14px 18px;
  text-align: left;
  font-size: 14px;
  border-bottom: 1px solid #f0f0f5;
}
.batch-table thead { background: var(--navy); }
.batch-table th { color: var(--white); font-family: var(--font-head); font-weight: 600; }
.batch-seats {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  color: var(--green);
}
.batch-seats.urgent { color: var(--orange); }
.batch-seats.full   { color: #dc2626; }
.batch-enroll .btn { padding: 7px 16px; font-size: 13px; }
.schedule-note { margin-top: 20px; font-size: 14px; color: var(--gray); text-align: center; }
.schedule-fallback {
  text-align: center;
  padding: 48px 24px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.schedule-fallback p { font-size: 17px; color: var(--gray); margin-bottom: 20px; }

/* ─── Enrollment Section ─────────────────────────────────────────────────── */
.enroll-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.enroll-left .section-headline { margin-top: 12px; }
.enroll-left p { font-size: 16px; color: var(--gray); margin-bottom: 16px; line-height: 1.7; }
.enroll-risk { background: #e8f5e9; border-left: 4px solid var(--green); padding: 12px 16px; border-radius: 0 6px 6px 0; font-size: 14px; margin-bottom: 24px !important; }
.enroll-ctas { display: flex; flex-direction: column; gap: 12px; margin-bottom: 16px; }
.enroll-followup { font-size: 13px; color: var(--muted); }

.enroll-success-msg {
  background: var(--white);
  border-radius: var(--radius);
  padding: 48px 32px;
  box-shadow: var(--shadow-lg);
  text-align: center;
}
.enroll-success-icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-size: 26px;
  line-height: 56px;
  margin: 0 auto 20px;
}
.enroll-success-msg h3 { font-size: 22px; color: var(--navy); margin-bottom: 10px; }
.enroll-success-msg p  { font-size: 15px; color: var(--gray); margin-bottom: 24px; }

.enroll-form {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-lg);
}
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.form-group input, .form-group select {
  width: 100%;
  border: 1.5px solid #dde6f5;
  border-radius: 8px;
  padding: 11px 14px;
  font-size: 15px;
  font-family: var(--font-body);
  color: var(--body);
  background: var(--white);
  transition: border-color 0.2s;
  outline: none;
}
.form-group input:focus, .form-group select:focus { border-color: var(--blue); }
.form-group input.input-error, .form-group select.input-error { border-color: #dc2626; background: #fff8f8; }
.form-group input.input-error:focus, .form-group select.input-error:focus { border-color: #dc2626; box-shadow: 0 0 0 3px rgba(220,38,38,0.1); }
.field-error { display: none; font-size: 12px; color: #dc2626; margin-top: 5px; font-weight: 500; }
.form-note { font-size: 12px; color: var(--muted); text-align: center; margin-top: 10px; }

/* ─── Entry Test ─────────────────────────────────────────────────────────── */
.test-scores {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin: 40px 0;
}
.score-card {
  background: var(--light);
  border-radius: var(--radius);
  padding: 28px 24px;
  border-top: 4px solid #94a3b8;
}
.score-card--mid  { border-top-color: var(--blue); }
.score-card--high { border-top-color: var(--green); }
.score-range {
  font-family: var(--font-head);
  font-size: 36px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 10px;
}
.score-meaning { font-size: 14px; color: var(--gray); margin-bottom: 14px; line-height: 1.6; }
.score-action  { font-size: 14px; font-weight: 700; color: var(--blue); }
.test-cta { text-align: center; }
.test-note { margin-top: 12px; font-size: 13px; color: var(--muted); }

/* ─── FAQ ────────────────────────────────────────────────────────────────── */
.faq-container { max-width: 740px; margin: 0 auto; }
.faq-list { margin-top: 36px; }
.faq-item { border-bottom: 1px solid #dde6f5; }
.faq-q {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 18px 0;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-q::after {
  content: '+';
  font-size: 22px;
  font-weight: 300;
  color: var(--blue);
  flex-shrink: 0;
  transition: transform 0.2s;
}
.faq-q[aria-expanded="true"]::after { transform: rotate(45deg); }
.faq-a {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.3s ease, padding 0.3s ease;
}
.faq-a.open { max-height: 300px; padding-bottom: 16px; }
.faq-a p { font-size: 15px; color: var(--gray); line-height: 1.7; }

/* ─── Final CTA ──────────────────────────────────────────────────────────── */
.final-cta .section-headline { margin-bottom: 16px; }
.final-sub { font-size: 17px; color: rgba(255,255,255,0.7); margin-bottom: 36px; line-height: 1.6; }
.final-ctas { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ─── Footer ─────────────────────────────────────────────────────────────── */
.footer { background: #0f1c42; padding: 60px 0 0; }
.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.5fr;
  gap: 40px;
  padding-bottom: 48px;
}
.footer-logo { height: 56px; width: auto; margin-bottom: 12px; filter: brightness(0) invert(1); }
.footer-tagline { font-size: 14px; color: rgba(255,255,255,0.55); margin-bottom: 20px; }
.footer-social { display: flex; gap: 12px; flex-wrap: wrap; }
.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.8);
  transition: background 0.2s;
  text-decoration: none !important;
}
.social-link:hover { background: var(--blue); color: var(--white); }
.social-link svg { width: 18px; height: 18px; }

.footer-col h4 {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}
.footer-links li { margin-bottom: 10px; }
.footer-links a {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  text-decoration: none !important;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--white); }
.footer-contact { display: flex; flex-direction: column; gap: 12px; }
.footer-contact li { font-size: 14px; color: rgba(255,255,255,0.6); display: flex; gap: 10px; align-items: flex-start; line-height: 1.5; }
.footer-contact a { color: rgba(255,255,255,0.6); }
.footer-contact a:hover { color: var(--white); }
.contact-icon { width: 15px; height: 15px; flex-shrink: 0; margin-top: 2px; color: rgba(255,255,255,0.4); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0;
}
.footer-bottom p { font-size: 13px; color: rgba(255,255,255,0.4); text-align: center; }

/* ─── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .enroll-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  .section, .section-light, .section-alt, .section-dark, .section-warm { padding: 56px 0; }
  .hero { padding: 156px 0 56px; }

  /* Mobile nav */
  .nav-inner { height: 88px; }
  .nav-logo  { height: 72px; }
  .nav-hamburger { display: flex; }
  .nav-close { display: block; }
  .nav-links {
    display: none;
    position: fixed;
    inset: 0;
    background: var(--navy);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 32px;
    z-index: 800;
  }
  .nav-links.open { display: flex; }
  .nav-link {
    color: rgba(255,255,255,0.9) !important;
    font-size: 18px;
    min-height: 44px;
    display: flex;
    align-items: center;
  }
  .nav-link-demo { border-color: rgba(255,255,255,0.5) !important; color: rgba(255,255,255,0.9) !important; padding: 10px 20px !important; }

  /* Hero */
  .hero-stats { flex-direction: column; gap: 20px; }
  .hero-stat-divider { display: none; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { width: 100%; justify-content: center; min-height: 52px; }

  /* Stats bar */
  .stats-inner { justify-content: flex-start; gap: 8px; overflow-x: auto; flex-wrap: nowrap; -webkit-overflow-scrolling: touch; padding-bottom: 4px; }
  .stat-item { padding: 0 20px; white-space: nowrap; flex-shrink: 0; }
  .stat-sep { display: none; }

  /* Enrollment section */
  .enroll-inner { grid-template-columns: 1fr; gap: 40px; }

  /* Footer */
  .footer-inner { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }

  /* Steps */
  .steps-row { grid-template-columns: 1fr; }
  .step-connector { display: none; }

  /* Buttons — ensure touch targets */
  .btn { min-height: 44px; }
  .btn-lg { min-height: 52px; }

  /* Comparison table scroll hint */
  .compare-scroll { position: relative; }
  .compare-scroll::after {
    content: '';
    position: absolute;
    right: 0; top: 0; bottom: 0;
    width: 40px;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.85));
    pointer-events: none;
    border-radius: 0 var(--radius) var(--radius) 0;
  }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero-headline { font-size: 26px; line-height: 1.2; }
  .hero-badge { font-size: 11px; padding: 5px 12px; }
  .programs-grid { grid-template-columns: 1fr; }
  .curr-weeks { grid-template-columns: 1fr; }
  .curr-weeks--2col { grid-template-columns: 1fr; }
  .test-scores { grid-template-columns: 1fr; }
  .pain-grid { grid-template-columns: 1fr; }
  .pillars-grid { grid-template-columns: 1fr; }
  .mentor-trust-grid { grid-template-columns: 1fr; }
  .enroll-form { padding: 24px 20px; }
  .section-headline { font-size: clamp(22px, 6vw, 36px); }
  .faq-q { font-size: 15px; }
}
