/* ============================================================
   Honkz NYC — booking page (/book) and return page (/booked).
   Mobile first: ~90% of paid traffic is the iOS in-app webview,
   so every rule below is written for 390px and only widened by
   the one media query at the bottom. Inherits the tokens and the
   header/footer from styles.css — this file is only what the
   booking flow adds.
   ============================================================ */

.bk-body {
  /* The landing page's radial washes are decorative; a form page
     wants a calm ground so the picker is the loudest thing on it. */
  background: var(--bg);
}

.bk-main {
  max-width: 720px;
  margin: 0 auto;
  padding: 8px clamp(16px, 5vw, 28px) 64px;
}

.bk-price-tag {
  font-weight: 800;
  font-size: 0.92rem;
  color: var(--brand);
  background: #fff;
  border: 2px solid #EDE7FF;
  border-radius: 999px;
  padding: 6px 14px;
  white-space: nowrap;
}

/* ---------------- intro ---------------- */
.bk-intro h1 { font-size: clamp(1.9rem, 7vw, 2.6rem); }
.bk-sub {
  margin-top: 14px;
  color: var(--ink-soft);
  font-size: 1.02rem;
}
.bk-cancelled {
  margin-top: 16px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: #FFF6E8;
  border: 2px solid #FFE2B0;
  font-size: 0.94rem;
  font-weight: 600;
}

/* ---------------- the artifact ---------------- */
/* hkz-27's sample report, moved to sit above the CTA that costs
   money rather than the one that costs an email address: seeing
   the document is what makes $100 concrete. */
.bk-artifact {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-top: 28px;
  padding: 16px;
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.bk-artifact-thumb {
  flex: 0 0 84px;
  display: block;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.bk-artifact-thumb img { display: block; width: 100%; height: auto; }
.bk-artifact-copy h2 { font-size: 1.1rem; }
.bk-artifact-copy p {
  margin-top: 6px;
  color: var(--ink-soft);
  font-size: 0.9rem;
}
.bk-artifact-open {
  display: inline-block;
  margin-top: 8px;
  font-weight: 800;
  font-size: 0.88rem;
  color: var(--brand);
  text-decoration: none;
  border-bottom: 2px solid #DCD3FF;
}

/* ---------------- steps ---------------- */
.bk-step { margin-top: 40px; }
.bk-step h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.35rem;
}
.bk-step-n {
  display: grid;
  place-items: center;
  width: 30px; height: 30px;
  flex: 0 0 30px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-size: 0.95rem;
}
.bk-step-note {
  margin-top: 10px;
  color: var(--ink-soft);
  font-size: 0.94rem;
}

/* ---------------- the picker ---------------- */
.bk-slots { margin-top: 18px; }
.bk-loading, .bk-empty {
  padding: 18px;
  background: var(--surface);
  border-radius: var(--radius-sm);
  color: var(--ink-soft);
  font-size: 0.95rem;
}
.bk-empty strong { color: var(--ink); }

.bk-day {
  background: var(--surface);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  margin-bottom: 10px;
  box-shadow: var(--shadow-sm);
}
.bk-day-label {
  font-weight: 800;
  font-size: 0.95rem;
  margin-bottom: 10px;
}
.bk-windows {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
/* A RANGE, never a start time — the one rendering Cal.com would
   not give us, and the reason this page exists. */
.bk-window {
  font: inherit;
  font-weight: 800;
  font-size: 0.98rem;
  color: var(--ink);
  background: #F6F3FF;
  border: 2px solid #E4DCFF;
  border-radius: 999px;
  /* 44px tall: a thumb target in a webview, not a mouse target. */
  min-height: 44px;
  padding: 8px 16px;
  cursor: pointer;
  transition: transform .12s ease, background .12s ease;
}
.bk-window:hover { background: #EDE7FF; }
.bk-window:active { transform: scale(0.97); }
.bk-window[aria-pressed="true"] {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}

.bk-more {
  width: 100%;
  font: inherit;
  font-weight: 800;
  font-size: 0.94rem;
  color: var(--brand);
  background: transparent;
  border: 2px dashed #DCD3FF;
  border-radius: var(--radius-sm);
  min-height: 46px;
  padding: 10px;
  cursor: pointer;
}
.bk-more:hover { background: #F6F3FF; }

/* ---------------- form ---------------- */
.bk-form { margin-top: 20px; }
.bk-label {
  display: block;
  margin-top: 18px;
  margin-bottom: 6px;
  font-weight: 800;
  font-size: 0.95rem;
}
.bk-optional { font-weight: 600; color: var(--ink-soft); font-size: 0.85rem; }
.bk-form input, .bk-form textarea {
  width: 100%;
  font: inherit;
  /* 16px minimum: anything smaller and iOS Safari zooms the page
     on focus, which is a broken-looking form on the one device
     that matters most here. */
  font-size: 16px;
  color: var(--ink);
  background: var(--surface);
  border: 2px solid #E7E2F5;
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  resize: vertical;
}
.bk-form input::placeholder,
.bk-form textarea::placeholder { color: #A9A2BC; }
.bk-form input:focus, .bk-form textarea:focus {
  outline: none;
  border-color: var(--brand);
}
.bk-form .is-bad { border-color: var(--loud); }
.bk-hint { margin-top: 6px; font-size: 0.85rem; color: var(--ink-soft); }

/* ---------------- the six promises ---------------- */
.bk-promises {
  list-style: none;
  margin: 26px 0 0;
  padding: 16px 16px 16px 14px;
  background: #F3EFFB;
  border-radius: var(--radius);
}
.bk-promises li {
  position: relative;
  padding-left: 26px;
  font-size: 0.92rem;
  color: var(--ink-soft);
}
.bk-promises li + li { margin-top: 12px; }
.bk-promises li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: -1px;
  font-weight: 800;
  color: var(--quiet);
}
.bk-promises strong { color: var(--ink); }

/* ---------------- pay ---------------- */
.bk-chosen {
  margin-top: 20px;
  font-weight: 800;
  font-size: 0.98rem;
  color: var(--ink-soft);
  text-align: center;
}
.bk-chosen.is-set { color: var(--ink); }
.bk-error {
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: #FFEEEE;
  border: 2px solid #FFCFCF;
  font-size: 0.92rem;
  font-weight: 700;
  color: #B03434;
}
.bk-pay {
  width: 100%;
  margin-top: 14px;
  font: inherit;
  font-weight: 800;
  font-size: 1.08rem;
  color: #fff;
  background: var(--brand);
  border: 0;
  border-radius: 999px;
  min-height: 54px;
  padding: 14px 20px;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: background .15s ease, transform .12s ease;
}
.bk-pay:hover:not(:disabled) { background: var(--brand-dk); }
.bk-pay:active:not(:disabled) { transform: translateY(1px); }
.bk-pay:disabled { background: #C9C2E4; cursor: not-allowed; box-shadow: none; }
.bk-hint-pay { text-align: center; }

/* ---------------- the return page (/booked) ---------------- */
.bk-done {
  max-width: 560px;
  margin: 0 auto;
  padding: 24px clamp(16px, 5vw, 28px) 64px;
  text-align: center;
}
.bk-done-mark {
  display: grid;
  place-items: center;
  width: 64px; height: 64px;
  margin: 8px auto 20px;
  border-radius: 50%;
  background: #E4F8EF;
  font-size: 1.9rem;
}
.bk-done h1 { font-size: clamp(1.7rem, 6vw, 2.2rem); }
.bk-done p { margin-top: 14px; color: var(--ink-soft); font-size: 1rem; }
.bk-done-card {
  margin-top: 24px;
  padding: 18px;
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  text-align: left;
}
.bk-done-card h2 { font-size: 1.05rem; }
.bk-done-card p { font-size: 0.92rem; }
.bk-back {
  display: inline-block;
  margin-top: 28px;
  font-weight: 800;
  color: var(--brand);
  text-decoration: none;
}

/* ---------------- the one widening ---------------- */
@media (min-width: 720px) {
  .bk-main { padding-top: 24px; }
  .bk-artifact { gap: 22px; padding: 20px; }
  .bk-artifact-thumb { flex-basis: 120px; }
  .bk-artifact-copy h2 { font-size: 1.25rem; }
  .bk-artifact-copy p { font-size: 0.96rem; }
  .bk-promises { padding: 22px 22px 22px 20px; }
  .bk-promises li { font-size: 0.95rem; }
  .bk-pay { width: auto; min-width: 280px; display: block; margin-inline: auto; }
}

/* The terms acknowledgement under the pay button (hkz-40). Quieter
   than the Stripe line above it, and its link has to be tappable
   without being a second call to action. */
.bk-terms { margin-top: 4px; font-size: 0.8rem; }
.bk-terms a { color: var(--ink-soft); }
.bk-promises a { color: var(--brand); }
/* the terms link sits on its own line under the data promise, not trailing off
   the end of the sentence: it is a second thing to do, not part of the claim */
.bk-promise-link { margin: 8px 0 0; }

/* ---- "Any other questions?" (collapsed by default) ----------------------
   The page has one job. An open contact form beside the pay button competes
   with it, so this stays a <details> the reader has to want. */
.bk-ask { margin: 18px auto 0; max-width: 560px; }
.bk-ask summary {
  cursor: pointer; list-style: none; font-size: 0.88rem;
  font-weight: var(--wt-bold); color: var(--brand); text-align: center;
  padding: 8px; border-radius: var(--radius-sm);
}
.bk-ask summary::-webkit-details-marker { display: none; }
.bk-ask summary::after { content: " ▾"; font-size: 0.75rem; opacity: 0.7; }
.bk-ask[open] summary::after { content: " ▴"; }
.bk-ask summary:hover { background: var(--bg-soft); }
.bk-ask-form {
  background: var(--surface); border: 1px solid var(--hairline);
  border-radius: var(--radius); padding: 14px 16px; margin-top: 6px;
}
.bk-ask-form textarea {
  width: 100%; resize: vertical; font: inherit; font-size: 0.9rem;
  border: 1px solid var(--hairline-strong); border-radius: var(--radius-sm);
  padding: 10px 12px; background: var(--bg);
}
.bk-ask-form textarea:focus,
.bk-ask-row input:focus { outline: none; border-color: var(--brand); background: var(--surface); }
.bk-ask-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.bk-ask-row input {
  flex: 1 1 0; min-width: 0; border: 1px solid var(--hairline-strong);
  border-radius: var(--radius-pill); padding: 9px 14px; font: inherit;
  font-size: 0.9rem; background: var(--bg);
}
.bk-ask-row button {
  border: none; border-radius: var(--radius-pill); background: var(--brand);
  color: var(--on-brand); font: inherit; font-weight: var(--wt-bold);
  font-size: 0.88rem; padding: 9px 20px; cursor: pointer;
}
.bk-ask-row button:hover { background: var(--brand-dk); }
.bk-ask-form.is-done .bk-ask-row button { background: var(--hairline-strong); cursor: default; }
.bk-ask-note { margin: 8px 0 0; font-size: 0.82rem; color: var(--accent); }
.bk-ask-note.is-success { color: var(--ink-soft); }
@media (max-width: 480px) {
  .bk-ask-row input, .bk-ask-row button { flex: 1 1 100%; }
}
