/* ==================================================================
   BCB — "Home Visits" page CSS
   ------------------------------------------------------------------
   A standalone Locations-hub page for in-home lactation visits. No
   office to tour, so the page leans on warm real-family photography +
   "what to expect when we come to you", a service-area panel, the
   trip-fee disclosure (sanctioned terracotta note), and a link to the
   home-visit safety acknowledgment.

   Ported from the claude.ai/design handoff (design-references/
   home-visits.css). Changes from the prototype:
   - Body scope rescoped page-homevisits -> page-home-visits
     (matches the WP slug-driven body class).
   - Photo-frame shadow uses the sitewide token var(--shadow-photo).
   - Baked-in defaults: shadow frames, chip service-area layout. The
     prototype tweak hooks (.hv--ring / .hv--area-cols) are dropped.

   Load order:  colors_and_type.css -> nav.css -> home-visits.css
   ================================================================== */

body.page-home-visits {
  font-family: var(--font-sans);
  color: var(--navy-600);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  /* Navy-ending page ombre, SCROLL-attached (the `background` shorthand resets
     the sitewide `background-attachment: fixed`). This anchors the navy
     (#1F2D40 at 100%) to the PAGE bottom so it meets the footer cleanly and
     does not shift while scrolling -- same pattern as the location pages
     (body.lp-bg). DEPLOYED 2026-06-04. NOTE: do NOT roll this to other pages
     yet -- Suzanne is refining the approach with claude.ai/design (backlog). */
  background: var(--grad-page-v3) no-repeat;
  background-attachment: fixed;  /* scroll override RETIRED 2026-06-05 — footer dissolve now via the Case-A global ombré blend (opt-in in footer.css) */
}
body.page-home-visits img { max-width: 100%; display: block; }
body.page-home-visits [id] { scroll-margin-top: 150px; }

/* ─── Reading primitives ───────────────────────────────────────── */
body.page-home-visits .hv-sec { padding: clamp(40px, 5.4vw, 72px) 24px; background: transparent; }
body.page-home-visits .hv-sec--sm { padding: clamp(28px, 3.6vw, 48px) 24px; }
body.page-home-visits .hv-inner { max-width: 1180px; margin: 0 auto; }
body.page-home-visits .hv-inner--prose { max-width: 760px; margin: 0 auto; }

.hv-eyebrow {
  font-family: var(--font-accent);
  font-weight: 700; font-size: 13px;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--pink-600);
  margin: 0 0 14px;
}
.hv-h {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(25px, 2.9vw, 36px);
  line-height: 1.13; letter-spacing: -0.02em;
  color: var(--navy-700);
  margin: 0 0 16px;
  text-wrap: balance;
}
.hv-h em { font-style: normal; color: var(--pink-600); }
.hv-body {
  font-size: clamp(16px, 1.05vw, 17.5px);
  line-height: 1.72;
  color: var(--navy-600);
  margin: 0;
  text-wrap: pretty;
}
.hv-body + .hv-body { margin-top: 1.05em; }
.hv-body strong { color: var(--navy-700); font-weight: 700; }
.hv-body a, .hv-prose a {
  color: var(--pink-600); text-decoration: none;
  border-bottom: 1px solid rgba(194,99,138,.3); padding-bottom: 1px;
  transition: color var(--dur-fast), border-color var(--dur-fast);
}
.hv-body a:hover, .hv-prose a:hover { color: var(--pink-700); border-color: var(--pink-500); }

/* ─── Photo frame + caption ────────────────────────────────────── */
.hv-frame { margin: 0; position: relative; }
.hv-frame img {
  width: 100%;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-photo);
}
.hv-cap {
  margin: 11px 2px 0;
  font-family: var(--font-mono);
  font-size: 12px; letter-spacing: 0.01em; line-height: 1.5;
  color: var(--navy-400);
  display: flex; align-items: center; gap: 7px;
}
.hv-cap::before {
  content: ""; width: 6px; height: 6px; flex: none;
  border-radius: 1.5px; transform: rotate(45deg); background: var(--pink-400);
}

/* ══════════════════════════════════════════════════════════════
   HERO
   ══════════════════════════════════════════════════════════════ */
.hv-hero { background: transparent; padding: clamp(22px, 3.4vw, 44px) 24px clamp(14px, 2.2vw, 26px); }
.hv-hero__inner {
  max-width: 1180px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr; gap: clamp(26px, 4vw, 52px);
  align-items: center;
}
@media (min-width: 920px) { .hv-hero__inner { grid-template-columns: 1.02fr 0.98fr; } }
.hv-hero__h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(33px, 4.6vw, 58px);
  line-height: 1.05; letter-spacing: -0.024em;
  color: var(--pink-500); margin: 0; text-wrap: balance;
}
.hv-hero__h1 em { font-style: normal; color: var(--navy-700); }
.hv-hero__lede {
  font-weight: 500; font-size: clamp(16.5px, 1.4vw, 20px);
  line-height: 1.6; color: var(--navy-600);
  margin: clamp(18px, 2vw, 26px) 0 0; max-width: 38em; text-wrap: pretty;
}
.hv-hero__media { position: relative; }
.hv-hero__media .hv-frame img {
  height: clamp(280px, 40vw, 460px);
  object-fit: cover; object-position: 50% 42%;
}

/* On-this-page chips */
.hv-toc { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; margin-top: clamp(18px, 2.2vw, 26px); }
.hv-toc__label {
  font-family: var(--font-accent); font-weight: 700; font-size: 11.5px;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--navy-400);
  flex-basis: 100%; margin: 0 0 8px;
}
.hv-toc__chip {
  font-family: var(--font-sans); font-weight: 600; font-size: 13.5px;
  color: var(--navy-600); text-decoration: none;
  padding: 9px 16px; border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.62);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border: 1px solid rgba(62, 80, 104, 0.14); white-space: nowrap;
  transition: background var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out);
}
.hv-toc__chip:hover { background: #fff; color: var(--pink-600); border-color: var(--pink-200); }

/* ══════════════════════════════════════════════════════════════
   INTRO + FEELING POINTS
   ══════════════════════════════════════════════════════════════ */
.hv-intro { text-align: center; padding-bottom: clamp(8px, 1.4vw, 16px); }
.hv-intro .hv-lead {
  margin: 0 auto; max-width: 42ch;
  font-weight: 500; font-size: clamp(18px, 1.7vw, 23px);
  line-height: 1.5; color: var(--navy-700); text-wrap: balance;
}
.hv-intro .hv-lead em { font-style: normal; color: var(--pink-600); }
.hv-points { margin-top: clamp(28px, 3.4vw, 44px); display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .hv-points { grid-template-columns: repeat(3, 1fr); } }
.hv-point {
  background: var(--card-lift-bg);
  -webkit-backdrop-filter: var(--card-lift-blur); backdrop-filter: var(--card-lift-blur);
  box-shadow: var(--shadow-card-lift);
  border: 1px solid rgba(255,255,255,.6);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 2.2vw, 26px);
}
.hv-point__ic {
  width: 42px; height: 42px; border-radius: var(--radius-pill);
  display: grid; place-items: center; background: var(--pink-50); color: var(--pink-600);
  margin-bottom: 14px;
}
.hv-point__ic svg { width: 22px; height: 22px; display: block; }
.hv-point h3 { font-family: var(--font-display); font-weight: 700; font-size: 18px; line-height: 1.25; color: var(--navy-700); margin: 0 0 7px; }
.hv-point p { margin: 0; font-size: 14.5px; line-height: 1.6; color: var(--navy-500); }

/* ══════════════════════════════════════════════════════════════
   WALK-THROUGH — alternating photo / copy rows
   ══════════════════════════════════════════════════════════════ */
.hv-spaces { display: flex; flex-direction: column; gap: clamp(40px, 5.4vw, 76px); }
.hv-space { display: grid; grid-template-columns: 1fr; gap: clamp(22px, 3vw, 46px); align-items: center; }
@media (min-width: 900px) {
  .hv-space { grid-template-columns: 1fr 1fr; }
  .hv-space--flip .hv-space__media { order: 2; }
  .hv-space--flip .hv-space__text  { order: 1; }
}
.hv-space__num { font-family: var(--font-accent); font-weight: 800; font-size: 13px; letter-spacing: 0.12em; color: var(--pink-400); margin: 0 0 10px; }
.hv-space__eyebrow { font-family: var(--font-accent); font-weight: 700; font-size: 12.5px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--pink-600); margin: 0 0 10px; }
.hv-space__text .hv-h { font-size: clamp(23px, 2.6vw, 33px); }
.hv-space__media .hv-frame img { aspect-ratio: 3 / 2; object-fit: cover; }
.hv-space__media .hv-frame--tall img { aspect-ratio: 4 / 5; }

.hv-flags { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.hv-flags li { position: relative; padding-left: 26px; font-size: 15.5px; line-height: 1.55; color: var(--navy-600); }
.hv-flags li::before { content: ""; position: absolute; left: 4px; top: 0.55em; width: 8px; height: 8px; background: var(--pink-400); border-radius: 2px; transform: rotate(45deg); }
.hv-flags li strong { color: var(--navy-700); font-weight: 700; }

/* ══════════════════════════════════════════════════════════════
   SERVICE AREA — frosted panel, chips (baked default)
   ══════════════════════════════════════════════════════════════ */
.hv-area__sheet {
  max-width: 1000px; margin: 0 auto;
  background: rgba(255, 253, 251, 0.86);
  -webkit-backdrop-filter: blur(10px) saturate(110%); backdrop-filter: blur(10px) saturate(110%);
  border: 1px solid rgba(255,255,255,.6);
  border-radius: var(--radius-2xl);
  padding: clamp(28px, 4vw, 52px) clamp(22px, 4vw, 52px);
  box-shadow: 0 1px 3px rgba(31,45,64,.05), 0 22px 60px -22px rgba(31,45,64,.24);
}
.hv-area__head { max-width: 640px; margin-bottom: clamp(22px, 2.6vw, 30px); }
.hv-area__sub { font-family: var(--font-accent); font-weight: 700; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--navy-400); margin: 0 0 12px; }
.hv-chips { display: flex; flex-wrap: wrap; gap: 9px; padding: 0; margin: 0; }
.hv-chips li {
  list-style: none;
  font-weight: 600; font-size: 14.5px; color: var(--navy-600);
  padding: 9px 16px; border-radius: var(--radius-pill);
  background: #fff; border: 1px solid rgba(62, 80, 104, 0.14);
}
.hv-chips li.hv-chip--star { background: var(--pink-50); border-color: var(--pink-200); color: var(--pink-700); font-weight: 700; }
.hv-area__note { margin: clamp(18px, 2.2vw, 24px) 0 0; font-size: 14.5px; line-height: 1.6; color: var(--navy-500); }
.hv-area__note a { color: var(--pink-600); text-decoration: none; border-bottom: 1px solid rgba(194,99,138,.3); padding-bottom: 1px; }
.hv-area__note a:hover { color: var(--pink-700); border-color: var(--pink-500); }
.hv-area__offices { margin-top: clamp(18px, 2vw, 22px); padding-top: clamp(18px, 2vw, 22px); border-top: 1px solid rgba(62,80,104,.12); }

/* ══════════════════════════════════════════════════════════════
   TRIP-FEE NOTE — sanctioned terracotta disclosure callout
   ══════════════════════════════════════════════════════════════ */
.hv-note {
  max-width: 760px; margin: 0 auto;
  background: var(--note-bg);
  border: 1px solid var(--note-border);
  border-left: 4px solid var(--note-accent);
  border-radius: var(--radius-lg);
  padding: clamp(22px, 3vw, 32px);
}
.hv-note__label {
  font-family: var(--font-accent); font-weight: 700; font-size: 12px;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--note-accent);
  display: flex; align-items: center; gap: 9px; margin: 0 0 12px;
}
.hv-note__label::before {
  content: ""; width: 16px; height: 16px; border-radius: var(--radius-pill); background: var(--note-accent);
  -webkit-mask: no-repeat center / 11px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round'%3E%3Cline x1='12' y1='8' x2='12' y2='13'/%3E%3Cline x1='12' y1='17' x2='12.01' y2='17'/%3E%3C/svg%3E");
          mask: no-repeat center / 11px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round'%3E%3Cline x1='12' y1='8' x2='12' y2='13'/%3E%3Cline x1='12' y1='17' x2='12.01' y2='17'/%3E%3C/svg%3E");
}
.hv-note p { margin: 0; font-size: clamp(15px, 1vw, 16.5px); line-height: 1.65; color: var(--navy-600); }
.hv-note p + p { margin-top: 0.8em; }
.hv-note a { color: var(--note-accent); text-decoration: none; border-bottom: 1px solid rgba(185,99,68,.35); padding-bottom: 1px; }
.hv-note a:hover { border-color: var(--note-accent); }

/* ══════════════════════════════════════════════════════════════
   SAFETY FORM — clean card with link button
   ══════════════════════════════════════════════════════════════ */
.hv-form {
  max-width: 760px; margin: 0 auto;
  display: flex; flex-wrap: wrap; align-items: center; gap: 18px 24px;
  background: var(--card-lift-bg);
  -webkit-backdrop-filter: var(--card-lift-blur); backdrop-filter: var(--card-lift-blur);
  border: 1px solid rgba(255,255,255,.6);
  border-radius: var(--radius-xl);
  padding: clamp(22px, 3vw, 30px);
  box-shadow: var(--shadow-card-lift);
}
.hv-form__text { flex: 1 1 320px; }
.hv-form__text h3 { font-family: var(--font-display); font-weight: 700; font-size: clamp(18px, 1.6vw, 21px); color: var(--navy-700); margin: 0 0 6px; }
.hv-form__text p { margin: 0; font-size: 14.5px; line-height: 1.6; color: var(--navy-500); }
.hv-form .btn { flex: 0 0 auto; }

/* ══════════════════════════════════════════════════════════════
   CTA
   ══════════════════════════════════════════════════════════════ */
.hv-cta { padding: clamp(18px, 2.4vw, 32px) 24px clamp(48px, 6vw, 80px); }
.hv-cta__inner {
  max-width: 680px; margin: 0 auto; text-align: center;
  background: #fff; border-radius: var(--radius-xl);
  padding: clamp(32px, 4vw, 54px) clamp(24px, 4vw, 48px);
  box-shadow: 0 1px 3px rgba(31,45,64,.08), 0 26px 60px -20px rgba(31,45,64,.4);
}
.hv-cta__title { font-family: var(--font-display); font-weight: 800; font-size: clamp(26px, 3vw, 40px); line-height: 1.12; letter-spacing: -0.02em; color: var(--pink-500); margin: 0 0 14px; text-wrap: balance; }
.hv-cta__body { margin: 0 auto; max-width: 48ch; font-size: clamp(16px, 1.05vw, 17.5px); line-height: 1.65; color: var(--navy-600); }
.hv-cta__buttons { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin: clamp(24px, 2.8vw, 32px) auto 0; }
.hv-cta__note { margin: 18px 0 0; font-size: 13.5px; color: var(--navy-400); }
.hv-cta__note a { color: var(--pink-600); text-decoration: none; border-bottom: 1px solid rgba(194,99,138,.3); padding-bottom: 1px; }
.hv-cta__note a:hover { color: var(--pink-700); border-color: var(--pink-500); }

@media (max-width: 700px) {
  .hv-toc__label { width: 100%; margin-bottom: 2px; }
}

/* ── QA 2026-06-15 (Suzanne QA – Location Pages) ──
   Remove the numbered section badges (01–03) and the captions under photos. */
.hv-space__num,
.hv-cap { display: none; }
