/* =============================================================
   Pacora — Direct Primary Care, San Diego
   Design System + Global Styles
   -------------------------------------------------------------
   Fonts: Fraunces (display) + Inter (body)
   Palette: "SunWave" — derived from the logo: sage-green crescent +
   deep navy-teal wave, with a burnt-orange warm accent.
   Every color is a CSS custom property below — swap the brand values
   in :root to re-skin the entire site.
   ============================================================= */

/* -------------------------------------------------------------
   1. DESIGN TOKENS
   ------------------------------------------------------------- */
:root {
  /* --- Brand palette — "Marigold Bay" (Pacora) ---
     Golden marigold sun + ombre turquoise wave, sunset/beach/vital. Eyeball-matched to the logo PNG; fine-tune hexes if
     the client has exact brand values. Swap these to re-skin the site. */
  --c-ink:        #0C3A3C; /* deep sea teal — text & dark sections */
  --c-teal:       #0B7E72; /* vital turquoise — primary / buttons / links (AA on white) */
  --c-teal-dark:  #095F56; /* hover / pressed */
  --c-teal-soft:  #6FC6BA; /* soft turquoise for subtle accents */
  --c-sun:        #F2941C; /* marigold — warm accent */
  --c-sun-soft:   #FFDCA3; /* light marigold tint (on-dark text) */
  --c-coral:      #E67A16; /* deeper marigold-orange (rare) */

  /* --- Surfaces & neutrals --- */
  --c-white:      #FFFFFF;
  --c-paper:      #FEF8EC; /* warm sand section background */
  --c-mist:       #DFF4F0; /* pale aqua section tint */
  --c-sand:       #FBF0D9; /* warm sand tint */
  --c-line:       #EFE4CE; /* hairline borders on warm surfaces */
  --c-line-cool:  #CDE9E3; /* hairline borders on cool/aqua surfaces */
  --c-muted:      #4B635E; /* secondary/body-muted text */
  --c-muted-2:    #5E7B75; /* captions, meta */

  /* --- Semantic --- */
  --c-focus:      #095F56;
  --c-success:    #1E9E86;

  /* --- Typography --- */
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body:    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Fluid type scale (clamp: min, preferred, max) */
  --fs-display: clamp(2.6rem, 1.6rem + 4.4vw, 4.6rem);   /* hero H1 */
  --fs-h1:      clamp(2.1rem, 1.5rem + 2.6vw, 3.2rem);
  --fs-h2:      clamp(1.7rem, 1.3rem + 1.7vw, 2.4rem);
  --fs-h3:      clamp(1.3rem, 1.15rem + 0.7vw, 1.6rem);
  --fs-h4:      clamp(1.1rem, 1.02rem + 0.35vw, 1.25rem);
  --fs-lead:    clamp(1.12rem, 1.02rem + 0.5vw, 1.35rem);
  --fs-body:    1.0625rem;   /* 17px */
  --fs-sm:      0.9375rem;   /* 15px */
  --fs-xs:      0.8125rem;   /* 13px */

  --lh-tight:   1.1;
  --lh-snug:    1.28;
  --lh-body:    1.65;

  /* --- Spacing scale (8pt-ish) --- */
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.5rem;
  --sp-6: 2rem;
  --sp-7: 3rem;
  --sp-8: 4rem;
  --sp-9: 6rem;
  --sp-10: 8rem;

  /* --- Layout --- */
  --container:      1200px;
  --container-narrow: 760px;
  --gutter:         clamp(1.25rem, 0.8rem + 2vw, 2.5rem);
  --section-y:      clamp(3.5rem, 2.5rem + 4vw, 6.5rem);

  /* --- Radius / shadow / motion --- */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(16,48,43,.05), 0 2px 8px rgba(16,48,43,.05);
  --shadow-md: 0 8px 24px rgba(16,48,43,.08), 0 2px 6px rgba(16,48,43,.05);
  --shadow-lg: 0 20px 50px rgba(16,48,43,.12), 0 6px 16px rgba(16,48,43,.06);
  --ease: cubic-bezier(.22,.61,.36,1);
  --dur: .28s;
}

/* -------------------------------------------------------------
   2. RESET & BASE
   ------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--c-ink);
  background: var(--c-white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, picture, svg, video { display: block; max-width: 100%; height: auto; }
a { color: var(--c-teal); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--c-teal-dark); }
strong { font-weight: 600; }
ul, ol { padding-left: 1.15em; }

/* Accessible focus */
:focus-visible {
  outline: 3px solid var(--c-focus);
  outline-offset: 2px;
  border-radius: 4px;
}
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 1000;
  background: var(--c-ink); color: #fff; padding: .75rem 1.25rem;
  border-radius: 0 0 var(--r-sm) 0; font-weight: 600; text-decoration: none;
}
.skip-link:focus { left: 0; color:#fff; }

/* -------------------------------------------------------------
   3. TYPOGRAPHY
   ------------------------------------------------------------- */
h1,h2,h3,h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: var(--lh-tight);
  letter-spacing: -0.01em;
  color: var(--c-ink);
  font-optical-sizing: auto;
}
h2 { font-size: var(--fs-h2); line-height: var(--lh-snug); }
h3 { font-size: var(--fs-h3); line-height: var(--lh-snug); }
h4 { font-size: var(--fs-h4); font-weight: 600; }
p { max-width: 68ch; }
.lead { font-size: var(--fs-lead); line-height: 1.5; color: var(--c-muted); font-weight: 400; }

/* Section label (eyebrow) */
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--c-teal);
}
.eyebrow::before {
  content: ""; width: 22px; height: 2px; background: var(--c-sun); border-radius: 2px;
}

/* -------------------------------------------------------------
   4. LAYOUT HELPERS
   ------------------------------------------------------------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container-narrow { max-width: var(--container-narrow); }
.section { padding-block: var(--section-y); }
.section--paper { background: var(--c-paper); }
.section--mist  { background: var(--c-mist); }
.section--ink   { background: var(--c-ink); color: #EAF2F0; }
.section--ink h2, .section--ink h3 { color: #fff; }
.section-head { max-width: 62ch; margin-bottom: var(--sp-7); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head .lead { margin-top: var(--sp-4); }

.grid { display: grid; gap: var(--sp-6); }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .cols-3, .cols-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .cols-2, .cols-3, .cols-4 { grid-template-columns: 1fr; } }

.stack > * + * { margin-top: var(--sp-4); }

/* -------------------------------------------------------------
   5. BUTTONS
   ------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: var(--font-body); font-size: var(--fs-sm); font-weight: 600;
  line-height: 1; text-decoration: none; cursor: pointer;
  padding: .9rem 1.5rem; border-radius: var(--r-pill);
  border: 1.5px solid transparent; transition: transform var(--dur) var(--ease), background var(--dur), box-shadow var(--dur), color var(--dur), border-color var(--dur);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--c-teal); color: #fff; box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--c-teal-dark); color:#fff; box-shadow: var(--shadow-md); transform: translateY(-1px); }
.btn--secondary { background: var(--c-white); color: var(--c-ink); border-color: var(--c-line-cool); }
.btn--secondary:hover { border-color: var(--c-teal); color: var(--c-teal-dark); box-shadow: var(--shadow-sm); }
.btn--ghost { background: transparent; color: var(--c-ink); }
.btn--ghost:hover { color: var(--c-teal-dark); }
.btn--on-ink { background: #fff; color: var(--c-ink); }
.btn--on-ink:hover { background: var(--c-sun); color: var(--c-ink); }
.btn--on-ink-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.btn--on-ink-outline:hover { border-color:#fff; background: rgba(255,255,255,.08); color:#fff; }
.btn--lg { padding: 1.05rem 1.9rem; font-size: var(--fs-body); }
.btn--sm { padding: .6rem 1.05rem; font-size: var(--fs-xs); }
.btn-arrow { transition: transform var(--dur) var(--ease); }
.btn:hover .btn-arrow { transform: translateX(3px); }
.cta-row { display: flex; flex-wrap: wrap; gap: var(--sp-4); }

/* Text link with arrow */
.link-arrow { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; text-decoration: none; }
.link-arrow svg { transition: transform var(--dur) var(--ease); }
.link-arrow:hover svg { transform: translateX(3px); }

/* -------------------------------------------------------------
   6. BADGES / PILLS
   ------------------------------------------------------------- */
.badge {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: var(--fs-xs); font-weight: 600; letter-spacing: .02em;
  padding: .45rem .85rem; border-radius: var(--r-pill);
}
.badge--sun { background: var(--c-sun-soft); color: #7a4a12; }
.badge--teal { background: var(--c-mist); color: var(--c-teal-dark); }
.badge--outline { background: transparent; border: 1.5px solid var(--c-line-cool); color: var(--c-muted); }
.badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--c-sun); }
.badge--sun .dot { background: var(--c-sun); box-shadow: 0 0 0 3px rgba(206,122,60,.25); }
.badge--teal .dot { background: var(--c-teal); }

/* -------------------------------------------------------------
   7. CARDS
   ------------------------------------------------------------- */
.card {
  background: var(--c-white); border: 1px solid var(--c-line);
  border-radius: var(--r-lg); padding: var(--sp-6);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur);
}
.card--hover:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--c-line-cool); }
.card__icon {
  width: 52px; height: 52px; display: grid; place-items: center;
  border-radius: var(--r-md); background: var(--c-mist); color: var(--c-teal-dark);
  margin-bottom: var(--sp-4);
}
.card__icon svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: var(--sp-2); }
.card p { color: var(--c-muted); font-size: var(--fs-sm); }

/* Feature list with checks */
.checklist { list-style: none; padding: 0; display: grid; gap: var(--sp-3); }
.checklist li { display: flex; gap: .7rem; align-items: flex-start; color: var(--c-ink); }
.checklist li svg { flex: none; width: 22px; height: 22px; margin-top: 1px; color: var(--c-teal); }

/* Placeholder image blocks */
.img-ph {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  background:
    linear-gradient(135deg, rgba(76,124,85,.10), rgba(206,122,60,.10)),
    repeating-linear-gradient(45deg, var(--c-sand) 0 14px, #efe7d8 14px 28px);
  border: 1px dashed var(--c-line);
  display: grid; place-items: center; min-height: 240px; padding: var(--sp-5); text-align: center;
}
.img-ph__label {
  font-size: var(--fs-xs); color: var(--c-muted); max-width: 34ch;
  background: rgba(255,255,255,.72); backdrop-filter: blur(2px);
  padding: .6rem .8rem; border-radius: var(--r-sm); line-height: 1.4;
}
.img-ph__label b { display:block; color: var(--c-ink); text-transform: uppercase; letter-spacing:.08em; font-size: 11px; margin-bottom: 2px; }

/* Included vs occasionally-billed lists */
.incl-card { display:flex; flex-direction:column; }
.incl-card h3 { display:flex; align-items:center; gap:.6rem; font-size: var(--fs-h4); }
.incl-card--yes { border-top: 3px solid var(--c-teal); }
.incl-card--extra { border-top: 3px solid var(--c-sun); }
.incl-badge { width:30px; height:30px; border-radius:50%; display:grid; place-items:center; flex:none; }
.incl-badge svg { width:18px; height:18px; }
.incl-badge--yes { background: var(--c-mist); color: var(--c-teal-dark); }
.incl-badge--extra { background: var(--c-sun-soft); color:#8a4e18; }
.incl-list { list-style:none; padding:0; margin: var(--sp-5) 0 0; display:grid; gap:.7rem; }
.incl-list li { display:flex; align-items:center; gap:.65rem; font-size: var(--fs-sm); color: var(--c-ink); }
.incl-list li svg { flex:none; width:20px; height:20px; }
.incl-card--yes .incl-list li svg { color: var(--c-teal); }
.incl-card--extra .incl-list li svg { color: var(--c-sun); }

/* -------------------------------------------------------------
   8. ANNOUNCEMENT BAR
   ------------------------------------------------------------- */
.announce {
  background: var(--c-ink); color: #EAF2F0;
  font-size: var(--fs-sm);
}
.announce__inner {
  display: flex; align-items: center; justify-content: center; gap: .75rem;
  padding: .6rem var(--gutter); text-align: center; flex-wrap: wrap;
}
.announce .dot-live { width: 8px; height: 8px; border-radius: 50%; background: var(--c-sun); box-shadow: 0 0 0 0 rgba(206,122,60,.6); animation: pulse 2.2s infinite; flex: none; }
.announce a { color: #fff; font-weight: 600; text-underline-offset: 3px; }
@keyframes pulse { 0%{box-shadow:0 0 0 0 rgba(206,122,60,.5);} 70%{box-shadow:0 0 0 7px rgba(206,122,60,0);} 100%{box-shadow:0 0 0 0 rgba(206,122,60,0);} }

/* -------------------------------------------------------------
   9. HEADER / NAV
   ------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur), box-shadow var(--dur);
}
/* Frosted background on a pseudo-element so the header itself does NOT
   establish a containing block for position:fixed children (backdrop-filter
   would). This keeps the off-canvas mobile menu anchored to the viewport. */
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(255,255,255,.82);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  backdrop-filter: saturate(140%) blur(10px);
}
.site-header.is-scrolled { border-color: var(--c-line-cool); box-shadow: var(--shadow-sm); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-5); padding-block: .85rem; }
.brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--c-ink); font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; letter-spacing: -.01em; }
.brand__mark { width: 50px; height: 32px; flex: none; }
.brand small { display:block; font-family: var(--font-body); font-weight:500; font-size: 11px; letter-spacing:.14em; text-transform: uppercase; color: var(--c-teal); white-space: nowrap; }
.brand > span { white-space: nowrap; }
.nav__links { display: flex; align-items: center; gap: clamp(.5rem, 1.5vw, 1.6rem); list-style: none; margin: 0; padding: 0; }
.nav__links a { color: var(--c-ink); text-decoration: none; font-size: var(--fs-sm); font-weight: 500; padding: .4rem 0; position: relative; white-space: nowrap; }
.nav__links a:hover { color: var(--c-teal-dark); }
.nav__links a::after { content:""; position:absolute; left:0; right:0; bottom:-2px; height:2px; background: var(--c-sun); transform: scaleX(0); transform-origin: left; transition: transform var(--dur) var(--ease); border-radius:2px; }
.nav__links a:hover::after, .nav__links a[aria-current="page"]::after { transform: scaleX(1); }
.nav__links a[aria-current="page"] { color: var(--c-teal-dark); font-weight: 600; }
.nav__actions { display: flex; align-items: center; gap: .7rem; }
.nav__toggle { display: none; }
.nav__close { display: none; }

/* Desktop: menu is one inline row (links + actions) pushed to the right */
.nav__menu { display: flex; align-items: center; gap: clamp(1rem, 2.4vw, 2rem); flex: 1; justify-content: flex-end; }

/* Patient Portal utility link */
.nav__portal { display: inline-flex; align-items: center; gap: .4rem; font-size: var(--fs-sm); font-weight: 500; color: var(--c-ink); text-decoration: none; white-space: nowrap; }
.nav__portal svg { width: 17px; height: 17px; color: var(--c-teal); flex: none; }
.nav__portal:hover { color: var(--c-teal-dark); }

/* Waitlist is prominent in the announcement bar + hero; keep the desktop
   header uncluttered by showing it only in the mobile menu. */
.nav__waitlist { display: none; }

/* Mobile nav */
.nav__burger {
  display: none; width: 44px; height: 44px; border: 1px solid var(--c-line-cool);
  background: #fff; border-radius: var(--r-sm); cursor: pointer; place-items: center;
}
.nav__burger span, .nav__burger span::before, .nav__burger span::after {
  content:""; display:block; width: 20px; height: 2px; background: var(--c-ink); border-radius: 2px; transition: transform var(--dur) var(--ease), opacity var(--dur);
}
.nav__burger span::before { transform: translateY(-6px); }
.nav__burger span::after { transform: translateY(4px); }
.nav.is-open .nav__burger span { background: transparent; }
.nav.is-open .nav__burger span::before { transform: rotate(45deg); }
.nav.is-open .nav__burger span::after { transform: rotate(-45deg) translateY(-1px); }

/* Below 1200px: collapse to an off-canvas menu (keeps the desktop nav
   to a single, uncramped row only when there's room for all links). */
@media (max-width: 1200px) {
  .nav__burger { display: grid; }
  .nav__menu {
    position: fixed; inset: 0 0 0 auto; width: min(360px, 88vw);
    background: #fff; box-shadow: var(--shadow-lg);
    transform: translateX(100%); visibility: hidden;
    transition: transform var(--dur) var(--ease), visibility var(--dur) var(--ease);
    flex-direction: column; align-items: stretch; justify-content: flex-start; gap: var(--sp-5);
    padding: calc(var(--sp-8)) var(--sp-6) var(--sp-6); z-index: 70; overflow-y: auto;
  }
  .nav.is-open .nav__menu { transform: translateX(0); visibility: visible; }
  .nav__close {
    display: grid; place-items: center; position: absolute; top: 1rem; right: 1rem;
    width: 44px; height: 44px; border: 1px solid var(--c-line); background: #fff;
    border-radius: var(--r-sm); color: var(--c-ink); cursor: pointer;
  }
  .nav__links { flex-direction: column; align-items: stretch; gap: .25rem; }
  .nav__links a { font-size: 1.05rem; padding: .7rem 0; border-bottom: 1px solid var(--c-line); }
  .nav__links a::after { display:none; }
  .nav__actions { flex-direction: column; align-items: stretch; gap: .6rem; margin-top: var(--sp-3); }
  .nav__menu .btn { width: 100%; }
  .nav__waitlist { display: inline-flex; }
  .nav__portal { justify-content: center; padding: .75rem 0; border: 1px solid var(--c-line-cool); border-radius: var(--r-pill); }
  .nav__backdrop { position: fixed; inset: 0; background: rgba(16,48,43,.4); opacity: 0; visibility: hidden; transition: opacity var(--dur); z-index: 65; }
  .nav.is-open .nav__backdrop { opacity: 1; visibility: visible; }
  body.nav-open { overflow: hidden; }
}

/* -------------------------------------------------------------
   9b. SUBPAGE HERO / BREADCRUMB / SPLIT ROWS
   ------------------------------------------------------------- */
.page-hero { background: linear-gradient(180deg, var(--c-white), var(--c-mist)); padding-block: clamp(2.5rem, 2rem + 3vw, 4.75rem); }
.page-hero__inner { max-width: 760px; }
.page-hero h1 { font-size: var(--fs-h1); margin-top: var(--sp-4); }
.page-hero .lead { margin-top: var(--sp-4); }
.page-hero .cta-row { margin-top: var(--sp-6); }

.breadcrumb { display:flex; gap:.55rem; align-items:center; font-size: var(--fs-xs); color: var(--c-muted-2); list-style:none; padding:0; margin:0; flex-wrap:wrap; }
.breadcrumb a { color: var(--c-muted); text-decoration:none; }
.breadcrumb a:hover { color: var(--c-teal-dark); }
.breadcrumb li { display:flex; gap:.55rem; align-items:center; }
.breadcrumb li:not(:last-child)::after { content:"/"; color: var(--c-line); }

.split { display:grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem,5vw,4rem); align-items:center; }
.split + .split { margin-top: var(--sp-8); }
.split--reverse .split__media { order: 2; }
.split__media .img-ph { min-height: 320px; }
@media (max-width: 820px){
  .split { grid-template-columns:1fr; gap: var(--sp-6); }
  .split--reverse .split__media { order:0; }
  .split__media .img-ph { min-height: 240px; }
}

/* -------------------------------------------------------------
   10. HERO
   ------------------------------------------------------------- */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--c-white) 0%, var(--c-mist) 100%); }
.hero__inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; padding-block: clamp(2.5rem, 2rem + 4vw, 5.5rem); }
.hero__badge { margin-bottom: var(--sp-5); }
.hero h1 { font-size: var(--fs-display); font-weight: 500; margin-bottom: var(--sp-5); }
.hero h1 .accent { font-style: italic; color: var(--c-teal); }
.hero__lead { font-size: var(--fs-lead); color: var(--c-muted); max-width: 46ch; margin-bottom: var(--sp-6); }
.hero__cta { margin-bottom: var(--sp-6); }
.hero__meta { display: flex; flex-wrap: wrap; gap: var(--sp-5); color: var(--c-muted); font-size: var(--fs-sm); }
.hero__meta span { display: inline-flex; align-items: center; gap: .5rem; }
.hero__meta svg { width: 18px; height: 18px; color: var(--c-teal); flex:none; }
.hero__media { position: relative; }
.hero__media .img-ph { min-height: 460px; }
.hero__float {
  position: absolute; background: #fff; border-radius: var(--r-md); box-shadow: var(--shadow-lg);
  padding: var(--sp-4); display: flex; gap: .75rem; align-items: center; max-width: 250px;
}
.hero__float--tl { top: 18px; left: -14px; }
.hero__float--br { bottom: 18px; right: -14px; }
.hero__float .ico { width: 40px; height: 40px; border-radius: 50%; background: var(--c-mist); color: var(--c-teal-dark); display:grid; place-items:center; flex:none; }
.hero__float b { display: block; font-size: var(--fs-sm); margin-bottom: 2px; }
.hero__float small { color: var(--c-muted-2); font-size: var(--fs-xs); }
@media (max-width: 940px) {
  .hero__inner { grid-template-columns: 1fr; gap: var(--sp-7); }
  .hero__media { order: -1; }
  .hero__media .img-ph { min-height: 300px; }
  .hero__float { display: none; }
}

/* -------------------------------------------------------------
   11. STAT / TRUST STRIP
   ------------------------------------------------------------- */
.trustbar { border-top: 1px solid var(--c-line-cool); border-bottom: 1px solid var(--c-line-cool); background: var(--c-white); }
.trustbar__inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-5); padding-block: var(--sp-6); }
.trust-item { text-align: center; padding-inline: var(--sp-3); }
.trust-item + .trust-item { border-left: 1px solid var(--c-line); }
.trust-item .num { font-family: var(--font-display); font-size: clamp(1.6rem,1.2rem+1.4vw,2.2rem); color: var(--c-teal-dark); font-weight: 500; }
.trust-item .lbl { font-size: var(--fs-xs); color: var(--c-muted); margin-top: .25rem; }
@media (max-width: 720px) {
  .trustbar__inner { grid-template-columns: repeat(2,1fr); gap: var(--sp-5) 0; }
  .trust-item:nth-child(odd) { border-left: none; }
  .trust-item:nth-child(3), .trust-item:nth-child(4) { padding-top: var(--sp-5); border-top: 1px solid var(--c-line); }
}

/* -------------------------------------------------------------
   12. STEPS / HOW IT WORKS
   ------------------------------------------------------------- */
.steps { counter-reset: step; display: grid; gap: var(--sp-6); grid-template-columns: repeat(3,1fr); }
@media (max-width: 760px){ .steps { grid-template-columns: 1fr; gap: var(--sp-5);} }
.step { position: relative; padding-top: var(--sp-6); }
.step::before {
  counter-increment: step; content: counter(step,decimal-leading-zero);
  font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; color: var(--c-teal);
  position: absolute; top: 0; left: 0;
  width: 44px; height: 44px; display: grid; place-items: center;
  background: var(--c-mist); border-radius: 50%;
}
.step h3 { font-size: var(--fs-h4); margin: var(--sp-6) 0 var(--sp-2); }
.step p { color: var(--c-muted); font-size: var(--fs-sm); }

/* -------------------------------------------------------------
   13. PROVIDER CARDS
   ------------------------------------------------------------- */
.provider { display: grid; grid-template-columns: 200px 1fr; gap: var(--sp-6); align-items: start; }
.provider .img-ph { min-height: 240px; border-radius: var(--r-lg); }
.provider h3 { margin-bottom: .15rem; }
.provider .role { color: var(--c-teal-dark); font-size: var(--fs-sm); font-weight: 600; margin-bottom: var(--sp-3); }
.provider .creds { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: var(--sp-4); }
.provider .creds .badge { background: var(--c-paper); border: 1px solid var(--c-line); color: var(--c-muted); }
@media (max-width: 560px){ .provider { grid-template-columns: 1fr; } }

/* -------------------------------------------------------------
   14. PRICING PREVIEW
   ------------------------------------------------------------- */
.price-card { text-align: center; display: flex; flex-direction: column; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.price-card .price { font-family: var(--font-display); font-size: 3rem; color: var(--c-ink); font-weight: 500; line-height: 1; }
.price-card .price span { font-size: 1rem; color: var(--c-muted); font-family: var(--font-body); }
.price-card--featured { border: 2px solid var(--c-teal); box-shadow: var(--shadow-md); position: relative; }
.price-card--featured .ribbon { position:absolute; top:-13px; left:50%; transform:translateX(-50%); }

/* -------------------------------------------------------------
   14b. COMPARISON TABLE
   ------------------------------------------------------------- */
.compare-wrap { overflow-x: auto; border: 1px solid var(--c-line); border-radius: var(--r-lg); background: #fff; -webkit-overflow-scrolling: touch; }
.compare { width: 100%; border-collapse: collapse; min-width: 680px; }
.compare th, .compare td { padding: 1rem 1.15rem; text-align: left; border-bottom: 1px solid var(--c-line); font-size: var(--fs-sm); vertical-align: top; }
.compare thead th { font-family: var(--font-body); font-weight: 600; color: var(--c-ink); background: var(--c-paper); }
.compare thead th.is-featured { background: var(--c-mist); color: var(--c-teal-dark); border-top: 3px solid var(--c-teal); }
.compare col.is-featured, .compare td.is-featured { background: rgba(76,124,85,.05); }
.compare tbody th { font-weight: 600; color: var(--c-ink); background: #fff; width: 30%; }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: none; }
.compare .yes { color: var(--c-teal-dark); font-weight: 600; }
.compare .no { color: var(--c-muted-2); }
.compare small { display:block; color: var(--c-muted-2); font-size: var(--fs-xs); margin-top: 2px; }
.compare-hint { font-size: var(--fs-xs); color: var(--c-muted-2); margin-top: var(--sp-3); }

/* -------------------------------------------------------------
   15. FAQ (accordion)
   ------------------------------------------------------------- */
.faq { max-width: 820px; margin-inline: auto; display: grid; gap: var(--sp-3); }
.faq details { background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-md); overflow: hidden; }
.faq details[open] { border-color: var(--c-line-cool); box-shadow: var(--shadow-sm); }
.faq summary { cursor: pointer; list-style: none; padding: 1.15rem 1.35rem; font-weight: 600; font-size: var(--fs-body); display: flex; justify-content: space-between; gap: 1rem; align-items: center; color: var(--c-ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .chev { flex:none; transition: transform var(--dur) var(--ease); color: var(--c-teal); }
.faq details[open] summary .chev { transform: rotate(180deg); }
.faq .faq__body { padding: 0 1.35rem 1.25rem; color: var(--c-muted); font-size: var(--fs-sm); }
.faq .faq__body p { max-width: none; }

/* -------------------------------------------------------------
   15b. FORMS
   ------------------------------------------------------------- */
.form-card { background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-lg); padding: var(--sp-6); box-shadow: var(--shadow-sm); }
.field { margin-bottom: var(--sp-4); }
.field:last-of-type { margin-bottom: var(--sp-5); }
.field label { display: block; font-size: var(--fs-sm); font-weight: 600; color: var(--c-ink); margin-bottom: .4rem; }
.field input, .field textarea, .field select {
  width: 100%; font-family: var(--font-body); font-size: var(--fs-body); color: var(--c-ink);
  background: #fff; border: 1.5px solid var(--c-line-cool); border-radius: var(--r-sm);
  padding: .75rem .9rem; transition: border-color var(--dur), box-shadow var(--dur);
}
.field input::placeholder, .field textarea::placeholder { color: var(--c-muted-2); }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--c-teal); box-shadow: 0 0 0 3px rgba(76,124,85,.15); }
.field textarea { resize: vertical; min-height: 110px; }
.field--check { display: flex; gap: .6rem; align-items: flex-start; }
.field--check input { width: auto; margin-top: 3px; }
.form-note { font-size: var(--fs-xs); color: var(--c-muted-2); }

/* -------------------------------------------------------------
   16. CTA BANNER
   ------------------------------------------------------------- */
.cta-banner { position: relative; overflow: hidden; }
.cta-banner__card {
  background: var(--c-ink);
  background-image: radial-gradient(120% 120% at 100% 0%, rgba(76,124,85,.55) 0%, transparent 55%), radial-gradient(120% 120% at 0% 100%, rgba(206,122,60,.28) 0%, transparent 50%);
  color: #fff; border-radius: var(--r-lg);
  padding: clamp(3.25rem, 2.25rem + 4.5vw, 6rem) clamp(2.25rem, 1.5rem + 3vw, 4rem);
  text-align: center;
}
.cta-banner__card h2 { color: #fff; max-width: 20ch; margin-inline: auto; }
.cta-banner__card p { color: #CFEAE4; max-width: 52ch; margin: var(--sp-4) auto var(--sp-6); }
.cta-banner__card .cta-row { justify-content: center; }
.cta-banner__note { color: #8FBEB6; font-size: var(--fs-xs); margin-top: var(--sp-5); }

/* -------------------------------------------------------------
   16b. BLOG CARDS + ARTICLE / PROSE
   ------------------------------------------------------------- */
.post-card { display: flex; flex-direction: column; padding: 0; overflow: hidden; }
.post-card .img-ph { border: none; border-radius: 0; min-height: 190px; }
.post-card__body { padding: var(--sp-5); display: flex; flex-direction: column; flex: 1; }
.post-card__body h3 { margin: var(--sp-3) 0 var(--sp-2); font-size: var(--fs-h4); }
.post-card__body p { color: var(--c-muted); font-size: var(--fs-sm); }
.post-card__meta { margin-top: auto; padding-top: var(--sp-4); color: var(--c-muted-2); font-size: var(--fs-xs); display: flex; gap: .5rem; align-items: center; flex-wrap: wrap; }
.post-card a.stretched { text-decoration: none; color: inherit; }

.article { padding-block: var(--section-y); }
.article__head { max-width: 760px; margin-inline: auto; margin-bottom: var(--sp-7); }
.article__head h1 { font-size: var(--fs-h1); margin: var(--sp-3) 0 var(--sp-4); }
.article-meta { display: flex; gap: .75rem 1rem; flex-wrap: wrap; color: var(--c-muted-2); font-size: var(--fs-sm); align-items: center; }
.article-meta .who { color: var(--c-ink); font-weight: 600; }
.prose { max-width: 720px; margin-inline: auto; }
.prose > * + * { margin-top: var(--sp-4); }
.prose p, .prose li { color: #33403B; }
.prose h2 { font-size: var(--fs-h2); margin-top: var(--sp-8); }
.prose h3 { font-size: var(--fs-h3); margin-top: var(--sp-6); }
.prose ul, .prose ol { padding-left: 1.25em; display: grid; gap: .45rem; }
.prose a { font-weight: 500; }
.prose .lede { font-size: var(--fs-lead); color: var(--c-muted); line-height: 1.5; }
.prose .callout { background: var(--c-mist); border-left: 4px solid var(--c-teal); border-radius: var(--r-md); padding: var(--sp-4) var(--sp-5); }
.prose .callout.warn { background: #FEF3E0; border-left-color: var(--c-sun); }
.prose .callout p { margin: 0; }
.prose .table-note { font-size: var(--fs-xs); color: var(--c-muted-2); margin-top: var(--sp-2); }
.prose table { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); }
.prose .table-wrap { overflow-x: auto; border: 1px solid var(--c-line); border-radius: var(--r-md); margin-top: var(--sp-2); }
.prose th, .prose td { text-align: left; padding: .7rem .85rem; border-bottom: 1px solid var(--c-line); vertical-align: top; }
.prose thead th { background: var(--c-paper); font-weight: 600; }
.prose tbody tr:last-child td { border-bottom: none; }
.article__cta { max-width: 760px; margin: var(--sp-8) auto 0; }

/* Legal pages */
.legal-banner { max-width: 760px; margin: 0 auto var(--sp-6); background: #FEF3E0; border: 1px solid var(--c-sun-soft); border-left: 4px solid var(--c-sun); border-radius: var(--r-md); padding: var(--sp-4) var(--sp-5); color: #7a4a12; font-size: var(--fs-sm); }
.legal-banner strong { color: #6b3f0e; }
.prose.legal { font-size: var(--fs-sm); }
.prose.legal h2 { font-size: var(--fs-h3); margin-top: var(--sp-7); }
.prose.legal h3 { font-size: var(--fs-h4); margin-top: var(--sp-6); }
.prose.legal p, .prose.legal li { color: var(--c-muted); }

/* -------------------------------------------------------------
   17. FOOTER
   ------------------------------------------------------------- */
.site-footer { background: var(--c-ink); color: #C7D6D2; font-size: var(--fs-sm); }
.site-footer a { color: #C7D6D2; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: var(--sp-6); padding-block: var(--sp-8) var(--sp-7); }
@media (max-width: 900px){ .footer__top { grid-template-columns: 1fr 1fr; gap: var(--sp-7) var(--sp-5);} }
@media (max-width: 520px){ .footer__top { grid-template-columns: 1fr; } }
.footer__brand .brand { color: #fff; }
.footer__brand .brand small { color: var(--c-sun-soft); }
.footer__brand p { color: #A8BDB8; font-size: var(--fs-sm); margin-top: var(--sp-4); max-width: 34ch; }
.footer h4 { color: #fff; font-family: var(--font-body); font-size: var(--fs-xs); letter-spacing: .12em; text-transform: uppercase; margin-bottom: var(--sp-4); }
.footer ul { list-style: none; padding: 0; display: grid; gap: .6rem; }
.footer__contact li { display:flex; gap:.6rem; align-items:flex-start; }
.footer__contact svg { width:18px;height:18px;color:var(--c-sun-soft);flex:none;margin-top:2px;}
.footer__bottom { border-top: 1px solid rgba(255,255,255,.12); padding-block: var(--sp-5); display:flex; flex-wrap:wrap; gap: var(--sp-4); justify-content: space-between; align-items:center; color:#94A9A4; font-size: var(--fs-xs); }
.footer__legal-links { display:flex; flex-wrap:wrap; gap: var(--sp-4) var(--sp-5); }
.footer__disclaimer { color:#7F958F; font-size: var(--fs-xs); line-height:1.6; padding-bottom: var(--sp-7); max-width: 100%; }
.footer__disclaimer p { max-width: none; }

/* -------------------------------------------------------------
   18. UTILITIES + MOTION
   ------------------------------------------------------------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.muted { color: var(--c-muted); }
.divider { height:1px; background: var(--c-line); border:0; margin-block: var(--sp-7); }
.sup-cite { font-size: .7em; vertical-align: super; line-height: 0; }
.sup-cite a { text-decoration: none; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce){ .reveal { opacity:1; transform:none; } }

/* Style-guide page helpers */
.sg-swatch { border-radius: var(--r-md); overflow:hidden; border:1px solid var(--c-line); }
.sg-swatch .chip { height: 90px; }
.sg-swatch .meta { padding:.6rem .8rem; font-size: var(--fs-xs); }
.sg-swatch .meta b { display:block; }
.sg-type-row { padding-block: var(--sp-4); border-bottom:1px solid var(--c-line); }
.sg-type-row .k { font-size: var(--fs-xs); color: var(--c-muted); font-family: var(--font-body); }


/* --- Mobile menu panel (client request 2026-07-24): link spacing, equal-size actions, colors --- */
@media (max-width: 1200px) {
  .nav__menu .nav__links { gap: .55rem; }
  .nav__menu .nav__links a { padding: 1rem 0; font-size: 1.08rem; }

  .nav__menu .nav__actions { gap: .7rem; }
  .nav__menu .nav__actions > .btn,
  .nav__menu .nav__actions > .nav__portal {
    width: 100%;
    min-height: 52px;
    padding: .9rem 1.1rem;
    font-size: var(--fs-sm);
    font-weight: 600;
    border-radius: var(--r-pill);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .4rem;
    box-shadow: none;
  }
  /* Join the Waitlist -> green (filled) */
  .nav__menu .nav__actions > .nav__waitlist {
    background: var(--c-teal);
    color: #fff;
    border: 1.5px solid var(--c-teal);
  }
  /* Book a Meet & Greet -> white */
  .nav__menu .nav__actions > .btn--primary {
    background: #fff;
    color: var(--c-ink);
    border: 1.5px solid var(--c-line-cool);
  }
  /* Patient Portal -> white */
  .nav__menu .nav__actions > .nav__portal {
    background: #fff;
    color: var(--c-ink);
    border: 1.5px solid var(--c-line-cool);
  }
}
