.booking-hero .content-hero__copy { max-width: 42rem; }
[data-booking-result] { overflow-wrap: anywhere; }
[data-booking-result] input { width: 100%; padding: .75rem; font: inherit; }
[data-manage-result] { margin-top: 1.5rem; }

.booking-section,
.status-section { padding-block: clamp(4.5rem, 10vw, 8rem); }

.booking-layout,
.status-layout {
  display: grid;
  grid-template-columns: minmax(15rem, .72fr) minmax(0, 1.28fr);
  gap: clamp(3rem, 8vw, 8rem);
  align-items: start;
}

.booking-copy,
.status-copy { position: sticky; top: 7rem; }
.booking-copy h2,
.status-copy h2 { max-width: 10ch; font-size: clamp(3rem, 6vw, 5.5rem); }
.booking-copy > p:not(.content-kicker),
.status-copy > p:not(.content-kicker) { max-width: 37rem; margin: 1.2rem 0 0; color: var(--ink-soft); }

.booking-note {
  margin-top: 2rem !important;
  padding: 1.25rem 1.4rem;
  border-left: 3px solid var(--brand);
  background: #e7f0fb;
}
.booking-note strong { display: block; color: var(--ink); }

.booking-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.4rem;
  padding: clamp(1.5rem, 4vw, 3rem);
  border: 1px solid #d6dde6;
  border-radius: 1rem;
  background: #fff;
}

.booking-field { display: grid; align-content: start; gap: .45rem; }
.booking-field--wide { grid-column: 1 / -1; }
.booking-field label { color: var(--ink); font-size: .8rem; font-weight: 700; }
.booking-field small { color: var(--ink-soft); font-size: .7rem; line-height: 1.45; }
.booking-field input,
.booking-field select,
.booking-field textarea {
  width: 100%;
  min-height: 3.15rem;
  padding: .75rem .9rem;
  border: 1px solid #b9c1cc;
  border-radius: .7rem;
  background: #fff;
  color: var(--ink);
  font: inherit;
}
.booking-field textarea { min-height: 8.5rem; resize: vertical; }
.booking-field input::placeholder,
.booking-field textarea::placeholder { color: #6a7078; opacity: 1; }
.booking-field input:focus,
.booking-field select:focus,
.booking-field textarea:focus { border-color: var(--brand); outline: 2px solid rgb(31 95 191 / .2); outline-offset: 1px; }
.booking-field input[type="file"] { padding: .62rem; }

.booking-form__error {
  grid-column: 1 / -1;
  margin: 0;
  padding: .8rem 1rem;
  border-left: 3px solid #9d2929;
  background: #fff0f0;
  color: #7b1f1f;
  font-size: .8rem;
}
.booking-form__action { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.booking-form__action span { color: var(--ink-soft); font-size: .72rem; }

.status-section { background: #e8eef6; }
.status-console {
  padding: clamp(1.5rem, 4vw, 3rem);
  border: 1px solid #c9d3df;
  border-radius: 1rem;
  background: #f9fbfd;
}
.status-form {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(10rem, .8fr) auto;
  gap: 1rem;
  align-items: end;
}
.status-form .pill { min-height: 3.15rem; }
.status-result { margin-top: 2rem; }
.status-result__intro,
.status-result p { margin: 0; color: var(--ink-soft); }
.status-result h3 { margin: 0 0 .45rem; font: 400 clamp(2rem, 4vw, 3rem)/1 var(--serif); }
.status-result.is-error {
  padding: 1rem 1.1rem;
  border-left: 3px solid #9d2929;
  background: #fff0f0;
}
.status-meta { display: flex; gap: .75rem 1.5rem; flex-wrap: wrap; margin-top: .8rem; color: var(--ink-soft); font-size: .74rem; }

.repair-stages {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 2.2rem 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid #c9d3df;
}
.repair-stages li { min-height: 8rem; padding: 1.2rem 1rem 1.2rem 0; opacity: .42; }
.repair-stages li:nth-child(3n+2),
.repair-stages li:nth-child(3n+3) { padding-left: 1rem; border-left: 1px solid #c9d3df; }
.repair-stages li:nth-child(n+4) { border-top: 1px solid #c9d3df; }
.repair-stages strong,
.repair-stages span { display: block; }
.repair-stages strong { font: 400 1.45rem/1.1 var(--serif); }
.repair-stages span { margin-top: .45rem; color: var(--ink-soft); font-size: .7rem; }
.repair-stages li.is-complete,
.repair-stages li.is-current { opacity: 1; }
.repair-stages li.is-current { color: var(--brand); }
.repair-stages li.is-current strong::after { content: "Current"; display: block; width: fit-content; margin-top: .5rem; color: var(--brand); font: 700 .58rem/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; }
.status-help { margin-top: 1.5rem; }

@media (max-width: 900px) {
  .booking-layout,
  .status-layout { grid-template-columns: 1fr; }
  .booking-copy,
  .status-copy { position: static; }
}

@media (max-width: 700px) {
  .booking-form,
  .status-form { grid-template-columns: 1fr; }
  .booking-field--wide { grid-column: auto; }
  .status-form .pill { width: 100%; }
  .repair-stages { grid-template-columns: 1fr; }
  .repair-stages li,
  .repair-stages li:nth-child(3n+2),
  .repair-stages li:nth-child(3n+3) { min-height: 0; padding: 1rem 0; border-left: 0; border-top: 1px solid #c9d3df; }
  .repair-stages li:first-child { border-top: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .booking-page * { scroll-behavior: auto; }
}
