/*
  HiS Health Center - Shared Site Stylesheet
  Single file, no build step, no frameworks.
  Tokens: Midnight Navy #0E2436, Graphite #2E3438, Mist White #E7EAEC,
  Logo Green #B2D589, Logo Blue #8AC6E3, Brushed Gold #C6A15B (rare accent).
*/

:root {
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-fast: 200ms;
  --dur-base: 400ms;
  --dur-slow: 500ms;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Manrope', -apple-system, 'Helvetica Neue', Arial, sans-serif;
  background: #0E2436;
  color: #E7EAEC;
}

/* Whole-page brand background: opted into per page (home, contact) via a
   body class, rather than applied globally, so interior pages keep their
   existing solid-navy look. background-attachment is fixed on desktop and
   switches to scroll on mobile, since iOS Safari handles fixed backgrounds
   poorly. The gradient is intentionally close to solid navy so body text
   keeps AA contrast; the photo shows through as texture, not a bright scene. */
body.page-bg-brand { background-color: #0E2436; }
/* Same look as the launch page on hishealthcenter.com: the brand artwork
   stays pinned to the viewport (shapes in the corners, blue glow in the
   middle) while the page scrolls over it. A fixed layer is used instead of
   background-attachment: fixed, which iOS Safari handles poorly. Only a
   light navy tint sits on top, enough to keep body text readable. */
body.page-bg-brand::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(14,36,54,0.22) 0%, rgba(14,36,54,0.34) 100%),
    #0E2436 url('/assets/brand-bg.jpg') center center / cover no-repeat;
}
@media (max-width: 760px) {
  body.page-bg-brand::before {
    background:
      linear-gradient(180deg, rgba(14,36,54,0.22) 0%, rgba(14,36,54,0.34) 100%),
      #0E2436 url('/assets/brand-bg-tall.jpg') center center / cover no-repeat;
  }
}

/* On pages with the whole-page background, bands that used to carry their
   own copy of brand-bg.jpg become solid-ish panels instead (so the image
   doesn't visibly repeat or mismatch crop against the body layer beneath). */
.page-bg-brand .care-model,
.page-bg-brand .cta-band {
  background-image: none;
}
.page-bg-brand .care-model,
.page-bg-brand .cta-band {
  background-color: rgba(9,26,40,0.6);
}
.page-bg-brand .care-model::before,
.page-bg-brand .cta-band::before {
  display: none;
}
a { color: inherit; }
img { max-width: 100%; display: block; }
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px;
}
.eyebrow {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #8AC6E3;
}

/* Focus states (accessibility) */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 2px solid #8AC6E3;
  outline-offset: 2px;
}

/* Buttons */
.btn {
  display: inline-block;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 6px;
  padding: 16px 32px;
  border: none;
  cursor: pointer;
  white-space: nowrap;
}
.btn-primary { background: #B2D589; color: #0E2436; transition: background-color var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out); }
.btn-primary:hover { background: #8FB566; transform: translateY(-1px); }
.btn-secondary {
  background: transparent;
  color: #E7EAEC;
  border: 1.5px solid #E7EAEC;
  padding: 14.5px 32px;
  transition: background-color var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out);
}
.btn-secondary:hover { background: rgba(231,234,236,0.08); transform: translateY(-1px); }
.btn-sm { padding: 11px 22px; font-size: 12px; }

/* Header */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(14,36,54,0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(231,234,236,0.1);
  transition: background-color var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
}
header.is-scrolled {
  background: rgba(14,36,54,0.98);
  box-shadow: 0 4px 20px rgba(0,0,0,0.28);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 18px;
  gap: 24px;
  position: relative;
}
.logo { flex-shrink: 0; }
.logo img { width: 200px; height: auto; }
nav { display: flex; gap: 36px; }
nav a {
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  color: rgba(231,234,236,0.85);
}
nav a:hover, nav a[aria-current="page"] { color: #E7EAEC; }
.header-cta { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }

/* Mobile nav toggle (hamburger). Hidden on desktop; shown under 900px
   where the wider logo + 5 nav items + call button no longer fit inline. */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  background: transparent;
  border: 1.5px solid rgba(231,234,236,0.3);
  border-radius: 6px;
  cursor: pointer;
  padding: 0;
}
.nav-toggle-bar {
  display: block;
  width: 18px;
  height: 2px;
  background: #E7EAEC;
  border-radius: 2px;
  transition: transform var(--dur-fast) var(--ease-out), opacity var(--dur-fast) var(--ease-out);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero (home) - full-bleed entrance photo, edge to edge, with the text
   block blended over a LIGHT gradient (Mist White, not navy) so the wall
   in the photo reads bright and the copy sits in navy-on-light instead
   of white-on-dark. */
.hero {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 0;
  min-height: min(34vw, 640px);
  background: #0A1B2A;
}
/* The photo and its light overlay live on slide 1 (not on .hero) so they
   travel with the slide when the carousel moves sideways. */
.hero-slide-main {
  /* Same recipe as slide 2: the photo keeps its full height at the right
     edge with NO veil over it, and a mist-white scrim covers only the left
     side, behind the copy. */
  background-color: #E7EAEC;
  background-image:
    linear-gradient(90deg, #E7EAEC 0%, #E7EAEC 44%, rgba(231,234,236,0.85) 52%, rgba(231,234,236,0) 64%),
    url('/assets/hero-phillip.jpg');
  background-size: 100% 100%, auto 100%;
  background-position: center, right center;
  background-repeat: no-repeat;
}
/* Only used at <=900px, where it becomes the photo band across the top. */
.hero-slide-main::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: none;
}
.hero > .container { width: 100%; }
.hero-inner { position: relative; z-index: 1; max-width: 620px; }
.hero-logo { display: block; width: 100%; max-width: 520px; height: auto; }
.hero h1.display { margin-bottom: 22px; font-size: 0; line-height: 0; }
.hero .eyebrow { margin-bottom: 20px; font-size: 15px; color: #1F5A7A; }
h1.display {
  font-weight: 800;
  font-size: 44px;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 18px;
}
.hero-subline {
  font-weight: 600;
  font-size: 17px;
  color: #0E2436;
  margin-bottom: 20px;
}
.hero-para {
  font-size: 16px;
  line-height: 1.6;
  color: rgba(14,36,54,0.8);
  max-width: 520px;
  margin-bottom: 36px;
}
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }
/* Secondary CTA reads white-on-transparent by default (for dark sections);
   on the light hero it needs to flip to navy-on-transparent. */
.hero .btn-secondary {
  color: #0E2436;
  border-color: #0E2436;
}
.hero .btn-secondary:hover {
  background: #0E2436;
  color: #E7EAEC;
}

/* Hero slider. Slides stack in ONE grid cell so the track is as tall as the
   tallest slide and nothing jumps when they swap. Without JS only slide 1
   shows; site.js adds .js-carousel to enable the stack and the sideways
   slide (site.js sets the start/end translateX for each move). */
.hero-track { display: grid; flex: 1; }
.hero-slide {
  grid-area: 1 / 1;
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  padding: 64px 0 84px;
}
.hero-slide > .container { position: relative; z-index: 1; width: 100%; }
.hero:not(.js-carousel) .hero-slide-promo { display: none; }
.hero.js-carousel .hero-slide {
  visibility: hidden;
  transition: transform 700ms cubic-bezier(0.65, 0, 0.35, 1), visibility 0s linear 700ms;
}
.hero.js-carousel .hero-slide.is-active {
  visibility: visible;
  transition: transform 700ms cubic-bezier(0.65, 0, 0.35, 1), visibility 0s;
}
@media (prefers-reduced-motion: reduce) {
  .hero.js-carousel .hero-slide,
  .hero.js-carousel .hero-slide.is-active { transition: none; }
}

/* Slide 2: IV Hydration promo, flyer-style copy over a LIGHT photo of the
   IV room. The photo keeps its full height and sits at the right edge; a
   warm-white scrim (matched to the wall in the photo) covers the left so
   the navy copy stays readable and the photo's left edge never shows. */
.hero-slide-promo {
  align-items: center;
  padding: 36px 0 70px;
  background-color: #F3EEE5;
  background-image:
    linear-gradient(90deg, #F3EEE5 0%, #F3EEE5 46%, rgba(243,238,229,0.86) 56%, rgba(243,238,229,0) 70%),
    url('/assets/iv-room.jpg');
  background-size: 100% 100%, auto 100%;
  background-position: center, right center;
  background-repeat: no-repeat;
  color: #0E2436;
}
.hero-slide-promo .hero-shapes .sh-r { display: none; }
.promo-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  align-items: center;
  gap: 32px;
  position: relative;
}
.promo-copy { grid-column: 1; grid-row: 1; min-width: 0; }
.promo-copy .eyebrow { margin-bottom: 10px; font-size: 14px; color: #1F5A7A; }
.promo-title {
  font-family: 'Barlow Condensed', 'Arial Narrow', Impact, sans-serif;
  font-style: italic;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 0.92;
  letter-spacing: 0.005em;
  color: #0E2436;
  margin-bottom: 22px;
}
.promo-title span { display: block; }
.promo-title .pt-1 { font-size: clamp(34px, 4.2vw, 58px); }
.promo-title .pt-2 { font-size: clamp(52px, 6.8vw, 96px); color: #2F86B0; }
.promo-box {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 14px 20px;
  margin-bottom: 14px;
  border: 1.5px solid rgba(31,90,122,0.45);
  border-radius: 14px;
  background: rgba(255,255,255,0.72);
}
.promo-box-text { flex: 1; min-width: 0; font-size: 17px; line-height: 1.4; color: #0E2436; }
.promo-box-text span { color: #1F5A7A; font-weight: 800; }
.promo-icons { display: flex; flex-shrink: 0; }
.promo-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 0 14px;
  border-left: 1px solid rgba(31,90,122,0.3);
}
.promo-icon svg { width: 34px; height: 34px; stroke: #1F5A7A; }
.promo-icon span { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #0E2436; }
.promo-menu {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, max-content);
  gap: 8px;
  margin-bottom: 14px;
}
.promo-menu li {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #E7EAEC;
  padding: 6px 12px;
  border: 1px solid #0E2436;
  border-radius: 999px;
  background: #0E2436;
  white-space: nowrap;
  transition: background var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out);
}
.promo-menu li:hover { background: #1F5A7A; border-color: #1F5A7A; }
.promo-menu b { color: #B2D589; font-weight: 800; margin-right: 3px; }
.promo-tag {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  font-weight: 700;
  color: #1F5A7A;
  margin-bottom: 16px;
}
.promo-tag::before, .promo-tag::after { content: ""; width: 28px; height: 2px; background: #B2D589; flex-shrink: 0; }

/* Price badge + terms: sit at the top right of the copy column, beside the
   headline, so the right side of the slide stays clear for the photo. */
.promo-aside {
  grid-column: 1;
  grid-row: 1;
  justify-self: end;
  align-self: start;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  min-width: 0;
  margin-top: -6px;
}
.promo-price {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 152px;
  height: 152px;
  border-radius: 50%;
  background: #0E2436;
  border: 4px solid #B2D589;
  box-shadow: 0 10px 26px rgba(14,36,54,0.28);
  text-align: center;
}
.promo-price small { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #E7EAEC; }
.promo-price strong {
  font-family: 'Barlow Condensed', 'Arial Narrow', Impact, sans-serif;
  font-style: italic;
  font-size: 70px;
  font-weight: 800;
  line-height: 0.9;
  color: #B2D589;
}
.promo-terms {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: rgba(14,36,54,0.78);
}
.hero-slide-promo .btn-secondary { color: #0E2436; border-color: #0E2436; }
.hero-slide-promo .btn-secondary:hover { background: #0E2436; color: #E7EAEC; }
@media (min-width: 901px) and (max-width: 1240px) {
  .promo-price { width: 124px; height: 124px; border-width: 3px; }
  .promo-price small { font-size: 9.5px; }
  .promo-price strong { font-size: 56px; }
  .promo-terms { font-size: 11px; }
}
@media (max-width: 1080px) {
  .promo-menu { grid-template-columns: repeat(2, max-content); }
  .promo-box-text { font-size: 16px; }
  .promo-icon { padding: 0 10px; }
}

/* Decorative brand shapes: two small SVGs per slide (left and right edge),
   always behind the copy. Colors come from the three custom properties so
   each slide can tint them (navy/blue/green on light, light blue/green on
   dark). The wide-screen crop keeps them at the edges. */
.hero-shapes {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  --sa: rgba(14,36,54,0.10);
  --sb: rgba(31,90,122,0.13);
  --sc: rgba(143,181,102,0.20);
}
.hero-shapes svg { position: absolute; top: 0; height: 100%; width: 460px; }
.hero-shapes .sh-l { left: 0; }
.hero-shapes .sh-r { right: 0; }
.hero-shapes .f-a { fill: var(--sa); }
.hero-shapes .f-b { fill: var(--sb); }
.hero-shapes .f-c { fill: var(--sc); }
.hero-shapes .o-a { fill: none; stroke: var(--sa); stroke-width: 2; }
.hero-shapes .o-b { fill: none; stroke: var(--sb); stroke-width: 2; }
.hero-shapes .o-c { fill: none; stroke: var(--sc); stroke-width: 2; }
.hero-shapes .float { transform-box: fill-box; transform-origin: center; animation: shape-float 16s ease-in-out infinite alternate; }
.hero-shapes .float.d2 { animation-duration: 22s; animation-delay: -6s; }
@keyframes shape-float {
  from { transform: translateY(0) rotate(0deg); }
  to { transform: translateY(-10px) rotate(4deg); }
}

/* Slider controls: a small dark pill so it reads on both the light and the
   dark slide. */
.hero-controls {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(14,36,54,0.72);
  backdrop-filter: blur(6px);
}
.hero-controls[hidden] { display: none; }
.hero-arrow {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: none;
  background: transparent;
  color: #E7EAEC;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.hero-arrow:hover { background: rgba(231,234,236,0.14); }
.hero-arrow svg { width: 16px; height: 16px; }
.hero-dots { display: flex; gap: 8px; }
.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1.5px solid #8AC6E3;
  background: transparent;
  padding: 0;
  cursor: pointer;
}
.hero-dot[aria-current="true"] { background: #B2D589; border-color: #B2D589; }

/* Real-photo frame: a reusable rounded/shadowed image box, not currently
   used by any live page (all photo headers are full-bleed now), kept in
   case a boxed photo treatment is needed again. */
.media-frame {
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 0 0 2px rgba(138,198,227,0.35), 0 24px 48px -16px rgba(0,0,0,0.55);
}
.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(1.08);
}
@media (max-width: 900px) {
  .hero { min-height: 0; }
  .hero-slide { padding: 40px 0 72px; }
  /* Single column: the image is hidden, but the badge + terms stay. The
     copy wrapper dissolves so the price row can sit right under the headline. */
  .hero-slide-promo {
    padding: 28px 0 64px;
    background-image: linear-gradient(rgba(243,238,229,0.9), rgba(243,238,229,0.9)), url('/assets/iv-room.jpg');
    background-size: cover;
    background-position: center, 70% center;
  }
  .promo-inner { display: flex; flex-direction: column; gap: 0; }
  .promo-copy { display: contents; }
  .promo-copy .eyebrow { order: 1; margin-bottom: 6px; }
  .promo-title { order: 2; margin-bottom: 12px; }
  .promo-title .pt-1 { font-size: clamp(30px, 8.4vw, 50px); }
  .promo-title .pt-2 { font-size: clamp(46px, 13vw, 78px); }
  .promo-aside { order: 3; flex-direction: row; align-items: center; align-self: flex-start; gap: 14px; margin: 0 0 12px; }
  .promo-box, .promo-menu, .promo-tag, .hero-slide-promo .hero-ctas { order: 4; }
  .promo-price { width: 112px; height: 112px; border-width: 3px; flex-shrink: 0; }
  .promo-price small { font-size: 10px; }
  .promo-price strong { font-size: 52px; }
  .promo-terms { font-size: 13px; }
  .promo-box { flex-direction: column; align-items: stretch; gap: 12px; padding: 12px 14px; margin-bottom: 12px; }
  .promo-box-text { font-size: 15px; }
  .promo-icons { justify-content: space-between; padding-top: 10px; border-top: 1px solid rgba(31,90,122,0.25); }
  .promo-icon { flex: 1; padding: 0 6px; }
  .promo-icon:first-child { border-left: 0; }
  .promo-icon svg { width: 28px; height: 28px; }
  .promo-menu { grid-template-columns: 1fr 1fr; gap: 6px; margin-bottom: 12px; }
  .promo-menu li { font-size: 11px; padding: 5px 8px; text-align: center; white-space: normal; }
  .promo-tag { margin-bottom: 12px; font-size: 14px; }
  .hero-shapes svg { width: 320px; }
  /* At narrow widths the text column spans nearly the full image, so a
     uniform light layer is stacked over the same directional gradient to
     guarantee navy-text contrast everywhere, not just on the left third. */
  .hero-slide-main::before {
    background:
      linear-gradient(rgba(231,234,236,0.9), rgba(231,234,236,0.9)),
      linear-gradient(90deg, #E7EAEC 0%, #E7EAEC 30%, rgba(231,234,236,0.92) 45%, rgba(231,234,236,0.45) 70%, rgba(231,234,236,0.12) 100%);
  }
}

/* Page header band (interior pages) - LIGHT treatment: each page gets its
   own full-bleed photo blended with the same Mist White, left-to-right
   gradient recipe as the home hero, so the whole site reads as one system.
   Text is left-aligned and navy, same as the home hero's text block. */
.page-header {
  position: relative;
  overflow: hidden;
  padding: 96px 0 72px;
  background-image: url('/assets/brand-bg.jpg');
  background-size: cover;
  background-position: center;
  text-align: left;
}
.page-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(90deg, #E7EAEC 0%, #E7EAEC 30%, rgba(231,234,236,0.92) 45%, rgba(231,234,236,0.45) 70%, rgba(231,234,236,0.12) 100%);
}
/* Keeps the .container centering (so the title lines up with the logo on
   wide screens) and caps the copy width instead of the container width. */
.page-header-inner { position: relative; z-index: 1; }
.page-header-inner > * { max-width: 620px; }
.page-header .eyebrow { margin-bottom: 16px; color: #1F5A7A; }
.page-header h1 {
  font-weight: 800;
  font-size: 40px;
  letter-spacing: -0.01em;
  margin-bottom: 14px;
  color: #0E2436;
}
.page-header .page-sub {
  font-size: 17px;
  line-height: 1.55;
  color: rgba(14,36,54,0.8);
}

/* Subtle variant: a near-solid overlay so the photo reads as faint texture
   only, for the low-key legal/error pages. */
.page-header.page-header-subtle::before {
  background:
    linear-gradient(rgba(231,234,236,0.94), rgba(231,234,236,0.94)),
    linear-gradient(90deg, #E7EAEC 0%, #E7EAEC 30%, rgba(231,234,236,0.92) 45%, rgba(231,234,236,0.45) 70%, rgba(231,234,236,0.12) 100%);
}

/* Per-page background photos. */
/* Note: these bands are wider than any source photo's aspect ratio, so
   background-size:cover is always width-constrained and a horizontal
   background-position value has no cropping room to work with. Variety
   between pages that reuse the same photo comes from the vertical
   position instead. */
/* Providers hero: the two providers as a cutout anchored to the bottom
   edge, over the light brand pattern (no photo veil here). */
.page-header.ph-providers {
  display: flex;
  align-items: center;
  min-height: 460px;
  padding: 64px 0;
  background-color: #EEF2F4;
  background-image: url('/assets/brand-bg-light.jpg');
  background-position: center center;
}
.page-header.ph-providers::before { background: linear-gradient(90deg, rgba(238,242,244,0.9) 0%, rgba(238,242,244,0.6) 45%, rgba(238,242,244,0) 70%); }
.page-header.ph-providers .container { width: 100%; }
.page-header.ph-providers h1 { font-size: 56px; }
.ph-duo {
  position: absolute;
  z-index: 1;
  bottom: 0;
  right: max(24px, calc((100vw - 1200px) / 2 + 24px));
  height: calc(100% - 28px);
  width: auto;
  max-width: 52vw;
  object-fit: contain;
  object-position: bottom;
  filter: drop-shadow(0 18px 28px rgba(14,36,54,0.22));
}
.ph-provider-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.ph-provider-links a {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: #E7EAEC;
  background: #0E2436;
  padding: 8px 16px;
  border-radius: 999px;
  text-decoration: none;
  transition: background var(--dur-fast) var(--ease-out);
}
.ph-provider-links a:hover { background: #1F5A7A; }
@media (max-width: 900px) {
  .page-header.ph-providers { display: block; min-height: 0; padding: 48px 0 0; }
  .page-header.ph-providers::before { background: rgba(238,242,244,0.55); }
  .page-header.ph-providers h1 { font-size: 40px; }
  .ph-duo {
    position: relative;
    display: block;
    right: auto;
    height: auto;
    width: min(88%, 440px);
    max-width: none;
    margin: 28px auto 0;
  }
}
/* Contact: entrance photo beside the map. */
.contact-find { display: grid; grid-template-columns: 5fr 7fr; gap: 24px; margin-top: 56px; align-items: stretch; }
.contact-find .contact-map { margin-top: 0; }
.contact-find .contact-map iframe { height: 380px; }
.contact-entrance { border-radius: 14px; overflow: hidden; border: 1px solid rgba(231,234,236,0.16); box-shadow: 0 24px 48px -20px rgba(0,0,0,0.55); }
.contact-entrance img { display: block; width: 100%; height: 380px; object-fit: cover; }
@media (max-width: 900px) {
  .contact-find { grid-template-columns: 1fr; }
  .contact-entrance img { height: auto; aspect-ratio: 3 / 2; }
  .contact-find .contact-map iframe { height: 300px; }
}
/* Contact hero: the entrance photo bleeds in from the right and fades to
   the light background on its left edge. */
.page-header.ph-contact-hero { min-height: 480px; overflow: hidden; }
.ph-fade-photo {
  position: absolute;
  z-index: 1;
  top: 0;
  bottom: 0;
  right: 0;
  height: 100%;
  width: min(62vw, 880px);
  object-fit: cover;
  object-position: 55% 45%;
  -webkit-mask-image: linear-gradient(to right, rgba(0,0,0,0) 0%, rgba(0,0,0,0.6) 16%, #000 34%);
  mask-image: linear-gradient(to right, rgba(0,0,0,0) 0%, rgba(0,0,0,0.6) 16%, #000 34%);
}
.contact-find-solo { grid-template-columns: 1fr; }
@media (max-width: 900px) {
  .page-header.ph-contact-hero { min-height: 0; padding-bottom: 0; }
  .ph-fade-photo {
    position: relative;
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 2;
    margin-top: 28px;
    object-position: 50% 60%;
    -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,0) 0%, #000 22%);
    mask-image: linear-gradient(to bottom, rgba(0,0,0,0) 0%, #000 22%);
  }
}
/* Services hero: same cutout treatment as Care Team, one provider. */
.page-header.ph-services-hero h1 { font-size: 50px; line-height: 1.08; }
.ph-duo.ph-solo { right: max(48px, calc((100vw - 1200px) / 2 + 72px)); height: calc(100% - 20px); }
@media (max-width: 900px) {
  .page-header.ph-services-hero h1 { font-size: 36px; }
  .ph-duo.ph-solo { right: auto; height: auto; width: min(64%, 280px); }
}
@media (max-width: 640px) {
  .page-header.ph-services-hero h1 { font-size: 32px; }
}
.page-header.ph-privacy { background-image: url('/assets/entrance-bright.jpg'); background-position: center center; }

@media (max-width: 900px) {
  .page-header { padding: 64px 0 48px; }
  .page-header-inner > * { max-width: 100%; }
  /* Same fix as the home hero: a uniform light layer stacked over the
     gradient so navy text stays readable across the full-width column. */
  .page-header::before {
    background:
      linear-gradient(rgba(231,234,236,0.9), rgba(231,234,236,0.9)),
      linear-gradient(90deg, #E7EAEC 0%, #E7EAEC 30%, rgba(231,234,236,0.92) 45%, rgba(231,234,236,0.45) 70%, rgba(231,234,236,0.12) 100%);
  }
}

/* Section shell */
section { padding: 96px 0; position: relative; }
section.tight { padding: 72px 0; }
.section-head { max-width: 620px; margin-bottom: 56px; }
.section-head .eyebrow { margin-bottom: 14px; }
.section-head h2 {
  font-weight: 800;
  font-size: 30px;
  margin-bottom: 14px;
}
.section-head p {
  font-size: 16px;
  line-height: 1.6;
  color: rgba(231,234,236,0.75);
}
.section-head.centered { margin-left: auto; margin-right: auto; text-align: center; }

/* Prose (service/policy body copy) */
.prose { max-width: 720px; }
.prose h2 { font-weight: 800; font-size: 24px; margin: 40px 0 14px; }
.prose h2:first-child { margin-top: 0; }
.prose p {
  font-size: 16px;
  line-height: 1.65;
  color: rgba(231,234,236,0.8);
  margin-bottom: 16px;
}
.prose ul { margin: 0 0 16px 20px; }
.prose li {
  font-size: 16px;
  line-height: 1.65;
  color: rgba(231,234,236,0.8);
  margin-bottom: 8px;
}
.prose strong { color: #E7EAEC; }
.prose a { color: #8AC6E3; text-decoration: underline; }

/* What This Covers / What To Expect blocks */
.covers-list {
  list-style: none;
  display: grid;
  gap: 12px;
  margin-bottom: 8px;
}
.covers-list li {
  position: relative;
  padding-left: 26px;
  font-size: 16px;
  line-height: 1.55;
  color: rgba(231,234,236,0.85);
}
.covers-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #B2D589;
}
.steps-list {
  list-style: none;
  counter-reset: step-counter;
  display: grid;
  gap: 24px;
  margin-top: 8px;
}
.steps-list li {
  counter-increment: step-counter;
  padding-left: 52px;
  position: relative;
  font-size: 16px;
  line-height: 1.55;
  color: rgba(231,234,236,0.85);
  min-height: 36px;
  display: flex;
  align-items: center;
}
.steps-list li::before {
  content: counter(step-counter);
  position: absolute;
  left: 0;
  top: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid #B2D589;
  color: #B2D589;
  font-weight: 800;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Services link band: a bold green strip on home. Text left, navy button
   right on desktop; stacked on phones. The extra top/bottom margin spaces it
   from the hero and the next band. */
.services-link-band {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px 32px;
  padding: 24px 0;
}
/* Full-bleed green strip: sits flush against the hero above and the
   HiS Difference section below. */
.services-band {
  position: relative;
  overflow: hidden;
  background: linear-gradient(120deg, #C5E0A3 0%, #B2D589 55%, #9CC673 100%);
}
.services-link-band::before {
  content: "";
  position: absolute;
  right: 150px;
  top: -70px;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  border: 22px solid rgba(14,36,54,0.07);
  pointer-events: none;
}
.services-link-band > * { position: relative; z-index: 1; }
.services-link-band p {
  font-size: 32px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: #0E2436;
  max-width: 640px;
}
.services-link-band .btn-primary { background: #0E2436; color: #E7EAEC; }
.services-link-band .btn-primary:hover { background: #1F5A7A; }
@media (max-width: 640px) {
  .services-link-band { flex-direction: column; align-items: flex-start; padding: 20px 0; }
  .services-link-band p { font-size: 23px; }
}

/* Services grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.service-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(231,234,236,0.12);
  border-radius: 10px;
  padding: 22px 20px;
  position: relative;
  overflow: hidden;
  transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out);
}
.service-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(0,0,0,0.28);
}
.service-card::after {
  content: "";
  position: absolute;
  top: -26px; right: -26px;
  width: 72px; height: 72px;
  border-radius: 50%;
  border: 1px solid rgba(138,198,227,0.12);
}
.icon-circle {
  width: 36px; height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  position: relative;
  z-index: 1;
}
.icon-circle.green { background: rgba(178,213,137,0.16); }
.icon-circle.blue { background: rgba(138,198,227,0.16); }
.icon-dot { width: 7px; height: 7px; border-radius: 50%; }
.icon-dot.green { background: #B2D589; }
.icon-dot.blue { background: #8AC6E3; }
.service-card h3 {
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 6px;
  position: relative;
  z-index: 1;
}
.service-card p {
  font-size: 13px;
  line-height: 1.5;
  color: rgba(231,234,236,0.75);
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}
.service-card a {
  font-size: 12px;
  font-weight: 600;
  color: #8AC6E3;
  text-decoration: none;
  position: relative;
  z-index: 1;
}
.service-card a:hover { text-decoration: underline; }

/* Care model band */
.care-model {
  position: relative;
  overflow: hidden;
  padding: 88px 0 70px;
  background-image: url('/assets/brand-bg.jpg');
  background-size: cover;
  background-position: center;
}
.care-model::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(180deg, rgba(14,36,54,0.72) 0%, rgba(14,36,54,0.85) 100%);
}
.care-model .container { position: relative; z-index: 1; }
.care-model-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
/* Each card is a colorful gradient tile. The outer .care-item only carries
   the scroll reveal; the hover/active lift lives on the inner .care-card so
   the two transforms never fight. A ::before overlay fades in on hover (or
   .is-active on touch) to shift the gradient's hue. */
.care-item { display: block; }
.care-card {
  position: relative;
  overflow: hidden;
  height: 100%;
  padding: 28px;
  border-radius: 14px;
  border: 1px solid rgba(231,234,236,0.14);
  box-shadow: 0 10px 24px rgba(0,0,0,0.22);
  transition: transform 300ms var(--ease-out), box-shadow 300ms var(--ease-out);
}
.care-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0;
  transition: opacity 300ms var(--ease-out);
}
.care-card > * { position: relative; z-index: 1; }
.care-item:nth-child(1) .care-card { background: linear-gradient(145deg, #1F5A7A 0%, #0E2436 100%); color: #E7EAEC; }
.care-item:nth-child(1) .care-card::before { background: linear-gradient(145deg, #2F86B0 0%, #2E7D5B 100%); }
.care-item:nth-child(2) .care-card { background: linear-gradient(145deg, #CBE5AB 0%, #B2D589 60%, #96BC6E 100%); color: #0E2436; }
.care-item:nth-child(2) .care-card::before { background: linear-gradient(145deg, #D6EEF9 0%, #8AC6E3 100%); }
.care-item:nth-child(3) .care-card { background: linear-gradient(145deg, #B9DFF1 0%, #8AC6E3 60%, #6FB0D3 100%); color: #0E2436; }
.care-item:nth-child(3) .care-card::before { background: linear-gradient(145deg, #DDF0C6 0%, #B2D589 100%); }
.care-item:nth-child(4) .care-card { background: linear-gradient(145deg, #1F5A7A 0%, #2A7068 100%); color: #E7EAEC; }
.care-item:nth-child(4) .care-card::before { background: linear-gradient(145deg, #3A8A63 0%, #2F86B0 100%); }
.care-item:focus-within .care-card,
.care-item.is-active .care-card {
  transform: translateY(-6px) scale(1.04);
  box-shadow: 0 22px 44px rgba(0,0,0,0.42);
}
.care-item:focus-within .care-card::before,
.care-item.is-active .care-card::before { opacity: 1; }
@media (hover: hover) {
  .care-item:hover .care-card {
    transform: translateY(-6px) scale(1.04);
    box-shadow: 0 22px 44px rgba(0,0,0,0.42);
  }
  .care-item:hover .care-card::before { opacity: 1; }
}
.care-item-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}
.care-icon {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: rgba(14,36,54,0.88);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.care-icon svg { width: 64px; height: 64px; display: block; }
.care-num {
  font-weight: 800;
  font-size: 68px;
  line-height: 1;
  letter-spacing: -0.02em;
  color: rgba(231,234,236,0.3);
}
.care-item:nth-child(2) .care-num,
.care-item:nth-child(3) .care-num { color: rgba(14,36,54,0.3); }
.care-item h3 { font-weight: 800; font-size: 19px; line-height: 1.3; margin-bottom: 8px; }
.care-item p { font-size: 15px; line-height: 1.55; color: inherit; opacity: 0.88; }
@media (prefers-reduced-motion: reduce) {
  .care-item:focus-within .care-card,
  .care-item.is-active .care-card,
  .care-item:hover .care-card { transform: none; }
}
.care-close {
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid rgba(231,234,236,0.16);
  text-align: center;
  font-size: 17px;
  font-weight: 600;
  color: #E7EAEC;
}

/* Why HiS: a light band over the body.page-bg-brand artwork
   with the text + photo split, six colorful pillar cards, and a full-width
   trust line as the last row. Padding is 56px top and bottom, matching the
   56px the FAQ section gets below it, so the rhythm reads even. */
section.why-his {
  padding: 56px 0;
  /* Slightly see-through, like the footer, so the fixed brand background
     tints it; the blur keeps the shapes behind from fighting the navy copy. */
  background: linear-gradient(180deg, rgba(238,241,243,0.86) 0%, rgba(231,234,236,0.82) 100%);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: #0E2436;
}
.why-his-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 24px 48px;
  align-items: stretch;
}
.why-his .eyebrow { color: #1F5A7A; }
.why-his .section-head { margin-bottom: 20px; }
.why-his .section-head h2 { color: #0E2436; margin-bottom: 10px; }
.why-his .section-head p { color: rgba(14,36,54,0.8); }
.why-his-photo {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 18px 40px -16px rgba(14,36,54,0.35);
}
.why-his-photo img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  object-position: 38% 30%;
  display: block;
}
/* Trust line: own full-width row under both columns, one line on desktop. */
.why-his .provider-trust-line {
  grid-column: 1 / -1;
  margin-top: 8px;
  padding: 14px 20px;
  font-size: 14.5px;
  line-height: 1.5;
  color: #0E2436;
  background: rgba(31,90,122,0.08);
  border-left: 4px solid #B2D589;
  border-top: 0;
  border-radius: 8px;
}

/* Why HiS pillars. .pillar carries the scroll reveal; the hover/active lift
   lives on the inner .pillar-card so the two transforms never fight. */
.pillars-intro {
  font-size: 15px;
  font-weight: 600;
  color: #1F5A7A;
  margin-bottom: 18px;
}
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.pillar { display: block; }
.pillar-card {
  position: relative;
  overflow: hidden;
  height: 100%;
  padding: 18px;
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(14,36,54,0.14);
  transition: transform 300ms var(--ease-out), box-shadow 300ms var(--ease-out);
}
.pillar-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0;
  transition: opacity 300ms var(--ease-out);
}
.pillar-card > * { position: relative; z-index: 1; }
.pillar-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  background: rgba(14,36,54,0.88);
  color: #8AC6E3;
  transition: background-color 300ms var(--ease-out), color 300ms var(--ease-out);
}
.pillar-icon svg { width: 30px; height: 30px; display: block; }
.pillar h4 { font-weight: 800; font-size: 16px; margin-bottom: 6px; }
.pillar p { font-size: 13.5px; line-height: 1.5; color: inherit; opacity: 0.9; }
/* Tints: navy, light blue, green, deep blue, green-blue, navy-blue. */
.pillar:nth-child(1) .pillar-card { background: #0E2436; color: #E7EAEC; }
.pillar:nth-child(1) .pillar-card::before { background: #1F5A7A; }
.pillar:nth-child(2) .pillar-card { background: #BFE1F2; color: #0E2436; }
.pillar:nth-child(2) .pillar-card::before { background: #8AC6E3; }
.pillar:nth-child(3) .pillar-card { background: #CFE6B3; color: #0E2436; }
.pillar:nth-child(3) .pillar-card::before { background: #B2D589; }
.pillar:nth-child(4) .pillar-card { background: #1F5A7A; color: #E7EAEC; }
.pillar:nth-child(4) .pillar-card::before { background: #2A7068; }
.pillar:nth-child(5) .pillar-card { background: #B2D589; color: #0E2436; }
.pillar:nth-child(5) .pillar-card::before { background: #8AC6E3; }
.pillar:nth-child(6) .pillar-card { background: #8AC6E3; color: #0E2436; }
.pillar:nth-child(6) .pillar-card::before { background: #B2D589; }
.pillar:nth-child(2) .pillar-icon,
.pillar:nth-child(3) .pillar-icon,
.pillar:nth-child(5) .pillar-icon,
.pillar:nth-child(6) .pillar-icon { color: #B2D589; }
.pillar:focus-within .pillar-card,
.pillar.is-active .pillar-card {
  transform: translateY(-4px);
  box-shadow: 0 14px 28px rgba(14,36,54,0.28);
}
.pillar:focus-within .pillar-card::before,
.pillar.is-active .pillar-card::before { opacity: 1; }
.pillar:focus-within .pillar-icon,
.pillar.is-active .pillar-icon { background: #E7EAEC; color: #0E2436; }
@media (hover: hover) {
  .pillar:hover .pillar-card { transform: translateY(-4px); box-shadow: 0 14px 28px rgba(14,36,54,0.28); }
  .pillar:hover .pillar-card::before { opacity: 1; }
  .pillar:hover .pillar-icon { background: #E7EAEC; color: #0E2436; }
}
/* The hover overlays on the light cards are light/mid tints, and the navy
   cards shift to blues, so text stays readable in every state. */
@media (prefers-reduced-motion: reduce) {
  .pillar:focus-within .pillar-card,
  .pillar.is-active .pillar-card,
  .pillar:hover .pillar-card { transform: none; }
}

/* Home FAQ sits right under the light band: the band edge is the divider,
   so the hairline goes and the FAQ gets the same 56px of air as above. */
.why-his + #faq { padding: 56px 0 72px; }
.why-his + #faq .faq-divider { display: none; }

/* Providers (home summary cards) */
.providers-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.provider-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.provider-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(231,234,236,0.12);
  border-radius: 10px;
  overflow: hidden;
  transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out);
}
.provider-card-link:hover .provider-card,
.provider-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(0,0,0,0.28);
}
.provider-card a.provider-card-link { text-decoration: none; display: block; }
.provider-photo {
  height: 200px;
  background: linear-gradient(160deg, #16354D 0%, #0E2436 65%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.provider-photo span {
  font-size: 11px;
  font-weight: 600;
  color: rgba(231,234,236,0.35);
}
.provider-info { padding: 22px 22px 26px; }
.provider-rule { width: 32px; height: 3px; background: #B2D589; border-radius: 2px; margin-bottom: 14px; }
.provider-name { font-weight: 600; font-size: 17px; margin-bottom: 4px; }
.provider-role { font-size: 13px; color: rgba(231,234,236,0.75); }
.clinic-photo-wrap {
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  height: 100%;
  min-height: 320px;
}
.clinic-photo-wrap img { width: 100%; height: 100%; object-fit: cover; min-height: 320px; }
.backed-by {
  margin-top: 24px;
  font-size: 14px;
  color: rgba(231,234,236,0.65);
  grid-column: 1 / -1;
}
.providers-layout .provider-trust-line {
  grid-column: 1 / -1;
  margin-top: 14px;
}

/* Full provider bio page */
.provider-bio {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  align-items: start;
  margin-bottom: 64px;
}
.provider-bio:last-child { margin-bottom: 0; }
.provider-bio-photo {
  border-radius: 10px;
  overflow: hidden;
  height: 280px;
  background: linear-gradient(160deg, #16354D 0%, #0E2436 65%);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(231,234,236,0.12);
}
.provider-bio-photo span {
  font-size: 12px;
  font-weight: 600;
  color: rgba(231,234,236,0.35);
}
/* Card with a real portrait (2:3 studio shot on light grey): taller slot,
   cropped from the top so the face and torso show. */
.provider-bio-photo.has-photo { height: auto; aspect-ratio: 4 / 5; background: #D5D9DC; }
.provider-bio-photo.has-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 8%; display: block; }
.provider-bio-name { font-weight: 800; font-size: 24px; margin-bottom: 4px; }
.provider-bio-role { font-size: 14px; color: #8AC6E3; font-weight: 600; margin-bottom: 18px; }
.provider-bio p {
  font-size: 15px;
  line-height: 1.65;
  color: rgba(231,234,236,0.8);
  margin-bottom: 14px;
}
.provider-trust-line {
  font-size: 14px;
  font-weight: 600;
  color: #8AC6E3;
  border-left: 2px solid #8AC6E3;
  padding-left: 14px;
  margin-top: 6px;
}
.clinic-photos-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 16px;
}
.clinic-photos-row .photo-box {
  border-radius: 10px;
  overflow: hidden;
  height: 200px;
}
.clinic-photos-row .photo-box img { width: 100%; height: 100%; object-fit: cover; }
.clinic-photos-row .photo-box.placeholder {
  background: linear-gradient(160deg, #16354D 0%, #0E2436 65%);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(231,234,236,0.12);
}
.clinic-photos-row .photo-box.placeholder span {
  font-size: 11px;
  font-weight: 600;
  color: rgba(231,234,236,0.35);
}

/* FAQ section divider: separates the FAQ band from the section above with
   a subtle full-container hairline (matches the existing services-link-band
   / care-close hairline convention used elsewhere on the site), rather than
   a green accent line, so it reads as structure, not decoration. */
.faq-divider {
  border-top: 1px solid rgba(231,234,236,0.14);
  margin-bottom: 64px;
}

/* FAQ two-column layout: a big "FAQ" wordmark + intro on the left,
   question cards stacked on the right. Left column does not stretch to
   match the right column's height (align-items: start), so it stays
   graceful whether the right side has 3 cards or 8. */
.faq-layout {
  display: grid;
  grid-template-columns: minmax(220px, 38%) 1fr;
  gap: 48px;
  align-items: start;
}
.faq-intro .eyebrow { margin-bottom: 14px; }
.faq-big {
  font-weight: 800;
  font-size: 84px;
  line-height: 0.92;
  letter-spacing: -0.02em;
  color: #E7EAEC;
  margin-bottom: 18px;
}
.faq-intro p {
  font-size: 16px;
  line-height: 1.6;
  color: rgba(231,234,236,0.75);
  max-width: 320px;
}

/* FAQ (native details/summary, no JS required) */
.faq-wrap { max-width: 760px; display: grid; gap: 14px; }
.faq-item {
  background: rgba(231,234,236,0.04);
  border: 1px solid rgba(231,234,236,0.12);
  border-radius: 10px;
}
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 24px;
  cursor: pointer;
  font-weight: 600;
  font-size: 18px;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::marker { content: ""; }
.faq-chevron {
  display: flex;
  flex-shrink: 0;
  transition: transform var(--dur-fast) var(--ease-out);
}
.faq-chevron svg { width: 24px; height: 24px; display: block; }
.faq-item[open] .faq-chevron { transform: rotate(180deg); }
.faq-a {
  font-size: 16px;
  line-height: 1.6;
  color: rgba(231,234,236,0.75);
  padding: 0 24px 22px;
  max-width: 600px;
}
/* When JS is enabled, faq.js takes over the open/close animation via inline
   max-height styles on .faq-a. This class marks that state is JS-controlled. */
.faq-item.js-animated > .faq-a {
  overflow: hidden;
  transition: max-height var(--dur-base) var(--ease-out), opacity var(--dur-base) var(--ease-out);
}

/* CTA band */
.cta-band {
  padding: 48px 0;
  position: relative;
  overflow: hidden;
  text-align: center;
  background-image: url('/assets/brand-bg.jpg');
  background-size: cover;
  background-position: center;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(180deg, rgba(14,36,54,0.55) 0%, rgba(14,36,54,0.75) 100%);
}
.cta-content { position: relative; z-index: 1; max-width: 680px; margin: 0 auto; }
.cta-content h2 { font-weight: 800; font-size: 30px; margin-bottom: 10px; }
.cta-content .sub {
  font-size: 16px; line-height: 1.55; color: rgba(231,234,236,0.75); margin-bottom: 20px;
}
.cta-row { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 18px; }
.cta-nap { font-size: 13px; color: rgba(231,234,236,0.55); }

/* Contact form card */
.contact-section { padding: 88px 0 72px; }
/* Map under the form: rounded frame, with a directions button on top. */
.contact-map {
  position: relative;
  margin-top: 56px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(231,234,236,0.16);
  box-shadow: 0 24px 48px -20px rgba(0,0,0,0.55);
  background: #16354D;
}
.contact-map iframe { display: block; width: 100%; height: 380px; border: 0; }
.contact-map-link {
  position: absolute;
  right: 16px;
  bottom: 16px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  color: #0E2436;
  background: #B2D589;
  padding: 10px 18px;
  border-radius: 6px;
  box-shadow: 0 8px 18px rgba(0,0,0,0.3);
}
.contact-map-link:hover { background: #9fc873; }
/* Instagram strip: edge to edge above the footer. */
.ig-strip { margin-top: 0; padding: 56px 0 64px; background: rgba(9,26,40,0.6); border-top: 1px solid rgba(231,234,236,0.14); }
@media (max-width: 640px) { .ig-strip { margin-top: 40px; padding: 36px 0 44px; } }
.ig-strip-head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px 24px; }
.ig-strip-title { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; font-size: 24px; font-weight: 800; }
.ig-strip-title svg { width: 30px; height: 30px; color: #8AC6E3; flex-shrink: 0; }
.ig-strip-handle { color: #8AC6E3; text-decoration: none; font-weight: 600; font-size: 18px; }
.ig-strip-handle:hover { color: #E7EAEC; }
.ig-strip-live { margin-top: 28px; }
.ig-strip-live iframe { display: block; width: 100%; height: 570px; border: 0; }
@media (max-width: 900px) { .ig-strip-live iframe { height: 380px; } }
@media (max-width: 640px) {
  .contact-map iframe { height: 300px; }
  .ig-strip-title { font-size: 20px; }
  .ig-strip-live iframe { height: 700px; }
}
.contact-intro {
  max-width: 640px;
  margin: 0 auto 56px;
  text-align: center;
  font-size: 16px;
  line-height: 1.6;
  color: rgba(231,234,236,0.75);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: start;
}
.form-card {
  background: #E7EAEC;
  border-radius: 10px;
  padding: 36px 34px;
  box-shadow: 0 20px 48px -18px rgba(0,0,0,0.5);
}
.field { margin-bottom: 20px; }
.field label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: #0E2436;
  margin-bottom: 7px;
}
.field label .req { color: #8AC6E3; font-weight: 700; }
.field input,
.field select,
.field textarea {
  width: 100%;
  font-family: inherit;
  font-size: 15px;
  color: #0E2436;
  background: #FFFFFF;
  border: 1.4px solid rgba(14,36,54,0.16);
  border-radius: 6px;
  padding: 12px 14px;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid #8AC6E3;
  outline-offset: 1px;
  border-color: #8AC6E3;
}
.field input::placeholder,
.field textarea::placeholder { color: rgba(14,36,54,0.35); }
.form-submit { width: 100%; text-align: center; margin-top: 6px; }
.form-note {
  font-size: 12px;
  line-height: 1.6;
  color: rgba(231,234,236,0.55);
  margin-top: 18px;
  text-align: center;
}
.form-status {
  display: none;
  font-size: 13px;
  line-height: 1.6;
  padding: 12px 14px;
  border-radius: 6px;
  margin-bottom: 16px;
}
.form-status.show { display: block; }
.form-status.info {
  background: rgba(138,198,227,0.14);
  border: 1px solid rgba(138,198,227,0.4);
  color: #0E2436;
}
.form-status.success {
  background: rgba(178,213,137,0.18);
  border: 1px solid rgba(178,213,137,0.5);
  color: #0E2436;
}
/* Honeypot field, hidden from real users, visible to bots that fill everything */
.hp-field { position: absolute; left: -9999px; top: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Info column */
.info-block { margin-bottom: 32px; }
.info-block:last-child { margin-bottom: 0; }
.info-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(231,234,236,0.45);
  margin-bottom: 10px;
}
.info-value { font-size: 16px; font-weight: 600; color: #E7EAEC; line-height: 1.5; }
.info-value a { text-decoration: none; }
.info-value a:hover { color: #8AC6E3; }
.hours-line { font-size: 15px; color: rgba(231,234,236,0.85); line-height: 1.7; }
.es-note {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(231,234,236,0.8);
  border-top: 1px solid rgba(231,234,236,0.12);
  padding-top: 20px;
}
.social-links { display: flex; gap: 20px; }
.social-links a { font-size: 14px; font-weight: 600; color: #8AC6E3; text-decoration: none; }
.social-links a:hover { text-decoration: underline; }

/* Footer */
/* Slightly see-through so the fixed brand background shows behind it. */
footer { background: rgba(46,52,56,0.72); padding: 30px 0 18px; }
.footer-top {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 24px 32px;
  margin-bottom: 18px;
}
.footer-logo img { height: 40px; width: auto; max-width: 100%; margin-bottom: 10px; }
.footer-tagline { font-size: 13px; font-weight: 600; color: rgba(231,234,236,0.85); margin-bottom: 12px; }
.footer-col h5 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(231,234,236,0.5);
  margin-bottom: 6px;
}
.footer-col p, .footer-col a {
  font-size: 14px;
  line-height: 1.55;
  color: rgba(231,234,236,0.8);
  text-decoration: none;
  display: block;
}
.footer-col a:hover { color: #E7EAEC; }
.footer-bottom {
  border-top: 1px solid rgba(231,234,236,0.12);
  padding-top: 12px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
  color: rgba(231,234,236,0.5);
}
.footer-bottom a { color: rgba(231,234,236,0.5); text-decoration: none; }
.footer-bottom a:hover { color: #E7EAEC; }
.footer-nonprofit {
  font-size: 13px;
  line-height: 1.6;
  color: rgba(231,234,236,0.65);
  margin-bottom: 12px;
}

/* 404 page - same light-header treatment as the interior pages: entrance
   photo, heavily gradient-covered so it reads as subtle texture behind
   centered navy text. */
.error-page {
  min-height: calc(100vh - 78px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 24px;
  position: relative;
  overflow: hidden;
  background-image: url('/assets/entrance-bright.jpg');
  background-size: cover;
  background-position: right center;
}
.error-page::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(rgba(231,234,236,0.94), rgba(231,234,236,0.94)),
    linear-gradient(90deg, #E7EAEC 0%, #E7EAEC 30%, rgba(231,234,236,0.92) 45%, rgba(231,234,236,0.45) 70%, rgba(231,234,236,0.12) 100%);
}
.error-inner { position: relative; z-index: 1; max-width: 480px; }
.error-eyebrow { margin-bottom: 16px; color: #1F5A7A; }
.error-inner h1 { font-weight: 800; font-size: 34px; margin-bottom: 14px; color: #0E2436; }
.error-inner p {
  font-size: 16px;
  line-height: 1.6;
  color: rgba(14,36,54,0.8);
  margin-bottom: 32px;
}
.error-ctas { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.error-page .btn-secondary { color: #0E2436; border-color: #0E2436; }
.error-page .btn-secondary:hover { background: #0E2436; color: #E7EAEC; }

/* Responsive */
@media (max-width: 1080px) {
  .provider-bio { grid-template-columns: 220px 1fr; }

  /* Collapsible nav: the desktop inline nav no longer fits once the logo
     is 200px wide and there are 5 links plus the appointment button. */
  nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(14,36,54,0.98);
    border-bottom: 1px solid rgba(231,234,236,0.12);
    box-shadow: 0 12px 24px rgba(0,0,0,0.28);
    padding: 4px 24px 12px;
  }
  nav.is-open { display: flex; }
  nav a {
    padding: 14px 0;
    border-top: 1px solid rgba(231,234,236,0.08);
  }
  nav a:first-child { border-top: none; }
  .nav-toggle { display: flex; }
}
@media (max-width: 900px) {
  .services-grid, .care-model-grid, .provider-cards { grid-template-columns: 1fr 1fr; }
  .pillars { grid-template-columns: repeat(3, 1fr); }
  .providers-layout { grid-template-columns: 1fr; }
  .why-his-layout { grid-template-columns: 1fr; }
  .why-his-photo img { min-height: 0; height: auto; aspect-ratio: 3 / 2; }
  .why-his-layout { gap: 24px; }
  .faq-layout { grid-template-columns: 1fr; gap: 28px; }
  .faq-big { font-size: 64px; }
  .footer-top { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .provider-bio { grid-template-columns: 1fr; }
  .provider-bio-photo { height: 220px; }
  .provider-bio-photo.has-photo { height: auto; max-width: 320px; }
  .clinic-photos-row { grid-template-columns: 1fr 1fr; }

}
@media (max-width: 640px) {
  .services-grid, .care-model-grid, .provider-cards { grid-template-columns: 1fr; }
  .pillars { grid-template-columns: 1fr 1fr; gap: 10px; }
  .pillar-card { padding: 14px; }
  .pillar-icon { width: 46px; height: 46px; }
  .pillar-icon svg { width: 26px; height: 26px; }
  .pillar h4 { font-size: 15px; }
  .pillar p { font-size: 13px; }
  .container { padding: 0 20px; }
  .logo img { width: 150px; }
  h1.display { font-size: 32px; }
  .page-header h1 { font-size: 30px; }
  .section-head h2 { font-size: 24px; }
  .faq-big { font-size: 52px; }
  .form-card { padding: 26px 20px; }
  .clinic-photos-row { grid-template-columns: 1fr; }

  /* Give the header real margin at the narrowest widths instead of a
     sub-pixel fit: tighter gap, a smaller call button, a smaller toggle. */
  .header-cta { gap: 8px; }
  .header-cta .btn-sm { padding: 10px 14px; font-size: 11px; }
  .nav-toggle { width: 36px; height: 36px; }
  .cta-band { padding: 40px 0; }
  .hero-logo { max-width: 100%; }
}
@media (max-width: 520px) {
  /* The long label no longer fits beside logo + toggle; Appointments is
     still one tap away inside the menu. */
  .header-cta .btn-sm { display: none; }
}
@media (max-width: 400px) {
  .logo img { width: 130px; }
  .pillars { grid-template-columns: 1fr; }
  .care-num { font-size: 52px; }
  .care-icon { width: 84px; height: 84px; }
  .care-icon svg { width: 56px; height: 56px; }
}

/* ==========================================================================
   Motion: scroll reveal
   Default state is fully visible (opacity 1, no transform) so the page
   works correctly with JS disabled. site.js adds "reveal-pending" on load
   (only when JS runs and motion is not reduced), which is what actually
   hides elements before they animate in via "is-visible".
   ========================================================================== */
.reveal { opacity: 1; transform: none; }
.reveal.reveal-pending {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out);
}
.reveal.reveal-pending.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger for grid/list children, capped so long grids do not feel slow */
.services-grid > .reveal-pending:nth-child(1),
.care-model-grid > .reveal-pending:nth-child(1),
.pillars > .reveal-pending:nth-child(1),
.provider-cards > .reveal-pending:nth-child(1),
.clinic-photos-row > .reveal-pending:nth-child(1),
.faq-wrap > .reveal-pending:nth-child(1) { transition-delay: 0ms; }

.services-grid > .reveal-pending:nth-child(2),
.care-model-grid > .reveal-pending:nth-child(2),
.pillars > .reveal-pending:nth-child(2),
.provider-cards > .reveal-pending:nth-child(2),
.clinic-photos-row > .reveal-pending:nth-child(2),
.faq-wrap > .reveal-pending:nth-child(2) { transition-delay: 60ms; }

.services-grid > .reveal-pending:nth-child(3),
.care-model-grid > .reveal-pending:nth-child(3),
.pillars > .reveal-pending:nth-child(3),
.provider-cards > .reveal-pending:nth-child(3),
.clinic-photos-row > .reveal-pending:nth-child(3),
.faq-wrap > .reveal-pending:nth-child(3) { transition-delay: 120ms; }

.services-grid > .reveal-pending:nth-child(4),
.care-model-grid > .reveal-pending:nth-child(4),
.pillars > .reveal-pending:nth-child(4),
.faq-wrap > .reveal-pending:nth-child(4) { transition-delay: 180ms; }

.services-grid > .reveal-pending:nth-child(5),
.pillars > .reveal-pending:nth-child(5) { transition-delay: 240ms; }

.services-grid > .reveal-pending:nth-child(6),
.pillars > .reveal-pending:nth-child(6) { transition-delay: 300ms; }

.services-grid > .reveal-pending:nth-child(n+7) { transition-delay: 300ms; }

/* Respect reduced motion: collapse every reveal to visible, no movement */
@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal.reveal-pending,
  .reveal.reveal-pending.is-visible {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  header,
  .btn-primary,
  .btn-secondary,
  .service-card,
  .provider-card,
  .faq-chevron,
  .faq-item.js-animated > .faq-a,
  .nav-toggle-bar {
    transition: none !important;
  }
}

/* Slide 2 on phones and tablets: the room photo becomes a band across the
   top of the slide (clean wall color behind the copy), and the price turns
   from a circle into a full-width navy strip. */
@media (max-width: 900px) {
  .hero-slide-promo {
    --promo-photo-h: var(--hero-photo-h);
    padding-top: calc(var(--promo-photo-h) + 20px);
    padding-bottom: 74px;
    background-image: none;
  }
  .hero-slide-promo::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: var(--promo-photo-h);
    background: url('/assets/iv-room.jpg') 100% 72% / cover no-repeat;
  }
  .hero-slide-promo .hero-shapes { top: var(--promo-photo-h); }
  .promo-aside {
    align-self: stretch;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    border-radius: 14px;
    border-left: 6px solid #B2D589;
    background: #0E2436;
  }
  .promo-price {
    display: grid;
    grid-template-columns: auto auto;
    align-items: center;
    column-gap: 10px;
    width: auto;
    height: auto;
    border: 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
    text-align: left;
  }
  .promo-price strong { grid-row: 1 / 3; grid-column: 1; font-size: 54px; line-height: 1; }
  .promo-price small { grid-column: 2; font-size: 11px; line-height: 1.3; }
  .promo-price small:first-child { align-self: end; }
  .promo-price small:last-child { align-self: start; color: #B2D589; }
  .promo-terms {
    margin-left: auto;
    max-width: 96px;
    text-align: right;
    font-size: 11.5px;
    line-height: 1.35;
    color: rgba(231,234,236,0.85);
  }
  .hero-slide-promo .hero-ctas { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .hero-slide-promo .hero-ctas .btn { text-align: center; padding-left: 10px; padding-right: 10px; }
}
@media (max-width: 640px) {
  .promo-tag { display: none; }
  .promo-menu { margin-bottom: 16px; }
}

/* Photo band height shared by slides 1 and 2 on phones and tablets. */
@media (max-width: 900px) {
  .hero { --hero-photo-h: clamp(170px, 36vw, 300px); }
  /* Slide 1: the photo becomes a band across the top. Phillip stands at
     roughly 62-80% from the left, so the crop is anchored to the right-
     of-center (78%) and a little above the middle (30%) to keep his head,
     shoulders and arms in the band. Copy sits below on clean mist white. */
  .hero-slide-main {
    padding-top: calc(var(--hero-photo-h) + 20px);
    padding-bottom: 74px;
    background-image: none;
    background-color: #E7EAEC;
  }
  .hero-slide-main::before {
    inset: 0 0 auto 0;
    height: var(--hero-photo-h);
    background: url('/assets/hero-phillip.jpg') 78% 30% / cover no-repeat;
  }
  .hero-slide-main .hero-shapes { top: var(--hero-photo-h); }
}

/* Slide 3: Instagram giveaway. Brand-navy graphic slide with poster type
   (Barlow Condensed, upright). Same paddings as slide 2 so the shared hero
   height does not grow; the bottom padding clears the carousel controls. */
.hero:not(.js-carousel) .hero-slide-ig { display: none; }
.hero-slide-ig {
  align-items: center;
  padding: 36px 0 70px;
  background-color: #0A1B2A;
  background-image: linear-gradient(180deg, rgba(10,27,42,0.80), rgba(14,36,54,0.72)), url('/assets/brand-bg.jpg');
  background-size: cover;
  background-position: center;
  color: #E7EAEC;
}
.hero-slide-ig .hero-shapes {
  --sa: rgba(138,198,227,0.24);
  --sb: rgba(138,198,227,0.15);
  --sc: rgba(178,213,137,0.26);
}
.ig-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  align-items: center;
  gap: 32px;
}
.ig-copy { min-width: 0; }
.hero-slide-ig .eyebrow { margin-bottom: 10px; font-size: 14px; color: #B2D589; }
.ig-title {
  font-family: 'Barlow Condensed', 'Arial Narrow', Impact, sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 0.92;
  letter-spacing: 0.01em;
  color: #E7EAEC;
  margin-bottom: 20px;
}
.ig-title span { display: block; }
.ig-title .pt-1 { font-size: clamp(38px, 4.6vw, 66px); }
.ig-title .pt-2 { font-size: clamp(56px, 7vw, 100px); color: #8AC6E3; white-space: nowrap; }
.ig-line { font-size: 23px; font-weight: 600; line-height: 1.4; color: #E7EAEC; margin-bottom: 12px; }
.ig-steps { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 20px; margin-bottom: 22px; font-size: 14.5px; font-weight: 600; color: rgba(231,234,236,0.9); }
.ig-steps li { display: flex; align-items: center; gap: 8px; }
.ig-steps b {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #B2D589;
  color: #0E2436;
  font-size: 12px;
  font-weight: 800;
  flex-shrink: 0;
}
.ig-line::before { content: ""; display: block; width: 60px; height: 3px; background: #B2D589; margin-bottom: 14px; }
.ig-word { color: #B2D589; font-weight: 800; letter-spacing: 0.08em; }
.hero-slide-ig .btn-secondary { color: #E7EAEC; border-color: #E7EAEC; }
.hero-slide-ig .btn-secondary:hover { background: rgba(231,234,236,0.12); color: #E7EAEC; }
.ig-btn { display: inline-flex; align-items: center; gap: 8px; }
.ig-btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.ig-fine { font-size: 12px; line-height: 1.5; color: rgba(231,234,236,0.65); margin-top: 16px; max-width: 520px; }

/* Decorative DM mock (aria-hidden, hidden on small screens). */
.ig-mock {
  justify-self: center;
  width: 100%;
  max-width: 320px;
  padding: 18px;
  border-radius: 24px;
  border: 1px solid rgba(138,198,227,0.35);
  background: rgba(255,255,255,0.06);
  box-shadow: 0 24px 48px -16px rgba(0,0,0,0.5);
  transform: rotate(-3deg);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.ig-mock-head { display: flex; align-items: center; gap: 10px; font-weight: 700; color: #fff; padding-bottom: 12px; border-bottom: 1px solid rgba(231,234,236,0.14); }
.ig-mock-head img { width: 36px; height: 36px; border-radius: 50%; background: #E7EAEC; }
.ig-mock-head svg { width: 22px; height: 22px; margin-left: auto; color: #E7EAEC; }
.ig-bubble { max-width: 85%; padding: 10px 16px; border-radius: 18px; }
.ig-bubble-me {
  align-self: flex-end;
  background: linear-gradient(120deg, #8AC6E3, #B2D589);
  color: #0E2436;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.06em;
}
.ig-bubble-them { align-self: flex-start; background: rgba(255,255,255,0.12); color: #fff; font-size: 15px; }
.ig-bubble-link { margin-top: -6px; border: 1px solid rgba(138,198,227,0.6); color: #8AC6E3; font-weight: 700; }
.ig-bubble-link span { margin-left: 6px; }
.ig-input {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 4px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(231,234,236,0.25);
  color: rgba(231,234,236,0.55);
  font-size: 14px;
}
.ig-input svg { width: 18px; height: 18px; color: #8AC6E3; }
@media (max-width: 900px) {
  .hero-slide-ig { padding: 36px 0 74px; }
  .ig-inner { grid-template-columns: 1fr; }
  .ig-mock { display: none; }
  .ig-title .pt-1 { font-size: clamp(30px, 8.4vw, 50px); }
  .ig-title .pt-2 { font-size: clamp(46px, 13vw, 78px); }
  .ig-title { margin-bottom: 14px; }
  .ig-line { font-size: 18px; margin-bottom: 10px; }
  .ig-steps { flex-direction: column; gap: 6px; margin-bottom: 16px; font-size: 14px; }
  .hero-slide-ig .hero-ctas { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .hero-slide-ig .hero-ctas .btn { text-align: center; padding-left: 10px; padding-right: 10px; }
  .ig-btn { justify-content: center; }
}
@media (max-width: 400px) {
  .hero-slide-ig .hero-ctas .btn { font-size: 12px; letter-spacing: 0.02em; }
}

/* Slide 3 (Instagram giveaway), color-block version: a brand light-blue
   panel (so it does not read like slide 2's full photo), navy copy, and on
   the right the IV bag photo in a tilted frame with the chat card
   overlapping it. These rules override the earlier dark-navy version. */
.hero-slide-ig {
  background-color: #CFE7F3;
  /* The entrance photo is scaled and pushed right so the HiS sign on the
     wall lands at the far right, clear of the framed photo. A flat layer
     feathers the photo's left edge, which sits behind the copy. */
  background-image:
    linear-gradient(115deg, rgba(234,244,249,0.96) 0%, rgba(207,231,243,0.90) 42%, rgba(160,208,232,0.50) 100%),
    linear-gradient(90deg, #CFE7F3 0, #CFE7F3 34.5vw, rgba(207,231,243,0) 48vw),
    url('/assets/entrance-bright.jpg');
  background-size: cover, cover, 76vw auto;
  background-position: center, center, 34.5vw 57%;
  background-repeat: no-repeat;
  color: #0E2436;
}
.hero-slide-ig .hero-shapes {
  --sa: rgba(14,36,54,0.10);
  --sb: rgba(31,90,122,0.16);
  --sc: rgba(143,181,102,0.30);
}
.hero-slide-ig .eyebrow { color: #1F5A7A; }
.ig-title { color: #0E2436; }
.ig-title .pt-2 { color: #1F5A7A; }
.ig-line { color: #0E2436; }
.ig-word { color: #B2D589; background: #0E2436; padding: 1px 10px 2px; border-radius: 6px; }
.ig-steps { color: #0E2436; }
.ig-steps b { background: #0E2436; color: #B2D589; }
.hero-slide-ig .btn-primary { background: #0E2436; color: #E7EAEC; }
.hero-slide-ig .btn-primary:hover { background: #1F5A7A; }
.hero-slide-ig .btn-secondary { color: #0E2436; border-color: #0E2436; }
.hero-slide-ig .btn-secondary:hover { background: #0E2436; color: #E7EAEC; }
.ig-fine { color: rgba(14,36,54,0.75); }
.ig-visual {
  position: relative;
  justify-self: center;
  width: 100%;
  max-width: 320px;
  margin: -12px 0;
}
.ig-photo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 92% 40%;
  border-radius: 24px;
  border: 6px solid #fff;
  box-shadow: 0 26px 50px -18px rgba(14,36,54,0.55);
  transform: rotate(3deg);
}
.ig-mock {
  position: absolute;
  left: -132px;
  bottom: 18px;
  width: 250px;
  max-width: none;
  padding: 14px;
  gap: 10px;
  background: rgba(14,36,54,0.96);
  border-color: rgba(138,198,227,0.4);
  box-shadow: 0 24px 48px -16px rgba(14,36,54,0.6);
  transform: rotate(-4deg);
}
.ig-mock .ig-bubble-me { font-size: 18px; }
.ig-mock .ig-bubble-them { font-size: 13.5px; }
@media (max-width: 1240px) {
  .ig-visual { max-width: 270px; }
  .ig-mock { left: -40px; width: 220px; }
}
@media (max-width: 900px) {
  .ig-visual { display: none; }
  .hero-slide-ig {
    padding-top: calc(var(--hero-photo-h) + 20px);
    background-size: cover;
    background-position: center;
  }
  .hero-slide-ig::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: var(--hero-photo-h);
    background: url('/assets/ig-giveaway.jpg') 100% 38% / cover no-repeat;
  }
  .hero-slide-ig .hero-shapes { top: var(--hero-photo-h); }
}

/* Very wide screens: the hero stops growing at 640px tall, so the photos
   stop growing too and their left edge would show past a percentage-based
   scrim. Anchor the scrims to the right edge in pixels instead. */
@media (min-width: 1921px) {
  .hero-slide-main {
    background-image:
      linear-gradient(to left, rgba(231,234,236,0) 0, rgba(231,234,236,0) 691px, rgba(231,234,236,0.85) 922px, #E7EAEC 1075px),
      url('/assets/hero-phillip.jpg');
  }
  .hero-slide-promo {
    background-image:
      linear-gradient(to left, rgba(243,238,229,0) 0, rgba(243,238,229,0) 576px, rgba(243,238,229,0.86) 845px, #F3EEE5 1037px),
      url('/assets/iv-room.jpg');
  }
}

/* ==========================================================================
   Privacy Policy page ("legal-"): plain-spoken document with a short
   summary, a sticky index, and numbered section cards. Everything here is
   scoped to legal- classes so no other page changes.
   ========================================================================== */
.page-header.legal-header {
  display: flex;
  align-items: center;
  min-height: 300px;
  padding: 64px 0 96px;
  background-color: #EEF2F4;
  background-image: url('/assets/brand-bg-light.jpg');
  background-position: center center;
}
.page-header.legal-header::before { background: linear-gradient(90deg, rgba(238,242,244,0.9) 0%, rgba(238,242,244,0.6) 45%, rgba(238,242,244,0) 70%); }
.page-header.legal-header .container { width: 100%; }
.page-header.legal-header h1 { font-size: 56px; }
.legal-shield {
  position: absolute;
  z-index: 1;
  top: calc(50% - 24px);
  right: max(48px, calc((100vw - 1200px) / 2 + 48px));
  transform: translateY(-50%);
  width: 180px;
  height: 180px;
  color: #1F5A7A;
  opacity: 0.22;
  pointer-events: none;
}

/* The short version: 4 cards overlapping the header's bottom edge. */
.legal-short { position: relative; z-index: 2; margin-top: -48px; }
.legal-short-label {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #1F5A7A;
  margin-bottom: 12px;
}
.legal-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.legal-card { display: block; }
.legal-card-in {
  position: relative;
  overflow: hidden;
  height: 100%;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(14,36,54,0.22);
  transition: transform 300ms var(--ease-out), box-shadow 300ms var(--ease-out);
}
.legal-card-in::before { content: ""; position: absolute; inset: 0; z-index: 0; opacity: 0; transition: opacity 300ms var(--ease-out); }
.legal-card-in > * { position: relative; z-index: 1; }
.legal-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  background: rgba(14,36,54,0.88);
  color: #8AC6E3;
}
.legal-card:nth-child(2n) .legal-card-icon,
.legal-card:nth-child(3) .legal-card-icon { color: #B2D589; }
.legal-card-icon svg { width: 30px; height: 30px; display: block; }
.legal-card h3 { font-weight: 800; font-size: 17px; margin-bottom: 6px; }
.legal-card p { font-size: 14px; line-height: 1.5; color: inherit; opacity: 0.9; }
.legal-card:nth-child(1) .legal-card-in { background: #0E2436; color: #E7EAEC; }
.legal-card:nth-child(1) .legal-card-in::before { background: #1F5A7A; }
.legal-card:nth-child(2) .legal-card-in { background: #BFE1F2; color: #0E2436; }
.legal-card:nth-child(2) .legal-card-in::before { background: #8AC6E3; }
.legal-card:nth-child(3) .legal-card-in { background: #CFE6B3; color: #0E2436; }
.legal-card:nth-child(3) .legal-card-in::before { background: #B2D589; }
.legal-card:nth-child(4) .legal-card-in { background: #1F5A7A; color: #E7EAEC; }
.legal-card:nth-child(4) .legal-card-in::before { background: #2A7068; }
@media (hover: hover) {
  .legal-card:hover .legal-card-in { transform: translateY(-4px); box-shadow: 0 16px 30px rgba(14,36,54,0.34); }
  .legal-card:hover .legal-card-in::before { opacity: 1; }
}
.legal-cards > .reveal-pending:nth-child(2) { transition-delay: 60ms; }
.legal-cards > .reveal-pending:nth-child(3) { transition-delay: 120ms; }
.legal-cards > .reveal-pending:nth-child(4) { transition-delay: 180ms; }

/* Body: sticky index + reading column. */
section.legal-body { padding: 48px 0 88px; }
.legal-layout { display: grid; grid-template-columns: 240px minmax(0, 720px); gap: 48px; align-items: start; }
.legal-index { position: sticky; top: 100px; }
.legal-index-title { font-size: 12px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: #8AC6E3; margin-bottom: 12px; }
.legal-index ol { list-style: none; display: grid; gap: 2px; }
.legal-index a {
  display: block;
  padding: 7px 12px;
  border-left: 3px solid rgba(231,234,236,0.16);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  text-decoration: none;
  color: rgba(231,234,236,0.78);
  transition: color var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out);
}
.legal-index a span { font-weight: 800; color: #8AC6E3; margin-right: 6px; font-variant-numeric: tabular-nums; }
.legal-index a:hover { color: #fff; }
.legal-index a[aria-current="true"] { color: #fff; border-left-color: #B2D589; }
.legal-index a[aria-current="true"] span { color: #B2D589; }
.legal-main { display: grid; gap: 18px; min-width: 0; }
.legal-note {
  padding: 18px 22px;
  border-radius: 12px;
  border-left: 5px solid #8AC6E3;
  background: rgba(238,241,243,0.92);
  color: #0E2436;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.6;
  box-shadow: 0 6px 16px rgba(14,36,54,0.14);
}
section.legal-section {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  column-gap: 20px;
  padding: 28px 32px;
  scroll-margin-top: 100px;
  border-radius: 14px;
  background: rgba(238,241,243,0.9);
  box-shadow: 0 10px 24px rgba(14,36,54,0.2);
  color: #0E2436;
}
.legal-num {
  font-family: 'Barlow Condensed', 'Arial Narrow', Impact, sans-serif;
  font-weight: 800;
  font-size: 64px;
  line-height: 0.9;
  color: #1F5A7A;
  opacity: 0.45;
}
.legal-section h2 { font-weight: 800; font-size: 23px; line-height: 1.25; margin-bottom: 12px; color: #0E2436; }
.legal-section p { font-size: 16px; line-height: 1.65; color: rgba(14,36,54,0.88); }
.legal-section p + p, .legal-defs + p { margin-top: 12px; }
.legal-section a { color: #1F5A7A; font-weight: 700; text-decoration: underline; }
.legal-defs { display: block; }
.legal-def { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 16px; align-items: start; padding: 12px 0; border-top: 1px solid rgba(14,36,54,0.14); }
.legal-def:first-child { border-top: 0; padding-top: 2px; }
.legal-def dt {
  justify-self: start;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.3;
  padding: 5px 12px;
  border-radius: 999px;
  background: #0E2436;
  color: #E7EAEC;
}
.legal-def dd { font-size: 16px; line-height: 1.6; color: rgba(14,36,54,0.88); }
.legal-section a:focus-visible, .legal-index a:focus-visible { outline: 2px solid #1F5A7A; outline-offset: 2px; }
.legal-index a:focus-visible { outline-color: #8AC6E3; }

/* Contact Us: navy call-out. */
section.legal-contact { background: #0E2436; border: 1px solid rgba(138,198,227,0.3); }
.legal-contact .legal-num { color: #8AC6E3; opacity: 0.6; }
.legal-contact h2 { color: #E7EAEC; }
.legal-contact p { color: rgba(231,234,236,0.9); }
.legal-contact a:not(.btn) { color: #8AC6E3; }
.legal-contact-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.legal-contact .btn { text-decoration: none; font-weight: 700; }
.legal-contact .btn-primary { color: #0E2436; }
.legal-contact .btn-secondary { color: #E7EAEC; }

@media (max-width: 1080px) {
  .legal-cards { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 999px) {
  /* Index becomes a scrollable chip row above the sections. */
  .legal-layout { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .legal-index { position: static; min-width: 0; }
  .legal-index-title { display: none; }
  .legal-index ol { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; -webkit-overflow-scrolling: touch; }
  .legal-index li { flex-shrink: 0; }
  .legal-index a { white-space: nowrap; border: 1px solid rgba(231,234,236,0.28); border-radius: 999px; padding: 7px 14px; }
  .legal-index a[aria-current="true"] { border-color: #B2D589; }
}
@media (max-width: 900px) {
  .legal-shield { display: none; }
  .page-header.legal-header { display: block; min-height: 0; padding: 48px 0 80px; }
  .page-header.legal-header::before { background: rgba(238,242,244,0.55); }
  .page-header.legal-header h1 { font-size: 40px; }
}
@media (max-width: 640px) {
  .legal-cards { grid-template-columns: 1fr; }
  .legal-short { margin-top: -40px; }
  section.legal-section { grid-template-columns: minmax(0, 1fr); padding: 22px 20px; }
  .legal-num { font-size: 44px; margin-bottom: 6px; }
  .legal-section h2 { font-size: 21px; }
  .legal-def { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  section.legal-body { padding: 36px 0 64px; }
}
@media (prefers-reduced-motion: reduce) {
  .legal-card:hover .legal-card-in { transform: none; }
}

/* Privacy Policy on desktop (>= 1000px): no boxes. The policy reads as an
   open document straight on the brand background, like the rest of the
   site: numeral, section title on the left, text on the right, hairlines
   between sections. The summary cards and the side index are phone and
   tablet only (the owner likes that version as it is). */
@media (min-width: 1000px) {
  .legal-short { display: none; }
  .legal-index { display: none; }
  section.legal-body { padding: 64px 0 96px; }
  .legal-layout { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .legal-main { gap: 0; max-width: 1060px; }
  .legal-note {
    max-width: 780px;
    margin-bottom: 44px;
    padding: 4px 0 4px 22px;
    border-radius: 0;
    border-left: 3px solid #B2D589;
    background: none;
    box-shadow: none;
    color: #E7EAEC;
    font-size: 21px;
    line-height: 1.5;
  }
  section.legal-section {
    grid-template-columns: 96px minmax(0, 1fr);
    column-gap: 16px;
    padding: 36px 0;
    border-radius: 0;
    border-top: 1px solid rgba(231,234,236,0.18);
    background: none;
    box-shadow: none;
    color: #E7EAEC;
  }
  .legal-num { font-size: 58px; color: #8AC6E3; opacity: 0.85; }
  .legal-section-body::after { content: ""; display: block; clear: both; }
  .legal-section-body > h2 { float: left; width: 300px; margin: 4px 0 0; font-size: 25px; color: #E7EAEC; }
  .legal-section-body > *:not(h2) { margin-left: 348px; }
  .legal-section p, .legal-def dd { font-size: 17px; color: rgba(231,234,236,0.86); }
  .legal-section a { color: #8AC6E3; }
  .legal-def { grid-template-columns: 170px minmax(0, 1fr); border-top-color: rgba(231,234,236,0.14); }
  .legal-def dt { background: rgba(138,198,227,0.14); color: #8AC6E3; border: 1px solid rgba(138,198,227,0.35); }
  .legal-section a:focus-visible { outline-color: #8AC6E3; }
  /* Contact stays as the one framed block, to close the document. */
  section.legal-contact {
    margin-top: 12px;
    padding: 36px 36px 36px 28px;
    border-radius: 14px;
    border: 1px solid rgba(138,198,227,0.3);
    background: rgba(9,26,40,0.62);
  }
}

/* ==========================================================================
   Framed page headers (services pages + contact): light brand pattern band,
   text left, the page photo in a tilted white frame on the right that breaks
   the band's bottom edge, with a green "shadow card" peeking out behind it.
   Scoped to .ph-framed so Providers and Privacy keep their own headers.
   ========================================================================== */
.page-header.ph-framed {
  display: flex;
  align-items: center;
  min-height: 340px;
  padding: 64px 0 72px;
  overflow: visible;
  z-index: 2;
  background-color: #EEF2F4;
  background-image: url('/assets/brand-bg-light.jpg');
  background-size: cover;
  background-position: center center;
}
.page-header.ph-framed::before { background: linear-gradient(90deg, rgba(238,242,244,0.9) 0%, rgba(238,242,244,0.6) 45%, rgba(238,242,244,0) 70%); }
.page-header.ph-framed .container { width: 100%; }
.page-header.ph-framed h1 { font-size: 48px; line-height: 1.1; }
.page-header-photo {
  /* Wrapper only: the green card is ::before and the photo is ::after, so
     the card can sit BEHIND the photo. Each page sets --ph-photo/--ph-pos. */
  position: absolute;
  z-index: 3;
  right: max(48px, calc((100vw - 1200px) / 2 + 48px));
  bottom: -36px;
  width: 440px;
  aspect-ratio: 3 / 2;
  transform: rotate(2deg);
}
.page-header-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 18px;
  background: #B2D589;
  opacity: 0.9;
  transform: translate(-18px, 16px) rotate(-3deg);
}
.page-header-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 6px solid #fff;
  border-radius: 18px;
  background-color: #D5DDE2;
  background-image: var(--ph-photo);
  background-size: cover;
  background-position: var(--ph-pos, center);
  box-shadow: 0 26px 50px -18px rgba(14,36,54,0.5);
}
.ph-services .page-header-photo { --ph-photo: url('/assets/exam-room-bright.jpg'); --ph-pos: center center; }
.ph-primary-care .page-header-photo { --ph-photo: url('/assets/consult-phillip.jpg'); --ph-pos: center center; }
.ph-sexual-health .page-header-photo { --ph-photo: url('/assets/sexual-health.jpg'); --ph-pos: 40% center; }
.ph-trt .page-header-photo { --ph-photo: url('/assets/trt-bloodwork.jpg'); --ph-pos: center center; }
.ph-weight .page-header-photo { --ph-photo: url('/assets/weight-management.jpg'); --ph-pos: 70% 20%; }
.ph-iv .page-header-photo { --ph-photo: url('/assets/iv-room.jpg'); --ph-pos: 75% 60%; }
.ph-hair-loss .page-header-photo { --ph-photo: url('/assets/hair-loss.jpg'); --ph-pos: center center; }
.ph-prostate .page-header-photo { --ph-photo: url('/assets/exam-room-bright.jpg'); --ph-pos: center center; }
.ph-mental .page-header-photo { --ph-photo: url('/assets/mental-health.jpg'); --ph-pos: center center; }
.ph-sti .page-header-photo { --ph-photo: url('/assets/trt-bloodwork.jpg'); --ph-pos: center center; }
.ph-anal .page-header-photo { --ph-photo: url('/assets/consult-room.jpg'); --ph-pos: center 55%; }
.ph-contact .page-header-photo { --ph-photo: url('/assets/contact-entrance.jpg'); --ph-pos: center 45%; }
@media (max-width: 900px) {
  .page-header.ph-framed { display: flow-root; min-height: 0; padding: 48px 0 0; }
  .page-header.ph-framed::before { background: rgba(238,242,244,0.55); }
  .page-header.ph-framed h1 { font-size: 36px; }
  .page-header-photo {
    position: relative;
    right: auto;
    bottom: auto;
    width: calc(100% - 40px);
    max-width: 520px;
    aspect-ratio: 16 / 10;
    margin: 28px auto -24px;
    transform: rotate(1deg);
  }
  .page-header-photo::before { transform: translate(-10px, 10px) rotate(-2deg); }
  .page-header.ph-framed + section { margin-top: 24px; }
}
@media (max-width: 640px) {
  .page-header.ph-framed h1 { font-size: 32px; }
}

/* ==========================================================================
   Services page ("svc-"): intro, 12 colorful cards, and the four care facts.
   .reveal sits on the outer .svc-card; the lift lives on .svc-card-in.
   ========================================================================== */
section.svc-section { padding: 88px 0 64px; }
.svc-intro { max-width: 720px; margin-bottom: 40px; }
.svc-intro h2 { font-weight: 800; font-size: 34px; line-height: 1.15; letter-spacing: -0.01em; margin-bottom: 12px; }
.svc-intro p { font-size: 17px; line-height: 1.6; color: rgba(231,234,236,0.8); }
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.svc-card { display: block; }
.svc-card-in {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 26px;
  border-radius: 14px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.22);
  transition: transform 300ms var(--ease-out), box-shadow 300ms var(--ease-out);
}
.svc-card-in::before { content: ""; position: absolute; inset: 0; z-index: 0; opacity: 0; transition: opacity 300ms var(--ease-out); }
.svc-card-in > * { position: relative; z-index: 1; }
.svc-num {
  position: absolute;
  top: 14px;
  right: 20px;
  font-family: 'Barlow Condensed', 'Arial Narrow', Impact, sans-serif;
  font-weight: 800;
  font-size: 44px;
  line-height: 1;
  opacity: 0.22;
}
.svc-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  background: rgba(14,36,54,0.88);
  color: #8AC6E3;
  transition: background-color 300ms var(--ease-out), color 300ms var(--ease-out);
}
.svc-icon svg { width: 32px; height: 32px; display: block; }
.svc-card h3 { font-weight: 800; font-size: 19px; line-height: 1.3; margin-bottom: 8px; padding-right: 36px; }
.svc-card p { font-size: 15px; line-height: 1.55; color: inherit; opacity: 0.9; margin-bottom: 20px; }
.svc-link {
  align-self: flex-start;
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px 14px 8px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-decoration: none;
  transition: background-color var(--dur-fast) var(--ease-out);
}
.svc-link svg { width: 16px; height: 16px; }
/* Tint cycle of 4 over 3 columns: no tint repeats in a row or column. */
.svc-card:nth-child(4n+1) .svc-card-in { background: linear-gradient(145deg, #1F5A7A 0%, #0E2436 100%); color: #E7EAEC; }
.svc-card:nth-child(4n+1) .svc-card-in::before { background: linear-gradient(145deg, #2F86B0 0%, #1F5A7A 100%); }
.svc-card:nth-child(4n+2) .svc-card-in { background: #BFE1F2; color: #0E2436; }
.svc-card:nth-child(4n+2) .svc-card-in::before { background: #8AC6E3; }
.svc-card:nth-child(4n+3) .svc-card-in { background: #CFE6B3; color: #0E2436; }
.svc-card:nth-child(4n+3) .svc-card-in::before { background: #B2D589; }
.svc-card:nth-child(4n+4) .svc-card-in { background: linear-gradient(145deg, #1F5A7A 0%, #2A7068 100%); color: #E7EAEC; }
.svc-card:nth-child(4n+4) .svc-card-in::before { background: linear-gradient(145deg, #2B7BA3 0%, #3A8A63 100%); }
.svc-card:nth-child(4n+2) .svc-icon,
.svc-card:nth-child(4n+3) .svc-icon { color: #B2D589; }
.svc-card:nth-child(4n+1) .svc-link,
.svc-card:nth-child(4n+4) .svc-link { background: rgba(231,234,236,0.18); color: #E7EAEC; }
.svc-card:nth-child(4n+2) .svc-link,
.svc-card:nth-child(4n+3) .svc-link { background: #0E2436; color: #E7EAEC; }
.svc-link:focus-visible { outline: 2px solid #8AC6E3; outline-offset: 2px; }
.svc-card:focus-within .svc-card-in,
.svc-card.is-active .svc-card-in { transform: translateY(-5px); box-shadow: 0 20px 40px rgba(0,0,0,0.38); }
.svc-card:focus-within .svc-card-in::before,
.svc-card.is-active .svc-card-in::before { opacity: 1; }
.svc-card:focus-within .svc-icon,
.svc-card.is-active .svc-icon { background: #E7EAEC; color: #0E2436; }
@media (hover: hover) {
  .svc-card:hover .svc-card-in { transform: translateY(-5px); box-shadow: 0 20px 40px rgba(0,0,0,0.38); }
  .svc-card:hover .svc-card-in::before { opacity: 1; }
  .svc-card:hover .svc-icon { background: #E7EAEC; color: #0E2436; }
}
@media (prefers-reduced-motion: reduce) {
  .svc-card:focus-within .svc-card-in,
  .svc-card.is-active .svc-card-in,
  .svc-card:hover .svc-card-in { transform: none; }
}

/* The four care facts, on a dark translucent panel. */
section.svc-care { padding: 0 0 88px; }
.svc-care-panel { padding: 28px; border-radius: 14px; background: rgba(9,26,40,0.6); }
.svc-care-panel h2 { font-weight: 800; font-size: 26px; margin-bottom: 22px; }
.svc-facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.svc-fact-icon { width: 44px; height: 44px; border-radius: 50%; background: rgba(178,213,137,0.12); display: flex; align-items: center; justify-content: center; margin-bottom: 12px; }
.svc-fact-icon svg { width: 26px; height: 26px; display: block; }
.svc-fact h3 { font-weight: 800; font-size: 16px; line-height: 1.35; margin-bottom: 6px; }
.svc-fact p { font-size: 14px; line-height: 1.55; color: rgba(231,234,236,0.78); }
@media (max-width: 1080px) {
  .svc-grid { grid-template-columns: 1fr 1fr; }
  .svc-facts { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  section.svc-section { padding: 56px 0 48px; }
  .svc-intro h2 { font-size: 27px; }
  .svc-grid, .svc-facts { grid-template-columns: 1fr; }
  .svc-card-in { padding: 22px; }
  .svc-care-panel { padding: 22px; }
  section.svc-care { padding-bottom: 64px; }
}

/* Contact info card: sits beside the form as its equal (same weight, larger
   type), instead of a column of small labels. */
.info-card {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 34px 32px;
  border-radius: 14px;
  border: 1px solid rgba(138,198,227,0.28);
  background: rgba(9,26,40,0.66);
  box-shadow: 0 20px 48px -18px rgba(0,0,0,0.5);
}
.info-row { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 16px; align-items: start; }
.info-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(138,198,227,0.14);
  color: #8AC6E3;
}
.info-icon svg { width: 26px; height: 26px; }
.info-row-phone .info-icon { background: #B2D589; color: #0E2436; }
.info-card .info-label { font-size: 12px; color: #8AC6E3; margin-bottom: 4px; }
.info-card .info-value { font-size: 20px; font-weight: 700; line-height: 1.35; }
.info-card .info-phone { font-size: 28px; font-weight: 800; letter-spacing: -0.01em; }
.info-card .info-phone a { color: #E7EAEC; }
.info-card .info-phone a:hover { color: #B2D589; }
.info-card .hours-line { font-size: 19px; font-weight: 600; color: #E7EAEC; line-height: 1.5; }
.info-link { display: inline-block; margin-top: 6px; font-size: 14px; font-weight: 700; color: #B2D589; text-decoration: none; }
.info-link:hover { text-decoration: underline; }
.info-card .es-note {
  font-size: 16px;
  color: #0E2436;
  background: linear-gradient(120deg, #C5E0A3, #B2D589);
  border-top: 0;
  border-radius: 10px;
  padding: 14px 18px;
  font-weight: 600;
}
.info-connect { border-top: 1px solid rgba(231,234,236,0.14); padding-top: 20px; }
.info-card .social-links { gap: 12px; flex-wrap: wrap; margin-top: 8px; }
.info-card .social-links a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 700;
  color: #E7EAEC;
  padding: 8px 16px 8px 8px;
  border-radius: 999px;
  border: 1px solid rgba(231,234,236,0.24);
  transition: background var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out);
}
.info-card .social-links a:hover { text-decoration: none; background: rgba(138,198,227,0.14); border-color: #8AC6E3; }
.social-icon { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: #E7EAEC; color: #0E2436; }
.social-icon svg { width: 20px; height: 20px; }
@media (max-width: 640px) {
  .info-card { padding: 26px 20px; gap: 20px; }
  .info-card .info-phone { font-size: 24px; }
  .info-card .info-value, .info-card .hours-line { font-size: 18px; }
}

/* ==========================================================================
   Appointments page ("appt-"): 3-step request flow. Step 1 is a day-only
   calendar (no time slots), step 2 a short form, step 3 the confirmation.
   ========================================================================== */
.page-header.ph-plain {
  padding: 56px 0 64px;
  background-color: #EEF2F4;
  background-image: url('/assets/brand-bg-light.jpg');
  background-size: cover;
  background-position: center center;
}
.page-header.ph-plain::before { background: linear-gradient(90deg, rgba(238,242,244,0.9) 0%, rgba(238,242,244,0.6) 45%, rgba(238,242,244,0) 70%); }
.page-header.ph-plain h1 { font-size: 48px; line-height: 1.1; }
@media (max-width: 900px) {
  .page-header.ph-plain { padding: 44px 0 48px; }
  .page-header.ph-plain::before { background: rgba(238,242,244,0.55); }
  .page-header.ph-plain h1 { font-size: 36px; }
}
section.appt-section { padding: 48px 0 96px; }
.appt-card {
  display: grid;
  grid-template-columns: minmax(0, 36fr) minmax(0, 64fr);
  max-width: 1040px;
  margin: 0 auto;
  border-radius: 16px;
  box-shadow: 0 26px 50px -20px rgba(0,0,0,0.55);
}
.appt-side {
  padding: 36px 30px;
  border-radius: 16px 0 0 16px;
  background: #0E2436;
  color: #E7EAEC;
}
.appt-side-eyebrow { font-size: 12px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: #8AC6E3; margin-bottom: 8px; }
.appt-side h2 { font-weight: 800; font-size: 26px; line-height: 1.2; margin-bottom: 20px; }
.appt-info { list-style: none; display: grid; gap: 12px; margin-bottom: 28px; }
.appt-info li { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; line-height: 1.5; color: rgba(231,234,236,0.88); }
.appt-info svg { width: 20px; height: 20px; flex-shrink: 0; margin-top: 1px; color: #8AC6E3; }
.appt-steps { list-style: none; display: grid; gap: 0; padding-top: 22px; border-top: 1px solid rgba(231,234,236,0.16); }
.appt-step-item { position: relative; display: flex; align-items: center; gap: 14px; padding: 9px 0; color: rgba(231,234,236,0.5); font-size: 15px; font-weight: 600; }
.appt-step-item:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 15px;
  top: 41px;
  height: 14px;
  width: 2px;
  background: rgba(231,234,236,0.18);
}
.appt-step-badge {
  position: relative;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 2px solid rgba(231,234,236,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}
.appt-step-badge b { font-weight: 800; }
.appt-step-badge svg { display: none; width: 18px; height: 18px; }
.appt-step-item.is-current { color: #E7EAEC; }
.appt-step-item.is-current .appt-step-badge { background: #B2D589; border-color: #B2D589; color: #0E2436; }
.appt-step-item.is-done { color: rgba(231,234,236,0.85); }
.appt-step-item.is-done .appt-step-badge { border-color: #B2D589; color: #B2D589; }
.appt-step-item.is-done .appt-step-badge b { display: none; }
.appt-step-item.is-done .appt-step-badge svg { display: block; }
.appt-chosen { margin-top: 22px; padding: 12px 14px; border-radius: 10px; background: rgba(138,198,227,0.12); border: 1px solid rgba(138,198,227,0.35); font-size: 14px; }
.appt-chosen strong { color: #B2D589; font-weight: 800; }

.appt-main { padding: 36px 36px 32px; border-radius: 0 16px 16px 0; background: #E7EAEC; color: #0E2436; min-width: 0; }
.appt-panel:not([hidden]) { animation: appt-fade 300ms var(--ease-out); }
@keyframes appt-fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.appt-panel h2 { font-weight: 800; font-size: 26px; line-height: 1.2; margin-bottom: 18px; color: #0E2436; }
.appt-panel h2:focus { outline: none; }
.appt-panel h2:focus-visible { outline: 2px solid #8AC6E3; outline-offset: 4px; }
.appt-panel button:focus-visible, .appt-panel a:focus-visible, .appt-panel input:focus-visible { outline: 2px solid #8AC6E3; outline-offset: 2px; }

/* Calendar */
.appt-cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.appt-cal-month { font-family: 'Barlow Condensed', 'Arial Narrow', Impact, sans-serif; font-weight: 800; font-size: 28px; letter-spacing: 0.02em; text-transform: uppercase; }
.appt-cal-nav {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid rgba(14,36,54,0.2);
  background: #fff;
  color: #0E2436;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.appt-cal-nav svg { width: 20px; height: 20px; }
.appt-cal-nav:hover:not(:disabled) { background: #0E2436; color: #E7EAEC; }
.appt-cal-nav:disabled { opacity: 0.35; cursor: default; }
.appt-cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.appt-cal-dow span { text-align: center; font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(14,36,54,0.55); padding: 6px 0; }
.appt-day {
  min-height: 44px;
  aspect-ratio: 1 / 0.9;
  border-radius: 50%;
  border: 0;
  background: transparent;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  color: #0E2436;
  cursor: pointer;
  transition: background-color var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);
}
.appt-day:hover:not(:disabled) { background: rgba(138,198,227,0.45); }
.appt-day:focus-visible { outline: 2px solid #1F5A7A; outline-offset: 1px; }
.appt-day:disabled { color: rgba(14,36,54,0.28); font-weight: 600; cursor: default; }
.appt-day.is-today { box-shadow: inset 0 0 0 1.5px rgba(14,36,54,0.35); }
.appt-day.is-selected, .appt-day.is-selected:hover { background: #0E2436; color: #fff; }
.appt-hint { margin: 16px 0 18px; font-size: 14px; font-weight: 600; color: rgba(14,36,54,0.75); }
.appt-continue { width: 100%; }
.appt-continue:disabled { opacity: 0.45; cursor: not-allowed; transform: none; }

/* Step 2 */
.appt-back, .appt-change {
  font-family: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  color: #1F5A7A;
  font-weight: 700;
  text-decoration: underline;
}
.appt-back { display: inline-flex; align-items: center; gap: 2px; font-size: 14px; margin-bottom: 12px; text-decoration: none; }
.appt-back svg { width: 16px; height: 16px; }
.appt-change { font-size: 14px; margin-left: 6px; }
.appt-day-line { font-size: 15px; margin: -6px 0 18px; }
.appt-panel .field { margin-bottom: 16px; }
.appt-panel .field input { font-size: 16px; }
.appt-panel .field input[aria-invalid="true"] { border-color: #A15A4A; }
.appt-req { color: #A15A4A; font-weight: 700; }
.appt-err { min-height: 0; font-size: 12.5px; color: #8a3f31; margin-top: 5px; }
.appt-err:empty { display: none; }
.appt-calltime { border: 0; margin: 0 0 16px; padding: 0; min-width: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.appt-calltime legend { font-size: 12px; font-weight: 700; letter-spacing: 0.03em; margin-bottom: 8px; padding: 0; }
.appt-calltime legend em { font-weight: 400; color: rgba(14,36,54,0.55); }
.appt-opt { font-weight: 400; font-style: italic; color: rgba(14,36,54,0.55); }
.appt-form textarea, #ap-reason { min-height: 84px; }
.appt-calltime label { position: relative; }
.appt-calltime input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.appt-calltime span {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1.5px solid rgba(14,36,54,0.25);
  background: #fff;
  font-size: 14px;
  font-weight: 700;
}
.appt-calltime input:checked + span { background: #0E2436; border-color: #0E2436; color: #fff; }
.appt-calltime input:focus-visible + span { outline: 2px solid #8AC6E3; outline-offset: 2px; }
.appt-checks { display: grid; gap: 10px; margin-bottom: 18px; }
.appt-check { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; line-height: 1.5; cursor: pointer; }
.appt-check input { flex: none; width: 20px; height: 20px; margin-top: 1px; accent-color: #0E2436; }
.appt-submit { width: 100%; }
.appt-submit:disabled { opacity: 0.6; cursor: default; }
.appt-note { margin-top: 14px; font-size: 12px; line-height: 1.6; color: rgba(14,36,54,0.65); text-align: center; }
.appt-note a { color: #1F5A7A; font-weight: 700; }

/* Step 3 */
.appt-done p { font-size: 16px; line-height: 1.6; margin-bottom: 10px; }
.appt-done-badge { width: 64px; height: 64px; border-radius: 50%; background: #B2D589; color: #0E2436; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.appt-done-badge svg { width: 34px; height: 34px; stroke-width: 2.6; }
.appt-done-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.appt-btn-outline { background: transparent; color: #0E2436; border: 1.5px solid #0E2436; padding: 14.5px 32px; }
.appt-btn-outline:hover { background: #0E2436; color: #E7EAEC; }

@media (max-width: 900px) {
  section.appt-section { padding: 28px 0 64px; }
  .appt-card { grid-template-columns: minmax(0, 1fr); }
  .appt-side { border-radius: 16px 16px 0 0; padding: 24px 22px; }
  .appt-side h2 { font-size: 22px; margin-bottom: 14px; }
  .appt-info { gap: 8px; margin-bottom: 18px; }
  .appt-info li { font-size: 13.5px; }
  .appt-steps { padding-top: 14px; grid-template-columns: 1fr; }
  .appt-step-item { padding: 6px 0; font-size: 14px; }
  .appt-step-item:not(:last-child)::after { top: 34px; height: 10px; }
  .appt-main { border-radius: 0 0 16px 16px; padding: 26px 20px 24px; }
}
@media (max-width: 400px) {
  .appt-cal-grid { gap: 2px; }
  .appt-day { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .appt-panel:not([hidden]) { animation: none; }
}

/* ==========================================================================
   Service detail pages v3
   Overview (lead + cover tiles), jump pills, numbered topic chapters with
   a chip panel and Q&A cards, a full-bleed green steps band, and an even
   FAQ rhythm. Replaces the earlier "svx-" block (the old sticky two-column
   topic layout is gone; nothing else used it).
   ========================================================================== */
.page-header .eyebrow a { color: inherit; text-decoration: none; }
.page-header .eyebrow a:hover { text-decoration: underline; }

/* 1. Overview */
section.svp-overview { padding: 88px 0 64px; }
.svp-lead { margin-bottom: 48px; }
.svp-lead::before { content: ""; display: block; width: 56px; height: 4px; border-radius: 2px; background: #B2D589; margin-bottom: 20px; }
.svp-lead p:first-child { font-size: 32px; line-height: 1.25; font-weight: 800; color: #E7EAEC; max-width: 20em; }
.svp-lead p + p { font-size: 17px; line-height: 1.6; color: rgba(231,234,236,0.8); max-width: 62ch; margin-top: 16px; }
.svp-lead strong { color: #8AC6E3; }
.svp-covers h2 { font-size: 13px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: #8AC6E3; margin-bottom: 16px; }
.svp-covers-list { list-style: none; display: flex; flex-wrap: wrap; gap: 14px; }
.svp-covers-list li {
  flex: 1 1 190px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 118px;
  padding: 20px;
  border-radius: 14px;
  font-size: 16px;
  line-height: 1.35;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(0,0,0,0.2);
  transition: transform 250ms var(--ease-out), box-shadow 250ms var(--ease-out);
}
.svp-check { width: 36px; height: 36px; flex-shrink: 0; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.svp-check svg { width: 18px; height: 18px; display: block; }
.svp-covers-list li:nth-child(4n+1) { background: linear-gradient(145deg, #1F5A7A, #0E2436); color: #E7EAEC; border: 1px solid rgba(138,198,227,0.35); }
.svp-covers-list li:nth-child(4n+2) { background: #BFE1F2; color: #0E2436; }
.svp-covers-list li:nth-child(4n+3) { background: #CFE6B3; color: #0E2436; }
.svp-covers-list li:nth-child(4n+4) { background: linear-gradient(145deg, #1F5A7A, #2A7068); color: #E7EAEC; }
.svp-covers-list li:nth-child(4n+2) .svp-check,
.svp-covers-list li:nth-child(4n+3) .svp-check { background: #0E2436; color: #8AC6E3; }
.svp-covers-list li:nth-child(4n+1) .svp-check,
.svp-covers-list li:nth-child(4n+4) .svp-check { background: rgba(231,234,236,0.16); color: #B2D589; }
@media (hover: hover) {
  .svp-covers-list li:hover { transform: translateY(-4px); box-shadow: 0 18px 34px rgba(0,0,0,0.32); }
}

/* 2. Jump pills */
.svp-jump { padding: 0 0 16px; }
.svp-jump .container { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.svp-jump-label { font-size: 12px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(231,234,236,0.6); }
.svp-jump ul { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.svp-jump a {
  display: inline-block;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid rgba(231,234,236,0.25);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  color: #E7EAEC;
  white-space: nowrap;
  transition: background-color var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);
}
.svp-jump a:hover, .svp-jump a:focus-visible { background: #B2D589; color: #0E2436; border-color: #B2D589; }
.svp-jump a:focus-visible { outline: 2px solid #8AC6E3; outline-offset: 2px; }

/* 3. Topic chapters */
section.svx-section { padding: 72px 0 96px; }
.svp-overview + .svx-section { padding-top: 24px; }
.svp-jump + .svx-section { padding-top: 72px; }
.svx-topic { --svx-accent: #B2D589; --svx-feature: #CFE6B3; scroll-margin-top: 156px; }
.svx-topic.svx-even { --svx-accent: #8AC6E3; --svx-feature: #BFE1F2; }
.svx-topic + .svx-topic { margin-top: 96px; }
.svx-head { display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: end; margin-bottom: 32px; }
.svx-num {
  font-family: 'Barlow Condensed', 'Arial Narrow', Impact, sans-serif;
  font-weight: 800;
  font-size: 128px;
  line-height: 0.8;
  color: transparent;
  -webkit-text-stroke: 2px var(--svx-accent);
}
@supports not (-webkit-text-stroke: 2px #000) { .svx-num { color: var(--svx-accent); opacity: 0.5; } }
.svx-head h2 { font-size: 36px; line-height: 1.1; font-weight: 800; letter-spacing: -0.01em; }
.svx-head p { font-size: 17px; line-height: 1.6; color: rgba(231,234,236,0.8); max-width: 60ch; margin-top: 10px; }

.svx-panel {
  padding: 28px;
  margin-bottom: 20px;
  border-radius: 16px;
  border: 1px solid rgba(138,198,227,0.3);
  background: linear-gradient(145deg, #1F5A7A 0%, #143F58 100%);
}
.svx-panel-groups { display: flex; flex-wrap: wrap; gap: 24px 32px; }
.svx-group { flex: 1 1 220px; min-width: 0; }
.svx-group + .svx-group { padding-left: 32px; border-left: 1px solid rgba(231,234,236,0.2); }
.svx-chips-label { font-size: 12px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--svx-accent); margin-bottom: 12px; }
.svx-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.svx-chips li {
  font-size: 15px;
  font-weight: 700;
  color: #E7EAEC;
  padding: 9px 16px;
  border: 1px solid rgba(231,234,236,0.28);
  border-radius: 999px;
  background: rgba(231,234,236,0.1);
}

.svx-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.svx-cards > :first-child:nth-last-child(odd) { grid-column: 1 / -1; }
.svx-card {
  border-radius: 16px;
  border: 1px solid rgba(231,234,236,0.12);
  background: rgba(9,26,40,0.62);
  transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out), translate 250ms var(--ease-out), box-shadow 250ms var(--ease-out), border-color 250ms var(--ease-out);
}
.svx-card summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 26px 0;
  cursor: pointer;
  list-style: none;
}
.svx-card summary::-webkit-details-marker { display: none; }
.svx-card summary::marker { content: ""; }
.svx-card .q-text { font-size: 19px; line-height: 1.3; font-weight: 800; color: #E7EAEC; }
.svx-card .q-text::after { content: ""; display: block; width: 32px; height: 3px; margin-top: 12px; border-radius: 2px; background: var(--svx-accent); }
.svx-card .faq-chevron { margin-top: 2px; }
.svx-card[open] .faq-chevron { transform: rotate(180deg); }
.svx-card .faq-a { max-width: none; padding: 14px 26px 26px; font-size: 15.5px; line-height: 1.6; color: rgba(231,234,236,0.84); }
.svx-card.js-animated > .faq-a { overflow: hidden; transition: max-height var(--dur-base) var(--ease-out), opacity var(--dur-base) var(--ease-out); }
.svx-list { list-style: none; display: grid; gap: 6px; margin-top: 8px; }
.faq-a > .svx-list:first-child { margin-top: 0; }
.svx-after { margin-top: 12px; }
.svx-list li { position: relative; padding-left: 20px; }
.svx-list li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 8px; height: 8px; border-radius: 50%; background: var(--svx-accent); }
/* Featured (first) card: solid tint. */
.svx-card:first-child { background: var(--svx-feature); border-color: transparent; }
.svx-card:first-child .q-text, .svx-card:first-child .faq-a { color: #0E2436; }
.svx-card:first-child .q-text::after, .svx-card:first-child .svx-list li::before { background: #0E2436; }
.svx-card:first-child .faq-chevron svg polyline { stroke: #0E2436; }
.svx-cards > :first-child:nth-last-child(odd) .q-text { font-size: 22px; }
@media (min-width: 901px) {
  .svx-cards > :first-child:nth-last-child(odd) .svx-list { grid-template-columns: 1fr 1fr; column-gap: 32px; }
}
.svx-card:focus-within { border-color: var(--svx-accent); }
.svx-card summary:focus-visible { outline: 2px solid #8AC6E3; outline-offset: -4px; border-radius: 16px; }
.svx-cards.is-static summary { pointer-events: none; cursor: default; }
.svx-cards.is-static .faq-chevron { display: none; }
.svx-cards > .reveal-pending:nth-child(2) { transition-delay: 60ms; }
.svx-cards > .reveal-pending:nth-child(3) { transition-delay: 120ms; }
.svx-cards > .reveal-pending:nth-child(4) { transition-delay: 180ms; }
.svx-cards > .reveal-pending:nth-child(n+5) { transition-delay: 240ms; }
@media (hover: hover) {
  .svx-cards:not(.is-static) .svx-card:hover,
  .svx-cards.is-static .svx-card:hover { translate: 0 -3px; border-color: var(--svx-accent); box-shadow: 0 18px 36px rgba(0,0,0,0.35); }
  .svx-card:first-child:hover { border-color: transparent; }
}

.svx-note {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-top: 20px;
  padding: 16px 20px;
  border-radius: 12px;
  border: 1px solid rgba(178,213,137,0.4);
  background: rgba(178,213,137,0.08);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.6;
  color: #E7EAEC;
}
.svx-note svg { width: 22px; height: 22px; flex-shrink: 0; margin-top: 2px; }

/* 4. Steps band */
section.svp-steps {
  position: relative;
  overflow: hidden;
  padding: 72px 0;
  background: linear-gradient(120deg, #C5E0A3 0%, #B2D589 55%, #9CC673 100%);
  color: #0E2436;
}
/* Brand shapes in translucent white, same family as the home band. */
section.svp-steps::before,
section.svp-steps::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  pointer-events: none;
  background-repeat: no-repeat;
}
section.svp-steps::before { left: 0; width: 520px; background-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%22520%22 height=%22420%22 viewBox=%220 0 520 420%22%3E%3Cdefs%3E%3Cpattern id=%22g%22 width=%2214%22 height=%2214%22 patternUnits=%22userSpaceOnUse%22%3E%3Ccircle cx=%222%22 cy=%222%22 r=%222%22 fill=%22rgba(255,255,255,0.45)%22/%3E%3C/pattern%3E%3C/defs%3E%3Ccircle cx=%2240%22 cy=%22400%22 r=%22120%22 fill=%22none%22 stroke=%22rgba(255,255,255,0.22)%22 stroke-width=%2222%22/%3E%3Crect x=%22330%22 y=%2240%22 width=%2254%22 height=%2254%22 transform=%22rotate(45 357 67)%22 fill=%22none%22 stroke=%22rgba(255,255,255,0.4)%22 stroke-width=%223%22/%3E%3Crect x=%22420%22 y=%2220%22 width=%2236%22 height=%2236%22 transform=%22rotate(45 438 38)%22 fill=%22rgba(255,255,255,0.22)%22/%3E%3Ccircle cx=%22470%22 cy=%22120%22 r=%2211%22 fill=%22rgba(255,255,255,0.35)%22/%3E%3Cpath d=%22M440 330h22M451 319v22%22 stroke=%22rgba(255,255,255,0.5)%22 stroke-width=%223%22 stroke-linecap=%22round%22/%3E%3Crect x=%2230%22 y=%2240%22 width=%22110%22 height=%2290%22 fill=%22url(%23g)%22/%3E%3Cpath d=%22M200 380l14 14M214 380l-14 14%22 stroke=%22rgba(255,255,255,0.4)%22 stroke-width=%223%22 stroke-linecap=%22round%22/%3E%3C/svg%3E"); background-position: left top; }
section.svp-steps::after { right: 0; width: 620px; background-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%22620%22 height=%22420%22 viewBox=%220 0 620 420%22%3E%3Cdefs%3E%3Cpattern id=%22g%22 width=%2214%22 height=%2214%22 patternUnits=%22userSpaceOnUse%22%3E%3Ccircle cx=%222%22 cy=%222%22 r=%222%22 fill=%22rgba(255,255,255,0.45)%22/%3E%3C/pattern%3E%3C/defs%3E%3Ccircle cx=%22520%22 cy=%2270%22 r=%22118%22 fill=%22none%22 stroke=%22rgba(255,255,255,0.26)%22 stroke-width=%2226%22/%3E%3Crect x=%22330%22 y=%22280%22 width=%2264%22 height=%2264%22 transform=%22rotate(45 362 312)%22 fill=%22rgba(255,255,255,0.22)%22/%3E%3Crect x=%22470%22 y=%22330%22 width=%2240%22 height=%2240%22 transform=%22rotate(45 490 350)%22 fill=%22none%22 stroke=%22rgba(255,255,255,0.4)%22 stroke-width=%223%22/%3E%3Ccircle cx=%22250%22 cy=%22340%22 r=%2213%22 fill=%22rgba(255,255,255,0.35)%22/%3E%3Cline x1=%22380%22 y1=%22200%22 x2=%22520%22 y2=%22330%22 stroke=%22rgba(255,255,255,0.5)%22 stroke-width=%224%22 stroke-linecap=%22round%22 stroke-dasharray=%220.1 12%22/%3E%3Cpath d=%22M200 60h24M212 48v24%22 stroke=%22rgba(255,255,255,0.5)%22 stroke-width=%223%22 stroke-linecap=%22round%22/%3E%3Crect x=%2240%22 y=%22300%22 width=%22110%22 height=%22110%22 fill=%22url(%23g)%22/%3E%3C/svg%3E"); background-position: right top; }
section.svp-steps > .container { position: relative; z-index: 1; }
@media (max-width: 900px) {
  section.svp-steps::before { display: none; }
  section.svp-steps::after { width: 380px; background-position: right bottom; opacity: 0.5; }
}
.svp-steps h2 { font-size: 36px; font-weight: 800; color: #0E2436; margin-bottom: 40px; }
.svp-steps-list { list-style: none; counter-reset: step; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.svp-steps-list li { counter-increment: step; }
.svp-steps-list li::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  font-family: 'Barlow Condensed', 'Arial Narrow', Impact, sans-serif;
  font-weight: 800;
  font-size: 96px;
  line-height: 0.8;
  color: #0E2436;
  padding-bottom: 14px;
  margin-bottom: 16px;
  border-bottom: 2px solid rgba(14,36,54,0.25);
}
.svp-steps-list span { display: block; max-width: 16em; font-size: 19px; line-height: 1.4; font-weight: 800; color: #0E2436; }

/* 5. FAQ rhythm */
section.svp-faq { padding: 88px 0; }

@media (max-width: 900px) {
  section.svp-overview { padding: 40px 0 48px; }
  .svp-lead { margin-bottom: 36px; }
  .svp-lead p:first-child { font-size: 25px; }
  .svp-covers-list { flex-direction: column; flex-wrap: nowrap; }
  .svp-covers-list li { flex: 0 0 auto; flex-direction: row; align-items: center; min-height: 0; padding: 14px 16px; }
  .svp-jump .container { flex-direction: column; align-items: flex-start; }
  .svp-jump ul { flex-wrap: nowrap; overflow-x: auto; max-width: 100%; padding: 2px 0 6px; scrollbar-width: none; }
  .svp-jump ul::-webkit-scrollbar { display: none; }
  section.svx-section { padding: 48px 0 64px; }
  .svp-overview + .svx-section { padding-top: 8px; }
  .svp-jump + .svx-section { padding-top: 48px; }
  .svx-topic + .svx-topic { margin-top: 64px; }
  .svx-topic { scroll-margin-top: 88px; }
  .svx-head { grid-template-columns: 1fr; gap: 8px; align-items: start; margin-bottom: 24px; }
  .svx-num { font-size: 76px; }
  .svx-head h2 { font-size: 28px; }
  .svx-panel { padding: 22px 20px; }
  .svx-group + .svx-group { padding-left: 0; border-left: 0; padding-top: 20px; border-top: 1px solid rgba(231,234,236,0.2); }
  .svx-group { flex-basis: 100%; }
  .svx-cards { grid-template-columns: 1fr; gap: 12px; }
  .svx-card summary { padding: 18px 20px; align-items: center; }
  .svx-card .q-text { font-size: 17px; }
  .svx-card .faq-a { padding: 0 20px 20px; font-size: 15px; }
  .svx-cards > :first-child:nth-last-child(odd) .q-text { font-size: 17px; }
  section.svp-steps { padding: 48px 0; }
  .svp-steps h2 { font-size: 28px; margin-bottom: 28px; }
  .svp-steps-list { grid-template-columns: 1fr; gap: 20px; }
  .svp-steps-list li { display: grid; grid-template-columns: 56px 1fr; gap: 16px; align-items: center; }
  .svp-steps-list li::before { font-size: 64px; padding: 0; margin: 0; border: 0; }
  .svp-steps-list span { font-size: 17px; }
  section.svp-faq { padding: 56px 0; }
}
@media (max-width: 640px) {
  /* Let the pill row bleed to the screen edge. */
  .svp-jump ul { width: calc(100% + 20px); max-width: none; margin-right: -20px; padding-right: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .svx-card, .svp-covers-list li { transition: none !important; }
  .svx-card:hover, .svp-covers-list li:hover { translate: none; transform: none; }
}

/* Related services strip at the end of a chapter section. */
.svp-related { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: 72px; padding-top: 28px; border-top: 1px solid rgba(231,234,236,0.14); }
.svp-related-label { font-size: 12px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(231,234,236,0.6); }
.svp-related ul { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.svp-related a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 9px 12px 9px 16px;
  border-radius: 999px;
  border: 1px solid rgba(231,234,236,0.25);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  color: #E7EAEC;
  transition: background-color var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);
}
.svp-related a svg { width: 16px; height: 16px; }
.svp-related a:hover, .svp-related a:focus-visible { background: #B2D589; color: #0E2436; border-color: #B2D589; }
.svp-related a:focus-visible { outline: 2px solid #8AC6E3; outline-offset: 2px; }
@media (max-width: 900px) { .svp-related { margin-top: 48px; } }

/* IV packages chapter: six blend cards with tinted header blocks. */
.ivp-grid { grid-template-columns: repeat(3, 1fr); }
.ivp-grid > :first-child:nth-last-child(odd) { grid-column: auto; }
.ivp-card { overflow: hidden; }
.ivp-card:first-child { background: rgba(9,26,40,0.62); border-color: rgba(231,234,236,0.12); }
.ivp-card:first-child .faq-a { color: rgba(231,234,236,0.84); }
.ivp-card .q-text { display: block; }
.ivp-card .q-text::after { display: none; }
.ivp-card summary {
  position: relative;
  min-height: 144px;
  padding: 22px 24px;
  align-items: flex-start;
  background: #CFE6B3;
}
.ivp-card:nth-child(even) summary { background: #BFE1F2; }
.ivp-card .q-text, .ivp-card:first-child .q-text { color: #0E2436; }
.ivp-card .faq-chevron svg polyline { stroke: #0E2436; }
.ivp-num {
  position: absolute;
  top: 16px;
  right: 20px;
  font-family: 'Barlow Condensed', 'Arial Narrow', Impact, sans-serif;
  font-weight: 800;
  font-size: 44px;
  line-height: 1;
  color: rgba(14,36,54,0.3);
}
.ivp-name { display: block; padding-right: 56px; font-size: 24px; line-height: 1.15; font-weight: 800; }
.ivp-tag { display: block; margin-top: 8px; font-size: 14.5px; line-height: 1.45; font-weight: 600; color: rgba(14,36,54,0.85); }
.ivp-card .faq-a { padding: 20px 24px 24px; font-size: 15px; line-height: 1.55; }
.ivp-card:first-child .svx-list li::before { background: var(--svx-accent); }
.ivp-label { margin: 0 0 10px; font-size: 12px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--svx-accent); }
.ivp-label ~ .ivp-label { margin-top: 20px; }
.ivp-inside { list-style: none; display: grid; gap: 8px; }
.ivp-inside li { font-weight: 700; color: #E7EAEC; }
.ivp-inside small { display: block; font-size: 13.5px; font-weight: 400; line-height: 1.5; color: rgba(231,234,236,0.7); }
.ivp-glossary { max-width: none; margin-top: 20px; }
.ivp-glossary .faq-a { max-width: none; }
.ivp-dl { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px 40px; }
.ivp-dl dt { font-size: 15px; font-weight: 800; color: #E7EAEC; }
.ivp-dl dd { margin: 2px 0 0; font-size: 14.5px; line-height: 1.55; color: rgba(231,234,236,0.8); }
@media (max-width: 1080px) { .ivp-grid, .ivp-dl { grid-template-columns: 1fr 1fr; } }
@media (max-width: 900px) {
  .ivp-grid { grid-template-columns: 1fr; }
  .ivp-card summary { min-height: 0; padding: 18px 20px; align-items: flex-start; }
  .ivp-num { top: 15px; right: 52px; font-size: 32px; }
  .ivp-name { font-size: 22px; padding-right: 76px; }
  .ivp-card .faq-a { padding: 16px 20px 20px; }
  .ivp-dl { grid-template-columns: 1fr; }
}

/* Services index: the card's own icon repeated as a big watermark that runs
   off the bottom-right corner. */
.svc-card-in > .svc-bg {
  position: absolute;
  z-index: 0;
  right: -14%;
  bottom: -26%;
  width: 78%;
  aspect-ratio: 1 / 1;
  color: #E7EAEC;
  opacity: 0.07;
  transform: rotate(-10deg);
  pointer-events: none;
  transition: opacity 300ms var(--ease-out), transform 300ms var(--ease-out);
}
.svc-card-in > .svc-bg svg { width: 100%; height: 100%; display: block; }
.svc-card:nth-child(4n+2) .svc-bg,
.svc-card:nth-child(4n+3) .svc-bg { color: #0E2436; opacity: 0.08; }
.svc-card:focus-within .svc-bg,
.svc-card.is-active .svc-bg { opacity: 0.12; transform: rotate(-6deg) scale(1.04); }
@media (hover: hover) {
  .svc-card:hover .svc-bg { opacity: 0.12; transform: rotate(-6deg) scale(1.04); }
}
@media (prefers-reduced-motion: reduce) {
  .svc-card:hover .svc-bg, .svc-card.is-active .svc-bg, .svc-card:focus-within .svc-bg { transform: rotate(-10deg); }
}
/* Services index: each card is one link. */
a.svc-card { color: inherit; text-decoration: none; }
a.svc-card:focus-visible { outline: 2px solid #8AC6E3; outline-offset: 3px; border-radius: 14px; }

/* ==========================================================================
   Guides (/guides/): long-form answer pages. Scoped to gd- classes.
   ========================================================================== */
.page-header.gd-header { padding: 80px 0 64px; }
.page-header.gd-header h1 { font-size: 44px; line-height: 1.12; }
.page-header .eyebrow a { text-decoration: none; }
section.gd-section { padding: 64px 0 96px; }
.gd-article { max-width: 720px; }
.gd-lead {
  font-size: 24px;
  line-height: 1.4;
  font-weight: 800;
  color: #E7EAEC;
  padding: 24px 28px;
  margin-bottom: 40px;
  border-radius: 14px;
  border-left: 5px solid #B2D589;
  background: linear-gradient(145deg, #1F5A7A 0%, #143F58 100%);
  box-shadow: 0 10px 24px rgba(0,0,0,0.2);
}
.gd-article .gd-h { font-size: 26px; line-height: 1.2; font-weight: 800; letter-spacing: -0.01em; margin: 40px 0 14px; color: #E7EAEC; }
.gd-article p { font-size: 17px; line-height: 1.65; color: rgba(231,234,236,0.85); margin-bottom: 14px; }
.gd-list { list-style: none; display: grid; gap: 8px; margin: 4px 0 18px; }
.gd-list li { position: relative; padding-left: 22px; font-size: 17px; line-height: 1.55; color: rgba(231,234,236,0.85); }
.gd-list li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 8px; height: 8px; border-radius: 50%; background: #B2D589; }
.gd-readmore { margin-top: 28px; font-size: 16px; color: rgba(231,234,236,0.8); }
.gd-readmore a { color: #8AC6E3; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.gd-readmore a:hover, .gd-readmore a:focus-visible { color: #B2D589; }
@media (max-width: 900px) {
  .page-header.gd-header { padding: 56px 0 44px; }
  .page-header.gd-header h1 { font-size: 30px; }
  section.gd-section { padding: 40px 0 64px; }
  .gd-lead { font-size: 20px; padding: 20px; }
  .gd-article .gd-h { font-size: 22px; margin-top: 32px; }
}
