/* Trident HVAC — Cost Estimator page styles */

.estimator {
  background: var(--bg);
  padding: 80px 0 120px;
}

.estimator-step {
  padding: 32px 0;
  border-top: 1px solid var(--line);
}
.estimator-step:first-of-type { border-top: 0; padding-top: 0; }

.estimator-step-head {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 20px;
  align-items: center;
  margin-bottom: 24px;
}
.estimator-step-num {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid;
  border-radius: 50%;
}
.estimator-step-head h2 {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.2vw, 28px);
  font-weight: 700;
  letter-spacing: -0.015em;
  margin: 0 0 4px;
  color: var(--ink);
}
.estimator-step-head p {
  font-size: 16px;
  line-height: 1.5;
  font-weight: 400;
  color: var(--ink-3);
  margin: 0;
}

/* Option grids */
.estimator-options {
  display: grid;
  gap: 12px;
}
.estimator-options-services { grid-template-columns: repeat(5, 1fr); }
.estimator-options-grid     { grid-template-columns: repeat(4, 1fr); }
.estimator-options-2col     { grid-template-columns: repeat(2, 1fr); }

@media (max-width: 980px) {
  .estimator-options-services { grid-template-columns: repeat(3, 1fr); }
  .estimator-options-grid     { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .estimator-options-services { grid-template-columns: repeat(2, 1fr); }
  .estimator-options-grid     { grid-template-columns: 1fr; }
  .estimator-options-2col     { grid-template-columns: 1fr; }
}

.estimator-option {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
  text-align: left;
  font: inherit;
  color: inherit;
  transition: border-color .2s, box-shadow .2s, transform .2s, background .15s;
}
.estimator-option:hover {
  border-color: var(--ink-3);
  transform: translateY(-2px);
}
.estimator-option.active {
  background: var(--accent-soft);
  border-width: 2px;
  padding: 17px 19px; /* compensate for 2px border so layout doesn't shift */
}
.estimator-option-label {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.estimator-option-sub {
  font-size: 13px;
  color: var(--ink-3);
  line-height: 1.4;
}
.estimator-option-service {
  text-align: center;
  align-items: center;
  padding: 22px 14px;
}
.estimator-option-service.active { padding: 21px 13px; }
.estimator-option-ic {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--bg-2);
  display: grid; place-items: center;
  margin-bottom: 8px;
  transition: background .2s, color .2s;
}
.estimator-option-service.active .estimator-option-ic {
  background: #fff;
}

/* RESULT card */
.estimator-step-result { padding-top: 48px; }
.estimator-result {
  background: linear-gradient(180deg, #fff, var(--bg-2));
  border: 1px solid var(--line-2);
  border-radius: 18px;
  padding: 36px 40px;
  box-shadow: 0 24px 60px rgba(5, 29, 62, 0.08);
}
.estimator-result-head { margin-bottom: 28px; }
.estimator-result-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 12px;
}
.estimator-result-range {
  font-family: var(--font-display);
  font-size: clamp(38px, 5vw, 60px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  margin: 0 0 18px;
}
.estimator-result-includes {
  font-size: 16px;
  line-height: 1.56;
  color: var(--ink-2);
  margin: 0;
  max-width: 720px;
}
.estimator-result-includes b {
  color: var(--ink);
  font-weight: 600;
}

/* Result CTAs */
.estimator-result-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
  align-items: center;
}
.estimator-result-cta .btn-hero { flex: 1; min-width: 240px; }

.btn-hero-ghost.btn-hero-ghost-light {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line-2);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.btn-hero-ghost.btn-hero-ghost-light:hover {
  background: var(--bg-2);
  border-color: var(--ink-3);
}
.btn-hero-ghost.btn-hero-ghost-light .btn-hero-ic,
.btn-hero-ghost.btn-hero-ghost-light .btn-hero-arrow {
  background: var(--bg-2);
  color: var(--ink);
}
.btn-hero-ghost.btn-hero-ghost-light .btn-hero-sub { color: var(--ink-3); }

.estimator-result-learn-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-3);
  margin-left: auto;
  padding: 8px 0;
}
.estimator-result-learn-more:hover { color: var(--accent); }

/* Disclaimer */
.estimator-disclaimer {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  margin-top: 48px;
  padding: 18px 22px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 13px;
  line-height: 1.56;
  color: var(--ink-3);
}
.estimator-disclaimer svg { color: var(--accent); margin-top: 3px; }
.estimator-disclaimer b { color: var(--ink); font-weight: 600; }

@media (max-width: 720px) {
  .estimator { padding: 56px 0 80px; }
  .estimator-result { padding: 28px 22px; }
  .estimator-step-head { grid-template-columns: 44px 1fr; gap: 14px; margin-bottom: 18px; }
  .estimator-step-num { width: 36px; height: 36px; font-size: 12px; }
  .estimator-result-cta { flex-direction: column; align-items: stretch; }
  .estimator-result-cta .btn-hero { min-width: 0; width: 100%; }
  .estimator-result-learn-more { margin-left: 0; justify-content: center; padding-top: 8px; }
}
