/* Booking page */
.book-page { padding: 2.6rem 0 4.5rem; background: var(--light); }
.book-intro { text-align: center; max-width: 760px; margin: 0 auto 1.6rem; }
.book-intro h1 { font-size: clamp(2rem, 4vw, 2.6rem); color: var(--blue); font-family: "Open Sans", sans-serif; font-weight: 800; }
.book-meta { font-size: .93rem; color: var(--muted); }
.book-card { background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); padding: clamp(1.2rem, 3vw, 2.2rem); max-width: 980px; margin: 0 auto; }
.book-step { padding-bottom: 1.6rem; margin-bottom: 1.6rem; border-bottom: 1px solid var(--line); }
.book-step h2 { font-family: "Open Sans", sans-serif; font-weight: 600; font-size: 1.25rem; display: flex; align-items: center; gap: .6rem; }
.step-num { display: inline-grid; place-items: center; width: 1.9rem; height: 1.9rem; border-radius: 50%; background: var(--blue); color: #fff; font-size: 1rem; font-weight: 700; flex: none; }
.test-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; }
.test-option { display: flex; align-items: center; gap: .6rem; border: 2px solid var(--line); padding: .85rem 1rem; cursor: pointer; border-radius: 4px; font-weight: 600; background: #fff; }
.test-option:hover { border-color: #b9c8ee; }
.test-option.is-on { border-color: var(--blue); background: #eef3ff; }
.test-option input { width: auto; margin: 0; accent-color: var(--blue); }
.other-wrap { margin-top: .9rem; max-width: 520px; }
.cal-wrap { display: grid; grid-template-columns: minmax(280px, 1fr) 1fr; gap: 1.6rem; align-items: start; }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: .5rem; font-size: 1.05rem; }
.cal-nav { border: 1px solid var(--line); background: #fff; width: 36px; height: 36px; border-radius: 50%; font-size: 1.2rem; cursor: pointer; color: var(--ink); }
.cal-nav:disabled { opacity: .3; cursor: default; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal-dow span { text-align: center; font-size: .78rem; color: var(--muted); font-weight: 600; padding-bottom: 2px; }
.cal-day { aspect-ratio: 1 / 1; border: 0; background: #f0f0f0; color: #aaa; border-radius: 4px; font: inherit; font-size: .95rem; cursor: default; }
.cal-day.open { background: #e4ecff; color: var(--blue-dark); font-weight: 700; cursor: pointer; }
.cal-day.open:hover { background: #cfdcff; }
.cal-day.sel { background: var(--blue); color: #fff; }
.cal-day.today { outline: 2px solid #c9956a; outline-offset: -2px; }
.cal-legend { font-size: .82rem; color: var(--muted); margin: .6rem 0 0; display: flex; align-items: center; gap: .4rem; }
.dot { display: inline-block; width: 12px; height: 12px; border-radius: 3px; }
.dot-open { background: #e4ecff; border: 1px solid #b9c8ee; } .dot-full { background: #f0f0f0; margin-left: .7rem; }
.slot-panel h3 { font-family: "Open Sans", sans-serif; font-weight: 600; font-size: 1.1rem; margin-bottom: .7rem; }
.slots { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.slots p { grid-column: 1 / -1; }
.slot { display: flex; flex-direction: column; align-items: flex-start; border: 2px solid #b9c8ee; background: #fff; padding: .75rem .9rem; border-radius: 4px; cursor: pointer; font: inherit; text-align: left; }
.slot small { color: var(--green-hover); font-weight: 600; }
.slot:hover { border-color: var(--blue); }
.slot.sel { background: var(--blue); border-color: var(--blue); color: #fff; }
.slot.sel small { color: #e8eeff; }
.slot:disabled { border-color: var(--line); background: #f6f6f6; color: #aaa; cursor: default; text-decoration: line-through; }
.slot:disabled small { color: #aaa; }
.muted { color: var(--muted); } .small { font-size: .85rem; }
.book-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem 1.2rem; }
.book-grid label, .other-wrap label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: .25rem; }
.book-grid input, .book-grid textarea, .other-wrap input { width: 100%; padding: .65rem .75rem; border: 1px solid #cfcfcf; font: inherit; border-radius: 3px; }
.book-grid textarea { min-height: 110px; }
.book-summary { background: #f7f9ff; border-left: 4px solid var(--blue); padding: .8rem 1rem; margin-bottom: 1rem; }
.book-error { background: #fdecec; border: 1px solid #f0b4b4; color: #8a1f1f; padding: .75rem 1rem; }
.btn-lg { font-size: 1.1rem; padding: .85rem 2.4rem; }
.btn:disabled { opacity: .6; cursor: wait; }
.btn-ghost { background: #fff; color: var(--blue); border: 1px solid var(--blue); }
.btn-ghost:hover { background: #eef3ff; color: var(--blue); }
.confirm { text-align: center; max-width: 640px; }
.confirm-check { width: 64px; height: 64px; border-radius: 50%; background: var(--green); color: #fff; font-size: 2.2rem; line-height: 64px; margin: 0 auto 1rem; }
.confirm h2 { font-family: "Open Sans", sans-serif; font-weight: 800; color: var(--blue); font-size: 2rem; }
.confirm-ref { font-size: 1.1rem; }
.confirm-ref strong { letter-spacing: .05em; }
.confirm-list { display: grid; grid-template-columns: max-content 1fr; gap: .45rem 1.2rem; text-align: left; background: var(--light); padding: 1.1rem 1.3rem; margin: 1.2rem 0; }
.confirm-list dt { font-weight: 600; color: #555; } .confirm-list dd { margin: 0; }
.confirm-actions { display: flex; gap: .7rem; justify-content: center; flex-wrap: wrap; }
.home-book-cta { background: var(--blue); color: #fff; padding: 1.5rem 0; }
.home-book-cta .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.home-book-cta h2 { color: #fff; margin: 0; font-family: "Open Sans", sans-serif; font-weight: 600; font-size: 1.4rem; }
.home-book-cta p { margin: .2rem 0 0; color: #e6ecff; }
.home-book-cta .btn { font-size: 1.1rem; padding: .8rem 2rem; }
@media (max-width: 760px) {
  .test-options, .cal-wrap, .book-grid { grid-template-columns: 1fr; }
  .slots { grid-template-columns: 1fr 1fr; }
  .confirm-list { grid-template-columns: 1fr; gap: .1rem; } .confirm-list dd { margin-bottom: .5rem; }
}
@media print { .site-header, .site-footer, .confirm-actions { display: none; } .book-page { background: #fff; } }

.book-meta a, .confirm a[href^="tel"] { white-space: nowrap; }

.policy-note { background: #fff8e6; border-left: 4px solid #e0a526; padding: .6rem .8rem; font-size: .9rem; color: #5a4300; margin-top: .8rem; }
.confirm-policy { text-align: left; margin: 0 0 1rem; }
.confirm-policy p { margin: .5rem 0 0; }
.policy-check { display: flex; gap: .6rem; align-items: flex-start; background: #fff8e6; border: 1px solid #f0d58c; padding: .75rem .9rem; margin-bottom: 1rem; cursor: pointer; font-weight: 600; font-size: .95rem; }
.policy-check input { width: 20px; height: 20px; margin-top: .15rem; flex: none; accent-color: var(--blue); }
.cancel-box { text-align: center; max-width: 620px; }
