/* ================================================================
   ESTIMATOR PAGE STYLES
================================================================ */

.estimator-section { padding-top: 48px; }
.estimator-wrap { max-width: 720px; margin: 0 auto; }

/* ---- Progress track ---- */
.progress-track {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 28px;
}
.progress-step {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  color: var(--text-faint);
  padding: 6px 14px;
  border: 1px solid var(--border);
  border-radius: 100px;
}
.progress-step.active {
  color: var(--blue-light);
  border-color: var(--blue-light);
  background: rgba(36,54,232,0.08);
}

/* ---- Card shell ---- */
.estimator-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
}
.estimator-card h2 {
  font-size: 24px;
  margin-bottom: 8px;
  text-transform: none;
}
.step-sub {
  font-size: 14px;
  margin-bottom: 24px;
}

/* ---- Step 1: service picker ---- */
.service-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.service-opt {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 22px 12px;
  background: var(--bg-elevated-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.15s ease;
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: 13.5px;
  font-weight: 500;
}
.service-opt:hover { border-color: var(--blue-light); }
.service-opt.selected { border-color: var(--blue); background: rgba(36,54,232,0.14); }
.opt-icon { font-size: 24px; }

/* ---- Step 2: dynamic questions ---- */
.back-link {
  background: none;
  border: none;
  color: var(--text-faint);
  font-size: 13px;
  cursor: pointer;
  margin-bottom: 16px;
  padding: 0;
}
.back-link:hover { color: var(--text); }

.q-group { margin-bottom: 24px; }
.q-label {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 10px;
}
.choice-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.choice {
  padding: 10px 16px;
  background: var(--bg-elevated-2);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-muted);
  font-size: 13.5px;
  cursor: pointer;
  transition: all 0.15s ease;
}
.choice:hover { border-color: var(--blue-light); color: var(--text); }
.choice.selected { border-color: var(--blue); background: rgba(36,54,232,0.14); color: var(--text); }

.num-input, .text-input {
  width: 100%;
  background: var(--bg-elevated-2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 14px;
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: 14.5px;
  outline: none;
}
.num-input:focus, .text-input:focus { border-color: var(--blue-light); }
.text-input { resize: vertical; }

.btn-block { width: 100%; justify-content: center; margin-top: 8px; }
.btn:disabled { opacity: 0.4; cursor: not-allowed; }

/* ---- Step 3: results ---- */
.result-price {
  font-family: 'IBM Plex Mono', monospace;
  font-size: clamp(32px, 5vw, 44px);
  font-weight: 600;
  color: var(--blue-light);
  margin: 8px 0 16px;
}
.result-price-custom { font-size: 28px; }
.result-notes {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
  display: grid;
  gap: 6px;
}
.result-notes li {
  font-size: 13.5px;
  color: var(--text-muted);
  padding-left: 18px;
  position: relative;
}
.result-notes li::before {
  content: "+";
  position: absolute;
  left: 0;
  color: var(--blue-light);
  font-weight: 700;
}
.result-service-note {
  font-size: 13px;
  color: var(--text-faint);
  padding-top: 16px;
  border-top: 1px dashed var(--border);
  margin-bottom: 24px;
}

/* ---- Caveats box ---- */
.caveats-box {
  background: var(--bg-elevated-2);
  border: 1px solid var(--border);
  border-left: 3px solid var(--blue-light);
  border-radius: 10px;
  padding: 18px 20px;
  margin-bottom: 32px;
}
.caveats-title {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 10px;
}
.caveats-list {
  list-style: none;
  padding: 0;
  margin: 0 0 12px;
  display: grid;
  gap: 8px;
}
.caveats-list li {
  font-size: 13px;
  color: var(--text-muted);
  padding-left: 16px;
  position: relative;
  line-height: 1.45;
}
.caveats-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--text-faint);
}
.caveats-footer {
  font-size: 12px;
  color: var(--text-faint);
  margin: 0;
  font-style: italic;
}

/* ---- Contact capture ---- */
.contact-capture {
  border-top: 1px solid var(--border);
  padding-top: 28px;
}
.contact-capture h3 {
  font-size: 18px;
  text-transform: none;
  margin-bottom: 6px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}
.form-row label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12.5px;
  color: var(--text-muted);
  font-weight: 500;
}
.form-row input {
  background: var(--bg-elevated-2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 11px 12px;
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  outline: none;
}
.form-row input:focus { border-color: var(--blue-light); }
.form-note { font-size: 12px; color: var(--text-faint); margin-bottom: 16px; }

#form-success {
  background: rgba(53,208,127,0.08);
  border: 1px solid rgba(53,208,127,0.3);
  border-radius: 8px;
  padding: 16px 18px;
  font-size: 13.5px;
}
#form-success a { color: var(--blue-light); font-weight: 600; }

#start-over {
  display: block;
  margin: 24px auto 0;
}

.disclaimer {
  text-align: center;
  font-size: 12.5px;
  color: var(--text-faint);
  margin-top: 24px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

/* ---- Responsive ---- */
@media (max-width: 640px) {
  .estimator-card { padding: 26px 20px; }
  .service-options { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  .progress-step { font-size: 10.5px; padding: 5px 10px; }
}
