:root {
  /* NAVY RAMP (measured from the crest: #001848) */
  --brand-bright: #1a4fa0; /* brightest brand navy: icons, focus rings (7.87:1) */
  --teal:         #143e8c; /* text-safe link navy on white (9.6:1) */
  --navy:         #0c2f6b; /* workhorse: eyebrows, buttons (12.85:1) */
  --navy-deep:    #0a2352; /* h3 ink, hover (15.27:1) */
  --navy-ink:     #001848; /* logo navy: h2 ink, footer, gradient anchors (17.15:1) */
  --navy-abyss:   #000f30; /* footer bottom stop */
  /* GOLD (measured from the crest ring: #b48228 -> #e6be64) */
  /* RULE: gold is text-safe ON NAVY only. On white it is decorative,
     except --gold-text which is the one AA-compliant gold on white. */
  --gold:         #c8963c; /* core gold: rules, borders, icon fills (6.51:1 on navy) */
  --gold-light:   #e8c86e; /* light gold: eyebrows + accent text on navy (10.55:1) */
  --gold-deep:    #b48228; /* gradient anchor, hover */
  --gold-text:    #8a6119; /* ONLY gold safe for text on white (5.52:1) */
  --ice:          #e8c86e; /* accent text/dots on navy (now gold) */
  --ice-soft:     #f0dca0; /* small caps/eyebrows on dark */
  --steel:        #5a6472; /* muted text on light (6.0:1) */
  --silver:       #9aa3b0; /* decorative strokes */
  --platinum:     #c9a961; /* metallic gradient tails, dashes */
  --chrome: linear-gradient(105deg, #f0dca0 0%, #e8c86e 24%, #c8963c 50%, #e8c86e 74%, #b48228 100%);
  --chrome-dark: linear-gradient(160deg, #b48228 0%, #96691c 55%, #7a5415 100%);
  /* NEUTRALS */
  --ink:     #0f1d33;
  --muted:   #46566b;
  --line:    #e6e0d2;
  --cream:   #faf5ea;
  --surface: #ffffff;
  --bg:      #faf8f3;
  /* TYPE */
  --font-display: 'Sora', 'Inter', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --text-h1: clamp(2.5rem, 1.6rem + 3.9vw, 4.5rem);
  --text-h2: clamp(1.75rem, 1.3rem + 1.9vw, 3.125rem);
  --text-h2-minor: clamp(1.625rem, 1.25rem + 1.6vw, 2.5rem);
  --text-h3: clamp(1.125rem, 1.06rem + 0.3vw, 1.3125rem);
  --text-lede: clamp(1.0625rem, 0.99rem + 0.55vw, 1.3125rem);
  --text-sm: 0.9375rem;
  --text-xs: 0.8125rem;
  --ink-h2: #001848;
  --ink-h3: #0a2352;
  /* GEOMETRY + MOTION */
  --radius: 14px;
  --radius-lg: 20px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  /* SHADOWS: navy depth + gold glow */
  --shadow-sm: 0 2px 10px rgba(0, 24, 72, 0.06);
  --shadow-md: 0 10px 30px rgba(0, 24, 72, 0.10);
  --shadow-lg: 0 24px 60px rgba(0, 24, 72, 0.22);
  --glow-azure: 0 10px 24px rgba(200, 150, 60, 0.30);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

/* Accessibility: skip link */
.skip-link {
  position: absolute;
  top: -40px;
  left: 16px;
  padding: 10px 16px;
  background: var(--navy);
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  z-index: 200;
  font-size: 14px;
  font-weight: 600;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 12px; }

/* Scroll progress bar */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, #001848, #1a4fa0);
  z-index: 200;
  transition: width 0.1s linear;
  pointer-events: none;
}

/* Focus styles */
:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
  border-radius: 4px;
  box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.9);
}

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

::selection { background: #1a4fa0; color: #fff; }

html, body { max-width: 100%; }

img, picture, svg { max-width: 100%; height: auto; }

a { color: inherit; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.12;
  margin: 0 0 0.5em;
  text-wrap: balance;
}
h1 { font-weight: 700; letter-spacing: -0.035em; line-height: 1.04; }

p { margin: 0 0 1em; }

/* Eyebrow system — quotes the "— DENTAL ASSISTING —" lockup dashes */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  line-height: 1;
  color: var(--navy);
  margin-bottom: 16px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  border-radius: 1px;
  background: var(--platinum);
  flex-shrink: 0;
}
.section-head .eyebrow::after {
  content: "";
  width: 22px;
  height: 2px;
  border-radius: 1px;
  background: var(--platinum);
  flex-shrink: 0;
}

/* ---------- HEADER ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.site-header.scrolled {
  border-color: var(--line);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
}

.logo img {
  height: 56px;
  width: auto;
  filter: drop-shadow(0 4px 10px rgba(10, 35, 82, 0.28));
  transition: transform 0.3s var(--ease), height 0.3s var(--ease);
}

.site-header.scrolled .logo img { height: 44px; }

.logo:hover img { transform: scale(1.04); }

.logo-text {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.25;
  color: var(--ink-h3);
}

.logo-text em {
  display: block;
  font-family: var(--font-body);
  font-style: italic;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: none;
  color: var(--steel);
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.primary-nav a {
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  position: relative;
  transition: color 0.2s var(--ease);
}

.primary-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--teal);
  transition: width 0.3s var(--ease);
}

.primary-nav a:hover { color: var(--navy); }
.primary-nav a:hover::after { width: 100%; }
.primary-nav a.active { color: var(--navy); font-weight: 600; }
.primary-nav a.active::after { width: 100%; }

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 14px 10px;
  cursor: pointer;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--ink);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease), color 0.2s var(--ease);
}

.btn-sm { padding: 10px 18px; font-size: 14px; }

.btn:active { transform: translateY(0) scale(0.98); }

.btn-primary {
  background: linear-gradient(135deg, #17469a 0%, #0a2352 100%);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), var(--glow-azure);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #0c2f6b 0%, #001848 100%);
  transform: translateY(-2px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 14px 32px rgba(10, 35, 82, 0.35);
}

.btn-primary:active { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 4px 12px rgba(12, 47, 107, 0.30); }

.btn-ghost {
  background: transparent;
  color: var(--navy);
  border-color: rgba(12, 47, 107, 0.35);
}

.btn-ghost:hover { background: var(--navy); border-color: var(--navy); color: #fff; }

.btn-light {
  background: #fff;
  color: var(--navy-ink);
}

.btn-light:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

.btn-link {
  background: transparent;
  color: rgba(255, 255, 255, 0.92);
  padding: 14px 8px;
  border-radius: 0;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.35);
  text-underline-offset: 4px;
}

.btn-link:hover { color: #fff; text-decoration-color: var(--ice); }

/* Chrome text utility (hero accent + hero stat numerals) */
.hero h1 .accent, .stat-num { color: #eadfc8; }
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .hero h1 .accent, .stat-num {
    background: var(--chrome);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
  }
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  color: #fff;
  overflow: hidden;
  padding: 96px 28px 150px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(95deg, #071c4c 0%, rgba(7, 28, 76, 0.93) 40%, rgba(10, 35, 82, 0.55) 70%, rgba(10, 35, 82, 0.24) 100%),
    url('./photo-operatory-hero.webp') right 35% / cover no-repeat #071c4c;
  z-index: 0;
}

.hero-bg::before {
  /* tooth watermark + dot grid retired — they added noise over the real
     operatory photo that now fills the hero */
  content: none;
}

.hero-bg::after { content: none; }

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-copy .eyebrow { color: #fbf3e2; }
.hero-copy .eyebrow::before { background: rgba(255, 255, 255, 0.38); }

/* Pulse badge */
.badge-pulse {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(0, 15, 48, 0.35);
  border: 1px solid rgba(232, 200, 110, 0.35);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  color: #fdf8ee;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background: #e8c86e;
  border-radius: 50%;
  position: relative;
  box-shadow: 0 0 0 rgba(232, 200, 110, 0.7);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(232, 200, 110, 0.7); }
  70% { box-shadow: 0 0 0 10px rgba(232, 200, 110, 0); }
  100% { box-shadow: 0 0 0 0 rgba(232, 200, 110, 0); }
}

/* Promo pill (hero summer special) — button, opens the apply modal */
.promo-pill {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 24px;
  padding: 7px 16px 7px 7px;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(201, 169, 97, 0.45);
  border-radius: 999px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  color: #fdf8ee;
  text-align: left;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}

.promo-pill:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(230, 224, 210, 0.7);
}

.promo-count { font-variant-numeric: tabular-nums; font-weight: 700; }

.promo-pill .promo-tag {
  background: linear-gradient(135deg, #eef3f9, #c9a961);
  color: var(--navy-ink);
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.hero h1 {
  font-size: var(--text-h1);
  margin-bottom: 20px;
}

.hero h1 .accent { font-style: normal; }

.hero .lede {
  font-size: var(--text-lede);
  line-height: 1.55;
  max-width: 520px;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 28px;
}

.hero-bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 36px;
  display: grid;
  gap: 12px;
}

.hero-bullets li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  font-weight: 500;
}

.hero-bullets svg {
  width: 22px;
  height: 22px;
  padding: 4px;
  border-radius: 50%;
  background: rgba(232, 200, 110, 0.20);
  color: #f5e9ce;
  flex-shrink: 0;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.hero-cta .btn-primary { padding: 16px 34px; font-size: 16px; }

/* Hero visual cards */
.hero-visual {
  position: relative;
  min-height: 380px;
}

.hero-card {
  position: absolute;
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.10), rgba(0, 15, 48, 0.30));
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(214, 200, 170, 0.35);
  border-radius: var(--radius-lg);
  padding: 24px;
  color: #fff;
  box-shadow: var(--shadow-lg);
}

.hero-card.card-1 {
  top: 20px;
  left: 20px;
  width: 220px;
  animation: float 6s ease-in-out infinite;
}

.hero-card.card-2 {
  top: 130px;
  right: 20px;
  width: 200px;
  animation: float 6s ease-in-out infinite 1.5s;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
}

.hero-card.card-3 {
  bottom: 0;
  left: 80px;
  width: 200px;
  animation: float 6s ease-in-out infinite 3s;
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.16), rgba(201, 169, 97, 0.10));
  border-color: rgba(222, 210, 184, 0.45);
}

.stat-num {
  font-family: var(--font-display);
  font-size: 64px;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
}

.stat-label {
  font-size: 15px;
  font-weight: 600;
  margin-top: 6px;
}

.stat-label.small { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.14em; color: #fbf3e2; }
.stat-sub { font-size: 18px; font-weight: 600; margin-top: 4px; }

.icon-tooth {
  width: 44px;
  height: 44px;
  color: #f5e9ce;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ---------- TRUST STRIP (overlap stat bar) ---------- */
.trust-strip {
  position: relative;
  z-index: 5;
  background: transparent;
  border: 0;
  margin-top: -64px;
  padding: 0 28px;
}

.trust-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 30px 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: 0 28px 56px -20px rgba(0, 24, 72, 0.22);
}

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 2px;
}

.trust-item strong {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink-h3);
}

.trust-item span {
  font-size: var(--text-xs);
  color: var(--muted);
  letter-spacing: 0.04em;
}

@media (min-width: 961px) {
  .trust-item + .trust-item { border-left: 1px solid var(--line); }
}

/* ---------- SECTIONS ---------- */
.section {
  padding: 110px 28px;
}

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

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
}

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

.section-head h2 {
  font-size: var(--text-h2);
  color: var(--ink-h2);
  letter-spacing: -0.025em;
  line-height: 1.08;
  margin-bottom: 14px;
}

.section-sub {
  font-size: clamp(1rem, 0.95rem + 0.3vw, 1.125rem);
  line-height: 1.6;
  color: var(--muted);
  max-width: 56ch;
  margin-inline: auto;
}

/* ---------- FEATURES ---------- */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.feature {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}

.feature:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.feature-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(200, 150, 60, 0.16), rgba(180, 130, 40, 0.22));
  color: var(--navy);
  margin-bottom: 24px;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), transform 0.3s var(--ease);
}

.feature:hover .feature-icon {
  background: linear-gradient(135deg, #1a4fa0, #0c2f6b);
  color: #fff;
  transform: translateY(-2px) scale(1.05);
}

.feature-icon svg { width: 32px; height: 32px; }

/* Card title + body unification */
.feature h3, .step h3, .timeline h3 {
  font-size: var(--text-h3);
  color: var(--ink-h3);
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.feature p, .step p, .timeline p {
  font-size: var(--text-sm);
  line-height: 1.6;
}

.feature h3 { margin-bottom: 12px; }

.feature p {
  color: var(--muted);
  margin: 0;
}

/* ---------- TIMELINE ---------- */
.timeline {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: step;
  position: relative;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 38px;
  left: 5%;
  right: 5%;
  height: 2px;
  background: repeating-linear-gradient(to right, var(--silver) 0 6px, transparent 6px 14px);
  opacity: 0.35;
  z-index: 0;
}

.timeline li {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 32px 26px;
  box-shadow: var(--shadow-sm);
  position: relative;
  z-index: 1;
  border: 1px solid var(--line);
}

.step-num {
  font-family: var(--font-display);
  font-size: 2.625rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 16px;
  color: #8a6119;
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .step-num {
    background: var(--chrome-dark);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
  }
}

.timeline h3 { margin-bottom: 10px; }

.timeline p {
  color: var(--muted);
  margin: 0;
}

/* ---------- ABOUT ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-copy h2 {
  font-size: var(--text-h2-minor);
  color: var(--ink-h2);
}

.about-copy p {
  color: var(--muted);
  font-size: 1.0625rem;
  line-height: 1.7;
  max-width: 60ch;
  margin-bottom: 14px;
}

.about-copy strong { color: var(--ink); }

.about-copy .btn { margin-top: 18px; }

.about-side {
  display: grid;
  gap: 20px;
}

.highlight-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 28px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.highlight-card.accent-card {
  background: linear-gradient(150deg, #0a2352, #001848);
  color: #fff;
  border-color: transparent;
}

.highlight-card.accent-card h4 { color: var(--ice); }
.highlight-card.accent-card li::before { background: var(--ice); }

.highlight-card h4 {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--navy);
  margin-bottom: 14px;
}

.highlight-card p {
  font-size: 15px;
  line-height: 1.55;
  margin: 0 0 12px;
}

.highlight-card p:last-child { margin-bottom: 0; }

.highlight-card address {
  font-style: normal;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.5;
  margin: 0 0 12px;
}

.training-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 48px;
}

.training-photos figure { margin: 0; }

.training-photos img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.training-photos figcaption {
  font-size: 13.5px;
  color: var(--muted);
  margin-top: 10px;
}

.highlight-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.highlight-card li {
  position: relative;
  padding-left: 20px;
  font-size: 15px;
}

.highlight-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
}

/* ---------- CTA BANNER ---------- */
.cta-banner {
  background: linear-gradient(120deg, #0a2352 0%, #001848 62%, #0a1e6e 100%);
  color: #fff;
  padding: 80px 28px;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(620px 320px at 82% 45%, rgba(26, 79, 160, 0.38), transparent 70%),
    radial-gradient(420px 220px at 12% 20%, rgba(201, 169, 97, 0.12), transparent 70%);
}

.cta-inner {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}

.cta-inner h2 {
  font-size: clamp(1.5rem, 1.2rem + 1.5vw, 2.375rem);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0;
  flex: 1;
  min-width: 280px;
}

.cta-alt {
  display: inline-block;
  color: rgba(255, 255, 255, 0.85);
  font-size: 14.5px;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: rgba(255, 255, 255, 0.35);
}

.cta-alt:hover { color: #fff; text-decoration-color: var(--ice); }

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

.contact-copy h2 {
  font-size: var(--text-h2-minor);
  color: var(--ink-h2);
}

.contact-copy p { color: var(--muted); font-size: 16.5px; }

.contact-methods {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  text-decoration: none;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), border-color 0.2s var(--ease);
}

.contact-method:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
  border-color: var(--brand-bright);
}

.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(200, 150, 60, 0.16);
  color: var(--navy);
  flex-shrink: 0;
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}

.contact-method:hover .contact-icon {
  background: var(--brand-bright);
  color: #fff;
}

.contact-icon svg { width: 22px; height: 22px; }

.contact-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  font-weight: 600;
}

.contact-value {
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
}

.contact-form {
  position: relative;
  overflow: hidden;
  background: var(--surface);
  padding: 36px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
}

.contact-form::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #1a4fa0, #001848);
}

.contact-form h3 {
  font-size: 1.25rem;
  color: var(--ink-h3);
  letter-spacing: -0.01em;
  margin-bottom: 22px;
}

.contact-form label {
  display: block;
  margin-bottom: 16px;
}

.contact-form label span {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
}

.contact-form label em {
  font-style: normal;
  color: var(--muted);
  font-weight: 400;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  font: inherit;
  font-size: 16px; /* 16px prevents iOS auto-zoom on focus */
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: #fbfaf6;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.contact-form input:hover,
.contact-form textarea:hover { border-color: #d8c79e; }

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--brand-bright);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(26, 79, 160, 0.14);
}

.contact-form textarea { resize: vertical; font-family: inherit; }

.contact-form .btn { width: 100%; margin-top: 8px; }

.form-note {
  margin: 14px 0 0;
  font-size: 14px;
  color: var(--teal);
  min-height: 20px;
  text-align: center;
}

/* ---------- FOOTER ---------- */
.site-footer {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #001848 0%, #000f30 100%);
  color: rgba(255, 255, 255, 0.82);
  border-top: 3px solid;
  border-image: linear-gradient(90deg, #1a4fa0, #c9a961 50%, #001848) 1;
}

.site-footer::before {
  content: "";
  position: absolute;
  right: -90px;
  bottom: -120px;
  width: 520px;
  height: 520px;
  background: url('./logo-crest.webp?v=16') no-repeat center / contain;
  opacity: 0.10;
  pointer-events: none;
}

.footer-inner, .footer-bottom { position: relative; z-index: 1; }

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 64px 28px 40px;
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 40px;
}

.footer-brand .logo-text { color: #fff; font-size: 17px; }
.footer-brand .logo-text em { color: #c9b98f; }
.footer-brand p { margin-top: 12px; max-width: 320px; font-size: 14.5px; }

.footer-col .footer-heading {
  font-family: var(--font-body);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #c9b98f;
  margin-bottom: 16px;
  font-weight: 700;
}

.footer-col a {
  display: block;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.75);
  font-size: 15px;
  margin-bottom: 8px;
  transition: color 0.2s var(--ease);
}

.footer-col a:hover { color: #fff; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 28px;
  text-align: center;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.6);
}

/* ---------- STEPS (How Enrollment Works) ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  counter-reset: step-counter;
}

.step {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  border: 1px solid var(--line);
  text-align: center;
  position: relative;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.step-mark {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #1a4fa0, #0a2352);
  margin: 0 auto 20px;
  box-shadow: 0 10px 24px rgba(26, 79, 160, 0.32);
  transition: transform 0.3s var(--ease);
}

.step:hover .step-mark { transform: scale(1.06); }

.step h3 { margin-bottom: 10px; }

.step p {
  color: var(--muted);
  margin: 0;
}

/* ---------- MODAL ---------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal.open {
  display: flex;
  animation: modalFade 0.25s var(--ease);
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 15, 48, 0.58);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  cursor: pointer;
}

.modal-panel {
  position: relative;
  width: 100%;
  max-width: 620px;
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  overflow-x: hidden;
  background: var(--surface);
  border-radius: 20px;
  box-shadow: 0 30px 80px rgba(0, 15, 48, 0.35);
  padding: 40px 44px;
  animation: modalSlide 0.35s var(--ease);
}

.modal-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #1a4fa0, #001848);
}

@keyframes modalFade {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes modalSlide {
  from { opacity: 0; transform: translateY(20px) scale(0.98); }
  to { opacity: 1; transform: none; }
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #faf8f4;
  border: none;
  color: var(--muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), transform 0.2s var(--ease);
}

.modal-close::after { content: ""; position: absolute; inset: -6px; }
.modal-close svg { width: 18px; height: 18px; }
.modal-close:hover { background: var(--navy); color: #fff; transform: rotate(90deg); }

.modal-header {
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 22px;
}
.modal-header h2 {
  font-size: clamp(1.5rem, 1.32rem + 0.9vw, 1.875rem);
  color: var(--ink-h2);
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}
.modal-header p {
  color: var(--muted);
  margin: 0;
  font-size: var(--text-sm);
}

.modal-form { display: grid; gap: 16px; }

.field-row { display: grid; gap: 16px; }
.field-row.two-col { grid-template-columns: 1fr 1fr; }

.field { display: block; }
.field span {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
}
.field em { color: var(--teal); font-style: normal; }

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  font: inherit;
  font-size: 16px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: #fbfaf6;
  color: var(--ink);
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.field input:hover,
.field select:hover,
.field textarea:hover { border-color: #d8c79e; }

.field select {
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' fill='none' stroke='%2346566b' stroke-width='1.8' stroke-linecap='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 12px;
  padding-right: 40px;
}

.field textarea {
  font-family: inherit;
  resize: vertical;
  min-height: 80px;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--brand-bright);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(26, 79, 160, 0.14);
}

.field input.invalid,
.field select.invalid,
.field textarea.invalid {
  border-color: #e05252;
  background: #fff6f6;
  box-shadow: 0 0 0 4px rgba(224, 82, 82, 0.12);
}

.modal-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 8px;
}

.modal-actions .btn { padding: 12px 22px; font-size: 15px; }

.modal-footnote {
  font-size: 12px;
  color: var(--muted);
  text-align: center;
  margin: 8px 0 0;
  line-height: 1.5;
}

/* Prevent body scroll when modal open */
body.modal-open { overflow: hidden; }

/* ---------- BUTTON SHINE ---------- */
.btn-shine { position: relative; overflow: hidden; }
.btn-shine::before {
  content: "";
  position: absolute;
  top: 0;
  left: -80%;
  width: 60%;
  height: 100%;
  background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,0.35) 50%, transparent 100%);
  transform: skewX(-20deg);
  transition: left 0.7s var(--ease);
  pointer-events: none;
  border-radius: inherit;
}
@media (hover: hover) {
  .btn-shine:hover::before { left: 130%; }
}
.btn-light.btn-shine::before {
  background: linear-gradient(120deg, transparent 0%, rgba(26, 79, 160, 0.16) 50%, transparent 100%);
}

/* ---------- BACK TO TOP ---------- */
.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #17469a, #0a2352);
  color: #fff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(10, 35, 82, 0.35);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: opacity 0.3s var(--ease), visibility 0.3s var(--ease), transform 0.3s var(--ease), background 0.2s var(--ease);
  z-index: 80;
}

.back-to-top svg { width: 20px; height: 20px; }

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover { background: linear-gradient(135deg, #0c2f6b, #001848); }

/* ---------- FAQ ---------- */
.faq-inner { max-width: 860px; }

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-item {
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.faq-item:not([open]):hover { border-color: rgba(26, 79, 160, 0.45); }

.faq-item[open] {
  border-color: rgba(26, 79, 160, 0.50);
  box-shadow: var(--shadow-sm);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  line-height: 1.4;
  color: var(--ink-h3);
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-icon {
  position: relative;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #fbf5e8;
  flex-shrink: 0;
  transition: background 0.25s var(--ease);
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  background: var(--teal);
  border-radius: 2px;
  transition: transform 0.3s var(--ease);
}

.faq-icon::before {
  top: 13px;
  left: 8px;
  right: 8px;
  height: 2px;
}

.faq-icon::after {
  left: 13px;
  top: 8px;
  bottom: 8px;
  width: 2px;
}

.faq-item[open] .faq-icon { background: linear-gradient(135deg, #17469a, #0a2352); }
.faq-item[open] .faq-icon::before { background: #fff; }
.faq-item[open] .faq-icon::after { background: #fff; transform: scaleY(0); }

.faq-body {
  padding: 0 24px 22px;
  color: var(--muted);
  font-size: var(--text-sm);
  line-height: 1.7;
}

.faq-item[open] .faq-body { animation: faqOpen 0.3s var(--ease); }

@keyframes faqOpen {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: none; }
}

.faq-body p { margin: 0; }

.faq-body a {
  color: var(--navy);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(26, 79, 160, 0.35);
}

.faq-body a:hover { text-decoration-color: var(--navy); }

/* ---------- MOBILE STICKY CTA ---------- */
.mobile-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 90;
  padding: 8px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
  gap: 8px;
  box-shadow: 0 -8px 24px rgba(0, 24, 72, 0.08);
}

.mobile-cta-promo {
  flex-basis: 100%;
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  color: #fbf3e2;
  background: linear-gradient(135deg, #0a2352, #001848);
  border-radius: 8px;
  padding: 5px 10px;
}

.mobile-cta-promo .promo-count { font-variant-numeric: tabular-nums; }

.mobile-cta-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 10px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 10px;
  text-decoration: none;
  border: none;
  font-family: inherit;
  cursor: pointer;
  transition: transform 0.15s var(--ease);
}

.mobile-cta-btn svg { width: 16px; height: 16px; }

.mobile-cta-btn:active { transform: scale(0.97); }

.mobile-cta-call {
  background: #e7effb;
  color: #0c2f6b;
}

.mobile-cta-text {
  background: #eaf3fe;
  color: #143e8c;
}

.mobile-cta-apply {
  background: linear-gradient(135deg, #17469a, #0a2352);
  color: #fff;
  flex: 1.3;
}

/* ---------- REVEAL ANIMATION ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { min-height: 320px; max-width: 440px; margin: 0 auto; width: 100%; }
  /* single column: text spans full width, so the scrim must cover uniformly */
  .hero-bg {
    background:
      linear-gradient(180deg, rgba(7, 28, 76, 0.93) 0%, rgba(12, 36, 116, 0.85) 100%),
      url('./photo-operatory-hero.webp') 62% 35% / cover no-repeat #071c4c;
  }
  .features { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: repeat(2, 1fr); }
  .timeline::before { display: none; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .training-photos { grid-template-columns: 1fr; gap: 20px; margin-top: 36px; }
  .trust-inner { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .primary-nav, .nav-cta { display: none; }
  .menu-toggle { display: flex; }
  .mobile-cta { display: flex; }
  .site-footer { padding-bottom: 90px; }
  .primary-nav.open {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: #fff;
    padding: 20px 28px calc(20px + env(safe-area-inset-bottom));
    gap: 4px;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
  }
  .primary-nav.open a {
    padding: 12px 4px;
    font-size: 16px;
    min-height: 44px;
    display: flex;
    align-items: center;
  }
  .header-inner { padding: 10px 20px; }
  .logo img { height: 44px; }
  .logo-text { font-size: 13px; }
  .logo-text em { font-size: 10px; }

  .hero { padding: 64px 20px 120px; }
  .hero-bullets li { font-size: 15px; }
  .hero-cta { flex-direction: column; align-items: stretch; width: 100%; }
  .hero-cta .btn { width: 100%; }
  .hero-cta .btn-link { text-align: center; padding: 8px; }

  /* Collapse the floating glass cards into a compact row on mobile */
  .hero-visual {
    min-height: auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    max-width: 100%;
  }
  .hero-card {
    position: static;
    width: auto !important;
    padding: 16px 12px;
    text-align: center;
    animation: none !important;
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
  }
  .hero-card .stat-num { font-size: 40px; }
  .hero-card .stat-label { font-size: 12px; line-height: 1.3; }
  .hero-card .stat-label.small { font-size: 11px; }
  .hero-card .stat-sub { font-size: 14px; }
  .hero-card .icon-tooth { width: 30px; height: 30px; }

  .section { padding: 70px 20px; }
  .section-head { margin-bottom: 44px; }

  .timeline { grid-template-columns: 1fr; gap: 16px; }
  .timeline li { padding: 26px 22px; }

  .footer-inner { grid-template-columns: 1fr; padding: 48px 24px 24px; gap: 28px; }
  .cta-inner { flex-direction: column; text-align: center; }
  .cta-banner { padding: 64px 24px; }

  .about-grid { gap: 32px; }
  .contact-grid { gap: 32px; }
  .contact-form { padding: 26px 22px; }
  .contact-method { padding: 14px 16px; }

  .trust-strip { margin-top: -56px; padding: 0 16px; }
  .trust-inner { padding: 20px 16px; gap: 18px; }
  .trust-item strong { font-size: 18px; }
  .trust-item span { font-size: 12px; }

  .faq-item summary { padding: 18px 20px; font-size: 15px; }
  .faq-body { padding: 0 20px 20px; }

  .steps { grid-template-columns: 1fr; gap: 16px; }
  .step { padding: 28px 24px; }

  .back-to-top {
    right: 16px;
    bottom: calc(80px + env(safe-area-inset-bottom));
    width: 44px;
    height: 44px;
  }

  .modal { padding: 0; align-items: stretch; }
  .modal-panel {
    max-width: 100%;
    max-height: 100vh;
    border-radius: 0;
    padding: 60px 22px calc(24px + env(safe-area-inset-bottom));
  }
  .modal-close { top: 14px; right: 14px; }
  .field-row.two-col { grid-template-columns: 1fr; }
  .modal-actions { flex-direction: column-reverse; }
  .modal-actions .btn { width: 100%; }

  .badge-pulse { font-size: 11px; padding: 5px 12px; }
  .promo-pill { font-size: 13px; }
}

@media (max-width: 400px) {
  .trust-inner { grid-template-columns: repeat(2, 1fr); }
  .hero-visual { grid-template-columns: 1fr 1fr; }
  .hero-card.card-3 { grid-column: 1 / -1; flex-direction: row !important; gap: 10px !important; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ---------- TUITION & PAYMENT (fused two-panel card; must stay late in file) ---------- */
.payment-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 0;
  max-width: 880px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 56px -24px rgba(0, 24, 72, 0.16);
  align-items: stretch;
}

.payment-card {
  max-width: none;
  flex: none;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  padding: 40px 44px;
}

.payment-card ul { counter-reset: pay; }

.payment-card li {
  padding-left: 38px;
  counter-increment: pay;
}

.payment-card li::before {
  content: counter(pay);
  width: 26px;
  height: 26px;
  border-radius: 50%;
  top: 0;
  left: 0;
  background: #fbf5e8;
  color: var(--navy);
  font: 600 12.5px/26px 'Inter', sans-serif;
  text-align: center;
}

.payment-card li strong { color: var(--navy-deep); }

.payment-qr {
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: #faf7f0;
  border-left: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 36px;
  text-align: center;
}

.payment-qr img {
  background: #fff;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 28px -12px rgba(0, 24, 72, 0.15);
  display: block;
  margin: 0 auto 12px;
  width: 220px;
  max-width: 100%;
  height: auto;
}

.payment-qr p {
  font-size: var(--text-xs);
  color: var(--muted);
  max-width: 220px;
  margin: 0 auto;
}

@media (max-width: 640px) {
  .payment-grid { grid-template-columns: 1fr; }
  .payment-qr { width: auto; border-left: 0; border-top: 1px solid var(--line); }
  .payment-card { padding: 28px 24px; }
}


/* ---------- UX BATCH: honeypot, field errors, inline CTAs, caps card headings ---------- */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
}

.field-error {
  display: block;
  font-size: 12.5px;
  font-weight: 500;
  color: #c0392b;
  margin-top: 5px;
}
.field-error[hidden] { display: none; }

.inline-cta {
  text-align: center;
  margin-top: 48px;
}
.inline-cta p {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--ink-h3);
  font-size: 1.125rem;
  margin-bottom: 14px;
}
.cta-alt-dark { color: var(--navy); text-decoration-color: rgba(12, 47, 107, 0.35); display: inline-block; margin-left: 16px; }
.cta-alt-dark:hover { color: var(--navy-ink); text-decoration-color: var(--navy); }

.card-caps {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--navy);
  margin-bottom: 14px;
  line-height: 1.4;
}
.accent-card .card-caps { color: var(--ice); }

.modal-talk { margin-top: 4px; }
.modal-talk a { color: var(--navy); font-weight: 600; }

.apply-success { text-align: center; padding: 12px 0 4px; }
.apply-success .success-check {
  width: 56px; height: 56px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #1a4fa0, #0a2352);
  color: #fff; margin: 0 auto 18px;
}
.apply-success .success-check svg { width: 28px; height: 28px; }
.apply-success h3 { font-size: 1.375rem; color: var(--ink-h2); margin-bottom: 10px; }
.apply-success p { color: var(--muted); font-size: var(--text-sm); max-width: 40ch; margin: 0 auto 12px; }
.apply-success a { color: var(--navy); font-weight: 600; }
.apply-success .btn { margin-top: 10px; }

/* ---------- CONVERSION BATCH: cta notes, includes box, text strips, sms band, router, multi-step modal ---------- */
.cta-note {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.75);
  margin: 12px 0 0;
  letter-spacing: 0.01em;
}
.cta-note-dark { color: var(--muted); }

.program-includes {
  margin-top: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 28px 32px;
}
.program-includes ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px 24px;
}
.program-includes li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--ink);
}
.program-includes li svg {
  width: 20px;
  height: 20px;
  padding: 3px;
  border-radius: 50%;
  background: rgba(200, 150, 60, 0.16);
  color: var(--navy);
  flex-shrink: 0;
}

.text-strip {
  background: linear-gradient(120deg, #0a2352 0%, #001848 100%);
  color: #fff;
  padding: 34px 28px;
}
.text-strip-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.text-strip p { margin: 0; font-size: 1.0625rem; }
.text-strip strong { font-family: var(--font-display); }

.sms-band {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 44px 48px;
  margin-bottom: 70px;
}
.sms-band h2 { font-size: var(--text-h2-minor); color: var(--ink-h2); }
.sms-band p { color: var(--muted); max-width: 46ch; }
.sms-mockup {
  background: #faf7f0;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 22px;
}
.sms-thread { display: grid; gap: 10px; }
.sms-bubble {
  max-width: 85%;
  padding: 11px 15px;
  font-size: 14.5px;
  line-height: 1.45;
  border-radius: 16px;
}
.sms-them {
  background: #fff;
  border: 1px solid var(--line);
  border-bottom-left-radius: 5px;
  justify-self: start;
}
.sms-us {
  background: linear-gradient(135deg, #17469a, #0a2352);
  color: #fff;
  border-bottom-right-radius: 5px;
  justify-self: end;
}
.sms-typing {
  display: inline-flex;
  gap: 4px;
  padding: 12px 15px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  border-bottom-left-radius: 5px;
  justify-self: start;
}
.sms-typing span {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--silver);
  animation: typingDot 1.2s infinite;
}
.sms-typing span:nth-child(2) { animation-delay: 0.2s; }
.sms-typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes typingDot {
  0%, 60%, 100% { opacity: 0.35; transform: translateY(0); }
  30% { opacity: 1; transform: translateY(-3px); }
}

.payment-router {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 880px;
  margin: 0 auto 28px;
}
.router-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 26px 28px;
  text-align: center;
}
.router-card p { color: var(--muted); font-size: var(--text-sm); max-width: 34ch; margin: 0 auto 16px; }

.steps.steps-4 { grid-template-columns: repeat(4, 1fr); gap: 20px; }
.steps-4 .step { padding: 30px 22px; }
.step p a { color: var(--navy); font-weight: 600; }

/* Multi-step apply modal */
.apply-progress {
  height: 4px;
  border-radius: 2px;
  background: var(--line);
  overflow: hidden;
}
.apply-progress-fill {
  height: 100%;
  width: 33%;
  border-radius: 2px;
  background: linear-gradient(90deg, #1a4fa0, #0a2352);
  transition: width 0.35s var(--ease);
}
.apply-step-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--steel);
  margin: 0 0 4px;
}
.modal-step[hidden] { display: none; }
.modal-step { display: grid; gap: 16px; }

.chip-group {
  border: 0;
  padding: 0;
  margin: 0;
}
.chip-group legend {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 10px;
  padding: 0;
}
.chip-group legend em { color: var(--muted); font-style: normal; font-weight: 400; }
.chip-group { display: block; }
.chip-group .chip { display: inline-block; margin: 0 8px 8px 0; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span {
  display: inline-block;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: #fbfaf6;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease), color 0.2s var(--ease);
}
.chip:hover span { border-color: #d8c79e; }
.chip input:checked + span {
  background: linear-gradient(135deg, #17469a, #0a2352);
  border-color: transparent;
  color: #fff;
}
.chip input:focus-visible + span {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}

.apply-review {
  margin: 0;
  display: grid;
  gap: 10px;
  background: #fbfaf6;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
}
.apply-review div { display: flex; justify-content: space-between; gap: 16px; }
.apply-review dt { font-size: 13px; font-weight: 600; color: var(--muted); }
.apply-review dd { margin: 0; font-size: 14px; font-weight: 600; color: var(--ink); text-align: right; overflow-wrap: anywhere; }
.apply-review .review-edit {
  background: none; border: 0; padding: 0;
  color: var(--navy); font-weight: 600; font-size: 13px;
  text-decoration: underline; text-underline-offset: 3px;
  cursor: pointer;
}

.modal-promo {
  font-size: 14px;
  color: var(--navy);
  background: #eef4fb;
  border: 1px solid #d8e6f6;
  border-radius: 10px;
  padding: 10px 14px;
  margin: 0;
}

.modal-promo .promo-count { font-variant-numeric: tabular-nums; font-weight: 700; }

.consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
}
.consent input {
  width: 18px; height: 18px;
  margin-top: 2px;
  accent-color: var(--navy);
  flex-shrink: 0;
}
.consent span { font-size: 13px; color: var(--muted); line-height: 1.55; }

@media (max-width: 960px) {
  .steps.steps-4 { grid-template-columns: repeat(2, 1fr); }
  .sms-band { grid-template-columns: 1fr; padding: 32px 28px; gap: 28px; }
}
@media (max-width: 720px) {
  .program-includes ul { grid-template-columns: 1fr; }
  .steps.steps-4 { grid-template-columns: 1fr; }
  .payment-router { grid-template-columns: 1fr; }
  .text-strip-inner { flex-direction: column; text-align: center; }
  .text-strip .btn { width: 100%; }
  .sms-band { margin-bottom: 44px; }
}

/* [hidden] must always win over component display rules */
[hidden] { display: none !important; }

/* ---------- CAREER OUTLOOK (BLS stat band) ---------- */
.outlook-section {
  background:
    radial-gradient(700px 360px at 85% 20%, rgba(26, 79, 160, 0.28), transparent 70%),
    linear-gradient(140deg, #0a2352 0%, #001848 100%);
  color: #fff;
  padding: 90px 28px;
}
.outlook-section .section-head { margin-bottom: 48px; }
.outlook-section .eyebrow { color: #fbf3e2; }
.outlook-section .eyebrow::before,
.outlook-section .section-head .eyebrow::after { background: rgba(255, 255, 255, 0.38); }
.outlook-section h2 { color: #fff; }

.outlook-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}
.outlook-num {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 1.8rem + 2vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 10px;
  color: #eadfc8;
}
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .outlook-num {
    background: var(--chrome);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
  }
}
.outlook-stat p {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.85);
  max-width: 26ch;
  margin: 0 auto;
}
.outlook-stat sup { color: rgba(255, 255, 255, 0.6); }

.outlook-footnote {
  font-size: 11.5px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.55);
  max-width: 78ch;
  margin: 36px auto 0;
  text-align: center;
}
.outlook-footnote a { color: rgba(255, 255, 255, 0.75); }

@media (max-width: 720px) {
  .outlook-section { padding: 64px 20px; }
  .outlook-grid { grid-template-columns: 1fr; gap: 32px; }
}
