/* ============================================================
   Eldridge Family Psychiatry & Wellness
   Calm-premium redesign built around Olga's logo:
   elegant serif wordmark, teal -> sage -> gold gradient thread.
   Palette: ivory / deep forest / sage / muted teal-blue / charcoal / gold.
   Motion: quiet. IO fade-ups, one sticky moment, nothing scrubbed.
   ============================================================ */

:root {
  --ivory: #F8F5EE;
  --ivory-deep: #F1ECE1;
  --forest: #24382E;
  --forest-deep: #1B2B23;
  --sage: #8FA687;
  --sage-soft: #E4EADF;
  --teal: #2E5F6E;
  --charcoal: #2A2D2B;
  --ink-soft: #5C635E;
  --gold: #B9975B;
  --gold-deep: #8F7136;
  --white: #FDFCF9;
  --line: rgba(36, 56, 46, 0.12);

  --font-display: 'Cormorant Garamond', 'Iowan Old Style', Georgia, serif;
  --font-body: 'Manrope', -apple-system, 'Segoe UI', sans-serif;

  --radius: 16px;
  --radius-sm: 10px;
  --shadow-soft: 0 18px 50px -18px rgba(36, 56, 46, 0.22);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --logo-gradient: linear-gradient(100deg, var(--teal) 0%, var(--sage) 52%, var(--gold) 100%);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  /* overflow-x: clip, never hidden: hidden silently breaks position: sticky */
  overflow-x: clip;
  scroll-padding-top: 96px;
}

body {
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.75;
  color: var(--charcoal);
  background: var(--ivory);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--forest);
  line-height: 1.12;
  letter-spacing: -0.01em;
}

h2 { font-size: clamp(2rem, 4.2vw, 2.9rem); margin-bottom: 18px; }
h3 { font-size: 1.45rem; }

p { color: var(--ink-soft); }

a { color: var(--forest); }

::selection { background: var(--sage-soft); color: var(--forest); }

/* ---------- Wordmark (Olga's real logo file) ---------- */
.wordmark {
  display: flex;
  align-items: center;
  text-decoration: none;
  line-height: 1;
}
.wordmark-img {
  height: 40px;
  width: auto;
  display: block;
}
.footer-wordmark {
  background: #fff;
  padding: 14px 20px;
  border-radius: 10px;
  display: inline-flex;
  width: fit-content;
}
.footer-wordmark-img {
  height: 34px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out), background-color 0.25s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px) scale(0.99); }

.btn-primary {
  background: var(--forest);
  color: var(--ivory);
}
.btn-primary:hover { background: var(--forest-deep); box-shadow: var(--shadow-soft); transform: translateY(-1px); }

.btn-secondary {
  background: transparent;
  color: var(--forest);
  border-color: rgba(36, 56, 46, 0.35);
}
.btn-secondary:hover { border-color: var(--forest); background: rgba(36, 56, 46, 0.04); }

.btn-gold {
  background: var(--gold);
  color: var(--forest-deep);
}
.btn-gold:hover { background: var(--gold-deep); color: var(--ivory); box-shadow: var(--shadow-soft); transform: translateY(-1px); }

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(248, 245, 238, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.nav.scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 8px 30px -20px rgba(36, 56, 46, 0.25);
}
.nav-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-links a {
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--charcoal);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--forest); }
.nav-links .nav-cta {
  background: var(--forest);
  color: var(--ivory);
  padding: 11px 22px;
  border-radius: 999px;
  font-weight: 600;
}
.nav-links .nav-cta:hover { background: var(--forest-deep); color: var(--ivory); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
}
.nav-toggle span {
  width: 24px; height: 2px;
  background: var(--forest);
  border-radius: 2px;
}

#navSentinel { position: absolute; top: 0; height: 1px; width: 1px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  padding: 150px 0 100px;
}
.hero-bg-video {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.hero-bg-video video {
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero-bg-video-tint {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(248,245,238,0.97) 0%, rgba(248,245,238,0.9) 42%, rgba(248,245,238,0.55) 100%);
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
}
.hero-copy h1 {
  font-size: clamp(2.9rem, 6vw, 4.5rem);
  margin-bottom: 24px;
}
.hero-copy h1 em {
  font-style: italic;
  font-weight: 500;
  color: var(--teal); /* solid logo teal: 6.4:1 on ivory, gradient stays reserved for the wordmark */
  /* italic descenders (y) need breathing room */
  line-height: 1.15;
  padding-bottom: 0.08em;
  display: inline-block;
}
.hero-sub {
  font-size: 1.14rem;
  max-width: 34rem;
  margin-bottom: 34px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-visual { position: relative; }
.hero-photo-frame {
  border-radius: 250px 250px var(--radius) var(--radius); /* soft arch: calm, timeless */
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(185, 151, 91, 0.35);
  max-width: 400px;
  margin-left: auto;
}
.hero-photo-img { width: 100%; height: auto; object-fit: cover; }
.hero-caption-card {
  position: absolute;
  left: -8px;
  bottom: 26px;
  z-index: 2;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-soft);
  padding: 16px 20px;
  max-width: 290px;
}
.hero-caption-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--forest);
  margin-bottom: 4px;
}
.hero-caption-card p { font-size: 0.88rem; line-height: 1.5; }

.hero-gradient-rule {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 3px;
  background: var(--logo-gradient);
  opacity: 0.85;
}

/* Hero copy fades up on load (not scroll) */
@media (prefers-reduced-motion: no-preference) {
  .hero-copy, .hero-visual {
    opacity: 0;
    transform: translateY(22px);
    animation: heroRise 1s var(--ease-out) forwards;
  }
  .hero-visual { animation-delay: 0.15s; }
  @keyframes heroRise {
    to { opacity: 1; transform: none; }
  }
}

/* ---------- Trust strip ---------- */
.intro-strip {
  background: var(--forest);
  padding: 64px 0;
}
.intro-strip-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: center;
}
.intro-line {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.4vw, 1.85rem);
  font-style: italic;
  color: var(--ivory);
  line-height: 1.4;
  max-width: 30ch;
}
.intro-stats {
  display: grid;
  grid-template-columns: repeat(4, auto);
  gap: 40px;
}
.intro-stat .num {
  display: block;
  font-family: var(--font-display);
  font-size: 1.7rem;
  color: var(--gold);
  line-height: 1.2;
  white-space: nowrap;
}
.intro-stat .lbl {
  font-size: 0.82rem;
  color: rgba(248, 245, 238, 0.75);
  letter-spacing: 0.02em;
}

/* ---------- Eyebrow (rationed: 2 uses on the page) ---------- */
.eyebrow {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 14px;
}

/* ---------- Sections ---------- */
section { padding: 110px 0; }
.hero { padding: 150px 0 100px; }
.intro-strip { padding: 64px 0; }

.section-head { max-width: 620px; margin-bottom: 56px; }
.section-head.centered { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { font-size: 1.05rem; }

/* ---------- Conditions accordion ---------- */
.conditions { background: var(--ivory); }
.conditions-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 72px;
  align-items: start;
}
.conditions-copy { position: sticky; top: 120px; }
.conditions-copy p { font-size: 1.05rem; margin-bottom: 22px; }
.age-note {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--forest);
  background: var(--sage-soft);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  margin-bottom: 28px;
}
.age-note svg { flex: 0 0 auto; }

.condition-item, .faq-item {
  border-bottom: 1px solid var(--line);
}
.condition-item summary, .faq-item summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 4px;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 1.32rem;
  font-weight: 500;
  color: var(--forest);
  transition: color 0.2s;
}
.condition-item summary:hover, .faq-item summary:hover { color: var(--teal); }
.condition-item summary::-webkit-details-marker, .faq-item summary::-webkit-details-marker { display: none; }

.condition-item .icon, .faq-item .icon {
  position: relative;
  flex: 0 0 auto;
  width: 26px; height: 26px;
  border-radius: 50%;
  border: 1px solid rgba(36, 56, 46, 0.3);
  transition: transform 0.3s var(--ease-out), background-color 0.25s, border-color 0.25s;
}
.condition-item .icon::before, .condition-item .icon::after,
.faq-item .icon::before, .faq-item .icon::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 10px; height: 1.6px;
  background: var(--forest);
  transform: translate(-50%, -50%);
  transition: transform 0.3s var(--ease-out), background-color 0.25s;
}
.condition-item .icon::after, .faq-item .icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}
.condition-item[open] .icon, .faq-item[open] .icon {
  background: var(--forest);
  border-color: var(--forest);
}
.condition-item[open] .icon::before, .condition-item[open] .icon::after,
.faq-item[open] .icon::before, .faq-item[open] .icon::after {
  background: var(--ivory);
}
.condition-item[open] .icon::after, .faq-item[open] .icon::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.condition-answer, .faq-answer {
  padding: 0 44px 22px 4px;
  font-size: 0.99rem;
  color: var(--ink-soft);
}

/* ---------- About / philosophy (the one sticky moment) ---------- */
.about { background: var(--ivory-deep); }
.about-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 80px;
  align-items: start;
}
.about-visual {
  position: sticky;
  top: 120px;
}
.about-visual-img {
  border-radius: 250px 250px var(--radius) var(--radius);
  border: 1px solid rgba(185, 151, 91, 0.35);
  box-shadow: var(--shadow-soft);
}
.about-visual-caption { margin-top: 20px; text-align: center; }
.sig-name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--forest);
}
.sig-role { font-size: 0.85rem; color: var(--ink-soft); }

.about-copy .lead {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.45rem;
  color: var(--teal);
  line-height: 1.45;
  margin: 20px 0 18px;
}
.about-copy .reveal > p:not(.lead) { margin-bottom: 14px; }

.philosophy-list {
  margin-top: 40px;
  display: grid;
  gap: 22px;
}
.philosophy-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 22px 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.philosophy-item .mark {
  flex: 0 0 auto;
  width: 40px; height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--sage-soft);
  color: var(--forest);
}
.philosophy-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 600;
  color: var(--forest);
  margin-bottom: 4px;
}
.philosophy-item p { font-size: 0.95rem; }

.team-soon {
  margin-top: 26px;
  display: flex;
  gap: 20px;
  align-items: center;
  padding: 22px 24px;
  background: var(--sage-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.team-soon img {
  flex: 0 0 auto;
  width: 96px; height: 120px;
  object-fit: cover;
  border-radius: 60px 60px var(--radius-sm) var(--radius-sm);
  border: 1px solid rgba(185, 151, 91, 0.4);
}
.team-soon-tag {
  display: block;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 4px;
}
.team-soon strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.22rem;
  font-weight: 600;
  color: var(--forest);
  margin-bottom: 4px;
}
.team-soon p { font-size: 0.92rem; }

/* ---------- Journey (how it works) ---------- */
.journey { background: var(--ivory); }
.journey-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}
.journey-step {
  padding: 44px 36px 10px;
  border-left: 1px solid var(--line);
}
.journey-step:first-child { border-left: 0; padding-left: 4px; }
.journey-mark {
  width: 52px; height: 52px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--forest);
  color: var(--gold);
  margin-bottom: 22px;
}
.journey-step h3 { margin-bottom: 10px; }
.journey-step p { font-size: 0.98rem; }

/* ---------- Services / pricing ---------- */
.services { background: var(--forest-deep); }
.services .section-head h2 { color: var(--ivory); }
.services .section-head p { color: rgba(248, 245, 238, 0.78); }
.services .eyebrow { color: var(--gold); }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 460px));
  justify-content: center;
  gap: 28px;
}
.price-card {
  background: var(--ivory);
  border-radius: var(--radius);
  padding: 40px 36px;
  border: 1px solid var(--line);
}
.price-card.featured {
  border: 1px solid rgba(185, 151, 91, 0.6);
  box-shadow: 0 24px 70px -24px rgba(0, 0, 0, 0.45);
}
.price-card .tag {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-deep);
  background: rgba(185, 151, 91, 0.14);
  border-radius: 999px;
  padding: 6px 14px;
  margin-bottom: 18px;
}
.price-card h3 { margin-bottom: 10px; }
.price-card .price {
  font-family: var(--font-display);
  font-size: 2.6rem;
  color: var(--forest);
  margin-bottom: 12px;
}
.price-card .price span {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--ink-soft);
}
.price-card .desc { font-size: 0.98rem; margin-bottom: 20px; }
.price-card ul { list-style: none; display: grid; gap: 12px; }
.price-card li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--charcoal);
}
.price-card li svg { width: 17px; height: 17px; color: var(--sage); flex: 0 0 auto; }

.services-note {
  max-width: 720px;
  margin: 44px auto 0;
  text-align: center;
  font-size: 0.94rem;
  color: rgba(248, 245, 238, 0.75);
}

/* ---------- Insurance + hours ---------- */
.insurance { background: var(--ivory); }
.insurance-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 72px;
  align-items: start;
}
.insurance-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 8px 0 18px;
}
.insurance-chip {
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--line);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--forest);
}
.insurance-note { font-size: 0.95rem; max-width: 46rem; }

.hours-block { margin-top: 44px; }
.hours-block h3 { margin-bottom: 8px; }
.hours-lede { font-size: 0.98rem; margin-bottom: 18px; max-width: 40rem; }
.hours-grid { display: grid; max-width: 430px; }
.hours-row {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 11px 2px;
  border-bottom: 1px solid var(--line);
}
.hours-row dt { font-weight: 600; color: var(--forest); font-size: 0.95rem; }
.hours-row dd { color: var(--ink-soft); font-size: 0.95rem; }

.portal-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 38px 34px;
  position: sticky;
  top: 120px;
}
.portal-card h3 { margin-bottom: 10px; }
.portal-card p { font-size: 0.95rem; margin-bottom: 20px; }
.portal-card .btn { width: 100%; white-space: normal; }
.portal-divider {
  height: 1px;
  background: var(--line);
  margin: 30px 0;
}

/* ---------- FAQ ---------- */
.faq { background: var(--ivory-deep); }
.faq-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 72px;
  align-items: start;
}
.faq-item summary { font-size: 1.15rem; }

/* ---------- Contact ---------- */
.contact { background: var(--ivory); }
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  max-width: 1000px;
  margin: 0 auto;
}
.contact-card, .contact-form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 38px 34px;
}
.contact-card h3, .contact-form-card h3 { margin-bottom: 8px; }
.contact-card > p, .contact-form-card > p { font-size: 0.95rem; margin-bottom: 24px; }

.contact-row {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 12px 0;
}
.contact-row .icon-box {
  flex: 0 0 auto;
  width: 40px; height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--sage-soft);
  color: var(--forest);
}
.contact-row .label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.contact-row a, .contact-row .value {
  font-weight: 600;
  color: var(--forest);
  text-decoration: none;
  font-size: 0.98rem;
}
.contact-row a:hover { color: var(--teal); }
.contact-card .btn { width: 100%; margin-top: 22px; white-space: normal; }

.headway-cta { width: 100%; }
.headway-note {
  font-size: 0.85rem;
  color: var(--ink-soft);
  text-align: center;
  margin-top: 12px;
}
.form-divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 26px 0 20px;
  color: var(--ink-soft);
  font-size: 0.85rem;
}
.form-divider::before, .form-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

.form-group { margin-bottom: 16px; }
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--forest);
  margin-bottom: 6px;
}
.form-group input, .form-group textarea, .form-group select {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid rgba(36, 56, 46, 0.25);
  border-radius: var(--radius-sm);
  background: var(--ivory);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--charcoal);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-group input::placeholder, .form-group textarea::placeholder { color: #79807A; }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  outline: none;
  border-color: var(--forest);
  box-shadow: 0 0 0 3px rgba(143, 166, 135, 0.3);
}
.form-group textarea { min-height: 110px; resize: vertical; }
.form-privacy-note { font-size: 0.82rem; margin-bottom: 16px; }
.form-submit {
  width: 100%;
  background: var(--forest);
  color: var(--ivory);
  border: 0;
}
.form-submit:hover { background: var(--forest-deep); }

/* ---------- Footer ---------- */
.footer {
  background: var(--forest-deep);
  color: rgba(248, 245, 238, 0.8);
  padding: 72px 0 36px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(248, 245, 238, 0.14);
}
.footer-wordmark .wordmark-sub { color: rgba(248, 245, 238, 0.65); }
.footer-brand p { font-size: 0.92rem; color: rgba(248, 245, 238, 0.7); margin-top: 16px; max-width: 34rem; }
.footer-col h4 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.1rem;
  color: var(--ivory);
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; display: grid; gap: 10px; }
.footer-col a, .footer-col li {
  color: rgba(248, 245, 238, 0.75);
  text-decoration: none;
  font-size: 0.92rem;
}
.footer-col a:hover { color: var(--gold); }

.footer-clinical {
  padding: 26px 0;
  font-size: 0.82rem;
  line-height: 1.7;
  color: rgba(248, 245, 238, 0.6);
  border-bottom: 1px solid rgba(248, 245, 238, 0.14);
}
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 26px;
  font-size: 0.85rem;
  color: rgba(248, 245, 238, 0.65);
}
/* Provider login: deliberately quiet. It is for Olga, not for patients, so it
   sits in the copyright line at 70% opacity rather than in the nav. */
.provider-login {
  margin-left: 14px;
  padding-left: 14px;
  border-left: 1px solid rgba(248, 245, 238, 0.2);
  color: rgba(248, 245, 238, 0.5);
  transition: color 0.2s;
}
.provider-login:hover { color: rgba(248, 245, 238, 0.9); }
.footer-socials { display: flex; gap: 12px; }
.footer-socials a {
  width: 36px; height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(248, 245, 238, 0.25);
  color: rgba(248, 245, 238, 0.8);
  transition: border-color 0.2s, color 0.2s;
}
.footer-socials a:hover { border-color: var(--gold); color: var(--gold); }

/* ---------- Review ask (sits directly under Contact, where returning patients land) ---------- */
/* Secondary CTA, so it stays quieter than the full-height sections above it. */
.review-ask {
  background: var(--sage-soft);
  border-top: 1px solid var(--line);
  padding: 56px 0;
}
.review-ask-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.review-ask-stars {
  display: flex;
  gap: 5px;
  color: var(--gold);
  margin-bottom: 12px;
}
.review-ask h3 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  font-weight: 500;
  color: var(--forest-deep);
  line-height: 1.2;
}
.review-ask p {
  margin-top: 8px;
  max-width: 46ch;
  color: var(--ink-soft);
  font-size: 0.98rem;
}
.btn-review {
  background: var(--forest);
  color: var(--ivory);
  flex-shrink: 0;
}
.btn-review:hover {
  background: var(--forest-deep);
  box-shadow: var(--shadow-soft);
  transform: translateY(-1px);
}
@media (max-width: 768px) {
  .review-ask-inner { flex-direction: column; align-items: flex-start; gap: 22px; }
  .btn-review { width: 100%; }
}

/* ---------- Scroll reveals (motion is opt-in via media query) ---------- */
.reveal { opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
  }
  .reveal.is-visible {
    opacity: 1;
    transform: none;
  }
}

/* Reduced motion: static poster instead of the ambient loop */
@media (prefers-reduced-motion: reduce) {
  .hero-bg-video { background: url('../assets/hero-poster.jpg') center/cover no-repeat; }
  .hero-bg-video video { display: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 44px; }
  .hero-photo-frame { margin: 0 auto; }
  .hero-caption-card { left: 8px; }
  .intro-strip-inner { grid-template-columns: 1fr; gap: 32px; }
  .intro-stats { grid-template-columns: repeat(2, auto); gap: 26px 44px; }
  .conditions-layout, .about-layout, .faq-layout, .insurance-layout {
    grid-template-columns: 1fr;
    gap: 44px;
  }
  /* unpin sticky panels on smaller screens */
  .conditions-copy, .about-visual, .portal-card { position: static; }
  .about-visual { max-width: 380px; }
  .journey-steps { grid-template-columns: 1fr; border-top: 0; }
  .journey-step { border-left: 0; border-top: 1px solid var(--line); padding: 36px 4px 10px; }
  .pricing-grid { grid-template-columns: minmax(0, 460px); }
  .contact-layout { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  section { padding: 76px 0; }
  .hero { padding: 130px 0 70px; }
  body { font-size: 16px; }

  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--ivory);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px -24px rgba(36, 56, 46, 0.35);
    padding: 10px 24px 22px;
  }
  .nav-links.mobile-open { display: flex; }
  .nav-links a { padding: 13px 4px; border-bottom: 1px solid var(--line); }
  .nav-links .nav-cta {
    margin-top: 14px;
    text-align: center;
    border-bottom: 0;
  }

  .footer-top { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .condition-answer, .faq-answer { padding-right: 8px; }
  .contact-row .value { font-size: 0.9rem; }
}
