/* Booking page only (/book). Loaded after styles.css, so it reuses the site's tokens and form styles. */

.book-card {
  --line:     rgba(255,255,255,0.08);
  --line-hi:  rgba(255,255,255,0.15);
  --gold-dim: rgba(240,180,0,0.12);
  --gold-bdr: rgba(240,180,0,0.35);
  max-width: 820px;
}
.book-card [hidden], .book-page [hidden] { display: none !important; }

.book-hero { padding: 120px 0 44px; }
.book-hero .inner-hero-title .accent { color: var(--gold); }
.book-hero .inner-hero-sub { max-width: 560px; margin: 0 auto 26px; letter-spacing: 0.02em; }
.book-badges { gap: 12px 32px; }
.book-page { padding: 44px 0 90px; }

.book-card .star { color: var(--gold); }


/* Device tiles + pills */
.device-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.device-tile { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 20px 8px; min-height: 96px; font-family: inherit; background: rgba(255,255,255,0.04); border: 1px solid var(--line); border-radius: 4px; cursor: pointer; color: rgba(255,255,255,0.78); font-size: 0.72rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; transition: border-color .3s, box-shadow .3s, background .2s, color .2s; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
.device-tile svg { width: 28px; height: 28px; }
.device-tile:hover { border-color: rgba(240,180,0,0.3); box-shadow: 0 0 28px rgba(240,180,0,0.1); background: rgba(255,255,255,0.06); color: var(--white); }
.device-tile:hover svg { color: var(--gold); }
.device-tile.active { border-color: rgba(240,180,0,0.5); box-shadow: 0 0 40px rgba(240,180,0,0.18); outline: 2px solid var(--gold); outline-offset: -2px; background: var(--gold-dim); color: var(--gold); }
.pill-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.sel-pill { padding: 9px 16px; font-family: inherit; font-size: 0.85rem; font-weight: 600; color: rgba(255,255,255,0.78); background: rgba(255,255,255,0.05); border: 1px solid var(--line-hi); border-radius: 4px; cursor: pointer; transition: border-color .2s, background .2s, color .2s; }
.sel-pill:hover { border-color: var(--gold-bdr); color: var(--white); }
.sel-pill.active { border-color: var(--gold); background: var(--gold-dim); color: var(--gold); font-weight: 700; }
.sel-pill.other-pill { font-style: italic; border-style: dashed; }
.device-tile:focus-visible, .sel-pill:focus-visible, .time-slot:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.model-other-wrap { display: none; margin-top: 20px; }
.model-other-wrap.visible { display: block; }

/* Appointment */
.date-note { font-size: 0.82rem; color: var(--gold); margin-top: 10px; }
.date-note:empty { display: none; }
#time-slots-wrap { margin-top: 18px; }
.slot-label { display: block; margin-bottom: 10px; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,0.7); }
.time-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.time-slot { padding: 10px 4px; font-family: inherit; font-size: 0.78rem; font-weight: 600; color: rgba(255,255,255,0.78); text-align: center; background: rgba(255,255,255,0.05); border: 1px solid var(--line-hi); border-radius: 4px; cursor: pointer; transition: border-color .2s, background .2s, color .2s; }
.time-slot:hover { border-color: var(--gold-bdr); color: var(--white); }
.time-slot.active { border-color: var(--gold); background: var(--gold-dim); color: var(--gold); font-weight: 700; }
.time-slot.disabled { opacity: 0.25; cursor: not-allowed; pointer-events: none; }

/* Honeypot — off-screen, not display:none (some bots skip display:none fields) */
.hp-field { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* Opt-ins */
.opt-in-box { margin-top: 24px; padding: 18px; background: rgba(240,180,0,0.06); border: 1px solid rgba(240,180,0,0.3); border-radius: 4px; }
.opt-in-box-title { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }
.opt-in-row { display: flex; align-items: flex-start; gap: 12px; padding: 12px 14px; cursor: pointer; background: rgba(255,255,255,0.04); border: 1px solid var(--line); border-radius: 4px; transition: border-color .2s, background .2s; }
.opt-in-row + .opt-in-row { margin-top: 8px; }
.opt-in-row:hover { border-color: var(--gold-bdr); background: rgba(255,255,255,0.06); }
.opt-in-row input[type="checkbox"] { width: 17px; height: 17px; flex-shrink: 0; margin-top: 3px; accent-color: var(--gold); cursor: pointer; }
.opt-in-row strong { display: block; font-size: 0.86rem; font-weight: 700; color: var(--white); line-height: 1.5; }
.opt-in-row span { display: block; margin-top: 2px; color: rgba(255,255,255,0.6); font-size: 0.78rem; line-height: 1.5; }

.btn-submit:disabled, .step-next:disabled { opacity: 0.6; cursor: wait; animation: none; }
.trust-items { display: flex; align-items: center; justify-content: center; gap: 8px 20px; flex-wrap: wrap; margin-top: 22px; }
.trust-item { display: flex; align-items: center; gap: 8px; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,0.6); }
.trust-icon { font-size: 1rem; }
.trust-sep { color: rgba(255,255,255,0.15); font-size: 1.2rem; font-weight: 300; }

/* Success */
.success-screen { text-align: center; padding: 10px 0 6px; }
.success-icon { width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--gold); background: var(--gold-dim); border: 1px solid var(--gold-bdr); }
.success-screen h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 900; text-transform: uppercase; }
.success-tag { display: inline-block; margin: 8px 0 14px; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); }
.success-screen p { color: rgba(255,255,255,0.75); max-width: 460px; margin: 0 auto; }
.success-screen p.small { margin-top: 4px; font-size: 0.8rem; color: rgba(255,255,255,0.5); }
.lead-id-badge { display: inline-block; font-size: 1.3rem; font-weight: 800; color: var(--gold); background: var(--gold-dim); border: 1px solid var(--gold-bdr); border-radius: 4px; padding: 10px 28px; margin: 18px 0 10px; letter-spacing: 0.2em; }
.success-screen .btn { margin-top: 22px; }

@media (max-width: 600px) {
  .book-hero { padding: 100px 0 32px; }
  .book-page { padding: 28px 0 60px; }
  .book-card { padding: 28px 16px; }
  .device-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .device-tile { min-height: 86px; padding: 14px 4px; font-size: 0.66rem; letter-spacing: 0.1em; }
  .time-grid { grid-template-columns: repeat(3, 1fr); }
  .trust-sep { display: none; }
}
@media (max-width: 380px) { .device-grid, .time-grid { grid-template-columns: repeat(2, 1fr); } }

/* ── Step-by-step flow ─────────────────────────────────────────────── */
.book-card { min-height: 460px; }
.wizard-progress { margin-bottom: 22px; }
.wizard-progress-text { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 8px; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; }
#step-count { color: var(--gold); }
#step-name { color: rgba(255,255,255,0.5); }
.wizard-bar { height: 4px; border-radius: 2px; background: rgba(255,255,255,0.08); overflow: hidden; }
.wizard-bar-fill { height: 100%; width: 0; background: var(--gold); border-radius: 2px; transition: width .35s ease; }
.wizard-summary { display: inline-block; margin-bottom: 18px; padding: 6px 12px; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.04em; color: var(--gold); background: var(--gold-dim); border: 1px solid var(--gold-bdr); border-radius: 4px; }

.step { animation: step-in .28s ease both; }
.step-title { font-size: clamp(1.4rem, 3vw, 1.9rem); font-weight: 900; line-height: 1.2; margin: 0 0 6px; outline: none; }
.step-sub { font-size: 0.9rem; color: rgba(255,255,255,0.6); margin: 0 0 24px; line-height: 1.6; }
@keyframes step-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .step { animation: none; } .wizard-bar-fill { transition: none; } }

.step-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 28px; }
.step-nav.single { justify-content: flex-start; }
.step-nav .btn { padding-top: 14px; padding-bottom: 14px; }
.step-nav .step-next { flex: 1; max-width: 320px; margin-left: auto; text-align: center; }
.step-nav .step-back { flex: 0 0 auto; }
.trust-items { margin-top: 26px; }
@media (max-width: 600px) {
  .book-card { min-height: 0; }
  .step-nav .step-next { max-width: none; }
}

/* Phone field hint / invalid state */
.field-hint { margin: 2px 0 0; font-size: 0.78rem; color: #fca5a5; }
.book-card input.invalid { border-color: rgba(239, 68, 68, 0.6); }

/* ── Appointment: quick picks, month calendar, time slots ─────────── */
.appt-layout { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: 32px; align-items: start; }
.appt-col .slot-label { margin-bottom: 8px; }

.quick-dates { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.quick-date { min-height: 44px; padding: 0 16px; font-family: inherit; font-size: 0.85rem; font-weight: 700; color: rgba(255,255,255,0.85); background: rgba(255,255,255,0.05); border: 1px solid var(--line-hi); border-radius: 4px; cursor: pointer; transition: border-color .2s, background .2s, color .2s; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
.quick-date:hover { border-color: var(--gold-bdr); color: var(--white); }
.quick-date.active { border-color: var(--gold); background: var(--gold-dim); color: var(--gold); }

.cal { padding: 14px; background: rgba(255,255,255,0.04); border: 1px solid var(--line); border-radius: 6px; }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.cal-title { font-size: 0.85rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; }
.cal-nav { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; font-family: inherit; font-size: 1.6rem; line-height: 1; color: var(--white); background: rgba(255,255,255,0.05); border: 1px solid var(--line-hi); border-radius: 4px; cursor: pointer; touch-action: manipulation; }
.cal-nav:hover:not(:disabled) { border-color: var(--gold-bdr); color: var(--gold); }
.cal-nav:disabled { opacity: 0.25; cursor: not-allowed; }
.cal-dow, .cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.cal-dow { margin-bottom: 4px; }
.cal-dow span { text-align: center; font-size: 0.66rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(255,255,255,0.45); padding: 4px 0; }
.cal-blank { min-height: 44px; }
.cal-day { min-height: 44px; font-family: inherit; font-size: 0.95rem; font-weight: 600; color: var(--white); background: rgba(255,255,255,0.05); border: 1px solid transparent; border-radius: 4px; cursor: pointer; transition: border-color .15s, background .15s, color .15s; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
.cal-day:hover:not(:disabled) { border-color: var(--gold-bdr); background: rgba(255,255,255,0.09); }
.cal-day.today { border-color: rgba(255,255,255,0.35); }
.cal-day.selected { background: var(--gold); border-color: var(--gold); color: var(--navy); font-weight: 800; }
.cal-day:disabled { background: transparent; color: rgba(255,255,255,0.22); cursor: not-allowed; }
.cal-day.closed:disabled { text-decoration: line-through; text-decoration-color: rgba(255,255,255,0.3); }
.cal-day:focus-visible, .cal-nav:focus-visible, .quick-date:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.cal-legend { margin: 10px 0 0; font-size: 0.76rem; color: rgba(255,255,255,0.5); }

.time-hint { margin: 6px 0 0; padding: 22px 16px; text-align: center; font-size: 0.88rem; color: rgba(255,255,255,0.5); border: 1px dashed var(--line-hi); border-radius: 6px; }
.picked-date { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; padding-bottom: 12px; border-bottom: 1px solid var(--line); font-size: 1.05rem; font-weight: 800; color: var(--gold); }
.link-btn { padding: 8px 4px; font-family: inherit; font-size: 0.78rem; font-weight: 700; color: rgba(255,255,255,0.6); background: none; border: 0; text-decoration: underline; cursor: pointer; }
.link-btn:hover { color: var(--white); }
.appt-layout .time-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.time-slot { min-height: 44px; display: flex; align-items: center; justify-content: center; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }

@media (max-width: 700px) {
  .appt-layout { grid-template-columns: 1fr; gap: 24px; }
  .time-hint { display: none; }
  .quick-dates { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cal { padding: 10px; }
  .cal-dow, .cal-grid { gap: 3px; }
}
@media (max-width: 380px) { .appt-layout .time-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
