/* ELUVO — AC instant quote wizard page styles.
   Reuses the site's real design tokens from styles.css (--navy, --blue,
   --green, --orange, --border, --radius, --shadow, .btn/.eyebrow/.container)
   rather than inventing a parallel palette. */

.ac-quote-main { background: var(--light); }

.ac-wizard-hero {
  padding: clamp(28px, 4vw, 44px) 0 0;
  text-align: center;
}
.ac-wizard-hero .container { max-width: 720px; }

.ac-wizard-shell { padding: clamp(20px, 3vw, 32px) 0 clamp(60px, 8vw, 96px); }
.ac-wizard-shell .container { max-width: 720px; }

.ac-wizard-progress {
  height: 6px;
  border-radius: 999px;
  background: var(--border);
  overflow: hidden;
  margin-bottom: 28px;
}
.ac-wizard-progress span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--blue), var(--green));
  transition: width 0.3s ease;
}
@media (prefers-reduced-motion: reduce) {
  .ac-wizard-progress span { transition: none; }
}

.ac-wizard-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(24px, 4vw, 40px);
}

.ac-wizard-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.ac-wizard-back {
  border: 0;
  background: transparent;
  color: var(--grey);
  font-weight: 800;
  padding: 6px 4px;
}
.ac-wizard-back:hover { color: var(--navy); }
.ac-wizard-back[hidden] { display: none; }
.ac-wizard-restart {
  border: 0;
  background: transparent;
  color: var(--grey);
  font-weight: 800;
  padding: 6px 4px;
  cursor: pointer;
}
.ac-wizard-restart:hover { color: var(--navy); }
.ac-wizard-restart:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.ac-wizard-restart[hidden] { display: none; }

.ac-live-region {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.ac-step { animation: none; }
@media (prefers-reduced-motion: no-preference) {
  .ac-step { animation: acStepIn 260ms ease; }
}
@keyframes acStepIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.ac-step h2 { margin-bottom: 18px; }
.ac-step-sub { margin: 10px 0 20px; max-width: 56ch; }
.ac-step-intro { text-align: center; }
.ac-step-intro h1 { margin: 10px 0 14px; color: var(--navy); }
.ac-step-intro .ac-step-sub { margin-inline: auto; }

.ac-trust-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 18px 0 26px;
}
.ac-trust-row span {
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--light);
  border: 1px solid var(--border);
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--navy);
}

.ac-option-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.ac-option {
  display: grid;
  gap: 4px;
  text-align: left;
  padding: 16px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  min-height: 56px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}
.ac-option:hover, .ac-option:focus-visible {
  border-color: var(--blue);
  box-shadow: 0 8px 20px -8px rgba(0, 119, 200, 0.35);
  transform: translateY(-1px);
}
.ac-option-label { font-weight: 850; color: var(--navy); }
.ac-option-helper { font-size: 0.8rem; color: var(--orange); font-weight: 800; }

.ac-room-cards { display: grid; gap: 10px; margin-bottom: 20px; }
.ac-room-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--light);
  font-weight: 800;
  color: var(--navy);
  animation: acStepIn 260ms ease;
}
@media (prefers-reduced-motion: reduce) { .ac-room-card { animation: none; } }
.ac-edit-room {
  border: 0;
  background: transparent;
  font-size: 1rem;
  color: var(--blue);
  padding: 4px 8px;
}

.ac-guide-price {
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--navy);
  margin: 12px 0 20px;
}

.ac-tier-grid {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 6px;
  margin: 0 -4px 22px;
}
.ac-tier-card {
  scroll-snap-align: start;
  flex: 0 0 min(280px, 84vw);
  display: grid;
  gap: 8px;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  position: relative;
}
.ac-tier-card-highlighted {
  border-color: var(--blue);
  box-shadow: 0 16px 32px -12px rgba(0, 119, 200, 0.35);
}
.ac-tier-badge {
  position: absolute;
  top: -10px;
  left: 18px;
  background: var(--green);
  color: var(--white);
  font-weight: 900;
}
.ac-tier-series { color: var(--grey); font-size: 0.86rem; margin-top: -4px; }
.ac-tier-price { font-size: 2rem; font-weight: 950; color: var(--blue); margin: 6px 0 0; }
.ac-tier-monthly { font-size: 0.82rem; color: var(--grey); }
.ac-finance-note { font-style: italic; }
.ac-tier-specs { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 4px; font-size: 0.84rem; color: var(--navy); }
.ac-tier-specs li::before { content: "✓ "; color: var(--green); font-weight: 900; }
.ac-price-lock { font-size: 0.76rem; color: var(--grey); line-height: 1.5; }

@media (min-width: 760px) {
  .ac-tier-grid { overflow: visible; scroll-snap-type: none; }
  .ac-tier-card { flex: 1 1 0; }
}

.ac-results-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.ac-compare-link {
  border: 0;
  background: transparent;
  color: var(--blue);
  font-weight: 850;
}
.ac-advisor-link { color: var(--grey); font-weight: 800; text-decoration: underline; }

.ac-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(10, 31, 51, 0.55);
  display: grid;
  place-items: center;
  padding: 20px;
}
.ac-modal-box {
  position: relative;
  width: min(560px, 100%);
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}
.ac-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: var(--light);
  font-size: 1.2rem;
}
.ac-restart-confirm-actions { display: flex; align-items: center; justify-content: flex-end; gap: 18px; margin-top: 20px; }
.ac-compare-table-wrap { overflow-x: auto; margin-top: 14px; }
.ac-compare-table { width: 100%; border-collapse: collapse; min-width: 480px; }
.ac-compare-table th, .ac-compare-table td { padding: 10px 12px; border-bottom: 1px solid var(--border); text-align: left; font-size: 0.86rem; }

.ac-summary-box {
  padding: 18px 20px;
  border-radius: var(--radius);
  background: var(--light);
  border: 1px solid var(--border);
  margin-bottom: 22px;
}
.ac-summary-price { font-size: 1.6rem; font-weight: 950; color: var(--blue); margin: 6px 0; }

.ac-configure-form { display: grid; gap: 16px; }
.ac-configure-form .form-group { display: grid; gap: 6px; }
.ac-configure-form label { font-weight: 800; color: var(--navy); font-size: 0.9rem; }
.ac-field-error { color: #b42318; font-size: 0.8rem; min-height: 1em; display: block; }
.ac-form-status { color: var(--grey); font-size: 0.86rem; min-height: 1.2em; }

.ac-step-confirm { text-align: center; }
.ac-reference { font-size: 1.1rem; font-weight: 900; color: var(--navy); margin: 8px 0 16px; }

@media (max-width: 640px) {
  .ac-option-grid { grid-template-columns: 1fr; }
}
