/* ============================================================
   QUOTE WIZARD STYLES
   ============================================================ */

.quote-page {
  padding: 140px 0 5rem;
  background: var(--off-white);
  min-height: 100vh;
}
.quote-wrap {
  max-width: 680px;
  margin: 0 auto;
  background: var(--white);
  padding: clamp(2rem, 5vw, 4rem);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.quote-head { text-align: center; margin-bottom: 2.5rem; }
.quote-head h1 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 0.5rem; }
.quote-head p { color: var(--muted); }

.quote-progress {
  height: 3px;
  background: var(--border);
  margin: 2rem 0 0.75rem;
  border-radius: 2px;
  overflow: hidden;
}
.quote-progress__fill {
  height: 100%;
  background: var(--gold);
  width: 20%;
  transition: width 0.4s ease;
}
.quote-step-num {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gold);
  text-align: center;
  display: block;
  margin-bottom: 2.5rem;
}

.quote-step { display: none; animation: fadeIn 0.4s ease; }
.quote-step.active { display: block; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.quote-step h2 { font-size: 1.75rem; margin-bottom: 0.5rem; }
.quote-step__intro { color: var(--muted); margin-bottom: 2rem; }

.quote-field { margin-bottom: 1.5rem; }
.quote-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 540px) { .quote-row { grid-template-columns: 1fr; } }

.radio-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
@media (max-width: 540px) { .radio-cards { grid-template-columns: 1fr; } }
.radio-card {
  border: 1px solid var(--border);
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
  background: var(--white);
  text-align: left;
  font-size: 0.95rem;
}
.radio-card:hover { border-color: var(--gold); }
.radio-card.selected {
  border-color: var(--gold);
  background: rgba(201,163,86,0.08);
  color: var(--charcoal);
}
.radio-card small { display: block; font-family: var(--font-mono); font-size: 0.7rem; color: var(--muted); margin-top: 0.3rem; text-transform: uppercase; letter-spacing: 0.1em; }

.quote-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.quote-chip {
  padding: 0.55rem 1.1rem;
  border: 1px solid var(--border);
  border-radius: 50px;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all var(--transition);
  background: var(--white);
  color: var(--charcoal);
}
.quote-chip:hover { border-color: var(--gold); }
.quote-chip.selected { background: var(--gold); color: var(--black); border-color: var(--gold); }

.quote-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}
.quote-nav .btn-ghost-dark {
  color: var(--muted);
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  padding: 0.85rem 0;
}
.quote-nav .btn-ghost-dark:hover { color: var(--charcoal); }
.quote-nav .btn-ghost-dark:disabled { opacity: 0.3; cursor: not-allowed; }

/* Review */
.quote-review__group {
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
}
.quote-review__group h4 { font-family: var(--font-mono); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--gold); margin-bottom: 0.6rem; font-weight: 400; }
.quote-review__items { color: var(--charcoal); font-size: 0.95rem; line-height: 1.7; }
.quote-review__edit { color: var(--gold); font-size: 0.85rem; cursor: pointer; background: none; border: none; }
.quote-review__edit:hover { text-decoration: underline; }

/* Success */
.quote-success { text-align: center; padding: 2rem 0; }
.checkmark {
  width: 90px; height: 90px; margin: 0 auto 2rem;
  border-radius: 50%;
  background: rgba(201,163,86,0.1);
  display: flex; align-items: center; justify-content: center;
}
.checkmark svg { width: 50px; height: 50px; }
.checkmark__circle {
  fill: none;
  stroke: var(--gold);
  stroke-width: 2;
  stroke-dasharray: 160;
  stroke-dashoffset: 160;
  animation: drawCircle 0.7s ease-out forwards;
}
.checkmark__check {
  fill: none;
  stroke: var(--gold);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 36;
  stroke-dashoffset: 36;
  animation: drawCheck 0.4s ease-out 0.6s forwards;
}
@keyframes drawCircle { to { stroke-dashoffset: 0; } }
@keyframes drawCheck { to { stroke-dashoffset: 0; } }

/* Spinner */
.spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(0,0,0,0.2);
  border-top-color: var(--black);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
