/* ===========================
   Confluence Physical Therapy
   Palette: fresh and clean. Emblem blues/greens (#1E3A44 → #3C7770 →
            #8FBFAE) on bright white, with a vivid teal for actions and
            aqua/sky highlights. No beige: cool mint and sky tints instead.
   Type: Montserrat (display, matches the logo lettering) + DM Sans (body)
   =========================== */

:root {
  /* Deep → light, anchored on the emblem gradient */
  --navy:        #0f2a33;
  --slate:       #1e3a44;   /* emblem dark  */
  --river:       #3c7770;   /* emblem mid   */
  --sage:        #8fbfae;   /* emblem light */

  /* Fresh accents */
  --teal:        #0d7f74;   /* buttons/links: white text passes AA */
  --teal-hover:  #0a6b62;
  --aqua:        #5fd3c6;   /* highlights on dark grounds */
  --sky:         #4aa3df;
  --mint:        #c8eee3;

  /* Grounds */
  --white:       #ffffff;
  --mist:        #f0f7f6;   /* cool mint tint, replaces beige */
  --sky-mist:    #eaf4fb;

  /* Ink */
  --ink:         #10262e;
  --ink-soft:    #4d5f66;

  --font-display: 'Montserrat', 'Segoe UI', sans-serif;
  --font-body:    'DM Sans', 'Segoe UI', sans-serif;

  --radius:    18px;
  --radius-lg: 28px;
  --max-width: 1140px;
  --shadow:    0 10px 30px rgba(15, 42, 51, 0.08);
  --shadow-lg: 0 20px 50px rgba(15, 42, 51, 0.14);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.7;
}

img { max-width: 100%; display: block; }
a   { color: inherit; }

h1, h2 {
  text-wrap: balance;
  font-family: var(--font-display);
  color: var(--slate);
  line-height: 1.2;
  margin-top: 0;
  font-weight: 700;
  letter-spacing: -0.01em;
}

h3, h4 {
  font-family: var(--font-display);
  color: var(--slate);
  line-height: 1.3;
  margin-top: 0;
  font-weight: 600;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: 88px 0; }

.section-alt  { background: var(--mist); }
.section-mist { background: var(--sky-mist); }

.eyebrow {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--teal);
  margin-bottom: 12px;
  display: block;
}

.section-heading {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 56px;
}

.section-heading h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); margin-bottom: 16px; }
.section-heading p  { color: var(--ink-soft); font-size: 1.07rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.86rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  padding: 15px 32px;
  border-radius: 999px;
  border: 2px solid transparent;
  transition: transform .18s ease, box-shadow .18s ease,
              background .18s ease, color .18s ease;
}

.btn-primary {
  background: var(--teal);
  color: var(--white);
  box-shadow: 0 8px 22px rgba(13, 127, 116, 0.28);
}
.btn-primary:hover {
  background: var(--teal-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(13, 127, 116, 0.34);
}

.btn-secondary {
  background: transparent;
  border-color: var(--slate);
  color: var(--slate);
}
.btn-secondary:hover { background: var(--slate); color: var(--white); }

.btn-on-dark {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.75);
  color: var(--white);
}
.btn-on-dark:hover { background: var(--white); color: var(--slate); }

.btn-row { display: flex; gap: 16px; flex-wrap: wrap; }

/* Keeps a short phrase (e.g. one sentence of a heading) on a single line. */
.nowrap { white-space: nowrap; }
.btn-row-center { justify-content: center; margin-top: 44px; }

/* Secondary "Ready to start? Book an evaluation" text link under a CTA. */
.small-link { margin: 14px 0 0; font-size: 0.92rem; color: var(--ink-soft); }
.small-link a { color: var(--teal); font-weight: 700; text-decoration: none; }
.small-link a:hover { text-decoration: underline; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(15, 42, 51, 0.08);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }

/* Logo mark image; hidden automatically if the file isn't present. */
.logo-mark { width: 46px; height: 46px; object-fit: contain; }

.logo-type { display: flex; flex-direction: column; line-height: 1; }

.logo-type .wordmark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--slate);
  letter-spacing: 0.12em;
}

.logo-type .subtitle {
  font-family: var(--font-display);
  font-size: 0.56rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--river);
  margin-top: 6px;
  font-weight: 600;
}

/* Phone + fax in the header: beside the logo, before the menu. */
.header-contact {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 0 auto 0 26px;
  padding-left: 22px;
  border-left: 1px solid rgba(15, 42, 51, 0.14);
  font-size: 0.82rem;
  line-height: 1.3;
  color: var(--ink-soft);
  white-space: nowrap;
}
.header-contact a { color: var(--slate); font-weight: 600; text-decoration: none; }
.header-contact a:hover { color: var(--teal); }
.header-contact .hc-label {
  font-family: var(--font-display);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-right: 6px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.86rem;
  color: var(--ink);
}
.nav-links a:hover,
.nav-links a.active { color: var(--teal); }
.nav-links a.btn,
.nav-links a.btn:hover { color: var(--white); }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 25px; height: 2px; background: var(--slate); margin: 5px 0; }

/* ---------- Photography ----------
   Each slot stacks your local file in assets/images/ over a brand gradient
   fallback. The current files are free Unsplash photos used as placeholders
   (see assets/images/CREDITS.md); overwrite any of them with the same name. */

/* ---------- Hero banner ---------- */
.hero-banner {
  position: relative;
  min-height: 680px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background-image:
    linear-gradient(170deg,
      rgba(15, 42, 51, 0.78) 0%,
      rgba(30, 58, 68, 0.55) 45%,
      rgba(13, 127, 116, 0.55) 100%),
    url('../assets/images/hero-river.jpg'),
    linear-gradient(170deg, var(--slate), var(--river));
  background-size: cover;
  background-position: center;
  background-color: var(--slate);
}

.hero-inner { position: relative; z-index: 3; padding: 110px 24px 160px; max-width: 880px; }

/* The page's main heading wraps the wordmark + 'Physical Therapy' so search
   engines read the clinic name as the h1; it looks the same as before. */
.hero-heading { margin: 0; color: var(--white); font-weight: inherit; letter-spacing: normal; text-wrap: initial; }
.hero-heading .hero-mark, .hero-heading .hero-sub { display: block; }
.service-area { margin-top: 12px !important; font-size: 0.92rem; }

.hero-logo { width: 104px; height: 104px; margin: 0 auto 24px; object-fit: contain; }

.hero-mark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.1rem, 6vw, 4rem);
  color: var(--white);
  letter-spacing: 0.14em;
  margin: 0 0 10px;
  line-height: 1.05;
}

.hero-sub {
  font-family: var(--font-display);
  font-size: clamp(0.66rem, 1.5vw, 0.88rem);
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
  margin: 0 0 14px;
  font-weight: 600;
}

.hero-specialties {
  font-family: var(--font-display);
  font-size: clamp(0.7rem, 1.4vw, 0.84rem);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mint);
  margin: 0 0 26px;
  font-weight: 600;
}
.hero-specialties span { color: var(--aqua); margin: 0 0.5em; }


.hero-tagline {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.2vw, 2.3rem);
  color: var(--white);
  margin: 0 0 18px;
  line-height: 1.25;
  font-weight: 600;
}

.hero-lead {
  color: rgba(255, 255, 255, 0.94);
  font-size: 1.08rem;
  max-width: 620px;
  margin: 0 auto 34px;
}

.hero-banner .btn-row { justify-content: center; }
.hero-alt { margin: 18px 0 0; font-size: 0.95rem; color: rgba(255, 255, 255, 0.85); }
.hero-alt a { color: var(--white); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.hero-alt a:hover { color: var(--aqua); }

/* Flowing water waves */
.waves {
  position: absolute;
  bottom: -2px; left: 0;
  width: 100%; height: 130px;
  z-index: 2; pointer-events: none;
}
.waves svg { width: 100%; height: 100%; display: block; }

.wave-layer > use { animation: wave-drift 22s cubic-bezier(.55,.5,.45,.5) infinite; }
.wave-layer > use:nth-child(1) { animation-delay: -2s; animation-duration: 14s; }
.wave-layer > use:nth-child(2) { animation-delay: -3s; animation-duration: 18s; }
.wave-layer > use:nth-child(3) { animation-delay: -4s; animation-duration: 23s; }
.wave-layer > use:nth-child(4) { animation-delay: -5s; animation-duration: 29s; }

@keyframes wave-drift {
  0%   { transform: translate3d(-90px, 0, 0); }
  100% { transform: translate3d(85px, 0, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .wave-layer > use { animation: none; }
}

/* Interior page hero */
.page-hero {
  background-image:
    linear-gradient(135deg, rgba(15,42,51,0.86) 0%, rgba(13,127,116,0.72) 100%),
    url('../assets/images/hero-river.jpg'),
    linear-gradient(135deg, var(--slate), var(--river));
  background-size: cover;
  background-position: center;
  background-color: var(--slate);
  color: var(--white);
  padding: 84px 0 72px;
  text-align: center;
}
.page-hero h1 { color: var(--white); font-size: clamp(1.9rem, 4.2vw, 2.8rem); margin-bottom: 16px; }
.page-hero .eyebrow { color: var(--aqua); }
.page-hero p { color: rgba(255, 255, 255, 0.92); max-width: 640px; margin: 0 auto; font-size: 1.05rem; }

/* ---------- Cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }

.card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }

.card-media {
  aspect-ratio: 3 / 2;
  background-size: cover;
  background-position: center;
  background-color: var(--sage);
}
.card-media.orthopedics {
  background-image: url('../assets/images/service-orthopedics.jpg'),
                    linear-gradient(140deg, var(--river), var(--slate));
  background-position: center top;
}
.card-media.pelvic {
  background-image: url('../assets/images/service-pelvic.jpg'),
                    linear-gradient(140deg, var(--sage), var(--river));
}
.card-media.vestibular {
  background-image: url('../assets/images/service-vestibular.jpg'),
                    linear-gradient(140deg, var(--sky), var(--slate));
}
.card-media.wellness {
  background-image: url('../assets/images/service-wellness.jpg'),
                    linear-gradient(140deg, var(--aqua), var(--teal));
}

.card-body { padding: 28px; flex: 1; display: flex; flex-direction: column; }
.card h3 { font-size: 1.18rem; margin-bottom: 10px; }
.card p  { color: var(--ink-soft); margin: 0 0 16px; }

.card-link {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--teal);
  text-decoration: none;
  font-size: 0.88rem;
  margin-top: auto;
}
.card-link:hover { color: var(--sky); }

/* Wide feature card (wellness / performance) */
.wide-card {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.wide-card .card-media { aspect-ratio: auto; min-height: 340px; }
.wide-card .card-body  { padding: 44px 40px; }
.wide-card h3 { font-size: 1.55rem; font-weight: 700; margin-bottom: 14px; }

/* Value cards */
.value-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px 28px;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--teal);
}
/* Emblem gradient, mirrored across the two rows: slate > river > sage,
   then sage > river > slate. */
.value-card:nth-child(1) { border-top-color: var(--slate); }
.value-card:nth-child(2) { border-top-color: var(--river); }
.value-card:nth-child(3) { border-top-color: var(--sage); }
.value-card:nth-child(4) { border-top-color: var(--sage); }
.value-card:nth-child(5) { border-top-color: var(--river); }
.value-card:nth-child(6) { border-top-color: var(--slate); }
.value-card h3 { font-size: 1.08rem; margin-bottom: 10px; }
.value-card p  { color: var(--ink-soft); margin: 0; }
.value-card a  { color: var(--teal); font-weight: 700; }

/* ---------- Quote ---------- */
.quote-block {
  background: linear-gradient(120deg, var(--slate) 0%, var(--river) 55%, var(--teal) 100%);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 60px 48px;
  text-align: center;
  box-shadow: var(--shadow-lg);
}
.quote-block p {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.1vw, 1.42rem);
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto;
  font-weight: 500;
}

/* ---------- Two column ---------- */
.two-col { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 60px; align-items: center; }

/* brittany-sjoden.jpg is currently a placeholder photo of a bright room,
   not a person, so it can't be mistaken for her. Replace with her photo. */
.portrait {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  background-image: url('../assets/images/brittany-sjoden.jpg'),
                    linear-gradient(150deg, var(--sage), var(--slate));
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow-lg);
}

.credentials { list-style: none; padding: 0; margin: 26px 0; }
.credentials li {
  padding-left: 28px;
  position: relative;
  margin-bottom: 11px;
  color: var(--ink-soft);
}
.credentials li::before {
  content: '';
  position: absolute;
  left: 0; top: 10px;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--aqua);
}

/* ---------- Image band ---------- */
.image-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.image-band div { aspect-ratio: 1 / 1; background-size: cover; background-position: center; }
.band-1 { background-image: url('../assets/images/motion-1.jpg'), linear-gradient(135deg, var(--river), var(--slate)); }
.band-2 { background-image: url('../assets/images/motion-2.jpg'), linear-gradient(135deg, var(--sky), var(--river)); }
.band-3 { background-image: url('../assets/images/motion-3.jpg'), linear-gradient(135deg, var(--aqua), var(--sky)); }
.band-4 { background-image: url('../assets/images/motion-4.jpg'), linear-gradient(135deg, var(--teal), var(--slate)); }

/* ---------- Pricing ---------- */
.pricing-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; margin-bottom: 44px; }

.price-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  border-left: 5px solid var(--teal);
}
.price-card .label { font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; color: var(--slate); }
.price-card .label small { display: block; font-family: var(--font-body); font-weight: 400; font-size: 0.86rem; color: var(--ink-soft); margin-top: 3px; }
.price-card .price { font-family: var(--font-display); font-weight: 700; font-size: 1.6rem; color: var(--teal); white-space: nowrap; }

.package-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }

.package-card {
  background: linear-gradient(140deg, var(--slate) 0%, var(--river) 60%, var(--teal) 100%);
  color: var(--white);
  border-radius: var(--radius);
  padding: 38px 32px;
  text-align: center;
  box-shadow: var(--shadow-lg);
}
.package-card .label { font-family: var(--font-display); font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; font-size: 0.74rem; color: var(--mint); }
.package-card .price { font-family: var(--font-display); font-weight: 700; font-size: 2.2rem; margin: 12px 0 6px; }
.package-card .save  { color: var(--aqua); font-weight: 700; font-size: 0.92rem; }

.note { color: var(--ink-soft); font-size: 0.95rem; text-align: center; margin-top: 28px; }
.note a { color: var(--teal); font-weight: 700; }

/* ---------- Notice ---------- */
.notice {
  background: var(--white);
  border-left: 5px solid var(--river);
  border-radius: var(--radius);
  padding: 34px 36px;
  box-shadow: var(--shadow);
  max-width: 840px;
  margin: 0 auto;
}
.notice h3 { font-size: 1.28rem; font-weight: 700; margin-bottom: 14px; }
.notice p  { color: var(--ink-soft); margin: 0 0 14px; }
.notice p:last-child { margin-bottom: 0; }
.notice a  { color: var(--teal); font-weight: 700; }
.notice ul { color: var(--ink-soft); margin: 0 0 14px; padding-left: 22px; }
.notice li { margin-bottom: 7px; }
/* Safety note: the one place a warm red belongs in this palette. */
.notice.urgent { border-left-color: #c2410c; background: #fff8f4; }
.notice.urgent .eyebrow { color: #b03a0a; }

/* ---------- FAQ ---------- */
.faq-item {
  background: var(--white);
  border-radius: var(--radius);
  padding: 6px 30px;
  margin-bottom: 14px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(15, 42, 51, 0.05);
}
.faq-item summary {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.02rem;
  padding: 20px 0;
  cursor: pointer;
  color: var(--slate);
}
.faq-item summary::marker { color: var(--teal); }
.faq-item p { color: var(--ink-soft); margin: 0 0 14px; }
.faq-item ul { color: var(--ink-soft); margin: 0 0 14px; padding-left: 22px; }
.faq-item li { margin-bottom: 7px; }
.faq-item p:last-child { padding-bottom: 8px; }
.faq-item a { color: var(--teal); font-weight: 700; }

.testimonial-placeholder {
  background: var(--white);
  border: 2px dashed var(--sage);
  border-radius: var(--radius);
  padding: 40px;
  text-align: center;
  color: var(--ink-soft);
}

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; }

.info-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
  margin-bottom: 22px;
  border-left: 5px solid var(--aqua);
}
.info-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.info-card p  { color: var(--ink-soft); margin: 0; }
.info-card a  { color: var(--teal); font-weight: 700; text-decoration: none; }
.info-card a:hover { color: var(--sky); }

/* Booking happens in PtEverywhere's patient portal (opens in a new tab),
   so patient data never passes through this site. */
.booking-card {
  background: linear-gradient(160deg, var(--mist) 0%, var(--sky-mist) 100%);
  border: 1px solid rgba(13, 127, 116, 0.14);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  text-align: center;
  box-shadow: var(--shadow);
}
.booking-card h2 { font-size: clamp(1.5rem, 2.8vw, 1.9rem); margin-bottom: 14px; }
.booking-card p  { color: var(--ink-soft); max-width: 420px; margin: 0 auto 26px; }
.booking-card .btn { padding: 17px 44px; font-size: 0.95rem; }
.booking-card .small { font-size: 0.9rem; margin: 24px auto 0; }
.booking-card .small a { color: var(--teal); font-weight: 700; }

/* ---------- CTA ---------- */
.cta-banner {
  background: linear-gradient(120deg, var(--slate) 0%, var(--river) 55%, var(--teal) 100%);
  color: var(--white);
  text-align: center;
  border-radius: var(--radius-lg);
  padding: 64px 32px;
  box-shadow: var(--shadow-lg);
}
.cta-banner h2 { color: var(--white); margin-bottom: 24px; font-size: clamp(1.6rem, 3.2vw, 2.2rem); }
.cta-banner .btn-row { justify-content: center; }
/* On the dark banner, a white primary button pops more than teal-on-teal. */
.cta-banner .btn-primary { background: var(--white); color: var(--teal); box-shadow: none; }
.cta-banner .btn-primary:hover { background: var(--mint); color: var(--slate); }

/* ---------- Specialty pages ---------- */
/* Interior hero showing the specialty's own photo. */
.page-hero.hero-photo { padding: 110px 0 96px; }
.page-hero.hero-pelvic {
  background-image: linear-gradient(135deg, rgba(15,42,51,0.84) 0%, rgba(13,127,116,0.62) 100%),
                    url('../assets/images/service-pelvic.jpg'),
                    linear-gradient(135deg, var(--slate), var(--river));
}
.page-hero.hero-ortho {
  background-image: linear-gradient(135deg, rgba(15,42,51,0.84) 0%, rgba(13,127,116,0.62) 100%),
                    url('../assets/images/service-orthopedics.jpg'),
                    linear-gradient(135deg, var(--slate), var(--river));
}
.page-hero.hero-vestibular {
  background-image: linear-gradient(135deg, rgba(15,42,51,0.84) 0%, rgba(13,127,116,0.62) 100%),
                    url('../assets/images/service-vestibular.jpg'),
                    linear-gradient(135deg, var(--slate), var(--river));
}

.breadcrumb {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 18px;
}
.breadcrumb a { color: var(--white); text-decoration: none; font-weight: 500; }
.breadcrumb a:hover { color: var(--aqua); }
.breadcrumb span { margin: 0 8px; opacity: 0.6; }

.lead-text { font-size: 1.12rem; color: var(--ink-soft); max-width: 760px; }

/* Main content + sticky pricing aside */
.split { display: grid; grid-template-columns: 1.6fr 1fr; gap: 56px; align-items: start; }
.split h2 { font-size: clamp(1.5rem, 2.8vw, 2rem); margin-bottom: 16px; }
.split p  { color: var(--ink-soft); }

.aside-card {
  position: sticky;
  top: 96px;
  background: var(--mist);
  border-radius: var(--radius);
  padding: 30px 28px;
  border: 1px solid rgba(13, 127, 116, 0.12);
}
.aside-card h3 { font-size: 1.1rem; margin-bottom: 14px; }
.aside-card ul { list-style: none; padding: 0; margin: 0 0 20px; }
.aside-card li {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(15, 42, 51, 0.08);
  color: var(--ink-soft);
  font-size: 0.95rem;
}
.aside-card li strong { color: var(--teal); font-family: var(--font-display); }
.aside-card .btn { width: 100%; text-align: center; }
.aside-card .small { font-size: 0.84rem; color: var(--ink-soft); margin: 14px 0 0; }
.aside-card .small a { color: var(--teal); font-weight: 700; }
.aside-card .aside-lead { color: var(--ink-soft); font-size: 0.95rem; margin: 0 0 20px; }

/* Conditions as tidy chips */
.condition-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 24px 0 8px;
}
.condition-grid li {
  background: var(--white);
  border: 1px solid rgba(15, 42, 51, 0.08);
  border-left: 4px solid var(--aqua);
  border-radius: 12px;
  padding: 14px 16px;
  font-weight: 500;
  color: var(--slate);
  box-shadow: 0 4px 12px rgba(15, 42, 51, 0.04);
}

/* Numbered "what to expect" steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; counter-reset: step; }
.step {
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px 26px 28px;
  box-shadow: var(--shadow);
  position: relative;
}
.step::before {
  counter-increment: step;
  content: counter(step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), var(--aqua));
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  margin-bottom: 16px;
}
.step h3 { font-size: 1.08rem; margin-bottom: 8px; }
.step p  { color: var(--ink-soft); margin: 0; }

/* Related specialties strip */
.related { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.related a {
  display: block;
  text-decoration: none;
  background: var(--white);
  border-radius: var(--radius);
  padding: 26px 28px;
  box-shadow: var(--shadow);
  transition: transform .2s ease, box-shadow .2s ease;
}
.related a:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.related .eyebrow { margin-bottom: 6px; }
.related strong { font-family: var(--font-display); color: var(--slate); font-size: 1.1rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: var(--white); padding: 64px 0 26px; }

.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.1fr; gap: 40px; margin-bottom: 44px; }
.footer-grid h4 { color: var(--white); font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 18px; }
.footer-grid p,
.footer-grid a {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  font-size: 0.93rem;
  display: block;
  margin-bottom: 9px;
}
.footer-grid a:hover { color: var(--aqua); }

.footer-tagline {
  font-family: var(--font-display);
  color: var(--aqua) !important;
  font-size: 0.78rem !important;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 22px;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
}
.footer-bottom .disclaimer {
  display: block;
  max-width: 640px;
  margin: 10px auto 0;
  font-size: 0.74rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.42);
}

/* ---------- Responsive ---------- */
/* Header: collapse the menu earlier so logo + phone/fax + menu never crowd. */
@media (max-width: 1100px) {
  .nav-links {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 24px 26px;
    gap: 18px;
    border-bottom: 1px solid rgba(15, 42, 51, 0.08);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
}

/* Small phones: tighten the header so logo, numbers, and menu button fit. */
@media (max-width: 520px) {
  .nav-wrap { padding: 10px 14px; }
  .logo { gap: 8px; }
  .logo-mark { width: 36px; height: 36px; }
  .logo-type .wordmark { font-size: 0.92rem; letter-spacing: 0.08em; }
  .logo-type .subtitle { font-size: 0.48rem; letter-spacing: 0.2em; }
  .header-contact { margin-left: 10px; padding-left: 10px; font-size: 0.68rem; }
  .header-contact .hc-label { font-size: 0.56rem; margin-right: 4px; }
}

/* Narrow phones (e.g. 360px Androids): shrink the name and subtitle together;
   the name never appears without "Physical Therapy" under it. */
@media (max-width: 374px) {
  .logo-type .wordmark { font-size: 0.8rem; letter-spacing: 0.06em; }
  .logo-type .subtitle { font-size: 0.42rem; letter-spacing: 0.16em; margin-top: 4px; }
  .header-contact { font-size: 0.64rem; }
}

/* Smallest phones (320px): emblem only, so the numbers always fit. */
@media (max-width: 339px) {
  .logo-type { display: none; }
}

@media (max-width: 860px) {

  .card-grid,
  .pricing-grid,
  .package-grid,
  .contact-grid,
  .footer-grid,
  .two-col,
  .wide-card,
  .split,
  .steps,
  .related,
  .condition-grid { grid-template-columns: 1fr; }

  .aside-card { position: static; }
  .page-hero.hero-photo { padding: 84px 0 72px; }

  .wide-card .card-media { min-height: 240px; }
  .wide-card .card-body  { padding: 32px 26px; }

  .image-band { grid-template-columns: repeat(2, 1fr); }

  .hero-banner { min-height: 600px; }
  .hero-inner  { padding: 84px 20px 124px; }
  .waves       { height: 88px; }

  section { padding: 64px 0; }
  .quote-block { padding: 44px 26px; }
  .notice { padding: 28px 24px; }
}

/* ---------- Answers (footer-only /answers section) ---------- */
.answer-wrap { max-width: 820px; }

.answer-short {
  background: var(--mist);
  border-left: 5px solid var(--river);
  border-radius: var(--radius);
  padding: 26px 30px;
  margin-bottom: 36px;
}
.answer-short .eyebrow { margin-bottom: 8px; }
.answer-short p { margin: 0; font-size: 1.12rem; line-height: 1.65; color: var(--ink); }

.answer-body h2 { font-size: clamp(1.3rem, 2.4vw, 1.55rem); margin: 38px 0 12px; }
.answer-body p,
.answer-body li { color: var(--ink-soft); }
.answer-body ul { padding-left: 22px; margin: 0 0 16px; }
.answer-body li { margin-bottom: 8px; }
.answer-body strong,
.answer-short strong { color: var(--slate); }
.answer-body a,
.answer-short a { color: var(--teal); font-weight: 700; }

.answer-cta { margin-top: 48px; padding: 48px 32px; }
.answer-cta p { color: rgba(255, 255, 255, 0.9); max-width: 560px; margin: 0 auto 26px; }
.answer-cta .answer-call { margin: 22px auto 0; font-size: 0.95rem; }
.answer-cta .answer-call a { color: var(--white); font-weight: 700; }

.answer-list-title { font-size: 1.5rem; margin-bottom: 22px; }
.answer-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.answer-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px 26px;
  box-shadow: var(--shadow);
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
}
.answer-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.answer-card strong { font-family: var(--font-display); font-weight: 600; color: var(--slate); line-height: 1.35; }
.answer-card span { color: var(--ink-soft); font-size: 0.93rem; }
.answer-card .answer-more { color: var(--teal); font-weight: 700; font-size: 0.88rem; margin-top: auto; padding-top: 6px; }
.answer-all { margin: 26px 0 0; }
.answer-all a { color: var(--teal); font-weight: 700; text-decoration: none; }

@media (max-width: 860px) {
  .answer-list { grid-template-columns: 1fr; }
  .answer-short { padding: 22px 22px; }
  .answer-cta { padding: 40px 22px; }
}