/* ================================================================
   ALLIANCE WOMEN'S CLINIC — MASTER STYLESHEET
   Fonts → Globals → Nav → Inner Pages → Home
   All pages load: css/master.css only
   ================================================================ */

/* ── FONTS ─────────────────────────────────────────────────────── */
/* ============================================
   BEHIND THE NINETIES — Self-hosted
   Brand display font for Alliance Women's Clinic
   ============================================ */

@font-face {
  font-family: "Behind The Nineties";
  src: url("../fonts/Behind-The-Nineties-Rg.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Behind The Nineties";
  src: url("../fonts/Behind-The-Nineties-It.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Behind The Nineties";
  src: url("../fonts/Behind-The-Nineties-Md.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Behind The Nineties";
  src: url("../fonts/Behind-The-Nineties-Md-It.woff2") format("woff2");
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Behind The Nineties";
  src: url("../fonts/Behind-The-Nineties-Smbd.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Behind The Nineties";
  src: url("../fonts/Behind-The-Nineties-Smbd-It.woff2") format("woff2");
  font-weight: 600;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Behind The Nineties";
  src: url("../fonts/Behind-The-Nineties-Bd.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Behind The Nineties";
  src: url("../fonts/Behind-The-Nineties-Bd-It.woff2") format("woff2");
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Behind The Nineties";
  src: url("../fonts/Behind-The-Nineties-Xbd.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Behind The Nineties";
  src: url("../fonts/Behind-The-Nineties-Xbd-It.woff2") format("woff2");
  font-weight: 800;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Behind The Nineties";
  src: url("../fonts/Behind-The-Nineties-Blk.woff2") format("woff2");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Behind The Nineties";
  src: url("../fonts/Behind-The-Nineties-Blk-It.woff2") format("woff2");
  font-weight: 900;
  font-style: italic;
  font-display: swap;
}

/* ── GLOBAL DESIGN SYSTEM ─────────────────────────────────────── */
/* ============================================
   ALLIANCE WOMEN'S CLINIC — DESIGN SYSTEM
   ============================================ */

/* Body font — Montserrat via Google Fonts */

:root {
  /* BRAND COLORS */
  --navy-deep:    #0D1135;
  --navy-dark:    #141843;
  --navy-mid:     #1A2057;
  --navy-brand:   #20285C;
  --navy-light:   #2C3575;
  --navy-muted:   #3D4A8A;

  /* TEAL — primary accent */
  --teal:         #38BEB4;
  --teal-dark:    #22A89F;
  --teal-light:   #50D0C8;
  --teal-pale:    #eaf8f7;
  --teal-muted:   rgba(56,190,180,0.12);

  /* PINK — secondary accent / warmth */
  --pink-bright:  #F16282;
  --pink-mid:     #E8506F;
  --pink-soft:    #FADADF;
  --pink-pale:    #FFF0F3;

  --white:        #FFFFFF;
  --off-white:    #F5F6FA;
  --text-muted:   #7A85B0;
  --text-dark:    rgba(13,17,53,0.6);
  --border:       rgba(255,255,255,0.08);
  --border-dark:  rgba(13,17,53,0.09);

  /* TYPOGRAPHY */
  --font-display: "Behind The Nineties", "montserrat-alternates", sans-serif;
  --font-body:    "Montserrat", sans-serif;

  /* SPACING */
  --section-pad:  clamp(80px, 10vw, 140px);
  --container:    1240px;
  --gutter:       clamp(20px, 5vw, 60px);

  /* TRANSITIONS */
  --ease-out:     cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out:  cubic-bezier(0.87, 0, 0.13, 1);
  --duration:     0.7s;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background: var(--navy-deep);
  color: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

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

/* UTILITY */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.8125rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 15px 34px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: color 0.3s var(--ease-out), background-color 0.3s var(--ease-out), border-color 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out), transform 0.3s var(--ease-out), opacity 0.3s var(--ease-out);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--teal);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--teal-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(56,190,180,0.35);
}


.btn-outline {
  background: transparent;
  color: var(--white);
  border-radius: 8px;
  border: 1.5px solid rgba(255,255,255,0.35);
}
.btn-outline:hover {
  border-color: rgba(255,255,255,0.9);
  background: rgba(255,255,255,0.07);
  transform: translateY(-2px);
}

.btn-outline-teal {
  background: transparent;
  color: var(--teal);
  border: 1.5px solid var(--teal);
}
.btn-outline-teal:hover {
  background: var(--teal-muted);
  transform: translateY(-2px);
}

.btn-outline-dark {
  background: transparent;
  color: var(--navy-brand);
  border: 1.5px solid rgba(32,40,92,0.3);
}
.btn-outline-dark:hover {
  border-color: var(--navy-brand);
  background: rgba(32,40,92,0.04);
  transform: translateY(-2px);
}

/* REVEAL ANIMATIONS — progressive enhancement
   Without JS: .reveal elements are fully visible (no .js-ready on html)
   With JS:    .js-ready .reveal starts hidden, animates in when .visible added */

/* Default: always visible (no JS case) */
.reveal { opacity: 1; transform: none; }

/* JS is running: enable the hide-then-reveal animation */
.js-ready .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.55s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}
.js-ready .reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }


/* Section transitions are handled by clean background-color changes
   and subtle border-top/border-bottom rules per section */

/* LABEL TAG */
.label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 16px;
}
.label::before {
  content: '';
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--teal);
}

/* HEADING STYLES */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.24;
  letter-spacing: -0.02em;
}


.heading-lg {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 4.8vw, 3.75rem);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.015em;
}

.heading-sm {
  font-size: clamp(1.1rem, 1.5vw, 1.375rem);
  font-weight: 700;
}

.accent-text { color: var(--teal); font-style: italic; }

/* Roman line + italic accent line lockups (e.g. "What patients are saying about /
   Alliance Women's Clinic"). Behind The Nineties at 800 italic ascends ~0.80em, so a
   preceding line ending in a descender collides at normal display leading. */
.heading-lg:has(br + .accent-text) { line-height: 1.36; }


/* DIVIDER LINE */
.divider {
  width: 48px;
  height: 3px;
  background: var(--teal);
  border-radius: 2px;
  margin: 20px 0 28px;
}


/* ──────────────────────────────────────────────
   FOOTER
   ────────────────────────────────────────────── */
.site-footer { background: #090C26; position: relative; border-top: 1px solid rgba(255,255,255,0.05); }

.footer-main { padding: 64px 0 44px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand img { mix-blend-mode: screen; margin-bottom: 14px; }
.footer-tagline { font-size: 0.875rem; color: var(--text-muted); margin-bottom: 16px; font-style: italic; }
.footer-phone { font-size: 1.0625rem; font-weight: 700; color: rgba(255,255,255,0.85); transition: color 0.2s; }
.footer-phone:hover { color: var(--teal); }
.footer-nav { display: flex; flex-direction: column; }
.footer-nav-heading { font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--teal); margin-bottom: 18px; }
.footer-nav ul { display: flex; flex-direction: column; gap: 10px; }
.footer-nav a { font-size: 0.875rem; color: rgba(255,255,255,0.48); transition: color 0.2s, padding-left 0.2s; }
.footer-nav a:hover { color: rgba(255,255,255,0.9); padding-left: 4px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.05); padding: 20px 0; }
.footer-bottom .container { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.footer-bottom p, .footer-bottom a { font-size: 0.8125rem; color: rgba(255,255,255,0.28); }
.footer-bottom a { display: inline-flex; align-items: center; min-height: 24px; }
.footer-bottom a:hover { color: rgba(255,255,255,0.55); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 540px) { .footer-grid { grid-template-columns: 1fr; } }

.nav-logo img { mix-blend-mode: screen; }

/* ════════════════════════════════════════════════════════════
   SOFT CURVES — Women-focused aesthetic sitewide
   Rounded edges on photos, cards, buttons, boxes
   ════════════════════════════════════════════════════════════ */

/* Photos get soft rounded corners */
img:not(.nav-logo img):not(.footer-brand img):not(.hero-image-card img):not(.photo-row-item img):not([class*="hero-"]) {
  border-radius: 12px;
}

/* Override for specific contexts that shouldn't have radius */
.about-img-main { border-radius: 16px !important; }
.kenosha-gallery img, .loc-hero { border-radius: 0; }
.photo-row-item img { border-radius: 0; }
.hero-image-card img { border-radius: 0; }

/* Service cards */
.service-card { border-radius: 16px !important; }

/* Process / step cards */
.process-step { border-radius: 16px !important; }

/* Review cards */
.review-card { border-radius: 16px !important; }

/* Location cards */
.loc-card, .location-card { border-radius: 16px; }

/* State list items */
.state-item { border-radius: 10px; }

/* Photo row teal stat tile */
.photo-row-item--teal { border-radius: 0; }

/* Nav logo container */
.nav-logo { border-radius: 0; }

/* Buttons — already use border-radius via globals, but increase */
.btn, button, [class*="btn-"] { border-radius: 8px !important; }
.btn-white, .btn-outline-white { border-radius: 8px !important; }

/* Input fields */
input, textarea, select { border-radius: 10px; }

/* Mosaic cells */
.mosaic-cell { border-radius: 12px; overflow: hidden; }
.mosaic-cell--teal { border-radius: 12px; }

/* Editorial images */
.editorial-mosaic img { border-radius: 12px; }

/* About image stack */
.about-image-stack { border-radius: 16px; }


/* Stats badges */
.photo-row-location-badge { border-radius: 6px !important; }

/* Popup cards */
.leaflet-popup-content-wrapper { border-radius: 14px !important; }

/* Hero stats bar items */
.hero-stat { border-radius: 0; }

/* Teal band */
.teal-band { border-radius: 0; }

/* Footer */
.site-footer { border-radius: 0; }

/* Editorial mosaic images */
.mosaic-cell img { border-radius: 12px !important; object-fit: cover; width: 100%; height: 100%; }
.editorial-mosaic { border-radius: 16px; overflow: hidden; }

/* About section image */
.about-image-stack { border-radius: 18px; overflow: hidden; }
.about-img-main { border-radius: 16px !important; }

/* Photo row — full bleed no radius */
.photo-row-item { border-radius: 0; overflow: hidden; }
.photo-row-item img { border-radius: 0 !important; }


/* Review cards border-top + border-radius */
.review-card { border-radius: 16px !important; border-top: 3px solid #38BEB4 !important; }

/* Stats items in photo row */
.photo-row-item--teal { border-radius: 0; }

/* Process step number */
.step-number { border-radius: 8px; }


/* ═══════════════════════════════════════════════════════
   SITE-WIDE TRANSITION POLISH
   Subtle, consistent hover states matching home page feel
   ═══════════════════════════════════════════════════════ */

/* Smooth scroll on all pages */
html { scroll-behavior: smooth; }

/* All interactive links get a consistent color transition */
a { transition: color 0.2s var(--ease-out), opacity 0.2s var(--ease-out); }

/* Buttons already have transitions — ensure consistent ease */
.btn { transition: background 0.25s var(--ease-out), transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out), border-color 0.25s var(--ease-out); }

/* Focus ring — accessible, styled to brand */
:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Images that may not have explicit hover — subtle scale on any clickable image */
a img { transition: transform 0.45s var(--ease-out), opacity 0.3s var(--ease-out); }
a:hover img { transform: scale(1.02); }

/* Nav logo — override the generic a img rule so it stays still */
.nav-logo img { transform: none !important; }

/* Footer nav links — match home page nav feel with a left-nudge */
.footer-nav a:hover { color: rgba(255,255,255,0.88); padding-left: 4px; }

/* ── CARD HOVER STANDARDISATION ── */
/* Any card that uses reveal class gets a consistent lift */
.service-detail-card,
.location-card,
.blog-card,
.support-card,
.impact-card {
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out), border-color 0.3s var(--ease-out), background 0.3s var(--ease-out);
}

/* ── SECTION AMBIENT GLOW — page-hero ── */
/* Mirrors the subtle pink radial on home page hero */
.page-hero::after {
  content: '';
  position: absolute;
  bottom: -60px;
  right: -60px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(241,98,130,0.06) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* ── TEAL UNDERLINE ON EYEBROW LABELS ── */
/* Matches the editorial accent style from home page section headers */
.label { transition: opacity 0.2s; }

/* ── NAVIGATION ───────────────────────────────────────────────── */
/* ============================================
   NAVIGATION
   ============================================ */

.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 24px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.5s ease, padding 0.5s ease, backdrop-filter 0.5s ease;
}

.site-nav.scrolled {
  background: rgba(13, 17, 53, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 16px var(--gutter);
  border-bottom: 1px solid var(--border);
}

.nav-logo img {
  height: 40px;
  width: auto;
  transition: height 0.5s ease;
}
.site-nav.scrolled .nav-logo img { height: 34px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 40px);
}

.nav-links a {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  transition: color 0.2s ease;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 1.5px;
  background: var(--teal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease-out);
}
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-links a.active { color: var(--white); }

/* DROPDOWN */
.nav-dropdown {
  position: relative;
}
.nav-dropdown > a::after { display: none; }
.nav-dropdown > a {
  display: flex;
  align-items: center;
  gap: 5px;
}
.nav-dropdown > a svg {
  width: 14px;
  height: 14px;
  transition: transform 0.3s ease;
}
.nav-dropdown:hover > a svg { transform: rotate(180deg); }

.dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 200px;
  background: var(--navy-dark);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(-8px);
  transition: color 0.25s var(--ease-out), background-color 0.25s var(--ease-out), border-color 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out), transform 0.25s var(--ease-out), opacity 0.25s var(--ease-out), visibility 0.25s var(--ease-out);
}
.dropdown-menu.mega {
  min-width: 480px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  padding: 16px;
}
.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown-menu a {
  display: block;
  padding: 8px 12px;
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.7);
  border-radius: 2px;
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease, opacity 0.2s ease, visibility 0.2s ease;
}
.dropdown-menu a:hover {
  background: rgba(255,255,255,0.06);
  color: var(--white);
}

.dropdown-col-label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--teal);
  padding: 4px 12px 8px;
  display: block;
}

/* CTA IN NAV */
.nav-cta {
  display: flex;
  align-items: center;
  gap: 16px;
}


/* MOBILE HAMBURGER */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 1px;
  transition: color 0.3s ease, background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease, opacity 0.3s ease;
}
.nav-hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* MOBILE MENU */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--navy-deep);
  display: flex;
  flex-direction: column;
  padding: 100px var(--gutter) 40px;
  transform: translateX(100%);
  transition: transform 0.5s var(--ease-out);
  overflow-y: auto;
}
.mobile-menu.open { transform: translateX(0); }

.mobile-menu .mobile-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}
.mobile-menu a {
  font-size: 1.2rem;
  font-weight: 700;
  color: rgba(255,255,255,0.75);
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  transition: color 0.2s, padding-left 0.2s;
}
.mobile-menu a:hover { color: var(--white); padding-left: 8px; }
.mobile-menu .mobile-sub a {
  font-size: 0.9375rem;
  font-weight: 500;
  padding: 8px 0 8px 16px;
  color: rgba(255,255,255,0.5);
  border-bottom: none;
}
.mobile-menu .mobile-cta {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

@media (max-width: 1024px) {
  .nav-links { display: none; }
  
  .nav-hamburger { display: flex; }
}
@media (min-width: 1025px) {
  .mobile-menu { display: none; }
}

/* Nav logo link */
.nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}

/* Dropdown mega menu column */
.dropdown-col {
  display: flex;
  flex-direction: column;
}

/* ── INNER PAGES ──────────────────────────────────────────────── */
/* ============================================
   INNER PAGE STYLES
   ============================================ */

/* PAGE HERO */
.page-hero {
  background: var(--navy-deep);
  padding: clamp(120px, 15vh, 168px) 0 clamp(60px, 7vw, 88px);
  position: relative;
  overflow: hidden;
  min-height: 420px;
  display: flex;
  align-items: flex-end;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 80% 40%, rgba(241,98,130,0.06) 0%, transparent 60%),
    radial-gradient(ellipse at 20% 80%, rgba(32,40,92,0.8) 0%, transparent 70%);
  pointer-events: none;
}

/* Geometric accent lines */
.page-hero::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 40%;
  height: 100%;
  background: linear-gradient(135deg, transparent 50%, rgba(255,255,255,0.015) 50%);
  pointer-events: none;
}

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

.page-hero h1 {
  margin-top: 10px;
  margin-bottom: 22px;
}

.page-hero-sub {
  font-size: clamp(1rem, 1.25vw, 1.0625rem);
  color: rgba(255,255,255,0.6);
  max-width: 560px;
  line-height: 1.78;
}


/* LOCATIONS PAGE */
.locations-filter {
  background: var(--navy-dark);
  padding: 32px 0;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 80px;
  z-index: 10;
}
.filter-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.filter-tab {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: 10px 20px;
  cursor: pointer;
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
}
.filter-tab:hover, .filter-tab.active {
  color: var(--white);
  border-color: var(--pink-bright);
  background: rgba(241,98,130,0.08);
}

.locations-section {
  background: var(--navy-dark);
  padding: var(--section-pad) 0;
}

.state-group {
  margin-bottom: 80px;
}
.state-group:last-child { margin-bottom: 0; }

.state-label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--pink-bright);
  margin-bottom: 32px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 12px;
}
.state-label::before {
  content: '';
  width: 24px;
  height: 1.5px;
  background: var(--pink-bright);
}

.locations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.location-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 32px 28px;
  transition: color 0.3s var(--ease-out), background-color 0.3s var(--ease-out), border-color 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out), transform 0.3s var(--ease-out), opacity 0.3s var(--ease-out);
  position: relative;
  overflow: hidden;
}
.location-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: var(--pink-bright);
  transform: scaleY(0);
  transition: transform 0.3s var(--ease-out);
}

.location-city {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 4px;
  font-family: var(--font-display);
}
.location-state {
  font-size: 0.8125rem;
  color: var(--pink-bright);
  font-weight: 600;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}
.location-address {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.6;
  margin-bottom: 24px;
  display: flex;
  gap: 8px;
}
.location-address svg { flex-shrink: 0; margin-top: 2px; color: var(--text-muted); }
.location-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.location-btn {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 10px 18px;
  border-radius: 2px;
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
  border: 1px solid;
}
.location-btn-primary {
  background: var(--pink-bright);
  color: var(--white);
  border-color: var(--pink-bright);
}
.location-btn-primary:hover { background: var(--pink-mid); transform: translateY(-1px); }
.location-btn-outline {
  background: transparent;
  color: rgba(255,255,255,0.65);
  border-color: var(--border);
}
.location-btn-outline:hover { border-color: rgba(255,255,255,0.4); color: var(--white); }


.faq-item {
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  transition: border-color 0.3s;
}
.faq-item.open { border-color: rgba(241,98,130,0.3); }
.faq-question {
  width: 100%;
  text-align: left;
  background: rgba(255,255,255,0.03);
  border: none;
  padding: 22px 28px;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: background 0.2s;
}
.faq-question:hover { background: rgba(255,255,255,0.06); }
.faq-question svg {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--pink-bright);
  transition: transform 0.3s var(--ease-out);
}
.faq-item.open .faq-question svg { transform: rotate(180deg); }


.two-col-content .heading-lg { margin-bottom: 24px; }


.stat-number .accent { color: var(--pink-bright); }


.faq-item { border-radius: 10px; }


/* ═══════════════════════════════════════════════════════
   INNER PAGE TRANSITION POLISH
   Matching home page subtle hover rhythm
   ═══════════════════════════════════════════════════════ */


/* ── Destination cards ──
   The only card left with a hover state, because it is the only one that is
   actually a link. The pillar, commitment and service-category lists that
   used to share these transitions have no hover rules any more. */
.cc-dest-card {
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out), border-color 0.3s var(--ease-out);
}

/* ── Step items / visit process ── */
.yv-scard,
.ss-cm-step,
.sv-feat-item,
.cc-ov-item {
  transition: transform 0.2s var(--ease-out), border-color 0.2s var(--ease-out), background 0.2s var(--ease-out);
}

/* ── Hub destination card arrow — animated on parent hover ── */
.cc-dest-card-cta { transition: gap 0.2s var(--ease-out), color 0.2s; }
.cc-dest-card:hover .cc-dest-card-cta { gap: 14px; }

/* ── Location card accent bar ── */
.location-card::before {
  transition: transform 0.35s var(--ease-out);
}

/* ── FAQ item ── */
.faq-item {
  transition: border-color 0.25s var(--ease-out);
}

/* ── Teal band items ── */
.cm-band-item {
  transition: background 0.2s var(--ease-out);
}


/* ── Section heading reveal — add a faint teal left-tick animation ── */
.heading-lg,
.heading-md {
  transition: color 0.3s var(--ease-out);
}

/* ── Ambient glow behind key dark sections (mirrors home page) ──
   Not .ss-cm-section: that one already uses its own ::after for the 4px
   accent bar at the foot of the section, and the two rules merged into a
   440x4px gradient sitting 80px above it, inside the quote band. */
.sv-feature::after,
.cm-philosophy::after {
  content: '';
  position: absolute;
  top: -80px;
  left: -80px;
  width: 440px;
  height: 440px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(56,190,180,0.04) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* ── HOME PAGE ────────────────────────────────────────────────── */
/* ============================================
   HOME PAGE — Editorial, Typographic, Design-Rich
   Purple Clinic editorial influence + AWC brand
   ============================================ */

/* ──────────────────────────────────────────────
   HERO — Split layout, full-height doctor
   ────────────────────────────────────────────── */

.hero {
  background: var(--navy-deep);
  min-height: 100svh;
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr auto;
}

/* — Large background type watermark — */
.hero-bg-word {
  position: absolute;
  bottom: -0.15em;
  left: -0.03em;
  font-family: var(--font-display);
  font-size: clamp(12rem, 20vw, 20rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.04em;
  color: rgba(255,255,255,0.025);
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
  z-index: 0;
}

/* — Teal left edge line — */
.hero::after {
  content: '';
  position: absolute;
  left: 0;
  top: 15%;
  width: 4px;
  height: 70%;
  background: linear-gradient(to bottom, transparent, var(--teal) 25%, var(--teal) 75%, transparent);
  z-index: 3;
}

/* Remove old triangle pseudo (handled by .hero-right now) */
.hero::before { display: none; }

/* ── LEFT PANEL — content ── */
.hero-left {
  grid-column: 1;
  grid-row: 1;
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(100px, 14vh, 160px) clamp(32px, 4vw, 64px) 60px clamp(32px, 6vw, 100px);
}

/* hero-inner removed — not used in current layout */

/* — Left: headline block — */
.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
}
.hero-eyebrow-line { width: 36px; height: 2px; background: var(--teal); flex-shrink: 0; }
.hero-eyebrow-text {
  font-size: 0.6875rem; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--teal);
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 4.5vw, 5.5rem);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -0.035em;
  color: var(--white);
  margin-bottom: 32px;
}
.hero-headline em { color: var(--teal); font-style: italic; display: block; }

.hero-sub-row {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.hero-sub {
  font-size: clamp(0.9375rem, 1.1vw, 1.0625rem);
  color: rgba(255,255,255,0.6);
  max-width: 400px;
  line-height: 1.75;
}
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }

/* ── RIGHT PANEL — full-height doctor image ── */

/* Alliance Icon watermark in hero right panel — anchored at bottom */


.hero-image-card {
  grid-column: 2;
  grid-row: 1 / 3;
  position: relative;
  overflow: hidden;
  align-self: stretch;
}

/* teal geometric backdrop triangle */
/* Soft teal ambient glow behind doctor — A mark SVG handles geometry */
.hero-image-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 75% at 55% 60%,
    rgba(56,190,180,0.22) 0%,
    rgba(56,190,180,0.10) 40%,
    rgba(56,190,180,0.03) 65%,
    transparent 80%
  );
  z-index: 0;
}

/* subtle teal glow at bottom */
.hero-image-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 200px;
  background: linear-gradient(to top, rgba(56,190,180,0.1), transparent);
  z-index: 1;
}

.hero-image-card-inner {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.hero-image-card img {
  width: auto;
  height: 70%;
  max-height: 70svh;
  object-fit: contain;
  object-position: bottom center;
  display: block;
  position: relative;
  z-index: 2;
  filter: drop-shadow(-20px 0 60px rgba(56,190,180,0.15));
}


/* ── STAT BAR — spans full width, below both panels ── */
.hero-stats-bar {
  grid-column: 1 / -1;
  grid-row: 2;
  position: relative;
  z-index: 2;
  /* Flex rather than four fixed tracks: the labels are white-space:nowrap,
     so with fixed columns a raised browser font size pushes items off the
     side instead of reflowing. Wrapping is identical at 100% and 150% and
     only becomes two rows at 200%. */
  display: flex;
  flex-wrap: wrap;
  padding: 20px clamp(32px, 6vw, 100px) 24px;
  background: var(--navy-deep);
  border-top: none;
}

/* Smooth gradient fade from hero into editorial */
.hero {
  padding-bottom: 0;
}
.editorial-section {
  position: relative;
}
/* editorial::before removed - clean gradient transition via hero-stats-bar::after */
.hero-stats-bar::after {
  content: '';
  position: absolute;
  bottom: -40px; left: 0; right: 0;
  height: 48px;
  background: linear-gradient(to bottom, var(--navy-dark) 0%, #f5f6fa 100%);
  z-index: 10;
  pointer-events: none;
}

/* Shares the row evenly at normal text size, wraps when it cannot. */
.hero-stat {
  flex: 1 1 auto;
  min-width: 0;
  padding: 0 clamp(12px, 2vw, 32px);
  border-right: 1px solid rgba(255,255,255,0.07);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding-top: 4px;
  padding-bottom: 4px;
}
.hero-stat:first-child { padding-left: 0; }
.hero-stat:last-child  { border-right: none; }
.hero-stat-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  background: rgba(56,190,180,0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
}


.hero-stat-text { display: flex; flex-direction: column; min-width: 0; }
.hero-stat-label {
  font-size: 0.875rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.01em;
  line-height: 1.2;
  white-space: nowrap;
}
.hero-stat-sub {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.3;
  margin-top: 2px;
  white-space: nowrap;
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
  }
  .hero-left {
    grid-column: 1;
    grid-row: 1;
    padding: 120px 24px 40px;
  }
  .hero-image-card {
    grid-column: 1;
    grid-row: 2;
    height: 65vw;
    min-height: 300px;
    max-height: 460px;
  }
  .hero-image-card-inner {
    position: relative;
    inset: auto;
    width: 100%;
    height: 100%;
  }
  .hero-image-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
  }
  .hero-stats-bar { position: relative; z-index: 1;
    grid-column: 1;
    grid-row: 3;
    padding: 24px 24px 32px;
  }
  .hero-headline { font-size: clamp(2.5rem, 10vw, 4rem); }
}
@media (max-width: 600px) {
  /* All four stats show in a 2x2. The third used to be hidden here, which is
     what the client saw as "only three of the icons". They fit now that the
     bar wraps rather than being clipped. */
  .hero-stats-bar { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; padding: 16px 24px 20px; row-gap: 14px; }
  .hero-stat { gap: 10px; padding: 8px 12px; }
  .hero-stat-icon { width: 30px; height: 30px; }
  .hero-stat-label { font-size: 0.75rem; }
  /* the 2x2 needs no vertical rule down the middle of the second row */
  .hero-stat:nth-child(even) { border-right: none; }
}


/* ──────────────────────────────────────────────
   EDITORIAL INTRO — large type + image mosaic
   ────────────────────────────────────────────── */
.editorial-section {
  background: var(--off-white);
  padding: clamp(56px, 6vw, 88px) 0 clamp(48px, 6vw, 80px);
  position: relative;
  overflow: hidden;
}

.editorial-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 6vw, 100px);
  align-items: center;
}

/* Left side: bold statement + services teaser */
.editorial-left {}

.editorial-tagline {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3.25rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--navy-deep);
  margin-bottom: 28px;
}
.editorial-tagline em { color: var(--teal); font-style: italic; }

.editorial-body {
  font-size: 1.0625rem;
  color: rgba(13,17,53,0.6);
  line-height: 1.78;
  max-width: 460px;
  margin-bottom: 36px;
}

.label-dark { color: var(--teal-dark); }
.label-dark::before { background: var(--teal-dark); }


/* Right side: image mosaic */
.editorial-mosaic {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 200px 200px;
  gap: 10px;
}
.mosaic-cell {
  position: relative; overflow: hidden; border-radius: 3px;
}
.mosaic-cell img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 0.5s var(--ease-out);
}
.mosaic-cell--tall {
  grid-row: 1 / 3;
}
/* teal fill cell */
.mosaic-cell--teal {
  background: var(--teal);
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 8px; padding: 20px;
  text-align: center;
}
.mosaic-cell--teal .mosaic-stat {
  font-family: var(--font-display);
  font-size: 2.75rem; font-weight: 900;
  color: #fff; line-height: 1;
}
.mosaic-cell--teal .mosaic-label {
  font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(255,255,255,0.75);
}

@media (max-width: 900px) {
  .editorial-grid { grid-template-columns: 1fr; }
  .editorial-mosaic { height: 340px; }
}

/* ──────────────────────────────────────────────
   PROCESS — dark, 3-column cards
   ────────────────────────────────────────────── */
.process-section {
  background: var(--navy-dark);
  background-image: radial-gradient(ellipse 80% 60% at 20% 80%, rgba(56,190,180,0.04) 0%, transparent 60%), radial-gradient(ellipse 60% 50% at 80% 20%, rgba(32,40,92,0.5) 0%, transparent 50%);
  padding: clamp(40px, 4vw, 64px) 0 clamp(48px, 6vw, 80px);
  position: relative;
  overflow: hidden;
}
.process-section::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  border-radius: 50%;
  border: 1px solid rgba(56,190,180,0.06);
  pointer-events: none;
}
.process-section::after {
  content: '';
  position: absolute;
  bottom: -120px; left: -120px;
  width: 360px; height: 360px;
  border-radius: 50%;
  background: rgba(56,190,180,0.03);
  pointer-events: none;
}
.process-header { text-align: center; margin-bottom: 40px; position: relative; z-index: 1; }
.process-sub { color: var(--text-muted); margin-top: 14px; font-size: 1rem; }

.process-steps {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  /* Separate cards with a gap, like every other card row on the site
     (10-24px). This was a single framed panel with the steps flush against
     each other, which also hid the 16px radius each step already carries. */
  gap: 20px;
  position: relative; z-index: 1;
}
.process-steps { list-style: none; }
/* The whole card is the click target (see .step-cta::after below), so it
   gets the pointer and the hover response even though only the link is
   focusable. Column layout + a growing .step-content lets every card park
   its CTA on the same baseline however long the copy runs. */
.process-step {
  background: linear-gradient(145deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.02) 100%);
  border: 1px solid rgba(255,255,255,0.07);
  padding: 44px 36px;
  position: relative;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  transition: background 0.3s ease;
}
.process-step .step-content {
  display: flex;
  flex-direction: column;
  flex: 1;
}
.process-step:focus-within {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
}
.process-step:hover { background: rgba(56,190,180,0.06); }
.process-step::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--teal);
  transform: scaleX(0);
  transition: transform 0.35s var(--ease-out);
}
.process-step:hover::before { transform: scaleX(1); }

.step-number {
  font-size: 3.5rem; font-family: var(--font-display); font-weight: 800;
  color: rgba(56,190,180,0.2); line-height: 1; margin-bottom: 20px;
  letter-spacing: -0.04em; transition: color 0.3s ease;
}
.process-step:hover .step-number { color: rgba(56,190,180,0.22); }
.step-content h3 { margin-bottom: 12px; }
.step-content p {
  font-size: 0.9375rem; color: rgba(255,255,255,0.58); line-height: 1.72; margin-bottom: 22px;
}
.step-cta {
  font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.09em;
  color: var(--teal); text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 6px;
  /* margin-top:auto pins it to the card floor; align-self keeps the hit
     area to the text width rather than the full column. */
  margin-top: auto;
  align-self: flex-start;
  transition: gap 0.2s ease;
}
/* Stretched link: one accessible link, whole card clickable. */
.step-cta::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
}
.step-cta:focus-visible { outline: none; }   /* the card shows the ring */
/* The arrow is its own element so the gap actually has two items to sit
   between — as one text node it had nothing to space and never moved. */
.step-cta-arrow { transition: transform 0.2s ease; }
.process-step:hover .step-cta { gap: 10px; }
.process-step:hover .step-cta-arrow { transform: translateX(2px); }
@media (max-width: 800px) {
  .process-steps { grid-template-columns: 1fr; }
}

/* ──────────────────────────────────────────────
   TEAL BAND — full bleed CTA
   ────────────────────────────────────────────── */
.teal-band {
  background: var(--teal);
  padding: clamp(72px, 9vw, 112px) 0;
  position: relative;
  overflow: hidden;
}
.teal-band::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.12) 1px, transparent 1px);
  background-size: 22px 22px;
  pointer-events: none;
}
/* large faded text behind */
.teal-band::after {
  content: 'FREE';
  position: absolute;
  right: -0.05em; top: -0.2em;
  font-family: var(--font-display);
  font-size: 14rem; font-weight: 900; line-height: 1;
  color: rgba(255,255,255,0.06);
  pointer-events: none; user-select: none;
}
.teal-band-inner {
  position: relative; z-index: 1;
  display: flex; align-items: center;
  justify-content: space-between; gap: 40px; flex-wrap: wrap;
}
.teal-band-text h2 { font-size: clamp(1.4rem, 2.2vw, 1.9rem); color: #fff; margin-bottom: 12px; }
.teal-band-text p  { color: rgba(255,255,255,0.72); font-size: 1rem; }
.teal-band-actions { display: flex; gap: 12px; flex-wrap: wrap; flex-shrink: 0; }
.btn-white {
  background: #fff; color: var(--teal-dark);
  font-family: var(--font-body); font-weight: 700;
  font-size: 0.8125rem; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 15px 32px; border-radius: 2px; border: none; cursor: pointer;
  transition: color 0.3s var(--ease-out), background-color 0.3s var(--ease-out), border-color 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out), transform 0.3s var(--ease-out), opacity 0.3s var(--ease-out);
}
.btn-white:hover { background: var(--navy-deep); color: #fff; transform: translateY(-2px); }
.btn-outline-white {
  background: transparent; color: #fff;
  border: 1.5px solid rgba(255,255,255,0.5);
  font-family: var(--font-body); font-weight: 700;
  font-size: 0.8125rem; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 14px 32px; border-radius: 2px; cursor: pointer;
  transition: color 0.3s var(--ease-out), background-color 0.3s var(--ease-out), border-color 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out), transform 0.3s var(--ease-out), opacity 0.3s var(--ease-out);
}
.btn-outline-white:hover { border-color: #fff; background: rgba(255,255,255,0.12); transform: translateY(-2px); }

/* ──────────────────────────────────────────────
   ABOUT — white, large editorial layout
   ────────────────────────────────────────────── */
.about-section {
  background: linear-gradient(to bottom, #ffffff 0%, #f5f6fa 100%);
  padding: clamp(40px, 4vw, 64px) 0 clamp(56px, 7vw, 96px);
  position: relative;
  overflow: hidden;
}
.about-section::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 48px;
  background: linear-gradient(to bottom, transparent 0%, rgba(26, 32, 87, 0.15) 100%);
  z-index: 1;
  pointer-events: none;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 6vw, 96px);
  align-items: center;
}
.about-image-stack { position: relative; z-index: 1; }
.about-media {
  position: relative;
}

/* teal square deco behind image */
.about-img-deco {
  position: absolute;
  bottom: -20px; left: -20px;
  width: 100px; height: 100px;
  background: var(--teal);
  border-radius: 2px;
  opacity: 0.9;
  z-index: -1;
}
.about-img-deco-2 {
  display: none;
}
.about-image-stack-inner { border-radius: 3px; overflow: hidden; }
.about-img-main {
  width: 100%; height: 540px; object-fit: cover; display: block;
}


/* on white */
.about-section .label { color: var(--teal-dark); }
.about-section .label::before { background: var(--teal-dark); }
.about-section .heading-lg { color: var(--navy-deep); }
.about-section .accent-text { color: var(--teal); }
.about-section .divider { background: var(--teal); }
.about-body { color: rgba(13,17,53,0.62); font-size: 1.0625rem; line-height: 1.78; margin-bottom: 20px; }
.about-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-img-main { height: 380px; }
  
}

/* ──────────────────────────────────────────────
   PHOTO ROW — fullbleed mosaic strip
   ────────────────────────────────────────────── */
.photo-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  height: 320px;
  margin-top: 0;
  overflow: hidden;
  position: relative;
}
.photo-row::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 60px;
  background: linear-gradient(to top, #1a2057 0%, transparent 100%);
  z-index: 3;
  pointer-events: none;
}
.photo-row::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 60px;
  background: linear-gradient(to bottom, transparent 0%, rgba(13,17,53,0.9) 100%);
  z-index: 3;
  pointer-events: none;
}

.photo-row-item { position: relative; overflow: hidden; }
.photo-row-item img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.photo-row-item::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(13,17,53,0.1) 0%, rgba(13,17,53,0.45) 100%);
  z-index: 1;
}
.photo-row-location-badge {
  position: absolute;
  bottom: 12px; left: 14px;
  z-index: 4;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
  background: rgba(13,17,53,0.55);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(56,190,180,0.3);
  border-radius: 2px;
  padding: 4px 10px;
}
.photo-row-stat-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.photo-row-sub {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-top: 2px;
}

/* teal cell in row */
.photo-row-item--teal {
  background: var(--teal);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 6px; padding: 24px;
}
.photo-row-item--teal::after { display: none; }
.photo-row-stat { font-family: var(--font-display); font-size: 3rem; font-weight: 900; color: #fff; line-height: 1; }
.photo-row-label { font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.75); }

@media (max-width: 768px) {
  .photo-row { grid-template-columns: 1fr 1fr; height: 220px; }
  .photo-row-item:nth-child(3),
  .photo-row-item:nth-child(4) { display: none; }
}

/* ──────────────────────────────────────────────
   SERVICES — dark + teal grid texture
   ────────────────────────────────────────────── */
.services-section {
  background: var(--navy-mid);
  padding: clamp(56px, 6vw, 88px) 0 var(--section-pad);
  scroll-margin-top: 72px;
  position: relative; overflow: hidden;
}
.services-section::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(56,190,180,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(56,190,180,0.025) 1px, transparent 1px);
  background-size: 56px 56px;
  pointer-events: none;
}
.services-section .label { color: var(--teal); }
.services-header { text-align: center; margin-bottom: 36px; position: relative; z-index: 1; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px; margin-bottom: 12px;
  position: relative; z-index: 1;
}
@media (max-width: 1100px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .services-grid { grid-template-columns: 1fr; } }
/* Static cards: no link inside, so no hover state and no transition.
   The top edge used to be 2px transparent to reserve room for a teal
   accent that appeared on hover; with that gone it just left the frame
   open at the top, so it matches the other three sides now. */
.service-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 3px; padding: 28px 24px;
}
.service-icon { width: 36px; height: 36px; color: var(--teal); margin-bottom: 18px; }
.service-icon svg { width: 100%; height: 100%; }
.service-card h3 { font-size: 0.9375rem; font-weight: 700; margin-bottom: 8px; }
.service-note { font-size: 0.6875rem; color: var(--pink-bright); vertical-align: super; }
.service-card p { font-size: 0.84375rem; color: rgba(255,255,255,0.5); line-height: 1.68; }
.services-note {
  text-align: center; font-size: 0.8125rem; color: var(--text-muted);
  margin-top: 8px; margin-bottom: 40px; position: relative; z-index: 1;
}
.services-cta { text-align: center; position: relative; z-index: 1; }

/* ──────────────────────────────────────────────
   REVIEWS SCROLLER — compiled from all locations
   ────────────────────────────────────────────── */
.reviews-section {
  background: #eaf8f7;
  padding: clamp(40px, 4vw, 64px) 0 var(--section-pad);
  position: relative;
  overflow: hidden;
}

.reviews-header {
  text-align: center;
  margin-bottom: 36px;
  padding: 0 var(--gutter);
}
.reviews-section .label { color: var(--teal-dark); }
.reviews-section .label::before { background: var(--teal-dark); }
.reviews-section .heading-lg  { color: var(--navy-deep); }
.reviews-section .accent-text { color: var(--teal); }

/* star rating display */
.review-stars {
  display: flex;
  align-items: center;
  gap: 3px;
  margin-bottom: 12px;
  color: #F59E0B;
}
.review-stars svg { width: 16px; height: 16px; fill: currentColor; }

/* ── Scroller track ── */
.reviews-scroll-outer {
  position: relative;
  /* fade edges */
}
.reviews-scroll-outer::before,
.reviews-scroll-outer::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}
.reviews-scroll-outer::before {
  left: 0;
  background: linear-gradient(to right, var(--teal-pale), transparent);
}
.reviews-scroll-outer::after {
  right: 0;
  background: linear-gradient(to left, var(--teal-pale), transparent);
}

.reviews-track-wrap {
  display: flex;
  gap: 20px;
  animation: reviews-scroll 55s linear infinite;
  width: max-content;
}
.reviews-track-wrap:hover { animation-play-state: paused; }

@keyframes reviews-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* second row, opposite direction */
.reviews-track-wrap--reverse {
  animation-direction: reverse;
  animation-duration: 60s;
  margin-top: 20px;
}

.review-card {
  background: #fff;
  border: 1px solid rgba(56,190,180,0.13);
  border-top: 3px solid var(--teal);
  border-radius: 3px;
  padding: 28px 28px 24px;
  width: 320px;
  flex-shrink: 0;
  box-shadow: 0 2px 16px rgba(56,190,180,0.07);
  transition: box-shadow 0.3s, transform 0.3s;
  cursor: default;
}

.review-card-text {
  font-size: 0.9375rem;
  line-height: 1.72;
  color: rgba(13,17,53,0.68);
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.review-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.review-card-author {
  display: flex;
  align-items: center;
  gap: 11px;
}
.review-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--teal);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.875rem;
  color: #fff; flex-shrink: 0;
}
.review-name { font-size: 0.875rem; font-weight: 700; color: var(--navy-deep); }
.review-location { font-size: 0.75rem; color: rgba(13,17,53,0.45); }
.review-source {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(13,17,53,0.3);
}

/* reviews CTA bar */
.reviews-cta-bar {
  text-align: center;
  margin-top: 48px;
  padding: 0 var(--gutter);
}
.reviews-cta-bar p {
  font-size: 0.9375rem;
  color: rgba(13,17,53,0.5);
  margin-bottom: 16px;
}

/* ──────────────────────────────────────────────
   LOCATIONS CTA — navy-brand + teal
   ────────────────────────────────────────────── */
.locations-cta-section {
  background: var(--navy-brand);
  padding: clamp(40px, 4vw, 64px) 0 var(--section-pad);
  position: relative; overflow: hidden;
}
.locations-cta-section::before {
  content: '';
  position: absolute; bottom: -100px; right: -100px;
  width: 500px; height: 500px; border-radius: 50%;
  background: rgba(56,190,180,0.07); pointer-events: none;
}
.locations-cta-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px); align-items: center;
  position: relative; z-index: 1;
}
.locations-cta-content .label { color: var(--teal); }
.locations-cta-content .label::before { background: var(--teal); }
.locations-cta-content .accent-text { color: var(--teal); }
.locations-cta-content p {
  color: rgba(255,255,255,0.62); font-size: 1.0625rem;
  margin: 20px 0 36px; max-width: 420px; line-height: 1.72;
}
.locations-cta-buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.state-list { display: flex; flex-direction: column; gap: 9px; }
.state-item {
  display: flex; align-items: center; justify-content: space-between;
  padding: 15px 20px;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.08);
  border-left: 3px solid transparent; border-radius: 3px; transition: color 0.22s ease, background-color 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease, opacity 0.22s ease;
}
.state-name { font-weight: 700; font-size: 0.9375rem; }
.state-count { font-size: 0.8125rem; color: var(--teal); font-weight: 600; }
@media (max-width: 900px) { .locations-cta-grid { grid-template-columns: 1fr; } }

/* ──────────────────────────────────────────────
   DONATE — dark with gradient top rule
   ────────────────────────────────────────────── */
.donate-section {
  background: var(--navy-deep);
  padding: clamp(40px, 4vw, 64px) 0 clamp(40px, 5vw, 64px);
  text-align: center; position: relative; overflow: hidden;
}
.donate-section::before { display: none; }

.donate-inner { position: relative; z-index: 1; max-width: 640px; margin: 0 auto; }

.donate-inner h2 { margin-bottom: 18px; }
.donate-inner p { color: rgba(255,255,255,0.58); font-size: 1.0625rem; margin-bottom: 36px; line-height: 1.72; }

/* ════════════════════════════════════════════════════════
   SUBTLE DESIGN POLISH — March 2026
   Soft glows, section rhythm, smoother transitions
   No layout, verbiage, or image changes.
   ════════════════════════════════════════════════════════ */

/* ── HERO: soft ambient glow behind doctor image ───────── */
.hero-image-card-inner::before {
  content: '';
  position: absolute;
  bottom: -10%;
  left: 50%;
  transform: translateX(-50%);
  width: 95%;
  height: 80%;
  background: radial-gradient(
    ellipse at 50% 78%,
    rgba(56, 190, 180, 0.48) 0%,
    rgba(56, 190, 180, 0.28) 30%,
    rgba(56, 190, 180, 0.10) 55%,
    transparent 72%
  );
  z-index: 1;
  pointer-events: none;
  filter: blur(48px);
}

/* Strong edge dissolve overlay — eats the photoshop outline from all sides */
.hero-image-card-inner::after {
  content: '';
  position: absolute;
  inset: 0;
  /* Layered gradients: strong from edges inward to fully eat the cutout border */
  background:
    radial-gradient(ellipse 110% 110% at 50% 60%,
      transparent 40%,
      rgba(13,17,53,0.10) 58%,
      rgba(13,17,53,0.45) 72%,
      rgba(13,17,53,0.80) 84%,
      var(--navy-deep) 95%
    ),
    linear-gradient(to right, var(--navy-deep) 0%, rgba(13,17,53,0.55) 10%, transparent 26%),
    linear-gradient(to left,  var(--navy-deep) 0%, rgba(13,17,53,0.35) 8%, transparent 20%),
    linear-gradient(to top,   var(--navy-deep) 0%, rgba(13,17,53,0.65) 6%, transparent 18%);
  z-index: 4;
  pointer-events: none;
}

/* Hero image: SVG alpha-blur filter softens hard Photoshop cutout edges */
.hero-image-card img {
  z-index: 3;
  /* url(#hero-soft-edges) blurs the alpha channel → feathers the cutout outline */
  filter:
    url(#hero-soft-edges)
    drop-shadow(-16px 0 48px rgba(56,190,180,0.30))
    drop-shadow(16px 0 48px rgba(56,190,180,0.20))
    drop-shadow(0 -16px 40px rgba(56,190,180,0.24))
    drop-shadow(0 0 90px rgba(56,190,180,0.16));
}

/* ── HERO STATS BAR: subtle top separator glow ─────────── */
.hero-stats-bar { position: relative; z-index: 1;
  border-top: 1px solid rgba(56,190,180,0.15);
  background: linear-gradient(to bottom, rgba(13,17,53,0.98), var(--navy-deep));
}

/* ── HERO → EDITORIAL transition: clip-path added to main .hero rule above ── */

/* ── EDITORIAL: warm ambient teal corner glow ──────────── */
.editorial-section::before {
  content: '';
  position: absolute;
  bottom: -80px;
  right: -80px;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(56,190,180,0.06) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.editorial-section::after {
  content: '';
  position: absolute;
  top: -40px;
  left: -40px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(32,40,92,0.04) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}


/* ── PROCESS: deepen the atmospheric orbs ─────────────── */
.process-section::before {
  width: 700px; height: 700px;
  border: 1px solid rgba(56,190,180,0.05);
  box-shadow: inset 0 0 120px rgba(56,190,180,0.03);
}
.process-section::after {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(56,190,180,0.05) 0%, transparent 60%);
}

/* Add a third subtle orb center-right */
.process-section .container::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -100px;
  transform: translateY(-50%);
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(241,98,130,0.04) 0%, transparent 70%);
  pointer-events: none;
}

/* ── TEAL BAND: interior depth + bottom wave shape ──────── */
.teal-band {
  background: linear-gradient(135deg, #38BEB4 0%, #2EB5AC 55%, #22A59C 100%);
}
.teal-band::after {
  opacity: 0.4;
}
/* radial glow center */
.teal-band .container::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(255,255,255,0.06) 0%, transparent 70%);
  pointer-events: none;
}

/* ── ABOUT: add a very subtle pink accent deco ─────────── */
.about-section {
  position: relative;
}
/* no top border on about section */

/* Improve about image with subtle shadow depth */
.about-image-stack-inner {
  box-shadow: 0 24px 64px rgba(13,17,53,0.12), 0 4px 16px rgba(13,17,53,0.06);
}

/* ── PHOTO ROW: darken overlay slightly for elegance ─────
   Static. These tiles are decorative (role="presentation") and carry no
   link, so they get no hover response of any kind. */
.photo-row-item::after {
  background: rgba(13,17,53,0.35);
}

/* ── SERVICES: richer dark bg + glow orb ───────────────── */
.services-section {
  background: linear-gradient(175deg, var(--navy-mid) 0%, #151c4a 100%);
}
.services-section::after {
  content: '';
  position: absolute;
  bottom: -150px;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(56,190,180,0.05) 0%, transparent 65%);
  pointer-events: none;
}

/* ── REVIEWS: subtle inner radial glow ──────────────────── */
.reviews-section {
  background: linear-gradient(175deg, #edf8f8 0%, #e8f6f6 100%);
  position: relative;
}
.reviews-section::before {
  background: linear-gradient(to right, #edf8f8, transparent);
}
.reviews-section::after {
  background: linear-gradient(to left, #edf8f8, transparent);
}

/* center glow */
.reviews-section .container::before {
  content: '';
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 500px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(56,190,180,0.1) 0%, transparent 65%);
  pointer-events: none;
}

/* ── LOCATIONS CTA: add diagonal light sweep ────────────── */
.locations-cta-section {
  background: linear-gradient(135deg, #1c2461 0%, var(--navy-brand) 40%, #141c50 100%);
  background-image: radial-gradient(ellipse 70% 70% at 90% 50%, rgba(56,190,180,0.07) 0%, transparent 60%);
}
.locations-cta-section::after {
  content: '';
  position: absolute;
  top: -100px;
  left: -50px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(56,190,180,0.06) 0%, transparent 70%);
  pointer-events: none;
}

/* ── DONATE: stronger radial at center ─────────────────── */
.donate-section::after {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 50% 100%, rgba(56,190,180,0.12) 0%, transparent 60%),
    radial-gradient(ellipse 40% 50% at 90% 10%, rgba(241,98,130,0.05) 0%, transparent 50%);
  pointer-events: none;
}

/* ── GLOBAL: smoother section transitions via border easing */
/* Sections are already position:relative via their individual rules */

/* Mosaic cell image rendering improvement */
.mosaic-cell {
  box-shadow: 0 2px 12px rgba(13,17,53,0.12);
}

/* Smooth reveal on editorial tagline */
.editorial-tagline {
  letter-spacing: -0.028em;
}

/* Review cards: slightly warmer hover state */

/* ══════════════════════════════════════════════════════════
   HERO ENTRANCE ANIMATIONS — CSS-driven, no JS dependency
   Applied to elements that had .reveal removed (above-fold)
   ══════════════════════════════════════════════════════════ */

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

/* Home hero */
.hero-eyebrow {
  animation: awcFadeUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.05s both;
}
.hero-headline {
  animation: awcFadeUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.12s both;
}
.hero-sub-row {
  animation: awcFadeUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.22s both;
}
.hero-image-card {
  animation: awcFadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.08s both;
}
.hero-stats-bar {
  animation: awcFadeUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.30s both;
}

/* Inner page hero */
.page-hero-content {
  animation: awcFadeUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.08s both;
}

/* Clinical care hub hero */
.cc-hero-content {
  animation: awcFadeUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.08s both;
}

/* Snappier reveal for below-fold elements */
.reveal {
  transition: opacity 0.55s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ══════════════════════════════════════════════════════════
   CLIENT REVIEW CHANGES — v4
   Removes false-click animations, fixes layout issues,
   mobile responsive fixes, and UX improvements.
   ══════════════════════════════════════════════════════════ */

/* ── Remove underline from nav/footer logo links ───────── */
.nav-logo, .nav-logo:hover, .nav-logo:focus,
.footer-brand a, .footer-brand a:hover { 
  text-decoration: none;
  border-bottom: none;
}
.nav-logo img, .footer-brand img { display: block; }

/* ── Hero stat bar is a static trust strip, not a control ──
   Nothing here is clickable, so it gets no hover response at all:
   a glow or lift on something that does nothing reads as a dead link. */
.hero-stat { cursor: default; transition: none; }
.hero-stat-icon { pointer-events: none; }

/* ── Service pills → bullet list (editorial section) ───── */
.editorial-service-list {
  list-style: disc;
  padding-left: 1.25rem;
  margin: 1.25rem 0 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
/* Typeset exactly like .editorial-body above it, so the list reads as a
   continuation of the paragraph rather than a second, darker voice. The
   disc markers inherit the same colour, which softens them to match. */
.editorial-service-list li {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  font-weight: 400;
  color: rgba(13,17,53,0.6);
  line-height: 1.5;
}

/* ── Fix "100% No Bill. Ever." mosaic cell ──────────────── */
.mosaic-stat-row {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.01em;
  text-align: center;
  margin-top: 0.25rem;
}
.mosaic-cell--teal .mosaic-stat {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  line-height: 1;
}

/* Process step cards */
.process-step:hover {
  transform: none !important;
  box-shadow: none !important;
}

/* ── Location cards — remove hover clickability ─────────── */
.location-card { cursor: default !important; text-decoration: none; }
/* Keep buttons inside clickable */
.location-card .btn, .location-card a[href] {
  cursor: pointer;
  position: relative;
  z-index: 2;
}
/* Make phone numbers in location cards clickable */
a.loc-phone {
  color: var(--teal);
  text-decoration: none;
  cursor: pointer;
}
a.loc-phone:hover { text-decoration: underline; }


/* Ensure address doesn't break card button alignment */
.location-card {
  display: flex;
  flex-direction: column;
}


/* ── Mobile: fix hero banner spacing ────────────────────── */
@media (max-width: 768px) {
  .hero {
    padding-bottom: 1.5rem !important;
    min-height: auto !important;
  }
  .hero-left {
    padding-bottom: 1rem !important;
  }
  .hero-sub {
    margin-bottom: 1.25rem !important;
  }
  
  /* Mobile: show all 4 stats bar icons, none cut off */
  .hero-stats-bar {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 0.75rem !important;
    padding: 1rem 1.25rem !important;
  }
  
  /* Mobile: fix teal box "100% No Bill. Ever." */
  .mosaic-cell--teal .mosaic-stat-row {
    font-size: 1rem !important;
    white-space: nowrap;
  }
  
  /* Mobile: fix "Find a Location" button spacing */
  .teal-band-actions {
    gap: 0.75rem !important;
  }
  .teal-band-actions .btn-white,
  .teal-band-actions .btn-outline-white {
    width: 100% !important;
    text-align: center !important;
    padding: 0.875rem 1rem !important;
  }
  
  /* Mobile: locations hero text cutoff fix */
  .locations-hero h1, .page-hero-content h1 {
    font-size: clamp(2.2rem, 8vw, 3rem) !important;
    word-break: break-word;
  }
}

/* ── Reduce hero heading letter-spacing on FAQ/Clinical Care */
.faq-hero h1, .cc-hero-content h1, .page-hero-content h1 {
  letter-spacing: -0.02em;
  word-spacing: normal;
}


/* ── "or call us" dividers — globally hide ─────────────── */
.yv-cta-divider, .cc-cta-divider, .cta-note,
.cta-divider, [class*="cta-note"], [class*="cta-divider"] {
  display: none !important;
}
.cc-cta-phone { display: none !important; }

/* ── Free & Confidential badge color (was: flagship teal) ── */
.loc-badge-flagship {
  background: var(--teal) !important;
  color: var(--navy-deep) !important;
}

/* ── HEADER FIT ON NARROW SCREENS ───────────────────────────
   The nav is logo | phone CTA | hamburger. Below ~400px the three
   items consumed the full line, so the CTA sat flush against the
   logo and its number wrapped onto two lines. Keep them from ever
   touching, and scale the CTA and logo down so the number stays
   on one line. */
.site-nav { gap: 12px; }
.nav-cta .btn { white-space: nowrap; }

@media (max-width: 430px) {
  .site-nav { gap: 10px; }
  .nav-logo img,
  .site-nav.scrolled .nav-logo img { height: 32px; }
  .nav-cta .btn {
    font-size: 0.6875rem;
    letter-spacing: 0.06em;
    padding: 11px 14px;
  }
}

@media (max-width: 360px) {
  .nav-logo img,
  .site-nav.scrolled .nav-logo img { height: 28px; }
  .nav-cta .btn {
    font-size: 0.6875rem;
    letter-spacing: 0.03em;
    padding: 10px;
  }
}

/* ── HOME HERO: STOP THE COPY BEING CLIPPED ON MOBILE ───────
   .hero-stat-label / .hero-stat-sub are white-space:nowrap, so the
   stats bar's min-content (~542px) became the floor for the hero's
   1fr track. Below ~900px that stretched .hero-left past the
   viewport and .hero's overflow:hidden cut off the hero paragraph
   and the second CTA. Let the track shrink, and let the stat text
   wrap while the bar is narrow. */
@media (max-width: 900px) {
  .hero { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 1024px) {
  .hero-stat { min-width: 0; }
  .hero-stat-label,
  .hero-stat-sub { white-space: normal; }
}

/* ── TEAL CTA BAND: LET THE BUTTONS WRAP ON NARROW SCREENS ──
   .teal-band-actions is flex-shrink:0, so at <=~600px the two
   buttons kept their side-by-side width and overran the container. */
@media (max-width: 600px) {
  .teal-band-actions { flex-shrink: 1; }
}

/* ── VERY NARROW SCREENS: LONG SINGLE WORDS ─────────────────
   .heading-lg bottoms out at 2.25rem, which is wider than a 320px
   column for an unbreakable word like "Compassionate." Drop the
   floor below 360px so those headings stop overrunning. */
@media (max-width: 360px) {
  .heading-lg { font-size: clamp(1.75rem, 8.5vw, 2.25rem); }
}

/* The roman+italic lockup needs proportionally more leading once the
   heading floor drops at 360px, or the two lines close up again. */
@media (max-width: 360px) {
  .heading-lg:has(br + .accent-text) { line-height: 1.42; }
}


/* ═══════════════════════════════════════════════════════════════
   POLISH PASS — accessibility and browser-surface craft
   Nothing here changes copy, placement, layout or imagery. It raises
   sub-AA muted text to contrast, honours reduced-motion, and themes
   the surfaces the browser would otherwise style for us.
   ═══════════════════════════════════════════════════════════════ */

/* ── 1. MUTED TEXT TO AA ────────────────────────────────────────
   Every value below sat under 4.5:1. The hue is unchanged — these
   are the same navy and white the design already uses, carried at an
   alpha that actually reads. Measured, not guessed. */

/* footer legal: was rgba(255,255,255,0.28) at 2.43:1 */
.footer-bottom p,
.footer-bottom a { color: rgba(255,255,255,0.58); }

/* review meta: source was 1.98:1, location 3:1 */
.review-source  { color: rgba(13,17,53,0.62) !important; }
.review-location { color: rgba(13,17,53,0.62) !important; }




/* ── 2. REDUCED MOTION ──────────────────────────────────────────
   The site reveals sections on scroll and runs a 55s review marquee.
   Neither had a reduced-motion path, so a visitor who asks the OS for
   less movement still got all of it. Content stays put and visible. */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .js-ready .reveal { opacity: 1; transform: none; }
  .reviews-track { animation: none; }
}

/* ── 3. BROWSER SURFACES ────────────────────────────────────────
   Selection, caret and underline offset ship with browser defaults
   that belong to no design system. Theme them from the palette. */
::selection {
  background: var(--teal);
  color: var(--navy-deep);
}
:root { accent-color: var(--teal); }
input, textarea, select { caret-color: var(--teal); }

/* links inside running copy: let descenders through the underline */
p a:not(.btn):not([class*="-btn"]) {
  text-underline-offset: 0.18em;
  text-decoration-thickness: from-font;
}

/* figures that sit in columns or get compared should align digit-wise */
.hero-stat-num,
.photo-row-stat,
.loc-stat-num,
.mosaic-stat,
.review-stars,
.faq-hero-stat-num { font-variant-numeric: tabular-nums; }

/* ── 4. TAP TARGET ──────────────────────────────────────────────
   The hamburger renders 32x24, below the 44px floor. The hit area is
   extended with a pseudo-element so the control's own size, and the
   nav's height, are untouched. */
.nav-hamburger { position: relative; }
.nav-hamburger::before {
  content: '';
  position: absolute;
  inset: -10px -12px;
}


/* ═══════════════════════════════════════════════════════════════
   CTA CONTRAST — navy label on brand teal
   White on #38BEB4 measured 2.28:1, well under the 4.5:1 floor, on
   the control every visitor has to be able to read. The teal fill is
   untouched; the label goes navy, which measures 8.0:1 (6.2:1 on the
   darker hover teal). Same fix on the teal-filled stat tiles, whose
   figures were the "numbers you can barely read".
   ═══════════════════════════════════════════════════════════════ */
.btn-primary { color: var(--navy-deep); }
.btn-primary:hover { color: var(--navy-deep); }

/* teal-filled mosaic and photo-row tiles */
.mosaic-cell--teal .mosaic-stat,
.mosaic-cell--teal .mosaic-stat-row { color: var(--navy-deep); }
.mosaic-cell--teal .mosaic-label { color: rgba(13,17,53,0.72); }
.photo-row-item--teal .photo-row-stat { color: var(--navy-deep); }
.photo-row-item--teal .photo-row-label { color: rgba(13,17,53,0.78); }
.photo-row-item--teal .photo-row-sub { color: rgba(13,17,53,0.66); }

/* the teal avatar disc on review cards */
.review-avatar { color: var(--navy-deep); }

/* .btn-white sits teal-on-white at 2.93:1; a deeper teal clears it
   without touching the button's white fill. */
.btn-white { color: #137169; }

/* same navy-on-teal treatment for the remaining teal-filled discs and chips */
.ss-cm-step-num,
.kn-review-avatar,
.kn-day-num { color: var(--navy-deep) !important; }

/* ── HEADING WRAP ───────────────────────────────────────────
   Display headings balance their lines so a wrapped heading never
   leaves a single orphaned word on the last line. Authored <br>
   breaks are respected; this only governs natural wrapping. */
h1, h2, h3,
.heading-lg, .heading-md, .heading-xl,
.hero-headline { text-wrap: balance; }

/* Running copy avoids a one-word last line for the same reason. */
p { text-wrap: pretty; }


/* ── OPTIONAL PHOTO BEHIND .page-hero ───────────────────────
   Only applies on pages that include the .page-hero-bg element, so the
   shared hero stays a plain gradient everywhere else (privacy, for one). */
.page-hero-bg { position: absolute; inset: 0; z-index: 0; }
.page-hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 28%; display: block;
}
.page-hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(13,17,53,0.74) 0%,
    rgba(13,17,53,0.60) 35%,
    rgba(13,17,53,0.88) 78%,
    var(--navy-deep) 100%
  );
}

/* ── SHORT VIEWPORTS (LANDSCAPE PHONE) ─────────────────────
   .site-nav is fixed and measures ~100px, which is a quarter of the screen
   on a 390px-tall landscape phone, and it does not shrink on scroll. Tighten
   it when the viewport is short so the content keeps the screen. Bounded by
   orientation and max-height so laptops and tablets in landscape (768px+
   tall) are untouched. */
@media (max-height: 460px) and (orientation: landscape) {
  .site-nav { padding: 10px var(--gutter); }
  .site-nav.scrolled { padding: 8px var(--gutter); }
  .nav-logo img,
  .site-nav.scrolled .nav-logo img { height: 28px; }
  .nav-cta .btn { padding: 9px 14px; font-size: 0.6875rem; }
}
