/* =========================================================
   Book Now page — white 3-step booking flow, location map, FAQ
   (loads after styles.css and reuses its tokens)
   ========================================================= */

body.book-page { background: var(--bg); }

/* The landing page hides hero pieces until GSAP animates them.
   This page has no GSAP, so show them and animate in with CSS instead. */
html.js body.book-page .hero__eyebrow, html.js body.book-page .hero__lead, html.js body.book-page .hero__form { opacity: 1; }
html.js body.book-page .hero h1:not(.is-split) { visibility: visible; }
body.book-page .hero__copy > * { animation: bookFadeUp .9s var(--ease) both; }
body.book-page .hero__copy > :nth-child(1) { animation-delay: .15s; }
body.book-page .hero__copy > :nth-child(2) { animation-delay: .28s; }
body.book-page .hero__copy > :nth-child(3) { animation-delay: .42s; }
body.book-page .hero__copy > :nth-child(4) { animation-delay: .56s; }
body.book-page .hero__copy > :nth-child(5) { animation-delay: .7s; }
body.book-page .hero__form { animation: bookSlideIn 1s .35s var(--ease) both; }
@keyframes bookFadeUp { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes bookSlideIn { from { opacity: 0; transform: translateX(44px); } to { opacity: 1; transform: none; } }

/* ---------- White booking section ---------- */
.hero--book { background: #fff; color: var(--ink); min-height: 0; padding: 40px 0 24px; }
.hero--book .hero__inner { padding: 40px 0 56px; }
.hero--book .hero__grid { grid-template-columns: 1fr 1.15fr; align-items: start; }
.hero--book .hero__copy { padding-top: 24px; }
.hero--book .hero__form { max-width: 580px; }
.hero--book .hero__eyebrow { background: var(--cream); border-color: transparent; color: var(--ink); backdrop-filter: none; -webkit-backdrop-filter: none; }
.hero--book .hero__eyebrow::before { background: var(--olive); box-shadow: 0 0 0 4px rgba(124,125,97,.18); }
.hero--book h1 { color: var(--ink); text-shadow: none; }
.hero--book .hero__lead { color: var(--text); margin-bottom: 0; }
.hero__points { display: grid; gap: 12px; margin-top: 30px; }
.hero__points li { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 500; }
.hero__points svg { width: 18px; height: 18px; color: var(--olive); flex: none; }
.hero__help { margin-top: 28px; color: var(--text); }
.hero__help a { color: var(--ink); font-weight: 600; }
.hero__help a:hover { color: var(--olive); }

/* Light version of the glass card */
.hero--book .glass { background: #fff; color: var(--ink); border: 1px solid var(--line); box-shadow: 0 24px 60px -34px rgba(63,62,43,.3); backdrop-filter: none; -webkit-backdrop-filter: none; padding: 28px 30px 24px; }
.hero--book .glass::before { display: none; }
.hero--book .glass h3 { color: var(--ink); margin: 0; }
.hero--book .field label { color: var(--ink); }
.hero--book .field label span { color: var(--muted); }
.hero--book .field input, .hero--book .field select, .hero--book .field textarea { background: #fff; border: 1.5px solid var(--line); color: var(--ink); }
.hero--book .field input::placeholder, .hero--book .field textarea::placeholder { color: var(--muted); }
.hero--book .field input:focus, .hero--book .field select:focus, .hero--book .field textarea:focus { background: #fff; border-color: var(--olive); box-shadow: 0 0 0 4px rgba(124,125,97,.14); }
.hero--book .field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%233f3e2b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 16px 16px; }
.hero--book .field select:invalid { color: var(--muted); }
.hero--book .field input[type="date"] { color-scheme: light; min-height: 46px; }
.hero--book .form__note { color: var(--text); margin-top: 14px; }

/* ---------- Step flow ---------- */
.flow__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 16px; }
.flow__count { font-size: .9rem; font-weight: 600; color: var(--olive); white-space: nowrap; }
.stepper { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; list-style: none; }
.stepper__step { display: flex; align-items: center; gap: 9px; font-size: .9rem; font-weight: 500; color: var(--muted); transition: color .3s; }
.stepper__num { width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid var(--line); display: grid; place-items: center; font-size: .82rem; font-weight: 600; color: var(--text); background: #fff; flex: none; transition: background .35s, border-color .35s, color .35s; }
.stepper__num svg { width: 13px; height: 13px; }
.stepper__step.is-active { color: var(--ink); }
.stepper__step.is-active .stepper__num { background: var(--olive); border-color: var(--olive); color: #fff; }
.stepper__step.is-done { color: var(--ink); }
.stepper__step.is-done .stepper__num { background: var(--lime); border-color: var(--lime); color: var(--ink); }
.progress { height: 4px; background: var(--cream); border-radius: 4px; overflow: hidden; margin: 14px 0 24px; }
.progress i { display: block; height: 100%; width: 33.333%; background: var(--olive); border-radius: 4px; transition: width .6s var(--ease); }

.step { display: none; border: 0; padding: 0; margin: 0; min-width: 0; }
.step.is-active { display: block; animation: bookFadeUp .5s var(--ease) both; }
.step__head { margin-bottom: 16px; }
.step__head h4 { font-size: 1.3rem; margin-bottom: 6px; color: var(--ink); }
.step__head p { color: var(--text); font-size: .95rem; line-height: 1.5; }

/* Treatment choice cards */
.choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.choice { position: relative; display: block; cursor: pointer; }
.choice input { position: absolute; inset: 0; opacity: 0; pointer-events: none; }
.choice__body { position: relative; display: flex; flex-direction: column; gap: 2px; padding: 12px 40px 12px 14px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; transition: border-color .3s, background .3s, box-shadow .3s, transform .3s var(--ease); }
.choice__body strong { color: var(--ink); font-weight: 600; font-size: 1rem; line-height: 1.3; }
.choice__body small { color: var(--text); font-size: .88rem; line-height: 1.4; }
.choice__body::after { content: ''; position: absolute; right: 12px; top: 13px; width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff center / 11px no-repeat; transition: background-color .3s, border-color .3s; }
.choice:hover .choice__body { border-color: #cbc6b8; transform: translateY(-1px); }
.choice input:checked + .choice__body { border-color: var(--olive); background: var(--bg-soft); box-shadow: 0 0 0 3px rgba(124,125,97,.16); }
.choice input:checked + .choice__body::after { background-color: var(--olive); border-color: var(--olive); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E"); }
.choice input:focus-visible + .choice__body { outline: 2px solid var(--olive); outline-offset: 2px; }

/* Hours note */
.hours-mini { margin-top: 16px; background: var(--bg-soft); border-radius: 10px; padding: 12px 14px; font-size: .9rem; color: var(--text); display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px 12px; }
.hours-mini strong { color: var(--ink); grid-column: 1 / -1; font-weight: 600; margin-bottom: 2px; }
.hours-mini span b { color: var(--ink); font-weight: 500; }

/* Navigation */
.book__error { color: #b3412a; font-size: .95rem; margin-top: 14px; display: none; }
.book__error.is-on { display: block; }
.flow__nav { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.flow__nav .btn[hidden] { display: none !important; }
.flow__nav .btn--primary { margin-left: auto; }
.flow__nav .btn svg { transition: transform .35s var(--ease); }
.flow__nav .btn:hover svg { transform: translateX(3px); }

/* ---------- Find us / map: map on the left on this page (base styles live in styles.css) ---------- */
.find__inner { grid-template-columns: 1.1fr .9fr; }
.find__map { order: -1; }

/* ---------- FAQ ---------- */
.faq--single { max-width: 860px; margin: 0 auto; }

.book-footer { padding: 24px 0 32px; text-align: center; font-size: .95rem; color: var(--ink); border-top: 1px solid var(--line); }
.book-footer a { color: var(--ink); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero--book .hero__inner { padding: 24px 0 48px; }
  .hero--book .hero__grid { grid-template-columns: 1fr; }
  .hero--book .hero__copy { padding-top: 0; }
  .hero--book .hero__form { max-width: 640px; }
  .find__map { order: 0; }
}
@media (max-width: 960px) {
  body.book-page .nav__phone { display: inline-flex; }
}
@media (max-width: 768px) {
  .hero--book { padding: 16px 0 0; }
  body.book-page .burger, body.book-page .nav__cta .btn { display: none; }
  .find__map { aspect-ratio: 4 / 3; }
  .hours-mini { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .hero--book .glass { padding: 22px 18px 20px; }
  .stepper__step { font-size: .8rem; gap: 6px; }
  .stepper__num { width: 24px; height: 24px; font-size: .75rem; }
  .choice-grid { grid-template-columns: 1fr; }
  .flow__nav .btn { flex: 1; }
}
