/* ==========================================================================
   WESTON CLICK — book.css
   Page-specific styles for book-a-call.html only.
   Deliberately spare: this page has exactly one job.
   ========================================================================== */

/* --------------------------------------------------------------------------
   LAYOUT
   No hero on this page — the section reserves room for the floating header
   pill itself. Form on the left, live calendar on the right.
   -------------------------------------------------------------------------- */
.book {
  position: relative;
  background: var(--surface-alt);
  padding-top: calc(var(--header-space) + clamp(20px, 3vw, 44px));
}

.book__head {
  max-width: 760px;
  margin: 0 auto clamp(32px, 4vw, 48px);
  text-align: center;
}
.book__head .eyebrow { justify-content: center; }
.book h1 {
  font-size: clamp(1.9rem, 1.35rem + 2.4vw, 2.9rem);
  line-height: 1.1;
  letter-spacing: -0.035em;
}
.book__head .lead { margin-top: var(--sp-5); }

.book__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(20px, 2.6vw, 32px);
  align-items: start;
}

.book__card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--r-2xl);
  background: var(--white);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
}

/* --- Card head --- */
.book-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  padding: clamp(18px, 2.2vw, 24px) clamp(20px, 2.6vw, 28px);
  border-bottom: 1px solid var(--line);
  background: var(--surface-alt);
}
.book-card__title {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: var(--font-display);
  font-size: var(--fs-h4);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--ink-900);
}
.book-card__icon {
  display: grid;
  place-items: center;
  width: 36px; height: 36px;
  flex: none;
  border-radius: 11px;
  background: var(--accent-tint);
  border: 1px solid var(--brand-100);
  color: var(--accent);
}
.book-card__icon svg { width: 18px; height: 18px; }
.book-card__badge {
  flex: none;
  padding: 6px 13px;
  border-radius: var(--r-pill);
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  white-space: nowrap;
}

/* --- Live Calendly embed --- */
.calendly-embed {
  position: relative;
  min-height: 420px;
  background: var(--white);
}
.calendly-embed .calendly-inline-widget { width: 100%; }
.calendly-embed__fallback {
  padding: 24px clamp(20px, 2.6vw, 28px);
  text-align: center;
  font-size: var(--fs-sm);
}
.calendly-embed__fallback a { font-weight: 700; color: var(--accent); }

.calendly-embed__foot {
  padding: clamp(18px, 2.2vw, 24px) clamp(20px, 2.6vw, 28px);
  border-top: 1px solid var(--line);
  background: var(--surface-alt);
}
.calendly-embed__note {
  margin-top: 12px;
  text-align: center;
  font-size: var(--fs-xs);
  color: var(--ink-400);
}

/* --- What to expect, spanning both columns --- */
.expect {
  margin-top: clamp(24px, 3vw, 34px);
  padding: clamp(22px, 2.6vw, 30px);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}
.expect__title {
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--sp-6);
}
.expect__list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 26px);
}
.expect__list > li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: var(--fs-sm);
  line-height: 1.6;
  color: var(--ink-600);
}
.expect__icon {
  display: grid;
  place-items: center;
  width: 20px; height: 20px;
  flex: none;
  margin-top: 2px;
  border-radius: 50%;
  background: rgba(20, 184, 124, .13);
  color: var(--mint-500);
}
.expect__icon svg { width: 11px; height: 11px; }

.book__trust {
  margin-top: var(--sp-6);
  text-align: center;
  font-size: var(--fs-xs);
  line-height: 1.6;
  color: var(--ink-400);
}

/* --------------------------------------------------------------------------
   QUALIFIER FORM
   -------------------------------------------------------------------------- */
.book-form { padding: clamp(24px, 3vw, 34px); }
.book-form__sub {
  margin-bottom: var(--sp-6);
  font-size: var(--fs-sm);
  line-height: 1.6;
  color: var(--ink-500);
}
.field + .field { margin-top: var(--sp-5); }
.field__label {
  display: block;
  margin-bottom: 8px;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: -0.005em;
  color: var(--ink-600);
}
.field__input {
  width: 100%;
  padding: 14px 16px;
  border-radius: var(--r-md);
  border: 1px solid var(--line-strong);
  background: var(--white);
  font-size: var(--fs-sm);
  color: var(--ink-900);
  transition: border-color var(--dur-fast) var(--ease-soft),
              box-shadow var(--dur-fast) var(--ease-soft);
}
.field__input::placeholder { color: var(--ink-300); }
.field__input:hover { border-color: var(--ink-300); }
.field__input:focus {
  outline: none;
  border-color: var(--accent-bright);
  box-shadow: 0 0 0 4px rgba(var(--accent-rgb), .13);
}

.field__select-wrap { position: relative; }
.field__select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 44px;
  cursor: pointer;
}
.field__select:invalid { color: var(--ink-300); }
.field__chevron {
  position: absolute;
  right: 16px; top: 50%;
  width: 16px; height: 16px;
  margin-top: -8px;
  pointer-events: none;
  color: var(--ink-400);
}

.field__hint {
  margin-top: 7px;
  font-size: var(--fs-xs);
  color: var(--ink-400);
}
.field__optional {
  margin-left: 8px;
  padding: 2px 8px;
  border-radius: var(--r-pill);
  background: var(--ink-50);
  border: 1px solid var(--line);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-400);
}

.field__textarea {
  min-height: 118px;
  resize: vertical;
  line-height: 1.6;
  font-family: inherit;
}
.field__count {
  margin-top: 6px;
  text-align: right;
  font-size: 11px;
  font-variant-numeric: tabular-nums;
  color: var(--ink-300);
  transition: color var(--dur-fast) var(--ease-soft);
}
.field__count.is-near-limit { color: var(--accent); font-weight: 700; }

.field__error {
  margin-top: 7px;
  font-size: var(--fs-xs);
  font-weight: 600;
  color: #14B87C;
}
.field.has-error .field__input {
  border-color: #34D89C;
  box-shadow: 0 0 0 4px rgba(20, 184, 124, .1);
}

.book-form .btn { margin-top: var(--sp-7); }
.book-form__note {
  justify-content: center;
  width: 100%;
  margin-top: var(--sp-5);
}

/* --------------------------------------------------------------------------
   SUCCESS STATE
   -------------------------------------------------------------------------- */
.book-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-4);
  padding: clamp(28px, 4vw, 44px);
  text-align: center;
  animation: book-success-in .5s var(--ease-out) both;
}
@keyframes book-success-in {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: none; }
}
.book-success__icon {
  display: grid;
  place-items: center;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: rgba(20, 184, 124, .13);
  color: var(--mint-500);
}
.book-success__icon svg { width: 26px; height: 26px; }
.book-success__title {
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--ink-900);
}
.book-success__cta { margin-top: var(--sp-5); }
.book-success__text {
  max-width: 42ch;
  font-size: var(--fs-sm);
  line-height: 1.7;
  color: var(--ink-500);
}

/* --------------------------------------------------------------------------
   RESPONSIVE
   Below the two-column breakpoint the form leads and the calendar follows,
   matching the DOM order.
   -------------------------------------------------------------------------- */
@media (max-width: 1000px) {
  .book__grid { grid-template-columns: minmax(0, 1fr); }
  .expect__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .expect__list { grid-template-columns: minmax(0, 1fr); }
  .book-card__head { flex-wrap: wrap; }
}
