.appointment-hero {
  position: relative;
  min-height: 26rem;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 85% 50%, rgb(219 156 84 / 0.065), transparent 21rem),
    var(--black-850);
}

.appointment-hero__inner {
  position: relative;
  z-index: 3;
  display: flex;
  min-height: 26rem;
  flex-direction: column;
  justify-content: center;
  padding-top: 6.5rem;
  padding-bottom: 2.5rem;
}

.appointment-hero h1 {
  max-width: 13ch;
  margin-top: 1rem;
  font-size: clamp(3rem, 6.5vw, 5.4rem);
  line-height: 1;
}

.appointment-hero p:not(.micro-label) {
  max-width: 38rem;
  margin-top: 1.1rem;
  color: var(--metal-body);
  font-size: clamp(1rem, 1.7vw, 1.12rem);
}

.appointment-hero__line {
  width: min(38rem, 62%);
  margin-top: 1.75rem;
}

.kinetic-field--header {
  position: absolute;
  z-index: 2;
  top: -4rem;
  right: -5rem;
  width: min(38rem, 48vw);
  height: calc(100% + 8rem);
  aspect-ratio: auto;
  opacity: 0.74;
}

.booking-section {
  padding-block: clamp(2.5rem, 4vw, 3.5rem);
  background:
    linear-gradient(90deg, transparent, rgb(255 255 255 / 0.01) 52%, transparent),
    var(--black-900);
}

.booking-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 23rem);
  gap: clamp(2rem, 3.5vw, 3.5rem);
  align-items: start;
}

.appointment-form {
  min-width: 0;
}

.form-error-summary {
  margin-bottom: 1rem;
  padding: 0.8rem 1rem;
  border: 1px solid rgb(223 142 130 / 0.44);
  border-radius: var(--radius-small);
  background: rgb(223 142 130 / 0.07);
  color: #f1b4aa;
}

.form-step {
  min-width: 0;
  margin: 0;
  padding: 0 0 clamp(1.5rem, 2vw, 2rem);
  border: 0;
}

.form-step + .form-step {
  padding-top: clamp(1.5rem, 2vw, 2rem);
  border-top: 1px solid var(--line-strong);
}

.form-step legend {
  display: block;
  width: 100%;
  margin: 0 0 1.25rem;
  padding: 0;
}

.form-step__title {
  display: block;
  margin-top: 0.35rem;
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.choice-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.6rem;
}

.choice {
  position: relative;
  display: block;
  cursor: pointer;
}

.choice input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.choice__surface {
  display: flex;
  min-height: 4rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 1rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--black-875);
  color: var(--metal-body);
  transition: border-color 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.choice__surface::after {
  width: 0.8rem;
  height: 0.8rem;
  flex: 0 0 auto;
  border: 1px solid var(--metal-muted);
  border-radius: 50%;
  content: "";
}

.choice:hover .choice__surface {
  border-color: var(--copper-line);
}

.choice input:focus-visible + .choice__surface {
  outline: 2px solid var(--champagne);
  outline-offset: 3px;
}

.choice input:checked + .choice__surface {
  border-color: var(--copper);
  background: rgb(219 156 84 / 0.07);
  color: var(--metal-light);
  box-shadow: 0 0 1.2rem rgb(219 156 84 / 0.08);
}

.choice input:checked + .choice__surface::after {
  border: 3px solid var(--black-875);
  background: var(--champagne);
  box-shadow: 0 0 0 1px var(--copper);
}

.field-grid {
  display: grid;
  gap: 0.85rem 1rem;
}

.field-grid--vehicle,
.field-grid--contact {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.field-grid--date {
  grid-template-columns: minmax(13rem, 0.52fr) minmax(19rem, 1fr);
  align-items: start;
}

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

.field {
  display: grid;
  gap: 0.35rem;
  min-width: 0;
  color: var(--metal-body);
  font-size: 0.88rem;
  font-weight: 600;
}

.field small {
  color: var(--metal-muted);
  font-size: 0.72rem;
  font-weight: 400;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  min-height: 3rem;
  padding: 0.65rem 0.8rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-small);
  background: #151515;
  color: var(--metal-light);
  font-weight: 400;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.field textarea {
  min-height: 4.75rem;
  resize: vertical;
}

.field input:hover,
.field textarea:hover,
.field select:hover {
  border-color: rgb(232 229 224 / 0.3);
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--copper);
  outline: 0;
  box-shadow: 0 0 0 3px rgb(219 156 84 / 0.11);
}

.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
  border-color: var(--error);
}

.field input::placeholder,
.field textarea::placeholder {
  color: #77736e;
}

.field-error {
  min-height: 0;
  margin: 0;
  color: #f1b4aa;
  font-size: 0.78rem;
  font-weight: 500;
}

.field-error:not(:empty) {
  margin-top: 0.25rem;
}

.availability-note {
  max-width: 43rem;
  margin: -0.1rem 0 1rem;
  padding: 0.65rem 0.8rem;
  border-left: 2px solid var(--copper);
  background: rgb(219 156 84 / 0.05);
  color: var(--metal-muted);
  font-size: 0.84rem;
}

.time-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.time-option {
  position: relative;
  cursor: pointer;
}

.time-option input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.time-option span {
  display: grid;
  min-width: 4.2rem;
  min-height: 3rem;
  place-items: center;
  padding: 0.55rem 0.75rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: #151515;
  color: var(--metal-body);
  font-size: 0.84rem;
  font-weight: 600;
  transition: border-color 180ms ease, background-color 180ms ease, color 180ms ease;
}

.time-option:hover span {
  border-color: var(--copper-line);
}

.time-option input:focus-visible + span {
  outline: 2px solid var(--champagne);
  outline-offset: 3px;
}

.time-option input:checked + span {
  border-color: var(--copper);
  background: rgb(219 156 84 / 0.12);
  color: var(--champagne);
}

.time-option input:disabled + span {
  cursor: not-allowed;
  opacity: 0.38;
  text-decoration: line-through;
}

.consent {
  display: grid;
  max-width: 43rem;
  grid-template-columns: 1.4rem 1fr;
  gap: 0.6rem;
  align-items: start;
  margin-top: 1rem;
  color: var(--metal-body);
  cursor: pointer;
  font-size: 0.86rem;
}

.consent input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.consent > span[aria-hidden="true"] {
  display: grid;
  width: 1.4rem;
  height: 1.4rem;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 0.35rem;
  background: #151515;
}

.consent input:focus-visible + span {
  outline: 2px solid var(--champagne);
  outline-offset: 3px;
}

.consent input:checked + span {
  border-color: var(--copper);
  background: var(--copper-gradient);
}

.consent input:checked + span::after {
  width: 0.38rem;
  height: 0.68rem;
  border-right: 2px solid var(--black-950);
  border-bottom: 2px solid var(--black-950);
  content: "";
  rotate: 45deg;
  translate: 0 -0.08rem;
}

.booking-summary {
  position: sticky;
  top: 5.5rem;
  padding: 1.25rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-large);
  background:
    linear-gradient(145deg, rgb(255 255 255 / 0.025), transparent 48%),
    var(--black-850);
  box-shadow: 0 1.5rem 4rem rgb(0 0 0 / 0.2);
}

.booking-summary::before {
  display: block;
  width: 54%;
  height: 0.42rem;
  margin: -1.25rem 0 1.2rem;
  border-radius: 999px;
  background: var(--copper-gradient);
  content: "";
}

.booking-summary h2 {
  margin-top: 0.55rem;
  font-size: 1.5rem;
}

.booking-summary dl {
  display: grid;
  gap: 0;
  margin: 1rem 0;
}

.booking-summary dl > div {
  padding-block: 0.65rem;
  border-bottom: 1px solid var(--line);
}

.booking-summary dt {
  color: var(--metal-muted);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.booking-summary dd {
  margin: 0.22rem 0 0;
  color: var(--metal-light);
  font-size: 0.9rem;
  overflow-wrap: anywhere;
}

.booking-summary__submit {
  width: 100%;
}

.booking-summary__note,
.submission-status {
  margin-top: 0.75rem;
  color: var(--metal-muted);
  font-size: 0.75rem;
  line-height: 1.55;
}

.submission-status:not(:empty) {
  padding-top: 0.8rem;
  border-top: 1px solid var(--line);
  color: var(--champagne);
}

.handoff {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--copper-line);
  background: var(--black-850);
}

.slide-ribbons--handoff {
  opacity: 0.72;
}

.handoff__inner {
  position: relative;
  z-index: 2;
  padding-block: var(--section-y);
}

.handoff__mark {
  display: grid;
  width: 2.75rem;
  height: 2.75rem;
  place-items: center;
  margin-bottom: 1.25rem;
  border: 1px solid var(--copper);
  border-radius: 50%;
  color: var(--champagne);
}

.handoff h2 {
  margin-top: 0.8rem;
}

.handoff p:not(.micro-label) {
  max-width: 37rem;
  margin-top: 1.25rem;
  color: var(--metal-body);
}

.handoff .button {
  margin-top: 2rem;
}

@media (max-width: 62rem) {
  .booking-layout {
    grid-template-columns: minmax(0, 1fr) minmax(17rem, 20rem);
    gap: 2.5rem;
  }

  .field-grid--date {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 48rem) {
  .kinetic-field--header {
    right: -12rem;
    width: 34rem;
    opacity: 0.42;
  }

  .appointment-hero__line {
    width: 62%;
  }

  .booking-layout {
    grid-template-columns: 1fr;
  }

  .field-grid--vehicle,
  .field-grid--contact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .booking-summary {
    position: static;
  }
}

@media (max-width: 34rem) {
  .appointment-hero,
  .appointment-hero__inner {
    min-height: 24.5rem;
  }

  .appointment-hero__inner {
    padding-top: 5.75rem;
    padding-bottom: 2rem;
  }

  .time-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  .time-option span {
    width: 100%;
  }
}
