/* PIW intake, adapted to the existing AllSeason palette and type. */
[data-piw-intake] { container-type: inline-size; min-width: 0; }
.site-refresh .header .nav .piw-quote-link a { background: #fad706; color: #363636; font-weight: 600; }
.qualify [data-piw-intake], .how_solar_work_form > .wrap > .wpcf7 [data-piw-intake] { max-width: 760px; margin: 0 auto; }
.piw-home-intake { background: #f7f7f7; padding: 56px 0; scroll-margin-top: 72px; border-bottom: 1px solid #ebebeb; }
.site-refresh .piw-home-intake > .wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; }
.piw-home-intro { padding-top: 32px; }
.piw-home-intro .piw-eyebrow { color: #555; font-size: 14px; font-weight: 600; letter-spacing: .12em; margin-bottom: 18px; }
.piw-home-intro h2 { color: #363636; font-size: clamp(32px, 4vw, 46px); line-height: 1.15; margin: 0 0 24px; text-wrap: balance; }
.piw-home-intro > p { font-size: 20px; line-height: 1.6; color: #555; margin-bottom: 24px; }
.piw-home-intro > a { color: #363636; font-size: 18px; text-decoration: underline; text-underline-offset: 4px; }
.piw-intake { display: block; background: #fff; border: 1px solid #ddd; border-top: 5px solid #9dc739; border-radius: 6px; padding: 28px; margin: 0; color: #363636; font-family: 'Myriad Pro', Arial, sans-serif; box-shadow: 0 5px 20px #36363608; }
.piw-intake *, .piw-intake *::before, .piw-intake *::after { box-sizing: border-box; }
.site-refresh .piw-intake h3 { margin: 24px 0 8px; font-size: 27px; line-height: 1.25; color: #363636; text-align: left; }
.site-refresh .piw-intake .piw-form-intro { color: #555; font-size: 16px; line-height: 1.5; margin: 0 0 24px; text-align: left; }
.piw-progress { display: flex; gap: 24px; font-size: 14px; color: #777; border-bottom: 1px solid #ebebeb; padding-bottom: 16px; }
.piw-progress > span { display: flex; align-items: center; gap: 7px; }
.piw-progress .active { color: #363636; font-weight: 600; }
.piw-progress .complete { color: #52710b; }
.piw-intake fieldset { display: block; border: none; margin: 0; padding: 0; min-width: 0; }
.piw-intake fieldset[hidden] { display: none; }
.piw-service-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 0 0 24px; }
.site-refresh .piw-service-options label { display: flex; float: none; align-items: center; justify-content: center; gap: 6px; min-height: 50px; padding: 10px 8px; border: 1px solid #ccc; border-radius: 4px; cursor: pointer; margin: 0; font-size: 15px; font-weight: 400; line-height: 1.25; color: #363636; }
.piw-service-options label.selected { border-color: #7e9e2d; background: #9dc73918; box-shadow: inset 0 0 0 1px #7e9e2d; }
.piw-service-options input[type=radio] { width: 15px; height: 15px; min-height: 0; flex-shrink: 0; margin: 0; accent-color: #7e9e2d; }
.piw-field { min-width: 0; margin: 0 0 18px; }
.site-refresh .piw-intake .piw-field label { display: block; float: none; width: auto; max-width: none; font: inherit; font-size: 16px; font-weight: 600; line-height: 1.4; color: #363636; margin: 0 0 7px; text-align: left; }
.piw-field label span { font-weight: 400; color: #666; font-size: 14px; }
.site-refresh .piw-intake .piw-field input,
.site-refresh .piw-intake .piw-field select { display: block; float: none; width: 100%; max-width: 100%; min-width: 0; height: 46px; padding: 10px 12px; background: #fff; color: #363636; border: 1px solid #aaa; border-radius: 4px; font: inherit; font-size: 16px; box-shadow: none; }
.piw-intake input::placeholder { color: #777; }
.piw-address-row { display: grid; grid-template-columns: minmax(0, 1fr) 74px 105px; gap: 12px; }
.piw-project-summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px; margin-bottom: 24px; background: #f7f7f7; border-radius: 3px; font-size: 15px; }
.piw-project-summary button { border: 0; background: none; padding: 6px; color: #363636; text-decoration: underline; cursor: pointer; font: inherit; }
.site-refresh .piw-intake .piw-consent { color: #555; font: inherit; font-size: 12px; line-height: 1.6; margin: 8px 0 24px; text-align: left; }
.piw-consent a { text-decoration: underline; color: #363636; }
.piw-honeypot, .piw-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.piw-actions { display: flex; gap: 12px; margin-top: 6px; }
.piw-actions button { min-height: 48px; border-radius: 4px; font: inherit; font-size: 17px; cursor: pointer; padding: 12px 16px; line-height: 1.3; }
.piw-actions .piw-submit { flex: 1; background: #fad706; color: #363636; border: 1px solid #e1c006; font-weight: 600; }
.piw-actions .piw-submit:hover { background: #f0ce06; }
.piw-actions .piw-back { background: #fff; color: #555; border: 1px solid #aaa; }
.piw-intake button:disabled { opacity: .65; cursor: wait; }
.site-refresh .piw-intake .piw-form-footnote { margin: 18px 0 0; text-align: center; font-size: 14px; line-height: 1.5; color: #555; }
.piw-form-footnote a { color: #363636; text-decoration: underline; }
.site-refresh .piw-intake .piw-error { border-left: 3px solid #a12d24; padding: 12px; background: #fff5f3; color: #81251e; font-size: 15px; line-height: 1.5; margin: 0 0 18px; }
.piw-intake :focus-visible { outline: 3px solid #363636; outline-offset: 3px; }
.piw-intake h3:focus { outline: none; }
.piw-confirmation { padding: 40px 28px; }
.piw-confirmation-mark { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; background: #9dc739; color: #363636; font-size: 28px; border-radius: 50%; }
.site-refresh .piw-confirmation p { font-size: 18px; line-height: 1.6; margin: 18px 0; }
.piw-confirmation a { color: #363636; text-decoration: underline; }
.site-refresh .about_allseason_left:has([data-piw-intake]) { padding: 0; background: none; }
.site-refresh .about_allseason_left:has([data-piw-intake]) > h2 { margin: 0 0 18px; font-size: 24px; }
.site-refresh .about_allseason_left .piw-intake { padding: 20px 16px; }
.site-refresh .how_solar_work_form .form_section .wpcf7:has([data-piw-intake]) { padding: 0; background: none; }
.piw-policy { max-width: 760px; margin: 0 auto; padding: 48px 24px; }
.piw-policy h2 { font-size: 25px; margin: 32px 0 16px; }
.piw-policy p { margin-bottom: 18px; font-size: 18px; line-height: 1.7; }
.piw-policy a { color: #4c690b; text-decoration: underline; }
@container (max-width: 400px) {
  .piw-intake { padding: 20px 16px; }
  .piw-address-row { grid-template-columns: 1fr 1fr; }
  .piw-address-row .piw-field:first-child { grid-column: 1 / -1; }
  .piw-service-options { grid-template-columns: 1fr; }
  .site-refresh .piw-service-options label { justify-content: flex-start; padding: 12px; }
  .piw-progress { gap: 14px; font-size: 13px; }
  .piw-actions { flex-wrap: wrap; }
  .piw-actions .piw-submit { min-width: 150px; }
}
@media (max-width: 767px) {
  .site-refresh .piw-home-intake > .wrap { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .piw-home-intake { padding: 36px 0; }
  .piw-home-intro { padding-top: 0; }
  .piw-home-intro > p { font-size: 18px; }
}
