/* =========================================================================
   COSTELLO CHIROPRACTIC — page-specific components
   ========================================================================= */

/* ---- DOCTORS BLOCK ------------------------------------------------------- */

.doctors-intro { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(24px, 4vw, 72px); align-items: end; margin-bottom: clamp(40px, 5vw, 72px); }
.doctors-intro h2 { max-width: 18ch; }
.doctors-intro .lead { color: var(--ink); }

.doctor-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 3vw, 48px); }
.doctor-card {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex; flex-direction: column;
  box-shadow: var(--shadow-soft);
}
.doctor-card__photo {
  aspect-ratio: 4 / 3;
  background: var(--sage-tint);
  position: relative; overflow: hidden;
}
.doctor-card__photo img { width: 100%; height: 100%; object-fit: cover; }
.doctor-card__tag {
  position: absolute; top: 14px; left: 14px;
  background: var(--bone); color: var(--ink);
  padding: 6px 12px; border-radius: var(--r-pill);
  font-family: var(--f-mono); font-size: 10px; letter-spacing: .16em; text-transform: uppercase;
}
.doctor-card__body { padding: 30px 28px 32px; flex: 1; display: flex; flex-direction: column; }
.doctor-card__name { font-family: var(--f-display); font-size: clamp(26px, 2.4vw, 32px); line-height: 1.05; margin: 0 0 6px; }
.doctor-card__name span { color: var(--terra-deep); font-size: .65em; vertical-align: super; margin-left: 4px; }
.doctor-card__role { font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--sage-deep); margin: 0 0 18px; }
.doctor-card__bio { color: var(--ink-mute); margin: 0 0 22px; font-size: 15.5px; line-height: 1.6; }
.doctor-card__meta { border-top: 1px solid var(--rule); padding-top: 18px; }
.doctor-card__meta dt { font-family: var(--f-mono); font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-mute); margin: 0 0 4px; }
.doctor-card__meta dd { margin: 0 0 14px; font-size: 14.5px; }
.doctor-card__meta ul { margin: 0; padding-left: 18px; font-size: 14.5px; line-height: 1.7; color: var(--ink); }
@media (max-width: 880px) { .doctors-intro { grid-template-columns: 1fr; } .doctor-grid { grid-template-columns: 1fr; } }

/* ---- PHILOSOPHY ---------------------------------------------------------- */

.philosophy { background: linear-gradient(160deg, var(--slate) 0%, var(--slate-deep) 100%); color: #fff; padding: var(--section-y) 0; position: relative; overflow: hidden; }
.philosophy .wrap { position: relative; z-index: 2; }
.philosophy h2 { color: #fff; max-width: 22ch; margin-bottom: 56px; }
.philosophy .eyebrow { color: var(--bone-soft); }
.philosophy .eyebrow::before { background: var(--bone-soft); }
.philosophy__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(24px, 3vw, 48px); }
.philosophy__cell { border-top: 1px solid rgba(239,233,224,.32); padding: 24px 0 0; }
.philosophy__cell dt { font-family: var(--f-display); font-size: clamp(22px, 2vw, 28px); line-height: 1.1; margin: 0 0 14px; color: var(--bone); }
.philosophy__cell dd { margin: 0; color: rgba(239,233,224,.82); font-size: 15.5px; line-height: 1.65; }
@media (max-width: 880px) { .philosophy__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .philosophy__grid { grid-template-columns: 1fr; } }

/* ---- CONDITIONS ---------------------------------------------------------- */

.conditions-head { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(24px, 4vw, 64px); align-items: end; margin-bottom: clamp(40px, 5vw, 72px); }
.conditions-head h2 { max-width: 16ch; }
.conditions { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--rule); border-left: 1px solid var(--rule); }
.condition {
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 28px 24px 32px;
  background: var(--bone);
  transition: background .25s ease;
}
.condition:hover { background: var(--bone-soft); }
.condition__num { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--sage-deep); margin-bottom: 18px; }
.condition__name { font-family: var(--f-display); font-size: clamp(20px, 1.8vw, 24px); line-height: 1.15; margin: 0 0 12px; }
.condition__blurb { color: var(--ink-mute); margin: 0; font-size: 14.5px; line-height: 1.6; }
@media (max-width: 1100px) { .conditions { grid-template-columns: repeat(2, 1fr); } .conditions-head { grid-template-columns: 1fr; } }
@media (max-width: 540px)  { .conditions { grid-template-columns: 1fr; } }

/* ---- TREATMENT APPROACH -------------------------------------------------- */

.treatments-head { max-width: 60ch; margin: 0 auto clamp(48px, 6vw, 88px); text-align: center; }
.treatments-head h2 { margin: 16px auto 18px; }
.treatments-head .eyebrow { display: inline-flex; }
.treatments-head .eyebrow::before { background: var(--terra); }

.treatment-row {
  display: grid; grid-template-columns: 100px 1fr 1.4fr;
  gap: clamp(20px, 3vw, 48px);
  padding: clamp(28px, 4vw, 44px) 0;
  border-top: 1px solid var(--rule);
  align-items: start;
}
.treatment-row:last-of-type { border-bottom: 1px solid var(--rule); }
.treatment-row__num { font-family: var(--f-mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--sage-deep); padding-top: 6px; }
.treatment-row__name { font-family: var(--f-display); font-size: clamp(24px, 2.2vw, 30px); line-height: 1.15; }
.treatment-row__blurb { color: var(--ink); font-size: 16px; line-height: 1.65; margin: 0; }
@media (max-width: 880px) { .treatment-row { grid-template-columns: 1fr; gap: 10px; padding: 24px 0; } .treatment-row__num { padding: 0; } }

/* ---- NEW PATIENT EXPERIENCE --------------------------------------------- */

.np-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 72px); align-items: start; }
.np-grid h2 { margin-bottom: 20px; }
.np-steps { list-style: none; margin: 28px 0 0; padding: 0; }
.np-step {
  display: grid; grid-template-columns: 56px 1fr; gap: 18px; align-items: start;
  padding: 22px 0; border-bottom: 1px solid var(--rule);
}
.np-step:last-child { border-bottom: 0; }
.np-step__num {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--bone-soft); color: var(--terra-deep);
  display: grid; place-items: center;
  font-family: var(--f-display); font-size: 22px; font-weight: 400;
  border: 1px solid var(--rule);
}
.np-step h4 { margin: 0 0 6px; font-size: 18px; }
.np-step p  { margin: 0; color: var(--ink-mute); font-size: 15px; line-height: 1.6; }
.np-photo {
  aspect-ratio: 3 / 4; border-radius: var(--r-lg); overflow: hidden;
  background: var(--sage-tint); box-shadow: var(--shadow-card);
  position: sticky; top: 100px;
}
.np-photo img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 880px) { .np-grid { grid-template-columns: 1fr; } .np-photo { position: relative; top: 0; aspect-ratio: 4/3; } }

/* ---- INSURANCE ----------------------------------------------------------- */

.insurance { background: var(--bone-soft); }
.insurance__inner { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(28px, 4vw, 72px); align-items: start; }
.insurance__list { columns: 2; column-gap: 28px; margin: 0; padding: 0; list-style: none; }
.insurance__list li {
  break-inside: avoid; padding: 12px 0; border-bottom: 1px solid var(--rule);
  font-size: 15px; display: flex; align-items: center; gap: 10px;
}
.insurance__list li::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--sage); flex: 0 0 8px;
}
.insurance__notes { display: grid; gap: 22px; margin-top: 32px; }
.insurance__note { padding: 22px 24px; background: var(--bone); border: 1px solid var(--rule); border-radius: var(--r-md); }
.insurance__note h4 { margin: 0 0 8px; font-size: 17px; }
.insurance__note p { margin: 0; color: var(--ink-mute); font-size: 14.5px; line-height: 1.6; }
@media (max-width: 880px) { .insurance__inner { grid-template-columns: 1fr; } .insurance__list { columns: 1; } }

/* ---- REVIEWS ------------------------------------------------------------- */

.reviews-head { text-align: center; max-width: 56ch; margin: 0 auto clamp(40px, 5vw, 72px); }
.reviews-head .eyebrow { display: inline-flex; }
.reviews-head h2 { margin: 16px auto 14px; }
.reviews-head .star { display: inline-block; color: var(--terra); margin: 0 1px; font-size: 18px; }
.review-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(20px, 2.5vw, 36px); }
.review {
  background: var(--bone); border: 1px solid var(--rule);
  border-radius: var(--r-md); padding: 32px 30px;
  position: relative;
}
.review__mark {
  position: absolute; top: -22px; left: 24px;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--terra); color: var(--bone);
  display: grid; place-items: center;
  font-family: var(--f-display); font-size: 30px; line-height: 1; padding-bottom: 6px;
}
.review p { margin: 0 0 22px; font-size: 16.5px; line-height: 1.65; color: var(--ink); }
.review__by { font-family: var(--f-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-mute); }
.review__by strong { color: var(--ink); font-weight: 500; }
@media (max-width: 880px) { .review-grid { grid-template-columns: 1fr; } }

/* ---- FAQ ----------------------------------------------------------------- */

.faq-head { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(24px, 4vw, 64px); align-items: end; margin-bottom: clamp(40px, 5vw, 64px); }
.faq-head h2 { max-width: 18ch; }
.faq-list { border-top: 1px solid var(--rule); }
.faq-item { border-bottom: 1px solid var(--rule); }
.faq-item summary {
  list-style: none; cursor: pointer;
  padding: 26px 0;
  display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center;
  font-family: var(--f-display); font-size: clamp(19px, 1.6vw, 22px); line-height: 1.25; color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; font-family: var(--f-display); font-size: 28px; color: var(--terra-deep);
  transition: transform .25s ease; line-height: 1; width: 28px; text-align: center;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { padding: 0 60px 26px 0; color: var(--ink-mute); font-size: 16px; line-height: 1.65; margin: 0; }
@media (max-width: 880px) { .faq-head { grid-template-columns: 1fr; } .faq-item p { padding-right: 0; } }

/* ---- BOOK / FORM --------------------------------------------------------- */

.book { background: var(--ink); color: var(--bone); }
.book h2 { color: var(--bone); max-width: 18ch; }
.book .eyebrow { color: var(--bone-soft); }
.book .eyebrow::before { background: var(--terra); }
.book__grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(28px, 4vw, 64px); align-items: start; }
@media (max-width: 880px) { .book__grid { grid-template-columns: 1fr; } }
.book__intro { color: rgba(239,233,224,.78); font-size: 16px; line-height: 1.65; }
.book__phone { margin-top: 28px; padding: 18px 20px; border: 1px solid rgba(239,233,224,.22); border-radius: var(--r-md); display: flex; align-items: center; gap: 14px; }
.book__phone strong { font-family: var(--f-display); font-size: 26px; color: var(--bone); }
.book__phone small { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: rgba(239,233,224,.6); display: block; margin-top: 2px; }
.book__phone svg { width: 28px; height: 28px; color: var(--terra-tint); }

.form { background: var(--bone); color: var(--ink); border-radius: var(--r-lg); padding: clamp(28px, 3vw, 40px); box-shadow: var(--shadow-card); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.form__row--single { grid-template-columns: 1fr; }
.form__field label { display: block; font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 6px; }
.form__field input, .form__field textarea, .form__field select {
  width: 100%; padding: 13px 14px; font: inherit; font-size: 15px;
  background: var(--white); color: var(--ink);
  border: 1px solid var(--rule); border-radius: var(--r-sm);
  transition: border-color .2s ease;
}
.form__field input:focus, .form__field textarea:focus, .form__field select:focus { border-color: var(--sage-deep); outline: none; }
.form__field textarea { min-height: 100px; resize: vertical; }
.form__notice {
  background: var(--bone-soft); border: 1px dashed var(--sage);
  padding: 14px 16px; border-radius: var(--r-sm);
  font-size: 13.5px; color: var(--ink-mute); margin: 4px 0 18px;
}
.form__notice strong { color: var(--sage-deep); }
.form button[type="submit"] { width: 100%; justify-content: center; padding: 16px 24px; }
@media (max-width: 540px) { .form__row { grid-template-columns: 1fr; } }

/* ---- VISIT --------------------------------------------------------------- */

.visit__grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.visit__details { display: grid; gap: 24px; }
.visit__row { padding: 20px 0; border-bottom: 1px solid var(--rule); }
.visit__row dt { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--sage-deep); margin: 0 0 6px; }
.visit__row dd { margin: 0; font-family: var(--f-display); font-size: clamp(20px, 2vw, 26px); line-height: 1.25; }
.visit__row dd small { display: block; font-family: var(--f-body); font-size: 14px; color: var(--ink-mute); margin-top: 4px; }
.visit__hours { list-style: none; margin: 0; padding: 0; }
.visit__hours li { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px dashed var(--rule); font-size: 15px; }
.visit__hours li:last-child { border-bottom: 0; }
.visit__hours strong { font-weight: 500; }
.visit__map {
  aspect-ratio: 4 / 5; background: var(--sage-tint);
  border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-card);
}
.visit__map iframe { width: 100%; height: 100%; border: 0; }
@media (max-width: 880px) { .visit__grid { grid-template-columns: 1fr; } .visit__map { aspect-ratio: 4/3; } }

/* ---- PAGE HEADER --------------------------------------------------------- */

.page-head { padding: clamp(48px, 8vw, 120px) 0 clamp(40px, 6vw, 80px); border-bottom: 1px solid var(--rule); }
.page-head__inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 64px); align-items: end; }
.page-head h1 { font-size: clamp(40px, 5.4vw, 76px); line-height: 1.02; max-width: 14ch; }
.page-head h1 em { color: var(--terra-deep); font-style: italic; font-variation-settings: "SOFT" 100; }
.page-head__lede { max-width: 50ch; color: var(--ink-mute); font-size: clamp(16px, 1.3vw, 19px); }
@media (max-width: 880px) { .page-head__inner { grid-template-columns: 1fr; } }

/* ---- CTA BAND ------------------------------------------------------------ */

.cta-band { background: linear-gradient(120deg, var(--slate-deep) 0%, var(--slate) 42%, var(--cyan-deep) 130%); color: #fff; padding: clamp(56px, 8vw, 112px) 0; position: relative; overflow: hidden; }
.cta-band h2 { color: #fff; max-width: 18ch; }
.cta-band .lead { color: rgba(255,255,255,.9); max-width: 56ch; }
.cta-band__inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; position: relative; z-index: 2; }
.cta-band__inner .btn--bone:hover { color: var(--cyan-deep); }
.cta-band__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.cta-band::after { content: ""; position: absolute; right: -140px; bottom: -160px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(62,142,110,.30), transparent 65%); pointer-events: none; }
@media (max-width: 880px) { .cta-band__inner { grid-template-columns: 1fr; } }

/* ---- 404 ----------------------------------------------------------------- */

.notfound { min-height: 78vh; display: grid; place-items: center; text-align: center; padding: 80px 0; }
.notfound__num { font-family: var(--f-display); font-size: clamp(96px, 18vw, 240px); line-height: .9; color: var(--terra-deep); font-style: italic; font-variation-settings: "SOFT" 100; }
.notfound h1 { font-size: clamp(28px, 3vw, 40px); margin: 16px 0 12px; }
.notfound p { color: var(--ink-mute); max-width: 44ch; margin: 0 auto 28px; }

/* ---- QUOTE PANEL --------------------------------------------------------- */
.panel-quote { background: var(--bone-soft); border-left: 4px solid var(--terra); padding: 28px 28px; border-radius: 4px; margin: 36px 0; }
.panel-quote p { font-family: var(--f-display); font-size: clamp(20px, 1.8vw, 26px); line-height: 1.4; color: var(--ink); margin: 0; }
.panel-quote cite { display: block; margin-top: 12px; font-style: normal; font-family: var(--f-mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-mute); }

/* ---- HERITAGE BAND ------------------------------------------------------- */

.heritage-band { position: relative; overflow: hidden; background: var(--slate); color: var(--bone);
  padding: clamp(64px, 9vw, 132px) 0; }
.heritage-band::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(820px 460px at 88% -10%, rgba(62,142,110,.22), transparent 70%),
              radial-gradient(680px 420px at 4% 120%, rgba(185,139,94,.16), transparent 72%); }
.heritage-band__spine { position: absolute; top: 50%; right: clamp(12px, 5vw, 96px); transform: translateY(-50%);
  width: clamp(60px, 8vw, 96px); color: rgba(62,142,110,.30); z-index: 0; }
.heritage-band__inner { position: relative; z-index: 2; max-width: 940px; }
.heritage-band__quote { font-size: clamp(24px, 3.4vw, 44px); line-height: 1.22; letter-spacing: -.015em;
  color: var(--bone); margin: 18px 0 22px; max-width: 30ch; }
.heritage-band__sig { font-family: var(--f-mono); font-size: 12.5px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--terra-tint); margin: 0; }

/* =========================================================================
   SUPPLEMENT — class aliases used by index.html
   ========================================================================= */

/* --- doctors grid alias -------------------------------------------------- */
.doctors__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 3vw, 48px); }
@media (max-width: 880px) { .doctors__grid { grid-template-columns: 1fr; } }
.doctor-card__specialties { list-style: none; margin: 0 0 20px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.doctor-card__specialties li {
  font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase;
  padding: 5px 12px; border: 1px solid var(--rule); border-radius: var(--r-pill);
  color: var(--ink-mute); background: var(--bone-soft);
}

/* --- philosophy band (light variant) ------------------------------------- */
.philosophy-band { background: var(--bone-soft); padding: var(--section-y) 0; }
.philosophy-band__inner { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--gutter);
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.philosophy-band__copy h2 { max-width: 22ch; }
.philosophy-band__copy p { color: var(--ink-mute); margin: 16px 0 28px; }
.philosophy-band__image { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-card); }
.philosophy-band__image img { width: 100%; height: auto; display: block; }
@media (max-width: 880px) { .philosophy-band__inner { grid-template-columns: 1fr; } }

/* --- conditions grid (card variant) -------------------------------------- */
.conditions__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 28px); }
@media (max-width: 880px) { .conditions__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .conditions__grid { grid-template-columns: 1fr; } }
.condition-card {
  background: var(--white); border: 1px solid var(--rule); border-radius: var(--r-md);
  padding: 28px 24px 30px; box-shadow: var(--shadow-soft);
  transition: box-shadow .25s ease, transform .25s ease;
}
.condition-card:hover { box-shadow: var(--shadow-card); transform: translateY(-2px); }
.condition-card__icon { width: 48px; height: 48px; margin-bottom: 18px; color: var(--terra); }
.condition-card__icon svg { width: 100%; height: 100%; }
.condition-card h3 { font-family: var(--f-display); font-size: clamp(19px, 1.6vw, 22px); line-height: 1.15; margin: 0 0 10px; }
.condition-card p { color: var(--ink-mute); margin: 0; font-size: 15px; line-height: 1.6; }

/* --- treatment rows (image variant) -------------------------------------- */
.treatment__rows { display: grid; gap: 0; }
.treatment-row__image { border-radius: var(--r-md); overflow: hidden; box-shadow: var(--shadow-soft); }
.treatment-row__image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.treatment-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px);
  padding: clamp(40px, 6vw, 80px) 0; border-top: 1px solid var(--rule); align-items: center;
}
.treatment-row:last-of-type { border-bottom: 1px solid var(--rule); }
.treatment-row--reverse .treatment-row__image { order: 2; }
.treatment-row--reverse .treatment-row__copy { order: 1; }
.treatment-row__copy h3 { font-family: var(--f-display); font-size: clamp(26px, 2.6vw, 36px); line-height: 1.1; margin: 8px 0 16px; }
.treatment-row__copy p { color: var(--ink-mute); margin: 0 0 14px; font-size: 16px; line-height: 1.65; }
.treatment-row__copy p:last-child { margin: 0; }
@media (max-width: 880px) {
  .treatment-row { grid-template-columns: 1fr; }
  .treatment-row--reverse .treatment-row__image,
  .treatment-row--reverse .treatment-row__copy { order: unset; }
}

/* --- heritage band supplement -------------------------------------------- */
.heritage-band__inner { text-align: center; }
.heritage-band__attribution { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--terra-tint); margin: 0 0 36px; display: block; }

/* --- new patient steps (step-card variant) ------------------------------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(20px, 2.5vw, 32px); }
@media (max-width: 640px) { .steps { grid-template-columns: 1fr; } }
.step-card {
  background: var(--white); border: 1px solid var(--rule); border-radius: var(--r-md);
  padding: 28px 26px 30px; display: flex; gap: 18px; align-items: flex-start;
  box-shadow: var(--shadow-soft);
}
.step-card__num {
  flex: 0 0 48px; width: 48px; height: 48px; border-radius: 50%;
  background: var(--bone-soft); border: 1px solid var(--rule);
  display: grid; place-items: center;
  font-family: var(--f-display); font-size: 20px; color: var(--terra-deep);
}
.step-card__body h3 { font-family: var(--f-display); font-size: clamp(18px, 1.5vw, 21px); line-height: 1.2; margin: 0 0 8px; }
.step-card__body p { margin: 0; color: var(--ink-mute); font-size: 15px; line-height: 1.6; }
.step-card__body p a { color: var(--terra-deep); }

/* --- insurance grid (badge variant) -------------------------------------- */
.insurance__grid { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; }
.insurance-badge {
  padding: 8px 18px; border: 1px solid var(--rule); border-radius: var(--r-pill);
  background: var(--white); font-size: 14px; color: var(--ink);
  font-family: var(--f-body); white-space: nowrap;
  box-shadow: var(--shadow-soft);
}
.insurance__note { color: var(--ink-mute); font-size: 15px; margin-top: 20px; }

/* --- reviews grid (card variant) ----------------------------------------- */
.reviews__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.5vw, 32px); }
@media (max-width: 880px) { .reviews__grid { grid-template-columns: 1fr; } }
.review-card {
  background: var(--white); border: 1px solid var(--rule); border-radius: var(--r-md);
  padding: 30px 28px 28px; display: flex; flex-direction: column; gap: 16px;
  box-shadow: var(--shadow-soft);
}
.review-card__stars { font-size: 18px; color: var(--terra); letter-spacing: 2px; }
.review-card__body { font-size: 16px; line-height: 1.65; color: var(--ink); flex: 1; margin: 0; }
.review-card__attribution { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--rule); display: flex; flex-direction: column; gap: 3px; }
.review-card__attribution cite { font-style: normal; font-weight: 500; font-size: 14px; }
.review-card__source { font-family: var(--f-mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-mute); }
.review-card--cta { background: var(--bone-soft); justify-content: center; text-align: center; }
.review-card--cta p { font-size: 15.5px; line-height: 1.6; color: var(--ink-mute); margin: 0 0 20px; }

/* --- faq list (dl variant) ----------------------------------------------- */
.faq__list { border-top: 1px solid var(--rule); }
.faq-item { border-bottom: 1px solid var(--rule); padding: 22px 0; }
.faq-item__q { font-family: var(--f-display); font-size: clamp(18px, 1.6vw, 22px); line-height: 1.3; color: var(--ink); margin: 0 0 10px; }
.faq-item__a { margin: 0; color: var(--ink-mute); font-size: 15.5px; line-height: 1.65; }
.faq-item__a a { color: var(--terra-deep); }

/* --- book form (layout) -------------------------------------------------- */
.book { background: var(--ink); color: var(--bone); }
.book__inner { max-width: var(--max-w); margin: 0 auto; padding: var(--section-y) var(--gutter);
  display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(36px, 5vw, 80px); align-items: start; }
@media (max-width: 880px) { .book__inner { grid-template-columns: 1fr; } }
.book__copy h2 { color: var(--bone); max-width: 20ch; }
.book__copy p { color: rgba(239,233,224,.78); font-size: 16px; line-height: 1.65; margin: 0 0 16px; }
.book__copy p a { color: var(--terra-tint); }
.book__notice { font-size: 13.5px !important; padding: 12px 16px; border: 1px dashed rgba(255,255,255,.2); border-radius: var(--r-sm); background: rgba(255,255,255,.05); color: rgba(239,233,224,.6) !important; }
.book__hours { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 8px; border-top: 1px solid rgba(255,255,255,.12); padding-top: 20px; }
.book__hours li { font-size: 15px; color: rgba(239,233,224,.8); }
.book__hours li strong { color: var(--bone); }
.book__hours li a { color: var(--terra-tint); }
/* form fields inside .book */
.book .form__label { display: block; font-family: var(--f-mono); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: rgba(239,233,224,.6); margin-bottom: 6px; }
.book .form__input {
  width: 100%; padding: 13px 14px; font: inherit; font-size: 15px;
  background: rgba(255,255,255,.06); color: var(--bone);
  border: 1px solid rgba(255,255,255,.16); border-radius: var(--r-sm);
  transition: border-color .2s ease;
  -webkit-appearance: none; appearance: none;
}
.book .form__input:focus { border-color: var(--terra); outline: none; }
.book .form__textarea { min-height: 90px; resize: vertical; }
.book .form__row { margin-bottom: 14px; }
.book .form__row--2col { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 540px) { .book .form__row--2col { grid-template-columns: 1fr; } }
.book .btn--full { width: 100%; justify-content: center; margin-top: 4px; }
.book .form__after { color: var(--terra-tint); font-size: 14px; margin-top: 12px; }
/* select dropdown color fix */
.book .form__input option { background: var(--ink); color: var(--bone); }

/* --- visit section ------------------------------------------------------- */
.visit { display: grid; grid-template-columns: 1fr 1fr; min-height: 480px; }
.visit__map { height: 480px; background: var(--bone-soft); }
.visit__info { background: var(--bone); padding: clamp(36px, 5vw, 64px) clamp(28px, 4vw, 56px); display: flex; flex-direction: column; justify-content: center; gap: 20px; }
.visit__info h2 { max-width: 18ch; }
.visit__details { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.visit__details li { display: flex; align-items: center; gap: 10px; font-size: 15.5px; color: var(--ink); }
.visit__details svg { color: var(--terra-deep); flex: 0 0 18px; }
.visit__details a { color: var(--ink); }
.visit__details a:hover { color: var(--terra-deep); }
@media (max-width: 880px) {
  .visit { grid-template-columns: 1fr; }
  .visit__map { height: 280px; order: 2; }
  .visit__info { order: 1; }
}

/* --- cta band copy ------------------------------------------------------- */
.cta-band__copy { max-width: 60ch; }
.cta-band__copy h2 { color: #fff; max-width: 22ch; margin-bottom: 16px; }
.cta-band__copy p { color: rgba(255,255,255,.85); font-size: clamp(15px, 1.2vw, 17px); line-height: 1.65; margin: 0 0 32px; }
.cta-band__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.cta-band .container { position: relative; z-index: 2; }

/* --- footer credit ------------------------------------------------------- */
.footer__credit { font-size: 12.5px; }
.footer__shijil { opacity: .45; font-size: 11px; }

/* --- global utilities missing from base.css ------------------------------ */
.container { max-width: var(--max-w, 1200px); margin: 0 auto; padding: 0 var(--gutter, clamp(20px,4vw,48px)); position: relative; z-index: 2; }
.section-header { text-align: center; max-width: 56ch; margin: 0 auto clamp(40px, 5vw, 72px); }
.section-header h2 { margin: 14px auto 14px; }
.section-sub { color: var(--ink-mute); font-size: clamp(15px, 1.1vw, 17px); line-height: 1.65; margin: 0; }
.section-sub a { color: var(--terra-deep); }
/* extra button variants */
.btn--ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.btn--ghost-light:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.btn--outline { background: transparent; color: var(--slate); border-color: var(--slate); }
.btn--outline:hover { background: var(--slate); color: #fff; }
.btn--sm { padding: 9px 20px; font-size: 13.5px; }
/* sections with padding via class for index sections that use .reveal wrapping */
.doctors, .conditions, .treatment, .new-patient, .insurance, .reviews, .faq { padding: var(--section-y) 0; position: relative; }
.insurance { background: var(--bone-soft); }
.reviews { background: var(--bone); }
.faq { background: var(--white); }
