/* EnySolar REV G 18/11/2026: mobile, progetti reali e landing SEO Novara.
   Stili isolati, senza modificare navbar JS, configuratore o PHP. */
.eny-g-container{width:min(1180px,calc(100% - 40px));margin-inline:auto}
.eny-g-kicker{font-size:12px!important;letter-spacing:.14em;font-weight:800;color:#5a9f89;text-transform:uppercase;margin:0 0 8px!important}
.eny-g-local{background:#eaf2ef;color:#0c3036;border-block:1px solid #dce7df}
.eny-g-local-inner{width:min(1180px,calc(100% - 44px));margin:0 auto;padding:34px 0;display:grid;grid-template-columns:minmax(0,1.6fr) minmax(0,.8fr);align-items:center;gap:30px}
.eny-g-local h2{margin:0 0 8px;font-size:clamp(23px,2.3vw,31px);line-height:1.23}
.eny-g-local p:not(.eny-g-kicker){margin:0;max-width:720px;line-height:1.55;font-size:15px}
.eny-g-local-ctas{display:flex;flex-direction:column;gap:12px;align-items:flex-start}
.eny-g-btn{display:inline-block;background:#0a5360;color:white!important;font-weight:800;text-decoration:none;border-radius:9px;padding:12px 17px}
.eny-g-link{color:#0b5260!important;font-weight:800;text-underline-offset:3px}
.eny-g-project-conversion{display:flex;align-items:center;justify-content:space-between;gap:26px;padding:18px 22px;background:#f2f8f5;border:1px solid #dae8df;border-radius:13px;margin:0 0 25px}
.eny-g-project-conversion p{max-width:680px;margin:0;font-size:14px}
.eny-g-project-conversion a{flex:0 0 auto;max-width:300px;color:#07546e;font-size:14px;font-weight:800;text-decoration:underline;text-underline-offset:3px}
.eny-g-section{padding:66px 0}
.eny-g-section *, .eny-g-local *{box-sizing:border-box}
.eny-g-container{width:min(1180px,calc(100% - 40px));margin-inline:auto}
.eny-g-section h2{font-size:clamp(28px,3.4vw,45px);line-height:1.18;margin:10px 0 14px;letter-spacing:-.025em}
.eny-g-section h2 em{font-style:normal;color:#6ca97e}
.eny-g-intro{max-width:820px;font-size:16px;line-height:1.7;color:#48636b;margin:0 0 26px}
.eny-g-real{background:#f3f7f5;color:#0a2932}
.eny-g-cases{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.eny-g-case{display:block;min-width:0;overflow:hidden;border-radius:14px;text-decoration:none;color:#123742!important;background:#fff;box-shadow:0 5px 24px rgba(4,34,42,.09);transition:transform .2s ease,box-shadow .2s ease}
.eny-g-case:hover{transform:translateY(-3px);box-shadow:0 9px 28px rgba(4,34,42,.13)}
.eny-g-case img{display:block;width:100%!important;height:200px!important;max-height:200px;object-fit:cover;object-position:center 48%;}
.eny-g-case-copy{padding:17px 18px 19px}
.eny-g-city{font-size:16px;font-weight:900;color:#0b3744}
.eny-g-case-copy p{min-height:52px;font-size:14px;line-height:1.5;color:#52646a;margin:6px 0 12px}
.eny-g-case-copy strong{font-size:13px;line-height:1.35;color:#0b6371}
.eny-g-real-note{font-size:13px;color:#60747a;margin:18px 0}
.eny-g-outline{display:inline-flex;border:1px solid #115e70;border-radius:8px;padding:12px 17px;font-weight:800;color:#0a4a5d;text-decoration:none}
.eny-g-technical{background:#fff;color:#0c2937}
.eny-g-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:28px 0}
.eny-g-steps article{min-width:0;border:1px solid #deeaeb;border-radius:12px;padding:22px;background:#f9fbfa}
.eny-g-steps article>span{font-weight:900;color:#5b9d79;font-size:14px}
.eny-g-steps h3{font-size:20px;margin:10px 0;color:#0b333c}
.eny-g-steps p{margin:0;font-size:14px;color:#506871;line-height:1.6}
.eny-g-local-contact{display:flex;align-items:center;justify-content:space-between;gap:26px;background:#0a2736;color:white;border-radius:13px;padding:24px;margin-top:26px}
.eny-g-local-contact strong{display:block;font-size:17px}
.eny-g-local-contact p{font-size:13px;max-width:700px;line-height:1.65;margin:6px 0 0;color:#d0e3e7}
.eny-g-contact-actions{display:flex;flex-direction:column;gap:10px;flex:0 0 255px}
.eny-g-contact-actions a{display:block;text-align:center;padding:11px 15px;background:#bedb7b;color:#142c20;text-decoration:none;border-radius:7px;font-size:13px;font-weight:900}
.eny-g-contact-actions a:first-child{background:transparent;border:1px solid #a4cdca;color:#fff}
@media (max-width:1020px){
 .eny-g-cases{grid-template-columns:repeat(2,minmax(0,1fr))}
 .eny-g-local-inner{grid-template-columns:1fr}
 .eny-g-project-conversion{align-items:flex-start;flex-direction:column}
 .eny-g-project-conversion a{max-width:100%}
}
@media (max-width:760px){
 /* Mobile: niente colonne fotografiche strette o altezza derivata dalle immagini originali. */
 .eny-g-cases{grid-template-columns:minmax(0,1fr)!important;gap:16px}
 .eny-g-case img{height:clamp(185px,55vw,240px)!important;max-height:240px!important;object-fit:cover!important}
 .eny-g-case-copy p{min-height:0}
 .eny-g-steps{grid-template-columns:1fr}
 .eny-g-local-contact{display:block}
 .eny-g-contact-actions{display:flex;flex-direction:column;margin-top:18px}
 .eny-g-section{padding:45px 0}
 .eny-g-container{width:calc(100% - 28px)}
 .eny-g-local-inner{width:calc(100% - 30px);padding:26px 0}
 .eny-g-local-ctas{gap:14px}
 .eny-g-project-conversion{padding:17px}
 /* Home: intestazione e schede reali non devono superare la viewport. */
 html body header.top{max-width:100%;left:0!important;right:0!important;width:100%;box-sizing:border-box}
 html body header.top .brand{min-width:0;max-width:calc(100% - 75px);flex-shrink:1}
 html body header.top .brand img{max-width:100%;object-fit:contain}
 .hero .hero-content{max-width:100%;min-width:0;box-sizing:border-box;padding-left:20px!important;padding-right:20px!important}
 .hero .hero-content h1{max-width:100%;font-size:clamp(33px,9vw,47px)!important;line-height:1.1;overflow-wrap:normal;word-break:normal}
 .hero .hero-content .actions{max-width:100%;min-width:0;flex-wrap:wrap}
 .hero .hero-content .actions .button{max-width:100%;box-sizing:border-box}
 #realizzazioni .eny-real-grid{display:grid;grid-template-columns:minmax(0,1fr)!important;min-width:0;width:100%!important;max-width:100%!important}
 #realizzazioni .eny-real-card{min-width:0!important;width:100%!important;max-width:100%!important;overflow:hidden}
 #realizzazioni .eny-real-card img{display:block;width:100%!important;height:clamp(185px,54vw,238px)!important;max-height:238px!important;min-height:0!important;object-fit:cover!important;object-position:center!important}
 /* Progetti: copertine compatte e miniature proporzionate a una colonna. */
 #eny-cantieri-reali{width:100%;max-width:100%;box-sizing:border-box}
 #eny-cantieri-reali .eny-real-project-head{grid-template-columns:minmax(0,1fr)!important;min-width:0}
 #eny-cantieri-reali .eny-real-project-head img{width:100%!important;height:clamp(200px,56vw,245px)!important;min-height:0!important;max-height:245px!important;object-fit:cover!important}
 #eny-cantieri-reali .eny-real-photo-grid{grid-template-columns:minmax(0,1fr)!important;gap:12px!important}
 #eny-cantieri-reali .eny-real-photo-grid img{width:100%!important;height:clamp(195px,56vw,252px)!important;min-height:0!important;max-height:252px!important;aspect-ratio:auto!important;object-fit:cover!important}
 #eny-cantieri-reali .eny-real-nav{max-width:100%;flex-wrap:wrap;gap:8px}
 #eny-cantieri-reali .eny-real-project-copy{min-width:0}
 /* Landing pubblicitaria: testo, CTA e foto responsive. */
 .ads-page .ad-wrap{max-width:calc(100% - 30px);min-width:0}
 .ads-page .ad-hero-content{min-width:0}
 .ads-page .ad-hero-content h1{font-size:clamp(32px,8.6vw,44px);line-height:1.12;overflow-wrap:break-word}
 .ads-page .ad-actions .ad-btn{box-sizing:border-box;max-width:100%}
 .ads-page .ad-photo-grid img{display:block;width:100%;height:clamp(190px,55vw,240px);max-height:240px;object-fit:cover}
}
@media (max-width:380px){
 .hero .hero-content{padding-left:15px!important;padding-right:15px!important}
 .hero .hero-content h1{font-size:clamp(31px,9vw,36px)!important}
}
@media (prefers-reduced-motion: reduce){.eny-g-case{transition:none}}

.eny-g-progetti-jump{margin:10px 0 22px}.eny-g-progetti-jump a{display:inline-block;color:#0b596d;font-weight:800;text-decoration:underline;text-underline-offset:4px}
