/* ==========================================================================
   D07 · Get in Touch  (pages/contact.html)
   Focused conversion page: three-step booking wizard, no footer.
   ========================================================================== */

.contact {
  padding: clamp(48px, 6vw, 96px) var(--w-gutter);
}

.contact__inner {
  max-width: 1120px;
  margin: 0 auto;
}

/* Wizard head ------------------------------------------------------------- */

.wizard__eyebrow {
  margin-bottom: 16px;
}

.wizard__title {
  margin-bottom: 40px;
  font: 300 clamp(40px, 5.6vw, 80px)/.98 var(--w-sans);
  letter-spacing: -.04em;
}

.wizard__title:focus {
  outline: none;
}

.wizard__progress {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  margin-bottom: 40px;
}

.wizard__bar {
  height: 3px;
  background: var(--w-line-2);
  transition: background 280ms;
}

.wizard__bar.is-filled {
  background: var(--w-action);
}

.wizard__actions {
  margin-top: 8px;
}

.wizard__back {
  padding: 0 20px;
  font-size: 15px;
}

/* Step 1 · Intent cards --------------------------------------------------- */

.intents {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 12px;
}

.intent {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 200px;
  padding: 24px;
  border: 1px solid var(--w-line-2);
  border-radius: 8px;
  background: var(--w-surface-1);
  color: var(--w-text);
  text-align: left;
  transition: border-color 160ms, background-color 160ms;
}

.intent:hover {
  border-color: var(--w-action);
  color: var(--w-text);
}

.intent--emergency {
  min-height: 248px; /* original: 200px content-box + padding */
  border: 0;
  background: var(--w-emergency);
  color: #fff;
}

.intent--emergency:hover {
  background: #B0242A;
  color: #fff;
}

.intent__tag {
  display: flex;
  align-items: center;
  gap: 8px;
  font: 500 12px var(--w-mono);
  letter-spacing: .06em;
  color: var(--w-text-3);
}

.intent--emergency .intent__tag {
  color: inherit;
}

.intent__label {
  font: 400 22px/1.2 var(--w-sans);
}

.intent__sub {
  margin-top: auto;
  font: 14px/1.5 var(--w-sans);
  color: var(--w-text-2);
}

.intent__call {
  margin-top: auto;
  font: 500 18px var(--w-mono);
}

/* Step 2 · Details form --------------------------------------------------- */

.details-form {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 20px 24px;
  max-width: 860px;
}

.details-form__full {
  grid-column: 1 / -1;
}

.details-form__select {
  padding: 0 12px;
}

/* NDA opt-in: a button with role="checkbox" and a drawn box */
.nda-toggle {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--w-text);
  font: 15px/1.5 var(--w-sans);
  text-align: left;
}

.nda-toggle__box {
  display: grid;
  place-items: center;
  flex: none;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  border: 1.5px solid var(--w-text-3);
  border-radius: 2px;
  color: var(--w-on-action);
  font: 600 13px var(--w-sans);
}

.nda-toggle[aria-checked="true"] .nda-toggle__box {
  border-color: var(--w-action);
  background: var(--w-action);
}

.nda-toggle[aria-checked="true"] .nda-toggle__box::before {
  content: "✓";
}

/* Step 3 · Booking -------------------------------------------------------- */

.booking {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 24px;
}

.expert {
  display: grid;
  gap: 16px;
  align-content: start;
}

.expert__head {
  display: flex;
  align-items: center;
  gap: 16px;
}

.expert__photo {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: repeating-linear-gradient(135deg, var(--w-surface-3) 0 6px, var(--w-surface-2) 6px 12px);
  font: 10px var(--w-mono);
  color: var(--w-text-3);
}

.expert__name {
  font: 500 18px var(--w-sans);
}

.expert__role {
  margin-top: 2px;
  font: 14px var(--w-sans);
  color: var(--w-text-2);
}

.expert__bio {
  font: 15px/1.55 var(--w-sans);
  color: var(--w-text-2);
}

.days {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
  margin-bottom: 16px;
}

.day {
  min-height: 64px;
  border: 1px solid var(--w-line-2);
  border-radius: 4px;
  background: transparent;
  color: var(--w-text);
  font: 14px var(--w-sans);
}

.day__dow {
  display: block;
  font: 12px var(--w-mono);
  color: var(--w-text-3);
}

.day[aria-pressed="true"] {
  border-color: var(--w-action);
  background: var(--w-action-soft);
}

.slots {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
  gap: 6px;
}

.slot {
  height: 44px;
  border: 1px solid var(--w-line-2);
  border-radius: 4px;
  background: transparent;
  color: var(--w-text);
  font: 500 14px var(--w-mono);
}

.slot[aria-pressed="true"] {
  border-color: var(--w-action);
  background: var(--w-action);
  color: var(--w-on-action);
}

.booking__tz {
  margin: 12px 0 24px;
}

.booking .wizard__actions {
  margin-top: 0;
}

/* Confirmation ------------------------------------------------------------ */

.confirmation {
  max-width: 760px;
}

.confirmation__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  font: 13px var(--w-mono);
  color: var(--w-action);
}

.confirmation__check {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border: 1.5px solid var(--w-action);
  border-radius: 50%;
  font: 600 10px var(--w-sans);
}

.confirmation__title {
  margin-bottom: 20px;
}

.confirmation__text {
  margin-bottom: 32px;
  font: 18px/1.6 var(--w-sans);
  color: var(--w-text-2);
}

.next-steps {
  margin-bottom: 32px;
  border-top: 1px solid var(--w-line);
}

.next-steps li {
  display: grid;
  grid-template-columns: 40px 1fr;
  padding: 16px 0;
  border-bottom: 1px solid var(--w-line);
  font: 16px/1.5 var(--w-sans);
}

.next-steps span {
  font: 13px var(--w-mono);
  color: var(--w-text-3);
}

.confirmation__home {
  font: 500 15px var(--w-sans);
}

/* Reassurance row --------------------------------------------------------- */

.assurances {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 24px;
  margin-top: 72px;
  padding-top: 28px;
  border-top: 1px solid var(--w-line);
  font: 13px/1.55 var(--w-sans);
  color: var(--w-text-2);
}

.assurances strong {
  display: block;
  margin-bottom: 4px;
  font: 500 12px var(--w-mono);
  color: var(--w-text-3);
}
