/* ===== DESIGN TOKENS ===== */
:root {
  /* Type scale */
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.75vw, 1.5rem);
  --text-xl: clamp(1.5rem, 1.2rem + 1.25vw, 2.25rem);
  --text-2xl: clamp(2rem, 1.2rem + 2.5vw, 3.5rem);
  --text-3xl: clamp(2.5rem, 1rem + 4vw, 5rem);
  --text-hero: clamp(2.5rem, 0.5rem + 4.5vw, 5rem);

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Radius */
  --radius-sm: 0.25rem;
  --radius-md: 0.375rem;
  --radius-lg: 0.5rem;
  --radius-xl: 0.75rem;
  --radius-full: 9999px;

  /* Transitions */
  --transition-interactive: 220ms cubic-bezier(0.16, 1, 0.3, 1);

  /* Content widths */
  --content-narrow: 640px;
  --content-default: 1000px;
  --content-wide: 1240px;
  --content-full: 100%;

  /* Fonts */
  --font-display: 'Cormorant', 'Georgia', serif;
  --font-body: 'Work Sans', 'Helvetica Neue', sans-serif;
}

/* Light mode — Serene Bay palette: deep navy + warm ivory + muted gold */
:root,
[data-theme='light'] {
  --color-bg: #faf8f4;
  --color-surface: #ffffff;
  --color-surface-2: #f4f1ea;
  --color-surface-offset: #eeeae1;
  --color-surface-dynamic: #e6e1d4;
  --color-divider: #e2ddd0;
  --color-border: #d8d2c2;

  --color-text: #14213a;
  --color-text-muted: #5b6479;
  --color-text-faint: #9aa0af;
  --color-text-inverse: #faf8f4;

  --color-primary: #0d2247;
  --color-primary-hover: #1a3663;
  --color-primary-active: #081630;
  --color-primary-highlight: #dbe2ee;

  --color-accent: #a4823c;
  --color-accent-hover: #8a6c2f;
  --color-accent-highlight: #ebe0c6;

  --color-success: #3f6b4c;
  --color-warning: #96591f;

  --shadow-sm: 0 1px 2px oklch(0.2 0.02 250 / 0.06);
  --shadow-md: 0 6px 20px oklch(0.2 0.02 250 / 0.10);
  --shadow-lg: 0 16px 40px oklch(0.2 0.02 250 / 0.16);
}

[data-theme='dark'] {
  --color-bg: #0b1526;
  --color-surface: #10192c;
  --color-surface-2: #141f35;
  --color-surface-offset: #182440;
  --color-surface-dynamic: #1c2b4a;
  --color-divider: #223252;
  --color-border: #2b3d60;

  --color-text: #eae6db;
  --color-text-muted: #a9b0c2;
  --color-text-faint: #6f7a92;
  --color-text-inverse: #0b1526;

  --color-primary: #b9c6e0;
  --color-primary-hover: #d3dcee;
  --color-primary-active: #98a9cc;
  --color-primary-highlight: #223252;

  --color-accent: #d1b06a;
  --color-accent-hover: #e2c688;
  --color-accent-highlight: #2c2617;

  --color-success: #7fb08d;
  --color-warning: #d4924f;

  --shadow-sm: 0 1px 2px oklch(0 0 0 / 0.3);
  --shadow-md: 0 6px 20px oklch(0 0 0 / 0.35);
  --shadow-lg: 0 16px 40px oklch(0 0 0 / 0.45);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --color-bg: #0b1526;
    --color-surface: #10192c;
    --color-surface-2: #141f35;
    --color-surface-offset: #182440;
    --color-surface-dynamic: #1c2b4a;
    --color-divider: #223252;
    --color-border: #2b3d60;
    --color-text: #eae6db;
    --color-text-muted: #a9b0c2;
    --color-text-faint: #6f7a92;
    --color-text-inverse: #0b1526;
    --color-primary: #b9c6e0;
    --color-primary-hover: #d3dcee;
    --color-primary-active: #98a9cc;
    --color-primary-highlight: #223252;
    --color-accent: #d1b06a;
    --color-accent-hover: #e2c688;
    --color-accent-highlight: #2c2617;
    --shadow-sm: 0 1px 2px oklch(0 0 0 / 0.3);
    --shadow-md: 0 6px 20px oklch(0 0 0 / 0.35);
    --shadow-lg: 0 16px 40px oklch(0 0 0 / 0.45);
  }
}

/* ===== GLOBAL ELEMENTS ===== */

.container {
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: var(--space-6);
}
.container--narrow {
  max-width: var(--content-default);
}

h1, h2, h3, .font-display {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--color-primary);
  letter-spacing: 0.01em;
}
[data-theme='dark'] h1, [data-theme='dark'] h2, [data-theme='dark'] h3, [data-theme='dark'] .font-display {
  color: var(--color-text);
}

.eyebrow {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-accent);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
}
.eyebrow::before {
  content: '';
  width: 22px;
  height: 1px;
  background: var(--color-accent);
}

p { color: var(--color-text-muted); }

a { color: inherit; text-decoration: none; }

/* Skip link */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--color-primary);
  color: var(--color-text-inverse);
  padding: var(--space-2) var(--space-4);
  z-index: 200;
}
.skip-link:focus {
  left: var(--space-2);
  top: var(--space-2);
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.03em;
  border-radius: var(--radius-sm);
  min-height: 44px;
  white-space: nowrap;
}
.btn--primary {
  background: var(--color-primary);
  color: var(--color-text-inverse);
}
.btn--primary:hover {
  background: var(--color-primary-hover);
}
.btn--outline {
  background: transparent;
  border: 1px solid oklch(from var(--color-text-inverse) l c h / 0.6);
  color: var(--color-text-inverse);
}
.btn--outline:hover {
  background: oklch(from var(--color-text-inverse) l c h / 0.12);
}
.btn--ghost {
  background: transparent;
  border: 1px solid var(--color-border);
  color: var(--color-text);
}
.btn--ghost:hover {
  background: var(--color-surface-offset);
}
.btn--sm {
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-xs);
  min-height: 36px;
}

/* ===== HEADER ===== */
.topbar {
  background: var(--color-primary);
  color: var(--color-text-inverse);
  font-size: var(--text-xs);
}
.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: var(--space-2);
  gap: var(--space-4);
  flex-wrap: wrap;
}
.topbar a {
  color: var(--color-text-inverse);
  font-weight: 600;
}
.topbar__badges {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  font-size: var(--text-xs);
  color: oklch(from var(--color-text-inverse) l c h / 0.75);
}

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: oklch(from var(--color-bg) l c h / 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-divider);
  transition: box-shadow var(--transition-interactive);
}
.header.is-scrolled {
  box-shadow: var(--shadow-sm);
}
.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: var(--space-4);
  gap: var(--space-6);
}
.logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-shrink: 0;
}
.logo svg { color: var(--color-primary); }
[data-theme='dark'] .logo svg { color: var(--color-text); }
.logo-text {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  color: var(--color-text);
  letter-spacing: 0.04em;
  line-height: 1.1;
}
.logo-text small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.55em;
  letter-spacing: 0.22em;
  color: var(--color-accent);
  font-weight: 600;
}

.nav {
  display: flex;
  align-items: center;
  gap: var(--space-6);
}
.nav-list {
  display: flex;
  align-items: center;
  gap: var(--space-5);
  position: relative;
}
.nav-list > li {
  position: relative;
}
.nav-link {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text);
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  padding: var(--space-2) 0;
}
.nav-link:hover { color: var(--color-accent); }
.has-dropdown > .nav-link::after {
  content: '';
  width: 6px;
  height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  margin-top: -3px;
}
.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: var(--space-2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(4px);
  transition: opacity var(--transition-interactive), transform var(--transition-interactive), visibility var(--transition-interactive);
  z-index: 60;
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown a {
  display: block;
  padding: var(--space-2) var(--space-3);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  border-radius: var(--radius-sm);
}
.dropdown a:hover {
  background: var(--color-surface-offset);
  color: var(--color-text);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}
.theme-toggle {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  color: var(--color-text);
}
.theme-toggle:hover { background: var(--color-surface-offset); }

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  color: var(--color-text);
}

/* Mobile nav */
.mobile-nav {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  top: 84px;
  background: var(--color-bg);
  z-index: 55;
  overflow-y: auto;
  padding: var(--space-6);
}
.mobile-nav.is-open { display: block; }
.mobile-nav details {
  border-bottom: 1px solid var(--color-divider);
}
.mobile-nav summary {
  padding: var(--space-4) 0;
  font-family: var(--font-display);
  font-size: var(--text-lg);
  color: var(--color-text);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.mobile-nav summary::-webkit-details-marker { display: none; }
.mobile-nav a {
  display: block;
  padding: var(--space-2) 0;
  color: var(--color-text-muted);
  font-size: var(--text-sm);
}
.mobile-nav > a {
  padding: var(--space-4) 0;
  font-family: var(--font-display);
  font-size: var(--text-lg);
  color: var(--color-text);
  border-bottom: 1px solid var(--color-divider);
}
.mobile-nav__cta { margin-top: var(--space-6); }
.mobile-nav__cta .btn--primary { color: #fff; }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: flex-end;
  color: var(--color-text-inverse);
  overflow: hidden;
}
.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, oklch(0.12 0.03 250 / 0.15) 0%, oklch(0.1 0.03 250 / 0.55) 65%, oklch(0.08 0.03 250 / 0.85) 100%);
  z-index: 1;
}
.hero__content {
  position: relative;
  z-index: 2;
  padding-block: var(--space-24) var(--space-16);
  max-width: 780px;
}
.hero .eyebrow { color: var(--color-accent); }
.hero h1 {
  font-size: var(--text-hero);
  color: #fff;
  margin-top: var(--space-4);
  margin-bottom: var(--space-5);
}
.hero p {
  font-size: var(--text-lg);
  color: oklch(1 0 0 / 0.85);
  margin-bottom: var(--space-8);
  max-width: 56ch;
}
.hero__actions {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
}

/* Interior page hero (shorter) */
.page-hero {
  position: relative;
  min-height: 46vh;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
}
.page-hero img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0;
}
.page-hero::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, oklch(0.1 0.03 250 / 0.55), oklch(0.08 0.03 250 / 0.8));
  z-index: 1;
}
.page-hero__content { position: relative; z-index: 2; padding-block: var(--space-20) var(--space-12); }
.page-hero h1 { color: #fff; font-size: var(--text-2xl); margin-top: var(--space-4); }
.page-hero p { color: oklch(1 0 0 / 0.82); max-width: 60ch; margin-top: var(--space-3); font-size: var(--text-base); }
.breadcrumb { font-size: var(--text-xs); color: oklch(1 0 0 / 0.7); display: flex; gap: var(--space-2); align-items: center; }
.breadcrumb a { color: oklch(1 0 0 / 0.9); }
.breadcrumb a:hover { color: var(--color-accent); }

/* ===== SECTIONS ===== */
section { padding-block: clamp(var(--space-16), 8vw, var(--space-24)); }
.section-tight { padding-block: clamp(var(--space-10), 5vw, var(--space-16)); }
.section-alt { background: var(--color-surface-2); }
.section-dark {
  background: var(--color-primary);
  color: var(--color-text-inverse);
}
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark p { color: oklch(1 0 0 / 0.75); }

.section-head {
  max-width: 680px;
  margin-bottom: var(--space-12);
}
.section-head h2 {
  font-size: var(--text-2xl);
  margin-top: var(--space-4);
}
.section-head--center {
  margin-inline: auto;
  text-align: center;
}
.section-head--center .eyebrow { justify-content: center; }
.section-head--center .eyebrow::before { display: none; }

/* Intro / two-column text-image */
.intro-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--space-16);
  align-items: start;
}
.intro-grid .lede {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  color: var(--color-text);
  margin-bottom: var(--space-6);
}
.intro-grid p + p { margin-top: var(--space-4); }
.intro-media {
  display: grid;
  gap: var(--space-4);
}
.intro-media img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.stat-badge {
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  display: flex;
  align-items: center;
  gap: var(--space-4);
  box-shadow: var(--shadow-sm);
}
.stat-badge__icon {
  width: 44px;
  height: 44px;
  color: var(--color-accent);
  flex-shrink: 0;
}
.stat-badge strong {
  display: block;
  font-family: var(--font-display);
  font-size: var(--text-lg);
  color: var(--color-text);
}
.stat-badge span {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

/* Insurance strip */
.logo-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-10);
  flex-wrap: wrap;
  opacity: 0.85;
}
.logo-strip span {
  font-family: var(--font-display);
  font-size: var(--text-base);
  color: var(--color-text-muted);
  letter-spacing: 0.02em;
  white-space: nowrap;
}

/* Program feature list (avoid 3-col AI grid: use asymmetric layout) */
.feature-row {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: var(--space-10);
  align-items: center;
  padding-block: var(--space-10);
  border-bottom: 1px solid var(--color-divider);
}
.feature-row:first-of-type { padding-top: 0; }
.feature-row:last-of-type { border-bottom: none; }
.feature-row:nth-of-type(even) .feature-row__media { order: 2; }
.feature-row__media img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  aspect-ratio: 4/3;
  object-fit: cover;
}
.feature-row__num {
  font-family: var(--font-display);
  font-size: var(--text-xs);
  color: var(--color-accent);
  letter-spacing: 0.1em;
}
.feature-row h3 {
  font-size: var(--text-xl);
  margin-top: var(--space-2);
  margin-bottom: var(--space-3);
}
.feature-row__list {
  margin-top: var(--space-4);
  display: grid;
  gap: var(--space-2);
}
.feature-row__list li {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  display: flex;
  gap: var(--space-2);
  align-items: baseline;
}
.feature-row__list li::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--color-accent);
  flex-shrink: 0;
  margin-top: 0.5em;
}

/* Program cards (used on landing pages, kept asymmetric) */
.program-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr));
  gap: var(--space-6);
}
.program-card {
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: var(--shadow-sm);
}
.program-card:hover { box-shadow: var(--shadow-md); }
.program-card__icon { width: 32px; height: 32px; color: var(--color-accent); margin-bottom: var(--space-4); }
.program-card h3 { font-size: var(--text-lg); margin-bottom: var(--space-2); }
.program-card p { font-size: var(--text-sm); }
.program-card a {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  margin-top: var(--space-4);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-primary);
}
[data-theme='dark'] .program-card a { color: var(--color-accent); }

/* Locations */
.location-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: var(--space-8);
}
.location-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-surface);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-divider);
}
.location-card img { aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.location-card__body { padding: var(--space-6); }
.location-card h3 { font-size: var(--text-lg); margin-bottom: var(--space-1); }
.location-card__addr { font-size: var(--text-xs); color: var(--color-accent); letter-spacing: 0.04em; margin-bottom: var(--space-3); text-transform: uppercase; }
.location-card p { font-size: var(--text-sm); margin-bottom: var(--space-4); }

/* Stats band */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: var(--space-8);
  text-align: left;
}
.stats-grid dt {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  color: var(--color-accent);
  line-height: 1;
}
.stats-grid dd {
  margin-top: var(--space-2);
  font-size: var(--text-sm);
  color: oklch(1 0 0 / 0.75);
  letter-spacing: 0.02em;
}

/* Testimonials */
.testimonial-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}
.testimonial-wrap img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  aspect-ratio: 4/3;
  object-fit: cover;
}
.stars { color: var(--color-accent); font-size: var(--text-base); letter-spacing: 0.1em; margin-bottom: var(--space-4); }
blockquote {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  color: var(--color-text);
  margin-bottom: var(--space-4);
}
.testimonial-cite { font-size: var(--text-sm); color: var(--color-text-muted); font-weight: 600; }
.testimonial-nav { display: flex; gap: var(--space-3); margin-top: var(--space-8); }
.testimonial-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--color-border);
}
.testimonial-dot.is-active { background: var(--color-accent); }

/* Admissions steps */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
  gap: var(--space-8);
}
.step { position: relative; padding-top: var(--space-10); }
.step__num {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  color: var(--color-accent);
  position: absolute;
  top: 0; left: 0;
}
.step h3 { font-size: var(--text-base); margin-bottom: var(--space-2); }
.step p { font-size: var(--text-sm); }

/* CTA banner */
.cta-banner {
  background: var(--color-primary);
  color: #fff;
  border-radius: var(--radius-xl);
  padding: clamp(var(--space-10), 6vw, var(--space-16));
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-8);
  flex-wrap: wrap;
}
.cta-banner h2 { color: #fff; font-size: var(--text-xl); margin-bottom: var(--space-2); }
.cta-banner p { color: oklch(1 0 0 / 0.75); }

/* Forms */
.form-card {
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  box-shadow: var(--shadow-md);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}
.form-grid .full { grid-column: 1 / -1; }
.field { display: grid; gap: var(--space-2); }
.field label { font-size: var(--text-xs); font-weight: 600; color: var(--color-text-muted); letter-spacing: 0.03em; text-transform: uppercase; }
.field input, .field select, .field textarea {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: var(--space-3);
  background: var(--color-bg);
  font-size: var(--text-sm);
  min-height: 44px;
}
.field textarea { min-height: 100px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--color-primary);
}
.form-disclaimer { font-size: var(--text-xs); color: var(--color-text-faint); margin-top: var(--space-4); }
.form-msg { display: none; padding: var(--space-3); border-radius: var(--radius-sm); font-size: var(--text-sm); margin-top: var(--space-4); }
.form-msg.is-visible { display: block; }
.form-msg--success { background: var(--color-accent-highlight); color: var(--color-text); }

/* Staff / team grid */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(220px, 100%), 1fr));
  gap: var(--space-8);
}
.team-card img { border-radius: var(--radius-lg); aspect-ratio: 3/4; object-fit: cover; margin-bottom: var(--space-4); }
.team-card h3 { font-size: var(--text-base); margin-bottom: var(--space-1); }
.team-card__role { font-size: var(--text-xs); color: var(--color-accent); text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: var(--space-2); }
.team-card p { font-size: var(--text-sm); }

/* Blog grid */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr));
  gap: var(--space-8);
}
.blog-card img { border-radius: var(--radius-lg); aspect-ratio: 16/10; object-fit: cover; margin-bottom: var(--space-4); }
.blog-card__meta { font-size: var(--text-xs); color: var(--color-accent); text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: var(--space-2); }
.blog-card h3 { font-size: var(--text-lg); margin-bottom: var(--space-2); }

/* Footer */
.footer {
  background: var(--color-primary);
  color: oklch(1 0 0 / 0.75);
  padding-block: var(--space-16) var(--space-8);
}
.footer h4 { color: #fff; font-family: var(--font-body); font-size: var(--text-xs); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: var(--space-4); font-weight: 600; }
.footer a { color: oklch(1 0 0 / 0.72); font-size: var(--text-sm); }
.footer a:hover { color: var(--color-accent); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr;
  gap: var(--space-8);
  padding-bottom: var(--space-12);
  border-bottom: 1px solid oklch(1 0 0 / 0.14);
}
.footer-grid ul { display: grid; gap: var(--space-2); }
.footer-brand p { color: oklch(1 0 0 / 0.65); font-size: var(--text-sm); margin-top: var(--space-4); max-width: 32ch; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-8);
  flex-wrap: wrap;
  gap: var(--space-4);
  font-size: var(--text-xs);
}
.footer-badges { display: flex; gap: var(--space-4); align-items: center; opacity: 0.8; }
.disclaimer-bar {
  background: var(--color-text);
  color: oklch(1 0 0 / 0.7);
  font-size: var(--text-xs);
  text-align: center;
  padding: var(--space-3);
}
.disclaimer-bar a { color: #fff; font-weight: 600; }

/* Chat bubble */
.chat-fab {
  position: fixed;
  bottom: var(--space-6);
  right: var(--space-6);
  z-index: 60;
  background: var(--color-primary);
  color: #fff;
  border-radius: var(--radius-full);
  padding: var(--space-3) var(--space-5);
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: 600;
  box-shadow: var(--shadow-lg);
}
.chat-fab:hover { background: var(--color-primary-hover); }

/* Accreditation row */
.accred-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-10);
  flex-wrap: wrap;
}
.accred-item { text-align: center; max-width: 140px; }
.accred-item svg { color: var(--color-accent); width: 40px; height: 40px; margin-inline: auto; margin-bottom: var(--space-2); }
.accred-item span { font-size: var(--text-xs); color: var(--color-text-muted); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .nav-list, .header-actions .btn { display: none; }
  .menu-toggle { display: inline-flex; }
  .intro-grid, .testimonial-wrap { grid-template-columns: 1fr; gap: var(--space-10); }
  .feature-row { grid-template-columns: 1fr; }
  .feature-row:nth-of-type(even) .feature-row__media { order: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--space-8) var(--space-6); }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .topbar__badges { display: none; }
  .topbar .container { justify-content: center; text-align: center; }
  .hero { min-height: 88vh; }
  .hero__content { padding-block: var(--space-16) var(--space-10); }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { width: 100%; white-space: normal; text-align: center; }
  .chat-fab { bottom: var(--space-20); }
  .form-grid { grid-template-columns: 1fr; }
  .cta-banner { flex-direction: column; align-items: flex-start; text-align: left; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .accred-row { gap: var(--space-6); }
}
