/* ==================================================================
   BCB — About hub · "Why an IBCLC?" FAQ page CSS
   ------------------------------------------------------------------
   Page CSS for the IBCLC FAQ. Reuses the sitewide tokens
   (colors_and_type.css) + chrome (bcb-chrome.css). Defines every
   .faq-* component plus the page's reading primitives, all scoped to
   body.page-ibclc-faq so nothing bleeds into other pages.

   System: a warm-white hero (text + framed consult photo) over the
   sitewide v3 gradient, an "on this page" chip rail, then the ten
   questions split into FOUR grouped panels — each panel is a frosted
   card carrying a numbered section header and an accordion of
   <details> items. A single conversion card closes the read over the
   navy gradient base. Long answers (what-we-help-with, the visit
   walkthrough) lay their lists into compact two-column blocks.

   Tweakable: answer display (accordion / expanded), single-open
   accordion, hero photo, reading size — driven from the Tweaks panel
   via body classes + the --faq-scale custom property.

   Load order:  colors_and_type.css  →  bcb-chrome.css  →  ibclc-faq.css
   ================================================================== */

body.page-ibclc-faq {
  font-family: var(--font-sans);
  color: var(--navy-600);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  --faq-scale: 1;
}
body.page-ibclc-faq img { max-width: 100%; display: block; }

/* Anchor targets clear the fixed nav + hub-subnav strip. */
body.page-ibclc-faq [id] { scroll-margin-top: 150px; }

/* ─── Reading primitives (page-scoped) ─────────────────────────── */
body.page-ibclc-faq .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;
}
body.page-ibclc-faq .h-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(24px, 2.6vw, 34px);
  line-height: 1.14; letter-spacing: -0.02em;
  color: var(--navy-700);
  margin: 0;
  text-wrap: balance;
}
body.page-ibclc-faq .h-title em { font-style: normal; color: var(--pink-600); }

/* ══════════════════════════════════════════════════════════════
   HERO — text + a framed consult photo beside it
   ══════════════════════════════════════════════════════════════ */
.faq-hero {
  background: transparent;
  padding: clamp(24px, 3.4vw, 48px) 24px clamp(14px, 2.2vw, 22px);
}
.faq-hero__inner {
  max-width: 1180px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr;
  gap: clamp(28px, 4vw, 52px);
  align-items: center;
}
@media (min-width: 900px) {
  .faq-hero__inner { grid-template-columns: 1.08fr 0.92fr; }
}
@media (max-width: 899.98px) {
  /* Mobile spoke-hero format: centered single column, eyebrow -> H1 -> lede ->
     photo -> chips. display:contents flattens the text wrapper so the chip row
     drops below the photo (matches feeding-lactation-care). */
  .faq-hero__inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 0; }
  .faq-hero__text { display: contents; }
  .faq-hero__eyebrow { margin-bottom: 10px; }
  .faq-hero__h1 { margin-bottom: 12px; }
  .faq-hero__lede { margin-bottom: 18px; }
  .faq-hero__media { width: 100%; }
  .faq-hero__toc { order: 1; justify-content: center; margin-top: clamp(14px, 3vw, 18px); }
  .faq-toc__label { width: 100%; text-align: center; margin: 0 0 2px; }
}
.faq-hero__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 16px;
}
.faq-hero__h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(32px, 4.4vw, 56px);
  line-height: 1.06; letter-spacing: -0.023em;
  color: var(--pink-500);
  margin: 0;
  text-wrap: balance;
}
.faq-hero__h1 em { font-style: normal; color: var(--navy-600); }
.faq-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: 36em;
  text-wrap: pretty;
}
.faq-hero__media { position: relative; }
.faq-hero__photo {
  width: 100%;
  height: clamp(260px, 34vw, 400px);
  object-fit: cover;
  object-position: 50% 30%;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-photo);
}
.faq-hero__media::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: var(--radius-xl);
  box-shadow: inset 0 0 70px rgba(31,45,64,.14);
  pointer-events: none;
}

/* Photo OFF (tweak): center the text, drop the photo column. */
body.page-ibclc-faq.faq--no-photo .faq-hero__media { display: none; }
body.page-ibclc-faq.faq--no-photo .faq-hero__inner {
  grid-template-columns: 1fr; max-width: 860px; text-align: center;
}
body.page-ibclc-faq.faq--no-photo .faq-hero__lede { margin-left: auto; margin-right: auto; }
body.page-ibclc-faq.faq--no-photo .faq-hero__toc { justify-content: center; }

/* ─── On-this-page chip rail (lives inside the hero) ──────────── */
.faq-hero__toc {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 9px;
  margin-top: clamp(18px, 2.2vw, 24px);
}
.faq-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);
  /* Label sits ABOVE the chips at all widths (sitewide "Jump to" convention,
     2026-06-04 sweep). The toc is flex-wrap, so flex-basis:100% forces a row break. */
  flex-basis: 100%;
  margin: 0 0 8px;
}
.faq-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);
}
.faq-toc__chip:hover {
  background: #fff; color: var(--pink-600); border-color: var(--pink-200);
}

/* ══════════════════════════════════════════════════════════════
   INTRO — a single warm lead line under the hero
   ══════════════════════════════════════════════════════════════ */
.faq-intro {
  max-width: 860px;
  margin: clamp(8px, 1.4vw, 16px) auto 0;
  padding: clamp(20px, 2.6vw, 30px) clamp(22px, 4vw, 40px);
  background: rgba(255, 253, 251, 0.78);
  -webkit-backdrop-filter: blur(10px) saturate(112%);
  backdrop-filter: blur(10px) saturate(112%);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: var(--radius-xl);
  box-shadow: 0 1px 3px rgba(31,45,64,.05), 0 18px 48px -22px rgba(31,45,64,.2);
}
.faq-intro p {
  margin: 0;
  font-weight: 500;
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.62;
  color: var(--navy-600);
  text-wrap: pretty;
}
.faq-intro p + p { margin-top: 0.9em; }
.faq-intro strong { color: var(--navy-700); font-weight: 700; }

/* ══════════════════════════════════════════════════════════════
   FAQ GROUPS — four frosted panels, each a numbered section + accordion
   ══════════════════════════════════════════════════════════════ */
.faq-groups {
  max-width: 860px;
  margin: 0 auto;
  padding: clamp(28px, 4vw, 44px) 24px clamp(8px, 2vw, 16px);
  display: flex; flex-direction: column;
  gap: clamp(20px, 2.6vw, 30px);
}
.faq-group {
  background: rgba(255, 253, 251, 0.95);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: var(--radius-2xl);
  padding: clamp(24px, 3.2vw, 42px) clamp(22px, 3.4vw, 44px);
  box-shadow: 0 1px 3px rgba(31,45,64,.05), 0 22px 60px -22px rgba(31,45,64,.24);
}
.faq-group__head {
  display: flex; align-items: flex-start; gap: 16px;
  padding-bottom: clamp(6px, 1.2vw, 12px);
  margin-bottom: clamp(2px, 0.8vw, 6px);
}
.faq-group__num {
  flex: none;
  width: 44px; height: 44px;
  border-radius: var(--radius-pill);
  background: var(--pink-500);
  color: #fff;
  display: grid; place-items: center;
  font-family: var(--font-accent);
  font-weight: 800; font-size: 17px;
  box-shadow: 0 6px 16px -6px rgba(194,99,138,.6);
}
.faq-group__heading { margin: 0; padding-top: 3px; }
.faq-group__eyebrow {
  font-family: var(--font-accent);
  font-weight: 700; font-size: 12px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--pink-600);
  margin: 0 0 6px;
}
.faq-group__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.16; letter-spacing: -0.02em;
  color: var(--pink-500);
  margin: 0;
  text-wrap: balance;
}

/* ─── Accordion items ──────────────────────────────────────────── */
.faq-item { border-top: 1px solid rgba(62, 80, 104, 0.13); }
.faq-item:first-of-type { border-top: 0; }
.faq-q {
  list-style: none;
  cursor: pointer;
  display: flex; align-items: center; justify-content: space-between;
  gap: 18px;
  padding: clamp(15px, 1.7vw, 19px) 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: calc(clamp(16.5px, 1.35vw, 19.5px) * var(--faq-scale));
  line-height: 1.34;
  color: var(--navy-700);
  text-wrap: balance;
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q::after {
  content: "+";
  flex: none;
  width: 30px; height: 30px;
  border-radius: var(--radius-sm);
  background: var(--navy-500);
  color: #fff;
  display: grid; place-items: center;
  font-family: var(--font-sans); font-weight: 400; font-size: 21px; line-height: 1;
  transition: background var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out);
}
.faq-item[open] .faq-q { color: var(--pink-700); }
.faq-item[open] .faq-q::after { content: "\2013"; background: var(--pink-500); }
.faq-q:hover::after { background: var(--navy-600); }

/* Answer body */
.faq-a { padding: 0 0 clamp(18px, 2vw, 26px); }
.faq-a > *:first-child { margin-top: 0; }
.faq-a > *:last-child { margin-bottom: 0; }
.faq-a p {
  margin: 0 0 0.95em;
  max-width: 66ch;
  font-size: calc(clamp(15.5px, 1.05vw, 17px) * var(--faq-scale));
  line-height: 1.66;
  color: var(--navy-600);
  text-wrap: pretty;
}
.faq-a p:last-child { margin-bottom: 0; }
.faq-a em, .faq-a i { font-style: italic; color: var(--navy-700); }
.faq-a strong, .faq-a b { font-weight: 700; color: var(--navy-700); }

/* Sub-headers inside an answer */
.faq-a h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: calc(clamp(17px, 1.3vw, 20px) * var(--faq-scale));
  line-height: 1.25; letter-spacing: -0.01em;
  color: var(--navy-700);
  margin: 1.4em 0 0.5em;
}
.faq-a h4 {
  font-family: var(--font-accent);
  font-weight: 700;
  font-size: calc(clamp(13px, 1vw, 14px) * var(--faq-scale));
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--pink-600);
  margin: 1.3em 0 0.5em;
}

/* Links inside answers */
.faq-a a {
  color: var(--pink-600);
  text-decoration: none;
  border-bottom: 1px solid rgba(194, 99, 138, 0.3);
  padding-bottom: 1px;
  transition: color var(--dur-fast), border-color var(--dur-fast);
}
.faq-a a:hover { color: var(--pink-700); border-color: var(--pink-500); }

/* Diamond-bullet lists */
.faq-a ul {
  list-style: none;
  margin: 0.4em 0 0.95em;
  padding: 0;
  display: flex; flex-direction: column; gap: 9px;
}
.faq-a ul li {
  position: relative;
  padding-left: 24px;
  font-size: calc(clamp(15px, 1vw, 16.5px) * var(--faq-scale));
  line-height: 1.55;
  color: var(--navy-600);
}
.faq-a ul li::before {
  content: "";
  position: absolute;
  left: 3px; top: 0.62em;
  width: 7px; height: 7px;
  background: var(--pink-400);
  border-radius: 2px;
  transform: rotate(45deg);
}
.faq-a ul li a { border-bottom-width: 1px; }

/* Numbered ordered lists */
.faq-a ol {
  margin: 0.4em 0 0.95em;
  padding: 0;
  list-style: none;
  counter-reset: faqol;
  display: flex; flex-direction: column; gap: 9px;
}
.faq-a ol li {
  counter-increment: faqol;
  position: relative;
  padding-left: 34px;
  font-size: calc(clamp(15px, 1vw, 16.5px) * var(--faq-scale));
  line-height: 1.55;
  color: var(--navy-600);
}
.faq-a ol li::before {
  content: counter(faqol);
  position: absolute;
  left: 0; top: -0.05em;
  width: 22px; height: 22px;
  background: var(--sky-100);
  color: var(--navy-600);
  border-radius: var(--radius-pill);
  display: grid; place-items: center;
  font-family: var(--font-accent);
  font-weight: 800; font-size: 11.5px;
}

/* Compact two-column treatment for the long enumerations
   (what-we-help-with, what-a-visit-covers). */
.faq-a .faq-cols {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px 30px;
}
@media (min-width: 620px) {
  .faq-a .faq-cols { grid-template-columns: 1fr 1fr; }
}
.faq-a .faq-cols li { break-inside: avoid; }

/* A tinted "key fact" callout inside an answer (e.g. the trip fee, visit length) */
.faq-a .faq-note {
  margin: 0.6em 0 0.95em;
  padding: 14px 18px;
  background: var(--sky-50);
  border: 1px solid var(--sky-200);
  border-left: 3px solid var(--sky-600);
  border-radius: var(--radius-md);
  font-size: calc(clamp(15px, 1vw, 16.5px) * var(--faq-scale));
  line-height: 1.55;
  color: var(--navy-700);
}
.faq-a .faq-note strong { color: var(--navy-700); }

/* Definition list (insurance carriers) */
.faq-a dl { margin: 0.5em 0 0.95em; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.faq-a dl > div {
  padding: 12px 16px;
  background: rgba(255,255,255,0.7);
  border: 1px solid rgba(62,80,104,0.12);
  border-radius: var(--radius-md);
}
.faq-a dt {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: calc(clamp(15px, 1vw, 16.5px) * var(--faq-scale));
  color: var(--navy-700);
  margin: 0 0 3px;
}
.faq-a dd {
  margin: 0;
  font-size: calc(clamp(14px, 0.95vw, 15.5px) * var(--faq-scale));
  line-height: 1.55;
  color: var(--navy-600);
}

/* Stat row in the "how is BCB different" answer */
.faq-a .faq-stats {
  display: flex; flex-direction: column; gap: 14px; margin: 0.7em 0 0.95em; padding: 0; list-style: none;
}
@media (min-width: 560px) { .faq-a .faq-stats { flex-direction: row; } }
.faq-a .faq-stats li {
  flex: 1;
  padding: 16px 18px 18px;
  background: var(--pink-50);
  border: 1px solid var(--pink-100);
  border-radius: var(--radius-lg);
}
.faq-a .faq-stats li::before { display: none; }
.faq-a .faq-stats .faq-stat-num {
  display: block;
  font-family: var(--font-accent);
  font-weight: 800;
  font-size: calc(28px * var(--faq-scale));
  line-height: 1; letter-spacing: -0.01em;
  color: var(--pink-600);
  margin-bottom: 6px;
}
.faq-a .faq-stats .faq-stat-lbl {
  font-size: calc(13.5px * var(--faq-scale));
  line-height: 1.4;
  color: var(--navy-500);
}

/* ── Expanded mode (tweak): show every answer, soften the toggles ── */
body.page-ibclc-faq.faq--expanded .faq-q { cursor: default; }
body.page-ibclc-faq.faq--expanded .faq-q::after { opacity: 0.4; }

/* ══════════════════════════════════════════════════════════════
   CONVERSION — floating card on the navy gradient base
   ══════════════════════════════════════════════════════════════ */
.faq-cta { padding: clamp(20px, 3vw, 40px) 24px clamp(48px, 7vw, 80px); }
.faq-cta__inner {
  max-width: 660px; margin: 0 auto;
  text-align: center;
  background: var(--card-lift-bg);
  backdrop-filter: var(--card-lift-blur);
  -webkit-backdrop-filter: var(--card-lift-blur);
  border: 1px solid rgba(255,255,255,0.6);
  border-radius: var(--radius-xl);
  padding: clamp(30px, 4vw, 52px) clamp(24px, 4vw, 48px);
  box-shadow: 0 18px 50px -28px rgba(41,52,72,0.35);
}
.footer-ombre-blend { display: block; }  /* enable Case-A fade on ibclc-faq */
.faq-cta .eyebrow { color: var(--pink-600); }
.faq-cta__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.12; letter-spacing: -0.02em;
  color: var(--pink-500);
  margin: 0 0 14px;
  text-wrap: balance;
}
.faq-cta__body {
  margin: 0 auto;
  max-width: 46ch;
  font-size: clamp(16px, 1.1vw, 17.5px);
  line-height: 1.66;
  color: var(--navy-600);
  text-wrap: pretty;
}
.faq-cta__buttons {
  display: flex; flex-direction: column; gap: 10px;
  align-items: stretch;
  max-width: 380px; margin: clamp(22px, 2.6vw, 28px) auto 0;
}
.faq-cta__buttons .btn { width: 100%; }
.faq-cta__note {
  margin: 14px 0 0;
  font-size: 13.5px; line-height: 1.5;
  color: var(--navy-400);
}

/* ─── Mobile refinements ───────────────────────────────────────── */
@media (max-width: 700px) {
  .faq-group__head { gap: 12px; }
  .faq-group__num { width: 38px; height: 38px; font-size: 15px; }
}
