/* --------------------------
   Layout wrapper
--------------------------- */
.solar-funnel-wrapper {
  background: #e9f3ff;
  padding: 40px 0 60px;
}

.solar-funnel-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 24px;
}

/* --------------------------
   Form + Map cards
--------------------------- */
.solar-funnel-form,
.solar-funnel-map-col {
  background: #ffffff;
  border-radius: 24px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
  padding: 32px;
}

.solar-funnel-form {
  flex: 1 1 50%;
}

.solar-funnel-map-col {
  flex: 1 1 50%;
  display: flex;
  /* always visible now */
  opacity: 1;
  pointer-events: auto;
  transform: none;
}


#solar-map {
  border-radius: 20px;
  overflow: hidden;
  width: 100%;
  min-height: 520px;
}

/* --------------------------
   Progress bar
--------------------------- */
.sf-progress {
  margin-bottom: 24px;
}

.sf-progress-bar {
  width: 100%;
  height: 6px;
  background: #eef3fb;
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 12px;
}

.sf-progress-fill {
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, #73b351, #32792c);
  transition: width 0.3s ease;
}

.sf-progress-steps {
  display: flex;
  gap: 6px;
}

.sf-step-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #c4cfdf;
}

.sf-step-dot.sf-step-dot-active {
  background: #73b351;
}

/* --------------------------
   Steps
--------------------------- */
.sf-step {
  display: none;
}

.sf-step.sf-step-active {
  display: block;
}

.sf-step-count {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #828383;
  margin-bottom: 4px;
}

.sf-step h3 {
  font-size: 24px;
  margin-bottom: 10px;
}

.sf-step p {
  margin-bottom: 10px;
}

.sf-label {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #828383;
}

.sf-bullets {
  margin: 12px 0;
  padding-left: 20px;
}

.sf-bullets li {
  margin-bottom: 4px;
}

/* --------------------------
   Inputs & buttons
--------------------------- */
.sf-step input[type="text"],
.sf-step input[type="email"],
.sf-step input[type="tel"],
.sf-step select {
  width: 100%;
  padding: 12px 14px;
  border-radius: 999px;
  border: 1px solid #dde4f2;
  margin-top: 6px;
  margin-bottom: 12px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  font-size: 14px;
}

.sf-step input:focus,
.sf-step select:focus {
  border-color: #73b351;
  box-shadow: 0 0 0 2px rgba(115, 179, 81, 0.25);
}

.sf-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 4px;
}

.sf-btn-primary,
.sf-btn-secondary {
  border-radius: 999px;
  border: none;
  padding: 12px 22px;
  font-weight: 600;
  cursor: pointer;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none; /* remove underline from <a> */
}

.sf-results-actions {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.sf-btn-primary {
  background: linear-gradient(90deg, #73b351, #32792c);
  color: #ffffff;
}

.sf-btn-secondary {
  background: #f4f6fb;
  color: #1a283f;
}

.sf-help-text {
  font-size: 13px;
  color: #e53935;
  margin-top: 8px;
}

/* --------------------------
   Choices
--------------------------- */
.sf-choice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 16px 0;
}

.sf-choice-grid-2col {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.sf-choice {
  border-radius: 18px;
  padding: 14px 12px;
  border: 1px solid #dde4f2;
  background: #f9fbff;
  cursor: pointer;
  font-size: 14px;
  text-align: center;
}

.sf-choice.sf-choice-active {
  border-color: #73b351;
  background: #e6f4dd;
}

/* --------------------------
   Consent
--------------------------- */
.sf-consent {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  font-size: 13px;
  margin-top: 4px;
}

.sf-or {
  font-size: 13px;
  color: #828383;
}

/* --------------------------
   Results wrapper
--------------------------- */
.sf-results {
  max-width: 1200px;
  margin: 32px auto 0;
  display: none;
}

.sf-results.sf-results-visible {
  display: block;
}

.sf-results-inner {
  display: flex;
  gap: 24px;
}

/* --------------------------
   Results – left panel
--------------------------- */
.sf-results-main {
  flex: 1 1 50%;
  background: #32792c;
  color: #ffffff;
  border-radius: 24px;
  padding: 32px 32px 36px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;  /* ⬅ top aligned now */
}

.sf-results-kicker {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 12px;
  margin-bottom: 8px;
  color: #ffffff;
}

#sf-savings-main {
  font-size: 64px;        /* ⬅ bigger main number */
  margin-bottom: 6px;
}

.sf-results-main p {
  margin: 0 0 18px;
}

/* Back to form button styling */
.sf-results-main .sf-btn-secondary {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid #ffffff;
  background: transparent;
  color: #ffffff;
  padding: 10px 26px;
  font-size: 14px;
}

.sf-results-main .sf-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
}

/* --------------------------
   Results – right panel
--------------------------- */
.sf-results-spec {
  flex: 1 1 50%;
  background: #ffffff;
  color: #10233f;
  border-radius: 24px;
  padding: 28px 28px 32px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
}

.sf-results-spec h3 {
  margin-bottom: 16px;
}

/* Base UL reset */
.sf-results-spec ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* Structured spec list */
.sf-spec-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sf-spec-list li {
  margin-bottom: 1.3rem;
}

.sf-spec-list strong {
  display: block;
  font-size: 1.05rem;
  margin-bottom: 0.1rem;
}

.sf-spec-label {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: #1f2a36;
}

.sf-spec-note {
  display: block;
  font-size: 0.85rem;
  line-height: 1.4;
  color: #828383;
  margin-top: 0.15rem;
}

.sf-results-disclaimer {
  margin-top: 1.6rem;
  font-size: 0.8rem;
  line-height: 1.5;
  color: #828383;
}

/* --------------------------
   Misc headings
--------------------------- */
.sf-section-heading {
  margin-top: 18px;
  font-size: 16px;
}

/* --------------------------
   Results-only mode
--------------------------- */
.solar-funnel-wrapper.sf-show-results .solar-funnel-inner {
  display: none;
}

.solar-funnel-wrapper.sf-show-results .sf-results {
  margin-top: 0;
}

/* Force padding for the Call now link only */
.sf-results-main .sf-results-actions a.sf-btn-secondary {
  padding: 10px 26px !important;  /* change these numbers to adjust height/width */
  line-height: 1 !important;      /* stops theme line-height from stretching it */
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

/* --------------------------
   Responsive
--------------------------- */
@media (max-width: 900px) {
  .solar-funnel-inner {
    flex-direction: column;
  }

  .sf-results-inner {
    flex-direction: column;
  }

  /* Map stays visible on all steps, just stack under the form */
  #solar-map {
    min-height: 360px;
  }

  .sf-choice-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sf-results-main,
  .sf-results-spec {
    padding: 24px;
  }

  #sf-savings-main {
    font-size: 44px; /* slightly smaller on mobile */
  }
}




/* --- Funnel branching helpers --- */
.sf-hidden { display: none !important; }
