:root {
  --booking-ink: #171716;
  --booking-muted: #66625d;
  --booking-line: rgb(23 23 22 / 0.13);
  --booking-surface: #f7f6f3;
  --booking-panel: #eceae5;
  --booking-orange: #c6531b;
  --booking-orange-dark: #9e3e11;
}

.booking-body {
  background: #efede8;
}

.booking-custom.booking-page {
  min-height: 100dvh;
  padding: 7.5rem 0 0;
  overflow: clip;
  color: var(--booking-ink);
  background:
    radial-gradient(circle at 12% 12%, rgb(198 83 27 / 0.1), transparent 24rem),
    #efede8;
}

.booking-custom .booking-header {
  max-width: 78rem;
}

.booking-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(0, 1.02fr);
  width: min(78rem, calc(100% - 3rem));
  min-height: 39rem;
  margin: 0 auto 1.5rem;
  overflow: hidden;
  color: #fffaf7;
  background: var(--booking-ink);
  border-radius: 1.75rem;
  box-shadow: 0 1.5rem 5rem rgb(44 34 25 / 0.2);
}

.booking-hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(3rem, 6vw, 5.5rem);
}

.booking-label {
  margin: 0 0 1rem;
  color: #df7a43;
  font-family: var(--feature-font);
  font-size: 0.67rem;
  font-weight: 780;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.booking-hero h1 {
  max-width: 10ch;
  margin: 0;
  font-family: var(--display-font);
  font-size: clamp(3.7rem, 6vw, 6rem);
  font-weight: 660;
  letter-spacing: -0.06em;
  line-height: 0.91;
}

.booking-hero h1 em {
  display: inline-block;
  color: #e2753c;
  font-style: normal;
  font-weight: 430;
}

.booking-hero-copy > p:not(.booking-label) {
  max-width: 32rem;
  margin: 2rem 0 0;
  color: rgb(255 250 247 / 0.72);
  font-size: 1.02rem;
  line-height: 1.68;
}

.booking-promises {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 2.25rem;
}

.booking-promises span {
  min-height: 2.25rem;
  padding: 0.65rem 0.8rem;
  color: rgb(255 250 247 / 0.74);
  background: rgb(255 255 255 / 0.075);
  border: 1px solid rgb(255 255 255 / 0.11);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 650;
}

.booking-hero-media {
  min-width: 0;
  padding: 0.7rem;
}

.booking-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 1.3rem;
}

.booking-workspace {
  width: min(78rem, calc(100% - 3rem));
  margin: 0 auto 1.5rem;
}

.booking-flow {
  border: 1px solid var(--booking-line);
  border-radius: 1.6rem;
  box-shadow: 0 1.1rem 3.5rem rgb(44 34 25 / 0.09);
}

.booking-flow {
  overflow: hidden;
  background: var(--booking-surface);
}

.booking-progress {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0;
  padding: 1rem;
  background: #e7e4de;
  list-style: none;
}

.booking-progress li {
  display: flex;
  gap: 0.6rem;
  align-items: center;
  min-height: 2.7rem;
  padding: 0.45rem 0.75rem;
  color: #858078;
  border-radius: 999px;
  font-size: 0.73rem;
  font-weight: 720;
  transition: color 260ms ease, background-color 260ms ease, transform 260ms ease;
}

.booking-progress li span {
  display: grid;
  width: 1.55rem;
  height: 1.55rem;
  place-items: center;
  color: #716b63;
  background: rgb(255 255 255 / 0.65);
  border-radius: 50%;
  font-size: 0.65rem;
}

.booking-progress li.is-active {
  color: #fffaf7;
  background: var(--booking-ink);
}

.booking-progress li.is-active span,
.booking-progress li.is-complete span {
  color: var(--booking-ink);
  background: #dc6b33;
}

.booking-progress li.is-complete {
  color: #4e4a44;
}

.booking-form {
  min-height: 47rem;
}

.booking-step,
.booking-success {
  padding: clamp(2rem, 5vw, 4.25rem);
}

.booking-step.is-active {
  animation: booking-step-in 440ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.step-heading {
  max-width: 42rem;
  margin-bottom: 2.5rem;
}

.step-heading h2,
.booking-success h2 {
  margin: 0;
  font-family: var(--display-font);
  font-size: clamp(2.6rem, 4.7vw, 4.5rem);
  font-weight: 650;
  letter-spacing: -0.055em;
  line-height: 0.97;
}

.step-heading > p:last-child,
.booking-success > p:not(.booking-label) {
  max-width: 38rem;
  margin: 1.2rem 0 0;
  color: var(--booking-muted);
  line-height: 1.7;
}

.choice-fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.choice-fieldset + .choice-fieldset {
  margin-top: 2.3rem;
}

.choice-fieldset legend {
  margin-bottom: 0.85rem;
  color: #4f4b46;
  font-size: 0.79rem;
  font-weight: 740;
}

.service-choices,
.vehicle-choices {
  display: grid;
  gap: 0.7rem;
}

.service-choices {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.vehicle-choices {
  grid-template-columns: 1fr;
}

.service-choice,
.vehicle-choice {
  position: relative;
  min-width: 0;
  cursor: pointer;
}

.service-choice input,
.vehicle-choice input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.service-choice > span,
.vehicle-choice > span {
  display: flex;
  min-height: 10.5rem;
  padding: 1.25rem;
  flex-direction: column;
  border: 1px solid var(--booking-line);
  border-radius: 1.15rem;
  background: #fdfcf9;
  transition: border-color 220ms ease, box-shadow 280ms ease, transform 320ms cubic-bezier(0.16, 1, 0.3, 1), background-color 220ms ease;
}

.vehicle-choice > span {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto auto;
  gap: 0.25rem 1rem;
  align-items: center;
  min-height: 5.7rem;
}

.service-choice strong,
.vehicle-choice strong {
  font-family: var(--display-font);
  font-size: 1.1rem;
  font-weight: 680;
  letter-spacing: -0.025em;
}

.service-choice small,
.vehicle-choice small {
  color: #756f67;
  font-size: 0.75rem;
  line-height: 1.45;
}

.service-choice b,
.vehicle-choice b {
  margin-top: auto;
  color: var(--booking-orange-dark);
  font-size: 0.73rem;
}

.vehicle-choice b {
  grid-row: 1 / 3;
  grid-column: 2;
  margin: 0;
  white-space: nowrap;
}

.service-choice:hover > span,
.vehicle-choice:hover > span {
  border-color: rgb(23 23 22 / 0.3);
  transform: translateY(-0.16rem);
  box-shadow: 0 0.8rem 2rem rgb(44 34 25 / 0.08);
}

.service-choice input:focus-visible + span,
.vehicle-choice input:focus-visible + span {
  outline: 3px solid #d9642a;
  outline-offset: 3px;
}

.service-choice input:checked + span,
.vehicle-choice input:checked + span {
  color: #fffaf7;
  background: var(--booking-ink);
  border-color: var(--booking-ink);
  box-shadow: 0 1rem 2.8rem rgb(23 23 22 / 0.17);
}

.service-choice input:checked + span small,
.vehicle-choice input:checked + span small {
  color: rgb(255 250 247 / 0.6);
}

.service-choice input:checked + span b,
.vehicle-choice input:checked + span b {
  color: #e7834e;
}

.vehicle-fieldset:disabled {
  opacity: 0.48;
}

.step-actions {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--booking-line);
}

.step-actions-end {
  justify-content: flex-end;
}

.booking-button {
  display: inline-flex;
  min-height: 3.4rem;
  padding: 0.9rem 1.15rem;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--feature-font);
  font-size: 0.7rem;
  font-weight: 780;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 220ms ease, box-shadow 260ms ease, background-color 220ms ease;
}

.booking-button:hover {
  transform: translateY(-0.14rem);
}

.booking-button:active {
  transform: scale(0.98);
}

.booking-button:disabled {
  cursor: wait;
  opacity: 0.65;
}

.booking-button-primary {
  color: #fffaf7;
  background: var(--booking-ink);
  box-shadow: 0 0.7rem 1.8rem rgb(23 23 22 / 0.17);
}

.booking-button-primary span {
  color: #e1763d;
}

.booking-button-secondary {
  color: var(--booking-ink);
  background: transparent;
  border-color: rgb(23 23 22 / 0.23);
}

.calendar-shell {
  padding: 1.2rem;
  background: #fdfcf9;
  border: 1px solid var(--booking-line);
  border-radius: 1.25rem;
}

.calendar-toolbar {
  display: grid;
  grid-template-columns: 2.6rem 1fr 2.6rem;
  gap: 0.75rem;
  align-items: center;
  margin-bottom: 1rem;
}

.calendar-toolbar h3 {
  margin: 0;
  text-align: center;
  font-family: var(--display-font);
  font-size: 1.2rem;
  letter-spacing: -0.025em;
}

.calendar-nav {
  width: 2.6rem;
  height: 2.6rem;
  color: var(--booking-ink);
  background: #efede7;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  transition: transform 220ms ease, background-color 220ms ease;
}

.calendar-nav:hover {
  background: #e1ddd5;
  transform: scale(1.05);
}

.calendar-weekdays,
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.35rem;
}

.calendar-weekdays {
  margin-bottom: 0.45rem;
  color: #8a847b;
  font-size: 0.62rem;
  font-weight: 740;
  text-align: center;
  text-transform: uppercase;
}

.calendar-day,
.calendar-blank {
  aspect-ratio: 1;
}

.calendar-day {
  display: grid;
  min-width: 0;
  place-items: center;
  color: #3f3b37;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 0.8rem;
  font-size: 0.77rem;
  font-weight: 660;
  cursor: pointer;
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.calendar-day:not(:disabled):hover {
  background: #ebe7df;
  transform: scale(1.05);
}

.calendar-day.is-selected {
  color: #fffaf7;
  background: var(--booking-ink);
}

.calendar-day.is-today:not(.is-selected) {
  border-color: var(--booking-orange);
}

.calendar-day:disabled {
  color: #c2bdb5;
  cursor: not-allowed;
}

.time-picker {
  margin-top: 1rem;
  padding: 1.25rem;
  background: var(--booking-panel);
  border-radius: 1.25rem;
}

.time-picker-heading {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: baseline;
  margin-bottom: 1rem;
}

.time-picker-heading h3 {
  margin: 0;
  font-size: 0.93rem;
}

.time-picker-heading span {
  color: #777168;
  font-size: 0.68rem;
}

.time-slots {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.55rem;
}

.time-slot {
  min-height: 2.9rem;
  color: #383430;
  background: #fdfcf9;
  border: 1px solid rgb(23 23 22 / 0.13);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
  transition: color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.time-slot:hover,
.time-slot.is-selected {
  color: #fffaf7;
  background: var(--booking-ink);
  transform: translateY(-0.1rem);
}

.time-empty,
.time-loading {
  grid-column: 1 / -1;
  margin: 0;
  color: #777168;
  font-size: 0.8rem;
}

.time-loading {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.55rem;
}

.time-loading i {
  height: 2.9rem;
  border-radius: 999px;
  background: linear-gradient(90deg, #dedad2, #f4f1eb, #dedad2);
  background-size: 200% 100%;
  animation: booking-shimmer 1.1s linear infinite;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
}

.contact-wide {
  grid-column: 1 / -1;
}

.form-field {
  display: grid;
  gap: 0.5rem;
  color: #4e4943;
  font-size: 0.76rem;
  font-weight: 720;
}

.form-field input,
.form-field textarea {
  width: 100%;
  color: var(--booking-ink);
  background: #fdfcf9;
  border: 1px solid rgb(23 23 22 / 0.18);
  border-radius: 0.9rem;
  font: inherit;
  font-size: 0.94rem;
  font-weight: 520;
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.form-field input {
  min-height: 3.35rem;
  padding: 0 0.95rem;
}

.form-field textarea {
  min-height: 7.5rem;
  padding: 0.9rem 0.95rem;
  resize: vertical;
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--booking-orange-dark);
  box-shadow: 0 0 0 3px rgb(198 83 27 / 0.13);
}

.form-field input[aria-invalid="true"],
.form-field textarea[aria-invalid="true"] {
  border-color: #a8271c;
}

.form-field small {
  min-height: 1em;
  color: #756f67;
  font-size: 0.67rem;
  font-weight: 520;
  line-height: 1.45;
}

.form-field small:not(:empty)[data-error-for] {
  color: #a8271c;
}

.booking-consent {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  margin-top: 1.2rem;
  color: #5f5a53;
  font-size: 0.75rem;
  line-height: 1.5;
}

.booking-consent input {
  width: 1.1rem;
  height: 1.1rem;
  margin-top: 0.05rem;
  accent-color: var(--booking-orange-dark);
}

.booking-honeypot {
  position: absolute;
  left: -10000px;
}

.form-message {
  min-height: 1.2rem;
  margin: 1rem 0 0;
  color: #a8271c;
  font-size: 0.78rem;
  font-weight: 650;
}

.booking-success {
  min-height: 43rem;
  text-align: center;
}

.success-mark {
  display: grid;
  width: 4.2rem;
  height: 4.2rem;
  margin: 1.5rem auto 2rem;
  place-items: center;
  color: #fffaf7;
  background: var(--booking-orange-dark);
  border-radius: 50%;
  font-size: 1.5rem;
  box-shadow: 0 1rem 2.8rem rgb(158 62 17 / 0.23);
}

.booking-success .booking-label {
  text-align: center;
}

.booking-success h2 {
  max-width: 13ch;
  margin-inline: auto;
}

.booking-success > p:not(.booking-label) {
  margin-inline: auto;
}

.success-reference {
  display: flex;
  width: min(24rem, 100%);
  margin: 2rem auto 0;
  padding: 1rem 1.2rem;
  justify-content: space-between;
  gap: 1rem;
  color: #5c564f;
  background: #ebe7df;
  border-radius: 1rem;
  font-size: 0.78rem;
}

.success-reference strong {
  color: var(--booking-ink);
}

.success-actions {
  display: flex;
  justify-content: center;
  gap: 0.7rem;
  margin-top: 2rem;
}

.booking-custom .booking-help {
  width: min(78rem, calc(100% - 3rem));
}

.booking-custom .booking-site-footer {
  margin-inline: 0;
}

@keyframes booking-step-in {
  from { opacity: 0; transform: translateY(0.8rem); }
  to { opacity: 1; transform: none; }
}

@keyframes booking-shimmer {
  to { background-position: -200% 0; }
}

@media (max-width: 900px) {
  .booking-workspace { width: min(78rem, calc(100% - 2rem)); }
}

@media (max-width: 760px) {
  .booking-custom.booking-page {
    padding-top: 5.8rem;
  }

  .booking-hero {
    grid-template-columns: 1fr;
    width: calc(100% - 1rem);
    min-height: 0;
    border-radius: 1.25rem;
  }

  .booking-hero-copy {
    padding: 3.25rem 1.25rem 2.5rem;
  }

  .booking-hero h1 {
    max-width: 9ch;
    font-size: clamp(3.1rem, 14.5vw, 4.2rem);
    line-height: 0.94;
  }

  .booking-hero-copy > p:not(.booking-label) {
    margin-top: 1.5rem;
    font-size: 0.94rem;
  }

  .booking-promises {
    display: grid;
    grid-template-columns: 1fr;
    margin-top: 1.7rem;
  }

  .booking-promises span {
    display: flex;
    align-items: center;
  }

  .booking-hero-media {
    height: 19rem;
    padding: 0.45rem;
  }

  .booking-hero-media img {
    border-radius: 1rem;
  }

  .booking-workspace,
  .booking-custom .booking-help {
    width: calc(100% - 1rem);
  }

  .booking-flow {
    border-radius: 1.25rem;
  }

  .booking-progress {
    gap: 0.35rem;
    padding: 0.65rem;
  }

  .booking-progress li {
    justify-content: center;
    min-width: 0;
    padding: 0.4rem;
    font-size: 0.62rem;
  }

  .booking-progress li span {
    width: 1.35rem;
    height: 1.35rem;
  }

  .booking-form {
    min-height: 0;
  }

  .booking-step,
  .booking-success {
    padding: 2.35rem 1.15rem;
  }

  .step-heading {
    margin-bottom: 2rem;
  }

  .step-heading h2,
  .booking-success h2 {
    font-size: clamp(2.55rem, 12vw, 3.25rem);
  }

  .service-choices {
    grid-template-columns: 1fr;
  }

  .service-choice > span {
    min-height: 7rem;
  }

  .service-choice b {
    margin-top: 1rem;
  }

  .vehicle-choice > span {
    min-height: 5.5rem;
    padding: 1rem;
  }

  .calendar-shell,
  .time-picker {
    padding: 0.8rem;
  }

  .calendar-weekdays,
  .calendar-grid {
    gap: 0.2rem;
  }

  .calendar-day {
    border-radius: 0.6rem;
  }

  .time-slots,
  .time-loading {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-wide {
    grid-column: auto;
  }

  .step-actions {
    align-items: stretch;
  }

  .booking-button {
    min-width: 0;
    gap: 1.15rem;
  }

  .step-actions .booking-button-primary {
    flex: 1;
  }

  .success-actions {
    flex-direction: column;
  }

  .booking-custom .booking-site-footer {
    margin-inline: 0;
    padding-bottom: 3rem;
  }
}

@media (max-width: 380px) {
  .booking-progress li {
    gap: 0.25rem;
    font-size: 0;
  }

  .booking-progress li span {
    font-size: 0.62rem;
  }

  .step-actions {
    flex-direction: column-reverse;
  }

  .step-actions .booking-button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .booking-step.is-active,
  .time-loading i {
    animation: none;
  }

  .service-choice > span,
  .vehicle-choice > span,
  .booking-button,
  .calendar-day,
  .calendar-nav,
  .time-slot {
    transition: none;
  }
}
