/* ==========================================================================
   MyCMMC.org — Main Stylesheet
   Custom design system: Navy/Steel Blue/Amber palette
   DM Sans body + Instrument Serif display
   ========================================================================== */

/* ==========================================================================
   1. CSS Custom Properties (Design Tokens)
   ========================================================================== */

:root {
  /* Brand Colors */
  --navy: #1B2A4A;
  --navy-dark: #0F1A2E;
  --steel-blue: #4A7FB5;
  --steel-blue-light: #6A99CC;
  --amber: #D4920B;
  --amber-hover: #B97B08;
  --amber-light: #F5A823;

  /* Light Mode */
  --color-bg: #FFFFFF;
  --color-bg-alt: #F7F8FA;
  --color-surface: #FFFFFF;
  --color-border: #E2E4E9;
  --color-text: #1A1A2E;
  --color-text-muted: #5A6580;
  --color-text-light: #8A94A8;
  --color-navy-bg: var(--navy);

  /* Header */
  --header-bg: rgba(255, 255, 255, 0.95);
  --header-border: rgba(226, 228, 233, 0.8);

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.08), 0 2px 6px rgba(0,0,0,0.04);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.10), 0 4px 12px rgba(0,0,0,0.05);

  /* Spacing */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;
  --space-24: 96px;
  --space-32: 128px;

  /* Section padding */
  --section-py: clamp(64px, 8vw, 120px);

  /* Typography */
  --font-sans: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-serif: 'Instrument Serif', Georgia, 'Times New Roman', serif;

  /* Font sizes */
  --text-xs: 0.75rem;     /* 12px */
  --text-sm: 0.875rem;    /* 14px */
  --text-base: 1rem;      /* 16px */
  --text-md: 1.0625rem;   /* 17px */
  --text-lg: 1.125rem;    /* 18px */
  --text-xl: 1.25rem;     /* 20px */
  --text-2xl: 1.5rem;     /* 24px */
  --text-3xl: 1.875rem;   /* 30px */
  --text-4xl: 2.25rem;    /* 36px */
  --text-5xl: 2.75rem;    /* 44px */
  --text-6xl: 3.5rem;     /* 56px */
  --text-hero: clamp(2.5rem, 5vw, 3.75rem); /* 40-60px */

  /* Radii */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.16, 1, 0.3, 1);
  --transition-base: 250ms cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 400ms cubic-bezier(0.16, 1, 0.3, 1);

  /* Container */
  --container-max: 1140px;
  --container-px: clamp(20px, 5vw, 60px);
}

/* Dark Mode */
[data-theme="dark"] {
  --color-bg: #0F1A2E;
  --color-bg-alt: #1A1F2E;
  --color-surface: #1E2640;
  --color-border: #2A3550;
  --color-text: #E8ECF4;
  --color-text-muted: #8A9BBE;
  --color-text-light: #5A6B8E;
  --color-navy-bg: #0A1220;

  --header-bg: rgba(15, 26, 46, 0.97);
  --header-border: rgba(42, 53, 80, 0.8);

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.25), 0 1px 2px rgba(0,0,0,0.15);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.30), 0 2px 6px rgba(0,0,0,0.15);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.40), 0 4px 12px rgba(0,0,0,0.20);
}


/* ==========================================================================
   2. Reset & Base
   ========================================================================== */

*, *::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-md);
  line-height: 1.7;
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  transition: background-color var(--transition-slow), color var(--transition-slow);
}

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

a {
  color: var(--steel-blue);
  text-decoration: none;
  transition: color var(--transition-fast), opacity var(--transition-fast);
}

a:hover {
  color: var(--steel-blue-light);
}

a:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
  border-radius: 3px;
}

ul {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  line-height: 1.2;
  color: var(--color-text);
  font-family: var(--font-serif);
  font-weight: 400;
}

h1 { font-size: var(--text-hero); }
h2 { font-size: var(--text-4xl); }
h3 { font-size: var(--text-2xl); }
h4 { font-size: var(--text-lg); font-family: var(--font-sans); font-weight: 600; }

p {
  max-width: 68ch;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* ==========================================================================
   3. Layout
   ========================================================================== */

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-px);
}

/* ==========================================================================
   4. Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-sans);
  font-weight: 600;
  letter-spacing: -0.01em;
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
}

.btn:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
}

/* Sizes */
.btn-sm  { font-size: var(--text-sm); padding: 9px 18px; }
.btn-md  { font-size: var(--text-base); padding: 12px 24px; }
.btn-lg  { font-size: var(--text-base); padding: 14px 28px; }
.btn-xl  { font-size: var(--text-lg); padding: 18px 40px; border-radius: var(--radius-lg); }

/* Amber / CTA */
.btn-amber, .btn-cta {
  background: var(--amber);
  color: #FFFFFF;
  border: 2px solid var(--amber);
}
.btn-amber:hover, .btn-cta:hover {
  background: var(--amber-hover);
  border-color: var(--amber-hover);
  color: #FFFFFF;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(212,146,11,0.30);
}

/* Ghost (outline on dark bg) */
.btn-ghost {
  background: transparent;
  color: rgba(255,255,255,0.9);
  border: 2px solid rgba(255,255,255,0.3);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.5);
  color: white;
}

/* Outline (on light bg) */
.btn-outline {
  background: transparent;
  color: var(--steel-blue);
  border: 2px solid var(--steel-blue);
}
.btn-outline:hover {
  background: var(--steel-blue);
  color: white;
  transform: translateY(-1px);
}

/* Amber outline (for featured cards on dark bg) */
.btn-amber-outline {
  background: transparent;
  color: var(--amber);
  border: 2px solid var(--amber);
}
.btn-amber-outline:hover {
  background: var(--amber);
  color: white;
}

.btn-mobile {
  display: block;
  text-align: center;
  margin-top: var(--space-4);
}


/* ==========================================================================
   5. Navigation / Header
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--header-bg);
  border-bottom: 1px solid var(--header-border);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: box-shadow var(--transition-base), background var(--transition-slow);
}

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

.header-inner {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  height: 68px;
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  color: var(--color-text);
  transition: opacity var(--transition-fast);
}

.logo:hover { opacity: 0.85; }
.logo-svg { height: 30px; width: auto; }

.main-nav {
  flex: 1;
  display: flex;
  justify-content: center;
}

.main-nav ul {
  display: flex;
  gap: var(--space-2);
  align-items: center;
}

.main-nav a {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-muted);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  transition: color var(--transition-fast), background var(--transition-fast);
}

.main-nav a:hover {
  color: var(--color-text);
  background: var(--color-bg-alt);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-shrink: 0;
}

.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  color: var(--color-text-muted);
  transition: color var(--transition-fast), background var(--transition-fast);
}

.theme-toggle:hover {
  background: var(--color-bg-alt);
  color: var(--color-text);
}

.theme-toggle:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 2px;
}

.theme-toggle svg { width: 18px; height: 18px; }

[data-theme="light"] .icon-moon { display: none; }
[data-theme="dark"] .icon-sun { display: none; }

/* Mobile menu toggle */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 38px;
  height: 38px;
  padding: 6px;
  border-radius: var(--radius-sm);
  transition: background var(--transition-fast);
}

.mobile-menu-toggle:hover {
  background: var(--color-bg-alt);
}

.mobile-menu-toggle span {
  display: block;
  height: 2px;
  background: var(--color-text);
  border-radius: 1px;
  transition: all var(--transition-fast);
}

.mobile-menu-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.mobile-menu-toggle.open span:nth-child(2) {
  opacity: 0;
}
.mobile-menu-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile nav dropdown */
.mobile-nav {
  display: none;
  border-top: 1px solid var(--color-border);
  background: var(--header-bg);
  padding: var(--space-4) var(--container-px) var(--space-6);
}

.mobile-nav.open {
  display: block;
}

.mobile-nav ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.mobile-nav a {
  display: block;
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--color-text-muted);
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--color-border);
}

.mobile-nav a:hover { color: var(--color-text); }


/* ==========================================================================
   6. Hero Section
   ========================================================================== */

.hero {
  position: relative;
  background: var(--navy);
  color: white;
  padding: clamp(72px, 10vw, 120px) 0 clamp(48px, 6vw, 80px);
  overflow: hidden;
}

[data-theme="dark"] .hero {
  background: var(--navy-dark);
}

.hero-pattern {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-pattern svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: rgba(212, 146, 11, 0.15);
  color: var(--amber-light);
  border: 1px solid rgba(212, 146, 11, 0.3);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: var(--space-6);
}

.hero h1 {
  font-family: var(--font-serif);
  font-size: var(--text-hero);
  color: white;
  line-height: 1.12;
  max-width: 800px;
  margin-bottom: var(--space-6);
  letter-spacing: -0.01em;
}

.hero-sub {
  font-size: var(--text-lg);
  color: rgba(255,255,255,0.92);
  max-width: 620px;
  line-height: 1.65;
  margin-bottom: var(--space-3);
  font-weight: 500;
}

.hero-sub-secondary {
  font-size: var(--text-base);
  color: rgba(255,255,255,0.6);
  max-width: 600px;
  line-height: 1.6;
  margin-bottom: var(--space-10);
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-bottom: var(--space-10);
}

/* Trust bar */
.trust-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.55);
  padding-top: var(--space-8);
  border-top: 1px solid rgba(255,255,255,0.1);
}

.trust-bar span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.trust-sep {
  color: rgba(255,255,255,0.2);
}


/* ==========================================================================
   7. Section Backgrounds
   ========================================================================== */

.section-white {
  background: var(--color-bg);
  padding: var(--section-py) 0;
}

.section-gray {
  background: var(--color-bg-alt);
  padding: var(--section-py) 0;
}

.section-navy {
  background: var(--navy);
  padding: var(--section-py) 0;
  color: white;
}

[data-theme="dark"] .section-navy {
  background: var(--navy-dark);
}

.section-title {
  font-family: var(--font-serif);
  font-size: var(--text-4xl);
  color: var(--color-text);
  text-align: center;
  margin-bottom: var(--space-10);
}

.section-sub {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  line-height: 1.65;
}

.section-sub--light {
  color: rgba(255,255,255,0.7);
}

.value-header {
  text-align: center;
  margin-bottom: var(--space-16);
}

.value-header h2 {
  margin-bottom: var(--space-4);
}

.value-header .section-sub {
  margin: 0 auto;
  max-width: 60ch;
}


/* ==========================================================================
   8. Problem Section
   ========================================================================== */

.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
  margin-bottom: var(--space-16);
}

.problem-card {
  padding: var(--space-8);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition-base), transform var(--transition-base);
}

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

.problem-icon {
  margin-bottom: var(--space-5);
}

.problem-icon svg {
  width: 48px;
  height: 48px;
}

.problem-card h3 {
  font-family: var(--font-sans);
  font-size: var(--text-lg);
  font-weight: 600;
  margin-bottom: var(--space-3);
  color: var(--color-text);
}

.problem-card p {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  max-width: none;
}

.problem-closer {
  text-align: center;
  font-family: var(--font-serif);
  font-size: var(--text-3xl);
  color: var(--color-text);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.3;
}

[data-theme="dark"] .problem-icon svg path[stroke="#1B2A4A"],
[data-theme="dark"] .problem-icon svg text[fill="#1B2A4A"] {
  stroke: rgba(255,255,255,0.7);
  fill: rgba(255,255,255,0.7);
}

/* ==========================================================================
   9. Three Paths
   ========================================================================== */

.paths-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.path-card {
  padding: var(--space-10) var(--space-10);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  transition: box-shadow var(--transition-base), transform var(--transition-base);
}

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

.path-card--featured {
  background: var(--navy);
  border-color: var(--navy);
  color: white;
}

[data-theme="dark"] .path-card--featured {
  background: #1E2E52;
  border-color: var(--steel-blue);
}

.path-card--featured h3,
.path-card--featured p {
  color: white;
}

.path-card--featured p {
  color: rgba(255,255,255,0.8);
}

.path-card--featured .path-label {
  color: rgba(255,255,255,0.55);
}

.path-icon {
  width: 44px;
  height: 44px;
}

.path-icon svg {
  width: 100%;
  height: 100%;
}

.path-label {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--steel-blue);
}

.path-card h3 {
  font-family: var(--font-sans);
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--color-text);
  line-height: 1.3;
}

.path-card p {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  flex: 1;
  max-width: none;
}

.path-card .btn {
  align-self: flex-start;
  margin-top: var(--space-2);
}


/* ==========================================================================
   10. Value / Pricing Comparison
   ========================================================================== */

.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 60px 1fr;
  gap: 0;
  margin-bottom: var(--space-12);
  align-items: start;
}

.comparison-col {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.comparison-col--consultant {
  border: 1px solid var(--color-border);
}

.comparison-col--mycmmc {
  border: 2px solid var(--steel-blue);
}

.comparison-header {
  padding: var(--space-7) var(--space-8) var(--space-5);
  border-bottom: 1px solid var(--color-border);
}

.comparison-col--mycmmc .comparison-header {
  background: rgba(74,127,181,0.05);
  border-bottom-color: rgba(74,127,181,0.2);
}

[data-theme="dark"] .comparison-col--mycmmc .comparison-header {
  background: rgba(74,127,181,0.08);
}

.comparison-badge {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 100px;
  margin-bottom: var(--space-3);
}

.comparison-badge--consultant {
  background: var(--color-bg-alt);
  color: var(--color-text-muted);
}

.comparison-badge--mycmmc {
  background: rgba(74,127,181,0.12);
  color: var(--steel-blue);
}

.comparison-header h3 {
  font-family: var(--font-sans);
  font-size: var(--text-xl);
  font-weight: 700;
  margin-bottom: var(--space-2);
}

.comparison-note {
  font-size: var(--text-sm);
  color: var(--color-text-light);
  max-width: none;
}

.comparison-items {
  padding: var(--space-6) var(--space-8);
  background: var(--color-surface);
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.comparison-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: var(--space-5);
  border-bottom: 1px solid var(--color-border);
  gap: var(--space-4);
}

.comparison-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.comparison-item--total {
  font-weight: 600;
}

.item-name {
  font-size: var(--text-base);
  color: var(--color-text);
}

.item-price {
  font-size: var(--text-base);
  font-weight: 700;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.item-price--high {
  color: var(--color-text-muted);
}

.item-price--low {
  color: var(--steel-blue);
}

.comparison-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 80px;
}

.vs-badge {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-bg-alt);
  border: 2px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-text-muted);
}

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

.value-note {
  margin-top: var(--space-4);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  max-width: none;
  text-align: center;
}


/* ==========================================================================
   11. Trust / Practitioners
   ========================================================================== */

.trust-content {
  text-align: center;
  margin-bottom: var(--space-12);
}

.trust-content h2 {
  color: white;
  margin-bottom: var(--space-4);
}

.practitioners-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  margin-bottom: var(--space-12);
}

.practitioner-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: var(--space-7);
  display: flex;
  gap: var(--space-5);
  align-items: flex-start;
  transition: background var(--transition-base);
}

.practitioner-card:hover {
  background: rgba(255,255,255,0.09);
}

.practitioner-avatar {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  border-radius: 50%;
  overflow: hidden;
}

.practitioner-avatar svg {
  width: 56px;
  height: 56px;
}

.practitioner-name {
  font-size: var(--text-base);
  font-weight: 700;
  color: white;
  margin-bottom: 2px;
}

.practitioner-cert {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--steel-blue-light);
  background: rgba(74,127,181,0.2);
  padding: 2px 8px;
  border-radius: 100px;
  margin-bottom: var(--space-3);
}

.practitioner-info p {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.65);
  max-width: none;
  line-height: 1.6;
}

.trust-quote {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: var(--space-8);
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.quote-mark {
  margin: 0 auto var(--space-4);
  width: 32px;
  opacity: 0.4;
}

.trust-quote p {
  font-style: italic;
  font-size: var(--text-lg);
  color: rgba(255,255,255,0.75);
  max-width: none;
  line-height: 1.6;
}


/* ==========================================================================
   12. Industry Specialization
   ========================================================================== */

.industries-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
}

.industry-card {
  padding: var(--space-8) var(--space-8);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  transition: box-shadow var(--transition-base), transform var(--transition-base), border-color var(--transition-base);
}

.industry-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  border-color: var(--steel-blue);
}

.industry-icon {
  width: 40px;
  height: 40px;
  margin-bottom: var(--space-4);
}

.industry-icon svg { width: 100%; height: 100%; }

.industry-card h3 {
  font-family: var(--font-sans);
  font-size: var(--text-base);
  font-weight: 600;
  margin-bottom: var(--space-2);
  color: var(--color-text);
  line-height: 1.4;
}

.industry-card p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  max-width: none;
  line-height: 1.55;
}


/* ==========================================================================
   13. How It Works Steps
   ========================================================================== */

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  position: relative;
}

.step-card {
  position: relative;
  padding: var(--space-10) var(--space-10);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.step-number {
  font-family: var(--font-serif);
  font-size: 4rem;
  color: var(--color-border);
  line-height: 1;
  margin-bottom: var(--space-3);
  font-style: italic;
}

[data-theme="dark"] .step-number {
  color: rgba(255,255,255,0.08);
}

.step-duration {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: var(--space-4);
}

.step-card h3 {
  font-family: var(--font-sans);
  font-size: var(--text-xl);
  font-weight: 600;
  margin-bottom: var(--space-4);
  color: var(--color-text);
}

.step-card p {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  max-width: none;
  line-height: 1.65;
}

/* Arrow connector between step cards */
.step-connector {
  display: none;
}


/* ==========================================================================
   14. Testimonial / Social Proof
   ========================================================================== */

.testimonial-block {
  max-width: 760px;
  margin: 0 auto var(--space-16);
  text-align: center;
  position: relative;
}

.testimonial-quote-mark {
  width: 40px;
  margin: 0 auto var(--space-5);
}

.testimonial-block blockquote p {
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
  line-height: 1.55;
  color: var(--color-text);
  max-width: none;
  margin-bottom: var(--space-5);
}

.testimonial-block footer {
  font-size: var(--text-sm);
  font-style: normal;
  color: var(--color-text-muted);
}

.testimonial-block cite {
  font-style: normal;
}

/* Stats bar */
.stats-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  max-width: 700px;
  margin: 0 auto;
}

.stat-item {
  flex: 1;
  text-align: center;
  padding: var(--space-7) var(--space-6);
}

.stat-number {
  font-family: var(--font-serif);
  font-size: var(--text-4xl);
  font-weight: 400;
  color: var(--navy);
  line-height: 1;
  margin-bottom: var(--space-2);
}

[data-theme="dark"] .stat-number {
  color: var(--steel-blue-light);
}

.stat-label {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  font-weight: 500;
}

.stat-divider {
  width: 1px;
  height: 60px;
  background: var(--color-border);
  flex-shrink: 0;
}


/* ==========================================================================
   15. Final CTA Section
   ========================================================================== */

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

.cta-content {
  max-width: 640px;
  margin: 0 auto;
}

.cta-urgency {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--amber-light);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-bottom: var(--space-5);
}

.section-cta h2 {
  color: white;
  font-size: var(--text-5xl);
  margin-bottom: var(--space-4);
}

.section-cta p {
  color: rgba(255,255,255,0.7);
  font-size: var(--text-lg);
  max-width: none;
  margin-bottom: var(--space-8);
}

.cta-note {
  margin-top: var(--space-5);
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.4);
  max-width: none;
  margin-bottom: 0;
}


/* ==========================================================================
   16. Footer
   ========================================================================== */

.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.7);
}

[data-theme="dark"] .site-footer {
  background: var(--navy-dark);
  border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--space-16);
  padding-top: var(--space-16);
  padding-bottom: var(--space-12);
}

.footer-brand .logo--footer {
  margin-bottom: var(--space-4);
}

.footer-tagline {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.5);
  max-width: 28ch;
  line-height: 1.6;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
}

.footer-col h4 {
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: var(--space-4);
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer-col a {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.6);
  transition: color var(--transition-fast);
}

.footer-col a:hover {
  color: rgba(255,255,255,0.95);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: var(--space-6) 0;
}

.footer-bottom .container {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-8);
  flex-wrap: wrap;
}

.footer-bottom p {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.35);
  max-width: 70ch;
  line-height: 1.6;
}

.footer-copy {
  white-space: nowrap;
  flex-shrink: 0;
}


/* ==========================================================================
   17. Scroll Animation
   ========================================================================== */

.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children */
.fade-in.stagger > * {
  transition-delay: calc(var(--i, 0) * 80ms);
}

@media (prefers-reduced-motion: reduce) {
  .fade-in {
    opacity: 1;
    transform: none;
    transition: none;
  }
}


/* ==========================================================================
   18. Responsive — Tablet (max 900px)
   ========================================================================== */

@media (max-width: 900px) {

  .main-nav { display: none; }
  .mobile-menu-toggle { display: flex; }

  .problem-grid {
    grid-template-columns: 1fr;
    gap: var(--space-5);
  }

  .paths-grid {
    grid-template-columns: 1fr;
    gap: var(--space-5);
  }

  .comparison-grid {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }

  .comparison-divider {
    display: none;
  }

  .practitioners-grid {
    grid-template-columns: 1fr;
    gap: var(--space-5);
  }

  .industries-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-4);
  }

  .steps-grid {
    grid-template-columns: 1fr;
    gap: var(--space-5);
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: var(--space-10);
  }

  .footer-links {
    grid-template-columns: repeat(3, 1fr);
  }
}


/* ==========================================================================
   19. Responsive — Mobile (max 600px)
   ========================================================================== */

@media (max-width: 600px) {

  :root {
    --section-py: clamp(48px, 10vw, 80px);
  }

  h2 { font-size: var(--text-3xl); }
  h3 { font-size: var(--text-xl); }

  .hero {
    padding-top: 64px;
    padding-bottom: 56px;
  }

  .hero-ctas {
    flex-direction: column;
  }

  .hero-ctas .btn {
    text-align: center;
    justify-content: center;
  }

  .trust-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-2);
  }

  .trust-sep { display: none; }

  .problem-card {
    padding: var(--space-6);
  }

  .industries-grid {
    grid-template-columns: 1fr;
  }

  .stats-bar {
    flex-direction: column;
    border-radius: var(--radius-lg);
    max-width: 320px;
  }

  .stat-divider {
    width: 80%;
    height: 1px;
  }

  .footer-links {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-6);
  }

  .footer-bottom .container {
    flex-direction: column;
    gap: var(--space-3);
  }

  .section-cta h2 {
    font-size: var(--text-3xl);
  }

  .comparison-grid {
    gap: var(--space-4);
  }

  .header-actions .btn-sm {
    display: none;
  }

  .problem-closer {
    font-size: var(--text-2xl);
  }
}

/* ==========================================================================
   20. Print
   ========================================================================== */

@media print {
  .site-header, .hero-pattern, .trust-bar, .hero-ctas, .section-cta, .site-footer { display: none; }
  body { color: black; background: white; }
}
