/* Questions-first consultation form (2026-11).
 * Step 1: the four questions, visible from the start.
 * Step 2: contact details, then the calendar, in one card.
 * Also the hero copy: checklist and eligibility note.
 */

/* ---------- Hero ---------- */
.reference-hero .hero-story h1 {
  font-size: clamp(2.2rem, 3.3vw, 3.2rem);
  line-height: 1.06;
  max-width: 19ch;
}
.reference-hero .hero-story h1 em { display: inline; }
/* Eyebrow and service note: one step larger than the shared 11px / 13px. */
.reference-hero .hero-story .eyebrow { font-size: 13px !important; line-height: 1.5 !important; }
.reference-hero .hero-service-note,
.reference-hero .hero-service-note strong { font-size: 15px !important; line-height: 1.5 !important; }
.reference-hero .hero-service-note { max-width: 36rem !important; }
.hero-checks {
  list-style: none;
  margin: 1.1rem 0 0;
  padding: 0;
  display: grid;
  gap: .55rem;
}
.hero-checks li {
  position: relative;
  padding-left: 2.1rem;
  font-weight: 600;
  font-size: 1.05rem;
  line-height: 1.35;
  color: #fff;
}
.hero-checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .05em;
  width: 1.35rem;
  height: 1.35rem;
  border: 1.6px solid #e8c37d;
  border-radius: 50%;
  background: no-repeat center / 62% url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23e8c37d' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 8.5l3.2 3L13 4.5'/%3E%3C/svg%3E");
}
.hero-footnote { color: inherit; text-decoration: none; margin-left: 1px; }
.hero-footnote:hover, .hero-footnote:focus-visible { color: #e8c37d; }
.hero-eligibility {
  display: flex;
  gap: .85rem;
  align-items: flex-start;
  margin-top: 1.1rem;
  padding: .9rem 1.1rem;
  max-width: 36rem;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 12px;
  background: rgba(16, 33, 44, .62);
  backdrop-filter: blur(6px);
  color: rgba(255, 255, 255, .92);
}
.hero-eligibility svg { flex: none; color: #e8c37d; margin-top: .1rem; }
.hero-eligibility h2 {
  margin: 0 0 .2rem;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0;
  color: #fff;
}
.hero-eligibility p { margin: 0; font-size: .88rem; line-height: 1.45; }
/* The hero button is only needed where the form sits below the hero copy. */
@media (min-width: 1001px) {
  .reference-hero .hero-book { display: none; }
}

/* ---------- Step 1: questions ---------- */
.funnel .form-intro {
  margin: 0 0 .9rem;
  font-size: .95rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, .86);
}
.funnel #qualification { display: block; }
.funnel .ineligible-note {
  margin: .85rem 0 0;
  padding: .75rem .9rem;
  border: 1px solid rgba(240, 150, 130, .65);
  border-left-width: 4px;
  border-radius: 10px;
  background: rgba(120, 36, 28, .35);
  color: #fff;
  font-size: .9rem;
  line-height: 1.45;
}
.funnel .ineligible-note strong { display: block; margin-bottom: .2rem; }
.funnel select[data-ineligible] { border-color: rgba(240, 150, 130, .9); }
/* "Not at this time" to the cost question: same note, with a link to the Starter Kit. */
.funnel .budget-note p { margin: 0; }
.funnel .budget-note .button { margin-top: .75rem; }

/* ---------- Step 2: contact details + calendar ---------- */
.funnel .step-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: .6rem;
}
.funnel .step-header .text-button { padding: 0; }
.funnel .step-count {
  margin: 0;
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .7);
}
.funnel .contact-step { margin-bottom: .9rem; }
.funnel .contact-step .calendar-step,
.funnel .calendar-step-times { margin: 0 0 .5rem; }
.funnel .contact-step .email-field { margin-top: .55rem; }
/* Same inset label as the other contact fields (review-fixes.css). */
.form-shell .funnel .contact-step > .field.inset-field { position: relative; }
.form-shell .funnel .contact-step > .field.inset-field > label { position: absolute; width: auto; height: auto; margin: 0; overflow: visible; clip: auto; white-space: nowrap; border: 0; font-size: 14px; font-weight: 400; line-height: 18px; }
.form-shell .funnel .contact-step > .field.inset-field:has(input:not(:placeholder-shown)) > label { clip-path: inset(50%); width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 700px) {
  .form-shell .funnel .contact-step > .field.inset-field > label { font-size: 16px; line-height: 20px; }
}
/* Step 1 grows when the ineligible note shows. */
.form-shell .funnel.is-expanded:not(.is-calendar):not(.is-result) {
  height: auto !important;
  max-height: none !important;
}
.funnel .form-action[hidden] { display: none !important; }
/* Step 2 holds contact fields and the calendar: let the card grow
   instead of squeezing the calendar into the fixed step 1 height. */
.form-shell .funnel.is-calendar {
  height: auto !important;
  max-height: none !important;
}
.form-shell .funnel.is-calendar .calendar-workspace {
  flex: none;
  overflow: visible;
}
.funnel #calendar-view .booking-consent {
  margin: .8rem 0 .2rem;
  font-size: .78rem;
  line-height: 1.45;
}
/* SMS opt-in: optional, never prechecked (carrier A2P rule). */
.funnel #calendar-view .sms-optin {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  font-size: .85rem;
  line-height: 1.45;
  cursor: pointer;
}
.funnel #calendar-view .sms-optin input {
  flex: none;
  width: 1.15rem;
  height: 1.15rem;
  margin: .1rem 0 0;
  accent-color: currentColor;
  cursor: pointer;
}
.funnel #calendar-view .sms-disclosure { margin: .45rem 0 0; opacity: .85; }
.funnel #calendar-view .sms-links { display: flex; gap: 1rem; margin: .35rem 0 0; }
.funnel #calendar-view .sms-links a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }

/* Bold SVG arrow on the form buttons; the text glyph read too small. */
.funnel .submit-button .btn-arrow {
  display: inline-flex;
  margin-left: 8px;
  vertical-align: middle;
  transform: translateY(-1px);
  transition: transform .15s ease;
}
.funnel .submit-button .btn-arrow svg { display: block; width: 20px; height: 20px; }
.funnel .submit-button:hover .btn-arrow { transform: translate(3px, -1px); }
@media (prefers-reduced-motion: reduce) {
  .funnel .submit-button:hover .btn-arrow { transform: translateY(-1px); }
}

/* Selected date and time stay gold with dark text, also on hover and focus.
   Before, hovering the selected time turned it dark blue with dark text. */
.form-shell .funnel .time-button[aria-pressed="true"],
.form-shell .funnel .time-button[aria-pressed="true"]:hover:not(:disabled),
.form-shell .funnel .calendar-days button[aria-pressed="true"],
.form-shell .funnel .calendar-days button[aria-pressed="true"]:hover:not(:disabled) {
  background: #f0cf96 !important;
  border-color: #fff3dc !important;
  color: #13293a !important;
  font-weight: 700 !important;
  box-shadow: 0 0 0 2px #f0cf96, 0 4px 12px rgba(0, 0, 0, .25) !important;
  opacity: 1 !important;
}
.form-shell .funnel .time-button[aria-pressed="true"]::before {
  content: "✓";
  margin-right: 6px;
  font-weight: 800;
}

/* Form title in the two hero colours: white, with the gold accent. */
.form-shell .funnel .funnel-banner h2 em {
  font-style: normal;
  color: #e8c37d;
}

/* Form buttons: warm gold from the start, so they stand out from the blue card.
   Before, step 1 stayed blue-grey until every question was answered. A click
   while answers are missing still points to the missing one. */
.form-shell .funnel .submit-button,
.form-shell .funnel .submit-button[aria-disabled="true"]:not(:disabled),
.form-shell .funnel .submit-button[aria-disabled="true"]:not(:disabled):hover {
  background: linear-gradient(115deg, #f7d684, #edbd52 55%, #f4cf75) !important;
  border-color: #fbe3a6 !important;
  color: #13293a !important;
  font-weight: 700 !important;
  box-shadow: 0 6px 18px rgba(6, 22, 34, .35) !important;
}
.form-shell .funnel .submit-button:not(:disabled):hover {
  background: linear-gradient(115deg, #f9dd94, #f1c564 55%, #f6d684) !important;
  transform: translateY(-1px);
}
/* "Confirm my call time" before a time is picked: still gold, clearly waiting. */
.form-shell .funnel .submit-button:disabled {
  opacity: .55 !important;
  box-shadow: none !important;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .form-shell .funnel .submit-button:not(:disabled):hover { transform: none; }
}

/* Booking confirmation: say what was booked and what to do next. */
.funnel .booking-ticket .ticket-kind { display: block; font-weight: 600; font-size: .9rem; margin-bottom: .6rem; }
.funnel .booking-next { margin: 1rem 0 0; padding: 0 0 0 1.2rem; text-align: left; font-size: .85rem; line-height: 1.5; }
.funnel .booking-next li + li { margin-top: .45rem; }
.funnel .calendar-add { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem 1.2rem; margin-top: .9rem; }
.funnel .calendar-add .text-button { font-size: .85rem; text-decoration: underline; text-underline-offset: 2px; color: inherit; min-height: 44px; display: inline-flex; align-items: center; }
.funnel .booking-result > #booking-greeting { font-size: .9rem; }
.funnel .booking-ticket .ticket-email { font-size: .8rem; }
