/* Power On v2: the solar page (/services/solar-electrical/), built around the solar planner.
   Loads after core.css, pages/city.css, pages/services.css, the planner's own stylesheet (assets/css/solar-profile.css)
   and pages/tool-pages.css (the tool band: .tp-tool brings the old page's tokens and base back, at zero specificity,
   for the tool only). The planner's markup is master's, byte for byte; this file only adds what the planner still
   took from the old page's inline styles, and frames the page around it:
   - inside the band (.sol-tool) every rule is wrapped in :where(), so it has exactly the specificity it had on master
     (an element or a single class) and the planner's own class rules still win exactly as before
   - everything else is scoped to V2 section classes (.sol-*), never to the planner's elements. */

/* ---------- the planner band: the old page's remaining base rules, for the planner only (master's values) ---------- */
:where(.sol-tool) section { position: relative; padding: 88px 0; }
:where(.sol-tool) .kicker { color: var(--green); font-size: 12px; font-weight: 900; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 14px; }
@media (max-width: 760px) { :where(.sol-tool) section { padding: 64px 0; } }
@media (prefers-reduced-motion: reduce) {
  :where(.sol-tool) *, :where(.sol-tool) *::before, :where(.sol-tool) *::after { animation: none !important; transition-duration: .01ms !important; }
}

/* the band itself lands flush under the header when the planner button (or the section menu) jumps to it: the page's
   scroll-padding already clears the header (.tp-tool's own scroll margin would add a second header's height) */
.sol-tool { scroll-margin-top: 0; }

/* ---------- hero: the finished rooftop array, cropped toward the panels ---------- */
.sol-hero-f .wt-img img { object-position: 50% 62%; }

/* ---------- "Open the solar planner": a full-width bar right under the hero's words and photo ---------- */
.sol-jump {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  margin-top: clamp(32px, 4vw, 48px); min-height: 64px; padding: 14px clamp(18px, 2vw, 28px);
  border: 1px solid var(--fg); background: var(--bg-2); color: var(--fg); text-decoration: none;
  font: 500 clamp(18px, 1.6vw, 22px)/1.2 var(--font); letter-spacing: -0.01em;
}
.sol-jump-a { flex: 0 0 auto; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--btn-bg); color: var(--btn-fg); font-size: 20px; line-height: 1; transition: transform 500ms var(--ease); }
.sol-jump:hover .sol-jump-a, .sol-jump:focus-visible .sol-jump-a { transform: translateY(3px); }
.sol-jump:hover, .sol-jump:focus-visible { border-color: var(--accent); }
.sol-jump + .chero-cred { margin-top: clamp(32px, 4vw, 48px); }
@media (prefers-reduced-motion: reduce) { .sol-jump-a { transition: none; } }

/* ---------- phones: the site's bottom bar steps aside while the planner (and its own sticky step bar) is under it ---------- */
@media (max-width: 899px) {
  html.sol-bbar-off .bbar { transform: translateY(100%); visibility: hidden; transition: transform 250ms var(--ease), visibility 0s linear 250ms; }
  html:not(.sol-bbar-off) .bbar { transition: transform 250ms var(--ease); }
}
@media (prefers-reduced-motion: reduce) { html .bbar { transition: none; } }

/* ---------- the C-10 scope card under the split section's words ---------- */
.sol-card { margin-top: clamp(32px, 4vw, 48px); max-width: 62ch; }
