:root {
  color-scheme: light;
  font-family: "Segoe UI Variable Text", "Segoe UI", sans-serif;
  --canvas: #f3f8fb;
  --surface: #ffffff;
  --soft: #f7fbfe;
  --line: #dceaf2;
  --text: #101820;
  --muted: #667785;
  --ocean: #0f6fae;
  --sky: #2b9ceb;
  --mist: #eaf6fd;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--canvas); color: var(--text); min-height: 100vh; }
button, input, textarea { font: inherit; }
.skip-link { position: fixed; left: 1rem; top: -4rem; z-index: 10; background: var(--text); color: white; padding: .7rem 1rem; border-radius: .5rem; }
.skip-link:focus { top: 1rem; }
.booking-header { min-height: 72px; padding: 0 max(1.25rem, calc((100vw - 1180px) / 2)); display: flex; align-items: center; justify-content: space-between; background: var(--surface); border-bottom: 1px solid var(--line); }
.booking-brand { display: inline-flex; align-items: center; gap: .75rem; color: var(--text); text-decoration: none; }
.booking-brand > span { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; background: var(--ocean); color: white; font-weight: 800; }
.square-note { display: flex; align-items: center; gap: .55rem; color: var(--muted); font-size: .84rem; }
.square-note i { width: 8px; height: 8px; border-radius: 50%; background: #18a058; box-shadow: 0 0 0 4px #e3f8ed; }
.booking-shell { width: min(1180px, calc(100% - 2rem)); margin: 0 auto; padding: clamp(2.5rem, 6vw, 5rem) 0 5rem; display: grid; grid-template-columns: minmax(260px, .75fr) minmax(540px, 1.25fr); gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.booking-intro { position: sticky; top: 2rem; }
.eyebrow { margin: 0 0 .75rem; color: var(--ocean); font-size: .75rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.booking-intro h1, .booking-success h1 { margin: 0; font-family: "Segoe UI Variable Display", "Segoe UI", sans-serif; font-size: clamp(2.2rem, 5vw, 4rem); line-height: 1.03; letter-spacing: -.045em; }
.booking-intro > p:not(.eyebrow), .booking-success > p:not(.eyebrow) { max-width: 38rem; color: var(--muted); font-size: 1.06rem; line-height: 1.65; }
.booking-promise { display: grid; gap: .75rem; margin-top: 2.5rem; }
.booking-promise span { display: flex; gap: .8rem; align-items: center; color: var(--muted); }
.booking-promise strong { font: 700 .74rem "Cascadia Mono", monospace; color: var(--ocean); }
.booking-card, .booking-success { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: clamp(1.25rem, 4vw, 2.2rem); box-shadow: 0 24px 70px rgba(20, 63, 88, .08); }
fieldset { border: 0; padding: 0; margin: 0 0 2.2rem; }
legend { display: flex; align-items: center; gap: .75rem; width: 100%; margin-bottom: 1rem; font-weight: 750; font-size: 1.05rem; }
legend span { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--mist); color: var(--ocean); font: 700 .75rem "Cascadia Mono", monospace; }
.service-grid { display: grid; gap: .65rem; }
.service-choice { position: relative; display: flex; align-items: center; gap: 1rem; border: 1px solid var(--line); border-radius: 12px; padding: 1rem; cursor: pointer; background: var(--soft); }
.service-choice:has(input:checked) { border-color: var(--sky); background: var(--mist); box-shadow: inset 0 0 0 1px var(--sky); }
.service-choice input { position: absolute; opacity: 0; pointer-events: none; }
.service-choice span { display: grid; gap: .2rem; }
.service-choice small { color: var(--muted); }
.service-choice i { margin-left: auto; width: 18px; height: 18px; border: 2px solid #afc5d2; border-radius: 50%; }
.service-choice:has(input:checked) i { border: 5px solid var(--ocean); }
.service-choice:focus-within { outline: 3px solid rgba(43, 156, 235, .25); outline-offset: 2px; }
.availability { display: grid; gap: 1rem; max-height: 360px; overflow: auto; padding-right: .35rem; }
.time-day { display: grid; grid-template-columns: 90px 1fr; gap: 1rem; align-items: start; }
.time-day h2 { margin: .55rem 0 0; font-size: .82rem; color: var(--muted); }
.time-day div { display: grid; grid-template-columns: repeat(3, 1fr); gap: .45rem; }
.time-day button { min-height: 42px; border: 1px solid var(--line); border-radius: 9px; background: white; color: var(--ocean); font-weight: 700; cursor: pointer; }
.time-day button:hover, .time-day button.is-selected { border-color: var(--ocean); background: var(--ocean); color: white; }
.time-day button:focus-visible, .book-button:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid rgba(43, 156, 235, .32); outline-offset: 2px; }
.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.detail-grid label { display: grid; gap: .45rem; font-weight: 650; font-size: .86rem; }
.detail-grid small { color: var(--muted); font-weight: 500; }
.detail-grid__wide { grid-column: 1 / -1; }
input, textarea { width: 100%; border: 1px solid #cbdde7; border-radius: 9px; padding: .78rem .85rem; background: white; color: var(--text); }
textarea { resize: vertical; }
.consent-row { display: grid; grid-template-columns: auto 1fr; gap: .7rem; align-items: start; margin-top: 1rem; color: var(--muted); font-size: .84rem; line-height: 1.45; }
.consent-row input { width: 18px; height: 18px; margin: .1rem 0 0; accent-color: var(--ocean); }
.book-button { width: 100%; min-height: 52px; border: 0; border-radius: 11px; background: var(--ocean); color: white; font-weight: 800; cursor: pointer; }
.book-button:hover:not(:disabled) { background: #0b5f96; }
.book-button:disabled { background: #b8cad4; cursor: not-allowed; }
.form-boundary { margin: .8rem 0 0; text-align: center; color: var(--muted); font-size: .72rem; line-height: 1.4; }
.form-error { margin: 0 0 .9rem; padding: .8rem; border-radius: 9px; background: #fff0f0; color: #9a2828; font-weight: 650; font-size: .85rem; }
.loading-line, .empty-line { margin: 0; padding: 1rem; border-radius: 10px; background: var(--soft); color: var(--muted); text-align: center; }
.booking-success { grid-column: 1 / -1; max-width: 680px; margin: 0 auto; text-align: center; }
.success-mark { width: 58px; height: 58px; margin: 0 auto 1.5rem; display: grid; place-items: center; border-radius: 50%; background: #e3f8ed; color: #16844c; font-size: 1.7rem; font-weight: 900; }
.booking-success dl { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; overflow: hidden; margin-top: 2rem; border: 1px solid var(--line); border-radius: 12px; background: var(--line); text-align: left; }
.booking-success dl div { padding: 1rem; background: var(--soft); }
.booking-success dt { color: var(--muted); font-size: .76rem; }
.booking-success dd { margin: .3rem 0 0; font-weight: 750; }
.check-in-pass { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 1.5rem; margin-top: 1.5rem; padding: 1.25rem; border: 1px solid var(--line); border-radius: 12px; background: var(--soft); text-align: left; }
.check-in-pass h2 { margin: .25rem 0 .5rem; }
.check-in-pass p { margin: 0; color: var(--muted); line-height: 1.55; }
.check-in-pass a { display: block; border-radius: 8px; background: white; padding: .5rem; }
.check-in-pass img { display: block; width: 11.25rem; height: 11.25rem; }

@media (max-width: 820px) {
  .booking-header { padding: 0 1rem; }
  .square-note span { display: none; }
  .booking-shell { grid-template-columns: 1fr; padding-top: 2rem; gap: 1.5rem; }
  .booking-intro { position: static; }
  .booking-intro h1 { font-size: clamp(2rem, 11vw, 3.3rem); }
  .booking-promise { display: none; }
}

@media (max-width: 520px) {
  .booking-shell { width: min(100% - 1rem, 1180px); }
  .booking-card { border-radius: 15px; padding: 1rem; }
  .detail-grid { grid-template-columns: 1fr; }
  .detail-grid__wide { grid-column: auto; }
  .time-day { grid-template-columns: 1fr; gap: .45rem; }
  .time-day h2 { margin: 0; }
  .time-day div { grid-template-columns: repeat(2, 1fr); }
  .booking-success dl { grid-template-columns: 1fr; }
  .check-in-pass { grid-template-columns: 1fr; text-align: center; }
  .check-in-pass a { justify-self: center; }
}

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; } }
