/* Valuation wizard styles */
.val-page { padding: 64px 0 110px; }
.val-wrap { max-width: 820px; }

.val-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  letter-spacing: -0.01em;
  margin-bottom: 14px;
}
.val-lead {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 56ch;
  margin-bottom: 40px;
}
.val-intro.compact .val-lead { display: none; }
.val-intro.compact .val-title { font-size: clamp(1.6rem, 3vw, 2.1rem); margin-bottom: 6px; }
.val-intro.compact { margin-bottom: 8px; }

/* progress */
.val-progress { margin-bottom: 36px; }
.val-progress-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--moss);
  margin-bottom: 8px;
}
.val-progress-track {
  height: 4px;
  border-radius: 999px;
  background: var(--line-soft);
  overflow: hidden;
}
.val-progress-bar {
  height: 100%;
  width: 10%;
  border-radius: 999px;
  background: var(--gold);
  transition: width 0.5s var(--ease);
}

.val-step-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.7rem;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.val-step-hint {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 20px;
  max-width: 52ch;
}

/* step 1: class cards */
.class-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 14px;
  margin-top: 18px;
}
.class-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: flex-start;
  text-align: left;
  padding: 20px 18px;
  border: 1.5px solid var(--line-soft);
  border-radius: var(--radius-md);
  background: var(--paper-2);
  transition: border-color 0.2s ease, transform 0.25s var(--ease);
}
.class-card:hover { border-color: var(--gold-deep); transform: translateY(-2px); }
.class-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--ink);
  color: var(--gold);
  font-size: 1.05rem;
  margin-bottom: 8px;
}
.class-card strong { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; }
.class-card small { color: var(--text-muted); font-size: 0.85rem; }

/* step 2: year chips */
.year-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(88px, 1fr));
  gap: 10px;
  margin-top: 18px;
}
.year-chip {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 13px 0;
  border: 1.5px solid var(--line-soft);
  border-radius: var(--radius-sm);
  background: var(--paper);
  transition: border-color 0.15s ease, background 0.15s ease;
}
.year-chip:hover { border-color: var(--ink); background: var(--paper-2); }

/* step 3: model list */
.model-search {
  width: 100%;
  font: inherit;
  font-size: 0.95rem;
  padding: 13px 18px;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  color: var(--text);
  margin-bottom: 16px;
}
.model-search:focus { outline: 2.5px solid var(--gold-deep); outline-offset: 1px; border-color: transparent; }
.model-list { display: flex; flex-direction: column; gap: 8px; margin-bottom: 8px; max-height: 430px; overflow-y: auto; }
.model-row {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  text-align: left;
  padding: 13px 16px;
  border: 1.5px solid var(--line-soft);
  border-radius: var(--radius-sm);
  background: var(--paper);
  transition: border-color 0.15s ease;
}
.model-row:hover { border-color: var(--gold-deep); }
.model-row-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px; height: 32px;
  flex-shrink: 0;
  border-radius: 9px;
  background: var(--ink);
  color: var(--gold);
  font-size: 0.95rem;
}
.model-row-text { display: flex; flex-direction: column; gap: 1px; }
.model-row-text strong { font-size: 0.95rem; font-weight: 600; }
.model-row-text small { color: var(--text-muted); font-size: 0.8rem; }
.model-row-other { border-style: dashed; margin-top: 6px; }

.msrp-entry { margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--line-soft); }
.msrp-entry label { display: block; font-weight: 600; font-size: 0.95rem; margin-bottom: 10px; }
.msrp-input-row {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 300px;
  margin-bottom: 12px;
}
.msrp-prefix, .msrp-suffix { font-family: var(--font-mono); font-weight: 700; color: var(--text-muted); }
.msrp-input-row input {
  width: 100%;
  font-family: var(--font-mono);
  font-size: 1.05rem;
  padding: 12px 16px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--paper);
  color: var(--text);
}
.msrp-input-row input:focus { outline: 2.5px solid var(--gold-deep); outline-offset: 1px; border-color: transparent; }

/* step 4: condition */
.cond-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
  margin: 18px 0 30px;
}
.cond-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: left;
  padding: 16px;
  border: 1.5px solid var(--line-soft);
  border-radius: var(--radius-md);
  background: var(--paper);
  transition: border-color 0.15s ease, background 0.15s ease;
}
.cond-card:hover { border-color: var(--gold-deep); }
.cond-card.active { border-color: var(--ink); background: var(--paper-2); box-shadow: inset 0 0 0 1px var(--ink); }
.cond-card strong { font-size: 0.98rem; }
.cond-card small { color: var(--text-muted); font-size: 0.82rem; }
.mileage-block { margin-bottom: 30px; }

/* result */
.val-result-card { max-width: 520px; margin-bottom: 22px; }
.val-disclaimer {
  color: var(--text-muted);
  font-size: 0.88rem;
  max-width: 60ch;
  margin-bottom: 26px;
}
.val-result-actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }

.val-back {
  margin-top: 34px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-muted);
  padding: 8px 0;
}
.val-back:hover { color: var(--text); }

@media (max-width: 640px) {
  .val-page { padding: 40px 0 80px; }
  .year-grid { grid-template-columns: repeat(4, 1fr); }
  .val-result-actions .btn { width: 100%; justify-content: center; }
}
