/* ============================================================
   PORCH HOUSE CLINIC — Design System
   Bright, premium, motion-led musculoskeletal care
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  /* Color */
  --white: #ffffff;
  --mist: #f3f5f7;
  --ice: #e9f3fb;
  --navy: #0f1f33;
  --navy-70: rgba(15, 31, 51, 0.72);
  --navy-50: rgba(15, 31, 51, 0.55);
  --navy-20: rgba(15, 31, 51, 0.14);
  --navy-10: rgba(15, 31, 51, 0.07);
  --aqua: #2db6c8;
  --aqua-deep: #1e93a3;
  --aqua-15: rgba(45, 182, 200, 0.15);
  --aqua-30: rgba(45, 182, 200, 0.3);
  --glow: #ffc98a;
  --glow-soft: rgba(255, 201, 138, 0.35);

  /* Type */
  --font-head: "Sora", "DM Sans", system-ui, sans-serif;
  --font-body: "Inter", "DM Sans", system-ui, sans-serif;

  /* Spacing (8px base) */
  --s1: 8px;  --s2: 16px; --s3: 24px; --s4: 32px;
  --s6: 48px; --s8: 64px; --s12: 96px; --s16: 128px;

  /* Shape */
  --r-card: 20px;
  --r-pill: 999px;
  --border: 1px solid rgba(15, 31, 51, 0.08);

  /* Elevation */
  --shadow-soft: 0 2px 8px rgba(15, 31, 51, 0.04), 0 12px 32px rgba(15, 31, 51, 0.06);
  --shadow-lift: 0 4px 12px rgba(15, 31, 51, 0.06), 0 24px 48px rgba(15, 31, 51, 0.1);
  --shadow-glow-aqua: 0 0 0 1px rgba(45, 182, 200, 0.25), 0 8px 32px rgba(45, 182, 200, 0.18);

  /* Motion */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 0.6s;
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--navy);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, video, svg { max-width: 100%; display: block; }
a { color: var(--aqua-deep); text-decoration: none; }
a:hover { color: var(--aqua); }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--navy);
  margin: 0 0 var(--s3);
}
h1 { font-size: clamp(2.6rem, 5.4vw, 4.4rem); }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
h4 { font-size: 1.1rem; }
p  { margin: 0 0 var(--s2); color: var(--navy-70); }
.lede { font-size: clamp(1.05rem, 1.5vw, 1.25rem); color: var(--navy-70); max-width: 56ch; }

.accent  { color: var(--aqua); }
.eyebrow {
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--aqua-deep);
  margin-bottom: var(--s2);
  display: block;
}

/* ---------- Layout ---------- */
.container { width: min(1200px, calc(100% - 48px)); margin-inline: auto; }
.container--narrow { width: min(860px, calc(100% - 48px)); margin-inline: auto; }

.section { position: relative; padding-block: clamp(72px, 10vw, 128px); }
.section--mist { background: var(--mist); }
.section--ice  { background: linear-gradient(180deg, var(--white), var(--ice) 55%, var(--white)); }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }

.section-head { max-width: 720px; margin-bottom: clamp(40px, 5vw, 72px); }
.section-head--center { margin-inline: auto; text-align: center; }

.grid { display: grid; gap: var(--s3); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) {
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: var(--r-pill);
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out),
              background var(--dur) var(--ease-out), color var(--dur) var(--ease-out);
  will-change: transform;
}
.btn .arrow { transition: transform var(--dur) var(--ease-out); }
.btn:hover .arrow { transform: translateX(4px); }

.btn--primary { background: var(--navy); color: var(--white); }
.btn--primary:hover {
  background: #16304d;
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow-aqua);
}
.btn--secondary { background: var(--white); color: var(--navy); border-color: var(--navy-20); }
.btn--secondary:hover { border-color: var(--aqua); color: var(--navy); transform: translateY(-2px); box-shadow: var(--shadow-soft); }
.btn--ghost { background: transparent; color: var(--navy); padding-inline: 18px; }
.btn--ghost:hover { color: var(--aqua-deep); }
.btn--large { padding: 18px 36px; font-size: 1.05rem; }

.text-link {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--aqua-deep);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.text-link .arrow { transition: transform var(--dur) var(--ease-out); }
.text-link:hover .arrow { transform: translateX(4px); }

/* ---------- Cards ---------- */
.card {
  background: var(--white);
  border: var(--border);
  border-radius: var(--r-card);
  padding: var(--s4);
  box-shadow: var(--shadow-soft);
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out),
              border-color var(--dur) var(--ease-out);
  position: relative;
  overflow: hidden;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); border-color: var(--aqua-30); }
.card::after {
  content: "";
  position: absolute;
  inset: auto -40% -60% -40%;
  height: 70%;
  background: radial-gradient(closest-side, var(--aqua-15), transparent 70%);
  opacity: 0;
  transition: opacity 0.8s var(--ease-out);
  pointer-events: none;
}
.card:hover::after { opacity: 1; }

.card h3 { margin-bottom: var(--s1); }
.card p  { font-size: 0.95rem; margin-bottom: var(--s2); }
.card .text-link { font-size: 0.88rem; }

a.card { display: block; color: inherit; }

.icon-circle {
  width: 56px; height: 56px;
  border-radius: 50%;
  border: 1.5px solid var(--aqua-30);
  background: var(--white);
  display: grid; place-items: center;
  margin-bottom: var(--s3);
  color: var(--aqua-deep);
  transition: box-shadow var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out);
}
.card:hover .icon-circle { border-color: var(--aqua); box-shadow: 0 0 24px var(--aqua-15); }
.icon-circle svg { width: 26px; height: 26px; stroke: currentColor; fill: none; stroke-width: 1.5; }

/* ---------- Pills / tags ---------- */
.pill-row { display: flex; flex-wrap: wrap; gap: 10px; }
.pill {
  padding: 8px 18px;
  border-radius: var(--r-pill);
  border: 1px solid var(--navy-20);
  background: var(--white);
  font-size: 0.88rem;
  color: var(--navy-70);
  transition: all var(--dur) var(--ease-out);
}
.pill:hover, .pill.is-active { border-color: var(--aqua); color: var(--aqua-deep); background: var(--aqua-15); }

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background 0.4s ease, box-shadow 0.4s ease, backdrop-filter 0.4s ease;
  padding-block: 18px;
}
.nav::before {
  /* blur layer lives on a pseudo-element: backdrop-filter on .nav itself
     would turn it into the containing block for the fixed mobile menu */
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.nav.is-scrolled::before { opacity: 1; }
.nav.is-scrolled {
  box-shadow: 0 1px 0 rgba(15, 31, 51, 0.06);
  padding-block: 12px;
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--s3); }
.nav__logo { display: flex; align-items: center; gap: 12px; color: var(--navy); }
.nav__logo svg { height: 40px; width: auto; }
.nav__logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.nav__logo-name { font-family: var(--font-head); font-weight: 600; font-size: 0.94rem; letter-spacing: 0.055em; transform: scaleY(1.06); transform-origin: left bottom; }
.nav__logo-sub  { font-size: 0.58rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--aqua-deep); }

.nav__links { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav__links a {
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--navy-70);
  padding: 8px 14px;
  border-radius: var(--r-pill);
  transition: color 0.3s, background 0.3s;
}
.nav__links a:hover { color: var(--navy); background: var(--aqua-15); }
.nav__links a.is-current { color: var(--aqua-deep); }
.nav__cta { margin-left: 10px; }
.nav .btn { padding: 11px 22px; font-size: 0.88rem; }

.nav__toggle {
  display: none;
  background: none; border: none; cursor: pointer;
  width: 44px; height: 44px;
  border-radius: 50%;
  place-items: center;
}
.nav__toggle span, .nav__toggle span::before, .nav__toggle span::after {
  content: ""; display: block; width: 22px; height: 2px; background: var(--navy);
  border-radius: 2px; position: relative; transition: all 0.3s var(--ease-out);
}
.nav__toggle span::before { position: absolute; top: -7px; }
.nav__toggle span::after  { position: absolute; top: 7px; }
.nav__toggle.is-open span { background: transparent; }
.nav__toggle.is-open span::before { top: 0; transform: rotate(45deg); }
.nav__toggle.is-open span::after  { top: 0; transform: rotate(-45deg); }

@media (max-width: 980px) {
  .nav__toggle { display: grid; }
  .nav__links {
    position: fixed;
    inset: 0;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    gap: var(--s2);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s var(--ease-out);
    z-index: -1;
  }
  .nav__links.is-open { opacity: 1; pointer-events: auto; }
  .nav__links a { font-size: 1.3rem; }
  .nav__cta { margin: var(--s3) 0 0; }
}

.nav__links a.btn--primary { color: var(--white); }
.nav__links a.btn--primary:hover { color: var(--white); background: #16304d; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-block: 140px 60px;
  overflow: hidden;
  background:
    radial-gradient(1200px 800px at 85% 30%, var(--ice) 0%, transparent 60%),
    var(--white);
}
.hero__waves { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero__inner {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}
.hero__eyebrow { margin-bottom: var(--s3); }
.hero h1 { margin-bottom: var(--s3); }
.hero .lede { margin-bottom: var(--s6); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: var(--s2); align-items: center; margin-bottom: var(--s8); }
.hero__tagline {
  display: flex; align-items: center; gap: var(--s2);
  font-size: 0.75rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--navy-50);
}
.hero__tagline::before, .hero__tagline::after {
  content: ""; height: 1px; width: 48px; background: var(--navy-20);
}

.hero__media {
  position: relative;
  aspect-ratio: 9 / 16;
  max-height: 76vh;
  margin-inline: auto;
  width: 100%;
  max-width: 420px;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow-lift), 0 0 80px rgba(45, 182, 200, 0.12);
}
.hero__media video, .hero__media img {
  /* contain (not cover) so nothing in the frame gets cut off */
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: contain; background: #eef4f8;
}
.hero__media::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
  pointer-events: none;
}
.hero__media-wrap { position: relative; }
.hero__glow {
  position: absolute;
  inset: -12%;
  z-index: 0;
  background: radial-gradient(closest-side, rgba(45, 182, 200, 0.16), transparent 72%);
  border-radius: 50%;
  animation: heroGlow 7s ease-in-out infinite alternate;
}
html.no-motion .hero__glow { animation: none; }
@keyframes heroGlow { from { transform: scale(0.94); opacity: 0.7; } to { transform: scale(1.05); opacity: 1; } }

@media (max-width: 980px) {
  .hero { padding-top: 120px; }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__media { max-width: 320px; aspect-ratio: 9/16; }
  .hero__media-wrap { order: -1; }
  .hero__tagline { display: none; }
}

/* Feature strip under hero */
.feature-strip {
  position: relative; z-index: 3;
  margin-top: -48px;
  margin-bottom: var(--s8);
}
.feature-strip__inner {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  border: var(--border);
  border-radius: var(--r-card);
  box-shadow: var(--shadow-soft);
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  overflow: hidden;
}
.feature-strip__item {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  text-align: center;
  padding: var(--s3) var(--s2);
  font-family: var(--font-head);
  font-size: 0.8rem; font-weight: 600; color: var(--navy-70);
  border-left: var(--border);
  transition: background 0.4s, color 0.4s;
}
.feature-strip__item:first-child { border-left: none; }
.feature-strip__item:hover { background: var(--ice); color: var(--navy); }
.feature-strip__item svg { width: 30px; height: 30px; stroke: var(--aqua-deep); fill: none; stroke-width: 1.4; }
@media (max-width: 980px) { .feature-strip__inner { grid-template-columns: repeat(3, 1fr); } .feature-strip__item { border-top: var(--border); } }
@media (max-width: 560px) { .feature-strip__inner { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Wave divider ---------- */
.wave-divider { position: relative; height: 110px; overflow: hidden; pointer-events: none; }
.wave-divider svg { position: absolute; inset: 0; width: 100%; height: 100%; }

/* ---------- Media / video slots ---------- */
.media-slot {
  position: relative;
  border-radius: var(--r-card);
  overflow: hidden;
  background: var(--ice);
  box-shadow: var(--shadow-soft);
}
.media-slot video, .media-slot img { width: 100%; height: 100%; object-fit: cover; }
.media-slot--framed::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(15, 31, 51, 0.06);
  pointer-events: none;
}
.media-slot__placeholder {
  aspect-ratio: 16/10;
  display: grid; place-items: center;
  color: var(--navy-50);
  font-size: 0.85rem;
  text-align: center;
  padding: var(--s3);
  background:
    radial-gradient(600px 300px at 50% 100%, var(--aqua-15), transparent 70%),
    var(--ice);
}

/* Ambient YouTube loop (crops YT chrome, non-interactive) */
.yt-loop { position: relative; overflow: hidden; background: var(--ice); }
.yt-loop iframe {
  position: absolute;
  top: 50%; left: 50%;
  width: 100.5%;
  aspect-ratio: 16 / 9;
  height: auto;
  min-height: 100.5%;
  transform: translate(-50%, -50%) scale(1.18);
  border: 0;
  pointer-events: none;
}
.yt-loop__fallback {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}

/* ---------- Split feature section ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 96px);
  align-items: center;
}
.split--reverse > *:first-child { order: 2; }
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .split--reverse > *:first-child { order: 0; }
}

.checklist { list-style: none; padding: 0; margin: 0 0 var(--s3); display: grid; gap: 14px; }
.checklist li { display: flex; gap: 14px; align-items: flex-start; color: var(--navy-70); }
.checklist li::before {
  content: "";
  flex: 0 0 22px; height: 22px; margin-top: 2px;
  border-radius: 50%;
  background:
    url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%231e93a3" stroke-width="2.4" stroke-linecap="round" stroke-linejoin="round"><path d="M5 13l4 4 10-10"/></svg>') center/13px no-repeat,
    var(--aqua-15);
}

/* ---------- Steps (how it works) ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s3); position: relative; }
@media (max-width: 980px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding: var(--s4) var(--s3); }
.step__num {
  font-family: var(--font-head);
  font-size: 3.4rem; font-weight: 700;
  color: transparent;
  -webkit-text-stroke: 1.2px var(--aqua-30);
  line-height: 1;
  margin-bottom: var(--s2);
}
.step h3 { font-size: 1.15rem; }
.step p { font-size: 0.93rem; }

/* ---------- Stat strip ---------- */
.stat-strip {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-radius: var(--r-card);
  background: var(--white);
  border: var(--border);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}
@media (max-width: 800px) { .stat-strip { grid-template-columns: repeat(2, 1fr); } }
.stat { padding: var(--s4) var(--s3); text-align: center; border-left: var(--border); }
.stat:first-child { border-left: none; }
@media (max-width: 800px) { .stat { border-top: var(--border); } }
.stat__value { font-family: var(--font-head); font-size: clamp(1.9rem, 3vw, 2.6rem); font-weight: 700; color: var(--navy); }
.stat__value .accent { color: var(--aqua); }
.stat__label { font-size: 0.82rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--navy-50); margin-top: 6px; }

/* ---------- Team ---------- */
.team-card { text-align: left; }
.team-card__photo {
  aspect-ratio: 1;
  border-radius: var(--r-card);
  background: linear-gradient(160deg, var(--ice), var(--mist));
  margin-bottom: var(--s3);
  overflow: hidden;
  display: grid; place-items: center;
  color: var(--aqua-30);
}
.team-card__photo img { width: 100%; height: 100%; object-fit: cover; }
.team-card__photo svg { width: 40%; height: 40%; stroke: currentColor; fill: none; stroke-width: 1; }
.team-card__role { font-size: 0.85rem; color: var(--aqua-deep); font-weight: 600; font-family: var(--font-head); }
.team-card__creds { font-size: 0.82rem; color: var(--navy-50); }

/* ---------- Condition clusters ---------- */
.cluster { scroll-margin-top: 110px; }
.cluster + .cluster { margin-top: var(--s8); }
.cluster__head { display: flex; align-items: center; gap: var(--s2); margin-bottom: var(--s3); }
.cluster__head .icon-circle { margin-bottom: 0; width: 48px; height: 48px; flex-shrink: 0; }
.cluster__head h2 { margin-bottom: 0; font-size: clamp(1.5rem, 2.5vw, 2rem); }

/* Body figure (conditions page) */
.conditions-layout { display: grid; grid-template-columns: 280px 1fr; gap: clamp(32px, 5vw, 80px); }
@media (max-width: 900px) {
  .conditions-layout { grid-template-columns: 1fr; }
  /* Floating mini-map: compact body visual, top-right, zones stay live */
  .conditions-layout .body-figure-wrap {
    position: fixed;
    top: 86px; right: 14px;
    width: 88px;
    z-index: 60;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
    transform: translateY(-8px);
  }
  .conditions-layout .body-figure-wrap.is-active { opacity: 1; transform: none; }
  .conditions-layout .body-figure-sticky { position: static; }
  .conditions-layout .body-figure-wrap p { display: none; }
  .body-visual { border-radius: 12px; box-shadow: var(--shadow-lift), 0 0 24px rgba(45, 182, 200, 0.2); }
  .glow-dot { width: 20px; height: 20px; }
  .glow-dot::after { box-shadow: 0 0 5px 1px rgba(255, 201, 138, 0.9); }
}
.body-figure-wrap { position: relative; }
.body-figure-sticky { position: sticky; top: 130px; }
.body-figure { width: 100%; max-width: 280px; margin-inline: auto; }
.body-figure .zone { opacity: 0; transition: opacity 0.7s var(--ease-out); }
.body-figure .zone.is-lit { opacity: 1; }

/* Body visual (conditions page): cinematic still + zone glow dots */
.body-visual {
  position: relative;
  border-radius: var(--r-card);
  overflow: hidden;
  box-shadow: var(--shadow-soft), 0 0 60px rgba(45, 182, 200, 0.14);
}
.body-visual img { width: 100%; height: auto; display: block; }
.body-visual::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.4);
  pointer-events: none;
}
.glow-dot {
  position: absolute;
  left: var(--x); top: var(--y);
  width: 64px; height: 64px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(255, 201, 138, 0.95) 0%, rgba(255, 201, 138, 0.4) 38%, transparent 68%);
  mix-blend-mode: screen;
  filter: blur(0.5px);
}
.glow-dot::after {
  content: ""; position: absolute; inset: 40%;
  border-radius: 50%;
  background: #ffc98a;
  box-shadow: 0 0 10px 2px rgba(255, 201, 138, 0.9);
}
.body-figure .zone.is-lit { animation: dotPulse 3.2s ease-in-out infinite; }
html.no-motion .body-figure .zone.is-lit { animation: none; }
@keyframes dotPulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); }
  50% { transform: translate(-50%, -50%) scale(1.14); }
}

/* ---------- Quote / trust ---------- */
.trust-badges { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s4); opacity: 0.9; }
.trust-badge {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-head); font-size: 0.85rem; font-weight: 600; color: var(--navy-70);
}
.trust-badge svg { width: 34px; height: 34px; stroke: var(--aqua-deep); fill: none; stroke-width: 1.4; }

/* ---------- Reviews (Google) ---------- */
.stars { color: #f0a54a; letter-spacing: 3px; font-size: 0.95rem; }
.rating-line {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-weight: 600; font-size: 0.95rem;
  color: var(--navy-70);
}
.review-card { display: flex; flex-direction: column; }
.review-card blockquote { margin: 0 0 var(--s2); color: var(--navy-70); font-size: 0.97rem; line-height: 1.65; flex: 1; }
.review-card blockquote::before {
  content: "\201C";
  display: block;
  font-family: var(--font-head);
  font-size: 3rem; line-height: 0.9;
  color: var(--aqua-30);
}
.review-card cite { font-style: normal; font-family: var(--font-head); font-weight: 600; font-size: 0.9rem; color: var(--navy); }
.review-card .review-src { font-size: 0.78rem; color: var(--navy-50); margin-top: 2px; }
.hero__rating { display: flex; align-items: center; gap: 10px; margin-bottom: var(--s3); font-size: 0.9rem; color: var(--navy-70); font-family: var(--font-head); font-weight: 600; flex-wrap: wrap; }
.hero__rating .muted { font-weight: 400; }

/* ---------- Final CTA ---------- */
.final-cta {
  position: relative;
  text-align: center;
  padding-block: clamp(96px, 12vw, 160px);
  background: linear-gradient(180deg, var(--white), var(--ice));
  overflow: hidden;
}
.final-cta__waves { position: absolute; inset: 0; pointer-events: none; }
.final-cta .container { position: relative; z-index: 2; }
.final-cta h2 { font-size: clamp(2.2rem, 4.5vw, 3.6rem); }
.final-cta .lede { margin-inline: auto; margin-bottom: var(--s6); }

/* ---------- Footer ---------- */
.footer {
  position: relative;
  background: var(--navy);
  color: rgba(255, 255, 255, 0.75);
  padding: var(--s12) 0 var(--s4);
  overflow: hidden;
}
.footer__wave { position: absolute; top: 0; left: 0; right: 0; height: 90px; pointer-events: none; opacity: 0.5; }
.footer a { color: rgba(255, 255, 255, 0.85); }
.footer a:hover { color: var(--aqua); }
.footer h4 { color: var(--white); font-size: 0.85rem; letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: var(--s2); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: var(--s4); position: relative; z-index: 2; }
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; } }
.footer__brand svg { height: 44px; width: auto; margin-bottom: var(--s2); }
.footer__brand p { color: rgba(255, 255, 255, 0.55); font-size: 0.9rem; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 0.92rem; }
.footer__bottom {
  margin-top: var(--s8);
  padding-top: var(--s3);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s2);
  font-size: 0.8rem; color: rgba(255, 255, 255, 0.45);
  position: relative; z-index: 2;
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative;
  padding: 170px 0 clamp(56px, 8vw, 96px);
  background:
    radial-gradient(900px 500px at 80% 0%, var(--ice), transparent 65%),
    var(--white);
  overflow: hidden;
}
.page-hero__waves { position: absolute; inset: 0; pointer-events: none; }
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); max-width: 20ch; }

/* ---------- Contact ---------- */
.hours-table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.hours-table td { padding: 10px 0; border-bottom: var(--border); color: var(--navy-70); }
.hours-table td:last-child { text-align: right; font-weight: 600; color: var(--navy); }
.map-embed { border-radius: var(--r-card); overflow: hidden; box-shadow: var(--shadow-soft); border: var(--border); }
.map-embed iframe { display: block; width: 100%; height: 380px; border: 0; }

/* ---------- Condition subpages ---------- */
.crumbs { font-size: 0.82rem; color: var(--navy-50); margin-bottom: var(--s3); }
.crumbs a { color: var(--navy-50); }
.crumbs a:hover { color: var(--aqua-deep); }
.crumbs span { margin: 0 6px; }
.crumbs span[aria-current] { color: var(--navy); margin: 0; }

.page-hero--condition h1 { max-width: 22ch; }
.page-hero--condition { padding-bottom: clamp(28px, 3vw, 44px); }

.cond-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(32px, 5vw, 72px); align-items: start; }
@media (max-width: 980px) { .cond-layout { grid-template-columns: 1fr; } }

.cond-main h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-top: var(--s8); }
.cond-main > h2:first-child { margin-top: 0; }
.cond-main p { max-width: 68ch; }

.cond-cols { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3); }
@media (max-width: 720px) { .cond-cols { grid-template-columns: 1fr; } }
.cond-cols .card h3 { font-size: 1.05rem; }
.cond-cols .checklist li { font-size: 0.93rem; }

/* Sticky booking card */
.cond-aside { position: sticky; top: 116px; display: grid; gap: var(--s3); }
@media (max-width: 980px) { .cond-aside { position: static; } }
.cond-cta {
  background: var(--navy);
  background: linear-gradient(165deg, #16304d, #0f1f33);
  color: #fff;
  border-radius: var(--r-card);
  padding: var(--s4);
  box-shadow: var(--shadow-lift);
}
.cond-cta h3 { color: #fff; margin-bottom: var(--s1); }
.cond-cta p { color: rgba(255,255,255,0.72); }
.cond-cta .btn { width: 100%; justify-content: center; margin-bottom: 10px; }
.cond-cta .btn--primary { background: #fff; color: var(--navy); }
.cond-cta .btn--primary:hover { background: #eaf7fa; color: var(--navy); }
.cond-cta .btn--secondary { background: transparent; color: #fff; border-color: rgba(255,255,255,0.3); }
.cond-cta .btn--secondary:hover { border-color: var(--aqua); color: #fff; background: rgba(255,255,255,0.06); }
.cond-cta__meta { margin-top: var(--s3); padding-top: var(--s3); border-top: 1px solid rgba(255,255,255,0.14);
  font-size: 0.8rem; color: rgba(255,255,255,0.6); display: grid; gap: 6px; }
.cond-cta__meta .stars { font-size: 0.8rem; }

.cond-note { background: var(--ice); border-radius: var(--r-card); padding: var(--s4); border: var(--border); }
.cond-note h4 { margin-bottom: var(--s1); }

/* FAQ accordion */
.faqs { display: grid; gap: 10px; max-width: 68ch; }
.faq { border: var(--border); border-radius: 14px; background: var(--white); overflow: hidden; transition: border-color 0.4s var(--ease-out); }
.faq[open] { border-color: var(--aqua-30); box-shadow: var(--shadow-soft); }
.faq summary {
  cursor: pointer; list-style: none; padding: 16px 48px 16px 20px; position: relative;
  font-family: var(--font-head); font-weight: 600; font-size: 0.98rem; color: var(--navy);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 20px; top: 50%; width: 10px; height: 10px;
  border-right: 2px solid var(--aqua-deep); border-bottom: 2px solid var(--aqua-deep);
  transform: translateY(-70%) rotate(45deg); transition: transform 0.3s var(--ease-out);
}
.faq[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq summary:hover { color: var(--aqua-deep); }
.faq__a { padding: 0 20px 18px; }
.faq__a p { font-size: 0.94rem; color: var(--navy-70); }

a.rel-card h3 { font-size: 1.05rem; }
a.rel-card p { color: var(--aqua-deep); font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; font-family: var(--font-head); font-weight: 600; }

/* Condition links inside the hub pills */
a.pill { text-decoration: none; }
a.pill:hover { color: var(--aqua-deep); }

.byline { font-size: 0.82rem; color: var(--navy-50); margin-top: var(--s3); max-width: 62ch; }
.byline strong { color: var(--navy-70); font-weight: 600; }

.popular-links { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: baseline; font-size: 0.9rem; }
.popular-links__label { font-family: var(--font-head); font-weight: 600; color: var(--navy-50); font-size: 0.8rem; letter-spacing: 0.06em; text-transform: uppercase; }
.popular-links a { color: var(--navy-70); border-bottom: 1px solid var(--navy-20); padding-bottom: 1px; }
.popular-links a:hover { color: var(--aqua-deep); border-color: var(--aqua); }

/* ---------- Reveal system (JS adds .is-revealed) ---------- */
[data-reveal] { opacity: 0; transform: translateY(28px); }
[data-reveal].is-revealed { opacity: 1; transform: none; transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out); }
html.no-motion [data-reveal], html.no-js [data-reveal] { opacity: 1; transform: none; }

/* ---------- Utilities ---------- */
.mt-2 { margin-top: var(--s2); } .mt-4 { margin-top: var(--s4); } .mt-6 { margin-top: var(--s6); } .mt-8 { margin-top: var(--s8); }
.mb-0 { margin-bottom: 0; }
.center { text-align: center; }
.muted { color: var(--navy-50); }
.small { font-size: 0.88rem; }

::selection { background: var(--aqua-30); }

a:focus-visible, button:focus-visible {
  outline: 2px solid var(--aqua);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: absolute; left: -9999px; top: 12px; z-index: 999;
  background: var(--navy); color: var(--white);
  padding: 10px 18px; border-radius: var(--r-pill);
}
.skip-link:focus { left: 12px; color: var(--white); }
