/* =========================================================================
   Falconet — book.html only (Book a free call).
   Two-column contact layout: intro + steps + contact left, form card right.
   ========================================================================= */

/* ---------- hero grid ---------- */
.book-hero { padding-bottom: clamp(3rem, 6vw, 5rem); }
.book-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(2.5rem, 6vw, 5.5rem); align-items: start; }
.book-hero .display { font-size: clamp(2.6rem, 5.4vw, 4.5rem); max-width: 12ch; }
.book-intro { max-width: 34rem; }
.book-jump { display: none; margin-top: 1.5rem; }

/* ---------- numbered steps ---------- */
.book-steps { list-style: none; margin: clamp(2.25rem, 4vw, 3rem) 0 0; padding: 0; display: grid; gap: 1.5rem; }
.book-steps li { position: relative; display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 1rem; }
.book-steps li:not(:last-child)::before {
  content: ""; position: absolute; left: 19px; top: 48px; bottom: calc(-1.5rem + 8px);
  width: 2px; border-radius: 2px; background: var(--line-2);
}
.bs-n {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--cyan-soft); color: var(--cyan); box-shadow: inset 0 0 0 1px rgba(47, 216, 255, 0.3);
  font-weight: 900; font-size: 1rem; font-variant-numeric: tabular-nums;
}
.bs-t { padding-top: 0.45rem; font-size: 1.1rem; font-weight: 700; letter-spacing: -0.01em; line-height: 1.3; }
.bs-d { margin-top: 0.3rem; color: var(--ink-2); font-size: 0.98rem; line-height: 1.55; }

/* ---------- form card ---------- */
.book-card { --card-pad: clamp(1.5rem, 3vw, 2.25rem); padding: var(--card-pad); border-radius: calc(14px + var(--card-pad)); scroll-margin-top: 88px; }
.book-card-title { font-size: clamp(1.5rem, 2.2vw, 1.85rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; }
.book-form { display: grid; gap: 1.25rem; }
.book-form .field legend { margin-bottom: 0.65rem; }
.book-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.15rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* day + time chips: two lines, label over small date */
.pick-days span, .pick-times span { flex-direction: column; justify-content: center; gap: 0.1rem; min-width: 4.6rem; min-height: 56px; padding: 0.45rem 0.8rem; border-radius: 16px; line-height: 1.2; text-align: center; }
.pick-days small, .pick-times small { font-size: 0.78rem; font-weight: 500; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.pick-days input:checked + span small, .pick-times input:checked + span small { color: var(--ink-2); }
.pick-times { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pick-times span { width: 100%; }

/* live Cal.com calendar (when SITE.calLink is set) */
.cal-wrap { min-height: 520px; }
.cal-wrap cal-inline { align-items: flex-start; align-content: flex-start; }

/* sent */
.book-done { display: grid; justify-items: center; gap: 0.75rem; padding: 2rem 0.5rem; text-align: center; outline: none; }
.book-done .muted { max-width: 34ch; }
.book-done .btn { margin-top: 0.5rem; }
.bd-ic { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--cyan-soft); color: var(--cyan); box-shadow: inset 0 0 0 1px rgba(47, 216, 255, 0.3); }
.bd-ic svg { width: 26px; height: 26px; }
.book-card.is-done .book-panel { display: none; }
.book-form .form-msg { margin-top: 0.1rem; }
.book-form .btn-block { min-height: 56px; font-size: 1.02rem; white-space: normal; text-align: center; line-height: 1.2; }
.book-fine { margin-top: -0.35rem; text-align: center; font-size: 0.88rem; color: var(--ink-3); }
.book-fine a { color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- short FAQ ---------- */
.book-faq { padding-top: clamp(2rem, 4vw, 3rem); }
.book-faq-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.book-faq .sec-head { margin-bottom: 0; }
.book-faq .link-arrow { min-height: 44px; margin-top: 1.25rem; }
/* site.css `.faq details` (0,1,1) overrides `.reveal` transitions; restore fade/slide + stagger */
.book-faq .faq details.reveal {
  transition-property: opacity, translate, box-shadow;
  transition-duration: 0.8s, 0.9s, 0.25s;
  transition-timing-function: var(--ease), var(--ease), var(--ease-ui);
  transition-delay: calc(var(--d, 0) * 90ms), calc(var(--d, 0) * 90ms), 0s;
}

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .book-grid, .book-faq-grid { grid-template-columns: 1fr; }
  .book-intro { max-width: none; }
  .book-jump { display: inline-flex; }
  .book-jump svg { width: 15px; height: 15px; }
}
@media (max-width: 560px) {
  .book-row { grid-template-columns: 1fr; }
  /* days scroll sideways under the thumb instead of wrapping into rows */
  .pick-days { flex-wrap: nowrap; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain;
    margin-inline: calc(-1 * var(--card-pad)); padding-inline: var(--card-pad); scroll-padding-inline: var(--card-pad); }
  .pick-days::-webkit-scrollbar { display: none; }
  .pick-days label { flex: none; scroll-snap-align: start; }
  .pick-times { gap: 0.4rem; }
  .pick-times span { min-width: 0; padding-inline: 0.35rem; }
  .pick-times small { white-space: nowrap; font-size: 0.74rem; }
}
