/* ============================================================
   00-interior-hero — shared compact page hero for ALL interior
   pages (About, What We Treat, Services, condition/service pages).
   Page fragments use these classes with their own content; do not
   duplicate these styles per page.
   ============================================================ */

.sec-00-inthero {
  position: relative;
  /* ::before below is a glow at right:-10%. Without clipping it widens the layout
     viewport on mobile (a 390px device rendered a 429px viewport, i.e. the whole page
     zoomed out with a dead gutter) on every interior page. overflow-x:clip contains it
     without creating a scroll container and without clipping the wave on the Y axis. */
  overflow-x: clip;
  display: flex;
  align-items: center;
  min-height: clamp(380px, 52vh, 560px);
  padding-top: calc(var(--nav-h) + clamp(2.5rem, 5vw, 4rem));
  padding-bottom: clamp(4rem, 9vw, 7rem); /* clears the wave */
}

/* Soft accent glow, echoes the home hero without the photo weight */
.sec-00-inthero::before {
  content: "";
  position: absolute;
  top: -20%;
  right: -10%;
  width: 55%;
  height: 120%;
  background: radial-gradient(circle at 65% 40%, var(--accent-glow), transparent 60%);
  filter: blur(70px);
  opacity: 0.55;
  pointer-events: none;
}

.sec-00-inthero__crumbs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  font-size: 0.82rem;
  color: var(--text-on-ink-dim);
}
.sec-00-inthero__crumbs a {
  color: inherit;
  text-decoration: none;
  transition: color 200ms var(--ease-out);
}
.sec-00-inthero__crumbs a:hover { color: var(--text-on-ink); }
.sec-00-inthero__crumbs [aria-current] { color: hsl(var(--accent-h) 70% 62%); }

.sec-00-inthero h1 {
  font-size: clamp(2.4rem, 1.4rem + 4.5vw, 4.5rem);
  max-width: 18ch;
}

/* Individual service and condition pages: the page title runs at half the
   interior-hero scale (every term of the clamp halved), so the long
   "X in Baldwin, NY" / condition headlines no longer dominate the banner. */
.sec-65-serv-hero h1,
.sec-55-cond-hero h1 {
  font-size: clamp(1.2rem, 0.7rem + 2.25vw, 2.25rem);
}

/* --wide-title: a short page title that should sit on one line on desktop
   (e.g. FAQ). Lifts the 18ch cap and trims the top of the scale just enough
   to fit the container; below desktop it wraps normally. */
.sec-00-inthero--wide-title h1 {
  max-width: none;
}
@media (min-width: 1024px) {
  .sec-00-inthero--wide-title h1 {
    font-size: clamp(2.4rem, 0.4rem + 3.6vw, 4rem);
  }
}

.sec-00-inthero__sub {
  margin-top: 1.25rem;
  max-width: 52ch;
  color: var(--text-on-ink-dim);
  font-size: var(--fs-body);
}

.sec-00-inthero__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem;
  margin-top: 2rem;
}

/* Small symptom/context chips usable in the meta row */
.sec-00-inthero__chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-pill);
  border: 1px solid hsl(0 0% 100% / 0.22);
  color: var(--text-on-ink-dim);
  font-size: 0.82rem;
  font-family: var(--font-display);
  font-weight: 600;
}

.sec-00-inthero__wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: clamp(36px, 5.5vw, 80px);
  pointer-events: none;
}

/* Every service/condition hero repeats the same orange "Talk to a Specialist"
   button, which piled on top of the orange used for the nav CTA, the main
   hero, and the booking/footer sections. White-with-dark-text keeps it
   readable against all four pastel variants (>15:1 contrast either way, well
   past WCAG AA/AAA) without adding yet another orange to the page. */
.sec-00-inthero .btn--solid {
  background: var(--white);
  color: var(--accent-on);
}
.sec-00-inthero .btn--solid:hover {
  background: var(--bone);
  box-shadow: 0 12px 32px hsl(0 0% 0% / 0.12);
}

/* --- Pastel variants ---
   The Services and What We Treat hero banners had no photo to soften the flat
   --ink background, which read as very dark; these swap in the client's
   pastel accent set (same four colors used as the condition-card tabs) and
   rotate a different one across each of those pages instead of one flat
   panel repeated everywhere. Pop text/icons flip to dark ink for contrast. */
/* Every interior hero is a light pastel panel with dark text; lavender is the
   default when a page sets no variant, so no hero ever falls back to --ink. */
.sec-00-inthero {
  background: var(--color-lavender);
  --text-on-ink: var(--accent-on);
  --text-on-ink-dim: hsl(30 15% 22%);
}
.sec-00-inthero--lavender { background: var(--color-lavender); }
.sec-00-inthero--green { background: var(--color-green); }
.sec-00-inthero--pink { background: var(--color-pink); }
.sec-00-inthero--yellow { background: var(--color-yellow); }

.sec-00-inthero h1, .sec-00-inthero h2, .sec-00-inthero h3, .sec-00-inthero h4 {
  color: var(--accent-on);
}
.sec-00-inthero .eyebrow {
  color: var(--accent-on);
}
.sec-00-inthero .eyebrow::before {
  background: var(--accent-on);
}
.sec-00-inthero .sec-00-inthero__crumbs [aria-current] {
  color: var(--accent-on);
}
.sec-00-inthero .sec-00-inthero__chip {
  border-color: hsl(0 0% 0% / 0.18);
}
