/* =========================================================================
   NEW HORIZON 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(235,245,250,.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(235,245,250,.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 BAND ------------------------------------------------------ */

.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(235,245,250,.78); font-size: 16px; line-height: 1.65; }
.book__phone { margin-top: 28px; padding: 18px 20px; border: 1px solid rgba(235,245,250,.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(235,245,250,.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 BLOCK --------------------------------------------------------- */

.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 (inner pages) ------------------------------------------ */

.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; } }

/* ---- LARGE CTA BANNER --------------------------------------------------- */

.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(232,145,74,.30), transparent 65%); pointer-events: none; }
@media (max-width: 880px) { .cta-band__inner { grid-template-columns: 1fr; } }

/* ---- PHOTO STRIP --------------------------------------------------------- */

.strip { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 18px; padding: var(--section-y) 0; }
.strip__tile { aspect-ratio: 4 / 5; border-radius: var(--r-md); overflow: hidden; background: var(--sage-tint); }
.strip__tile:first-child { aspect-ratio: 4 / 5; }
.strip__tile img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 880px) { .strip { grid-template-columns: 1fr 1fr; } .strip__tile:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 10; } }

/* ---- 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; }

/* ---- PANEL QUOTE --------------------------------------------------------- */
.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); }

/* ---- PAGE HERO (inner pages) -------------------------------------------- */

.page-hero {
  background: linear-gradient(180deg, var(--bone-soft) 0%, var(--bone) 100%);
  border-bottom: 1px solid var(--rule);
  padding: clamp(96px, 14vw, 160px) 0 clamp(48px, 7vw, 88px);
}
.page-hero--compact { padding-top: clamp(80px, 11vw, 120px); padding-bottom: clamp(32px, 5vw, 60px); }
.page-hero__inner { max-width: 760px; }
.page-hero h1 { font-size: clamp(40px, 5.8vw, 80px); line-height: 1.02; margin: 12px 0 0; }
.page-hero__sub { margin: 16px 0 0; color: var(--ink-mute); font-family: var(--f-mono); font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase; }

/* ---- IMG PLACEHOLDER ---------------------------------------------------- */

.img-placeholder {
  background: var(--sage-tint);
  border-radius: var(--r-lg);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 16px; color: var(--ink-mute);
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em;
  text-transform: uppercase; text-align: center; padding: 48px 24px;
  aspect-ratio: 3 / 4;
}
.img-placeholder--tall { aspect-ratio: 3 / 4; }
.img-placeholder svg { width: 48px; height: 48px; opacity: .45; }

/* ---- DOCTOR BIO PAGE ---------------------------------------------------- */

.doc-bio__inner {
  display: grid; grid-template-columns: 420px 1fr;
  gap: clamp(40px, 5vw, 88px); align-items: start;
}
.doc-bio__credential-badge {
  margin-top: 20px;
  background: var(--bone); border: 1px solid var(--rule);
  border-radius: var(--r-md); padding: 20px 22px;
  display: grid; gap: 10px;
}
.doc-bio__cred-line {
  font-size: 14px; color: var(--ink-mute); line-height: 1.4;
  padding-bottom: 10px; border-bottom: 1px dashed var(--rule);
}
.doc-bio__cred-line:last-child { border-bottom: 0; padding-bottom: 0; }
.doc-bio__cred-line strong { color: var(--slate); font-weight: 600; margin-right: 8px; }
.doc-bio__text h2 { margin-bottom: 24px; }
.doc-bio__text p { color: var(--ink-mute); margin-bottom: 18px; line-height: 1.7; }
.doc-bio__quote {
  margin: 32px 0 0; padding: 24px 28px;
  background: var(--bone-soft); border-left: 3px solid var(--terra);
  border-radius: 0 var(--r-md) var(--r-md) 0;
}
.doc-bio__quote p { font-family: var(--f-display); font-size: clamp(18px, 1.6vw, 22px); line-height: 1.45; color: var(--ink); margin: 0; }
.doc-bio__quote cite { display: block; margin-top: 14px; font-style: normal; font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-mute); }
@media (max-width: 1040px) { .doc-bio__inner { grid-template-columns: 1fr; } .img-placeholder--tall { aspect-ratio: 3/2; } }

/* ---- FOCUS AREAS GRID --------------------------------------------------- */

.focus-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2.5vw, 32px); margin-top: clamp(32px, 4vw, 56px);
}
.focus-card {
  background: var(--white); border: 1px solid var(--rule);
  border-radius: var(--r-md); padding: 28px 26px;
  transition: box-shadow .25s ease, transform .25s ease;
}
.focus-card:hover { box-shadow: var(--shadow-card); transform: translateY(-2px); }
.focus-card__icon {
  width: 48px; height: 48px;
  background: var(--bone-soft); border-radius: var(--r-sm);
  display: grid; place-items: center; margin-bottom: 18px; color: var(--slate);
}
.focus-card__icon svg { width: 24px; height: 24px; }
.focus-card h3 { font-size: clamp(17px, 1.4vw, 20px); margin: 0 0 10px; }
.focus-card p { color: var(--ink-mute); font-size: 14.5px; line-height: 1.65; margin: 0; }
@media (max-width: 1040px) { .focus-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .focus-grid { grid-template-columns: 1fr; } }

/* ---- PHILOSOPHY BAND (inner page variant) ------------------------------- */

.phil-band--blue {
  background: linear-gradient(155deg, var(--slate) 0%, var(--slate-deep) 100%);
  color: #fff; padding: var(--section-y) 0; overflow: hidden;
}
.phil-band--blue .eyebrow--light { color: rgba(235,245,250,.7); }
.phil-band--blue .eyebrow--light::before { background: rgba(235,245,250,.5); }
.phil-band--blue h2 { color: #fff; max-width: 22ch; margin-bottom: clamp(32px, 5vw, 64px); }
.phil-pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 2.8vw, 40px); }
.phil-pill { border-top: 1px solid rgba(255,255,255,.22); padding-top: 20px; }
.phil-pill__num { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: rgba(235,245,250,.5); margin-bottom: 16px; display: block; }
.phil-pill h3 { color: var(--bone); font-family: var(--f-display); font-size: clamp(18px, 1.6vw, 22px); line-height: 1.2; margin: 0 0 12px; }
.phil-pill p { color: rgba(235,245,250,.78); font-size: 15px; line-height: 1.65; margin: 0; }
@media (max-width: 1040px) { .phil-pillars { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .phil-pillars { grid-template-columns: 1fr; } }

/* ---- STEPS LIST (new patient page) -------------------------------------- */

.steps-list { display: grid; gap: 0; margin-top: clamp(32px, 5vw, 64px); }
.step-item {
  display: grid; grid-template-columns: 72px 1fr;
  gap: clamp(16px, 2.5vw, 32px); align-items: start;
  padding: clamp(24px, 3.5vw, 44px) 0;
  border-bottom: 1px solid var(--rule);
}
.step-item:first-child { border-top: 1px solid var(--rule); }
.step-item__num {
  width: 56px; height: 56px; flex: 0 0 56px;
  border-radius: 50%; border: 1.5px solid var(--terra);
  display: grid; place-items: center;
  font-family: var(--f-display); font-size: 22px; color: var(--terra-deep);
  font-style: italic; font-variation-settings: "SOFT" 80;
}
.step-item__body h3 { font-size: clamp(19px, 1.6vw, 23px); margin: 0 0 10px; }
.step-item__body p  { color: var(--ink-mute); font-size: 16px; line-height: 1.7; margin: 0; }
@media (max-width: 640px) { .step-item { grid-template-columns: 48px 1fr; } }

/* ---- BRING CARDS -------------------------------------------------------- */

.bring-section__inner { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(40px, 5vw, 88px); align-items: start; }
.bring-section__text h2 { margin: 12px 0 16px; }
.bring-section__text p { color: var(--ink-mute); line-height: 1.7; }
.bring-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(12px, 2vw, 20px); }
.bring-card {
  background: var(--white); border: 1px solid var(--rule);
  border-radius: var(--r-md); padding: 22px 20px;
}
.bring-card__icon {
  width: 40px; height: 40px; background: var(--bone-soft);
  border-radius: var(--r-sm); display: grid; place-items: center;
  color: var(--slate); margin-bottom: 14px;
}
.bring-card__icon svg { width: 20px; height: 20px; }
.bring-card h4 { font-size: 15.5px; margin: 0 0 6px; }
.bring-card p { color: var(--ink-mute); font-size: 14px; line-height: 1.6; margin: 0; }
@media (max-width: 1040px) { .bring-section__inner { grid-template-columns: 1fr; } }
@media (max-width: 560px)  { .bring-grid { grid-template-columns: 1fr; } }

/* ---- INSURANCE NOTE (services page) ------------------------------------- */

.insurance-note { background: var(--bone-soft); }
.insurance-note__inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.insurance-note__text p { color: var(--ink-mute); line-height: 1.7; margin-bottom: 12px; }
.insurance-note__text h2 { margin: 12px 0 18px; max-width: 18ch; }
.insurance-note__logos { display: flex; flex-wrap: wrap; gap: 10px; align-content: flex-start; margin-top: 8px; }
.ins-chip {
  background: var(--white); border: 1px solid var(--rule);
  padding: 7px 14px; border-radius: var(--r-pill);
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .1em;
  text-transform: uppercase; color: var(--slate);
}
.ins-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.ins-section { background: var(--bone-soft); }
.ins-section__inner h2 { margin: 12px 0 20px; }
.ins-section__inner p { color: var(--ink-mute); line-height: 1.7; }
@media (max-width: 880px) { .insurance-note__inner { grid-template-columns: 1fr; } }

/* ---- BOOK PAGE LAYOUT --------------------------------------------------- */

.book-page__inner {
  display: grid; grid-template-columns: 1fr 400px;
  gap: clamp(40px, 5vw, 80px); align-items: start;
}
.book-page__note { color: var(--ink-mute); margin-bottom: 28px; line-height: 1.65; }
.book-page__form-col h2 { margin: 12px 0 16px; }
@media (max-width: 960px) { .book-page__inner { grid-template-columns: 1fr; } }

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

.book-form { display: grid; gap: 0; }
.form-row { margin-bottom: 18px; }
.form-row--half { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-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-input {
  width: 100%; padding: 12px 14px;
  font: inherit; font-size: 15.5px;
  background: var(--white); color: var(--ink);
  border: 1px solid var(--rule); border-radius: var(--r-sm);
  transition: border-color .2s ease;
  -webkit-appearance: none; appearance: none;
}
.form-input:focus { border-color: var(--slate); outline: 2px solid rgba(28,61,107,.18); outline-offset: 0; }
.form-textarea { min-height: 110px; resize: vertical; line-height: 1.6; }
.form-select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234B6070' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 36px; cursor: pointer; }
.form-privacy { font-size: 12.5px; color: var(--ink-mute); line-height: 1.5; margin-bottom: 18px; border: 1px dashed var(--rule); border-radius: var(--r-sm); padding: 12px 14px; background: var(--bone-soft); }
.btn--full { width: 100%; justify-content: center; }
.form-success {
  display: flex; align-items: flex-start; gap: 14px;
  background: #e6f7ee; border: 1px solid #86cfaa;
  border-radius: var(--r-md); padding: 18px 18px; margin-top: 16px;
}
.form-success svg { width: 24px; height: 24px; color: #1a7c45; flex: 0 0 24px; margin-top: 2px; }
.form-success strong { color: #1a7c45; display: block; margin-bottom: 4px; }
.form-success p { color: var(--ink-mute); font-size: 14px; line-height: 1.55; margin: 0; }
.form-success a { color: var(--slate); }
@media (max-width: 560px) { .form-row--half { grid-template-columns: 1fr; } }

/* ---- VISIT CARD (book page) --------------------------------------------- */

.visit-card {
  background: var(--white); border: 1px solid var(--rule);
  border-radius: var(--r-lg); padding: 26px 24px;
  margin-bottom: 20px; box-shadow: var(--shadow-soft);
}
.visit-card:last-child { margin-bottom: 0; }
.visit-card h3 { margin: 8px 0 18px; font-size: clamp(20px, 1.8vw, 26px); }
.visit-card--hours .eyebrow { color: var(--ink-mute); }
.visit-card__address { font-style: normal; display: flex; gap: 14px; align-items: flex-start; margin-bottom: 16px; line-height: 1.55; font-size: 15px; }
.visit-card__address svg { width: 20px; height: 20px; flex: 0 0 20px; color: var(--terra-deep); margin-top: 2px; }
.visit-card__address strong { display: block; margin-bottom: 2px; }
.visit-card__map { margin-bottom: 14px; }

/* ---- HOURS LIST --------------------------------------------------------- */

.hours-list { border-top: 1px solid var(--rule); margin-bottom: 12px; }
.hours-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 11px 0; border-bottom: 1px solid var(--rule);
  font-size: 14.5px;
}
.hours-row--closed { color: var(--ink-mute); }
.hours-note { font-size: 13px; color: var(--ink-mute); margin: 0; line-height: 1.5; }

/* ---- CONTACT LINKS ------------------------------------------------------ */

.contact-links { display: grid; gap: 12px; }
.contact-link {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 16px; border: 1px solid var(--rule);
  border-radius: var(--r-md); text-decoration: none; color: inherit;
  transition: border-color .2s ease, background .2s ease;
}
.contact-link:hover { border-color: var(--slate); background: var(--bone-soft); }
.contact-link svg { width: 22px; height: 22px; color: var(--slate); flex: 0 0 22px; }
.contact-link strong { display: block; font-size: 15px; color: var(--ink); }
.contact-link small { font-family: var(--f-mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-mute); margin-top: 2px; }

/* ---- SERVICES FULL PAGE ------------------------------------------------- */

.services-intro { max-width: 72ch; margin: 0 auto; text-align: center; }
.services-intro__text { font-size: clamp(16.5px, 1.3vw, 19px); color: var(--ink-mute); line-height: 1.7; }
.services-full { padding-top: 0; }
.svc-block {
  display: grid; grid-template-columns: 120px 1fr;
  gap: clamp(24px, 4vw, 64px); align-items: start;
  padding: clamp(40px, 5.5vw, 80px) 0;
}
.svc-block--alt { direction: rtl; }
.svc-block--alt > * { direction: ltr; }
.svc-block__icon {
  width: 80px; height: 80px; flex: 0 0 80px;
  background: var(--bone-soft); border-radius: var(--r-md);
  display: grid; place-items: center; color: var(--slate);
  border: 1px solid var(--rule);
}
.svc-block__icon svg { width: 36px; height: 36px; }
.svc-block__body h2 { font-size: clamp(28px, 3.2vw, 44px); margin: 8px 0 18px; }
.svc-block__body p { color: var(--ink-mute); line-height: 1.7; margin-bottom: 14px; }
.svc-block__body p:last-child { margin-bottom: 0; }
.svc-block__body strong { color: var(--slate); }
@media (max-width: 880px) { .svc-block { grid-template-columns: 1fr; } .svc-block--alt { direction: ltr; } .svc-block__icon { width: 64px; height: 64px; } }

/* ---- ERROR PAGE --------------------------------------------------------- */

.error-page {
  min-height: 80vh; display: flex; align-items: center;
  padding: clamp(80px, 10vw, 140px) 0;
}
.error-page__inner {
  display: grid; grid-template-columns: 80px 1fr;
  gap: clamp(32px, 5vw, 72px); align-items: center;
}
.error-page__spine { opacity: .45; }
.error-page__spine svg { width: 60px; height: 300px; }
.error-page h1 { font-size: clamp(32px, 4.5vw, 60px); margin: 12px 0 16px; max-width: 20ch; }
.error-page p { color: var(--ink-mute); max-width: 46ch; line-height: 1.65; margin: 0 0 28px; }
.error-page__links { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 20px; }
.error-page__call { font-size: 15px; color: var(--ink-mute); }
.error-page__call a { color: var(--slate); }
@media (max-width: 640px) { .error-page__inner { grid-template-columns: 1fr; } .error-page__spine { display: none; } }

/* ---- SECTION HEADER ----------------------------------------------------- */

.section-hd { margin-bottom: clamp(32px, 4.5vw, 64px); max-width: 68ch; }
.section-hd h2 { margin: 10px 0 14px; }
.section-sub { color: var(--ink-mute); font-size: clamp(15.5px, 1.2vw, 18px); line-height: 1.65; margin: 0; }

/* ---- BTN VARIANTS ------------------------------------------------------- */

.btn--outline-light {
  background: transparent; color: rgba(255,255,255,.9);
  border: 1.5px solid rgba(255,255,255,.4);
}
.btn--outline-light:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.7); }
.btn--sm { font-size: 13px; padding: 9px 16px; }
.btn--lg { padding: 17px 30px; font-size: 17px; }
