/* Power Ras V12.2 — visual QA based on the 16 numbered review screenshots.
   Strictly additive, shared by browser preview and staging child theme. */
:root{--pr-sticky-header:106px}
html{scroll-padding-top:calc(var(--pr-sticky-header) + 22px)}
body.v12-site{overflow-x:clip}
body.v12-site .v12-header{position:sticky;top:0;z-index:120;background:#fff;box-shadow:0 3px 17px rgba(5,24,20,.06)}
/* Genesis places the custom header inside a site-header wrapper; stick that wrapper on WordPress. */
body.v12-site .site-header{position:sticky!important;top:0;z-index:120;background:#fff}
body.v12-site .v12-header .v9-header__inner{grid-template-columns:270px minmax(0,1fr) auto;gap:18px;min-height:106px}
body.v12-site .v12-header .v11-brand{align-items:center;min-width:0}
body.v12-site .v12-header .v11-brand img{display:block;width:255px;height:100px;max-width:100%;object-fit:contain;object-position:left center}
body.v12-site .v12-header .v9-nav{gap:clamp(8px,.95vw,16px)}
body.v12-site .v12-header .v9-nav a{font-size:12px;white-space:nowrap}
body.v12-site .v9-service-rail{top:var(--pr-sticky-header);z-index:105}
body.v12-site :where(#richiedi-preventivo,section[id],article[id]){scroll-margin-top:calc(var(--pr-sticky-header) + 24px)}
/* Accessibility: text must have contrast against teal, photography, and dark backgrounds. */
body.v12-site .v9-cta:not(.v9-cta--dark) .v9-kicker{color:#08493f;font-size:12px;font-weight:800;letter-spacing:.13em}
body.v12-site .v9-cta:not(.v9-cta--dark) :is(h2,p){color:#071d19}
body.v12-site .v9-cta .v9-cta__grid>div{max-width:850px}
body.v12-site .v9-cta .v9-btn--white{color:#061d18;background:#fff;border-color:#fff}
body.v12-site .v9-cta .v9-btn--white:hover{background:#e9fbf5;border-color:#e9fbf5}
body.v12-site .v9-service-showcase--pv .v9-link,
body.v12-site .v9-service-showcase--electric .v9-link,
body.v12-site .v9-service-showcase--charge .v9-link{color:#fff!important;text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:6px;text-decoration-color:#83e3d2}
body.v12-site .v9-service-showcase--pv .v9-link:hover,
body.v12-site .v9-service-showcase--electric .v9-link:hover,
body.v12-site .v9-service-showcase--charge .v9-link:hover{color:#a9f5e8!important}
body.v12-site .v11-observer-hero .v9-kicker,
body.v12-site .v9-cta--dark .v9-kicker,
body.v12-site .v10-company-hero .v9-kicker{color:#81d8c7}
/* The V11 instruction to justify *every* paragraph creates ugly word rivers in cards.
   Editorial paragraphs remain justified; short card paragraphs and mobile are left aligned. */
body.v12-site main :is(.v10-house-map,.v9-pv-audiences,.v9-flow,.v9-electric-cap,.v9-charge-scenarios,.v10-business-sectors,.v9-office-cap,.v9-secondary-grid,.v11-price-card,.v9-company-links,.v9-clima-layers,.v9-security-map,.v9-project-grid,.v11-bill__stack,.v9-works-archive,.pr-contact-form-card) p:not(.v9-kicker){text-align:left;text-justify:auto;hyphens:none;-webkit-hyphens:none;overflow-wrap:normal}
body.v12-site main p{line-height:1.72}
body.v12-site main :is(.v9-pv-hero,.v9-work-link,.v9-clima-hero,.v9-electric-hero) h1,
body.v12-site main :is(.v9-pv-flow,.v9-work-link,.v11-update,.v11-bill) h2{line-height:1.12;letter-spacing:-.04em}
/* Home CTA & white gaps: keep photographic strip visually tied to its action. */
body.v12-site .v9-home-work{padding-bottom:74px}
body.v12-site .v9-home-work__cta{margin-top:28px}
body.v12-site .v9-home-work__cta .v9-btn{min-height:54px}
/* Casa: the headline previously occupied 5-6 imposing lines. */
body.v12-site .v10-house-hero{min-height:610px}
body.v12-site .v10-house-hero>.v9-shell{padding-top:55px;padding-bottom:72px}
body.v12-site .v10-house-hero h1{max-width:1040px;font-size:clamp(50px,5.15vw,78px);line-height:1.105;letter-spacing:-.038em;margin-bottom:28px;text-wrap:balance}
body.v12-site .v10-house-hero p:not(.v9-kicker){max-width:750px;line-height:1.65;font-size:18px}
body.v12-site .v10-house-hero .v9-kicker{color:#8be0d0;font-size:12px;font-weight:750;margin-bottom:18px}
body.v12-site .v10-house-map__grid{align-items:stretch;gap:16px}
body.v12-site .v10-house-map article{display:flex;flex-direction:column;min-width:0;min-height:336px;padding:clamp(26px,3vw,38px)}
body.v12-site .v10-house-map article:nth-child(-n+2){min-height:310px}
body.v12-site .v10-house-map article>span{display:block;margin-bottom:15px}
body.v12-site .v10-house-map h3{font-size:clamp(25px,2.4vw,32px);line-height:1.2;letter-spacing:-.03em;margin:0 0 15px;min-height:2.35em}
body.v12-site .v10-house-map p{margin:0 0 24px;flex:1 1 auto;line-height:1.72}
body.v12-site .v10-house-map a{display:inline-flex;align-self:flex-start;align-items:center;min-height:36px;margin-top:auto;line-height:1.35}
/* Strong reusable alignment for card rows: start/title, body, and action align consistently. */
body.v12-site :is(.v9-pv-audiences,.v9-electric-cap,.v9-charge-scenarios,.v9-office-cap,.v10-business-sectors) :is(article){display:flex;flex-direction:column;height:100%;min-width:0;justify-content:flex-start}
body.v12-site :is(.v9-pv-audiences,.v9-electric-cap,.v9-charge-scenarios,.v9-office-cap,.v10-business-sectors) :is(article)>:is(a,small):last-child{margin-top:auto}
body.v12-site .v9-pv-audiences .v9-shell{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;align-items:stretch}
body.v12-site .v9-pv-audiences article{min-height:320px;padding:32px 28px;text-align:center;align-items:center}
body.v12-site .v9-pv-audiences h3{margin:20px 0 14px;font-size:30px;line-height:1.16;min-height:2.34em;display:flex;align-items:center;justify-content:center}
body.v12-site .v9-pv-audiences article p{margin:0 0 22px;text-align:center!important;line-height:1.62;flex:1}
body.v12-site .v9-pv-audiences article a{margin-top:auto;min-height:40px;display:inline-flex;align-items:center;justify-content:center;color:#075a4d;font-weight:750}
body.v12-site .v9-flow{display:flex;align-items:stretch;gap:12px}
body.v12-site .v9-flow>div{flex:1 1 0;min-width:0;min-height:208px;display:flex;flex-direction:column;justify-content:center;padding:20px;gap:8px}
body.v12-site .v9-flow>div span{margin-bottom:auto}
body.v12-site .v9-flow>div b{margin:0;font-size:19px;line-height:1.2;min-height:2.4em;display:flex;align-items:center}
body.v12-site .v9-flow>div small{margin:0;line-height:1.45;min-height:3em}
body.v12-site .v9-flow>i{display:flex;flex:0 0 20px;justify-content:center;align-items:center}
body.v12-site .v9-electric-cap article{min-height:274px}
body.v12-site .v9-electric-cap h3{margin-top:20px;line-height:1.18;min-height:2.35em}
body.v12-site .v9-electric-cap article p{margin:0}
body.v12-site .v9-charge-scenarios article{min-height:260px}
body.v12-site .v9-charge-scenarios h3{margin:16px 0 12px;line-height:1.17;min-height:2.32em}
body.v12-site .v9-office-cap article{min-height:235px}
body.v12-site .v9-office-cap article p{margin-top:15px}
body.v12-site .v10-business-sectors article{min-height:265px}
body.v12-site .v10-business-sectors h3{margin-top:18px}
body.v12-site .v10-business-sectors small{width:100%}
/* Electrical flow visually ordered instead of floating variable-height blocks. */
body.v12-site .v9-electric-line__track>div,
body.v12-site .v9-charge-flow__track>div{min-height:148px;display:flex;flex-direction:column;justify-content:center}
/* Duplicates replaced with an intentionally designed schematic; these are NOT project photos. */
body.v12-site .pr-security-graphic{display:grid;grid-template-columns:1fr 1fr;gap:12px;width:100%;height:100%;min-height:360px;padding:30px;border-radius:20px;background:#12201d;color:#fff}
body.v12-site .pr-security-graphic span{display:flex;align-items:center;justify-content:center;padding:20px 14px;border:1px solid rgba(143,220,205,.42);border-radius:12px;font-size:clamp(13px,1.3vw,18px);font-weight:600;text-align:center;letter-spacing:.01em}
body.v12-site .v9-service-showcase--charge .v9-service-showcase__media{display:flex;align-items:center;justify-content:center;background:radial-gradient(circle at 77% 42%,rgba(63,186,165,.39),transparent 35%),linear-gradient(110deg,#0e2420,#10382e 72%,#11211d)}
body.v12-site .v9-service-showcase--charge .v9-service-showcase__media:after{background:linear-gradient(90deg,rgba(2,12,10,.62),transparent 90%)}
body.v12-site .pr-charge-deco{position:relative;z-index:1;display:block;padding:22px 30px;border:1px solid rgba(222,255,246,.35);border-radius:100px;color:#e9fff9;font-size:clamp(16px,2vw,30px);font-weight:500;letter-spacing:.035em;white-space:nowrap}
body.v12-site .pr-electric-route{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;min-height:470px;width:100%;padding:35px;border-radius:20px;color:#dbfff5;background:linear-gradient(140deg,#0a2420,#183c33)}
body.v12-site .pr-electric-route span{min-width:min(300px,100%);padding:15px 22px;border:1px solid rgba(147,222,207,.5);border-radius:100px;text-align:center;font-size:clamp(12px,1.2vw,15px);font-weight:650;letter-spacing:.06em}
body.v12-site .pr-electric-route b{color:#62cab4;font-weight:400;font-size:24px;line-height:1}
body.v12-site .v9-work-link .pr-electric-route{height:520px}
/* Move raw dataset identifiers out of customer-facing copy. */
body.v12-site .pr-energy-source{border:1px solid #b8d8ce;border-radius:22px;padding:32px;background:#fff;box-shadow:0 15px 45px rgba(9,56,42,.045)}
body.v12-site .pr-energy-source>strong{display:block;color:#0d372d;font-size:22px;font-weight:600;margin-bottom:12px}
body.v12-site .pr-energy-source p{color:#36574c;margin:0 0 20px;line-height:1.7;text-align:left!important}
body.v12-site .pr-energy-source details{border-top:1px solid #d4e5e0;padding-top:17px}
body.v12-site .pr-energy-source summary{cursor:pointer;color:#165e50;font-size:14px;font-weight:650}
body.v12-site .pr-energy-source details p{font-size:13px;padding-top:16px;margin:0;color:#54645e}
body.v12-site .v11-update h2{line-height:1.12;font-size:clamp(44px,4.7vw,66px);max-width:600px}
body.v12-site .v11-update .v9-kicker{color:#075c4e}
/* Price cards: one product panel, consistent vertical alignment and centered numbers. */
body.v12-site .v11-price-card{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:270px;text-align:center!important;padding:32px 24px}
body.v12-site .v11-price-card>span{text-align:center}
body.v12-site .v11-price-card strong{margin:18px 0 12px;text-align:center;letter-spacing:-.028em;line-height:1.1;overflow-wrap:anywhere;font-size:clamp(34px,3.6vw,55px)}
body.v12-site .v11-price-card p{text-align:center!important;max-width:350px;line-height:1.6}
body.v12-site .v11-bill__stack div{align-items:center}
body.v12-site .v11-bill__stack span{text-align:left;line-height:1.65}
/* Remove the boxy repeated-photo feel from media links. */
body.v12-site .v9-work-link>.v9-shell{align-items:center}
body.v12-site .v9-work-link :is(h2,p){max-width:630px}
/* Footer: official transparent wordmark; coherent 3-column information architecture. */
body.v12-site .pr-footer-final{padding:76px 0 0;background:#f1f6f3;color:#0d241d;border-top:1px solid #d8e5df}
body.v12-site .pr-footer-final__grid{display:grid;grid-template-columns:1.1fr 1fr 1fr;gap:clamp(35px,5vw,82px);padding-bottom:70px;align-items:start}
body.v12-site .pr-footer-final .pr-footer-brand img{display:block;filter:none!important;width:min(300px,100%);height:auto;max-height:none;object-fit:contain;object-position:left}
body.v12-site .pr-footer-brand p{font-size:15px;line-height:1.7;max-width:280px;color:#4d635a;margin:18px 0 0}
body.v12-site .pr-footer-final__grid :is(.pr-footer-links,.pr-footer-contact){display:flex;flex-direction:column;align-items:flex-start;gap:12px}
body.v12-site .pr-footer-final__grid strong{display:block;font-size:13px;font-weight:750;letter-spacing:.09em;text-transform:uppercase;margin:7px 0 14px;color:#24594d}
body.v12-site .pr-footer-links>div{display:grid;grid-template-columns:1fr 1fr;gap:12px 25px}
body.v12-site .pr-footer-final a{font-size:14px;color:#16382e;text-decoration:none;line-height:1.45}
body.v12-site .pr-footer-final a:hover{text-decoration:underline;text-underline-offset:4px}
body.v12-site .pr-footer-contact>span{font-size:14px;color:#385e52;margin-bottom:12px}
body.v12-site .pr-footer-contact nav{display:flex;flex-direction:column;gap:12px;padding-top:16px;border-top:1px solid #d6e4de;width:100%}
body.v12-site .pr-footer-contact nav a{font-size:12px;color:#24594d;text-decoration:underline;text-underline-offset:3px}
body.v12-site .pr-footer-bottom{display:flex;justify-content:space-between;align-items:center;gap:25px;border-top:1px solid #d2dfd8;padding-block:23px}
body.v12-site .pr-footer-bottom span{font-size:12px;color:#4b6258;line-height:1.5}
/* On WP, Genesis parent wrappers may apply white container / default widths: limit changes to V12. */
body.v12-site .site-footer{background:#f1f6f3!important;padding:0!important}
body.v12-site .site-footer>.wrap{width:100%;max-width:none;padding:0}
@media(max-width:1290px){
 :root{--pr-sticky-header:82px}
 body.v12-site .v12-header .v9-header__inner{min-height:82px;grid-template-columns:1fr auto;gap:12px}
 body.v12-site .v12-header .v11-brand img{height:74px;width:205px}
 body.v12-site .v12-header .v9-nav,body.v12-site .v12-header .v9-header__cta{display:none}
 body.v12-site .v12-header .v9-mobile{display:block}
}
@media(max-width:1040px){
 body.v12-site .v9-pv-audiences .v9-shell{grid-template-columns:repeat(2,minmax(0,1fr))}
 body.v12-site .v9-flow{overflow-x:auto;scroll-snap-type:x mandatory;gap:10px}
 body.v12-site .v9-flow>div{flex:0 0 min(42vw,265px);scroll-snap-align:start}
 body.v12-site .v9-flow>i{display:none}
 body.v12-site .pr-footer-final__grid{grid-template-columns:1fr 1fr;gap:45px}
 body.v12-site .pr-footer-brand{grid-column:1/-1}
}
@media(max-width:700px){
 :root{--pr-sticky-header:74px}
 body.v12-site .v12-header .v9-header__inner{min-height:74px}
 body.v12-site .v12-header .v11-brand img{height:62px;width:175px}
 body.v12-site .v9-service-rail__inner{padding-block:8px}
 body.v12-site .v10-house-hero{min-height:570px}
 body.v12-site .v10-house-hero h1{max-width:100%;font-size:clamp(41px,9vw,60px);line-height:1.12;letter-spacing:-.034em;margin-bottom:22px}
 body.v12-site .v10-house-hero h1 br{display:none}
 body.v12-site .v10-house-hero>.v9-shell{padding-bottom:56px;padding-top:38px}
 body.v12-site main :where(section,article,details) p:not(.v9-kicker){text-align:left!important;hyphens:none!important;-webkit-hyphens:none!important}
 body.v12-site .v10-house-map article,body.v12-site .v10-house-map article:nth-child(-n+2){min-height:0;padding:28px;margin-bottom:12px}
 body.v12-site .v10-house-map h3{min-height:0;margin-bottom:12px}
 body.v12-site .v9-pv-audiences .v9-shell{grid-template-columns:1fr}
 body.v12-site .v9-pv-audiences article{min-height:0;padding:28px 24px}
 body.v12-site .v9-pv-audiences h3{min-height:0;margin:15px 0 10px}
 body.v12-site .v9-flow>div{flex-basis:77vw;min-height:182px}
 body.v12-site .v9-flow>div b,body.v12-site .v9-flow>div small{min-height:0}
 body.v12-site .v9-flow>div span{margin-bottom:0}
 body.v12-site .v9-cta .v9-kicker{font-size:11px}
 body.v12-site .v9-cta h2{font-size:clamp(41px,10vw,56px);line-height:1.08}
 body.v12-site .v9-home-work{padding-bottom:62px}
 body.v12-site .pr-security-graphic{min-height:280px;padding:15px;gap:8px}
 body.v12-site .pr-security-graphic span{padding:14px 8px;font-size:12px}
 body.v12-site .pr-charge-deco{font-size:15px;padding:15px 18px;white-space:normal;text-align:center}
 body.v12-site .pr-electric-route,body.v12-site .v9-work-link .pr-electric-route{min-height:320px;height:auto;padding:22px}
 body.v12-site .pr-footer-final{padding-top:48px}
 body.v12-site .pr-footer-final__grid{grid-template-columns:1fr;gap:38px;padding-bottom:45px}
 body.v12-site .pr-footer-brand{grid-column:auto}
 body.v12-site .pr-footer-final .pr-footer-brand img{width:min(265px,85vw)}
 body.v12-site .pr-footer-bottom{flex-direction:column;align-items:flex-start;gap:8px;padding:20px 0}
 body.v12-site .v11-price-card{min-height:220px;padding:24px 18px}
 body.v12-site .v11-price-card strong{font-size:40px}
}
@media(prefers-reduced-motion:reduce){body.v12-site :is(.v9-btn,.v9-home-work__strip img,.v9-link){transition:none!important}html{scroll-behavior:auto}}
