/* Framework Health · the six service pages and the Services menu
 *
 * Loaded after style.css by /services and the six pages under it, and by
 * nothing else. That is the whole point of it being its own file: the build
 * that added these pages was scoped to /services and the pages themselves, so
 * nothing in here may change how any other page looks, and a rule that only
 * exists in a file the homepage never loads cannot. Everything the pages share
 * with the rest of the site (the video hero, the two-column sections, the
 * homepage's service cards, the consultation panel, the footer) comes from
 * style.css unchanged; this file only adds what those classes do not cover.
 */

/* ---------- Services menu ----------
 * The trigger is a real link to /services in the markup, so with no script it
 * simply goes to the hub. service-nav.js turns it into a disclosure button that
 * opens the six pages. The menu links are plain anchors in the HTML either way,
 * so a crawler reads all six whether or not it runs JavaScript.
 * It opens on click, tap, Enter or Space and never on hover alone: a hover menu
 * cannot be opened on a phone and snaps shut under a trackpad.
 * The homepage carries a copy of this section inline in index.html (so it needs
 * no extra request); change both together. */
.navdrop{position:relative;display:inline-flex}
.navlinks .navdrop-t{gap:5px}
.navdrop-t svg{transition:transform .18s ease}
.navdrop-t[aria-expanded="true"] svg{transform:rotate(180deg)}
.navdrop-menu{position:absolute;top:calc(100% + 4px);left:-14px;z-index:99;min-width:292px;
  display:flex;flex-direction:column;background:var(--card);border:1px solid var(--line);
  border-radius:14px;box-shadow:var(--sh-menu);padding:8px}
.navdrop-menu[hidden]{display:none}
.navlinks .navdrop-menu a{padding:11px 12px;border-radius:9px;font-size:14.5px;color:var(--ink-2);min-height:44px}
.navlinks .navdrop-menu a:hover,.navlinks .navdrop-menu a:focus-visible{background:var(--sage-tint);color:var(--sage-deep)}
.navlinks .navdrop-menu a[aria-current="page"]{color:var(--sage);font-weight:600}
.navlinks .navdrop-menu a.all{border-top:1px solid var(--line);border-radius:0 0 9px 9px;margin-top:4px;padding-top:13px;font-weight:600;color:var(--sage)}
/* Over the video the nav's links are white, and that rule (four classes, three
 * elements) would paint the menu's links white on the white panel. Naming the
 * menu once more is what keeps them readable. */
body.vhero-top nav.main:not(.solid) .navlinks .navdrop-menu a{color:var(--ink-2)}
body.vhero-top nav.main:not(.solid) .navlinks .navdrop-menu a:hover{color:var(--sage-deep)}
body.vhero-top nav.main:not(.solid) .navlinks .navdrop-menu a[aria-current="page"],
body.vhero-top nav.main:not(.solid) .navlinks .navdrop-menu a.all{color:var(--sage)}

/* Inside the phone menu the list opens in place, indented under Services,
 * rather than as a floating panel on top of a panel. */
@media(max-width:960px){
  nav.main.open .navdrop{display:flex;flex-direction:column;align-items:stretch}
  nav.main.open .navdrop-t{justify-content:space-between}
  nav.main.open .navdrop-menu{position:static;min-width:0;box-shadow:none;border:0;border-radius:0;
    padding:0 0 6px 14px;background:transparent}
  nav.main.open .navlinks .navdrop-menu a{border-radius:0;font-size:15px}
  nav.main.open .navlinks .navdrop-menu a.all{border-radius:0;margin-top:0}
}

/* ---------- Breadcrumb ---------- */
.crumbs{border-bottom:1px solid var(--line);background:var(--paper)}
.crumbs ol{list-style:none;display:flex;flex-wrap:wrap;gap:4px 0;padding:14px 0;font-size:13px;color:var(--ink-3)}
.crumbs li{display:flex;align-items:center}
.crumbs li+li::before{content:"\203A";margin:0 9px;color:var(--ink-3)}
.crumbs a{color:var(--ink-2);text-decoration:none;display:inline-flex;align-items:center;min-height:24px}
.crumbs a:hover{color:var(--sage);text-decoration:underline}
.crumbs [aria-current="page"]{color:var(--ink)}

/* ---------- Facts strip ----------
 * Four short structured facts in the plain words people search with. minmax(0,1fr)
 * rather than 1fr, because a 1fr track will not shrink below its longest word and
 * that is exactly how a tablet width ends up scrolling sideways. */
.svc-facts-sec{padding:0;background:var(--soft);border-bottom:1px solid var(--line)}
.svc-facts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0}
.svc-facts>div{padding:22px 20px;border-left:1px solid var(--line)}
.svc-facts>div:first-child{border-left:0;padding-left:0}
.svc-facts dt{font-size:11.5px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--sage-deep);margin-bottom:6px}
/* On the tinted band (--soft) the site's --sage-2 eyebrow measures 4.29:1, under the
 * 4.5:1 AA floor for text this small (Lighthouse, 24 Sep 2026). The service pages
 * use the deeper sage there instead. Scoped to .svc-page so /services is unchanged. */
.svc-page .svc-detail.alt .eyebrow{color:var(--sage-deep)}
.svc-facts dd{font-size:14.5px;color:var(--ink);line-height:1.5}
.svc-facts dd a{color:var(--ink);text-decoration:none;display:inline-flex;align-items:center;min-height:44px;margin:-12px 0}
.svc-facts dd a:hover{color:var(--sage)}
@media(max-width:880px){
  .svc-facts{grid-template-columns:repeat(2,minmax(0,1fr))}
  .svc-facts>div:nth-child(odd){border-left:0;padding-left:0}
  .svc-facts>div:nth-child(n+3){border-top:1px solid var(--line)}
}
@media(max-width:480px){
  .svc-facts{grid-template-columns:minmax(0,1fr)}
  .svc-facts>div{border-left:0;padding:16px 0}
  .svc-facts>div+div{border-top:1px solid var(--line)}
}

/* ---------- Sections ----------
 * The pages reuse .svc-detail from /services as it is. Two small additions: a
 * list of symptoms or items inside a section, and the included-in-membership
 * note the practice asked to be unmissable, carried over from the homepage. */
.svc-detail .body ul.svc-points{margin:4px 0 14px}
.svc-detail .body p+ul{margin-top:2px}
.svc-detail .body ul+p{margin-top:14px}
.svc-note{background:var(--card);border:1px solid var(--sage-line);border-left:4px solid var(--sage);
  border-radius:12px;padding:14px 18px;margin:0 0 16px;font-size:14.5px;color:var(--ink-2)}
.svc-note b{color:var(--ink)}
.svc-detail .body a{text-underline-offset:2px}
/* Source markers: a small superscript link to the numbered list at the foot of
 * the page, the way the practice's own articles cite. */
.svc-detail .body sup{font-size:.7em;line-height:0;margin-left:1px}
.svc-detail .body sup a{text-decoration:none;font-weight:600;padding:0 1px}

/* The Learn more link each /services section gains. Same size, weight, colour
 * and literal arrow as the homepage cards' own "Learn more" so it reads as the
 * site's existing idiom, not an addition. */
.svc-more{display:inline-flex;align-items:center;min-height:44px;margin-top:6px;font-size:13.5px;font-weight:600;
  color:var(--sage);text-decoration:none}
.svc-more:hover{color:var(--sage-hover);text-decoration:underline;text-underline-offset:3px}
.svc-more+.svc-more{margin-left:22px}
@media(max-width:600px){.svc-more+.svc-more{margin-left:0}.svc-detail .body .svc-more{display:flex}}

/* ---------- Related care ---------- */
.svc-related .sec-head{margin-bottom:26px}
.svc-related .svc-grid+.sec-head{margin-top:44px}
.svc .kind{font-size:11px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--sage-2)}

/* ---------- Sources ---------- */
.svc-refs-sec{padding:40px 0 48px;border-top:1px solid var(--line)}
.svc-refs-sec h2{font-size:clamp(20px,2.6vw,24px);margin-bottom:12px}
.svc-refs{padding-left:20px;max-width:860px}
.svc-refs li{font-size:13.5px;color:var(--ink-2);margin-bottom:8px;line-height:1.55;scroll-margin-top:110px}
.svc-refs a{color:var(--sage);overflow-wrap:anywhere}
.svc-refs-sec .fine{font-size:12.5px;color:var(--ink-3);margin-top:14px;max-width:860px}
