/* Quote-request wizard (quote-request.php) — public, unauthenticated. */

/* Reuses the standard dark .site-header look (not overridden) so the
   .lang-toggle component — styled for a dark bar — stays legible, and the
   page still reads as part of the same site. */
.qr-topbar .container {
  padding-top: var(--space-4);
  padding-bottom: var(--space-4);
}
.qr-topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.qr-main {
  max-width: 640px;
  margin: 0 auto;
  padding: var(--space-12) var(--space-4) var(--space-24);
}

.qr-intro { text-align: center; margin-bottom: var(--space-8); }

.qr-progress {
  display: flex;
  justify-content: center;
  gap: var(--space-2);
  margin-bottom: var(--space-8);
}
.qr-progress__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border-default);
}
.qr-progress__dot.is-active { background: var(--aaa-red); }
.qr-progress__dot.is-done { background: var(--steel-600); }

.qr-step { display: none; }
.qr-step.is-active { display: block; }

/* .btn/.qr-options set their own `display`, which otherwise beats the
   browser's default [hidden]{display:none} at equal specificity — same
   pattern that bit the gallery lightbox (see project notes). */
.qr-nav [hidden],
.qr-options[hidden],
.qr-step [hidden] {
  display: none;
}

.qr-step h2 {
  font-size: 1.3rem;
  margin-bottom: var(--space-2);
}
.qr-step-hint {
  color: var(--text-muted);
  margin-bottom: var(--space-6);
}

.qr-options {
  display: grid;
  gap: var(--space-3);
}
@media (min-width: 560px) {
  .qr-options--cols { grid-template-columns: 1fr 1fr; }
  .qr-options--cols3 { grid-template-columns: 1fr 1fr 1fr; }
}

.qr-option {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-4);
  border: 2px solid var(--border-subtle);
  border-radius: 8px;
  cursor: pointer;
  background: var(--bg-surface);
  transition: border-color .15s ease, background .15s ease;
}
.qr-option:hover { border-color: var(--aaa-red); }
.qr-option input { width: 18px; height: 18px; flex-shrink: 0; accent-color: var(--aaa-red); }
.qr-option:has(input:checked) {
  border-color: var(--aaa-red);
  background: var(--aaa-red);
  color: #fff;
}

.qr-photo-hint { font-size: .85rem; color: var(--text-muted); margin-top: var(--space-2); }

.qr-nav {
  display: flex;
  justify-content: space-between;
  gap: var(--space-3);
  margin-top: var(--space-8);
}
.qr-nav__spacer { flex: 1; }

.qr-status-track {
  display: flex;
  justify-content: space-between;
  margin: var(--space-8) 0;
  position: relative;
}
.qr-status-track::before {
  content: '';
  position: absolute;
  top: 11px;
  left: 5%;
  right: 5%;
  height: 2px;
  background: var(--border-subtle);
  z-index: 0;
}
.qr-status-step {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  flex: 1;
  text-align: center;
}
.qr-status-step__dot {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--bg-surface);
  border: 2px solid var(--border-default);
}
.qr-status-step.is-complete .qr-status-step__dot { background: var(--aaa-red); border-color: var(--aaa-red); }
.qr-status-step.is-current .qr-status-step__dot { border-color: var(--aaa-red); }
.qr-status-step__label { font-size: .85rem; color: var(--text-muted); }
.qr-status-step.is-complete .qr-status-step__label,
.qr-status-step.is-current .qr-status-step__label { color: var(--text-strong); font-weight: 600; }
