@font-face{font-family:Inter;src:url("fonts/inter-400.ttf") format("truetype");font-weight:400;font-display:swap}
@font-face{font-family:Inter;src:url("fonts/inter-500.ttf") format("truetype");font-weight:500;font-display:swap}
@font-face{font-family:Inter;src:url("fonts/inter-600.ttf") format("truetype");font-weight:600;font-display:swap}
@font-face{font-family:Inter;src:url("fonts/inter-700.ttf") format("truetype");font-weight:700;font-display:swap}

body:has(.booking-page) { margin: 0; }

.skip {
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 20;
  padding: 10px 14px;
  border-radius: 8px;
  background: #006bc4;
  color: #fff;
  font-weight: 700;
  transform: translateY(-160%);
}

.skip:focus { transform: none; }

.booking-page {
  background: #fff;
  color: #092b4d;
  font-family: Inter, Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

.booking-page *,
.booking-page *::before,
.booking-page *::after,
body:has(.booking-page) footer.site-footer,
body:has(.booking-page) footer.site-footer *,
body:has(.booking-page) footer.site-footer *::before,
body:has(.booking-page) footer.site-footer *::after { box-sizing: border-box; }

.booking-page :focus-visible,
body:has(.booking-page) header.staging-header :focus-visible {
  outline: 3px solid #f5a623;
  outline-offset: 3px;
}

.booking-wrap {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 36px 0 64px;
}

.booking-kicker {
  margin: 0 0 8px;
  color: #006bc4;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.booking-page h1 {
  margin: 0 0 8px;
  font-size: clamp(32px, 4vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.booking-lead { margin: 0 0 16px; max-width: 62ch; color: #3d5870; }

.booking-preview {
  margin: 0 0 28px;
  padding: 12px 16px;
  border: 1px solid #d5e6f5;
  border-radius: 12px;
  background: #f3f8fd;
  color: #0b4f86;
  font-weight: 600;
}

.booking-progress {
  display: flex;
  gap: 10px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}

.booking-progress li { flex: 1; min-width: 0; }

.booking-progress button {
  width: 100%;
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid #d7e3ee;
  border-radius: 12px;
  background: #fff;
  color: #5b7388;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

.booking-progress button[aria-current="step"] {
  border-color: #006bc4;
  background: #006bc4;
  color: #fff;
}

.booking-progress button.is-done { color: #0b4f86; border-color: #b9d7f0; }

.booking-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(260px, 0.75fr);
  gap: 24px;
  align-items: start;
}

.booking-card,
.booking-summary {
  border: 1px solid #e3ebf2;
  border-radius: 16px;
  background: #fff;
  padding: 24px;
}

.booking-card h2,
.booking-summary h2 { margin: 0 0 16px; font-size: 22px; }

.booking-card fieldset { margin: 0; padding: 0; border: 0; }

.booking-card legend {
  margin-bottom: 12px;
  font-weight: 600;
}

.care-list { display: grid; gap: 12px; }

.care-option {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 12px;
  align-items: center;
  min-height: 72px;
  padding: 16px;
  border: 1px solid #d7e3ee;
  border-radius: 14px;
  cursor: pointer;
}

.care-option:has(input:checked) {
  border-color: #006bc4;
  box-shadow: inset 0 0 0 1px #006bc4;
  background: #f5faff;
}

.care-option input { width: 20px; height: 20px; margin: 0; grid-row: 1 / span 3; accent-color: #006bc4; }

.care-option strong { font-size: 17px; }

.care-option span { color: #006bc4; font-size: 14px; font-weight: 600; }

.care-option small { color: #5b7388; font-size: 14px; }

.booking-next,
.booking-back,
.time-btn,
.cal-nav,
.cal-day,
.summary-edit {
  font: inherit;
  cursor: pointer;
}

.booking-next,
.booking-back {
  min-height: 48px;
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
}

.booking-next {
  margin-top: 18px;
  background: linear-gradient(#0083d8, #0066b7);
  color: #fff;
}

.booking-back { background: #fff; color: #0b4f86; border-color: #b9d7f0; }

.captcha-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 10px; }
#captcha-canvas { width: 190px; height: 64px; border: 1px solid #c9d7e4; border-radius: 12px; background: #f3f8fd; }
.captcha-refresh { min-height: 48px; padding: 10px 14px; border: 1px solid #b9d7f0; border-radius: 12px; background: #fff; color: #0b4f86; font: inherit; font-weight: 700; cursor: pointer; }
.booking-hp { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.booking-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.booking-actions .booking-next { margin-top: 0; }

.booking-zone,
.booking-note,
.booking-confirm-note,
.summary-zone { color: #3d5870; }

.cal-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.cal-bar h3 { margin: 0; font-size: 18px; }

.cal-nav {
  width: 48px;
  height: 48px;
  border: 1px solid #d7e3ee;
  border-radius: 12px;
  background: #fff;
  color: #0b4f86;
  font-size: 28px;
  line-height: 1;
}

.cal-week,
.cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.cal-week { margin: 12px 0 8px; color: #5b7388; font-size: 12px; font-weight: 700; text-align: center; }

.cal-day {
  width: 100%;
  aspect-ratio: 1;
  min-height: 44px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: #f7fafc;
  color: #092b4d;
  font-weight: 600;
}

.cal-day:disabled { color: #b3c2cf; background: transparent; cursor: not-allowed; }
.cal-day.is-today { box-shadow: inset 0 0 0 2px #8ec3ea; }
.cal-day.is-selected,
.cal-day[aria-pressed="true"] { background: #006bc4; color: #fff; }

.times-title { margin: 22px 0 10px; font-size: 16px; }
.times { display: flex; flex-wrap: wrap; gap: 10px; }
.time-btn {
  min-width: 112px;
  min-height: 48px;
  padding: 10px 14px;
  border: 1px solid #d7e3ee;
  border-radius: 12px;
  background: #fff;
  color: #092b4d;
  font-weight: 600;
}
.time-btn[aria-pressed="true"] { background: #006bc4; border-color: #006bc4; color: #fff; }

.booking-empty,
.booking-error { margin: 10px 0 0; }
.booking-empty { color: #5b7388; }
.booking-error { min-height: 0; color: #9d1c32; font-weight: 600; }
.booking-error:empty { display: none; }

.field { margin-bottom: 16px; }
.field label { display: block; margin-bottom: 6px; font-weight: 700; }
.field label span { font-weight: 500; color: #5b7388; }
.field input,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid #c9d7e4;
  border-radius: 12px;
  background: #fff;
  color: #092b4d;
  font: inherit;
}
.field textarea { min-height: 96px; resize: vertical; }
.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"] { border-color: #9d1c32; }

.booking-result {
  margin: 16px 0 0;
  padding: 14px 16px;
  border-radius: 12px;
  background: #f3f8fd;
  color: #0b4f86;
  font-weight: 700;
}

.booking-summary { position: sticky; top: 24px; }
.booking-summary dl { margin: 0; }
.booking-summary dl > div { padding: 12px 0; border-top: 1px solid #e8eef4; }
.booking-summary dt { color: #5b7388; font-size: 13px; font-weight: 700; }
.booking-summary dd { margin: 4px 0; font-weight: 700; }
.summary-edit {
  padding: 0;
  border: 0;
  background: none;
  color: #006bc4;
  font-weight: 700;
  text-decoration: underline;
  min-height: 44px;
}
.summary-zone { margin: 8px 0 0; font-size: 14px; }

@media (max-width: 800px) {
  .booking-layout { grid-template-columns: 1fr; }
  .booking-summary { position: static; }
  .booking-progress { flex-direction: column; }
  .booking-progress button { text-align: left; }
  .booking-wrap { width: min(100% - 24px, 1120px); }
  .cal-day { min-height: 44px; font-size: 15px; }
}
