/* medical-rides.com/book — online booking. Builds on site.css tokens. */
.book { padding: 32px 0 56px; }
.book-wrap { max-width: 720px; }
.book-head h1 { font-size: 2rem; letter-spacing: -0.02em; margin-bottom: 8px; }
.book-head .lede { color: var(--muted); margin-bottom: 18px; }
.book-steps { list-style: none; display: flex; gap: 8px; margin-bottom: 18px; counter-reset: s; }
.book-steps li { flex: 1; font-size: 0.82rem; font-weight: 600; color: var(--muted); border-top: 3px solid var(--line); padding-top: 6px; counter-increment: s; }
.book-steps li::before { content: counter(s) ". "; }
.book-steps li.on, .book-steps li.done { color: var(--teal); border-color: var(--teal); }
.book-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-card); padding: 24px; margin-bottom: 16px; }
.book-card h2 { font-size: 1.3rem; margin-bottom: 16px; letter-spacing: -0.01em; }
.book-card h3 { font-size: 1rem; margin: 18px 0 10px; }
.opt { font-weight: 400; color: var(--muted); }
.fine { font-size: 0.85rem; color: var(--muted); margin-top: 10px; }
fieldset.field { border: 0; }
fieldset.field legend { font-size: 0.85rem; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.ride-types { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.ride-type { position: relative; cursor: pointer; }
.ride-type input { position: absolute; opacity: 0; }
.ride-type span { display: block; border: 1.5px solid var(--line); border-radius: var(--radius); padding: 10px 12px; height: 100%; }
.ride-type small { display: block; font-size: 0.78rem; color: var(--muted); line-height: 1.35; margin-top: 2px; }
.ride-type input:checked + span { border-color: var(--teal); background: var(--mist); }
.ride-type input:focus-visible + span { outline: 2px solid var(--teal); outline-offset: 2px; }
.check { display: flex; gap: 8px; align-items: flex-start; font-size: 0.92rem; margin: 4px 0 14px; cursor: pointer; }
.check input { margin-top: 4px; accent-color: var(--teal); }
.addr { position: relative; }
.addr-list { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 8px 24px rgba(19,41,61,.12); z-index: 20; display: none; max-height: 260px; overflow-y: auto; }
.addr-list.open { display: block; }
.addr-item { padding: 9px 12px; font-size: 0.9rem; cursor: pointer; border-bottom: 1px solid var(--line); }
.addr-item:last-child { border-bottom: 0; }
.addr-item:hover, .addr-item.active { background: var(--mist); }
.addr-item small { display: block; color: var(--muted); font-size: 0.78rem; }
.book-next { width: 100%; margin-top: 6px; }
.book-map { position: relative; z-index: 0; height: 280px; border-radius: var(--radius); border: 1px solid var(--line); margin-bottom: 10px; background: var(--mist); }
.route-meta { font-size: 0.9rem; color: var(--muted); margin-bottom: 14px; }
.price-hero { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid var(--line); padding-top: 14px; }
.price-hero span { font-weight: 600; color: var(--muted); }
.price-hero strong { font-size: 2.2rem; letter-spacing: -0.02em; color: var(--navy); }
.price-lines { list-style: none; margin: 6px 0 0; font-size: 0.9rem; }
.price-lines li { display: flex; justify-content: space-between; padding: 4px 0; color: var(--muted); }
.book-actions { display: flex; gap: 10px; justify-content: space-between; margin-top: 18px; flex-wrap: wrap; }
.book-actions .btn-lg { flex: 1; }
.call-msg { background: var(--mist); border-radius: var(--radius); padding: 12px 14px; font-size: 0.95rem; }
.pay-btn { display: block; text-align: center; margin: 16px 0 4px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 640px) {
  .book-head h1 { font-size: 1.6rem; }
  .ride-types { grid-template-columns: 1fr; }
  .book-card { padding: 18px; }
  .book-map { height: 220px; }
}
