/* Booking-page styles; the shared brand system lives in ../css/styles.css. */
.booking-width { width: min(900px, calc(100% - 48px)); margin-inline: auto; }
.booking-intro { padding-block: clamp(48px, 7vw, 86px) 42px; background: #F2F3EA; }
.intro-layout { display: grid; grid-template-columns: 1fr minmax(240px, 310px); align-items: end; gap: clamp(35px, 7vw, 90px); }
.booking-intro h1 { max-width: 12ch; font-size: clamp(3.25rem, 7vw, 5.5rem); }
.booking-lead { max-width: 61ch; margin-top: 18px; color: var(--muted); font-size: 1.16rem; }
.safety-note { display: flex; align-items: flex-start; gap: 12px; padding: 17px 18px; border-left: 3px solid var(--gold-line); background: var(--ivory); color: var(--ink); font-size: .88rem; line-height: 1.45; }
.safety-note > span { color: #9A6814; font-size: 1.4rem; line-height: 1; }
.booking-flow { padding-block: 44px 100px; }
.booking-card, .calendar-panel, .booking-thanks { padding: clamp(24px, 5vw, 52px); background: var(--white); box-shadow: 0 14px 44px rgba(7,61,35,.09); }
.flow-heading { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 28px; }
.flow-heading .eyebrow { margin-bottom: 3px; }
.flow-heading h2, .calendar-panel h2, .booking-thanks h2 { font-size: clamp(2.2rem, 4vw, 3.2rem); }
.free-call-tag { padding: 7px 13px; border-radius: 999px; background: var(--green-soft); color: var(--green-deep); font-size: .84rem; font-weight: 700; white-space: nowrap; }
.progress-wrap { margin-bottom: 30px; }
.progress-copy { display: flex; justify-content: space-between; gap: 18px; margin-bottom: 8px; color: var(--green-deep); font-size: .91rem; font-weight: 700; }
#progress-percent { color: var(--muted); }
.progress-track { height: 7px; overflow: hidden; border-radius: 999px; background: #E9E5D9; }
.progress-track span { display: block; width: 50%; height: 100%; border-radius: inherit; background: var(--gold); transition: width .25s ease; }
.wizard-step { min-width: 0; margin: 0; padding: 0; border: 0; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; clip-path: inset(50%); }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 22px; }
.field { display: grid; align-content: start; gap: 8px; }
.field-span { grid-column: 1 / -1; }
.field label, .choice-field legend { color: var(--green-deep); font-size: 1rem; font-weight: 700; line-height: 1.35; }
.field label span[aria-hidden="true"], .choice-field legend span[aria-hidden="true"] { color: #8B5C00; }
.field input, .field textarea { width: 100%; min-height: 54px; padding: 12px 14px; border: 1px solid #AAAFA4; border-radius: 6px; background: #FFF; color: var(--ink); font: 1rem/1.45 var(--body); }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--green); outline: 3px solid rgba(10,80,46,.18); }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: #A1271C; }
.optional { display: inline-block; margin-left: 5px; color: var(--muted); font-size: .83rem; font-weight: 400; }
.choice-field { min-width: 0; margin: 0; padding: 0; border: 0; }
.choice-field legend { width: 100%; margin-bottom: 11px; }
.choice-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 10px; }
.choice-grid-2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.choice { position: relative; display: flex; min-height: 52px; align-items: center; cursor: pointer; }
.choice input, .rating-choice input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.choice span { display: flex; width: 100%; min-height: 52px; align-items: center; justify-content: center; padding: 9px 12px; border: 1px solid #B9BDB4; border-radius: 5px; background: #FFF; color: var(--ink); text-align: center; font-size: .95rem; line-height: 1.25; transition: border .15s, background .15s, box-shadow .15s; }
.choice:hover span { border-color: var(--green); }
.choice input:checked + span { border-color: var(--green); background: var(--green-soft); box-shadow: inset 0 0 0 1px var(--green); color: var(--green-deep); font-weight: 700; }
.choice input:focus-visible + span, .rating-choice input:focus-visible + span { outline: 3px solid #9B6800; outline-offset: 3px; }
.choice-field[aria-invalid="true"] .choice span { border-color: #A1271C; }
.rating-labels { display: flex; justify-content: space-between; gap: 12px; margin: -2px 0 11px; color: var(--muted); font-size: .84rem; }
.rating-grid { display: grid; grid-template-columns: repeat(10, minmax(0,1fr)); gap: 8px; }
.rating-choice { position: relative; display: block; cursor: pointer; }
.rating-choice span { display: grid; min-height: 50px; place-items: center; border: 1px solid #B9BDB4; border-radius: 5px; background: var(--ivory); color: var(--green-deep); font-weight: 700; transition: .15s; }
.rating-choice:hover span { border-color: var(--green); }
.rating-choice input:checked + span { border-color: var(--green); background: var(--green); color: white; box-shadow: inset 0 0 0 1px var(--green); }
.field-error-message { margin-top: 7px; color: #A1271C; font-size: .87rem; font-weight: 600; }
.form-error { margin-bottom: 22px; padding: 13px 16px; border-left: 4px solid #A1271C; background: #FFF0ED; color: #77190F; font-size: .95rem; }
.step-actions { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 32px; }
.step-actions .button { min-height: 56px; }
.required-note { color: var(--muted); font-size: .83rem; }
.step-actions-back { display: grid; grid-template-columns: 1fr auto; }
.step-actions-back .back-button { grid-column: 1; grid-row: 1; justify-self: start; border: 0; background: none; color: var(--green); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; font-weight: 700; }
.step-actions-back .required-note { grid-column: 1; grid-row: 2; }
.step-actions-back .button { grid-column: 2; grid-row: 1 / span 2; }
.calendar-panel h2 { max-width: 17ch; }
.calendar-intro { margin-top: 12px; color: var(--muted); }
.calendar-frame { min-height: 720px; margin-top: 28px; }
.calendar-frame iframe { width: 100%; min-height: 720px; border: 0; }
.calendar-fallback { margin-top: 10px; color: var(--muted); font-size: .91rem; }
.calendar-fallback a { color: var(--green); font-weight: 700; }
.booking-thanks { padding-block: clamp(40px, 8vw, 78px); text-align: center; }
.thanks-check { display: grid; width: 64px; height: 64px; place-items: center; margin: 0 auto 18px; border: 2px solid var(--gold-line); border-radius: 50%; color: var(--green); font-size: 2rem; }
.booking-thanks h2 { margin-bottom: 14px; }
.thanks-message { max-width: 52ch; margin-inline: auto; color: var(--ink); font-size: 1.14rem; }
.thanks-links { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 20px; margin-top: 26px; }
.submission-frame { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); clip-path: inset(50%); }

@media (max-width: 760px) {
  .booking-width { width: min(100% - 36px, 560px); }
  .booking-intro { padding-block: 48px 30px; }
  .intro-layout { grid-template-columns: 1fr; gap: 24px; }
  .booking-intro h1 { max-width: 11ch; font-size: clamp(3.15rem, 14vw, 4.4rem); }
  .booking-lead { font-size: 1.08rem; }
  .safety-note { max-width: 100%; }
  .booking-flow { padding-block: 24px 70px; }
  .booking-card, .calendar-panel, .booking-thanks { padding: 23px 19px; }
  .flow-heading { align-items: flex-start; flex-direction: column; margin-bottom: 24px; }
  .field-grid { grid-template-columns: 1fr; gap: 21px; }
  .field-span { grid-column: auto; }
  .choice-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .rating-grid { gap: 5px; }
  .rating-choice span { min-height: 46px; font-size: .92rem; }
  .step-actions { align-items: stretch; flex-direction: column; }
  .step-actions .button { width: 100%; }
  .step-actions-back { display: flex; }
  .step-actions-back .back-button { align-self: flex-start; }
  .step-actions-back .required-note { order: 1; }
  .step-actions-back .button { order: 2; }
  .calendar-frame, .calendar-frame iframe { min-height: 720px; }
}
@media (max-width: 380px) {
  .booking-width { width: calc(100% - 28px); }
  .booking-card, .calendar-panel, .booking-thanks { padding-inline: 16px; }
  .choice-grid { gap: 7px; }
  .choice span { padding-inline: 7px; font-size: .88rem; }
  .rating-labels { font-size: .76rem; }
  .rating-grid { gap: 3px; }
  .rating-choice span { min-height: 42px; }
}
