.solar-page main > section h2::after{display:none}
.solar-page main > section h2.solar-rule::after,.solar-rule::after{
  content:"";display:block;width:2.7em;height:5px;margin-top:.25em;background:#35a71a;border-radius:1em;
}
.solar-page h2{font-size:clamp(1.55rem,3.2vw,2.65rem);max-width:none}
.solar-hero{
  background:linear-gradient(90deg,#f8fbffe8,#fff6dfb0 33%,transparent 59%),
    #d5ecfc url('immagini/hero-solare.webp') center 57%/cover no-repeat;
}
.solar-hero-layout{
  display:grid;grid-template-columns:1fr minmax(175px,23%);align-items:center;gap:18px;
  padding-block:clamp(26px,4vw,58px);
}
@media(min-width:761px){
  :is(.solar-hero,.conditioning-page .climate-hero,.heating-page .climate-hero,.thermal-hero,.business-hero,.contact-hero) .solar-hero-layout{
    min-height:clamp(390px,32vw,470px);
  }
}
.solar-intro .eyebrow{color:inherit;margin-bottom:.65rem}
.solar-intro h1{font-size:clamp(1.9rem,3.75vw,3.75rem);max-width:29ch}
.solar-intro>p:not(.eyebrow){max-width:40ch;margin-top:.9em;font-weight:650;font-size:clamp(1rem,1.7vw,1.3rem)}
.solar-highlights{
  list-style:none;margin:0;padding:15px;background:#fff;border-radius:23px;box-shadow:0 4px 18px #17334a30;
  display:grid;gap:12px;font-size:clamp(.85rem,1.45vw,1.08rem);font-weight:750;
}
.solar-highlights li{display:flex;align-items:center;gap:9px}
.solar-highlights img{width:clamp(26px,3.8vw,46px);aspect-ratio:1;height:auto;object-fit:contain;flex:none}
.solar-solutions{text-align:center;padding-block:14px 20px}
.solar-solutions .solar-rule::after{margin-inline:auto}
.solar-solutions>p{max-width:67ch;margin:9px auto 16px;font-weight:600}
.solar-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.solar-cards>a{
  display:grid;grid-template-rows:subgrid;grid-row:span 4;justify-items:center;align-items:start;
  row-gap:5px;padding-bottom:16px;border-radius:20px;overflow:hidden;background:#f4f5f1;
  color:inherit;text-decoration:none;
}
.solar-cards>a:is(:hover,:focus-visible){background:#e8f4dc;box-shadow:0 5px 12px #245e302b}
.solar-card-photo{width:100%;height:auto;aspect-ratio:1.92;object-fit:cover}
.solar-card-icon{
  display:grid;place-items:center;width:64px;height:48px;border-radius:50% 50% 0 0;
  margin-top:-34px;background:#fff;
}
.solar-card-icon img{width:44px;height:35px;object-fit:contain}
.solar-cards h3{font-size:clamp(1rem,2vw,1.42rem);max-width:19ch;align-self:center;padding-inline:6px}
.solar-cards p{max-width:24ch;padding-inline:8px}
.solar-dialog{
  width:min(520px,calc(100% - 32px));max-height:calc(100% - 32px);padding:24px;
  border:1px solid #dbe6d3;border-radius:20px;background:white;color:inherit;
  box-shadow:0 14px 44px #0d294957;
}
.solar-dialog::backdrop{background:#06172e9c}
.solar-dialog form{display:flex;justify-content:flex-end;margin-bottom:4px}
.solar-dialog button{width:40px;height:40px;border:0;border-radius:50%;background:#edf5e2;color:inherit;font-size:1.5rem;cursor:pointer}
.solar-dialog button:hover{background:#ddecce}
.solar-dialog h2{font-size:clamp(1.4rem,3.5vw,2rem)}
.solar-dialog p{margin:12px 0 18px}
.solar-process{
  display:grid;grid-template-columns:1fr 2fr;align-items:center;gap:14px;background:#edf5e2;
  border-radius:20px;padding:16px;scroll-margin-top:15px;
}
.solar-process h2{font-size:clamp(1.3rem,2.5vw,2.1rem)}
.solar-process ol{
  display:grid;grid-template-columns:repeat(4,minmax(0,1fr));list-style:none;margin:0;padding:0;gap:16px;
}
.solar-process li{position:relative;display:grid;justify-items:center;text-align:center;font-weight:650;font-size:.9rem}
.solar-process img{width:56px;height:48px;object-fit:contain;mix-blend-mode:multiply}
.solar-process li:not(:last-child)::after{content:"➜";position:absolute;right:-16px;top:10px;color:#249c16;font-size:1.4rem}
.solar-benefits{display:grid;grid-template-columns:2fr 3fr;align-items:center;gap:clamp(16px,3vw,42px);padding-block:16px}
.solar-benefits-photo{width:100%;height:auto;border-radius:18px}
.solar-benefits ul{
  list-style:none;padding:0 min(9vw,108px) 0 0;margin:10px 0 0;font-weight:650;
  background:url('immagini/energia-foglia-icona.webp') right top/min(8vw,98px) auto no-repeat;
}
.solar-benefits li{display:flex;gap:8px;align-items:baseline;margin-block:3px}
.solar-benefits li::before{content:"✔";color:#35a71a;font-size:1.2em}
.solar-note{font-size:.78rem;margin-top:7px;color:#41516a}
.solar-page footer{padding-block:16px 10px;border-top:4px solid #69b524}
.solar-footer-content{display:grid;grid-template-columns:1.5fr 1fr 1.25fr;gap:20px}
.solar-footer-content>div+div{border-left:1px solid #b5cee5;padding-left:20px}
.solar-footer-content h2{font-size:1.2rem;margin-bottom:.4em}
.solar-footer-content h2::after{content:"";display:block;width:2em;height:3px;background:#6fc624;margin-top:2px}
.solar-footer-content a{display:block;width:fit-content;color:inherit}
.solar-footer-content .brand{display:inline-flex;margin-bottom:6px}
.solar-footer-content p{font-size:.9rem}
.solar-copyright{border-top:1px solid #81ba4a;margin-top:14px;padding-top:8px;font-size:.75rem}
@media(max-width:760px){
  .solar-hero{background-position:60% center}
  .solar-cards{grid-template-columns:repeat(2,minmax(0,1fr))}
  .solar-process{grid-template-columns:1fr}
  .solar-benefits ul{background:none;padding-right:0}
}
@media(max-width:510px){
  .solar-hero-layout,.solar-benefits,.solar-footer-content{grid-template-columns:1fr}
  .solar-hero{background-image:linear-gradient(180deg,#f8fbfff2,#fff6dfa0 57%,#fff6df52),url('immagini/hero-solare.webp')}
  .solar-highlights{grid-template-columns:repeat(2,minmax(0,1fr))}
  .solar-process ol{grid-template-columns:repeat(2,minmax(0,1fr))}
  .solar-process li:nth-child(even)::after{display:none}
  .solar-footer-content>div+div{border-left:0;padding-left:0}
}

.solar-footer .brand{font-family:"Segoe UI",system-ui,sans-serif;font-weight:400;gap:clamp(7px,1vw,12px)}
.solar-footer .header-brand-name{color:#dbeaff}
.solar-footer .header-brand-name b{color:inherit;font-weight:750}
.solar-footer .header-brand-role{color:#97df66}
.solar-footer-links a,.solar-footer-contacts a{
  border-radius:5px;padding:2px 6px;text-decoration:none;
}
.solar-footer-links a{display:flex;align-items:center;gap:8px}
.solar-footer-links a::before{
  content:"";width:6px;height:6px;border-top:2px solid #97df66;border-right:2px solid #97df66;
  transform:rotate(45deg);flex:none;
}
.solar-footer-links a:is(:hover,:focus-visible),.solar-footer-contacts a:is(:hover,:focus-visible){
  color:#c1f29f;background:#ffffff1c;
}
.solar-footer-contacts{list-style:none;margin:0;padding:0;font-size:.9rem;overflow-wrap:anywhere}
.solar-footer-contacts li:first-child,.solar-footer-contacts a{display:flex;align-items:center;gap:8px;padding:3px 6px}
.solar-footer-contacts svg{width:19px;height:19px;flex:none;color:#97df66;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;fill:none}
.solar-footer-contacts .facebook-icon{stroke:none}

@media(521px <= width <= 720px){
  .solar-footer-content{grid-template-columns:1fr 1fr}
  .solar-footer-content>div:first-child{grid-column:1/-1}
  .solar-footer-content>div:nth-child(2){border-left:0;padding-left:0}
}
