/* Residential Installers page — styles specific to residential-installers.html.
   Shared nav/footer/section/hero/stats/CTA chrome lives in components.css.
   Shared .sp-* service-page template components live in service-page.css. */

/* ---- Stats banner: six pills ----
   responsive.css only caps the pill labels up to 1024px. With six pills the
   row also runs out of space between 1025px and ~1280px and the last pill
   wraps to a second line, so the cap is extended through that range. */

@media (min-width: 1025px) and (max-width: 1280px) {
  .stats-banner-bar {
    gap: 12px;
  }
  .stat-pill-label {
    max-width: 14ch;
  }
}

/* ---- Hero: spacing between the two lead paragraphs ---- */

.page-hero-lead + .page-hero-lead {
  margin-top: 12px;
}

/* ---- Process: per-step timing tag + long step title ----
   service-page.css sizes .sp-stack-step-title for short names; "Permit &
   Interconnection Submission" would wrap to three lines at that size and
   crowd the card, so it gets a smaller size. */

.sp-stack-step-time {
  margin-left: 6px;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--deco-mint);
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  color: var(--color-primary);
  white-space: nowrap;
}

.sp-stack-step-title--long {
  font-size: clamp(26px,3vw,42px);
}

/* ---- Turnaround (trust badge strip, icon + caption) ---- */

.sp-turnaround {
  box-sizing: border-box;
  position: relative;
  width: 100%;
  background: var(--white-pure);
  padding: clamp(64px,9vw,112px) var(--gutter-x);
}

.sp-turnaround-intro {
  max-width: 640px;
  margin: 0 auto clamp(48px,6vw,64px);
  text-align: center;
}

.sp-turnaround-title {
  margin: 16px 0 0;
  font-family: 'Geist', sans-serif;
  font-weight: 250;
  font-size: clamp(28px,3vw,40px);
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--text-charcoal);
}

.sp-turnaround-text {
  margin: 16px 0 0;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-secondary);
}

.sp-highlights-grid {
  box-sizing: border-box;
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: clamp(28px,4vw,48px);
}

.sp-highlight {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  text-align: center;
}

.sp-highlight-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--deco-mint);
  color: var(--color-primary);
}

.sp-highlight-icon svg {
  width: 30px;
  height: 30px;
}

.sp-highlight-title {
  margin: 0;
  font-family: 'Geist', sans-serif;
  font-weight: 500;
  font-size: 18px;
  letter-spacing: -0.01em;
  color: var(--text-charcoal);
}

.sp-highlight-text {
  margin: 0;
  max-width: 220px;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-secondary);
}

.sp-highlight-divider {
  width: 1px;
  align-self: stretch;
  background: rgba(31,91,79,0.16);
}

@media (max-width: 720px) {
  .sp-highlights-grid {
    grid-template-columns: 1fr;
  }
  .sp-highlight-divider {
    width: 100%;
    height: 1px;
  }
}

/* ---- Project Greenlight (sp-compat): four statement cards ----
   service-page.css lays .sp-compat-cards out for three cards with body text.
   These four are one-line statements, so they sit in a 2x2 grid instead of a
   3 + 1 split, and the title needs no gap below it. */

.sp-compat-cards--two-col {
  grid-template-columns: repeat(2,minmax(0,1fr));
}

.sp-compat-cards--two-col .value-card-title {
  margin-bottom: 0;
}

@media (max-width: 560px) {
  .sp-compat-cards--two-col {
    grid-template-columns: 1fr;
  }
}

/* ---- Reasons checklist (flowing list, no card boxes) ---- */

.sp-reasons {
  box-sizing: border-box;
  position: relative;
  width: 100%;
  background: var(--green-forest);
  padding: clamp(64px,9vw,112px) var(--gutter-x);
}

.sp-reasons .section-eyebrow {
  color: var(--green-leaf);
}

.sp-reasons-inner {
  box-sizing: border-box;
  max-width: 1200px;
  margin: 0 auto;
}

.sp-reasons-head {
  max-width: 560px;
  margin: 0 0 clamp(40px,5vw,56px);
}

.sp-reasons-title {
  margin: 16px 0 0;
  font-family: 'Geist', sans-serif;
  font-weight: 250;
  font-size: clamp(28px,3vw,40px);
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: #fff;
}

.sp-reasons-list {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: clamp(28px,3.4vw,40px) clamp(32px,4vw,56px);
}

.sp-reasons-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.sp-reasons-check {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255,255,255,0.14);
  color: #fff;
}

.sp-reasons-check svg {
  width: 16px;
  height: 16px;
}

.sp-reasons-item-title {
  margin: 4px 0 6px;
  font-family: 'Geist', sans-serif;
  font-weight: 500;
  font-size: 17px;
  line-height: 1.3;
  color: #fff;
}

.sp-reasons-item-text {
  margin: 0;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255,255,255,0.72);
}

@media (max-width: 720px) {
  .sp-reasons-list {
    grid-template-columns: 1fr;
  }
}
