/* ================================================================
   THE REHAB MAN — MASTER STYLESHEET
   Design system: "Trusted Craftsman" — editorial, industrial, confident
   ================================================================ */

/* Fonts: Archivo Black (display) + Source Serif 4 (body) + Inter (UI)  */
@import url('https://fonts.googleapis.com/css2?family=Archivo+Black&family=Source+Serif+4:opsz,wght@8..60,400;8..60,600;8..60,700&family=Inter:wght@400;500;600;700&display=swap');

@font-face {
  font-family: 'ArchivoBlackFallback';
  src: local('Impact'), local('Haettenschweiler'), local('Arial Black');
  font-display: swap;
}

/* ---------- DESIGN TOKENS ---------- */
:root {
  /* Colors */
  --blue: #1E5AA8;
  --blue-dark: #0F3B75;
  --blue-light: #E8F0FA;
  --blue-line: #D4E2F2;
  --orange: #FF6B1A;
  --orange-dark: #E0550A;
  --orange-light: #FFE8DA;
  --cream: #F7F3EC;
  --cream-dark: #EDE6D8;
  --charcoal: #1A1A1A;
  --grey-900: #2A2A2A;
  --grey-700: #555555;
  --grey-500: #888888;
  --grey-300: #D0D0D0;
  --grey-100: #F0F0F0;
  --white: #FFFFFF;
  --green: #2E8B57;
  --red: #C73E1D;

  /* Typography */
  --font-display: 'Archivo Black', 'ArchivoBlackFallback', 'Impact', 'Haettenschweiler', 'Arial Black', sans-serif;
  --font-body: 'Source Serif 4', Charter, 'Iowan Old Style', 'Apple Garamond', 'Baskerville', Georgia, serif;
  --font-ui: 'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;

  /* Sizing */
  --container: 1200px;
  --container-narrow: 860px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 14px;

  /* Spacing */
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 24px;
  --s-6: 32px;
  --s-7: 48px;
  --s-8: 64px;
  --s-9: 96px;
  --s-10: 128px;

  /* Motion */
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* ---------- RESET ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.65;
  color: var(--charcoal);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--orange); }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ---------- TYPOGRAPHY ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--charcoal);
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin: 0 0 var(--s-5) 0;
  font-weight: 400; /* Archivo Black is already heavy */
  text-wrap: balance;
}
h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); }
h3 { font-size: clamp(1.35rem, 2.2vw, 1.8rem); }
h4 { font-size: 1.2rem; font-family: var(--font-ui); font-weight: 700; letter-spacing: 0.01em; }

p { margin: 0 0 var(--s-5) 0; max-width: 70ch; }
p.lede { font-size: 1.3rem; line-height: 1.5; color: var(--grey-700); }

.eyebrow {
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange);
  display: inline-block;
  margin-bottom: var(--s-4);
}
.eyebrow.blue { color: var(--blue); }
.eyebrow.white { color: rgba(255, 255, 255, 0.85); }

/* ---------- LAYOUT ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--s-5);
}
.container-narrow { max-width: var(--container-narrow); }
section { padding: var(--s-9) 0; }
@media (max-width: 768px) {
  section { padding: var(--s-8) 0; }
}

/* ---------- HEADER ---------- */
.site-header {
  background: var(--cream);
  border-bottom: 1px solid var(--blue-line);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(6px);
}
.site-header.ad-landing { position: static; }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--s-4) var(--s-5);
  max-width: var(--container);
  margin: 0 auto;
  gap: var(--s-5);
}
.header-logo { display: flex; align-items: center; gap: var(--s-3); text-decoration: none; }
.header-logo img { height: 44px; width: auto; }
.header-logo .logo-text {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--charcoal);
  line-height: 1;
  letter-spacing: 0.02em;
}
.header-logo .logo-text small {
  display: block;
  font-family: var(--font-ui);
  font-weight: 500;
  font-size: 0.7rem;
  color: var(--grey-700);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: 2px;
}

.header-nav {
  display: flex;
  gap: var(--s-6);
  font-family: var(--font-ui);
  font-weight: 500;
  font-size: 0.95rem;
}
.header-nav a { color: var(--charcoal); transition: color 0.18s var(--ease); }
.header-nav a:hover { color: var(--blue); }
.header-nav .has-dropdown { position: relative; }
.header-nav .has-dropdown > a::after {
  content: "▾";
  font-size: 0.65rem;
  margin-left: 4px;
  vertical-align: 2px;
  opacity: 0.5;
}
.header-nav .dropdown {
  position: absolute;
  top: 100%;
  left: -var(--s-4);
  background: var(--white);
  border: 1px solid var(--blue-line);
  padding: var(--s-3) 0;
  min-width: 220px;
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
  transition: 0.18s var(--ease);
  box-shadow: 0 10px 40px rgba(15, 59, 117, 0.12);
}
.header-nav .dropdown a {
  display: block;
  padding: var(--s-2) var(--s-4);
  font-size: 0.92rem;
}
.header-nav .dropdown a:hover { background: var(--blue-light); color: var(--blue); }
.header-nav .has-dropdown:hover .dropdown {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.header-cta { display: flex; align-items: center; gap: var(--s-4); }
.header-phone {
  font-family: var(--font-ui);
  font-weight: 700;
  color: var(--charcoal);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 6px;
}
.header-phone svg { width: 16px; height: 16px; color: var(--blue); }

.menu-toggle {
  display: none;
  padding: var(--s-2);
  color: var(--charcoal);
}
.menu-toggle svg { width: 28px; height: 28px; }

@media (max-width: 960px) {
  .header-nav, .header-phone { display: none; }
  .menu-toggle { display: block; }
  .header-nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    padding: var(--s-5);
    gap: var(--s-4);
    box-shadow: 0 10px 40px rgba(15, 59, 117, 0.12);
    border-bottom: 1px solid var(--blue-line);
  }
  .header-nav.open .has-dropdown .dropdown {
    position: static;
    opacity: 1;
    transform: none;
    pointer-events: auto;
    box-shadow: none;
    border: none;
    padding: var(--s-2) 0 var(--s-2) var(--s-4);
    background: transparent;
  }
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 0.98rem;
  letter-spacing: 0.01em;
  padding: 14px 26px;
  border-radius: 0; /* hard-edged — industrial */
  transition: 0.18s var(--ease);
  white-space: nowrap;
  border: 2px solid transparent;
  cursor: pointer;
}
.btn-primary {
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 4px 0 var(--orange-dark);
}
.btn-primary:hover {
  background: var(--orange-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 0 var(--orange-dark);
}
.btn-primary:active { transform: translateY(2px); box-shadow: 0 2px 0 var(--orange-dark); }

.btn-secondary {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 4px 0 var(--blue-dark);
}
.btn-secondary:hover {
  background: var(--blue-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 0 var(--blue-dark);
}
.btn-secondary:active { transform: translateY(2px); box-shadow: 0 2px 0 var(--blue-dark); }

.btn-ghost {
  background: transparent;
  color: var(--charcoal);
  border: 2px solid var(--charcoal);
}
.btn-ghost:hover { background: var(--charcoal); color: var(--white); }

.btn-ghost-light {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}
.btn-ghost-light:hover { background: var(--white); color: var(--blue); }

.btn-large { padding: 18px 32px; font-size: 1.05rem; }
.btn-small { padding: 10px 18px; font-size: 0.85rem; }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  padding: var(--s-10) 0 var(--s-9);
  overflow: hidden;
  background: var(--cream);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(30, 90, 168, 0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(30, 90, 168, 0.06) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.5;
  mask-image: radial-gradient(ellipse at top right, black 10%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--s-8);
  align-items: center;
}
.hero-title {
  font-size: clamp(2.8rem, 5.5vw, 5rem);
  margin-bottom: var(--s-4);
}
.hero-title .accent { color: var(--orange); }
.hero-subtitle {
  font-size: 1.25rem;
  color: var(--grey-700);
  line-height: 1.55;
  margin-bottom: var(--s-6);
  max-width: 540px;
}
.hero-ctas { display: flex; gap: var(--s-4); flex-wrap: wrap; }

.hero-visual {
  position: relative;
  aspect-ratio: 4/5;
  max-width: 480px;
  margin-left: auto;
}
.hero-visual::before {
  content: "";
  position: absolute;
  inset: -20px -20px auto auto;
  width: 85%;
  height: 85%;
  background: var(--blue);
  z-index: 0;
}
.hero-visual::after {
  content: "";
  position: absolute;
  inset: auto auto -20px -20px;
  width: 60%;
  height: 60%;
  background:
    linear-gradient(to right, rgba(255, 107, 26, 0.3) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 107, 26, 0.3) 1px, transparent 1px);
  background-size: 20px 20px;
  background-color: var(--orange-light);
  z-index: 0;
}
.hero-visual img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.2) contrast(1.05);
}

@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; gap: var(--s-7); }
  .hero-visual { max-width: 360px; margin: 0 auto; }
}

/* ---------- TRUST BAR ---------- */
.trust-bar {
  background: var(--charcoal);
  color: var(--white);
  padding: var(--s-4) 0;
  font-family: var(--font-ui);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.trust-bar-inner {
  display: flex;
  justify-content: center;
  gap: var(--s-6);
  flex-wrap: wrap;
  text-align: center;
}
.trust-bar-inner span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ---------- SECTIONS & BANDS ---------- */
.section-cream { background: var(--cream); }
.section-white { background: var(--white); }
.section-blue { background: var(--blue); color: var(--white); }
.section-blue h1, .section-blue h2, .section-blue h3 { color: var(--white); }
.section-blue a { color: var(--white); text-decoration: underline; }
.section-dark { background: var(--charcoal); color: var(--cream); }
.section-dark h1, .section-dark h2, .section-dark h3 { color: var(--white); }

.section-header { text-align: center; max-width: 720px; margin: 0 auto var(--s-8); }
.section-header p.lede { margin-left: auto; margin-right: auto; }

/* ---------- CARDS & GRIDS ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-5); }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s-6); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-5); }
@media (max-width: 960px) {
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-2 { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .grid-4 { grid-template-columns: 1fr; }
}

.card {
  background: var(--white);
  padding: var(--s-6);
  border: 1px solid var(--blue-line);
  position: relative;
  transition: 0.2s var(--ease);
}
.card:hover {
  border-color: var(--blue);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -15px rgba(15, 59, 117, 0.18);
}
.card-number {
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--blue-light);
  line-height: 1;
  margin-bottom: var(--s-3);
}
.card h3 { margin-bottom: var(--s-3); }
.card p { margin-bottom: 0; color: var(--grey-700); }

/* Audience cards — bolder */
.audience-card {
  background: var(--white);
  padding: var(--s-7) var(--s-6);
  border-top: 6px solid var(--blue);
  display: flex;
  flex-direction: column;
  transition: 0.25s var(--ease);
  position: relative;
  overflow: hidden;
}
.audience-card:hover { border-top-color: var(--orange); transform: translateY(-6px); }
.audience-card .tag {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--orange);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: var(--s-4);
}
.audience-card h3 { font-size: 1.6rem; margin-bottom: var(--s-4); }
.audience-card p { flex: 1; color: var(--grey-700); margin-bottom: var(--s-5); }
.audience-card .card-link {
  font-family: var(--font-ui);
  font-weight: 700;
  color: var(--blue);
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.audience-card:hover .card-link { color: var(--orange); }

/* ---------- SAMPLE SCENARIO CARDS ---------- */
.scenario {
  background: var(--white);
  padding: var(--s-6);
  border-left: 6px solid var(--orange);
  position: relative;
}
.scenario .label {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--orange);
  text-transform: uppercase;
  margin-bottom: var(--s-3);
}
.scenario h3 {
  font-size: 1.35rem;
  margin-bottom: var(--s-4);
}
.scenario dl { margin: 0; font-family: var(--font-ui); font-size: 0.95rem; }
.scenario dl > div {
  display: flex;
  justify-content: space-between;
  padding: var(--s-2) 0;
  border-bottom: 1px dashed var(--grey-300);
}
.scenario dl > div:last-child { border-bottom: none; padding-top: var(--s-3); }
.scenario dt { color: var(--grey-700); }
.scenario dd { margin: 0; font-weight: 600; color: var(--charcoal); }
.scenario .highlight {
  margin-top: var(--s-4);
  padding: var(--s-4);
  background: var(--orange-light);
  color: var(--orange-dark);
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 0.95rem;
}

/* ---------- COMPARISON TABLE ---------- */
.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-ui);
  background: var(--white);
}
.compare-table th, .compare-table td {
  padding: var(--s-4);
  text-align: left;
  border-bottom: 1px solid var(--blue-line);
  vertical-align: top;
}
.compare-table thead th {
  background: var(--blue);
  color: var(--white);
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}
.compare-table tbody th {
  background: var(--cream);
  font-weight: 600;
  width: 30%;
  color: var(--charcoal);
}
.compare-table td { font-size: 0.95rem; line-height: 1.5; }

/* ---------- PROCESS STEPS ---------- */
.steps {
  counter-reset: step;
  display: grid;
  gap: var(--s-5);
}
.step {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: var(--s-5);
  padding: var(--s-5) var(--s-6);
  background: var(--white);
  border: 1px solid var(--blue-line);
  counter-increment: step;
  position: relative;
  align-items: start;
}
.step::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-display);
  font-size: 3.5rem;
  line-height: 1;
  color: var(--blue);
  grid-column: 1;
  grid-row: 1;
  align-self: start;
}
.step > * { grid-column: 2; }
.step h3 { margin-bottom: var(--s-2); font-size: 1.5rem; }
.step p { color: var(--grey-700); margin-bottom: var(--s-2); }
.step p:last-child { margin-bottom: 0; }
.step .meta {
  font-family: var(--font-ui);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--orange);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: var(--s-2);
}
@media (max-width: 600px) {
  .step { grid-template-columns: 1fr; gap: var(--s-3); padding: var(--s-4); }
  .step::before { font-size: 2.5rem; }
}

/* ---------- FAQ ---------- */
.faq-group { max-width: 800px; margin: 0 auto; }
.faq-group h2.topic {
  font-size: 1.4rem;
  color: var(--blue);
  padding-bottom: var(--s-3);
  border-bottom: 2px solid var(--blue);
  margin-top: var(--s-7);
  margin-bottom: var(--s-4);
}
.faq-item {
  border-bottom: 1px solid var(--blue-line);
}
.faq-item summary {
  padding: var(--s-5) 0;
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 1.08rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--s-4);
  list-style: none;
  color: var(--charcoal);
  transition: color 0.18s var(--ease);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 1.8rem;
  color: var(--blue);
  transition: transform 0.25s var(--ease);
  font-weight: 300;
  line-height: 1;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item[open] summary { color: var(--blue); }
.faq-item .faq-body {
  padding: 0 0 var(--s-5) 0;
  color: var(--grey-700);
  line-height: 1.65;
}
.faq-item .faq-body p:last-child { margin-bottom: 0; }

/* ---------- MEET JAY ---------- */
.jay-feature {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: var(--s-8);
  align-items: center;
}
.jay-feature-img {
  position: relative;
  aspect-ratio: 4/5;
  max-width: 420px;
}
.jay-feature-img::before {
  content: "";
  position: absolute;
  inset: 20px -20px -20px 20px;
  background: var(--blue);
  z-index: 0;
}
.jay-feature-img img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.jay-feature .quote {
  font-family: var(--font-body);
  font-style: italic;
  font-size: 1.35rem;
  line-height: 1.5;
  color: var(--charcoal);
  border-left: 4px solid var(--orange);
  padding-left: var(--s-5);
  margin: var(--s-5) 0;
}
@media (max-width: 960px) {
  .jay-feature { grid-template-columns: 1fr; }
  .jay-feature-img { max-width: 320px; margin: 0 auto; }
}

/* ---------- FINAL CTA BAND ---------- */
.cta-band {
  background: var(--blue);
  color: var(--white);
  padding: var(--s-9) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}
.cta-band > .container { position: relative; z-index: 1; }
.cta-band h2 { color: var(--white); margin-bottom: var(--s-4); }
.cta-band p { color: rgba(255, 255, 255, 0.88); max-width: 620px; margin: 0 auto var(--s-6); font-size: 1.15rem; }
.cta-band .hero-ctas { justify-content: center; }

/* ---------- BULLETS & LISTS ---------- */
ul.list-check, ul.list-x {
  list-style: none;
  padding: 0;
}
ul.list-check li, ul.list-x li {
  padding: var(--s-3) 0 var(--s-3) var(--s-6);
  position: relative;
  border-bottom: 1px solid var(--blue-line);
  color: var(--grey-700);
}
ul.list-check li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: var(--s-3);
  color: var(--green);
  font-weight: 700;
  font-family: var(--font-ui);
}
ul.list-x li::before {
  content: "✕";
  position: absolute;
  left: 0;
  top: var(--s-3);
  color: var(--red);
  font-weight: 700;
}

/* ---------- FOOTER ---------- */
.site-footer {
  background: var(--charcoal);
  color: var(--cream);
  padding: var(--s-9) 0 var(--s-5);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: var(--s-7);
  padding-bottom: var(--s-7);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-grid h4 {
  font-family: var(--font-ui);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: var(--s-5);
}
.footer-grid p { color: rgba(247, 243, 236, 0.7); font-size: 0.95rem; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; font-family: var(--font-ui); font-size: 0.95rem; }
.footer-grid ul li { margin-bottom: var(--s-3); }
.footer-grid ul a { color: rgba(247, 243, 236, 0.75); transition: color 0.18s var(--ease); }
.footer-grid ul a:hover { color: var(--orange); }

.footer-logo { display: flex; align-items: center; gap: var(--s-3); margin-bottom: var(--s-4); }
.footer-logo img { height: 56px; }
.footer-logo .logo-text {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--white);
  line-height: 1;
}
.footer-logo .logo-text small {
  display: block;
  font-family: var(--font-ui);
  font-size: 0.7rem;
  color: var(--orange);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: 2px;
}
.footer-tagline {
  font-family: var(--font-display);
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: var(--s-3);
}
.footer-social { display: flex; gap: var(--s-3); margin-top: var(--s-4); }
.footer-social a {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--cream);
  transition: 0.18s var(--ease);
}
.footer-social a:hover { background: var(--orange); border-color: var(--orange); color: var(--white); }
.footer-social svg { width: 18px; height: 18px; }

.footer-compliance {
  padding-top: var(--s-6);
  font-family: var(--font-ui);
  font-size: 0.78rem;
  line-height: 1.6;
  color: rgba(247, 243, 236, 0.55);
}
.footer-compliance p { margin-bottom: var(--s-3); max-width: none; color: inherit; }
.footer-compliance a { color: var(--cream); text-decoration: underline; }
.footer-compliance .ehl {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  margin-top: var(--s-4);
  padding: var(--s-3) var(--s-4);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--cream);
  font-weight: 600;
  letter-spacing: 0.08em;
}
.footer-compliance .ehl svg { width: 20px; height: 20px; }

@media (max-width: 960px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; gap: var(--s-6); }
}

/* ---------- FORMS ---------- */
.form-wrap {
  background: var(--white);
  padding: var(--s-7);
  border-top: 6px solid var(--orange);
  box-shadow: 0 20px 60px -30px rgba(15, 59, 117, 0.2);
}
.form-step { display: none; }
.form-step.active { display: block; animation: fadeIn 0.3s var(--ease); }
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.form-step h2 { font-size: 1.7rem; margin-bottom: var(--s-5); }
.form-step p { color: var(--grey-700); margin-bottom: var(--s-5); }

.form-progress {
  display: flex;
  gap: 6px;
  margin-bottom: var(--s-6);
}
.form-progress .dot {
  flex: 1;
  height: 5px;
  background: var(--grey-300);
  transition: 0.25s var(--ease);
}
.form-progress .dot.active, .form-progress .dot.done { background: var(--blue); }
.form-progress .dot.done { background: var(--orange); }

.option-list { display: grid; gap: var(--s-3); }
.option-item {
  display: block;
  padding: var(--s-4) var(--s-5);
  background: var(--cream);
  border: 2px solid var(--cream-dark);
  cursor: pointer;
  font-family: var(--font-ui);
  font-weight: 500;
  font-size: 1rem;
  transition: 0.15s var(--ease);
  position: relative;
}
.option-item:hover { border-color: var(--blue); background: var(--blue-light); }
.option-item input { position: absolute; opacity: 0; }
.option-item input:checked + span { color: var(--blue); font-weight: 700; }
.option-item:has(input:checked) { border-color: var(--blue); background: var(--blue-light); }
.option-item:has(input:checked)::after {
  content: "✓";
  position: absolute;
  right: var(--s-4);
  top: 50%;
  transform: translateY(-50%);
  color: var(--blue);
  font-weight: 700;
}

.form-field { margin-bottom: var(--s-5); }
.form-field label {
  display: block;
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: var(--s-2);
  color: var(--charcoal);
}
.form-field label .req { color: var(--red); }
.form-field input, .form-field select, .form-field textarea {
  width: 100%;
  padding: var(--s-4);
  font-family: var(--font-ui);
  font-size: 1rem;
  background: var(--cream);
  border: 2px solid var(--cream-dark);
  border-radius: 0;
  transition: 0.15s var(--ease);
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none;
  border-color: var(--blue);
  background: var(--white);
}
.form-field .err { color: var(--red); font-size: 0.85rem; margin-top: 4px; display: none; }
.form-field.has-error input, .form-field.has-error select { border-color: var(--red); }
.form-field.has-error .err { display: block; }

.form-consent {
  display: flex;
  gap: var(--s-3);
  padding: var(--s-4);
  background: var(--cream);
  font-family: var(--font-ui);
  font-size: 0.88rem;
  color: var(--grey-700);
  line-height: 1.5;
}
.form-consent input { margin-top: 4px; }

.form-actions {
  display: flex;
  justify-content: space-between;
  gap: var(--s-3);
  margin-top: var(--s-6);
}
.form-actions .btn-ghost { background: transparent; color: var(--grey-700); border-color: var(--grey-300); }
.form-actions .btn-ghost:hover { background: var(--grey-100); color: var(--charcoal); }

/* ---------- UTILITIES ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mt-5 { margin-top: var(--s-5); }
.mb-5 { margin-bottom: var(--s-5); }

.divider {
  height: 4px;
  background: var(--blue);
  width: 60px;
  margin: var(--s-5) 0;
}
.divider.center { margin-left: auto; margin-right: auto; }
.divider.orange { background: var(--orange); }
.divider.white { background: var(--white); }

/* ---------- BLOG ---------- */
.blog-index {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-6);
}
@media (max-width: 960px) { .blog-index { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .blog-index { grid-template-columns: 1fr; } }

.blog-card {
  background: var(--white);
  border: 1px solid var(--blue-line);
  padding: var(--s-6);
  transition: 0.2s var(--ease);
  display: flex;
  flex-direction: column;
}
.blog-card:hover {
  border-color: var(--blue);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -15px rgba(15, 59, 117, 0.18);
}
.blog-card .category {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: var(--s-3);
}
.blog-card h3 {
  font-size: 1.25rem;
  margin-bottom: var(--s-3);
  line-height: 1.15;
}
.blog-card p {
  color: var(--grey-700);
  font-size: 0.95rem;
  flex: 1;
  margin-bottom: var(--s-4);
}
.blog-card .read-more {
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.blog-card:hover .read-more { color: var(--orange); }

/* Single blog post */
.post-header {
  background: var(--blue);
  color: var(--white);
  padding: var(--s-9) 0 var(--s-7);
}
.post-header h1 { color: var(--white); max-width: 840px; }
.post-header .meta {
  font-family: var(--font-ui);
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.75);
  display: flex;
  gap: var(--s-4);
  flex-wrap: wrap;
  margin-top: var(--s-4);
}
.post-body {
  max-width: 760px;
  margin: 0 auto;
  padding: var(--s-8) 0;
  font-size: 1.1rem;
  line-height: 1.75;
}
.post-body h2 { font-size: 2rem; margin-top: var(--s-7); color: var(--blue); }
.post-body h3 { font-size: 1.4rem; margin-top: var(--s-5); }
.post-body p { max-width: none; }
.post-body ul, .post-body ol { padding-left: var(--s-5); margin-bottom: var(--s-5); }
.post-body li { margin-bottom: var(--s-2); }
.post-body blockquote {
  border-left: 4px solid var(--orange);
  padding: var(--s-3) var(--s-5);
  margin: var(--s-6) 0;
  font-style: italic;
  font-size: 1.2rem;
  color: var(--grey-900);
}
.post-body .callout {
  background: var(--blue-light);
  border-left: 4px solid var(--blue);
  padding: var(--s-5);
  margin: var(--s-6) 0;
  font-size: 1rem;
  line-height: 1.65;
}
.post-body .callout strong { color: var(--blue); }

/* Post navigation */
.post-nav {
  background: var(--cream-dark);
  padding: var(--s-6) 0;
  border-top: 1px solid var(--blue-line);
}
.post-nav .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-5);
}
.post-nav a {
  display: block;
  padding: var(--s-4);
  background: var(--white);
  transition: 0.18s var(--ease);
}
.post-nav a:hover { background: var(--blue); color: var(--white); }
.post-nav a:hover .label, .post-nav a:hover h4 { color: inherit; }
.post-nav .label {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--orange);
  display: block;
  margin-bottom: var(--s-2);
}
.post-nav h4 { color: var(--charcoal); margin: 0; }
@media (max-width: 600px) {
  .post-nav .container { grid-template-columns: 1fr; }
}

/* ---------- CREDIBILITY BADGES ---------- */
.cred-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-4);
}
@media (max-width: 960px) { .cred-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .cred-grid { grid-template-columns: 1fr; } }
.cred-badge {
  text-align: center;
  padding: var(--s-6) var(--s-4);
  background: var(--white);
  border: 1px solid var(--blue-line);
}
.cred-badge .num {
  font-family: var(--font-display);
  font-size: 2.8rem;
  color: var(--blue);
  line-height: 1;
  margin-bottom: var(--s-2);
}
.cred-badge .label {
  font-family: var(--font-ui);
  font-size: 0.88rem;
  color: var(--grey-700);
  font-weight: 500;
  line-height: 1.4;
}

/* ---------- ANIMATIONS ---------- */
.fade-in {
  animation: fadeInUp 0.8s var(--ease) both;
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-in.delay-1 { animation-delay: 0.1s; }
.fade-in.delay-2 { animation-delay: 0.2s; }
.fade-in.delay-3 { animation-delay: 0.3s; }

/* ---------- PRINT-FRIENDLY ---------- */
@media print {
  .site-header, .site-footer, .cta-band { display: none; }
}
