.auto-quote {
  background: #edf7fd;
  padding: 80px 0;
  scroll-margin-top: 110px;
}
.auto-layout {
  display: grid;
  grid-template-columns: minmax(240px, 0.85fr) minmax(0, 1.3fr);
  gap: 64px;
  align-items: start;
}
.auto-intro {
  padding-top: 24px;
}
.auto-intro h2 {
  font-size: 2.65rem;
  line-height: 1.17;
  margin: 18px 0 24px;
}
.auto-intro p {
  max-width: 390px;
}
.auto-intro ul {
  padding-left: 20px;
  line-height: 2;
  color: var(--muted);
}
.auto-help {
  margin-top: 40px;
  font-size: 1rem;
}
.auto-help a {
  font-weight: 650;
  color: var(--blue);
}
.auto-card {
  min-width: 0;
  background: white;
  border: 1px solid #d8e8f2;
  border-radius: 20px;
  padding: 36px;
  box-shadow: 0 16px 45px #10384d09;
}
.auto-card h3 {
  font-size: 1.45rem;
  line-height: 1.35;
  letter-spacing: -0.025em;
  margin-bottom: 24px;
}
.auto-progress {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  gap: 14px;
}
.auto-progress li {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--muted);
  padding-bottom: 16px;
  border-bottom: 3px solid #e8eef2;
}
.auto-progress .auto-step-number {
  display: grid;
  place-items: center;
  min-width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #eef3f7;
  font-weight: 700;
}
.auto-progress [aria-current] {
  color: var(--blue);
  border-color: var(--blue);
  font-weight: 700;
}
.auto-progress [aria-current] .auto-step-number {
  color: white;
  background: var(--blue);
}
.auto-progress .complete {
  border-color: #92bad8;
}
.auto-step-label {
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 6px;
}
.auto-required {
  font-size: 0.875rem;
  color: var(--muted);
  margin-bottom: 24px;
}
.auto-card fieldset {
  border: 0;
  padding: 0;
  margin: 0;
  min-width: 0;
}
.auto-card legend {
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 10px;
}
.auto-options {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
}
.auto-options label {
  display: flex;
  align-items: center;
  gap: 9px;
  flex: 1;
  padding: 13px 14px;
  border: 1px solid #cbd9e3;
  border-radius: 9px;
  cursor: pointer;
  font-size: 1rem;
}
.auto-options label:has(input:checked) {
  border-color: var(--blue);
  background: #eff7ff;
  color: var(--blue);
}
.auto-options input {
  width: 18px;
  height: 18px;
  accent-color: var(--blue);
  margin: 0;
}
.auto-card .form-grid {
  gap: 20px 16px;
}
.auto-card .field {
  min-width: 0;
}
.auto-card .field label {
  font-size: 0.9375rem;
  display: block;
  margin-bottom: 7px;
}
.auto-card .field input,
.auto-card .field select,
.auto-card .field textarea {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  font-size: 1rem;
  min-height: 50px;
  border: 1px solid #b9cbd8;
  border-radius: 8px;
  background: #fff;
  padding: 12px;
  color: var(--ink);
}
.auto-card .field input[aria-invalid="true"],
.auto-card .field select[aria-invalid="true"] {
  border-color: #ae3434;
}
.auto-card .error {
  display: block;
  color: #a12626;
  font-size: 0.875rem;
  margin-top: 6px;
}
.auto-card [hidden],
.auto-card .error[hidden] {
  display: none !important;
}
.auto-card .full {
  grid-column: 1/-1;
}
.auto-postal-hint {
  font-size: 0.875rem;
  color: var(--muted);
  align-self: center;
  margin: 0;
}
.auto-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 28px;
}
.auto-next {
  margin-left: auto;
  min-height: 50px;
  cursor: pointer;
}
.auto-back {
  background: none;
  border: 0;
  cursor: pointer;
  padding: 12px 0;
  color: var(--ink);
  font-weight: 600;
}
.auto-card .privacy-note,
.auto-delivery {
  font-size: 0.875rem;
  line-height: 1.6;
  margin-top: 22px;
}
.auto-delivery {
  padding: 14px;
  background: #f1f6f9;
  border-radius: 8px;
}
.auto-card a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.auto-card .button {
  text-decoration: none;
}
.auto-card #auto-result {
  margin-top: 24px;
  padding: 22px;
  border: 1px solid #aacbe2;
  background: #f1f8ff;
  border-radius: 12px;
  overflow-wrap: anywhere;
}
.auto-card #auto-result p {
  font-size: 1rem;
}
.auto-trap,
.auto-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
#auto-plate {
  text-transform: uppercase;
}
#auto-form button:disabled {
  opacity: 0.6;
  cursor: wait;
}
@media (max-width: 900px) {
  .auto-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .auto-intro {
    padding: 0;
  }
  .auto-intro h2 {
    font-size: 2.15rem;
  }
  .auto-intro h2 br {
    display: none;
  }
  .auto-intro ul,
  .auto-help {
    display: none;
  }
  .auto-intro p {
    max-width: 600px;
    margin-bottom: 0;
  }
  .auto-quote {
    padding: 50px 0;
  }
  .auto-card {
    padding: 28px;
  }
}
@media (max-width: 600px) {
  .auto-card {
    padding: 22px 18px;
    border-radius: 14px;
  }
  .auto-card .form-grid {
    grid-template-columns: 1fr;
  }
  .auto-card h3 {
    font-size: 1.3rem;
  }
  .auto-intro h2 {
    font-size: 1.9rem;
  }
  .auto-progress {
    gap: 9px;
  }
  .auto-progress li {
    flex-direction: column;
    align-items: flex-start;
    font-size: 0.875rem;
    gap: 8px;
  }
  .auto-options {
    gap: 8px;
  }
  .auto-options label {
    padding: 12px 9px;
    font-size: 0.9375rem;
  }
  .auto-actions {
    flex-wrap: wrap;
  }
  .auto-next {
    flex: 1;
    justify-content: center;
  }
  .auto-card #auto-result .button {
    width: 100%;
    justify-content: center;
  }
  .auto-quote {
    scroll-margin-top: 90px;
  }
  .auto-postal-hint {
    margin-top: -12px;
  }
}

/* Validated stages retain their completion marker during review. */
.auto-progress .auto-step-name {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
  flex-wrap: wrap;
}
.auto-step-check {
  width: 20px;
  height: 20px;
  flex: none;
}
.auto-progress .complete {
  border-bottom-color: #97e354;
}
.auto-progress .auto-step-name {
  flex-wrap: nowrap;
}
@media (max-width: 600px) {
  .auto-progress .auto-step-name {
    gap: 3px;
  }
  .auto-step-check {
    width: 16px;
    height: 16px;
  }
}
/* Decorative car contour stays below the content and never captures interaction. */
.auto-quote {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.auto-quote::before {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
  left: max(-110px, calc((100% - 1240px) / 2 - 170px));
  top: 390px;
  width: min(720px, 57vw);
  height: 510px;
  background: url("/assets/auto-contour-fine.png") center/contain no-repeat;
  opacity: 0.2;
  transform: rotate(-7deg);
}
.auto-layout {
  position: relative;
  z-index: 1;
}
@media (max-width: 900px) {
  .auto-quote::before {
    top: 0;
    left: -90px;
    width: 590px;
    max-width: 100vw;
    height: 330px;
    opacity: 0.08;
    transform: rotate(-7deg);
  }
}
@media (prefers-reduced-transparency: reduce) {
  .auto-quote::before {
    opacity: 0.08;
  }
}

.auto-quote::before {
  mix-blend-mode: multiply;
}
