/* ============================================================
   NEURO RECOVERY & REHAB — Premium Trauma Therapy Clinic
   Brand Colors extracted from official logo:
     Blue      #2396CA  — "Neuro" / upper-left puzzle
     Teal      #1DBE92  — "Recovery" / upper-right puzzle
     Lime      #98C93D  — lower-right puzzle
     Navy      #333B8F  — "Rehab" / lower-left puzzle
   ============================================================ */

/* ——————————————————————————————————————————
   1. DESIGN TOKENS
—————————————————————————————————————————— */
:root {
  /* ── BRAND LOGO COLORS (exact) ─────────── */
  --brand-blue:       #2396CA;   /* Neuro · light blue puzzle */
  --brand-blue-dark:  #1A7CAD;   /* Darker hover state        */
  --brand-blue-light: #5BB8DC;   /* Lighter tint              */
  --brand-blue-pale:  #E8F5FB;   /* Pale background wash      */
  --brand-blue-mid:   #BDE3F3;   /* Mid-tone tint             */

  --brand-teal:       #1DBE92;   /* Recovery · teal-green     */
  --brand-teal-dark:  #17997A;   /* Darker hover state        */
  --brand-teal-light: #52D4AE;   /* Lighter tint              */
  --brand-teal-pale:  #E6F9F4;   /* Pale background wash      */
  --brand-teal-mid:   #A8EDD8;   /* Mid-tone tint             */

  --brand-lime:       #98C93D;   /* Lime green puzzle piece   */
  --brand-lime-dark:  #7BAB2A;   /* Darker variant            */
  --brand-lime-pale:  #EEF7D8;   /* Pale wash                 */

  --brand-navy:       #333B8F;   /* Rehab · deep navy-purple  */
  --brand-navy-dark:  #252D73;   /* Deepest navy              */
  --brand-navy-mid:   #404FA8;   /* Mid navy                  */
  --brand-navy-light: #6672C2;   /* Light navy                */
  --brand-navy-pale:  #ECEEF9;   /* Pale navy wash            */

  /* ── NEUTRAL PALETTE ──────────────────── */
  --white:        #FFFFFF;
  --warm-white:   #FDFCFA;
  --off-white:    #F8F7F5;
  --cream:        #F3F0EC;
  --stone-whisper:#F5F2EE;

  --gray-100:     #F2F1EF;
  --gray-200:     #E5E3E0;
  --gray-300:     #CCCAC6;
  --gray-400:     #A8A5A0;
  --gray-500:     #7C7A76;
  --gray-600:     #5A5855;
  --gray-700:     #3D3C3A;
  --gray-800:     #252422;

  /* ── SEMANTIC ROLES ────────────────────── */
  --navy:          var(--brand-navy);
  --navy-deep:     var(--brand-navy-dark);
  --navy-mid:      var(--brand-navy-mid);

  /* Primary accent = brand teal (#1DBE92) */
  --accent:        var(--brand-teal);
  --accent-dark:   var(--brand-teal-dark);
  --accent-light:  var(--brand-teal-light);
  --accent-pale:   var(--brand-teal-pale);
  --accent-mid:    var(--brand-teal-mid);

  /* Secondary accent = brand blue (#2396CA) */
  --accent2:       var(--brand-blue);
  --accent2-dark:  var(--brand-blue-dark);
  --accent2-light: var(--brand-blue-light);
  --accent2-pale:  var(--brand-blue-pale);

  /* Typography */
  --text-primary:   var(--brand-navy);
  --text-secondary: #3D4A5C;
  --text-muted:     #6B7280;
  --text-light:     #9DA5B0;

  /* ── GRADIENTS ─────────────────────────── */
  /* Hero: brand navy with subtle blue-teal shift */
  --grad-hero:    linear-gradient(145deg, #1E2460 0%, #2B3584 45%, #2D4A82 100%);
  /* Brand tri-color gradient */
  --grad-brand:   linear-gradient(135deg, #2396CA 0%, #1DBE92 60%, #98C93D 100%);
  /* Teal gradient for buttons/CTAs */
  --grad-teal:    linear-gradient(135deg, #1DBE92 0%, #17997A 100%);
  /* Blue gradient */
  --grad-blue:    linear-gradient(135deg, #2396CA 0%, #1A7CAD 100%);
  /* Pale section wash */
  --grad-section: linear-gradient(180deg, #FDFCFA 0%, #F8F7F5 100%);

  /* ── SHADOWS ───────────────────────────── */
  --shadow-xs:    0 1px 3px rgba(51,59,143,0.06);
  --shadow-sm:    0 2px 8px rgba(51,59,143,0.08);
  --shadow-md:    0 6px 24px rgba(51,59,143,0.10);
  --shadow-lg:    0 16px 48px rgba(51,59,143,0.12);
  --shadow-xl:    0 32px 80px rgba(51,59,143,0.14);
  --shadow-card:  0 2px 16px rgba(51,59,143,0.07), 0 1px 3px rgba(51,59,143,0.04);
  --shadow-card-hover: 0 12px 40px rgba(51,59,143,0.13), 0 2px 8px rgba(51,59,143,0.07);
  --shadow-teal:  0 8px 28px rgba(29,190,146,0.30);
  --shadow-blue:  0 8px 28px rgba(35,150,202,0.28);
  --shadow-navy:  0 8px 28px rgba(51,59,143,0.28);

  /* ── BORDERS ───────────────────────────── */
  --border-light: 1px solid rgba(51,59,143,0.07);
  --border-warm:  1px solid rgba(51,59,143,0.11);
  --border-teal:  1px solid rgba(29,190,146,0.28);
  --border-blue:  1px solid rgba(35,150,202,0.25);
  --border-navy:  1px solid rgba(51,59,143,0.22);

  /* ── TYPOGRAPHY ────────────────────────── */
  --font-serif:   'Cormorant Garamond', 'Georgia', serif;
  --font-display: 'DM Sans', 'Inter', -apple-system, sans-serif;
  --font-body:    'DM Sans', 'Inter', -apple-system, sans-serif;

  /* ── LAYOUT ────────────────────────────── */
  --section-py:   96px;
  --container-w:  1200px;
  --radius-xs:    4px;
  --radius-sm:    8px;
  --radius-md:    12px;
  --radius-lg:    18px;
  --radius-xl:    24px;
  --radius-2xl:   32px;
  --radius-full:  9999px;

  /* ── TRANSITIONS ───────────────────────── */
  --ease:        cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out:    cubic-bezier(0, 0, 0.2, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --t-fast: 0.16s;
  --t-mid:  0.28s;
  --t-slow: 0.45s;

  /* ── NAV ───────────────────────────────── */
  --nav-h: 78px;

  /* Legacy aliases kept for backward compat */
  --sage:         var(--brand-teal);
  --sage-light:   var(--brand-teal-light);
  --sage-pale:    var(--brand-teal-mid);
  --sage-whisper: var(--brand-teal-pale);
  --stone-pale:   #E0DDD8;
}

/* ——————————————————————————————————————————
   2. BASE RESET
—————————————————————————————————————————— */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--font-body);
  background-color: var(--warm-white);
  color: var(--text-secondary);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; height: auto; }
a  { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
input, textarea, select { font-family: inherit; font-size: inherit; }

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

/* ——————————————————————————————————————————
   3. LAYOUT
—————————————————————————————————————————— */
.container {
  width: 100%;
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 32px;
}

.section { padding: var(--section-py) 0; }

.section-header {
  text-align: center;
  max-width: 660px;
  margin: 0 auto 64px;
}

/* Section eyebrow label */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin-bottom: 14px;
}

.eyebrow::before,
.eyebrow::after {
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  background: var(--accent);
  opacity: 0.6;
}

/* Section titles */
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.8vw, 2.9rem);
  font-weight: 600;
  font-style: italic;
  line-height: 1.22;
  color: var(--text-primary);
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.section-title strong {
  font-style: normal;
  font-weight: 700;
}

.section-subtitle {
  font-size: 1.02rem;
  color: var(--text-muted);
  line-height: 1.78;
  max-width: 560px;
  margin: 0 auto;
}

/* ——————————————————————————————————————————
   4. BUTTONS
—————————————————————————————————————————— */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.92rem;
  border-radius: var(--radius-sm);
  padding: 13px 26px;
  transition: all var(--t-mid) var(--ease);
  white-space: nowrap;
  cursor: pointer;
  letter-spacing: 0.01em;
  border: 1.5px solid transparent;
  position: relative;
  overflow: hidden;
}

/* Primary — sage green */
.btn-primary {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.btn-primary:hover {
  background: var(--navy-mid);
  border-color: var(--navy-mid);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

/* Secondary — sage */
.btn-sage {
  background: var(--sage);
  color: var(--white);
  border-color: var(--sage);
}

.btn-sage:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sage);
}

/* Outline navy */
.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}

.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
  transform: translateY(-1px);
}

/* Outline white (on dark bg) */
.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.55);
}

.btn-outline-white:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.80);
}

/* Ghost on light */
.btn-ghost {
  background: var(--white);
  color: var(--navy);
  border-color: var(--gray-300);
  box-shadow: var(--shadow-xs);
}

.btn-ghost:hover {
  border-color: var(--navy);
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
}

.btn-large { font-size: 0.98rem; padding: 15px 32px; }
.btn-full  { width: 100%; justify-content: center; }

/* ——————————————————————————————————————————
   4b. BRAND TOP STRIPE
—————————————————————————————————————————— */
body::before {
  content: '';
  display: block;
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-blue) 0%, var(--brand-teal) 50%, var(--brand-lime) 100%);
  z-index: 2000;
}

/* ——————————————————————————————————————————
   5. NAVIGATION
—————————————————————————————————————————— */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  box-shadow: 0 1px 0 rgba(51,59,143,0.06), 0 4px 16px rgba(51,59,143,0.05);
  transition: box-shadow var(--t-mid) var(--ease);
}

.navbar.scrolled {
  box-shadow: 0 1px 0 rgba(51,59,143,0.10), 0 6px 24px rgba(51,59,143,0.09);
}

.navbar.scrolled .nav-links a { color: var(--text-secondary) !important; }
.navbar.scrolled .btn-ghost {
  background: var(--white);
  color: var(--navy) !important;
  border-color: var(--gray-300);
}
.navbar.scrolled .btn-primary {
  background: var(--navy);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  gap: 20px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  text-decoration: none;
}

/* Real logo image */
.logo-img {
  height: 46px;
  width: auto;
  display: block;
  object-fit: contain;
  /* On dark hero: add drop-shadow so dark outlines are visible */
  filter: drop-shadow(0 1px 3px rgba(0,0,0,0.25));
  transition: opacity var(--t-fast), filter var(--t-fast);
  max-width: 200px;
}

/* Footer logo — slightly smaller, on dark bg */
.logo-img-footer {
  height: 42px;
  /* Brighten + drop-shadow for dark navy footer */
  filter: brightness(1.1) saturate(1.1) drop-shadow(0 1px 4px rgba(0,0,0,0.30));
}

/* When navbar scrolled to white bg, minimal shadow */
.navbar.scrolled .logo-img {
  filter: drop-shadow(0 1px 2px rgba(51,59,143,0.10));
}

/* Hover effect */
.logo:hover .logo-img {
  opacity: 0.88;
}



/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-links a {
  font-size: 0.87rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: color var(--t-fast), background var(--t-fast);
  white-space: nowrap;
}

.nav-links a:hover {
  color: var(--brand-navy);
  background: var(--brand-navy-pale);
}

.nav-ctas {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  padding: 8px;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--brand-navy);
  border-radius: 2px;
  transition: all var(--t-fast) var(--ease);
}

.hamburger.active span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.active span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: absolute;
  top: var(--nav-h);
  left: 0; right: 0;
  background: var(--white);
  border-top: var(--border-light);
  box-shadow: var(--shadow-lg);
  padding: 20px 32px 28px;
}

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

.mobile-link {
  display: block;
  font-size: 0.98rem;
  font-weight: 450;
  color: var(--text-secondary);
  padding: 14px 0;
  border-bottom: var(--border-light);
  transition: color var(--t-fast);
}

.mobile-link:hover { color: var(--accent-dark); }

.mobile-cta {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

/* ——————————————————————————————————————————
   6. HERO SECTION — Split Editorial Layout
—————————————————————————————————————————— */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding-top: var(--nav-h);
  overflow: hidden;
  position: relative;
}

/* Left panel — navy content */
.hero-left {
  background: var(--grad-hero);
  display: flex;
  align-items: center;
  padding: 80px 64px 80px 64px;
  position: relative;
  overflow: hidden;
}

.hero-left::before {
  content: '';
  position: absolute;
  top: -40%; right: -20%;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(29,190,146,0.12) 0%, transparent 65%);
  pointer-events: none;
}

.hero-left::after {
  content: '';
  position: absolute;
  bottom: -30%; left: -10%;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(196,149,106,0.08) 0%, transparent 65%);
  pointer-events: none;
}

.hero-left-inner {
  position: relative;
  z-index: 2;
  max-width: 520px;
}

/* Right panel — imagery */
.hero-right {
  position: relative;
  overflow: hidden;
  background: var(--cream);
}

.hero-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.hero-right-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(37,45,115,0.18) 0%, transparent 40%);
}

/* Hero content */
.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sage-light);
}

.hero-eyebrow-line {
  width: 32px;
  height: 1px;
  background: var(--sage-light);
  opacity: 0.7;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.6rem, 4.5vw, 3.8rem);
  font-weight: 600;
  font-style: italic;
  line-height: 1.14;
  color: var(--white);
  margin-bottom: 22px;
  letter-spacing: -0.01em;
}

.hero-title span {
  display: block;
  font-style: normal;
  font-weight: 700;
  color: var(--sage-light);
}

.hero-subtitle {
  font-size: 1.06rem;
  color: rgba(255,255,255,0.64);
  line-height: 1.78;
  margin-bottom: 42px;
  max-width: 440px;
  font-weight: 350;
}

.hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 52px;
}

/* Hero trust line */
.hero-trust {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.10);
}

.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.52);
  font-weight: 450;
}

.hero-trust-item i {
  font-size: 0.85rem;
  color: var(--sage-light);
  opacity: 0.8;
}

/* Floating card on hero image */
.hero-float-card {
  position: absolute;
  bottom: 40px;
  left: -40px;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  box-shadow: var(--shadow-xl);
  min-width: 220px;
  z-index: 3;
  animation: floatCard 4s ease-in-out infinite;
}

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

.hero-float-card-label {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  color: var(--text-light);
  margin-bottom: 6px;
}

.hero-float-card-value {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 4px;
}

.hero-float-card-sub {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* Hero stats bar */
.hero-stats-row {
  display: flex;
  gap: 0;
}

.hero-stat {
  flex: 1;
  text-align: center;
  padding: 28px 16px;
  background: var(--off-white);
  border-right: var(--border-light);
  transition: background var(--t-fast);
}

.hero-stat:last-child { border-right: none; }
.hero-stat:hover { background: var(--stone-whisper); }

.hero-stat-number {
  font-family: var(--font-serif);
  font-size: 2.1rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 5px;
}

.hero-stat-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 450;
  line-height: 1.4;
}

/* ——————————————————————————————————————————
   7. TRUST BAR
—————————————————————————————————————————— */
.trust-bar {
  background: var(--brand-navy-dark);
  padding: 16px 0;
  border-bottom: 1px solid rgba(35,150,202,0.18);
}

.trust-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px 36px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.8rem;
  font-weight: 450;
  color: rgba(255,255,255,0.58);
  white-space: nowrap;
}

.trust-item i {
  color: var(--sage-light);
  font-size: 0.85rem;
}

/* ——————————————————————————————————————————
   8. SERVICES SECTION
—————————————————————————————————————————— */
.services {
  background: var(--warm-white);
}

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

.service-card {
  background: var(--white);
  border: var(--border-light);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all var(--t-mid) var(--ease);
  box-shadow: var(--shadow-card);
  cursor: default;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--sage-pale);
}

.service-card-image {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--cream);
  position: relative;
}

.service-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow) var(--ease);
}

.service-card:hover .service-card-image img {
  transform: scale(1.04);
}

/* Fallback icon tile when no image */
.service-icon-tile {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  color: var(--brand-teal);
  background: var(--brand-teal-pale);
}

.service-card-body {
  padding: 28px 28px 30px;
}

.service-card-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background: var(--brand-teal-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-teal-dark);
  font-size: 1.05rem;
  margin-bottom: 16px;
  transition: all var(--t-mid) var(--ease);
}

.service-card:hover .service-card-icon {
  background: var(--brand-teal);
  color: var(--white);
}

.service-card h3 {
  font-family: var(--font-serif);
  font-size: 1.22rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 10px;
  line-height: 1.3;
}

.service-card p {
  font-size: 0.89rem;
  color: var(--text-muted);
  line-height: 1.72;
  margin-bottom: 18px;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 550;
  color: var(--brand-teal-dark);
  transition: gap var(--t-fast), color var(--t-fast);
}

.service-link:hover { gap: 10px; color: var(--brand-navy); }

.service-link i { font-size: 0.75rem; }

/* ——————————————————————————————————————————
   9. HOW IT WORKS — Clean numbered steps
—————————————————————————————————————————— */
.how-it-works {
  background: var(--stone-whisper);
  position: relative;
  overflow: hidden;
}

.how-it-works::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--stone-pale), transparent);
}

.how-it-works::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--stone-pale), transparent);
}

.hiw-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  margin-top: 64px;
  position: relative;
}

/* Connecting line */
.hiw-steps::before {
  content: '';
  position: absolute;
  top: 36px;
  left: calc(12.5% + 20px);
  right: calc(12.5% + 20px);
  height: 1px;
  background: linear-gradient(90deg, var(--brand-blue), var(--brand-teal), var(--brand-lime));
  z-index: 0;
}

.hiw-step {
  padding: 40px 28px;
  background: var(--white);
  position: relative;
  text-align: center;
  transition: background var(--t-mid);
}

.hiw-step:first-child { border-radius: var(--radius-xl) 0 0 var(--radius-xl); }
.hiw-step:last-child  { border-radius: 0 var(--radius-xl) var(--radius-xl) 0; }

.hiw-step:hover { background: var(--warm-white); }

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--sage-whisper);
  border: 2px solid var(--sage-light);
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--accent-dark);
  margin: 0 auto 24px;
  position: relative;
  z-index: 1;
  transition: all var(--t-mid) var(--ease);
}

.hiw-step:hover .step-number {
  background: var(--sage);
  border-color: var(--sage);
  color: var(--white);
  transform: scale(1.08);
}

.step-icon {
  font-size: 1.5rem;
  color: var(--accent);
  margin-bottom: 16px;
  transition: color var(--t-mid);
}

.hiw-step:hover .step-icon { color: var(--accent-dark); }

.hiw-step h3 {
  font-family: var(--font-serif);
  font-size: 1.12rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 10px;
  line-height: 1.3;
}

.hiw-step p {
  font-size: 0.87rem;
  color: var(--text-muted);
  line-height: 1.70;
}

.hiw-step-bullets {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  text-align: left;
}

.hiw-step-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.hiw-step-bullets i {
  color: var(--accent);
  font-size: 0.75rem;
  margin-top: 3px;
  flex-shrink: 0;
}

/* ——————————————————————————————————————————
   10. ATTORNEYS & PROVIDERS — Split with imagery
—————————————————————————————————————————— */
.attorneys {
  background: var(--white);
}

.attorneys-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 80px;
  align-items: center;
}

.attorneys-image {
  position: relative;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  aspect-ratio: 4/5;
}

.attorneys-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow) var(--ease);
}

.attorneys-image:hover img { transform: scale(1.03); }

.attorneys-image-badge {
  position: absolute;
  bottom: 28px;
  right: -20px;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 18px 22px;
  box-shadow: var(--shadow-xl);
  text-align: center;
  min-width: 160px;
}

.attorneys-image-badge-icon {
  font-size: 1.6rem;
  color: var(--accent);
  margin-bottom: 8px;
}

.attorneys-image-badge-text {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.4;
  font-weight: 450;
}

.attorneys-content .eyebrow { justify-content: flex-start; }

.attorneys-content .section-title { text-align: left; }

.attorneys-lead {
  font-size: 1.02rem;
  color: var(--text-muted);
  line-height: 1.78;
  margin-bottom: 36px;
}

.attorneys-features {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-bottom: 40px;
}

.attorney-feature {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px;
  border-radius: var(--radius-md);
  background: var(--warm-white);
  border: var(--border-light);
  transition: all var(--t-mid);
}

.attorney-feature:hover {
  background: var(--sage-whisper);
  border-color: var(--sage-pale);
}

.af-icon {
  width: 40px; height: 40px;
  border-radius: var(--radius-sm);
  background: var(--sage-whisper);
  border: var(--border-sage);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  color: var(--accent-dark);
  flex-shrink: 0;
  transition: all var(--t-mid);
}

.attorney-feature:hover .af-icon {
  background: var(--sage);
  color: var(--white);
  border-color: var(--sage);
}

.af-text h4 {
  font-family: var(--font-body);
  font-size: 0.93rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.af-text p {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* Referral Form Card */
.referral-card {
  background: var(--white);
  border: var(--border-warm);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-lg);
}

.referral-card-header {
  margin-bottom: 28px;
}

.referral-card-header .eyebrow { margin-bottom: 10px; }

.referral-card-header h3 {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.referral-card-header p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ——————————————————————————————————————————
   11. FORMS
—————————————————————————————————————————— */
.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gray-600);
  margin-bottom: 7px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  background: var(--warm-white);
  color: var(--text-primary);
  font-size: 0.92rem;
  transition: border-color var(--t-fast), box-shadow var(--t-fast), background var(--t-fast);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(29,190,146,0.18);
}

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

.form-group textarea {
  resize: vertical;
  min-height: 88px;
  line-height: 1.65;
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%23ABA89F' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px;
  padding-right: 40px;
  cursor: pointer;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.radio-group {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.radio-label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-weight: 450;
}

.radio-label input[type="radio"] {
  width: 16px;
  height: 16px;
  accent-color: var(--accent);
  cursor: pointer;
}

.form-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-light);
  margin-top: 12px;
}

.form-note i { color: var(--accent); }

/* Success states */
.referral-success,
.contact-success {
  text-align: center;
  padding: 48px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.referral-success i,
.contact-success i {
  font-size: 2.8rem;
  color: var(--accent);
}

.referral-success p,
.contact-success p {
  font-size: 0.93rem;
  color: var(--text-muted);
  max-width: 320px;
  line-height: 1.68;
}

.contact-success h4 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--text-primary);
}

/* ——————————————————————————————————————————
   12. TELEHEALTH SECTION
—————————————————————————————————————————— */
.telehealth {
  background: var(--navy);
  position: relative;
  overflow: hidden;
}

.telehealth::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 60% at 80% 40%, rgba(35,150,202,0.10) 0%, transparent 55%),
    radial-gradient(ellipse 40% 50% at 10% 70%, rgba(196,149,106,0.06) 0%, transparent 55%);
}

.telehealth-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.telehealth-content .eyebrow {
  color: var(--sage-light);
}

.telehealth-content .eyebrow::before,
.telehealth-content .eyebrow::after {
  background: var(--sage-light);
}

.telehealth-content .section-title {
  color: var(--white);
  text-align: left;
}

.telehealth-lead {
  font-size: 1.02rem;
  color: rgba(255,255,255,0.60);
  line-height: 1.78;
  margin-bottom: 36px;
  font-weight: 350;
}

.telehealth-features {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 40px;
}

.tele-feature {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  transition: background var(--t-mid), border-color var(--t-mid);
}

.tele-feature:hover {
  background: rgba(29,190,146,0.10);
  border-color: rgba(29,190,146,0.22);
}

.tele-icon {
  width: 40px; height: 40px;
  border-radius: var(--radius-sm);
  background: rgba(29,190,146,0.15);
  border: 1px solid rgba(29,190,146,0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  color: var(--sage-light);
  flex-shrink: 0;
}

.tele-feature h4 {
  font-size: 0.93rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 4px;
}

.tele-feature p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.50);
  line-height: 1.65;
}

/* Telehealth image side */
.telehealth-visual {
  position: relative;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow: 0 32px 80px rgba(0,0,0,0.4);
}

.telehealth-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.telehealth-visual-badge {
  position: absolute;
  top: 28px;
  right: -12px;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 2;
}

.tvb-icon {
  width: 36px; height: 36px;
  border-radius: var(--radius-sm);
  background: var(--sage-whisper);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 0.95rem;
  flex-shrink: 0;
}

.tvb-text-label {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-light);
  font-weight: 600;
  margin-bottom: 2px;
}

.tvb-text-value {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
}

/* ——————————————————————————————————————————
   13. ABOUT SECTION
—————————————————————————————————————————— */
.about {
  background: var(--warm-white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: center;
}

.about-image-wrap {
  position: relative;
}

.about-image-main {
  border-radius: var(--radius-2xl);
  overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow: var(--shadow-xl);
}

.about-image-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow) var(--ease);
}

.about-image-main:hover img { transform: scale(1.03); }

.about-image-inset {
  position: absolute;
  bottom: -24px;
  right: -24px;
  width: 44%;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 4px solid var(--white);
  aspect-ratio: 1;
}

.about-image-inset img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-image-tag {
  position: absolute;
  top: 28px;
  left: -20px;
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 14px 20px;
  box-shadow: var(--shadow-lg);
  z-index: 2;
}

.about-image-tag-label {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--sage-light);
  font-weight: 600;
  margin-bottom: 4px;
}

.about-image-tag-text {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1.2;
}

.about-content .eyebrow { justify-content: flex-start; }
.about-content .section-title { text-align: left; }

.about-lead {
  font-size: 1.04rem;
  color: var(--text-secondary);
  line-height: 1.80;
  margin-bottom: 18px;
  font-weight: 450;
}

.about-body {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.78;
  margin-bottom: 12px;
}

.about-values {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 28px;
  margin-bottom: 32px;
}

.value-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--accent-dark);
  background: var(--sage-whisper);
  border: var(--border-sage);
  padding: 7px 14px;
  border-radius: var(--radius-full);
  transition: all var(--t-fast);
}

.value-pill i { font-size: 0.72rem; }

.value-pill:hover {
  background: var(--sage-pale);
  border-color: var(--accent);
}

/* ——————————————————————————————————————————
   14. TESTIMONIALS
—————————————————————————————————————————— */
.testimonials {
  background: var(--stone-whisper);
  position: relative;
  overflow: hidden;
}

.testimonials::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--stone-pale), transparent);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative;
  z-index: 1;
}

.testimonial-card {
  background: var(--white);
  border: var(--border-light);
  border-radius: var(--radius-xl);
  padding: 32px 28px;
  box-shadow: var(--shadow-card);
  transition: all var(--t-mid) var(--ease);
  display: flex;
  flex-direction: column;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--sage-pale);
}

.testimonial-featured {
  background: var(--navy);
  border-color: transparent;
}

.testimonial-featured .testimonial-text { color: rgba(255,255,255,0.72); }
.testimonial-featured .testimonial-quote-icon { color: rgba(29,190,146,0.40); }
.testimonial-featured .author-name { color: var(--white); }
.testimonial-featured .author-detail { color: rgba(255,255,255,0.45); }
.testimonial-featured .star-rating i { color: var(--sage-light); }

.testimonial-quote-icon {
  font-size: 1.6rem;
  color: var(--sage-pale);
  margin-bottom: 16px;
  line-height: 1;
}

.testimonial-text {
  font-family: var(--font-serif);
  font-size: 1.02rem;
  font-style: italic;
  color: var(--text-secondary);
  line-height: 1.80;
  flex: 1;
  margin-bottom: 24px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  font-style: normal;
}

.author-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--sage-whisper);
  border: 2px solid var(--sage-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 600;
  color: var(--accent-dark);
  flex-shrink: 0;
}

.testimonial-featured .author-avatar {
  background: rgba(29,190,146,0.15);
  border-color: rgba(29,190,146,0.30);
  color: var(--brand-teal-light);
}

.author-info { flex: 1; }

.author-name {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.author-detail {
  font-size: 0.76rem;
  color: var(--text-light);
}

.star-rating {
  display: flex;
  gap: 2px;
  margin-left: auto;
}

.star-rating i {
  color: #D4A853;
  font-size: 0.72rem;
}

/* ——————————————————————————————————————————
   15. FAQ
—————————————————————————————————————————— */
.faq {
  background: var(--white);
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.faq-column {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  border: var(--border-warm);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
  background: var(--warm-white);
}

.faq-item:has(.faq-question[aria-expanded="true"]) {
  border-color: var(--sage-pale);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 22px;
  background: transparent;
  text-align: left;
  font-size: 0.92rem;
  font-weight: 550;
  color: var(--text-primary);
  transition: color var(--t-fast);
}

.faq-question:hover { color: var(--accent-dark); }

.faq-question[aria-expanded="true"] { color: var(--accent-dark); }

.faq-icon {
  flex-shrink: 0;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  color: var(--gray-500);
  transition: all var(--t-mid) var(--ease);
}

.faq-question[aria-expanded="true"] .faq-icon {
  background: var(--sage-whisper);
  color: var(--accent-dark);
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 22px 18px;
  background: transparent;
}

.faq-answer p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.75;
  padding-top: 12px;
  border-top: var(--border-light);
}

/* ——————————————————————————————————————————
   16. CONTACT SECTION
—————————————————————————————————————————— */
.contact {
  background: var(--off-white);
}

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

.contact-left .eyebrow { justify-content: flex-start; }
.contact-left .section-title { text-align: left; }

.contact-lead {
  font-size: 1.02rem;
  color: var(--text-muted);
  line-height: 1.78;
  margin-bottom: 36px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 36px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.contact-icon {
  width: 40px; height: 40px;
  border-radius: var(--radius-sm);
  background: var(--sage-whisper);
  border: var(--border-sage);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.88rem;
  color: var(--accent-dark);
  flex-shrink: 0;
}

.contact-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-light);
  margin-bottom: 3px;
}

.contact-value {
  font-size: 0.93rem;
  font-weight: 500;
  color: var(--text-primary);
  transition: color var(--t-fast);
}

a.contact-value:hover { color: var(--accent-dark); }

.contact-cta-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Contact Form */
.contact-form-wrap {
  background: var(--white);
  border: var(--border-light);
  border-radius: var(--radius-xl);
  padding: 44px;
  box-shadow: var(--shadow-lg);
}

.contact-form-wrap h3 {
  font-family: var(--font-serif);
  font-size: 1.65rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.contact-form-wrap > p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 28px;
}

/* ——————————————————————————————————————————
   17. FOOTER
—————————————————————————————————————————— */
.footer {
  background: var(--brand-navy-dark);
}

.footer-top {
  padding: 72px 0 56px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px;
}

.footer-brand {}

.footer-tagline {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.40);
  line-height: 1.72;
  margin-top: 14px;
  max-width: 280px;
}

.footer-socials {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.social-link {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.09);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.45);
  font-size: 0.78rem;
  transition: all var(--t-fast);
}

.social-link:hover {
  background: var(--sage);
  border-color: var(--sage);
  color: var(--white);
}

.footer-nav-col h4 {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  color: rgba(255,255,255,0.55);
  margin-bottom: 18px;
}

.footer-nav-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-nav-col a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.38);
  transition: color var(--t-fast);
}

.footer-nav-col a:hover { color: var(--sage-light); }

.footer-bottom {
  padding: 22px 0;
}

.footer-bottom-container {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-bottom p { font-size: 0.8rem; color: rgba(255,255,255,0.25); }

.footer-disclaimer {
  font-size: 0.74rem !important;
  max-width: 640px;
  line-height: 1.6;
}

/* ——————————————————————————————————————————
   18. FLOATING BUTTON
—————————————————————————————————————————— */
.floating-refer {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 900;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity var(--t-mid), transform var(--t-mid);
  pointer-events: none;
}

.floating-refer.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.floating-btn {
  display: flex;
  align-items: center;
  gap: 9px;
  background: var(--navy);
  color: var(--white);
  font-size: 0.86rem;
  font-weight: 600;
  padding: 13px 20px;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-xl);
  transition: all var(--t-mid) var(--ease);
  border: 1px solid rgba(255,255,255,0.10);
  text-decoration: none;
}

.floating-btn:hover {
  background: var(--sage);
  transform: translateY(-2px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.22), var(--shadow-sage);
}

.floating-btn i {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--sage);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  transition: background var(--t-fast);
}

.floating-btn:hover i { background: rgba(255,255,255,0.2); }

/* ——————————————————————————————————————————
   19. DIVIDER
—————————————————————————————————————————— */
.section-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gray-200), transparent);
  margin: 0;
}

/* ——————————————————————————————————————————
   20. RESPONSIVE — TABLET ≤ 1024px
—————————————————————————————————————————— */
@media (max-width: 1024px) {
  :root { --section-py: 72px; }

  .nav-links, .nav-ctas { display: none; }
  .hamburger { display: flex; }

  /* Hero */
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-left {
    padding: 72px 40px 64px;
    min-height: 75vh;
  }

  .hero-right {
    height: 420px;
    display: none;
  }

  .hero-left-inner { max-width: 100%; }

  .hero-stats-row { flex-direction: row; }

  /* Services */
  .services-grid { grid-template-columns: repeat(2, 1fr); }

  /* How it works */
  .hiw-steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 2px;
  }

  .hiw-steps::before { display: none; }

  .hiw-step:first-child  { border-radius: var(--radius-xl) 0 0 0; }
  .hiw-step:nth-child(2) { border-radius: 0 var(--radius-xl) 0 0; }
  .hiw-step:nth-child(3) { border-radius: 0 0 0 var(--radius-xl); }
  .hiw-step:last-child   { border-radius: 0 0 var(--radius-xl) 0; }

  /* Attorneys */
  .attorneys-grid {
    grid-template-columns: 1fr;
    gap: 52px;
  }

  .attorneys-image {
    aspect-ratio: 16/9;
    max-height: 400px;
  }

  .attorneys-image-badge { right: 20px; bottom: 20px; }

  .attorneys-content .section-title { text-align: center; }
  .attorneys-content .eyebrow { justify-content: center; }
  .attorneys-lead { text-align: center; }
  .attorneys-content .btn { display: flex; justify-content: center; }

  /* Telehealth */
  .telehealth-grid {
    grid-template-columns: 1fr;
    gap: 52px;
  }

  .telehealth-content .section-title { text-align: center; }
  .telehealth-content .eyebrow { justify-content: center; }
  .telehealth-lead { text-align: center; }
  .telehealth-content .btn { display: flex; justify-content: center; }
  .telehealth-visual { aspect-ratio: 16/9; max-height: 380px; }
  .telehealth-visual-badge { right: 20px; }

  /* About */
  .about-grid {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .about-image-inset { display: none; }
  .about-image-main  { aspect-ratio: 16/9; max-height: 380px; }

  .about-content .section-title { text-align: center; }
  .about-content .eyebrow { justify-content: center; }
  .about-lead  { text-align: center; }
  .about-values { justify-content: center; }
  .about-content .btn { display: flex; justify-content: center; }

  /* Testimonials */
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }

  /* Contact */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 52px;
  }

  .contact-left .section-title { text-align: center; }
  .contact-left .eyebrow { justify-content: center; }
  .contact-lead { text-align: center; }
  .contact-cta-links { justify-content: center; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom-container { flex-direction: column; }
}

/* ——————————————————————————————————————————
   21. RESPONSIVE — MOBILE ≤ 640px
—————————————————————————————————————————— */
@media (max-width: 640px) {
  :root { --section-py: 56px; }

  .container { padding: 0 20px; }

  .hero-left { padding: 56px 20px 48px; }

  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn { justify-content: center; }

  .hero-trust { flex-wrap: wrap; gap: 14px; }

  .hero-stats-row { flex-direction: column; }
  .hero-stat { border-right: none; border-bottom: var(--border-light); }
  .hero-stat:last-child { border-bottom: none; }

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

  .hiw-steps { grid-template-columns: 1fr; gap: 2px; }
  .hiw-step:first-child,
  .hiw-step:nth-child(2),
  .hiw-step:nth-child(3),
  .hiw-step:last-child { border-radius: 0; }
  .hiw-step:first-child { border-radius: var(--radius-xl) var(--radius-xl) 0 0; }
  .hiw-step:last-child  { border-radius: 0 0 var(--radius-xl) var(--radius-xl); }

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

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

  .form-row { grid-template-columns: 1fr; }

  .contact-form-wrap { padding: 28px 20px; }
  .referral-card     { padding: 28px 20px; }

  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }

  .floating-refer { bottom: 20px; right: 16px; }
  .floating-btn span { display: none; }
  .floating-btn {
    padding: 0;
    width: 50px; height: 50px;
    border-radius: 50%;
    justify-content: center;
  }
  .floating-btn i {
    width: auto; height: auto;
    background: none;
    font-size: 1rem;
  }

  .section-header { margin-bottom: 44px; }
}

/* ——————————————————————————————————————————
   22. INPUT ERROR STATE
—————————————————————————————————————————— */
.input-error {
  border-color: #C0392B !important;
  box-shadow: 0 0 0 3px rgba(192,57,43,0.10) !important;
}

/* ——————————————————————————————————————————
   23. HERO IMAGE — show on tablet portrait too
—————————————————————————————————————————— */
@media (min-width: 768px) and (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    position: relative;
  }

  .hero-right {
    display: block;
    position: absolute;
    inset: 0;
    z-index: 0;
    opacity: 0.20;
  }

  .hero-left {
    position: relative;
    z-index: 1;
    min-height: 80vh;
  }

  .hero-float-card { display: none; }
}

/* Service cards consistent image height */
.service-card-image {
  min-height: 190px;
}

/* Attorney image fallback bg */
.attorneys-image {
  background: var(--stone-whisper);
}

/* Telehealth visual fallback */
.telehealth-visual {
  background: rgba(35,150,202,0.08);
}

/* About image fallback */
.about-image-main {
  background: var(--cream);
}

/* Smooth image loading fade-in */
img {
  transition: opacity 0.3s ease;
}

img[loading="lazy"] {
  opacity: 0;
}

img[loading="lazy"].loaded,
img:not([loading]) {
  opacity: 1;
}

/* Referral section spacing fix */
#referral-form-section {
  padding-bottom: var(--section-py);
}

/* Hero mobile refinement */
@media (max-width: 767px) {
  .hero-left::before,
  .hero-left::after { display: none; }

  .hero-title {
    font-size: clamp(2.2rem, 8vw, 3rem);
  }

  .hero-subtitle { font-size: 0.96rem; }

  .hero-trust { flex-direction: column; gap: 10px; align-items: flex-start; }
}

/* Attorneys full-width layout on small tablets */
@media (max-width: 860px) {
  .attorneys-grid { gap: 36px; }
  .attorneys-image { max-height: 340px; }
}

/* Elegant blockquote reset */
blockquote { all: unset; display: block; }

/* ——————————————————————————————————————————
   23. PRINT
—————————————————————————————————————————— */
@media print {
  .navbar, .floating-refer, .trust-bar { display: none; }
  .hero { min-height: auto; padding-top: 20px; }
  body { color: #000; background: #fff; }
}
