/* =============================================
   MindSport.nl — Redesign v3
   Oura-Inspired Warm Minimalism
   Inter + EB Garamond | Cream Palette
   ============================================= */

/* CSS Custom Properties */
:root {
  /* === BACKGROUNDS === */
  --bg-cream: #F5F0E8;
  --bg-cream-light: #FAF7F2;
  --bg-sand: #EBE5D9;
  --bg-white: #FEFDFB;
  --bg-dark: #1A1A1A;

  /* === TEXT === */
  --text-primary: #1A1A1A;
  --text-body: #4A4A4A;
  --text-muted: #8A8A7A;
  --text-on-dark: #F5F0E8;

  /* === ACCENTS (use sparingly) === */
  --accent-warm: #C4956A;
  --accent-sage: #C4956A;

  /* === INTERACTIVE === */
  --btn-dark: #1A1A1A;
  --btn-dark-hover: #333333;
  --btn-outline: #1A1A1A;
  --link-color: #1A1A1A;
  --link-hover: #C4956A;
  --focus-ring: rgba(26,26,26,0.2);

  /* === BORDERS === */
  --border-light: rgba(0,0,0,0.06);
  --border-medium: rgba(0,0,0,0.10);
  --border-strong: rgba(0,0,0,0.18);

  /* === TYPOGRAPHY === */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-serif: 'EB Garamond', Georgia, 'Times New Roman', serif;

  /* Legacy alias */
  --font: var(--font-sans);

  /* Sizes */
  --text-xs: 12px;
  --text-sm: 14px;
  --text-base: 16px;
  --text-lg: 18px;
  --text-xl: 20px;
  --text-2xl: 24px;
  --text-3xl: 32px;
  --text-4xl: 44px;
  --text-5xl: 56px;
  --text-6xl: 72px;

  /* Weights */
  --weight-light: 300;
  --weight-normal: 400;
  --weight-medium: 500;
  --weight-semibold: 600;

  /* Legacy type scale */
  --h1: 44px;
  --h2: 32px;
  --h3: 24px;
  --body: 16px;

  /* Spacing */
  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 24px;
  --space-lg: 40px;
  --space-xl: 64px;
  --space-2xl: 96px;
  --space-3xl: 80px;
  --space-4xl: 80px;
  --space-section: 80px;

  /* Shadows — barely visible */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.06);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.08);
  --shadow-xl: 0 24px 64px rgba(0,0,0,0.06);

  /* Misc */
  --radius: 8px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 16px;
  --radius-pill: 999px;
  --transition: 250ms ease;
  --transition-slow: 400ms ease;
  --max-width: 1200px;

  /* Legacy color aliases (mapped to new palette) */
  --forest: var(--bg-dark);
  --emerald: var(--accent-warm);
  --mint: var(--accent-sage);
  --sunflower: var(--bg-sand);
  --charcoal: var(--text-primary);
  --snow-mint: var(--bg-cream);
  --white: var(--bg-white);
  --primary: var(--bg-dark);
  --secondary: var(--accent-warm);
  --accent-mint: var(--accent-sage);
  --accent-sunflower: var(--bg-sand);
  --text-dark: var(--text-primary);
  --bg-snow-mint: var(--bg-cream);
}

/* =============================================
   RESET
   ============================================= */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-size: var(--text-base);
  font-weight: var(--weight-normal);
  line-height: 1.7;
  color: var(--text-body);
  background: var(--bg-cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--link-color);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--link-hover);
}

/* Skip to content */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  background: var(--btn-dark);
  color: var(--text-on-dark);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  z-index: 10000;
  font-weight: var(--weight-semibold);
}

.skip-link:focus {
  top: 16px;
  color: var(--text-on-dark);
}

/* =============================================
   LANGUAGE TOGGLE SYSTEM
   ============================================= */
[data-lang="nl"] { display: none; }
body.lang-nl [data-lang="en"] { display: none; }
body.lang-nl [data-lang="nl"] { display: revert; }

span[data-lang="nl"],
a[data-lang="nl"],
option[data-lang="nl"],
label[data-lang="nl"],
button[data-lang="nl"],
p[data-lang="nl"],
li[data-lang="nl"],
h1[data-lang="nl"],
h2[data-lang="nl"],
h3[data-lang="nl"],
h4[data-lang="nl"] { display: none; }

body.lang-nl span[data-lang="en"],
body.lang-nl a[data-lang="en"],
body.lang-nl option[data-lang="en"],
body.lang-nl label[data-lang="en"],
body.lang-nl button[data-lang="en"],
body.lang-nl p[data-lang="en"],
body.lang-nl li[data-lang="en"],
body.lang-nl h1[data-lang="en"],
body.lang-nl h2[data-lang="en"],
body.lang-nl h3[data-lang="en"],
body.lang-nl h4[data-lang="en"] { display: none; }

body.lang-nl span[data-lang="nl"],
body.lang-nl a[data-lang="nl"],
body.lang-nl option[data-lang="nl"],
body.lang-nl label[data-lang="nl"],
body.lang-nl button[data-lang="nl"],
body.lang-nl p[data-lang="nl"],
body.lang-nl li[data-lang="nl"],
body.lang-nl h1[data-lang="nl"],
body.lang-nl h2[data-lang="nl"],
body.lang-nl h3[data-lang="nl"],
body.lang-nl h4[data-lang="nl"] { display: inline; }

div[data-lang="nl"],
section[data-lang="nl"],
article[data-lang="nl"] { display: none; }

body.lang-nl div[data-lang="en"],
body.lang-nl section[data-lang="en"],
body.lang-nl article[data-lang="en"] { display: none; }

body.lang-nl div[data-lang="nl"],
body.lang-nl section[data-lang="nl"],
body.lang-nl article[data-lang="nl"] { display: block; }

/* =============================================
   TYPOGRAPHY
   ============================================= */
h1, h2, h3, h4 {
  font-family: var(--font-sans);
  font-weight: var(--weight-semibold);
  line-height: 1.15;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

h1 { font-size: var(--h1); margin-bottom: 24px; }
h2 { font-size: var(--h2); margin-bottom: 20px; }
h3 { font-size: var(--h3); margin-bottom: 16px; }
h4 { font-size: var(--text-xl); margin-bottom: 12px; font-weight: var(--weight-medium); }

p { margin-bottom: 16px; }
p:last-child { margin-bottom: 0; }

strong { font-weight: var(--weight-semibold); }
em { font-style: italic; }

/* Text accent — weight + warm color for emphasis (replaces serif mixing) */
.text-serif {
  font-weight: var(--weight-semibold);
  color: var(--accent-warm);
}

/* =============================================
   ANIMATION SYSTEM
   ============================================= */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-16px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(16px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.97); }
  to { opacity: 1; transform: scale(1); }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 600ms ease, transform 600ms ease;
}

.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.stagger-children > * {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 500ms ease, transform 500ms ease;
}

.stagger-children.is-visible > *:nth-child(1) { transition-delay: 0ms; opacity: 1; transform: translateY(0); }
.stagger-children.is-visible > *:nth-child(2) { transition-delay: 80ms; opacity: 1; transform: translateY(0); }
.stagger-children.is-visible > *:nth-child(3) { transition-delay: 160ms; opacity: 1; transform: translateY(0); }
.stagger-children.is-visible > *:nth-child(4) { transition-delay: 240ms; opacity: 1; transform: translateY(0); }
.stagger-children.is-visible > *:nth-child(5) { transition-delay: 320ms; opacity: 1; transform: translateY(0); }

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

.container--narrow {
  max-width: 800px;
}

/* =============================================
   NAVIGATION (Frosted Cream, Fixed)
   ============================================= */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(245, 240, 232, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
  transition: all var(--transition);
}

.nav.scrolled {
  background: rgba(245, 240, 232, 0.95);
  box-shadow: var(--shadow-sm);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 18px 48px;
  transition: padding var(--transition);
}

.nav.scrolled .nav__inner {
  padding-top: 12px;
  padding-bottom: 12px;
}

.nav__logo {
  font-size: 22px;
  font-weight: var(--weight-semibold);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  text-decoration: none;
  transition: opacity var(--transition);
}

.nav__logo:hover {
  opacity: 0.7;
  color: var(--text-primary);
}

.nav__logo svg {
  width: 32px;
  height: 32px;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

.nav__links a {
  color: var(--text-body);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  transition: color var(--transition);
  white-space: nowrap;
  position: relative;
  text-decoration: none;
}

.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--text-primary);
  transition: width var(--transition);
}

.nav__links a:hover {
  color: var(--text-primary);
}

.nav__links a:hover::after {
  width: 100%;
}

.nav__links a.active {
  color: var(--text-primary);
}

.nav__links a.active::after {
  width: 100%;
}

/* Nav contact button override — dark pill */
.nav__links a.btn {
  padding: 10px 24px;
  font-size: var(--text-sm);
  background: var(--btn-dark);
  color: white;
  border-radius: var(--radius-pill);
  border: none;
  font-weight: var(--weight-medium);
}

.nav__links a.btn::after {
  display: none;
}

.nav__links a.btn:hover {
  background: var(--btn-dark-hover);
  color: white;
  transform: translateY(-1px);
}

.nav__right {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

/* Language toggle — pill */
.lang-toggle {
  display: flex;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-pill);
  padding: 3px;
  gap: 2px;
}

.lang-toggle__btn {
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  background: transparent;
  color: var(--text-muted);
  border: none;
  cursor: pointer;
  transition: all 150ms ease;
  font-family: var(--font-sans);
}

.lang-toggle__btn.active {
  background: var(--text-primary);
  color: white;
}

.lang-toggle__btn:hover:not(.active) {
  color: var(--text-primary);
}

/* Hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition);
}

/* Mobile nav */
.nav__mobile {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg-cream);
  z-index: 999;
  padding: 100px 32px 32px;
  overflow-y: auto;
}

.nav__mobile.open {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.nav__mobile a {
  display: block;
  padding: 16px 0;
  font-size: var(--text-xl);
  font-weight: var(--weight-medium);
  color: var(--text-primary);
  border-bottom: 1px solid var(--border-light);
  text-decoration: none;
}

.nav__mobile a:hover {
  color: var(--accent-warm);
}

/* =============================================
   BUTTONS (Dark Pill + Ghost)
   ============================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 36px;
  border-radius: var(--radius-pill);
  font-family: var(--font-sans);
  font-size: var(--text-base);
  font-weight: var(--weight-medium);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
  text-decoration: none;
  min-height: 48px;
  white-space: nowrap;
  position: relative;
}

.btn__icon {
  width: 18px;
  height: 18px;
  transition: transform var(--transition);
  flex-shrink: 0;
}

.btn:hover .btn__icon {
  transform: translateX(3px);
}

/* Primary — Dark pill, white text */
.btn--primary,
.btn--sunflower,
.btn--forest,
.btn--emerald {
  background: var(--btn-dark);
  color: white;
  border-color: var(--btn-dark);
}

.btn--primary:hover,
.btn--sunflower:hover,
.btn--forest:hover,
.btn--emerald:hover {
  background: var(--btn-dark-hover);
  border-color: var(--btn-dark-hover);
  color: white;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

/* Secondary — Ghost outlined pill */
.btn--secondary,
.btn--outline-forest {
  background: transparent;
  color: var(--text-primary);
  border-color: var(--border-strong);
}

.btn--secondary:hover,
.btn--outline-forest:hover {
  background: var(--text-primary);
  color: var(--bg-cream);
  border-color: var(--text-primary);
  transform: translateY(-1px);
}

/* Outline white — for dark backgrounds */
.btn--outline-white {
  background: transparent;
  color: var(--text-on-dark);
  border-color: rgba(245,240,232,0.4);
}

.btn--outline-white:hover {
  background: var(--bg-cream);
  color: var(--text-primary);
  transform: translateY(-1px);
}

/* White / Inverted — for dark backgrounds */
.btn--white {
  background: var(--bg-cream);
  color: var(--text-primary);
  border-color: var(--bg-cream);
}

.btn--white:hover {
  background: var(--bg-cream-light);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

/* Tertiary — text link with arrow */
.btn--tertiary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-primary);
  font-weight: var(--weight-medium);
  text-decoration: none;
  font-size: var(--text-base);
  transition: gap var(--transition);
  padding: 0;
  border: none;
  background: none;
  min-height: auto;
  border-radius: 0;
}

.btn--tertiary::after {
  content: '\2192';
}

.btn--tertiary:hover {
  gap: 10px;
  color: var(--text-primary);
}

/* Large button */
.btn--large {
  padding: 18px 44px;
  font-size: var(--text-lg);
}

/* =============================================
   SECTIONS
   ============================================= */
section {
  padding: var(--space-section) 0;
}

.section--white  { background: var(--bg-cream-light); }
.section--snow   { background: var(--bg-cream); }
.section--forest {
  background: var(--bg-dark);
  color: var(--text-on-dark);
}
.section--forest h1,
.section--forest h2,
.section--forest h3,
.section--forest h4 {
  color: var(--text-on-dark);
}
.section--forest p,
.section--forest .section-subtitle,
.section--forest .section-label {
  color: rgba(245, 240, 232, 0.85);
}
.section--forest .hero-modern__title-accent {
  color: var(--text-on-dark);
}
.section--emerald {
  background: var(--bg-dark);
  color: var(--text-on-dark);
}
.section--emerald h2,
.section--emerald h3,
.section--emerald h4 {
  color: var(--text-on-dark);
}
.section--emerald p,
.section--emerald .testimonial__text {
  color: rgba(245, 240, 232, 0.85);
}
.section--emerald .testimonial__author {
  color: rgba(245, 240, 232, 0.6);
}
.section--emerald .section-label {
  color: rgba(245, 240, 232, 0.5);
}
.section--sunflower { background: var(--bg-sand); }
.section--sunflower h2 { color: var(--text-primary); }

.section__header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 40px;
}

/* =============================================
   SECTION LABELS & HEADERS
   ============================================= */
.section-label {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: var(--space-sm);
}

.section-title {
  font-size: clamp(32px, 5vw, var(--text-4xl));
  font-weight: var(--weight-semibold);
  color: var(--text-primary);
  margin-bottom: var(--space-md);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: var(--text-lg);
  line-height: 1.6;
  color: var(--text-body);
  max-width: 700px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 40px;
}

/* =============================================
   HERO (Warm Sand, No Gradient, No Shapes)
   ============================================= */
.hero-modern {
  min-height: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--bg-sand);
  padding: 120px 0 64px;
  position: relative;
  overflow: hidden;
}

/* Remove the old gradient pseudo-element */
.hero-modern::before {
  display: none;
}

.hero-modern__container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 48px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
}

.hero-modern__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-modern__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: var(--bg-cream-light);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-pill);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--text-body);
  margin-bottom: 32px;
  width: fit-content;
}

.hero-modern__title {
  font-size: clamp(40px, 5.5vw, 68px);
  font-weight: var(--weight-semibold);
  line-height: 1.08;
  color: var(--text-primary);
  margin-bottom: 32px;
  letter-spacing: -0.03em;
}

/* Title accent — weight + warm color for elegance */
.hero-modern__title-accent {
  font-weight: var(--weight-semibold);
  color: var(--accent-warm);
}

/* Remove the old mint underline decoration */
.hero-modern__title-accent::after {
  display: none;
}

.hero-modern__subtitle {
  font-size: var(--text-lg);
  line-height: 1.75;
  color: var(--text-body);
  margin-bottom: 32px;
  max-width: 600px;
}

/* Dark-background hero variant */
.hero-modern--dark {
  background: var(--bg-dark);
}

.hero-modern--dark .hero-modern__title {
  color: var(--text-on-dark);
}

.hero-modern--dark .hero-modern__title-accent {
  color: var(--accent-warm);
}

.hero-modern--dark .hero-modern__subtitle {
  color: rgba(245, 240, 232, 0.85);
}

.hero-modern--dark .hero-modern__badge {
  color: rgba(245, 240, 232, 0.7);
}

/* Dark hero button overrides — make buttons visible on dark bg */
.hero-modern--dark .btn--primary {
  background: var(--bg-cream);
  color: var(--bg-dark);
  border-color: var(--bg-cream);
}

.hero-modern--dark .btn--primary:hover {
  background: white;
  border-color: white;
}

.hero-modern--dark .btn--secondary {
  background: transparent;
  color: var(--text-on-dark);
  border-color: rgba(245, 240, 232, 0.4);
}

.hero-modern--dark .btn--secondary:hover {
  background: rgba(245, 240, 232, 0.1);
  color: white;
  border-color: rgba(245, 240, 232, 0.7);
}

/* Dark hero overrides for bullets (schools page) */
.hero-modern--dark .hero-modern__bullets li {
  color: rgba(245, 240, 232, 0.85);
}

.hero-modern--dark .hero-modern__bullets li::before {
  color: var(--accent-warm);
}

/* Dark hero overrides for stats bar (schools page) */
.hero-modern--dark .hero-modern__stats {
  background: rgba(245, 240, 232, 0.06);
}

.hero-modern--dark .hero-stat {
  border-right-color: rgba(245, 240, 232, 0.12);
}

.hero-modern--dark .hero-stat__number {
  color: var(--text-on-dark);
}

.hero-modern--dark .hero-stat__label {
  color: rgba(245, 240, 232, 0.6);
}

.hero-modern--dark .hero-stat__icon {
  color: var(--accent-warm);
}

.hero-modern__bullets {
  list-style: none;
  padding: 0;
  margin-bottom: 40px;
}

.hero-modern__bullets li {
  font-size: var(--text-base);
  line-height: 1.7;
  color: var(--text-body);
  padding: 6px 0 6px 28px;
  position: relative;
}

.hero-modern__bullets li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--accent-sage);
  font-weight: var(--weight-semibold);
}

.hero-modern__actions {
  display: flex;
  gap: 16px;
  margin-bottom: 64px;
  flex-wrap: wrap;
}

.hero-modern__stats {
  display: flex;
  justify-content: center;
  gap: 0;
  padding: 32px 48px;
  background: var(--bg-sand);
  border-radius: 12px;
  align-items: stretch;
  margin-top: 48px;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  text-align: center;
  flex: 1;
  padding: 0 32px;
  border-right: 1px solid rgba(0, 0, 0, 0.08);
}

.hero-stat:last-child {
  border-right: none;
}

.hero-stat__icon {
  width: 56px;
  height: 56px;
  color: var(--accent-warm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-stat__icon svg {
  width: 100%;
  height: 100%;
}

.hero-stat__number {
  font-size: var(--text-3xl);
  font-weight: var(--weight-semibold);
  color: var(--text-primary);
  line-height: 1;
}

.hero-stat__label {
  font-size: var(--text-xs);
  font-weight: var(--weight-medium);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Hero visual */
.hero-modern__visual {
  position: relative;
  height: 440px;
}

.hero-modern__image-placeholder {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-cream);
}

/* Hide the old animated shapes */
.shape {
  display: none;
}

/* =============================================
   BENEFIT CARDS
   ============================================= */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 64px;
}

.benefit-card {
  background: var(--bg-cream-light);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  transition: transform var(--transition), box-shadow var(--transition);
  border: 1px solid var(--border-light);
  position: relative;
  overflow: hidden;
}

/* Remove old gradient overlay */
.benefit-card::before {
  display: none;
}

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

.benefit-card--featured {
  background: var(--bg-sand);
  border-color: var(--border-medium);
}

/* Reset featured card from the old emerald gradient */
.benefit-card--featured .benefit-card__title,
.benefit-card--featured .benefit-card__text,
.benefit-card--featured .benefit-card__stat-label {
  color: inherit;
}

.benefit-card--featured .benefit-card__stat-number {
  color: var(--text-primary);
}

.benefit-card__icon {
  width: 56px;
  height: 56px;
  background: var(--bg-cream);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.benefit-card--featured .benefit-card__icon {
  background: rgba(0, 0, 0, 0.06);
}

.benefit-card__icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--text-primary);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.benefit-card--featured .benefit-card__icon svg {
  stroke: var(--text-primary);
}

.benefit-card__title {
  font-size: var(--text-xl);
  font-weight: var(--weight-semibold);
  color: var(--text-primary);
  margin-bottom: 12px;
  line-height: 1.3;
}

.benefit-card__text {
  font-size: var(--text-base);
  line-height: 1.65;
  color: var(--text-body);
  margin-bottom: 24px;
}

.benefit-card__stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 20px;
  border-top: 1px solid var(--border-light);
}

.benefit-card--featured .benefit-card__stat {
  border-top-color: var(--border-medium);
}

.benefit-card__stat-number {
  font-size: var(--text-3xl);
  font-weight: var(--weight-semibold);
  color: var(--text-primary);
  line-height: 1;
}

.benefit-card__stat-label {
  font-size: var(--text-xs);
  font-weight: var(--weight-medium);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Benefit card checklist */
.benefit-card__checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: var(--text-sm);
  line-height: 1.6;
}

.benefit-card__checklist li {
  padding: 4px 0 4px 24px;
  position: relative;
  color: var(--text-body);
}

.benefit-card--featured .benefit-card__checklist li {
  color: var(--text-body);
}

.benefit-card__checklist li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  font-weight: var(--weight-semibold);
  color: var(--accent-sage);
}

.benefit-card--featured .benefit-card__checklist li::before {
  color: var(--accent-warm);
}

/* Benefit card proof quote */
.benefit-card__proof {
  font-size: var(--text-sm);
  font-family: var(--font-sans);
  font-style: normal;
  line-height: 1.6;
  padding: 16px;
  background: rgba(0, 0, 0, 0.03);
  border-radius: var(--radius-md);
  border-left: 3px solid var(--accent-warm);
  color: var(--text-body);
  margin: 0;
}

.benefit-card--featured .benefit-card__proof {
  background: rgba(0, 0, 0, 0.04);
  border-left-color: var(--accent-warm);
  color: var(--text-body);
}

/* Benefit card trust badges row */
.benefit-card__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 16px;
}

.benefit-card__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--text-xs);
  font-weight: var(--weight-medium);
  color: var(--text-body);
  background: var(--bg-sand);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-medium);
}

.benefit-card--featured .benefit-card__badge {
  background: rgba(0, 0, 0, 0.05);
  color: var(--text-body);
  border-color: var(--border-medium);
}

.research-citation {
  text-align: center;
  padding: 28px 32px;
  background: var(--bg-sand);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
}

.research-citation p {
  font-size: var(--text-sm);
  font-style: italic;
  color: var(--text-muted);
  margin: 0;
}

/* =============================================
   APPROACH SECTION (How It Works)
   ============================================= */
.approach-section {
  padding: var(--space-section) 0;
  background: var(--bg-cream);
}

.approach-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 80px;
  align-items: start;
}

.approach-content {
  position: sticky;
  top: 120px;
}

.approach-intro {
  font-size: var(--text-lg);
  line-height: 1.65;
  color: var(--text-body);
  margin-top: 24px;
}

.approach-items {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.approach-item {
  display: flex;
  gap: 28px;
  padding: 32px;
  background: var(--bg-cream-light);
  border-radius: var(--radius-lg);
  transition: transform var(--transition), box-shadow var(--transition);
  border: 1px solid var(--border-light);
}

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

.approach-item__number {
  font-size: 40px;
  font-weight: var(--weight-semibold);
  color: var(--text-primary);
  opacity: 0.15;
  line-height: 1;
  flex-shrink: 0;
  min-width: 48px;
}

.approach-item__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--bg-sand);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--text-primary);
}

.approach-item__icon svg {
  width: 22px;
  height: 22px;
}

.approach-item__content h3 {
  font-size: var(--text-xl);
  font-weight: var(--weight-semibold);
  color: var(--text-primary);
  margin-bottom: 8px;
}

.approach-item__content p {
  font-size: var(--text-base);
  line-height: 1.7;
  color: var(--text-body);
  margin: 0;
}

/* =============================================
   PROGRAM CARDS (Modern Carousel Style)
   ============================================= */
.programs-preview {
  padding: var(--space-section) 0;
  background: var(--bg-cream-light);
}

.programs-carousel {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 64px;
}

.program-card {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  background: var(--bg-cream-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
  transition: transform var(--transition), box-shadow var(--transition);
}

.program-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  color: inherit;
}

.program-card__visual {
  height: 180px;
  position: relative;
  overflow: hidden;
}

.program-placeholder {
  width: 100%;
  height: 100%;
  position: relative;
}

/* Warm neutral tones for program placeholders */
.program-placeholder--chess {
  background: var(--bg-sand);
}

.program-placeholder--math {
  background: #E8DDD0;
}

.program-placeholder--logic {
  background: #DDE5DF;
}

.program-placeholder--speaking {
  background: #E0D8CE;
}

.program-placeholder::before {
  display: none;
}

.program-card__content {
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex-grow: 1;
}

.program-card__title {
  font-size: var(--text-xl);
  font-weight: var(--weight-semibold);
  color: var(--text-primary);
  margin: 0;
}

.program-card__subtitle {
  font-size: var(--text-xs);
  font-weight: var(--weight-medium);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0;
}

.program-card__description {
  font-size: var(--text-sm);
  line-height: 1.6;
  color: var(--text-body);
  flex-grow: 1;
  margin: 4px 0 0;
}

.program-card__link {
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--text-primary);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap var(--transition);
  margin-top: 8px;
}

.program-card:hover .program-card__link {
  gap: 8px;
}

.programs-cta {
  text-align: center;
}

/* =============================================
   OURA-STYLE SHOWCASE (Homepage Programs)
   ============================================= */
.programs-showcase {
  padding: var(--space-section) 0;
  background: var(--bg-cream-light);
}

.showcase-tabs {
  display: flex;
  gap: var(--space-lg);
  margin: var(--space-xl) 0;
  border-bottom: 1px solid var(--border-light);
  overflow-x: auto;
}

.showcase-tab {
  background: none;
  border: none;
  padding: var(--space-sm) 0 var(--space-md);
  font-family: var(--font-sans);
  font-size: var(--text-lg);
  font-weight: var(--weight-normal);
  color: var(--text-muted);
  cursor: pointer;
  white-space: nowrap;
  position: relative;
  transition: color var(--transition);
}

.showcase-tab::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--text-primary);
  transform: scaleX(0);
  transition: transform var(--transition);
}

.showcase-tab:hover {
  color: var(--text-body);
}

.showcase-tab.active {
  color: var(--text-primary);
  font-weight: var(--weight-medium);
}

.showcase-tab.active::after {
  transform: scaleX(1);
}

.showcase-panel {
  display: none;
  opacity: 0;
  transition: opacity var(--transition-slow);
}

.showcase-panel.active {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--space-xl);
  align-items: center;
  opacity: 1;
}

.showcase-panel__image {
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.showcase-panel__content h3 {
  font-size: var(--text-2xl);
  font-weight: var(--weight-semibold);
  margin-bottom: var(--space-sm);
}

.showcase-panel__meta {
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: var(--space-xs);
}

.showcase-panel__content p {
  font-size: var(--text-base);
  line-height: 1.7;
  color: var(--text-body);
  margin-bottom: var(--space-md);
}

/* =============================================
   TESTIMONIALS
   ============================================= */
.testimonials-section {
  padding: var(--space-section) 0;
  background: var(--bg-dark);
  color: var(--text-on-dark);
  position: relative;
  overflow: hidden;
}

.testimonials-section::before {
  display: none;
}

.testimonials-wrapper {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 80px;
  align-items: center;
  position: relative;
}

.testimonials-content .section-label {
  color: rgba(245, 240, 232, 0.5);
}

.testimonials-content .section-title {
  color: var(--text-on-dark);
  margin-bottom: 48px;
}

.testimonial-stat-card {
  padding: 32px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.stat-large__number {
  font-size: 56px;
  font-weight: var(--weight-semibold);
  color: var(--accent-warm);
  line-height: 1;
}

.stat-large__label {
  font-size: var(--text-base);
  font-weight: var(--weight-medium);
  color: rgba(245, 240, 232, 0.8);
  margin-left: 16px;
}

.stat-large__row {
  display: flex;
  align-items: baseline;
  margin-bottom: 16px;
}

.stat-large__text {
  font-size: var(--text-sm);
  line-height: 1.6;
  color: rgba(245, 240, 232, 0.6);
  margin: 0;
}

.testimonials-slider {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.testimonial-card {
  padding: 32px;
  background: var(--bg-cream-light);
  border-radius: var(--radius-lg);
  transition: transform var(--transition);
}

.testimonial-card:hover {
  transform: translateY(-2px);
}

.testimonial-card__quote {
  font-size: var(--text-base);
  line-height: 1.7;
  color: var(--text-body);
  margin-bottom: 24px;
  font-family: var(--font-sans);
  font-style: normal;
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 16px;
}

.testimonial-card__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--bg-sand);
}

.testimonial-card__name {
  font-size: var(--text-base);
  font-weight: var(--weight-semibold);
  color: var(--text-primary);
}

.testimonial-card__role {
  font-size: var(--text-sm);
  color: var(--text-muted);
}

/* =============================================
   TRUST INDICATORS
   ============================================= */
.trust-section {
  padding: 80px 0;
  background: var(--bg-cream-light);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.trust-item-modern {
  text-align: center;
  padding: 32px 20px;
  border-radius: var(--radius-lg);
  transition: all var(--transition);
}

.trust-item-modern:hover {
  background: var(--bg-sand);
}

.trust-item-modern__icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: var(--bg-sand);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: var(--text-primary);
  transition: all var(--transition);
}

.trust-item-modern:hover .trust-item-modern__icon {
  background: var(--text-primary);
  color: var(--bg-cream);
}

.trust-item-modern__icon svg {
  width: 24px;
  height: 24px;
}

.trust-item-modern__label {
  font-weight: var(--weight-semibold);
  font-size: var(--text-sm);
  color: var(--text-primary);
  margin-bottom: 4px;
}

.trust-item-modern__subtext {
  font-size: var(--text-xs);
  font-weight: var(--weight-normal);
  color: var(--text-muted);
  margin: 0;
}

/* =============================================
   PARENTS TEASER SECTION
   ============================================= */
.parents-teaser {
  padding: var(--space-section) 0;
  background: var(--bg-cream);
}

.parents-teaser__benefits {
  list-style: none;
  padding: 0;
  max-width: 800px;
  margin: 0 auto 48px;
}

.parents-teaser__benefits li {
  padding: 20px 0;
  border-bottom: 1px solid var(--border-light);
  font-size: var(--text-base);
  line-height: 1.7;
  color: var(--text-body);
}

.parents-teaser__benefits li:first-child {
  border-top: 1px solid var(--border-light);
}

.parents-teaser__benefits li strong {
  display: block;
  font-size: var(--text-lg);
  font-weight: var(--weight-semibold);
  color: var(--text-primary);
  margin-bottom: 4px;
}

.parents-teaser__cta {
  text-align: center;
}

/* =============================================
   FINAL CTA (Dark Background)
   ============================================= */
.final-cta-section {
  padding: var(--space-section) 0;
  background: var(--bg-dark);
  position: relative;
  overflow: hidden;
}

/* Remove old gradient pseudo-element */
.final-cta-section::before {
  display: none;
}

.final-cta__content {
  text-align: center;
  position: relative;
}

.final-cta__title {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: var(--weight-semibold);
  line-height: 1.1;
  color: var(--text-on-dark);
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.highlight {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--text-on-dark);
}

/* Remove old underline decoration */
.highlight::after {
  display: none;
}

.final-cta__subtitle {
  font-size: var(--text-xl);
  line-height: 1.5;
  color: rgba(245, 240, 232, 0.7);
  margin-bottom: 48px;
}

.final-cta__actions {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.final-cta__redirect {
  font-size: var(--text-sm);
  color: rgba(245, 240, 232, 0.5);
}

.final-cta__redirect a {
  color: var(--accent-warm);
  text-decoration: underline;
  font-weight: var(--weight-medium);
}

.final-cta__redirect a:hover {
  color: var(--text-on-dark);
}

/* =============================================
   FOOTER (Dark Near-Black)
   ============================================= */
.footer {
  background: var(--bg-dark);
  color: var(--text-on-dark);
  padding: var(--space-2xl) 0 var(--space-xl);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 64px;
  margin-bottom: 64px;
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer__logo {
  font-size: 22px;
  font-weight: var(--weight-semibold);
  color: var(--text-on-dark);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.footer__col h4 {
  color: var(--text-on-dark);
  font-size: var(--text-sm);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer__col a,
.footer__links a {
  display: block;
  color: rgba(245, 240, 232, 0.6);
  font-size: var(--text-sm);
  padding: 5px 0;
  transition: color var(--transition);
  text-decoration: none;
}

.footer__col a:hover,
.footer__links a:hover {
  color: var(--text-on-dark);
}

.footer__col p {
  font-size: var(--text-sm);
  line-height: 1.6;
  color: rgba(245, 240, 232, 0.6);
}

.footer__social {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.footer__social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(245, 240, 232, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  padding: 0;
}

.footer__social a:hover {
  background: rgba(245, 240, 232, 0.15);
  transform: translateY(-1px);
}

.footer__social svg {
  width: 18px;
  height: 18px;
  fill: var(--text-on-dark);
}

.footer__bottom {
  border-top: 1px solid rgba(245, 240, 232, 0.08);
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: var(--text-sm);
}

.footer__bottom a {
  color: rgba(245, 240, 232, 0.4);
  font-size: var(--text-sm);
}

.footer__badges {
  display: flex;
  gap: 24px;
  font-size: var(--text-xs);
  color: rgba(245, 240, 232, 0.35);
}

/* =============================================
   LEGACY COMPONENTS (Subpages)
   ============================================= */

/* Hero (legacy for subpages) */
.hero {
  padding: 120px 0 64px;
  min-height: auto;
  display: flex;
  align-items: center;
}

.hero--centered {
  text-align: center;
}

.hero--centered .hero__content {
  max-width: 780px;
  margin: 0 auto;
}

.hero__subtitle {
  font-size: var(--text-lg);
  line-height: 1.6;
  color: var(--text-body);
  margin-bottom: 40px;
  max-width: 640px;
}

.hero--centered .hero__subtitle {
  margin-left: auto;
  margin-right: auto;
}

.section--forest .hero__subtitle {
  color: rgba(245, 240, 232, 0.7);
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero--centered .hero__actions {
  justify-content: center;
}

.hero__image {
  width: 100%;
  max-width: 560px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

/* Grid layouts */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

/* Cards (legacy) */
.card {
  background: var(--bg-cream-light);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  border: 1px solid var(--border-light);
  transition: transform var(--transition), box-shadow var(--transition);
}

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

.card__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--bg-sand);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--text-primary);
}

.card__icon svg {
  width: 24px;
  height: 24px;
}

.card h3 {
  color: var(--text-primary);
  margin-bottom: 12px;
}

.card p {
  color: var(--text-body);
  font-size: var(--text-base);
  line-height: 1.65;
}

/* Trust indicators (legacy) */
.trust-item {
  text-align: center;
  padding: 32px 16px;
}

.trust-item__icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--bg-sand);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: var(--text-primary);
}

.trust-item__icon svg { width: 24px; height: 24px; }

.trust-item__label {
  font-weight: var(--weight-semibold);
  font-size: var(--text-sm);
  color: var(--text-primary);
}

/* Testimonials (legacy for subpages) */
.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.testimonial {
  background: rgba(255,255,255,0.06);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid rgba(255,255,255,0.08);
  border-left: 3px solid var(--accent-warm);
}

.testimonial__text {
  font-size: var(--text-base);
  line-height: 1.65;
  margin-bottom: 20px;
  font-family: var(--font-serif);
  font-style: italic;
  color: rgba(245, 240, 232, 0.9);
}

.testimonial__author {
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: rgba(245, 240, 232, 0.6);
}

.stat-callout {
  text-align: center;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(245, 240, 232, 0.1);
  font-size: var(--text-base);
  color: rgba(245, 240, 232, 0.7);
}

/* Program sections */
.program-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.program-block--reverse { direction: rtl; }
.program-block--reverse > * { direction: ltr; }

.program-block__image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--bg-sand);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
}

.program-block__image svg {
  width: 64px;
  height: 64px;
  opacity: 0.3;
}

.program-block__content h2 { margin-bottom: 24px; }
.program-block__content h4 { color: var(--text-primary); margin-top: 32px; }

.level-item {
  padding: 16px 0 16px 20px;
  border-left: 3px solid var(--accent-sage);
  margin-bottom: 16px;
}

.level-item strong {
  color: var(--text-primary);
  display: block;
  margin-bottom: 4px;
}

.level-item p {
  font-size: var(--text-base);
  color: var(--text-body);
  margin: 0;
}

.benefit-list {
  list-style: none;
  padding: 0;
}

.benefit-list li {
  padding: 6px 0 6px 28px;
  position: relative;
  font-size: var(--text-base);
  color: var(--text-body);
}

.benefit-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 14px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-sage);
}

/* Pricing */
.pricing-card {
  background: var(--bg-cream-light);
  border-radius: var(--radius-lg);
  padding: 48px;
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
  border: 1px solid var(--border-medium);
  transition: transform var(--transition), box-shadow var(--transition);
}

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

.grid-3 .pricing-card {
  max-width: none;
  text-align: left;
}

.pricing-card__price {
  font-size: 48px;
  font-weight: var(--weight-semibold);
  color: var(--text-primary);
  margin-bottom: 8px;
}

.pricing-card__period {
  font-size: var(--text-base);
  color: var(--text-muted);
  margin-bottom: 24px;
}

.pricing-card__features {
  text-align: left;
  list-style: none;
  padding: 0;
  margin: 32px 0;
}

.pricing-card__features li {
  padding: 10px 0 10px 32px;
  position: relative;
  font-size: var(--text-base);
  border-bottom: 1px solid var(--border-light);
}

.pricing-card__features li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--accent-sage);
  font-weight: var(--weight-semibold);
}

.pricing-note {
  text-align: center;
  margin-top: 24px;
  font-size: var(--text-sm);
  color: var(--text-muted);
}

/* FAQ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border-light);
}

.faq-item__question {
  width: 100%;
  background: none;
  border: none;
  padding: var(--space-md) 48px var(--space-md) 0;
  font-family: var(--font-sans);
  font-size: var(--text-lg);
  font-weight: var(--weight-medium);
  color: var(--text-primary);
  text-align: left;
  cursor: pointer;
  position: relative;
  transition: color var(--transition);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-item__question::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: var(--text-2xl);
  font-weight: var(--weight-light);
  color: var(--text-muted);
  transition: transform var(--transition);
}

.faq-item__question[aria-expanded="true"]::after {
  content: '\2212';
}

.faq-item__question:hover {
  color: var(--text-primary);
}

.faq-item__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq-item__answer.open {
  max-height: 500px;
  padding-bottom: var(--space-md);
}

.faq-item__answer p {
  font-size: var(--text-base);
  line-height: 1.7;
  color: var(--text-body);
}

/* Forms */
.form-group { margin-bottom: 24px; }

.form-group label {
  display: block;
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--text-primary);
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  font-family: var(--font-sans);
  font-size: var(--text-base);
  color: var(--text-primary);
  background: var(--bg-white);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--text-primary);
  box-shadow: 0 0 0 3px var(--focus-ring);
}

.form-group textarea { min-height: 140px; resize: vertical; }

.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-muted); }

.checkbox-group { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 8px; }

.checkbox-group label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: var(--weight-normal);
  cursor: pointer;
}

.checkbox-group input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--text-primary);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.contact-info h3 { margin-bottom: 24px; }
.contact-info__item { margin-bottom: 24px; }
.contact-info__item h4 { font-size: var(--text-base); margin-bottom: 4px; }
.contact-info__item p { font-size: var(--text-base); color: var(--text-body); }

/* CTA sections (legacy) */
.cta-section {
  text-align: center;
  padding: 80px 0;
}

.cta-section h2 { margin-bottom: 16px; }
.cta-section p { font-size: var(--text-lg); margin-bottom: 32px; }
.cta-section .hero__actions { justify-content: center; }
.section--sunflower .cta-section p { color: var(--text-body); }
.section--emerald .cta-section p { color: rgba(245, 240, 232, 0.7); }

/* Steps */
.steps { max-width: 700px; margin: 0 auto; counter-reset: step; }

.step {
  position: relative;
  padding-left: 80px;
  padding-bottom: 40px;
  border-left: 2px solid var(--border-medium);
  margin-left: 24px;
}

.step:last-child { border-left-color: transparent; padding-bottom: 0; }

.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: -21px;
  top: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--btn-dark);
  color: var(--text-on-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: var(--weight-semibold);
  font-size: var(--text-base);
}

.step h3 { margin-bottom: 8px; }
.step p { font-size: var(--text-base); color: var(--text-body); }

/* Checklist */
.checklist { list-style: none; padding: 0; }

.checklist li {
  padding: 8px 0 8px 32px;
  position: relative;
  font-size: var(--text-base);
}

.checklist li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--accent-sage);
  font-weight: var(--weight-semibold);
  font-size: var(--text-lg);
}

/* Program tagline */
.program-tagline {
  font-size: var(--text-lg);
  font-family: var(--font-sans);
  font-style: normal;
  color: var(--accent-warm);
  margin-bottom: 24px;
  font-weight: var(--weight-medium);
}

/* Pricing card extras */
.pricing-card__amount {
  font-size: 56px;
  font-weight: var(--weight-semibold);
  color: var(--text-primary);
  line-height: 1;
}

.pricing-card__details {
  margin: 24px 0;
}

.pricing-card__discounts {
  margin-top: 24px;
  padding: 20px;
  background: var(--bg-sand);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  line-height: 1.6;
}

.pricing-card__highlight {
  margin-top: 16px;
  padding: 16px 20px;
  background: var(--bg-sand);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--text-primary);
  text-align: center;
}

/* Step number (alternate step style) */
.step__number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--btn-dark);
  color: var(--text-on-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: var(--weight-semibold);
  font-size: var(--text-base);
  flex-shrink: 0;
  margin-bottom: 12px;
}

/* Arrow list */
.arrow-list {
  list-style: none;
  padding: 0;
}

.arrow-list li {
  padding: 6px 0 6px 24px;
  position: relative;
  font-size: var(--text-base);
  color: var(--text-body);
}

.arrow-list li::before {
  content: '\2192';
  position: absolute;
  left: 0;
  color: var(--accent-warm);
  font-weight: var(--weight-semibold);
}

/* Contact form */
.contact-form-wrapper {
  background: var(--bg-cream-light);
  border-radius: var(--radius-lg);
  padding: 40px;
  border: 1px solid var(--border-light);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Radio group */
.radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 8px;
}

.radio-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: var(--weight-normal);
  cursor: pointer;
  font-size: var(--text-base);
}

.radio-label input[type="radio"] {
  width: 18px;
  height: 18px;
  accent-color: var(--text-primary);
}

/* =============================================
   PROCESS TIMELINE (Horizontal Steps)
   ============================================= */
.process-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
  margin-top: 48px;
}

.process-timeline--5 {
  grid-template-columns: repeat(5, 1fr);
}

/* Connecting line between steps */
.process-timeline::before {
  content: '';
  position: absolute;
  top: 20px;
  left: calc(12.5% + 20px);
  right: calc(12.5% + 20px);
  height: 2px;
  background: var(--border-medium);
}

.process-timeline--5::before {
  left: calc(10% + 20px);
  right: calc(10% + 20px);
}

.process-timeline__step {
  text-align: center;
  position: relative;
}

.process-timeline__number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--btn-dark);
  color: var(--text-on-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: var(--weight-semibold);
  font-size: var(--text-sm);
  margin: 0 auto 16px;
  position: relative;
  z-index: 1;
}

.process-timeline__title {
  font-size: var(--text-base);
  font-weight: var(--weight-semibold);
  color: var(--text-primary);
  margin-bottom: 8px;
}

.process-timeline__text {
  font-size: var(--text-sm);
  color: var(--text-body);
  line-height: 1.6;
}

/* Dark section variant */
.section--forest .process-timeline__number,
.section--emerald .process-timeline__number {
  background: var(--accent-warm);
  color: var(--text-on-dark);
}

.section--forest .process-timeline::before,
.section--emerald .process-timeline::before {
  background: rgba(245, 240, 232, 0.2);
}

.section--forest .process-timeline__title,
.section--emerald .process-timeline__title {
  color: var(--text-on-dark);
}

.section--forest .process-timeline__text,
.section--emerald .process-timeline__text {
  color: rgba(245, 240, 232, 0.75);
}

/* ---- Program Selector (horizontal tab bar) ---- */
.program-selector {
  display: flex;
  gap: 0;
  margin-top: 48px;
  margin-bottom: 0;
  border-bottom: 2px solid var(--border-light);
}

.program-selector__tab {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 24px 16px;
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  position: relative;
  margin-bottom: -2px;
}

.program-selector__tab:hover {
  background: var(--bg-cream-light);
}

.program-selector__tab.active {
  border-bottom-color: var(--accent-warm);
  background: var(--bg-cream-light);
}

.program-selector__icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-sand);
  border-radius: 10px;
  color: var(--text-muted);
  transition: all var(--transition);
}

.program-selector__icon svg {
  width: 22px;
  height: 22px;
}

.program-selector__tab.active .program-selector__icon {
  background: var(--accent-warm);
  color: white;
}

.program-selector__name {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
}

.program-selector__ages {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Make program detail flush with selector */
.program-detail {
  margin-top: 0 !important;
  border-top: none !important;
}


/* =============================================
   PROGRAM CARDS GRID (Programs Page)
   ============================================= */
.program-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.program-card-new {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 2px solid var(--border-light);
  cursor: pointer;
  transition: all var(--transition);
  position: relative;
}

.program-card-new:hover {
  border-color: var(--accent-warm);
  box-shadow: var(--shadow-md);
}

.program-card-new.active {
  border-color: var(--accent-warm);
  background: var(--bg-white);
  box-shadow: var(--shadow-lg);
}

.program-card-new__icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: var(--bg-sand);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  overflow: hidden;
}

.program-card-new__icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.program-card-new__icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--accent-warm);
}

.program-card-new__title {
  font-size: var(--text-xl);
  font-weight: var(--weight-semibold);
  color: var(--text-primary);
  margin-bottom: 4px;
}

.program-card-new__tagline {
  font-size: var(--text-sm);
  color: var(--accent-warm);
  font-weight: var(--weight-medium);
  margin-bottom: 12px;
}

.program-card-new__excerpt {
  font-size: var(--text-sm);
  color: var(--text-body);
  line-height: 1.6;
  margin-bottom: 0;
}

.program-card-new__ages {
  display: inline-block;
  margin-top: 12px;
  padding: 4px 12px;
  background: var(--bg-sand);
  border-radius: var(--radius-pill);
  font-size: var(--text-xs);
  font-weight: var(--weight-medium);
  color: var(--text-muted);
}


/* =============================================
   PROGRAM DETAIL (Expandable Panel with Tabs)
   ============================================= */
.program-detail {
  margin-top: 48px;
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  overflow: hidden;
  display: none;
}

.program-detail.active {
  display: block;
  animation: fadeInUp 0.3s ease;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.program-detail__header {
  padding: 32px 40px 0;
  display: flex;
  align-items: center;
  gap: 24px;
}

.program-detail__header-title {
  font-size: var(--h3);
  font-weight: var(--weight-semibold);
  color: var(--text-primary);
  margin-bottom: 4px;
}

.program-detail__header-tagline {
  font-size: var(--text-base);
  color: var(--accent-warm);
  font-weight: var(--weight-medium);
}

.program-detail__tabs {
  display: flex;
  border-bottom: 1px solid var(--border-light);
  padding: 0 40px;
  margin-top: 24px;
  background: transparent;
  gap: 0;
  overflow-x: auto;
}

.program-detail__tab {
  padding: 14px 24px;
  background: none;
  border: none;
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--text-muted);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color var(--transition), border-color var(--transition);
  white-space: nowrap;
}

.program-detail__tab:hover {
  color: var(--text-primary);
}

.program-detail__tab.active {
  color: var(--text-primary);
  border-bottom-color: var(--accent-warm);
}

.program-detail__content {
  padding: 32px 40px 40px;
}

.program-detail__panel {
  display: none;
}

.program-detail__panel.active {
  display: block;
  animation: fadeInUp 0.25s ease;
}

.program-detail__panel h3 {
  font-size: var(--text-lg);
  font-weight: var(--weight-semibold);
  margin-bottom: 16px;
}

.program-detail__panel p {
  font-size: var(--text-base);
  color: var(--text-body);
  line-height: 1.7;
}

.program-detail__levels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 16px;
}

.program-detail__level {
  background: var(--bg-sand);
  border-radius: var(--radius-md);
  padding: 24px;
}

.program-detail__level h4 {
  font-size: var(--text-base);
  font-weight: var(--weight-semibold);
  color: var(--text-primary);
  margin-bottom: 8px;
}

.program-detail__level p {
  font-size: var(--text-sm);
  color: var(--text-body);
  line-height: 1.6;
}

.program-detail__benefits {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 16px;
}

.program-detail__benefits li {
  font-size: var(--text-sm);
  color: var(--text-body);
  padding-left: 24px;
  position: relative;
  line-height: 1.6;
}

.program-detail__benefits li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent-warm);
  font-weight: var(--weight-semibold);
}

.program-detail__session {
  margin-top: 24px;
  padding: 24px;
  background: var(--bg-sand);
  border-radius: var(--radius-md);
}

.program-detail__session h4 {
  font-size: var(--text-base);
  font-weight: var(--weight-semibold);
  margin-bottom: 8px;
}

.program-detail__cta {
  margin-top: 32px;
  text-align: center;
}


/* =============================================
   HERO OVERLAY (Oura-Style Image + Text)
   ============================================= */
.hero-overlay {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-overlay__image {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-overlay__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(26, 26, 26, 0.85) 0%,
    rgba(26, 26, 26, 0.6) 50%,
    rgba(26, 26, 26, 0.3) 100%
  );
  z-index: 1;
}

.hero-overlay .container {
  position: relative;
  z-index: 2;
}

.hero-overlay__content {
  max-width: 600px;
  padding: 80px 0;
}

.hero-overlay__content h1 {
  color: var(--text-on-dark);
  margin-bottom: 16px;
  font-size: var(--h1);
  font-weight: var(--weight-semibold);
  letter-spacing: -0.03em;
}

.hero-overlay__content .hero-modern__title-accent {
  color: var(--accent-warm);
}

.hero-overlay__content p {
  color: rgba(245, 240, 232, 0.85);
  font-size: var(--text-lg);
  line-height: 1.7;
  margin-bottom: 24px;
}

.hero-overlay__content .btn {
  margin-top: 8px;
}


/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1200px) {
  .hero-modern__container {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero-modern__visual {
    height: 420px;
    max-width: 600px;
    margin: 0 auto;
  }
}

@media (max-width: 1024px) {
  :root {
    --h1: 36px;
    --h2: 28px;
    --h3: 22px;
  }

  .nav__links { display: none; }
  .nav__hamburger { display: flex; }

  .container { padding: 0 24px; }
  .nav__inner { padding: 16px 24px; }

  .grid-3, .benefits-grid { grid-template-columns: 1fr; gap: 24px; }
  .grid-4, .trust-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }

  .testimonials { grid-template-columns: 1fr; gap: 24px; }

  .program-block,
  .program-block--reverse {
    grid-template-columns: 1fr;
    gap: 32px;
    direction: ltr;
  }

  .approach-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .approach-content { position: static; }

  .testimonials-wrapper {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .programs-carousel {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .approach-section,
  .programs-preview,
  .programs-showcase,
  .testimonials-section,
  .final-cta-section {
    padding: 96px 0;
  }

  .showcase-panel.active {
    grid-template-columns: 1fr;
  }

  /* Process timeline: 2 columns at tablet */
  .process-timeline {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 24px;
  }
  .process-timeline--5 {
    grid-template-columns: repeat(3, 1fr);
  }
  .process-timeline::before,
  .process-timeline--5::before {
    display: none;
  }

  /* Program detail levels: 2 columns at tablet */
  .program-detail__levels {
    grid-template-columns: repeat(2, 1fr);
  }

  .program-detail__tabs {
    padding: 0 24px;
  }
  .program-detail__content {
    padding: 24px;
  }
  .program-detail__header {
    padding: 24px 24px 0;
  }
}

@media (max-width: 768px) {
  :root {
    --h1: 32px;
    --h2: 26px;
    --h3: 20px;
    --body: 16px;
  }

  section { padding: 64px 0; }
  .hero { padding: 80px 0 64px; min-height: auto; }

  .hero-modern {
    padding: 100px 0 60px;
    min-height: auto;
  }

  .hero-modern__container { padding: 0 24px; }

  .hero-modern__actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-modern__actions .btn { width: 100%; }

  .hero-modern__stats {
    flex-direction: row;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
    padding: 0 24px !important;
  }

  .hero-stat {
    padding: 0 16px;
  }

  .hero-stat__icon {
    width: 40px;
    height: 40px;
  }

  .hero-stat__number { font-size: 24px; }

  .grid-2 { grid-template-columns: 1fr; gap: 32px; }

  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; }

  .programs-carousel {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .pricing-card { padding: 32px 24px; }

  .footer__grid { grid-template-columns: 1fr; gap: 32px; }

  .footer__bottom {
    flex-direction: column;
    text-align: center;
  }

  .footer__badges {
    justify-content: center;
    flex-wrap: wrap;
  }

  .final-cta__actions {
    flex-direction: column;
  }

  .final-cta__actions .btn {
    width: 100%;
  }

  .approach-section,
  .programs-preview,
  .programs-showcase,
  .testimonials-section,
  .final-cta-section {
    padding: 64px 0;
  }

  .showcase-tabs {
    gap: var(--space-md);
  }

  .showcase-tab {
    font-size: var(--text-base);
  }

  /* Process timeline: stack on mobile */
  .process-timeline,
  .process-timeline--5 {
    grid-template-columns: 1fr 1fr;
    gap: 24px 16px;
  }

  /* Program cards: stack on mobile */
  .program-cards-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .program-card-new {
    padding: 24px;
  }

  /* Program selector: 2x2 grid on mobile */
  .program-selector {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
  }

  .program-selector__tab {
    padding: 16px 12px;
  }

  .program-selector__name {
    font-size: 13px;
  }

  /* Program detail responsive */
  .program-detail__levels {
    grid-template-columns: 1fr;
  }
  .program-detail__benefits {
    grid-template-columns: 1fr;
  }
  .program-detail__tabs {
    padding: 0 16px;
    gap: 0;
  }
  .program-detail__tab {
    padding: 12px 16px;
    font-size: var(--text-xs);
  }
  .program-detail__content {
    padding: 20px 16px;
  }

  /* Hero overlay responsive */
  .hero-overlay {
    min-height: 400px;
  }
  .hero-overlay__content {
    padding: 60px 0;
  }
  .hero-overlay::after {
    background: linear-gradient(
      to top,
      rgba(26, 26, 26, 0.9) 0%,
      rgba(26, 26, 26, 0.7) 50%,
      rgba(26, 26, 26, 0.4) 100%
    );
  }
}

@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .grid-4, .trust-grid { grid-template-columns: 1fr; }
  .card { padding: 28px 24px; }
  .step { padding-left: 56px; }
  .hero-modern__visual { height: 300px; }
}

/* =============================================
   UTILITIES
   ============================================= */
.text-center { text-align: center; }
.text-left { text-align: left; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }

.sources-text {
  font-size: var(--text-sm);
  font-style: italic;
  color: var(--text-muted);
  margin-top: 24px;
}

/* UL inside faq-item__answer with data-lang */
.faq-item__answer[data-lang] {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq-item__answer[data-lang].open {
  max-height: 500px;
  padding-bottom: 24px;
}

/* Focus */
:focus-visible {
  outline: 2px solid var(--text-primary);
  outline-offset: 2px;
}

/* Honeypot */
.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
  overflow: hidden;
}

/* Form validation */
.form-group input:invalid:not(:placeholder-shown) { border-color: #C45A5A; }
.form-group input:valid:not(:placeholder-shown) { border-color: var(--accent-sage); }

/* =============================================
   STICKY HEADER CTA BAR
   ============================================= */
.sticky-cta {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: rgba(245, 240, 232, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
  padding: 10px 0;
  transform: translateY(-100%);
  transition: transform var(--transition);
}

.sticky-cta.is-visible {
  transform: translateY(0);
}

.sticky-cta__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.sticky-cta__text {
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--text-body);
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sticky-cta__btn {
  flex-shrink: 0;
  padding: 8px 24px;
  background: var(--btn-dark);
  color: white;
  border: none;
  border-radius: var(--radius-pill);
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  cursor: pointer;
  transition: all 200ms ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.sticky-cta__btn:hover {
  background: var(--btn-dark-hover);
  color: white;
  transform: translateY(-1px);
}

/* Push nav down when sticky CTA is visible */
.sticky-cta.is-visible ~ .nav {
  top: 52px;
}

@media (max-width: 768px) {
  .sticky-cta__inner {
    padding: 0 16px;
  }
  .sticky-cta__text {
    font-size: var(--text-xs);
  }
  .sticky-cta__btn {
    padding: 6px 14px;
    font-size: var(--text-xs);
  }
}

@media print {
  .sticky-cta { display: none; }
}

/* Print */
@media print {
  .nav, .footer, .btn, .lang-toggle { display: none; }
  body { font-size: 12pt; }
  section { padding: 24px 0; }
}
