/* ================================================
   ROOFING QUOTE WIZARD — namespaced with "rq-"
   so these rules never collide with site styles.
   ================================================ */

.rq-wizard-wrap {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(1.75rem, 4vw, 2.5rem);
  max-width: 580px;
}

/* Progress dots */
.rq-progress {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 2rem;
}
.rq-progress-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
  transition: background 0.2s;
}
.rq-progress-dot.rq-active { background: var(--orange); }

/* Step show/hide */
.rq-step { display: none; }
.rq-step.rq-step-active { display: block; }

/* Step heading */
.rq-step-label {
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin: 0 0 0.35rem;
}
.rq-step h2 {
  margin: 0 0 1.5rem;
  font-size: clamp(1.2rem, 3vw, 1.5rem);
  color: var(--dark);
}

/* Option buttons */
.rq-options {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}
.rq-option {
  padding: 1rem 1.25rem;
  background: var(--light);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 0.97rem;
  font-family: var(--font-body);
  text-align: left;
  width: 100%;
  color: var(--dark);
  transition: border-color 0.15s, background 0.15s;
  line-height: 1.4;
}
.rq-option:hover { border-color: var(--orange); background: var(--white); }
.rq-option.rq-selected {
  border-color: var(--orange);
  background: rgba(241, 90, 34, 0.06);
  font-weight: 600;
}
.rq-option-hint {
  display: block;
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--text-muted);
  margin-top: 0.2rem;
}

/* Square footage input */
.rq-input-wrap { margin-bottom: 1.5rem; }
.rq-input-wrap label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--dark-2);
  margin-bottom: 0.4rem;
  font-family: var(--font-head);
}
.rq-input {
  width: 100%;
  padding: 0.75em 0.9em;
  font-size: 1.1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  color: var(--dark);
  background: var(--white);
  box-sizing: border-box;
  transition: border-color 0.15s;
  min-height: 44px;
}
.rq-input:focus { outline: none; border-color: var(--orange); }
.rq-input-hint {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 0.3rem;
  display: block;
}

/* Next / CTA buttons */
.rq-next-btn {
  width: 100%;
  padding: 0.9rem 1rem;
  background: var(--orange);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 1rem;
  font-weight: 700;
  font-family: var(--font-head);
  transition: opacity 0.15s;
}
.rq-next-btn:hover { opacity: 0.88; }

/* Back link */
.rq-back-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 0.88rem;
  font-family: var(--font-body);
  padding: 0.5rem 0 0;
  display: block;
  margin-top: 0.6rem;
}
.rq-back-btn:hover { color: var(--orange); }

/* Result step */
.rq-estimate-value {
  font-size: clamp(2rem, 6vw, 2.8rem);
  font-weight: 800;
  font-family: var(--font-head);
  color: var(--orange);
  margin: 0.75rem 0 0.4rem;
  line-height: 1.15;
}
.rq-estimate-detail {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}
.rq-cta-btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  background: var(--near-black);
  color: #fff;
  text-decoration: none;
  border-radius: var(--radius);
  font-weight: 700;
  font-family: var(--font-head);
  font-size: 0.97rem;
  transition: opacity 0.15s;
  margin-right: 0.75rem;
  margin-bottom: 0.75rem;
}
.rq-cta-btn:hover { opacity: 0.85; }
.rq-restart-btn {
  background: none;
  border: 1.5px solid var(--border);
  color: var(--dark);
  border-radius: var(--radius);
  padding: 0.8rem 1.5rem;
  font-size: 0.9rem;
  font-family: var(--font-body);
  cursor: pointer;
  transition: border-color 0.15s;
}
.rq-restart-btn:hover { border-color: var(--orange); color: var(--orange); }
.rq-disclaimer {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 1.25rem;
  line-height: 1.6;
  border-top: 1px solid var(--border);
  padding-top: 1rem;
}
