/*
 * Doctors of Coburg North — patient-facing clinic profile PoC.
 * Vanilla CSS, no build (matches poc/canvas + poc/ftue convention).
 *
 * DESIGN LANGUAGE — One Medical (Moniker rebrand).
 * A warm, editorial "boutique health" look: a cream/sand canvas, a deep
 * evergreen-teal primary, earthy accent blocks (clay / sky / sage / butter),
 * a contemporary serif for headlines (Fraunces — the closest free stand-in for
 * One Medical's GT Super), pill buttons and big rounded shapes.
 *
 * The warm template is FIXED and brand-independent — it's what the marketplace
 * supplies. Only the clinic ACCENT (--brand-primary, optional --brand-secondary)
 * reskins per clinic, so the brand-tier switcher recolours the accent while the
 * premium template stays put. Tokens only; no raw hex inside components.
 */
:root {
  /* ─────────────────────────────────────────────────────────────────────────
     CLINIC BRAND SEED — the accent the template tints itself with. A clinic
     supplies a logo + a primary colour (optionally a secondary); the warm
     One Medical template below is fixed. Swap this one value and the accents
     follow. Default is a deep evergreen so the page reads One-Medical out of
     the box. ──────────────────────────────────────────────────────────────── */
  --brand-primary: #15514c;     /* deep evergreen-teal (the One Medical green) */
  --brand-secondary: #c47a45;   /* warm clay/ochre accent (optional) */

  /* ── DERIVED RAMP — contrast-safe shades computed from the seeds. ── */
  --brand-primary-deep: color-mix(in srgb, var(--brand-primary) 74%, #000);
  --brand-secondary-deep: color-mix(in srgb, var(--brand-secondary) 72%, #000);
  /* the brighter emerald One Medical pairs with the deep green for two-tone
     display headlines ("Get care today for back pain"). Tracks the seed. */
  --brand-bright: color-mix(in srgb, var(--brand-primary) 42%, #2ec27e);

  /* Hanah platform chrome — real Hanah brand: primary brown bar + warm orange. */
  --hanah-ink: #2e190d;     /* Hanah primary brown */
  --hanah-coral: #e68a54;   /* Hanah warm orange */

  /* ── One Medical warm template — FIXED, brand-independent ──────────────────
     A small earthy palette: cream canvas + four muted accent blocks. */
  --cream:    #f4f1e9;          /* page canvas — neutral warm greige */
  --cream-2:  #eceadf;          /* deeper greige for tint sections */
  --sand:     #e4e0d2;          /* warmest neutral, used for chips/tiles */
  --clay:     #c47a45;          /* terracotta accent block */
  --sky:      #5b8597;          /* dusty-blue accent block */
  --sage:     #aebfa3;          /* soft-sage accent block */
  --butter:   #ecdca6;          /* warm-butter accent block */

  --surface: #fffefb;           /* cards sit a touch brighter than the cream */
  --ink: #1d2b26;               /* near-black with a green undertone */
  --muted-ink: #5f6b62;
  --bg: var(--cream);
  --tint: var(--cream-2);
  --tint-strong: var(--sand);
  --border: #e3ddcf;            /* warm hairline */
  --ring: color-mix(in srgb, var(--brand-primary) 45%, transparent);

  --radius: 22px;
  --radius-lg: 30px;
  --radius-sm: 14px;
  --maxw: 1140px;

  --font-sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, "Apple Color Emoji", "Segoe UI Emoji", sans-serif;
  --font-display: "Fraunces", "Iowan Old Style", "Hoefler Text", Georgia,
    "Times New Roman", serif;

  --shadow-sm: 0 1px 2px rgba(45, 34, 14, 0.05), 0 6px 18px rgba(45, 34, 14, 0.05);
  --shadow-md: 0 16px 44px rgba(45, 34, 14, 0.11);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  line-height: 1.58;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* Display type — Fraunces, the contemporary serif standing in for GT Super.
   One Medical headlines are MEDIUM weight (not bold) + big + tight-leading. */
h1, h2 {
  font-family: var(--font-display);
  font-optical-sizing: auto;
  font-weight: 480;
  letter-spacing: -0.015em;
  line-height: 1.06;
}

/* ---------------------------------------- brand-tier demo switcher (PoC-only) */
/* Previews how a profile degrades by how much brand we actually have:
   full (logo + primary + secondary) → logo (primary only, secondary derived) →
   name-only (typed wordmark + monogram + a colour generated from the name).
   The warm template never changes — only the clinic ACCENT is re-seeded, which
   is the whole point: a premium page that reskins from one colour. */
.brand-switch {
  position: fixed; top: 14px; left: 50%; transform: translateX(-50%); z-index: 80;
  display: inline-flex; gap: 3px; padding: 4px;
  background: var(--hanah-ink); border-radius: 999px; box-shadow: var(--shadow-md);
}
.brand-switch button {
  appearance: none; border: 0; cursor: pointer; font: inherit;
  font-size: 12px; font-weight: 650; color: rgba(255, 255, 255, 0.7);
  padding: 6px 13px; border-radius: 999px; background: transparent; transition: all .15s ease;
}
.brand-switch button.on { background: var(--cream); color: var(--hanah-ink); }

/* typed wordmark + monogram — the always-available fallback when no logo image.
   In name-only mode JS hides the logo <img> and reveals these. */
.brand-wordmark, .foot-wordmark { display: none; align-items: center; gap: 10px; }
.brand-wordmark {
  font-family: var(--font-display); font-size: 20px; font-weight: 500;
  letter-spacing: -0.01em; color: var(--brand-primary-deep);
}
.foot-wordmark { font-family: var(--font-display); font-size: 19px; font-weight: 500; color: var(--cream); }
.wm-chip {
  width: 30px; height: 30px; flex: none; border-radius: 9px;
  display: grid; place-items: center; font-size: 12px; font-weight: 750; color: #fff;
  font-family: var(--font-sans);
  background: var(--brand-primary);
}
body.brand-nameonly .brand img { display: none; }
body.brand-nameonly .brand-wordmark { display: inline-flex; }
body.brand-nameonly .foot-brand img { display: none; }
body.brand-nameonly .foot-wordmark { display: inline-flex; }

/* ------------------------------------------- Hanah marketplace chrome (PoC) */
/* Slim platform frame: signals this clinic page is a profile inside Hanah's
   future (Zocdoc-style) search. Warm-dark so the clinic's own brand owns the
   page below. Search is mocked/inert until that surface is built. */
/* Hanah marketplace bar — always pinned to the very top. */
.hanah-bar { position: sticky; top: 0; z-index: 60; background: var(--hanah-ink); color: var(--cream); }
.hb-inner {
  max-width: var(--maxw); margin: 0 auto;
  display: flex; align-items: center; gap: 16px;
  padding: 9px clamp(16px, 4vw, 34px);
}
/* real Hanah wordmark, recoloured to cream via mask so it reads on the brown bar */
/* real Hanah white wordmark — already white, so it reads directly on the brown bar */
.hb-logo {
  display: inline-block; width: 92px; height: 24px; flex: none;
  background: url(/brand/wordmark-white.svg) left center / contain no-repeat;
}
.hb-mark { width: 9px; height: 9px; border-radius: 999px; background: var(--hanah-coral); }
.hb-search {
  flex: 1; max-width: 430px; cursor: default;
  display: flex; align-items: center; gap: 9px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px; padding: 7px 8px 7px 14px;
}
.hb-search svg { width: 15px; height: 15px; color: rgba(255, 255, 255, 0.6); flex: none; }
.hb-ph {
  font-size: 13.5px; color: rgba(255, 255, 255, 0.62);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.hb-soon {
  margin-left: auto; flex: none;
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--hanah-ink); background: var(--hanah-coral);
  padding: 3px 8px; border-radius: 999px;
}
.hb-right { margin-left: auto; display: flex; align-items: center; gap: 16px; }
.hb-loc {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 600; color: rgba(255, 255, 255, 0.74);
}
.hb-loc svg { width: 14px; height: 14px; }
.hb-claim { font-size: 13px; font-weight: 600; color: rgba(255, 255, 255, 0.74); white-space: nowrap; }
.hb-claim a { color: var(--cream); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* ------------------------------------------------------------- top bar */
.topbar {
  position: sticky; top: var(--hanah-bar-h, 46px); z-index: 50;
  display: flex; align-items: center; gap: 22px;
  padding: 14px clamp(16px, 4vw, 34px);
  background: color-mix(in srgb, var(--cream) 85%, transparent);
  backdrop-filter: saturate(1.3) blur(10px);
  border-bottom: 1px solid var(--border);
}
.brand { display: inline-flex; align-items: center; }
.brand img { height: 36px; width: auto; }
.topnav { display: flex; gap: 4px; margin-left: 8px; }
.topnav a {
  font-size: 14.5px; font-weight: 600; color: var(--muted-ink);
  padding: 8px 13px; border-radius: 999px; transition: all .15s ease;
}
.topnav a:hover { color: var(--brand-primary-deep); background: var(--tint); }
.top-actions { margin-left: auto; display: flex; align-items: center; gap: 16px; }
.top-phone {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14.5px; font-weight: 650; color: var(--brand-primary-deep); white-space: nowrap;
}
.top-phone svg { width: 16px; height: 16px; color: var(--brand-secondary); }
.top-phone:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------------------------------------------------------------- buttons */
/* One Medical pills: generous, fully rounded, flat-ish (no heavy shadow). */
.btn {
  display: inline-flex; align-items: center; gap: 9px; cursor: pointer;
  font: inherit; font-size: 15px; font-weight: 650; line-height: 1;
  padding: 13px 22px; border-radius: 999px; border: 1.5px solid transparent;
  transition: transform .12s ease, box-shadow .15s ease, background .15s ease, border-color .15s ease;
  white-space: nowrap;
}
.btn svg { width: 17px; height: 17px; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brand-primary); color: var(--cream); }
.btn-primary:hover { background: var(--brand-primary-deep); }
.btn-ghost {
  background: transparent; color: var(--brand-primary-deep);
  border-color: color-mix(in srgb, var(--brand-primary) 32%, var(--border));
}
.btn-ghost:hover { background: color-mix(in srgb, var(--brand-primary) 7%, transparent); border-color: var(--brand-primary); }
.btn.block { width: 100%; justify-content: center; margin-top: 18px; }
.btn.lg { font-size: 15.5px; padding: 15px 26px; }
.btn.sm { font-size: 13.5px; padding: 10px 16px; gap: 6px; }
/* cream button for use on the deep evergreen booking band */
.btn-light { background: var(--cream); color: var(--brand-primary-deep); }
.btn-light:hover { background: #fff; }
.btn-light svg { color: var(--brand-primary); }

/* Unclaimed-profile placeholders — Book/Call/Contact are disabled until the
   clinic claims the profile (the shell applies .cta-locked to them). */
.cta-locked { opacity: 0.5; cursor: not-allowed; }
.cta-locked:hover { transform: none; box-shadow: var(--shadow-sm); }

/* Claim email-capture modal (shared shell) */
.claim-modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 20px; }
.claim-modal[hidden] { display: none; }
.claim-backdrop { position: absolute; inset: 0; background: rgba(20, 12, 6, 0.55); backdrop-filter: blur(2px); }
.claim-dialog {
  position: relative; width: 100%; max-width: 420px;
  background: var(--surface); border-radius: var(--radius); padding: 30px 28px; box-shadow: var(--shadow-md);
}
.claim-x { position: absolute; top: 12px; right: 14px; border: 0; background: none; font-size: 26px; line-height: 1; color: var(--muted-ink); cursor: pointer; }
.claim-x:hover { color: var(--ink); }
.claim-eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--brand-primary); }
.claim-dialog h2 { font-family: var(--font-display, inherit); font-size: 25px; font-weight: 600; margin-top: 6px; letter-spacing: -0.01em; }
.claim-sub { margin-top: 10px; font-size: 14.5px; color: var(--muted-ink); line-height: 1.5; }
.claim-form { margin-top: 18px; display: flex; flex-direction: column; gap: 10px; }
.claim-form input { font: inherit; font-size: 15px; padding: 12px 14px; border: 1px solid var(--border); border-radius: var(--radius-sm, 11px); background: #fff; color: var(--ink); }
.claim-form input:focus { outline: 2px solid var(--ring); outline-offset: 1px; border-color: var(--brand-primary); }
.claim-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; }
.claim-form .btn { margin-top: 4px; }
.claim-ok { color: var(--brand-primary-deep); font-size: 14px; font-weight: 650; }
.claim-err { color: #c0392b; font-size: 13.5px; }

/* ============================ hero (One Medical) ===========================
   Compact + headline-led: one confident serif headline (two-tone — deep green +
   a brighter emerald), a short subline, a clear CTA. No hero image on purpose —
   the three picture cards below are the page's visual lead. */
.lead {
  max-width: var(--maxw); margin: 0 auto;
  padding: clamp(44px, 6vw, 92px) clamp(16px, 4vw, 34px) clamp(30px, 4vw, 52px);
}
.om-eyebrow {
  font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--brand-primary); margin-bottom: 20px;
}
.lead h1 {
  font-size: clamp(40px, 5.6vw, 66px); line-height: 1.02; letter-spacing: -0.02em;
  max-width: 11em; text-wrap: balance;
}
.lead h1 em { font-style: normal; color: var(--brand-bright); }
.om-lede {
  margin-top: 24px; font-size: clamp(17px, 1.7vw, 20px); line-height: 1.58;
  color: var(--muted-ink); max-width: 34em;
}
.om-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.om-trust {
  display: flex; align-items: center; flex-wrap: wrap; gap: 8px;
  margin-top: 30px; font-size: 14.5px; font-weight: 600; color: var(--muted-ink);
}
.om-trust b { color: var(--ink); font-weight: 750; }
.om-stars { color: #d99a4e; letter-spacing: 1px; font-size: 15px; }
.om-rsample {
  font-size: 11px; font-weight: 650; color: var(--muted-ink);
  background: var(--tint-strong); padding: 1px 6px; border-radius: 5px;
}
.om-dot { color: color-mix(in srgb, var(--muted-ink) 45%, transparent); }

/* ====================== lead-with-images — three picture cards =============
   The page leads with imagery (One Medical): three big rounded photos, each an
   uppercase eyebrow + a serif headline + a "Learn more" link into the page. */
.pillars {
  max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.4vw, 30px);
  padding: clamp(16px, 2.5vw, 32px) clamp(16px, 4vw, 34px) clamp(40px, 5vw, 68px);
}
.pillar { display: flex; flex-direction: column; }
.pillar-img {
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm);
}
.pillar-img img {
  width: 100%; aspect-ratio: 4 / 3.1; object-fit: cover;
  transition: transform .45s ease;
}
.pillar:hover .pillar-img img { transform: scale(1.045); }
.pillar-eyebrow {
  margin-top: 20px;
  font-size: 12.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--brand-primary);
}
.pillar h3 {
  font-family: var(--font-display); font-weight: 480; letter-spacing: -0.01em;
  font-size: clamp(22px, 2.3vw, 28px); line-height: 1.1; margin-top: 8px;
}
.pillar-more {
  margin-top: 12px; font-size: 14.5px; font-weight: 700; color: var(--brand-primary-deep);
}
.pillar:hover .pillar-more { text-decoration: underline; text-underline-offset: 3px; }

/* ===================== rotating "Get care today for …" ====================
   The scroll moment between the images and the pitch — a big two-tone serif
   headline whose last line cycles through what the clinic treats. */
.care-rotator {
  text-align: center;
  padding: clamp(52px, 7vw, 104px) clamp(16px, 4vw, 34px);
}
.care-rotator h2 {
  font-size: clamp(42px, 6vw, 82px); line-height: 1.04; letter-spacing: -0.02em;
  color: var(--brand-primary-deep);
}
.care-rotator .rot {
  display: inline-block; color: var(--brand-bright);
  transition: opacity .3s ease, transform .3s ease;
}
.care-more {
  display: inline-block; margin-top: 26px;
  font-size: 15px; font-weight: 700; color: var(--brand-primary);
}
.care-more:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------------------------------------------------------------- sections */
.section {
  max-width: var(--maxw); margin: 0 auto;
  padding: clamp(44px, 6vw, 84px) clamp(16px, 4vw, 34px);
}
.section-tint {
  max-width: none;
  background: var(--tint);
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.section-tint > * { max-width: var(--maxw); margin-inline: auto; }
.section-head { text-align: center; max-width: 40em; margin: 0 auto clamp(30px, 4vw, 48px); }
.section-head.left { text-align: left; margin-inline: 0; }
.section-head h2 {
  font-size: clamp(30px, 3.6vw, 44px); text-wrap: balance;
}
.section-head p { margin-top: 14px; color: var(--muted-ink); font-size: 17.5px; }

/* --------------------------------------------------------- offering cards */
/* A feature card in deep evergreen, the rest warm-white with earthy icon tiles
   — the muted multi-tone palette that reads as One Medical. */
.offer-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
}
.offer {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 26px 24px;
  box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; gap: 4px;
}
.offer-feature {
  background: linear-gradient(155deg, var(--brand-primary), var(--brand-primary-deep));
  border-color: transparent; color: var(--cream);
}
.offer-feature p { color: color-mix(in srgb, var(--cream) 84%, transparent); }
.offer-ic {
  width: 50px; height: 50px; border-radius: 15px; margin-bottom: 14px;
  display: grid; place-items: center;
}
.offer-ic svg { width: 24px; height: 24px; }
.ic-green { background: color-mix(in srgb, var(--brand-primary) 13%, var(--surface)); color: var(--brand-primary-deep); }
.ic-red { background: color-mix(in srgb, var(--clay) 18%, #fff); color: var(--brand-secondary-deep); }
.offer-feature .offer-ic { background: rgba(255, 255, 255, 0.16); color: var(--cream); }
.offer h3 { font-family: var(--font-display); font-size: 21px; font-weight: 500; letter-spacing: -0.01em; }
.offer p { font-size: 14.5px; color: var(--muted-ink); margin-top: 4px; }
.offer-tag {
  align-self: flex-start; margin-top: 14px;
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
  background: rgba(255, 255, 255, 0.18); color: var(--cream);
  padding: 5px 11px; border-radius: 999px;
}
.offer-extra {
  margin-top: 26px; text-align: center; color: var(--muted-ink);
  font-size: 15px; max-width: 56em; margin-inline: auto;
}
.offer-extra strong { color: var(--ink); }

/* ----------------------------------------------------------- avatars */
/* one avatar system everywhere: real photo when we have one, else monogram. */
.avatar {
  display: grid; place-items: center; flex: none; overflow: hidden;
  border-radius: 50%; color: var(--cream); font-weight: 600; letter-spacing: -0.01em;
  font-family: var(--font-display);
  background: linear-gradient(150deg, var(--brand-primary), var(--brand-primary-deep));
}
.avatar.av-red { background: linear-gradient(150deg, var(--brand-secondary), var(--brand-secondary-deep)); }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar.sm { width: 40px; height: 40px; font-size: 14px; }
.avatar.md { width: 62px; height: 62px; font-size: 22px; }
.avatar.lg { width: 116px; height: 116px; font-size: 42px; box-shadow: var(--shadow-md); }

/* -------------------------------------------------------------- doctors */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.docard {
  display: flex; flex-direction: column; gap: 16px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm);
  transition: transform .14s ease, box-shadow .16s ease, border-color .16s ease;
}
.docard:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: color-mix(in srgb, var(--brand-primary) 22%, var(--border)); }
.docard-id { display: flex; align-items: center; gap: 16px; min-width: 0; }
.docard-who { display: flex; flex-direction: column; min-width: 0; }
.doc-name { font-family: var(--font-display); font-size: 20px; font-weight: 500; letter-spacing: -0.01em; }
.docard-id:hover .doc-name { color: var(--brand-primary-deep); }
.doc-role { font-size: 13.5px; color: var(--muted-ink); margin-top: 3px; }
.doc-quals { display: flex; flex-wrap: wrap; gap: 5px; }
.qual {
  font-size: 11px; font-weight: 650; letter-spacing: 0.02em;
  background: var(--tint-strong); color: var(--brand-primary-deep);
  padding: 4px 9px; border-radius: 999px;
}
.docard-actions { display: flex; gap: 8px; margin-top: auto; padding-top: 4px; }
.docard-actions .btn-primary { flex: 1; justify-content: center; }

/* -------------------------------------------------------------- services */
.services-layout {
  display: grid; grid-template-columns: 1fr 0.9fr; gap: clamp(24px, 4vw, 56px);
  align-items: center;
}
.svc-list {
  list-style: none; margin-top: 26px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 13px 24px;
}
.svc-list li {
  position: relative; padding-left: 30px;
  font-size: 15px; font-weight: 550;
}
.svc-list li::before {
  content: ""; position: absolute; left: 0; top: 5px;
  width: 20px; height: 20px; border-radius: 50%;
  background-color: var(--brand-primary);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fbf6ec' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  background-size: 12px; background-repeat: no-repeat; background-position: center;
}
.services-media img {
  width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-md);
  aspect-ratio: 4 / 3; object-fit: cover;
}

/* --------------------------------------------------------------- visit */
.visit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.visit-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-sm);
}
.visit-card h3 { font-family: var(--font-display); font-size: 23px; font-weight: 500; letter-spacing: -0.01em; margin-bottom: 18px; }
.hours { width: 100%; border-collapse: collapse; }
.hours th, .hours td { text-align: left; padding: 9px 0; font-size: 15px; }
.hours th { font-weight: 600; color: var(--muted-ink); }
.hours td { font-weight: 650; text-align: right; }
.hours tr + tr { border-top: 1px solid var(--border); }
.open-now {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 16px;
  font-size: 14px; font-weight: 650;
}
.dot-live {
  width: 9px; height: 9px; border-radius: 999px; background: var(--muted-ink);
}
.open-now.is-open .dot-live { background: var(--brand-primary); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand-primary) 20%, transparent); }
.open-now.is-open { color: var(--brand-primary-deep); }
.open-now.is-closed .dot-live { background: var(--clay); }

.contact { list-style: none; display: flex; flex-direction: column; gap: 16px; }
.contact li { display: grid; grid-template-columns: 96px 1fr; gap: 12px; font-size: 15px; }
.c-label {
  font-size: 12px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--muted-ink); padding-top: 2px;
}
.contact a { color: var(--brand-primary-deep); font-weight: 600; }
.contact a:hover { text-decoration: underline; }

/* --------------------------------------------------------------- footer */
/* deep evergreen footer with cream type — One Medical's signature dark close. */
.foot { background: var(--brand-primary-deep); color: var(--cream); padding: 48px clamp(16px, 4vw, 34px); }
.foot-inner {
  max-width: var(--maxw); margin: 0 auto;
  display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between;
}
.foot-brand img { height: 32px; background: var(--cream); padding: 5px 9px; border-radius: 9px; }
.foot-brand p { margin-top: 14px; font-size: 13.5px; color: color-mix(in srgb, var(--cream) 62%, transparent); }
.foot-by { font-size: 13.5px; color: color-mix(in srgb, var(--cream) 66%, transparent); max-width: 30em; line-height: 1.6; }
.foot-by strong { color: var(--cream); }
.foot-by a { display: inline-block; margin-top: 6px; color: var(--cream); font-weight: 650; text-decoration: underline; text-underline-offset: 3px; }

/* ===================================================== doctor profile page */
.doc-page {
  max-width: var(--maxw); margin: 0 auto;
  padding: clamp(14px, 2.4vw, 24px) clamp(16px, 4vw, 34px) clamp(44px, 6vw, 80px);
}
.backlink {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 14px; font-weight: 650; color: var(--muted-ink); padding: 6px 0;
}
.backlink svg { width: 16px; height: 16px; }
.backlink:hover { color: var(--brand-primary-deep); }

.doc-hero {
  display: flex; gap: clamp(20px, 4vw, 44px); align-items: center;
  padding: clamp(14px, 2vw, 24px) 0 clamp(28px, 4vw, 46px);
}
.eyebrow {
  font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--brand-primary);
}
.dh-main h1 { font-size: clamp(32px, 4.4vw, 48px); margin-top: 8px; }
.dh-main .doc-quals { margin-top: 14px; }
.dh-clinic { margin-top: 14px; color: var(--muted-ink); font-size: 15.5px; }
.dh-clinic a { color: var(--brand-primary-deep); font-weight: 650; }
.dh-clinic a:hover { text-decoration: underline; }
.dh-main .hero-badges { margin-top: 20px; }

/* trust badges (doctor hero) */
.hero-badges { display: flex; flex-direction: column; gap: 9px; }
.hero-badges.row { flex-direction: row; flex-wrap: wrap; gap: 9px 18px; }
.hl { display: inline-flex; align-items: center; gap: 9px; font-size: 15px; font-weight: 600; }
.hl svg {
  width: 20px; height: 20px; flex: none; padding: 3px; border-radius: 999px;
  background: var(--tint-strong); color: var(--brand-primary-deep);
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

.doc-cols { display: grid; grid-template-columns: 1.55fr 1fr; gap: 20px; align-items: start; }

.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 26px 28px; box-shadow: var(--shadow-sm);
}
.card + .card { margin-top: 16px; }
.card h2 { font-family: var(--font-display); font-size: 23px; font-weight: 500; letter-spacing: -0.01em; }
.card h3 { font-family: var(--font-display); font-size: 19px; font-weight: 500; letter-spacing: -0.01em; }
.card-lede { margin-top: 12px; color: var(--muted-ink); font-size: 15.5px; }

.prefill-note {
  display: flex; gap: 10px; margin-top: 18px; padding: 14px 16px;
  border-radius: var(--radius-sm); background: var(--tint);
  color: var(--brand-primary-deep); font-size: 13.5px; line-height: 1.5;
}
.prefill-note svg { width: 16px; height: 16px; flex: none; margin-top: 2px; }
.prefill-note strong { font-weight: 750; }

.fact-list { list-style: none; margin-top: 16px; display: flex; flex-direction: column; gap: 11px; }
.fact-list li { position: relative; padding-left: 28px; font-size: 15px; }
.fact-list li::before {
  content: ""; position: absolute; left: 0; top: 4px;
  width: 18px; height: 18px; border-radius: 50%; background-color: var(--brand-primary);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fbf6ec' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  background-size: 11px; background-repeat: no-repeat; background-position: center;
}
.fact-list strong { font-weight: 700; }
.muted-note { margin-top: 16px; color: var(--muted-ink); font-size: 13px; }

.clinic-mini { display: block; margin: 4px 0 14px; }
.clinic-mini img { height: 32px; width: auto; }
.clinic-addr { color: var(--muted-ink); font-size: 14px; line-height: 1.5; }
.doc-col-side .open-now { margin-top: 14px; margin-bottom: 4px; }

.other-docs { display: flex; flex-direction: column; gap: 2px; margin-top: 10px; }
.mini-doc {
  display: flex; align-items: center; gap: 12px;
  padding: 9px; margin: 0 -9px; border-radius: 12px; transition: background .14s ease;
}
.mini-doc:hover { background: var(--tint); }
.mini-info { display: flex; flex-direction: column; min-width: 0; }
.mini-name { font-size: 14.5px; font-weight: 700; letter-spacing: -0.01em; }
.mini-q { font-size: 12px; color: var(--muted-ink); }

.source-note { margin-top: 16px; color: var(--muted-ink); font-size: 12.5px; text-align: center; }

/* primary booking panel on the doctor page — sticks in view while reading */
.book-doc {
  position: sticky; top: 86px;
  border-color: color-mix(in srgb, var(--brand-primary) 28%, var(--border));
}
.book-doc h3 { font-size: 21px; }
.book-doc .btn.block { margin-top: 16px; }

/* ===================================================== booking (the spine) */
/* deep evergreen colour-block with cream type + a cream button. */
.book-band {
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-primary-deep));
  color: var(--cream);
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.book-inner {
  max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: 1.25fr 0.95fr; gap: clamp(24px, 4vw, 60px);
  align-items: center;
  padding: clamp(44px, 5vw, 76px) clamp(16px, 4vw, 34px);
}
.book-eyebrow {
  font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: color-mix(in srgb, var(--cream) 76%, transparent); margin-bottom: 14px;
}
.book-copy h2 { font-size: clamp(30px, 3.8vw, 46px); line-height: 1.04; text-wrap: balance; }
.book-copy > p { margin-top: 16px; font-size: 17px; color: color-mix(in srgb, var(--cream) 88%, transparent); max-width: 34em; }
.book-points { list-style: none; margin-top: 24px; display: flex; flex-direction: column; gap: 12px; }
.book-points li { display: flex; align-items: center; gap: 10px; font-size: 15.5px; font-weight: 600; }
.book-points svg { width: 20px; height: 20px; flex: none; padding: 3px; border-radius: 999px; background: rgba(255, 255, 255, 0.18); }
.book-card {
  background: var(--surface); color: var(--ink);
  border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-md);
}
.book-card-h { font-family: var(--font-display); font-size: 23px; font-weight: 500; letter-spacing: -0.01em; }
.book-card .open-now { margin-top: 12px; margin-bottom: 2px; }
.book-online {
  display: flex; gap: 9px; margin-top: 18px;
  font-size: 13px; color: var(--muted-ink); line-height: 1.5;
}
.book-online svg { width: 15px; height: 15px; flex: none; margin-top: 2px; color: var(--brand-primary); }

/* sticky book bar — primary action always in reach (small screens) */
.book-sticky {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
  display: none; align-items: center; gap: 14px;
  padding: 10px clamp(14px, 4vw, 20px);
  background: color-mix(in srgb, var(--cream) 94%, transparent);
  backdrop-filter: saturate(1.4) blur(10px);
  border-top: 1px solid var(--border);
  box-shadow: 0 -6px 20px rgba(45, 34, 14, 0.08);
}
.bs-info { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.bs-info strong { font-size: 14px; font-weight: 750; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bs-info span { font-size: 12px; color: var(--muted-ink); }
.book-sticky .btn { margin-left: auto; }

/* ------------------------------------------------------------ responsive */
@media (max-width: 900px) {
  .doc-cols { grid-template-columns: 1fr; }
  .topnav { display: none; }
  .hb-search { display: none; }
  .pillars { grid-template-columns: 1fr; gap: 26px; max-width: 460px; }
  .offer-grid { grid-template-columns: 1fr 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .services-layout { grid-template-columns: 1fr; }
  .services-media { order: -1; }
  .svc-list { grid-template-columns: 1fr 1fr; }
  .book-inner { grid-template-columns: 1fr; }
  .book-doc { position: static; }
}
@media (max-width: 720px) {
  .book-sticky { display: flex; }
  body { padding-bottom: 70px; }
}
@media (max-width: 560px) {
  .offer-grid, .team-grid, .visit-grid, .svc-list { grid-template-columns: 1fr; }
  .topbar { gap: 12px; }
  .brand img { height: 30px; }
  .hb-loc { display: none; }
  .top-phone { display: none; }
  .doc-hero { flex-direction: column; align-items: flex-start; gap: 18px; }
  .doc-hero .avatar.lg { width: 88px; height: 88px; font-size: 30px; }
}
