
:root{
  --blue:#0751A6;
  --blue2:#0A63C8;
  --blue-dark:#053978;
  --green:#079329;
  --green2:#0AAE31;
  --yellow:#FFE400;
  --yellow2:#FFD400;
  --ink:#101820;
  --muted:#64717D;
  --soft:#F4F7FA;
  --line:#DCE4EA;
  --white:#FFFFFF;
  --max:1360px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:Manrope,Arial,sans-serif;color:var(--ink);background:#fff;overflow-x:hidden}
body.lock{overflow:hidden}
a{text-decoration:none;color:inherit}
img{display:block;max-width:100%}
button{font:inherit}
.container{width:min(calc(100% - 56px),var(--max));margin:auto}
.section{padding:132px 0}
.progress{position:fixed;top:0;left:0;height:3px;width:0;background:linear-gradient(90deg,var(--blue),var(--green),var(--yellow));z-index:200}

.header{position:fixed;z-index:100;top:0;left:0;right:0;height:88px;padding:0 4vw;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid rgba(255,255,255,.16);transition:.35s;color:#fff}
.header.scrolled{height:72px;background:rgba(255,255,255,.94);backdrop-filter:blur(18px);box-shadow:0 12px 45px rgba(0,30,70,.08);border-color:var(--line);color:var(--ink)}
.brand{width:245px;height:66px;display:flex;align-items:center}
.brand img{width:100%;height:auto}
.header:not(.scrolled) .brand img{filter:brightness(0) invert(1)}
.desktop-nav{display:flex;gap:30px;font-size:13px;font-weight:600}
.desktop-nav a{position:relative}
.desktop-nav a:after{content:"";position:absolute;left:0;bottom:-7px;width:0;height:2px;background:var(--yellow);transition:.25s}
.desktop-nav a:hover:after{width:100%}
.header-cta{padding:12px 18px;background:var(--yellow);color:#13283E;font-weight:800;font-size:12px;border-radius:7px}
.header-cta span{margin-left:8px}
.menu-button,.mobile-menu{display:none}

.hero{height:100svh;min-height:760px;position:relative;color:#fff;overflow:hidden}
.hero-photo{position:absolute;inset:-4%;background-image:url("media/c8fe54fc9da25d.png");background-size:cover;background-position:center 55%;will-change:transform}
.hero-overlay{position:absolute;inset:0;background:linear-gradient(90deg,rgba(3,38,90,.88) 0%,rgba(4,72,130,.56) 48%,rgba(3,35,77,.16) 100%),linear-gradient(0deg,rgba(0,22,50,.55),transparent 55%)}
.hero-orbit{position:absolute;border:1px solid rgba(255,255,255,.12);border-radius:50%;animation:spin 18s linear infinite}
.orbit-one{width:440px;height:440px;right:-130px;top:16%}
.orbit-two{width:610px;height:610px;right:-200px;top:8%;animation-duration:30s;animation-direction:reverse}
@keyframes spin{to{transform:rotate(360deg)}}
.hero-content{width:min(calc(100% - 8vw),var(--max));height:100%;margin:auto;position:relative;z-index:2;display:flex;flex-direction:column;justify-content:center;padding-top:100px}
.hero-top{display:flex;gap:10px;margin-bottom:36px}
.badge{border:1px solid rgba(255,255,255,.35);background:rgba(255,255,255,.10);backdrop-filter:blur(12px);padding:10px 13px;border-radius:999px;font-size:10px;font-weight:700;letter-spacing:.05em}
.badge span{display:inline-block;width:7px;height:7px;border-radius:50%;background:var(--yellow);margin-right:8px;box-shadow:0 0 0 5px rgba(255,228,0,.12)}
.overline,.section-eyebrow{font-size:11px;font-weight:800;letter-spacing:.17em;text-transform:uppercase}
.overline{color:var(--yellow);margin-bottom:18px}
h1,h2,h3{margin:0;font-family:Manrope,sans-serif}
h1{font-size:clamp(54px,6.7vw,104px);line-height:.92;letter-spacing:-.06em;max-width:1120px;font-weight:800}
h1 em,h2 em{font-style:normal;font-weight:500}
h1 em{color:#D8E8FA}
.hero-text{max-width:690px;font-size:17px;line-height:1.7;color:#E6F0F9;margin-top:28px}
.hero-buttons{display:flex;gap:12px;margin-top:32px}
.primary-btn,.glass-btn,.dark-btn{min-height:54px;padding:0 22px;border-radius:7px;display:inline-flex;align-items:center;justify-content:center;gap:12px;font-size:13px;font-weight:800;transition:.25s}
.primary-btn{background:var(--yellow);color:#162D47;box-shadow:0 10px 30px rgba(255,228,0,.12)}
.primary-btn:hover{transform:translateY(-3px);box-shadow:0 16px 38px rgba(255,228,0,.25)}
.glass-btn{color:#fff;border:1px solid rgba(255,255,255,.45);background:rgba(255,255,255,.08);backdrop-filter:blur(8px)}
.glass-btn:hover{background:rgba(255,255,255,.16)}
.hero-bottom{margin-top:auto;padding:28px 0 34px;border-top:1px solid rgba(255,255,255,.20);display:flex;justify-content:space-between;align-items:end}
.location{display:flex;gap:14px;align-items:flex-start}
.pin-dot{width:10px;height:10px;border-radius:50%;background:var(--green2);margin-top:7px;box-shadow:0 0 0 7px rgba(10,174,49,.13)}
.location div,.hero-status{display:flex;flex-direction:column;gap:4px}
.hero-bottom small{font-size:9px;letter-spacing:.13em;color:#BFD1E2}.hero-bottom strong{font-size:15px}.hero-bottom span{font-size:11px;color:#D0DFEC}
.hero-status{text-align:right}
.scroll-cue{position:absolute;right:24px;bottom:35%;z-index:3;writing-mode:vertical-rl;font-size:9px;letter-spacing:.16em;display:flex;align-items:center;gap:12px}
.scroll-cue span{width:1px;height:65px;background:linear-gradient(var(--yellow),transparent)}

.brand-marquee{overflow:hidden;background:var(--yellow);color:#15325A;padding:17px 0;border-bottom:1px solid #e4ce00}
.marquee-track{display:flex;width:max-content;gap:22px;align-items:center;animation:marquee 24s linear infinite;font-weight:800;font-size:13px;letter-spacing:.08em}
.marquee-track b{color:var(--green)}
@keyframes marquee{to{transform:translateX(-50%)}}

.section-eyebrow{display:flex;align-items:center;gap:12px;color:var(--blue);margin-bottom:48px}
.section-eyebrow span{width:30px;height:30px;border:1px solid var(--line);display:grid;place-items:center;border-radius:50%;font-size:8px}
.section-eyebrow.light{color:var(--yellow)}
.section-eyebrow.light span{border-color:rgba(255,255,255,.25)}
.section-title{font-size:clamp(45px,5.5vw,82px);line-height:1;letter-spacing:-.055em}
.section-title em{color:#8393A0}
.identity-grid,.services-heading,.projects-head{display:grid;grid-template-columns:1.25fr .75fr;gap:80px;align-items:end}
.identity-copy,.section-intro{color:var(--muted);font-size:16px;line-height:1.8}
.identity-copy p:first-child{margin-top:0}
.metrics{display:grid;grid-template-columns:repeat(4,1fr);margin-top:75px;border-top:1px solid var(--line);border-left:1px solid var(--line)}
.metric{min-height:320px;padding:30px;border-right:1px solid var(--line);border-bottom:1px solid var(--line);position:relative;overflow:hidden}
.metric:after{content:"";position:absolute;width:120px;height:120px;border-radius:50%;background:rgba(7,81,166,.06);right:-55px;top:-55px}
.metric-value,.metric-big{font-size:clamp(58px,6vw,88px);font-weight:800;letter-spacing:-.06em;color:var(--blue);display:inline-block}
.metric>span{font-size:38px;font-weight:800;color:var(--green)}
.metric h3{font-size:18px;margin-top:85px}.metric p{font-size:13px;line-height:1.7;color:var(--muted)}
.accent-blue{background:var(--blue);color:#fff}.accent-blue .metric-big,.accent-blue p{color:#fff}.accent-blue p{opacity:.76}
.accent-yellow{background:var(--yellow)}.accent-yellow .metric-big{color:var(--green)}

.services{background:var(--soft)}
.services-heading{margin-bottom:65px}
.services-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.service-card{background:#fff;border:1px solid var(--line);border-radius:16px;overflow:hidden;transition:transform .25s,box-shadow .25s;transform-style:preserve-3d}
.service-card:hover{box-shadow:0 30px 60px rgba(8,57,112,.14)}
.service-image{height:280px;position:relative;overflow:hidden;background:#DCE7EF}
.service-image img{width:100%;height:100%;object-fit:cover;transition:.6s}
.service-card:hover .service-image img{transform:scale(1.05)}
.service-index{position:absolute;top:16px;left:16px;width:42px;height:42px;border-radius:50%;display:grid;place-items:center;background:rgba(255,255,255,.92);color:var(--blue);font-size:10px;font-weight:800}
.service-copy{padding:24px 24px 28px}
.service-copy h3{font-size:23px}.service-copy p{min-height:65px;color:var(--muted);font-size:13px;line-height:1.7}.service-copy a{font-size:12px;font-weight:800;color:var(--blue)}.service-copy a span{color:var(--green);margin-left:6px}

.installers{height:900px;position:relative;color:#fff;overflow:hidden}
.installers-image{position:absolute;inset:-5%;background:url("media/43707c63fd31ee.jpg") center/cover no-repeat}
.installers-overlay{position:absolute;inset:0;background:linear-gradient(90deg,rgba(4,38,87,.9),rgba(4,55,108,.62) 53%,rgba(0,0,0,.12))}
.installers-content{height:100%;position:relative;z-index:2;display:flex;align-items:center}
.installers-panel{max-width:820px}
.installers-panel h2{font-size:clamp(48px,5.7vw,84px);line-height:1;letter-spacing:-.055em}
.installers-panel h2 em{color:#D5E5F5}
.installers-panel>p{max-width:720px;color:#D7E5F1;line-height:1.8}
.installers-points{display:grid;grid-template-columns:1fr 1fr;margin-top:42px;max-width:720px}
.installers-points div{padding:18px 0;border-bottom:1px solid rgba(255,255,255,.18);display:flex;align-items:center;gap:12px}
.installers-points i{width:10px;height:10px;background:var(--yellow);border-radius:50%}
.installers-points span{font-size:13px;font-weight:700}

.projects{overflow:hidden}
.project-controls{display:flex;justify-content:flex-end;gap:10px}
.project-controls button{width:52px;height:52px;border-radius:50%;border:1px solid var(--line);background:#fff;cursor:pointer;font-size:18px;transition:.25s}
.project-controls button:hover{background:var(--blue);color:#fff;border-color:var(--blue)}
.project-track-wrap{margin-top:65px;overflow:hidden}
.project-track{display:flex;gap:18px;padding:0 calc((100vw - min(calc(100% - 56px),var(--max)))/2);transition:transform .6s cubic-bezier(.2,.8,.2,1);will-change:transform}
.project-card{min-width:min(720px,68vw);height:520px;position:relative;overflow:hidden;border-radius:16px}
.project-card img{width:100%;height:100%;object-fit:cover;transition:.7s}.project-card:hover img{transform:scale(1.04)}
.project-caption{position:absolute;left:20px;right:20px;bottom:20px;padding:17px 18px;border-radius:10px;background:rgba(5,41,88,.72);backdrop-filter:blur(14px);color:#fff;display:flex;justify-content:space-between;align-items:center}
.project-caption span{color:var(--yellow);font-size:10px}.project-caption strong{font-size:14px}

.roof-types{background:#fff}
.roof-grid{display:grid;grid-template-columns:.9fr 1.1fr;gap:100px}
.roof-sticky{position:sticky;top:115px;height:max-content}.roof-sticky p{max-width:520px;color:var(--muted);line-height:1.8}
.roof-list{border-top:1px solid var(--line)}
.roof-item{display:grid;grid-template-columns:55px 1fr 35px;align-items:center;padding:26px 10px;border-bottom:1px solid var(--line);transition:.25s}
.roof-item:hover{padding-left:20px;background:var(--soft);color:var(--blue)}
.roof-item span{font-size:10px;color:#8B98A2}.roof-item strong{font-size:20px}.roof-item i{font-style:normal;color:var(--green)}

.process{background:linear-gradient(135deg,#073F89,#0866C3);color:#fff}
.process .section-eyebrow{color:var(--yellow)}.process .section-eyebrow span{border-color:rgba(255,255,255,.23)}
.process .section-title em{color:#C8DCF0}
.process-line{display:grid;grid-template-columns:repeat(6,1fr);margin-top:75px;position:relative}
.process-line:before{content:"";position:absolute;top:21px;left:0;right:0;height:2px;background:rgba(255,255,255,.17)}
.process-progress{position:absolute;top:21px;left:0;height:2px;width:0;background:var(--yellow);box-shadow:0 0 14px rgba(255,228,0,.55)}
.process-step{padding-right:24px;position:relative;z-index:2}
.process-step b{width:44px;height:44px;border-radius:50%;background:#fff;color:var(--blue);display:grid;place-items:center;font-size:10px}
.process-step h3{font-size:19px;margin-top:28px}.process-step p{font-size:12px;line-height:1.65;color:#CDE0F3}

.incentives{min-height:740px;display:grid;grid-template-columns:1.05fr .95fr;background:#102239;color:#fff;overflow:hidden}
.incentives-copy{padding:110px max(4vw,40px);align-self:center;max-width:830px;margin-left:auto}
.incentives-copy h2{font-size:clamp(48px,5.6vw,84px);line-height:1;letter-spacing:-.055em}.incentives-copy h2 em{color:#C9DBEC}
.incentives-copy>p{color:#BBD0E1;line-height:1.8;max-width:650px}
.check-grid{display:grid;grid-template-columns:1fr 1fr;gap:0;margin:35px 0;border-top:1px solid rgba(255,255,255,.15);border-left:1px solid rgba(255,255,255,.15)}
.check-grid span{padding:18px;border-bottom:1px solid rgba(255,255,255,.15);border-right:1px solid rgba(255,255,255,.15);font-size:13px}
.incentives-visual{position:relative;overflow:hidden;background:linear-gradient(135deg,var(--yellow),#FFF36B)}
.sun-disc{position:absolute;width:520px;height:520px;border-radius:50%;background:radial-gradient(circle,#fff 0 11%,var(--yellow) 12% 45%,rgba(255,255,255,.17) 46% 47%,transparent 48%);left:50%;top:50%;transform:translate(-50%,-50%);animation:pulseSun 4s ease-in-out infinite}
@keyframes pulseSun{50%{transform:translate(-50%,-50%) scale(1.045)}}
.floating-logo{position:absolute;width:250px;left:50%;top:50%;transform:translate(-50%,-50%);filter:drop-shadow(0 25px 35px rgba(0,50,110,.22));animation:float 5s ease-in-out infinite}
@keyframes float{50%{transform:translate(-50%,-55%)}}
.energy-ring{position:absolute;border:2px solid rgba(7,81,166,.18);border-radius:50%;left:50%;top:50%;transform:translate(-50%,-50%)}.ring-a{width:650px;height:650px}.ring-b{width:820px;height:820px}

.contact{background:#fff}
.contact-box{background:linear-gradient(120deg,var(--yellow),#FFF164);padding:70px;border-radius:20px;display:grid;grid-template-columns:1.25fr .75fr;gap:90px;position:relative;overflow:hidden}
.contact-box:after{content:"";position:absolute;width:320px;height:320px;border-radius:50%;border:1px solid rgba(7,81,166,.16);right:-90px;top:-120px}
.dark{color:var(--blue)}
.contact-box h2{font-size:clamp(45px,5.2vw,76px);line-height:1;letter-spacing:-.05em}.contact-box h2 em{color:var(--green)}
.contact-info{align-self:end;position:relative;z-index:2}.contact-info>p{line-height:1.75;color:#30485E}
.dark-btn{background:var(--blue);color:#fff}.dark-btn:hover{background:var(--blue-dark);transform:translateY(-2px)}
.contacts{display:flex;gap:22px;flex-wrap:wrap;margin-top:20px;font-size:11px;color:#385063}

.floating-contact{position:fixed;z-index:70;right:22px;bottom:22px;background:var(--blue);color:#fff;border-radius:999px;padding:10px 10px 10px 18px;display:flex;align-items:center;gap:12px;box-shadow:0 15px 40px rgba(7,81,166,.25);font-size:12px;font-weight:800}
.floating-contact b{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:var(--yellow);color:var(--blue)}

footer{background:#07182B;color:#E2EBF3;padding:72px 0}
.footer-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr 1.1fr;gap:60px}
.footer-brand img{width:220px;filter:none}.footer-grid small{font-size:9px;letter-spacing:.15em;color:#7590A8}.footer-grid p{font-size:12px;line-height:1.75;color:#AABECE}.footer-last{text-align:right}.footer-last span{font-size:10px;color:#71899D}

.reveal{opacity:0;transform:translateY(30px);transition:opacity .8s ease,transform .8s cubic-bezier(.2,.8,.2,1)}
.reveal.in{opacity:1;transform:none}

@media(max-width:1100px){
  .desktop-nav{display:none}.header-cta{display:none}
  .menu-button{display:block;width:46px;height:46px;border:0;background:transparent;color:inherit;position:relative}
  .menu-button i{position:absolute;left:11px;width:24px;height:1px;background:currentColor;transition:.25s}.menu-button i:first-child{top:18px}.menu-button i:last-child{top:26px}
  .mobile-menu{position:fixed;z-index:90;inset:72px 0 0;background:#fff;padding:38px 28px;flex-direction:column;gap:20px}.mobile-menu.open{display:flex}
  .mobile-menu>a:not(.primary-btn){font-size:30px;font-weight:800;padding-bottom:15px;border-bottom:1px solid var(--line)}
  .identity-grid,.services-heading,.projects-head,.roof-grid,.contact-box{grid-template-columns:1fr;gap:35px}
  .metrics{grid-template-columns:1fr 1fr}
  .services-grid{grid-template-columns:1fr 1fr}
  .roof-sticky{position:static}
  .process-line{grid-template-columns:repeat(3,1fr);row-gap:55px}.process-line:before,.process-progress{display:none}
  .incentives{grid-template-columns:1fr}.incentives-copy{margin:0;max-width:none}.incentives-visual{min-height:580px}
  .footer-grid{grid-template-columns:1fr 1fr}.footer-last{text-align:left}
}
@media(max-width:720px){
  .container{width:calc(100% - 34px)}.section{padding:88px 0}
  .header{height:72px;padding:0 17px}.brand{width:184px}
  .hero{min-height:760px}.hero-photo{background-position:59% center}.hero-overlay{background:linear-gradient(90deg,rgba(3,38,90,.92),rgba(4,72,130,.58))}
  .hero-content{width:calc(100% - 34px);padding-top:90px}
  .hero-top{flex-wrap:wrap;gap:6px;margin-bottom:26px}.badge{font-size:8px;padding:8px 9px}
  h1{font-size:clamp(45px,13.4vw,64px)}.hero-text{font-size:14px;line-height:1.65}
  .hero-buttons{flex-direction:column}.hero-buttons a{width:100%}
  .hero-bottom{align-items:flex-start;flex-direction:column;gap:18px}.hero-status{text-align:left}.scroll-cue{display:none}
  .brand-marquee{padding:14px 0}.marquee-track{font-size:10px}
  .section-eyebrow{margin-bottom:32px}.section-title{font-size:clamp(41px,12vw,57px)}
  .metrics{grid-template-columns:1fr}.metric{min-height:230px}.metric h3{margin-top:45px}
  .services-grid{grid-template-columns:1fr}.service-image{height:250px}
  .installers{height:auto;min-height:850px}.installers-content{padding-top:90px;padding-bottom:90px}.installers-image{background-position:65% center}
  .installers-points{grid-template-columns:1fr}
  .project-track{padding-left:17px}.project-card{min-width:88vw;height:470px}
  .roof-item strong{font-size:17px}
  .process-line{grid-template-columns:1fr}.process-step{display:grid;grid-template-columns:55px 1fr;column-gap:12px;padding:16px 0;border-bottom:1px solid rgba(255,255,255,.16)}.process-step b{grid-row:1/3}.process-step h3{margin:4px 0 4px}.process-step p{margin:0}
  .incentives-copy{padding:80px 18px}.check-grid{grid-template-columns:1fr}.incentives-visual{min-height:430px}.floating-logo{width:180px}.sun-disc{width:370px;height:370px}
  .contact-box{padding:38px 24px;border-radius:14px}.contact-info{margin-top:10px}
  .floating-contact span{display:none}.floating-contact{padding:8px}.floating-contact b{width:46px;height:46px}
  .footer-grid{grid-template-columns:1fr;gap:30px}
}


/* ===== V4 refinement ===== */

/* Hero più compatta */
.hero{
  height:74vh;
  min-height:620px;
  max-height:760px;
}
.hero-content{padding-top:86px}
.hero-top{margin-bottom:24px}
.hero-text{margin-top:20px}
.hero-buttons{margin-top:24px}
.hero-bottom{padding:20px 0 22px}
.scroll-cue{bottom:26%}

/* logo sempre nei colori originali */
.header:not(.scrolled) .brand img{filter:none}
.header:not(.scrolled) .brand{
  background:rgba(255,255,255,.95);
  border-radius:8px;
  padding:6px 10px;
  width:225px;
  box-shadow:0 6px 18px rgba(0,25,70,.08);
}

/* Togliamo eccesso di giallo */
.brand-marquee{
  background:#f4f7fa;
  color:var(--blue);
  border-bottom:1px solid var(--line);
}
.marquee-track b{color:var(--green)}
.primary-btn{
  background:var(--blue);
  color:#fff;
  box-shadow:0 10px 30px rgba(7,81,166,.14);
}
.primary-btn:hover{
  box-shadow:0 16px 38px rgba(7,81,166,.24);
}
.header-cta{
  background:#fff;
  color:var(--blue);
  border:1px solid rgba(7,81,166,.2)
}
.header.scrolled .header-cta{
  background:var(--blue);
  color:#fff;
}
.badge span{background:var(--yellow)}

/* Carosello: leggermente più morbido */
.project-track{
  transition:transform .85s cubic-bezier(.22,.8,.2,1);
}
.project-track-wrap{
  cursor:grab;
}
.project-track-wrap:active{
  cursor:grabbing;
}

/* Incentivi e pratiche V4 */
.incentives-new{
  background:linear-gradient(180deg,#f7f9fb 0%,#eef4f8 100%);
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
}
.incentives-head{
  display:grid;
  grid-template-columns:1.2fr .8fr;
  gap:80px;
  align-items:end;
  margin-bottom:64px;
}
.incentive-layout{
  display:grid;
  grid-template-columns:1.05fr .95fr;
  gap:18px;
}
.incentive-main{
  background:linear-gradient(135deg,#083d80,#075bb6);
  color:#fff;
  border-radius:18px;
  padding:42px;
  display:flex;
  flex-direction:column;
  min-height:560px;
  box-shadow:0 26px 65px rgba(6,62,126,.14);
}
.mini-label{
  font-size:10px;
  letter-spacing:.16em;
  font-weight:800;
  color:#bcd6ef;
}
.incentive-main h3{
  font-size:clamp(34px,3.4vw,54px);
  line-height:1.03;
  letter-spacing:-.045em;
  margin-top:18px;
  max-width:690px;
}
.incentive-main-top p{
  color:#d7e6f3;
  line-height:1.8;
  max-width:660px;
}
.practice-flow{
  margin-top:auto;
  display:grid;
  grid-template-columns:1fr 1fr;
  border-top:1px solid rgba(255,255,255,.18);
  border-left:1px solid rgba(255,255,255,.18);
}
.practice-step{
  padding:20px;
  border-right:1px solid rgba(255,255,255,.18);
  border-bottom:1px solid rgba(255,255,255,.18);
  display:grid;
  grid-template-columns:38px 1fr;
  gap:10px;
}
.practice-step b{
  color:var(--yellow);
  font-size:10px;
}
.practice-step div{
  display:flex;
  flex-direction:column;
  gap:6px;
}
.practice-step strong{font-size:14px}
.practice-step span{font-size:11px;line-height:1.55;color:#bcd0e1}

.incentive-cards{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px;
}
.info-card{
  background:#fff;
  border:1px solid var(--line);
  border-radius:18px;
  padding:28px;
  min-height:270px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  transition:.28s;
}
.info-card:hover{
  transform:translateY(-5px);
  box-shadow:0 18px 40px rgba(7,81,166,.09);
  border-color:#bed1df;
}
.info-icon{
  width:62px;
  height:62px;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:#eaf2fb;
  color:var(--blue);
  font-weight:800;
  font-size:14px;
}
.info-card:nth-child(3) .info-icon,
.info-card:nth-child(4) .info-icon{
  background:#edf7ef;
  color:var(--green);
}
.info-card h3{
  font-size:20px;
  margin-bottom:8px;
}
.info-card p{
  color:var(--muted);
  font-size:12px;
  line-height:1.7;
  margin:0;
}
.incentive-cta{
  margin-top:18px;
  padding:24px 28px;
  border-radius:16px;
  background:#fff;
  border:1px solid var(--line);
  display:flex;
  justify-content:space-between;
  gap:30px;
  align-items:center;
}
.incentive-cta div{
  display:flex;
  flex-direction:column;
  gap:6px;
}
.incentive-cta small{
  color:var(--blue);
  font-size:9px;
  font-weight:800;
  letter-spacing:.12em;
}
.incentive-cta strong{
  font-size:18px;
}
.blue-btn{
  min-height:50px;
  padding:0 20px;
  display:inline-flex;
  align-items:center;
  gap:10px;
  background:var(--blue);
  color:#fff;
  border-radius:7px;
  font-size:12px;
  font-weight:800;
  white-space:nowrap;
}

/* CTA finale meno aggressiva */
.contact{
  background:#f7f9fb;
}
.contact-box.soft-contact{
  background:linear-gradient(135deg,#ffffff 0%,#f3f7fb 100%);
  border:1px solid var(--line);
  box-shadow:0 20px 55px rgba(7,81,166,.08);
}
.contact-box.soft-contact:before{
  content:"";
  position:absolute;
  width:5px;
  left:0;
  top:0;
  bottom:0;
  background:linear-gradient(var(--blue),var(--green),var(--yellow));
}
.contact-box.soft-contact h2 em{color:var(--blue)}
.contact-box.soft-contact:after{
  border-color:rgba(7,81,166,.08);
}
.contact-box.soft-contact .dark-btn{
  background:var(--blue);
}

/* WhatsApp */
.whatsapp-float{
  position:fixed;
  right:22px;
  bottom:22px;
  z-index:80;
  background:#25D366;
  color:#fff;
  height:58px;
  padding:0 18px 0 12px;
  border-radius:999px;
  display:flex;
  align-items:center;
  gap:10px;
  box-shadow:0 15px 42px rgba(18,110,54,.28);
  font-size:12px;
  font-weight:800;
  transition:.25s;
}
.whatsapp-float:hover{
  transform:translateY(-3px);
  box-shadow:0 20px 50px rgba(18,110,54,.35);
}
.whatsapp-float svg{
  width:34px;
  height:34px;
  fill:#fff;
}

/* nasconde vecchio eventuale bottone */
.floating-contact{display:none!important}

@media(max-width:1100px){
  .hero{
    height:auto;
    min-height:690px;
    max-height:none;
  }
  .incentives-head,
  .incentive-layout{
    grid-template-columns:1fr;
    gap:34px;
  }
  .incentive-main{min-height:500px}
}

@media(max-width:720px){
  .hero{
    min-height:660px;
  }
  .header:not(.scrolled) .brand{
    width:180px;
    padding:5px 8px;
  }
  .hero-content{
    padding-top:95px;
  }
  .hero-top{margin-bottom:20px}
  .hero-text{margin-top:18px}
  .hero-buttons{margin-top:20px}
  .brand-marquee{padding:12px 0}
  .incentive-cards{
    grid-template-columns:1fr;
  }
  .incentive-main{
    padding:30px 24px;
    min-height:auto;
  }
  .practice-flow{
    grid-template-columns:1fr;
    margin-top:34px;
  }
  .incentive-cta{
    flex-direction:column;
    align-items:flex-start;
  }
  .blue-btn{width:100%;justify-content:center}
  .contact-box.soft-contact{
    padding:34px 23px;
  }
  .whatsapp-float{
    width:56px;
    height:56px;
    padding:0;
    justify-content:center;
    right:16px;
    bottom:16px;
  }
  .whatsapp-float span{display:none}
  .whatsapp-float svg{width:32px;height:32px}
}


/* ===== V5 refinement ===== */

/* Logo trasparente, senza box bianco */
.header:not(.scrolled) .brand{
  background:transparent !important;
  box-shadow:none !important;
  border-radius:0 !important;
  padding:0 !important;
  width:235px;
}
.header:not(.scrolled) .brand img{
  filter:none !important;
}
.header.scrolled .brand{
  width:215px;
}

/* Hero più viva */
.hero{
  position:relative;
}
.hero:after{
  content:"";
  position:absolute;
  left:-12%;
  bottom:-18%;
  width:520px;
  height:520px;
  border-radius:50%;
  background:radial-gradient(circle, rgba(7,147,41,.18) 0%, rgba(7,147,41,.06) 38%, transparent 64%);
  filter:blur(10px);
  animation:heroPulse 8s ease-in-out infinite;
}
@keyframes heroPulse{
  50%{transform:scale(1.08) translateY(-10px)}
}
.hero-stats{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-top:22px;
}
.hero-stat{
  min-width:170px;
  padding:14px 16px;
  border-radius:14px;
  background:rgba(255,255,255,.09);
  border:1px solid rgba(255,255,255,.16);
  backdrop-filter:blur(12px);
  box-shadow:0 18px 40px rgba(0,20,40,.12);
  animation:floatStat 6s ease-in-out infinite;
}
.hero-stat:nth-child(2){animation-delay:.7s}
.hero-stat:nth-child(3){animation-delay:1.4s}
@keyframes floatStat{
  50%{transform:translateY(-6px)}
}
.hero-stat strong{
  display:block;
  font-size:26px;
  line-height:1;
  color:#fff;
}
.hero-stat span{
  display:block;
  margin-top:8px;
  font-size:11px;
  color:#d9e6f2;
}
.hero-bottom{
  position:relative;
}
.hero-bottom:after{
  content:"";
  position:absolute;
  right:0;
  top:-12px;
  width:240px;
  height:1px;
  background:linear-gradient(90deg, transparent, rgba(255,255,255,.35));
}

/* Sezione identity meno piatta */
.identity{
  position:relative;
  overflow:hidden;
}
.identity:before{
  content:"";
  position:absolute;
  right:-120px;
  top:40px;
  width:420px;
  height:420px;
  border-radius:50%;
  background:radial-gradient(circle, rgba(7,81,166,.08), transparent 66%);
}
.identity:after{
  content:"";
  position:absolute;
  left:-160px;
  bottom:-120px;
  width:420px;
  height:420px;
  border-radius:50%;
  background:radial-gradient(circle, rgba(7,147,41,.07), transparent 66%);
}
.identity-grid{
  position:relative;
  z-index:2;
}
.metrics{
  grid-template-columns:repeat(5,1fr);
  position:relative;
  z-index:2;
}
.metric{
  background:#fff;
}
.metric:before{
  content:"";
  position:absolute;
  left:0;
  top:0;
  width:100%;
  height:4px;
  background:linear-gradient(90deg,var(--blue),var(--green),var(--yellow));
  opacity:.85;
}
.accent-green{
  background:#0c8f31;
  color:#fff;
}
.accent-green .metric-big,
.accent-green p{
  color:#fff;
}
.accent-green p{
  opacity:.82;
}

/* Services più dinamici */
.services{
  position:relative;
  overflow:hidden;
}
.services:before{
  content:"";
  position:absolute;
  right:-140px;
  top:100px;
  width:360px;
  height:360px;
  border-radius:50%;
  background:radial-gradient(circle, rgba(255,228,0,.12), transparent 68%);
}
.services-grid .service-card:nth-child(2),
.services-grid .service-card:nth-child(5){
  transform:translateY(22px);
}
.services-grid .service-card:nth-child(3),
.services-grid .service-card:nth-child(6){
  transform:translateY(44px);
}
.service-card{
  position:relative;
}
.service-card:before{
  content:"";
  position:absolute;
  left:0;
  right:0;
  top:0;
  height:4px;
  background:linear-gradient(90deg,var(--blue),var(--green),var(--yellow));
  z-index:2;
}

/* Sezione installatori più scenografica */
.installers-panel{
  background:rgba(7,42,90,.38);
  padding:34px 36px;
  border-radius:20px;
  border:1px solid rgba(255,255,255,.14);
  backdrop-filter:blur(10px);
  box-shadow:0 30px 70px rgba(0,20,45,.16);
}

/* Heading realizzazioni */
.projects-head{
  align-items:center;
}
.projects-note{
  color:var(--muted);
  font-size:13px;
  line-height:1.7;
  max-width:320px;
  justify-self:end;
}
.projects{
  position:relative;
}
.projects:before{
  content:"";
  position:absolute;
  right:-120px;
  top:120px;
  width:320px;
  height:320px;
  border-radius:50%;
  background:radial-gradient(circle, rgba(7,81,166,.06), transparent 70%);
}

/* Carosello: parte dall'inizio del layout, non dal centro */
.project-track-wrap{
  overflow:hidden;
  position:relative;
}
.project-track{
  padding-left:max(calc((100vw - min(calc(100% - 56px),var(--max)))/2), 28px) !important;
  padding-right:0 !important;
}
.project-card{
  min-width:min(700px,62vw);
}
.project-track-wrap:after{
  content:"";
  position:absolute;
  top:0;
  bottom:0;
  right:0;
  width:170px;
  pointer-events:none;
  background:linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,.86));
}

/* Roof types */
.roof-types{
  position:relative;
}
.roof-types:before{
  content:"";
  position:absolute;
  right:6%;
  top:85px;
  width:220px;
  height:220px;
  border-radius:50%;
  border:1px dashed rgba(7,81,166,.16);
  animation:spinSlow 26s linear infinite;
}
@keyframes spinSlow{
  to{transform:rotate(360deg)}
}

/* Incentivi */
.incentives-new{
  position:relative;
  overflow:hidden;
}
.incentives-new:before{
  content:"";
  position:absolute;
  right:-180px;
  top:-120px;
  width:420px;
  height:420px;
  border-radius:50%;
  background:radial-gradient(circle, rgba(255,228,0,.13), transparent 68%);
}
.incentives-new:after{
  content:"";
  position:absolute;
  left:-160px;
  bottom:-160px;
  width:380px;
  height:380px;
  border-radius:50%;
  background:radial-gradient(circle, rgba(7,81,166,.08), transparent 70%);
}
.incentive-main{
  position:relative;
  overflow:hidden;
}
.incentive-main:after{
  content:"";
  position:absolute;
  inset:auto -100px -100px auto;
  width:260px;
  height:260px;
  border-radius:50%;
  background:radial-gradient(circle, rgba(255,255,255,.09), transparent 70%);
}

/* CTA finale */
.contact-box.soft-contact{
  overflow:hidden;
}
.contact-box.soft-contact .contact-title{
  position:relative;
  z-index:2;
}
.contact-box.soft-contact:before{
  width:6px;
}
.contact-box.soft-contact .contact-title:after{
  content:"";
  position:absolute;
  right:-180px;
  top:-80px;
  width:300px;
  height:300px;
  border-radius:50%;
  background:radial-gradient(circle, rgba(7,81,166,.06), transparent 70%);
}

/* Responsive */
@media(max-width:1200px){
  .metrics{
    grid-template-columns:repeat(3,1fr);
  }
}
@media(max-width:1100px){
  .projects-note{
    justify-self:start;
    max-width:none;
  }
  .services-grid .service-card:nth-child(2),
  .services-grid .service-card:nth-child(3),
  .services-grid .service-card:nth-child(5),
  .services-grid .service-card:nth-child(6){
    transform:none;
  }
}
@media(max-width:720px){
  .header:not(.scrolled) .brand,
  .header.scrolled .brand{
    width:180px;
  }
  .hero-stats{
    display:grid;
    grid-template-columns:1fr 1fr;
  }
  .hero-stat{
    min-width:0;
  }
  .hero-stat:last-child{
    grid-column:1 / -1;
  }
  .metrics{
    grid-template-columns:1fr;
  }
  .project-track{
    padding-left:17px !important;
  }
  .project-card{
    min-width:86vw;
  }
  .projects-note{
    font-size:12px;
  }
  .installers-panel{
    padding:26px 22px;
  }
}


/* ===== V6 interactive layer ===== */

/* Hero interactive graphics */
.hero-cursor-glow{
  position:absolute;
  width:360px;
  height:360px;
  border-radius:50%;
  background:radial-gradient(circle, rgba(255,228,0,.16) 0%, rgba(7,147,41,.08) 32%, transparent 70%);
  pointer-events:none;
  z-index:1;
  transform:translate(-50%,-50%);
  opacity:.0;
  transition:opacity .25s;
  filter:blur(6px);
}
.hero:hover .hero-cursor-glow{opacity:1}

.energy-particle{
  position:absolute;
  z-index:2;
  width:8px;
  height:8px;
  border-radius:50%;
  background:var(--yellow);
  box-shadow:0 0 18px rgba(255,228,0,.75);
  opacity:.7;
}
.p1{right:28%;top:24%;animation:particleFloat 5.5s ease-in-out infinite}
.p2{right:16%;top:42%;animation:particleFloat 6.2s ease-in-out infinite .7s;background:var(--green2);box-shadow:0 0 18px rgba(10,174,49,.65)}
.p3{right:36%;bottom:24%;animation:particleFloat 4.7s ease-in-out infinite 1.3s}
.p4{left:46%;top:18%;animation:particleFloat 7s ease-in-out infinite .3s;background:#fff}
@keyframes particleFloat{
  50%{transform:translate(8px,-16px) scale(1.45);opacity:1}
}
.energy-line{
  position:absolute;
  z-index:1;
  border:1px solid rgba(255,255,255,.08);
  border-radius:50%;
  pointer-events:none;
}
.line-a{
  width:560px;height:560px;right:-120px;top:50%;transform:translateY(-50%);
  animation:orbitDrift 18s linear infinite;
}
.line-b{
  width:420px;height:420px;right:-50px;top:50%;transform:translateY(-50%);
  border-color:rgba(255,228,0,.12);
  animation:orbitDrift 13s linear infinite reverse;
}
@keyframes orbitDrift{to{transform:translateY(-50%) rotate(360deg)}}

.hero-float-card{
  position:absolute;
  z-index:4;
  right:5.5%;
  min-width:220px;
  padding:15px 17px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.18);
  background:rgba(6,48,100,.30);
  backdrop-filter:blur(14px);
  box-shadow:0 20px 45px rgba(0,25,60,.16);
  display:flex;
  flex-direction:column;
  gap:4px;
  animation:heroFloatCard 5s ease-in-out infinite;
}
.hero-float-card span{
  color:#c9d9e8;
  font-size:8px;
  letter-spacing:.15em;
  font-weight:800;
}
.hero-float-card strong{
  color:#fff;
  font-size:12px;
}
.hero-float-card i{
  position:absolute;
  right:16px;
  top:16px;
  width:9px;height:9px;border-radius:50%;
  background:var(--yellow);
  box-shadow:0 0 0 6px rgba(255,228,0,.1);
}
.card-production{top:31%}
.card-storage{top:48%;right:8%;animation-delay:1s}
.card-storage i{background:var(--green2);box-shadow:0 0 0 6px rgba(10,174,49,.12)}
@keyframes heroFloatCard{
  50%{transform:translateY(-8px)}
}

/* visual separators */
.identity .container,
.services .container,
.projects .container,
.roof-types .container,
.incentives-new .container,
.reviews .container{
  position:relative;
  z-index:2;
}
.section-eyebrow:after{
  content:"";
  height:1px;
  width:58px;
  background:linear-gradient(90deg,currentColor,transparent);
  opacity:.45;
}

/* Reveal more dynamic */
.reveal{
  transform:translateY(34px) scale(.985);
  filter:blur(2px);
}
.reveal.in{
  transform:none;
  filter:none;
}

/* metrics interactive */
.metric{
  transition:transform .35s ease,box-shadow .35s ease;
}
.metric:hover{
  transform:translateY(-8px);
  box-shadow:0 20px 44px rgba(7,81,166,.10);
  z-index:3;
}

/* floating decorative grid behind services */
.services:after{
  content:"";
  position:absolute;
  left:3%;
  bottom:7%;
  width:260px;
  height:260px;
  opacity:.25;
  background-image:linear-gradient(rgba(7,81,166,.12) 1px,transparent 1px),linear-gradient(90deg,rgba(7,81,166,.12) 1px,transparent 1px);
  background-size:26px 26px;
  mask-image:linear-gradient(135deg,#000,transparent 75%);
}

/* project cards animation */
.project-card{
  transition:transform .5s ease, box-shadow .5s ease;
}
.project-card:hover{
  transform:translateY(-9px);
  box-shadow:0 30px 65px rgba(6,43,89,.15);
}
.project-caption{
  transition:transform .35s ease,background .35s ease;
}
.project-card:hover .project-caption{
  transform:translateY(-5px);
  background:rgba(5,41,88,.86);
}

/* process light pulse */
.process-progress{
  position:relative;
}
.process-progress:after{
  content:"";
  position:absolute;
  right:-6px;
  top:-5px;
  width:12px;height:12px;border-radius:50%;
  background:var(--yellow);
  box-shadow:0 0 22px rgba(255,228,0,.75);
}

/* Reviews */
.reviews{
  background:#fff;
  position:relative;
  overflow:hidden;
}
.reviews:before{
  content:"";
  position:absolute;
  width:520px;height:520px;
  border-radius:50%;
  right:-180px;top:-180px;
  background:radial-gradient(circle,rgba(7,81,166,.07),transparent 68%);
}
.reviews:after{
  content:"";
  position:absolute;
  width:380px;height:380px;
  border-radius:50%;
  left:-140px;bottom:-180px;
  background:radial-gradient(circle,rgba(7,147,41,.06),transparent 70%);
}
.reviews-head{
  display:grid;
  grid-template-columns:1fr auto;
  gap:70px;
  align-items:end;
}
.google-score{
  min-width:240px;
  padding:22px 25px;
  border:1px solid var(--line);
  border-radius:18px;
  display:flex;
  align-items:center;
  gap:18px;
  background:#fff;
  box-shadow:0 20px 50px rgba(7,81,166,.08);
}
.google-g{
  width:54px;height:54px;border-radius:50%;
  display:grid;place-items:center;
  color:#4285F4;
  font-weight:800;font-size:28px;
  background:#f6f8fb;
}
.google-score strong{font-size:26px}
.stars{color:#F5B301;letter-spacing:.06em;font-size:13px}
.google-score span{display:block;color:var(--muted);font-size:10px;margin-top:4px}
.reviews-stage{
  margin-top:60px;
  position:relative;
}
.reviews-track{
  display:flex;
  transition:transform .7s cubic-bezier(.22,.8,.2,1);
}
.review-card{
  min-width:100%;
  padding:48px;
  border:1px solid var(--line);
  border-radius:22px;
  background:linear-gradient(135deg,#fff,#f8fbfd);
  min-height:300px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  position:relative;
  overflow:hidden;
}
.review-card:after{
  content:"“";
  position:absolute;
  right:28px;
  bottom:-42px;
  font-size:190px;
  line-height:1;
  color:rgba(7,81,166,.045);
  font-family:Georgia,serif;
}
.review-top{
  display:grid;
  grid-template-columns:auto 1fr auto;
  gap:14px;
  align-items:center;
}
.avatar{
  width:48px;height:48px;border-radius:50%;
  display:grid;place-items:center;
  background:var(--blue);color:#fff;font-weight:800;
}
.review-top div:nth-child(2){display:flex;flex-direction:column;gap:3px}
.review-top strong{font-size:14px}
.review-top span{font-size:10px;color:var(--muted)}
.review-card>p{
  font-size:clamp(24px,3vw,42px);
  line-height:1.25;
  letter-spacing:-.03em;
  max-width:1000px;
  margin:40px 0;
  color:#23313c;
}
.review-source{
  color:var(--blue);
  font-size:10px;
  font-weight:800;
  letter-spacing:.1em;
}
.reviews-controls{
  margin-top:18px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:15px;
}
.reviews-controls button{
  width:46px;height:46px;border-radius:50%;
  border:1px solid var(--line);
  background:#fff;
  cursor:pointer;
  color:var(--blue);
  transition:.25s;
}
.reviews-controls button:hover{
  background:var(--blue);color:#fff;border-color:var(--blue);
}
.reviews-dots{
  display:flex;gap:7px;
}
.review-dot{
  width:7px;height:7px;border-radius:50%;
  background:#ccd5dc;
  transition:.25s;
}
.review-dot.active{
  width:24px;border-radius:999px;background:var(--blue);
}
.reviews-footer{
  margin-top:25px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:20px;
  font-size:11px;color:var(--muted);
}
.reviews-footer a{
  color:var(--blue);font-weight:800;
}

/* magnetic feel */
.primary-btn,.dark-btn,.blue-btn,.header-cta,.whatsapp-float{
  will-change:transform;
}

/* mobile */
@media(max-width:1100px){
  .hero-float-card{display:none}
  .reviews-head{grid-template-columns:1fr}
  .google-score{width:max-content}
}
@media(max-width:720px){
  .hero-cursor-glow,.energy-line{display:none}
  .energy-particle{opacity:.45}
  .review-card{padding:28px 22px;min-height:360px}
  .review-card>p{font-size:25px}
  .review-top{grid-template-columns:auto 1fr}
  .review-top .stars{grid-column:1 / -1}
  .reviews-footer{flex-direction:column;align-items:flex-start}
  .google-score{min-width:0;width:100%}
}


/* ===== V7 corrections ===== */

/* Hero stat cards: precise start point and staggered entrance */
.hero-stats{
  align-self:flex-start;
  margin-left:0;
  position:relative;
}
.hero-stat{
  opacity:0;
  transform:translateX(-22px) translateY(8px);
  animation:none !important;
}
.hero-stats.in .hero-stat{
  animation:heroCardIn .65s cubic-bezier(.2,.8,.2,1) forwards;
}
.hero-stats.in .hero-stat:nth-child(2){animation-delay:.10s !important}
.hero-stats.in .hero-stat:nth-child(3){animation-delay:.20s !important}
@keyframes heroCardIn{
  to{
    opacity:1;
    transform:none;
  }
}
.hero-stats.in .hero-stat:hover{
  transform:translateY(-6px);
  transition:.25s ease;
}

/* Fix the white/blank metric card: restore its intended blue style */
.metrics .metric.accent-blue{
  background:var(--blue) !important;
  color:#fff !important;
}
.metrics .metric.accent-blue .metric-big{
  color:#fff !important;
}
.metrics .metric.accent-blue h3{
  color:#fff !important;
}
.metrics .metric.accent-blue p{
  color:#fff !important;
  opacity:.78;
}

/* 1000+ card aligned with first two cards */
.metrics .metric.metric-standard{
  background:#fff !important;
  color:var(--ink) !important;
}
.metric-value-static{
  font-size:clamp(58px,6vw,88px);
  font-weight:800;
  letter-spacing:-.06em;
  color:var(--blue);
  line-height:1;
}
.metric-value-static span{
  color:var(--green);
  font-size:.46em;
  margin-left:2px;
}
.metrics .metric.metric-standard h3{
  color:var(--ink) !important;
}
.metrics .metric.metric-standard p{
  color:var(--muted) !important;
}
.metric-1000:after{
  background:rgba(7,81,166,.06) !important;
}

/* WhatsApp: circle only */
.whatsapp-float{
  width:58px !important;
  height:58px !important;
  padding:0 !important;
  border-radius:50% !important;
  justify-content:center !important;
}
.whatsapp-float svg{
  width:31px !important;
  height:31px !important;
}
.whatsapp-float span{
  display:none !important;
}

/* Reviews score: slightly cleaner after removing the count */
.google-score{
  min-width:190px;
}
.google-score > div:last-child{
  display:flex;
  flex-direction:column;
  gap:2px;
}

/* Keep the 5-card row balanced */
@media(min-width:1201px){
  .metrics{
    grid-template-columns:repeat(5,1fr) !important;
  }
}

@media(max-width:720px){
  .whatsapp-float{
    width:54px !important;
    height:54px !important;
  }
  .whatsapp-float svg{
    width:29px !important;
    height:29px !important;
  }
}


/* ===== V8 BUTTON DEPTH & HOVER SYSTEM ===== */

/* Base button depth system */
.primary-btn,
.glass-btn,
.dark-btn,
.blue-btn,
.header-cta,
.whatsapp-float,
.project-controls button,
.reviews-controls button,
.menu-button,
.mobile-menu .primary-btn,
.service-copy a,
.roof-item,
.info-card,
.header .desktop-nav a {
  position:relative;
  isolation:isolate;
}

/* Main CTA buttons */
.primary-btn,
.dark-btn,
.blue-btn,
.header-cta {
  overflow:hidden;
  transform:translateZ(0);
  border:1px solid rgba(255,255,255,.18);
  box-shadow:
    0 3px 0 rgba(0,0,0,.12),
    0 10px 22px rgba(7,81,166,.16),
    inset 0 1px 0 rgba(255,255,255,.38),
    inset 0 -1px 0 rgba(0,0,0,.08);
  transition:
    transform .22s cubic-bezier(.2,.8,.2,1),
    box-shadow .22s cubic-bezier(.2,.8,.2,1),
    filter .22s ease,
    border-color .22s ease;
}

.primary-btn:before,
.dark-btn:before,
.blue-btn:before,
.header-cta:before {
  content:"";
  position:absolute;
  inset:0;
  border-radius:inherit;
  background:linear-gradient(
    115deg,
    rgba(255,255,255,.35) 0%,
    rgba(255,255,255,.08) 28%,
    transparent 48%
  );
  opacity:.65;
  pointer-events:none;
  z-index:-1;
}

.primary-btn:after,
.dark-btn:after,
.blue-btn:after,
.header-cta:after {
  content:"";
  position:absolute;
  width:70%;
  height:180%;
  top:-40%;
  left:-85%;
  background:linear-gradient(
    90deg,
    transparent,
    rgba(255,255,255,.34),
    transparent
  );
  transform:skewX(-18deg);
  transition:left .55s cubic-bezier(.2,.8,.2,1);
  pointer-events:none;
}

.primary-btn:hover,
.dark-btn:hover,
.blue-btn:hover,
.header-cta:hover {
  transform:translateY(-4px) scale(1.015);
  box-shadow:
    0 7px 0 rgba(0,0,0,.10),
    0 18px 34px rgba(7,81,166,.24),
    inset 0 1px 0 rgba(255,255,255,.48),
    inset 0 -2px 0 rgba(0,0,0,.08);
  filter:saturate(1.08) brightness(1.03);
}

.primary-btn:hover:after,
.dark-btn:hover:after,
.blue-btn:hover:after,
.header-cta:hover:after {
  left:120%;
}

.primary-btn:active,
.dark-btn:active,
.blue-btn:active,
.header-cta:active {
  transform:translateY(0) scale(.99);
  box-shadow:
    0 2px 0 rgba(0,0,0,.14),
    0 7px 14px rgba(7,81,166,.16),
    inset 0 1px 0 rgba(255,255,255,.25);
}

/* Glass button */
.glass-btn {
  overflow:hidden;
  border:1px solid rgba(255,255,255,.35);
  box-shadow:
    0 2px 0 rgba(255,255,255,.08),
    0 14px 30px rgba(0,25,60,.18),
    inset 0 1px 0 rgba(255,255,255,.22),
    inset 0 -1px 0 rgba(255,255,255,.05);
  transition:transform .22s ease, box-shadow .22s ease, background .22s ease;
}

.glass-btn:before {
  content:"";
  position:absolute;
  inset:0;
  border-radius:inherit;
  background:linear-gradient(145deg,rgba(255,255,255,.18),transparent 48%);
  pointer-events:none;
}

.glass-btn:hover {
  transform:translateY(-4px) scale(1.015);
  background:rgba(255,255,255,.14);
  box-shadow:
    0 6px 0 rgba(255,255,255,.06),
    0 20px 34px rgba(0,25,60,.25),
    inset 0 1px 0 rgba(255,255,255,.32);
}

.glass-btn:active {
  transform:translateY(0) scale(.99);
}

/* Small icon/arrow buttons */
.project-controls button,
.reviews-controls button {
  overflow:hidden;
  background:linear-gradient(145deg,#ffffff,#eef3f7);
  border:1px solid #d5e0e8;
  box-shadow:
    0 3px 0 #c8d4dd,
    0 10px 20px rgba(7,81,166,.10),
    inset 0 1px 0 rgba(255,255,255,.9);
  transition:transform .2s ease, box-shadow .2s ease, color .2s ease, background .2s ease;
}

.project-controls button:hover,
.reviews-controls button:hover {
  transform:translateY(-4px) scale(1.06);
  background:linear-gradient(145deg,var(--blue2),var(--blue));
  color:#fff;
  box-shadow:
    0 5px 0 var(--blue-dark),
    0 16px 28px rgba(7,81,166,.24),
    inset 0 1px 0 rgba(255,255,255,.24);
}

.project-controls button:active,
.reviews-controls button:active {
  transform:translateY(0) scale(.98);
  box-shadow:
    0 2px 0 var(--blue-dark),
    0 7px 14px rgba(7,81,166,.18);
}

/* Whatsapp round button */
.whatsapp-float {
  background:linear-gradient(145deg,#31df70,#20bb58) !important;
  border:1px solid rgba(255,255,255,.38);
  box-shadow:
    0 5px 0 #159947,
    0 15px 34px rgba(18,110,54,.30),
    inset 0 1px 0 rgba(255,255,255,.46),
    inset 0 -2px 0 rgba(0,0,0,.10) !important;
  transition:transform .22s ease, box-shadow .22s ease, filter .22s ease !important;
}

.whatsapp-float:before {
  content:"";
  position:absolute;
  width:32px;
  height:18px;
  top:7px;
  left:9px;
  border-radius:50%;
  background:rgba(255,255,255,.22);
  filter:blur(1px);
  pointer-events:none;
}

.whatsapp-float:hover {
  transform:translateY(-5px) scale(1.07) !important;
  box-shadow:
    0 8px 0 #159947,
    0 22px 40px rgba(18,110,54,.36),
    inset 0 1px 0 rgba(255,255,255,.55) !important;
}

.whatsapp-float:active {
  transform:translateY(0) scale(.98) !important;
  box-shadow:
    0 2px 0 #159947,
    0 8px 16px rgba(18,110,54,.24) !important;
}

/* Nav hover */
.desktop-nav a {
  transition:transform .2s ease, color .2s ease;
}
.desktop-nav a:hover {
  transform:translateY(-2px);
  color:var(--blue2);
}
.header:not(.scrolled) .desktop-nav a:hover {
  color:#fff;
}

/* Text links inside service cards get button-like hover */
.service-copy a {
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:9px 12px;
  margin-left:-12px;
  border-radius:8px;
  transition:transform .2s ease, background .2s ease, box-shadow .2s ease;
}
.service-copy a:hover {
  transform:translateY(-2px) translateX(3px);
  background:#eef5fb;
  box-shadow:0 8px 18px rgba(7,81,166,.08);
}

/* Roof rows more button-like */
.roof-item {
  cursor:pointer;
  transition:transform .22s ease, box-shadow .22s ease, background .22s ease, padding .22s ease;
}
.roof-item:hover {
  transform:translateX(8px);
  box-shadow:0 12px 26px rgba(7,81,166,.08);
}

/* Incentive cards depth */
.info-card {
  box-shadow:
    0 2px 0 rgba(7,81,166,.05),
    0 10px 24px rgba(7,81,166,.05);
}
.info-card:hover {
  transform:translateY(-7px) scale(1.01);
  box-shadow:
    0 5px 0 rgba(7,81,166,.05),
    0 20px 40px rgba(7,81,166,.12);
}

/* Focus for keyboard users */
.primary-btn:focus-visible,
.glass-btn:focus-visible,
.dark-btn:focus-visible,
.blue-btn:focus-visible,
.header-cta:focus-visible,
.whatsapp-float:focus-visible,
.project-controls button:focus-visible,
.reviews-controls button:focus-visible {
  outline:3px solid rgba(255,228,0,.9);
  outline-offset:4px;
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce){
  .primary-btn,
  .glass-btn,
  .dark-btn,
  .blue-btn,
  .header-cta,
  .whatsapp-float,
  .project-controls button,
  .reviews-controls button,
  .service-copy a,
  .roof-item,
  .info-card {
    transition:none !important;
  }
  .primary-btn:after,
  .dark-btn:after,
  .blue-btn:after,
  .header-cta:after {
    display:none !important;
  }
}


/* ===== V9 WhatsApp position fix ===== */
.whatsapp-float{
  position:fixed !important;
  right:22px !important;
  left:auto !important;
  bottom:22px !important;
  top:auto !important;
  z-index:90 !important;
  margin:0 !important;
  transform:none;
}

/* Keep hover depth without changing anchor position */
.whatsapp-float:hover{
  transform:translateY(-5px) scale(1.07) !important;
}

.whatsapp-float:active{
  transform:translateY(0) scale(.98) !important;
}

@media(max-width:720px){
  .whatsapp-float{
    right:16px !important;
    left:auto !important;
    bottom:16px !important;
  }
}


/* ===== V10 SEO + MOBILE + HERO FIX ===== */

/* Hero cards: never cover headline */
.card-production{
  top:23% !important;
  right:2.5% !important;
}
.card-storage{
  top:37% !important;
  right:4.5% !important;
}
@media(max-width:1500px){
  .hero-float-card{
    min-width:185px;
    padding:12px 14px;
  }
  .card-production{top:20% !important; right:2% !important}
  .card-storage{top:34% !important; right:3% !important}
}
@media(max-width:1320px){
  .hero-float-card{display:none !important}
}

/* Territory SEO section */
.territory{
  background:linear-gradient(180deg,#ffffff,#f3f7fa);
  position:relative;
  overflow:hidden;
}
.territory:before{
  content:"";
  position:absolute;
  width:460px;height:460px;
  border-radius:50%;
  right:-180px;top:-150px;
  background:radial-gradient(circle,rgba(7,81,166,.08),transparent 68%);
}
.territory-grid{
  display:grid;
  grid-template-columns:1.05fr .95fr;
  gap:90px;
  align-items:center;
  position:relative;
  z-index:2;
}
.territory-copy p{
  color:var(--muted);
  font-size:15px;
  line-height:1.8;
  max-width:760px;
}
.territory-areas{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
}
.territory-areas span,
.territory-areas strong{
  padding:17px 18px;
  border:1px solid var(--line);
  background:#fff;
  border-radius:12px;
  font-size:13px;
  transition:.25s ease;
}
.territory-areas span:hover{
  transform:translateY(-4px);
  border-color:#b8cedd;
  box-shadow:0 15px 30px rgba(7,81,166,.09);
  color:var(--blue);
}
.territory-areas strong{
  grid-column:1/-1;
  background:var(--blue);
  color:#fff;
  text-align:center;
}

/* FAQ */
.faq-section{
  background:#f6f9fb;
  position:relative;
  overflow:hidden;
}
.faq-section:after{
  content:"";
  position:absolute;
  left:-150px;bottom:-180px;
  width:400px;height:400px;border-radius:50%;
  background:radial-gradient(circle,rgba(7,147,41,.07),transparent 70%);
}
.faq-head{
  display:grid;
  grid-template-columns:1.2fr .8fr;
  gap:80px;
  align-items:end;
  margin-bottom:60px;
}
.faq-list{
  border-top:1px solid var(--line);
  position:relative;
  z-index:2;
}
.faq-item{
  border-bottom:1px solid var(--line);
  background:transparent;
  transition:background .25s ease,box-shadow .25s ease;
}
.faq-item[open]{
  background:#fff;
  box-shadow:0 18px 40px rgba(7,81,166,.06);
}
.faq-item summary{
  list-style:none;
  cursor:pointer;
  padding:24px 18px;
  display:grid;
  grid-template-columns:55px 1fr 34px;
  gap:14px;
  align-items:center;
}
.faq-item summary::-webkit-details-marker{display:none}
.faq-item summary>span{
  font-size:10px;
  color:var(--blue);
  font-weight:800;
}
.faq-item summary strong{
  font-size:18px;
  line-height:1.35;
}
.faq-item summary i{
  width:30px;height:30px;border-radius:50%;
  background:#fff;border:1px solid var(--line);
  display:grid;place-items:center;
  font-style:normal;font-size:18px;color:var(--blue);
  transition:.25s ease;
}
.faq-item[open] summary i{
  transform:rotate(45deg);
  background:var(--blue);
  color:#fff;
}
.faq-answer{
  padding:0 70px 26px 87px;
}
.faq-answer p{
  margin:0;
  color:var(--muted);
  font-size:14px;
  line-height:1.8;
  max-width:980px;
}

/* MOBILE COMPLETE PASS */
@media(max-width:900px){
  .section{padding:78px 0}
  .container{width:calc(100% - 32px)}
  .territory-grid,
  .faq-head{
    grid-template-columns:1fr;
    gap:32px;
  }
  .territory-areas{grid-template-columns:1fr 1fr}
  .services-grid{gap:14px}
  .reviews-head{gap:30px}
}

@media(max-width:720px){
  body{overflow-x:hidden}
  .header{
    height:68px !important;
    padding:0 14px !important;
  }
  .header.scrolled{height:68px !important}
  .brand,
  .header:not(.scrolled) .brand,
  .header.scrolled .brand{
    width:168px !important;
  }
  .menu-button{width:42px;height:42px}
  .mobile-menu{
    inset:68px 0 0 !important;
    padding:25px 18px 34px !important;
    overflow:auto;
  }
  .mobile-menu>a:not(.primary-btn){
    font-size:25px !important;
    padding-bottom:12px !important;
  }

  .hero{
    min-height:720px !important;
    height:auto !important;
    max-height:none !important;
  }
  .hero-content{
    width:calc(100% - 30px) !important;
    padding-top:92px !important;
    padding-bottom:20px;
  }
  .hero-top{
    gap:5px !important;
    margin-bottom:20px !important;
  }
  .badge{
    font-size:7.8px !important;
    padding:7px 8px !important;
  }
  .overline{
    font-size:9px !important;
    line-height:1.5;
  }
  h1{
    font-size:clamp(42px,12.6vw,58px) !important;
    line-height:.96 !important;
    max-width:100% !important;
  }
  .hero-text{
    font-size:13.5px !important;
    line-height:1.65 !important;
    max-width:95% !important;
  }
  .hero-buttons{
    display:grid !important;
    grid-template-columns:1fr !important;
    gap:9px !important;
  }
  .hero-buttons a{
    width:100% !important;
    min-height:48px !important;
  }
  .hero-stats{
    grid-template-columns:1fr 1fr !important;
    gap:8px !important;
    margin-top:14px !important;
  }
  .hero-stat{
    padding:11px 12px !important;
    border-radius:10px !important;
  }
  .hero-stat strong{font-size:20px !important}
  .hero-stat span{font-size:9px !important;margin-top:5px !important}
  .hero-stat:last-child{grid-column:1/-1}
  .hero-bottom{
    margin-top:22px !important;
    padding:16px 0 10px !important;
  }
  .location strong{font-size:13px !important}
  .hero-status{display:none !important}
  .energy-particle{display:none !important}
  .hero-float-card{display:none !important}

  .brand-marquee{height:auto}
  .marquee-track{font-size:9px !important;gap:16px !important}

  .section-title{
    font-size:clamp(38px,11.5vw,53px) !important;
    line-height:1.02 !important;
  }
  .section-intro,
  .identity-copy,
  .territory-copy p{
    font-size:14px !important;
    line-height:1.75 !important;
  }

  .metrics{grid-template-columns:1fr !important}
  .metric{
    min-height:190px !important;
    padding:23px !important;
  }
  .metric-value,.metric-big,.metric-value-static{
    font-size:58px !important;
  }
  .metric h3{margin-top:34px !important}

  .services-grid{
    grid-template-columns:1fr !important;
    gap:13px !important;
  }
  .service-image{height:220px !important}
  .service-copy{padding:20px !important}
  .service-copy h3{font-size:20px !important}
  .service-copy p{min-height:0 !important}

  .installers{
    min-height:760px !important;
  }
  .installers-content{
    padding-top:72px !important;
    padding-bottom:72px !important;
  }
  .installers-panel{
    padding:24px 18px !important;
  }
  .installers-panel h2{
    font-size:clamp(38px,11.4vw,52px) !important;
  }
  .installers-panel>p{font-size:13px !important}
  .installers-points div{padding:14px 0 !important}

  .projects-head{gap:22px !important}
  .project-controls{justify-content:flex-start !important}
  .project-track-wrap{margin-top:34px !important}
  .project-card{
    min-width:88vw !important;
    height:390px !important;
  }
  .project-caption{left:12px !important;right:12px !important;bottom:12px !important}

  .roof-grid{gap:35px !important}
  .roof-item{
    grid-template-columns:38px 1fr 26px !important;
    padding:20px 4px !important;
  }
  .roof-item strong{font-size:16px !important}

  .territory-areas{
    grid-template-columns:1fr !important;
  }
  .territory-areas strong{grid-column:auto !important}

  .process-line{margin-top:45px !important}
  .process-step{padding:15px 0 !important}

  .incentive-main{
    padding:26px 19px !important;
  }
  .incentive-main h3{
    font-size:34px !important;
  }
  .incentive-cards{grid-template-columns:1fr !important}
  .info-card{min-height:220px !important;padding:22px !important}

  .faq-head{margin-bottom:38px !important}
  .faq-item summary{
    grid-template-columns:34px 1fr 30px !important;
    padding:19px 6px !important;
    gap:8px !important;
  }
  .faq-item summary strong{font-size:15px !important}
  .faq-answer{padding:0 8px 22px 48px !important}
  .faq-answer p{font-size:13px !important}

  .reviews-stage{margin-top:35px !important}
  .review-card{
    min-height:330px !important;
    padding:24px 18px !important;
  }
  .review-card>p{
    font-size:22px !important;
    margin:28px 0 !important;
  }
  .google-score{width:100% !important}

  .contact-box.soft-contact{
    grid-template-columns:1fr !important;
    gap:26px !important;
    padding:29px 20px !important;
  }
  .contact-box h2{
    font-size:clamp(38px,11.5vw,53px) !important;
  }
  .contacts{
    flex-direction:column !important;
    gap:6px !important;
  }

  footer{padding:55px 0 !important}
  .footer-grid{grid-template-columns:1fr !important;gap:25px !important}
  .footer-brand img{width:190px !important}
}

/* image rendering and layout stability */
.service-image img,
.project-card img{
  aspect-ratio:auto;
  object-position:center;
}

/* SEO internal links */
a[href="#sardegna"], a[href="#faq"]{
  scroll-margin-top:90px;
}


/* ===== V11 MULTIPAGE ===== */
.inner-page{
  background:#fff;
}
.page-header{
  background:rgba(255,255,255,.96);
  color:var(--ink);
  border-bottom:1px solid var(--line);
  backdrop-filter:blur(18px);
}
.page-header .brand img{filter:none!important}
.page-header .desktop-nav a.active{
  color:var(--blue);
}
.page-header .desktop-nav a.active:after{
  width:100%;
}
.page-header .header-cta{
  background:var(--blue);
  color:#fff;
}

.subhero{
  padding:150px 0 90px;
  min-height:620px;
  background:linear-gradient(135deg,#f8fafc 0%,#eef4f8 100%);
  overflow:hidden;
  position:relative;
}
.subhero:before{
  content:"";
  position:absolute;
  width:520px;height:520px;
  right:-160px;top:40px;
  border-radius:50%;
  background:radial-gradient(circle,rgba(7,81,166,.10),transparent 68%);
}
.subhero-grid{
  display:grid;
  grid-template-columns:1.15fr .85fr;
  gap:80px;
  align-items:center;
}
.subhero h1{
  color:var(--ink);
  font-size:clamp(58px,6.4vw,96px);
  line-height:.95;
  letter-spacing:-.06em;
}
.subhero h1 em{
  color:var(--blue);
  font-style:normal;
  font-weight:500;
}
.subhero-text{
  max-width:720px;
  color:var(--muted);
  font-size:17px;
  line-height:1.75;
  margin-top:26px;
}
.secondary-btn{
  min-height:54px;
  padding:0 22px;
  border-radius:7px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border:1px solid var(--line);
  background:#fff;
  color:var(--ink);
  font-size:13px;
  font-weight:800;
  box-shadow:0 3px 0 #d5dde4,0 10px 22px rgba(7,81,166,.08);
  transition:.22s;
}
.secondary-btn:hover{
  transform:translateY(-4px);
  box-shadow:0 6px 0 #d5dde4,0 18px 32px rgba(7,81,166,.12);
}
.subhero-visual{
  min-height:390px;
  position:relative;
  display:grid;
  place-items:center;
}
.subhero-icon{
  width:210px;
  position:relative;
  z-index:2;
  filter:drop-shadow(0 25px 35px rgba(7,81,166,.18));
  animation:float 5s ease-in-out infinite;
}
.visual-orbit{
  position:absolute;
  border:1px solid rgba(7,81,166,.16);
  border-radius:50%;
  animation:spinSlow 20s linear infinite;
}
.o1{width:320px;height:320px}
.o2{width:440px;height:440px;animation-direction:reverse;animation-duration:28s}

.two-col{
  display:grid;
  grid-template-columns:1.2fr .8fr;
  gap:80px;
  align-items:end;
}
.inner-intro{padding-bottom:60px}

/* service details */
.service-detail-list{display:flex;flex-direction:column;gap:30px}
.service-detail{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:0;
  border:1px solid var(--line);
  border-radius:20px;
  overflow:hidden;
  background:#fff;
  box-shadow:0 18px 45px rgba(7,81,166,.06);
}
.service-detail:nth-child(even) .service-detail-image{order:2}
.service-detail:nth-child(even) .service-detail-copy{order:1}
.service-detail-image{min-height:430px;position:relative;overflow:hidden}
.service-detail-image img{width:100%;height:100%;object-fit:cover;transition:.6s}
.service-detail:hover .service-detail-image img{transform:scale(1.045)}
.service-detail-image>span{
  position:absolute;left:18px;top:18px;
  width:48px;height:48px;border-radius:50%;
  display:grid;place-items:center;background:#fff;color:var(--blue);font-weight:800
}
.service-detail-copy{padding:46px;align-self:center}
.service-detail-copy h2{font-size:38px;letter-spacing:-.04em}
.service-detail-copy>p{color:var(--muted);line-height:1.8}
.service-detail-copy ul{padding:0;list-style:none;margin:25px 0}
.service-detail-copy li{padding:10px 0;border-bottom:1px solid var(--line);font-size:13px}
.service-detail-copy li:before{content:"✓";color:var(--green);margin-right:10px}

/* generic features */
.feature-grid{
  display:grid;grid-template-columns:repeat(3,1fr);gap:16px
}
.feature-card,.practice-card{
  padding:30px;border:1px solid var(--line);border-radius:16px;background:#fff;
  transition:.25s;box-shadow:0 12px 28px rgba(7,81,166,.05)
}
.feature-card:hover,.practice-card:hover{
  transform:translateY(-6px);box-shadow:0 22px 44px rgba(7,81,166,.11)
}
.feature-card>span,.practice-card>b{
  display:grid;place-items:center;width:42px;height:42px;border-radius:50%;
  background:#edf4fb;color:var(--blue);font-size:10px
}
.feature-card h3,.practice-card h3{font-size:22px;margin-top:45px}
.feature-card p,.practice-card p{color:var(--muted);font-size:13px;line-height:1.7}
.process-page{background:#f6f9fb}
.practice-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:55px}

/* portfolio page */
.portfolio-toolbar{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:30px}
.filter-btn{
  padding:12px 18px;border:1px solid var(--line);background:#fff;border-radius:999px;
  font-weight:700;font-size:12px;cursor:pointer;transition:.2s;
}
.filter-btn:hover,.filter-btn.active{background:var(--blue);color:#fff;border-color:var(--blue)}
.portfolio-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}
.portfolio-item{height:460px;position:relative;border-radius:18px;overflow:hidden}
.portfolio-item img{width:100%;height:100%;object-fit:cover;transition:.6s}
.portfolio-item:hover img{transform:scale(1.05)}
.portfolio-overlay{
  position:absolute;left:16px;right:16px;bottom:16px;padding:17px 18px;border-radius:12px;
  background:rgba(5,41,88,.75);backdrop-filter:blur(12px);color:#fff;display:flex;justify-content:space-between
}
.portfolio-overlay span{font-size:10px;color:var(--yellow)}
.portfolio-item.hidden{display:none}
.project-types{background:#f6f9fb}
.project-type-list{display:flex;flex-wrap:wrap;gap:9px}
.project-type-list span{padding:13px 16px;background:#fff;border:1px solid var(--line);border-radius:999px;font-size:12px}

/* contacts */
.contact-page-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.contact-card{
  padding:32px;border:1px solid var(--line);border-radius:18px;background:#fff;
  box-shadow:0 14px 30px rgba(7,81,166,.06)
}
.contact-card h2{font-size:26px;word-break:break-word}
.contact-card p{color:var(--muted);line-height:1.7}
.lead-form-section{background:#f6f9fb}
.lead-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:80px}
.fake-form{padding:30px;background:#fff;border:1px solid var(--line);border-radius:18px;box-shadow:0 18px 40px rgba(7,81,166,.08)}
.fake-form label{display:flex;flex-direction:column;gap:7px;font-size:11px;font-weight:700;margin-bottom:14px}
.fake-form input,.fake-form textarea{
  padding:14px;border:1px solid var(--line);border-radius:9px;background:#f8fafb;font:inherit
}
.fake-form textarea{min-height:120px;resize:vertical}

/* blog */
.blog-featured{
  display:grid;grid-template-columns:1fr 1fr;border:1px solid var(--line);
  border-radius:20px;overflow:hidden;background:#fff;box-shadow:0 20px 45px rgba(7,81,166,.07)
}
.blog-featured-copy{padding:45px;align-self:center}
.blog-featured-copy h2{font-size:42px;letter-spacing:-.045em}
.blog-featured-copy p{color:var(--muted);line-height:1.8}
.blog-featured-visual{min-height:420px}
.blog-featured-visual img{width:100%;height:100%;object-fit:cover}
.blog-toolbar{margin:70px 0 28px;display:flex;justify-content:space-between;gap:30px;border-bottom:1px solid var(--line);padding-bottom:18px}
.blog-toolbar span{font-size:10px;letter-spacing:.16em;font-weight:800;color:var(--blue)}
.blog-toolbar p{margin:0;color:var(--muted);font-size:12px;max-width:520px}
.blog-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.blog-card{padding:28px;border:1px solid var(--line);border-radius:16px;background:#fff;min-height:310px;display:flex;flex-direction:column;transition:.25s}
.blog-card:hover{transform:translateY(-6px);box-shadow:0 20px 40px rgba(7,81,166,.09)}
.blog-category{font-size:9px;color:var(--blue);font-weight:800;letter-spacing:.12em}
.blog-card h3{font-size:22px;margin-top:35px}
.blog-card p{color:var(--muted);font-size:13px;line-height:1.7}
.blog-card a{margin-top:auto;color:var(--blue);font-size:12px;font-weight:800}
.blog-seo-note{background:#f6f9fb}

/* article */
.article-hero{padding:160px 0 80px;background:#f6f9fb}
.article-wrap{max-width:920px!important}
.article-hero h1{font-size:clamp(52px,6vw,86px);color:var(--ink)}
.article-lead{font-size:20px;color:var(--muted);line-height:1.6}
.article-meta{font-size:11px;color:#8795a0;margin-top:22px}
.prose{font-size:17px;line-height:1.85}
.prose h2{font-size:40px;margin-top:50px}
.prose h3{font-size:28px;margin-top:35px}
.prose p{color:#46545f}

.inner-cta{padding-top:40px}

/* responsive inner pages */
@media(max-width:1050px){
  .subhero-grid,.two-col,.lead-form-grid{grid-template-columns:1fr}
  .subhero-visual{min-height:300px}
  .feature-grid,.practice-cards,.blog-grid{grid-template-columns:1fr 1fr}
  .service-detail{grid-template-columns:1fr}
  .service-detail:nth-child(even) .service-detail-image,
  .service-detail:nth-child(even) .service-detail-copy{order:initial}
  .contact-page-grid{grid-template-columns:1fr}
  .blog-featured{grid-template-columns:1fr}
}
@media(max-width:720px){
  .subhero{padding:110px 0 65px;min-height:auto}
  .subhero-grid{gap:35px}
  .subhero h1{font-size:clamp(42px,12.5vw,58px)}
  .subhero-text{font-size:14px}
  .subhero-visual{display:none}
  .feature-grid,.practice-cards,.blog-grid,.portfolio-grid{grid-template-columns:1fr}
  .service-detail-image{min-height:250px}
  .service-detail-copy{padding:25px 20px}
  .service-detail-copy h2{font-size:30px}
  .portfolio-item{height:330px}
  .portfolio-overlay{flex-direction:column;gap:4px}
  .blog-featured-copy{padding:28px 22px}
  .blog-featured-copy h2{font-size:32px}
  .blog-featured-visual{min-height:260px}
  .blog-toolbar{flex-direction:column}
  .contact-card{padding:24px 20px}
  .contact-card h2{font-size:22px}
  .lead-form-grid{gap:30px}
  .fake-form{padding:22px 18px}
}


/* ===== V12 LEGAL + FOOTER + PROCESS FIX ===== */

/* Process: all 6 steps on same row on desktop */
@media(min-width:1101px){
  .process-line{
    grid-template-columns:repeat(6,minmax(0,1fr)) !important;
    align-items:start;
    column-gap:18px;
  }
  .process-step{
    padding-right:0 !important;
    min-width:0;
  }
  .process-step h3{
    font-size:16px;
    line-height:1.25;
  }
  .process-step p{
    font-size:11px;
    line-height:1.55;
  }
}

/* Footer social icons */
.footer-socials{
  display:flex;
  gap:10px;
  margin-top:18px;
}
.social-icon{
  width:40px;height:40px;
  border-radius:50%;
  display:grid;place-items:center;
  background:rgba(255,255,255,.07);
  border:1px solid rgba(255,255,255,.12);
  transition:.22s ease;
}
.social-icon svg{
  width:19px;height:19px;
  fill:#fff;
}
.social-icon:hover{
  transform:translateY(-4px) scale(1.06);
  background:var(--blue);
  box-shadow:0 12px 24px rgba(0,0,0,.2);
}
.social-placeholder{
  opacity:.45;
  cursor:default;
}
.social-placeholder:hover{
  transform:none;
  background:rgba(255,255,255,.07);
  box-shadow:none;
}

.footer-legal{
  margin-top:38px;
  padding-top:22px;
  border-top:1px solid rgba(255,255,255,.09);
  display:flex;
  justify-content:space-between;
  gap:20px;
  font-size:10px;
  color:#71899D;
}
.footer-legal a{
  color:#9BB0C2;
}
.footer-legal a:hover{color:#fff}

/* Cookie banner */
.cookie-banner{
  position:fixed;
  left:18px;right:18px;bottom:18px;
  z-index:1000;
  display:none;
}
.cookie-banner.show{display:block}
.cookie-inner{
  max-width:1180px;
  margin:auto;
  padding:22px;
  border-radius:18px;
  background:rgba(9,26,44,.96);
  color:#fff;
  border:1px solid rgba(255,255,255,.12);
  box-shadow:0 26px 70px rgba(0,0,0,.28);
  backdrop-filter:blur(18px);
  display:grid;
  grid-template-columns:1fr auto;
  gap:28px;
  align-items:center;
}
.cookie-copy strong{
  font-size:17px;
}
.cookie-copy p{
  margin:8px 0 8px;
  max-width:760px;
  color:#B8C8D5;
  font-size:12px;
  line-height:1.6;
}
.cookie-copy a{
  font-size:11px;
  color:#fff;
  text-decoration:underline;
}
.cookie-actions{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
}
.cookie-btn{
  min-height:44px;
  padding:0 15px;
  border-radius:9px;
  font:700 11px Manrope,sans-serif;
  cursor:pointer;
  transition:.2s;
}
.cookie-primary{
  background:var(--blue);
  color:#fff;
  border:1px solid var(--blue);
}
.cookie-secondary{
  background:transparent;
  color:#fff;
  border:1px solid rgba(255,255,255,.24);
}
.cookie-btn:hover{
  transform:translateY(-2px);
  box-shadow:0 10px 22px rgba(0,0,0,.18);
}

.cookie-modal{
  position:fixed;
  inset:0;
  z-index:1100;
  background:rgba(0,15,30,.55);
  backdrop-filter:blur(5px);
  display:none;
  align-items:center;
  justify-content:center;
  padding:20px;
}
.cookie-modal.open{display:flex}
.cookie-modal-card{
  position:relative;
  width:min(560px,100%);
  background:#fff;
  border-radius:20px;
  padding:30px;
  box-shadow:0 30px 80px rgba(0,0,0,.25);
}
.cookie-modal-card h2{
  font-size:32px;
  margin-bottom:22px;
}
.cookie-close{
  position:absolute;
  right:18px;top:14px;
  border:0;background:none;
  font-size:28px;cursor:pointer;color:#63717D;
}
.cookie-option{
  display:grid;
  grid-template-columns:1fr auto;
  gap:20px;
  align-items:center;
  padding:18px 0;
  border-top:1px solid var(--line);
}
.cookie-option div{
  display:flex;
  flex-direction:column;
  gap:5px;
}
.cookie-option strong{font-size:14px}
.cookie-option span{font-size:11px;color:var(--muted);line-height:1.5}
.cookie-save{
  width:100%;
  margin-top:18px;
}
.switch{
  width:46px;height:26px;position:relative;
}
.switch input{display:none}
.switch span{
  position:absolute;inset:0;
  border-radius:999px;
  background:#D8E0E6;
  transition:.2s;
}
.switch span:after{
  content:"";
  position:absolute;
  width:20px;height:20px;border-radius:50%;
  left:3px;top:3px;
  background:#fff;
  box-shadow:0 2px 6px rgba(0,0,0,.2);
  transition:.2s;
}
.switch input:checked + span{background:var(--blue)}
.switch input:checked + span:after{transform:translateX(20px)}
.switch input:disabled + span{opacity:.65}

/* Policy page */
.policy-hero{
  padding:155px 0 75px;
  background:linear-gradient(180deg,#f7fafc,#eef4f8);
}
.policy-hero h1{
  font-size:clamp(52px,6vw,86px);
  color:var(--ink);
}
.policy-body{
  padding-top:70px;
}
.policy-prose h2{
  font-size:32px;
  margin-top:48px;
}
.policy-prose h3{
  font-size:22px;
}
.policy-prose a{
  color:var(--blue);
  text-decoration:underline;
}
.policy-note{
  margin-top:60px;
  padding:24px;
  border-radius:14px;
  background:#fff8d8;
  border:1px solid #f2dc74;
}
.policy-note strong{
  color:#806c00;
}

@media(max-width:720px){
  .footer-legal{
    flex-direction:column;
    gap:8px;
  }
  .cookie-banner{
    left:10px;right:10px;bottom:10px;
  }
  .cookie-inner{
    grid-template-columns:1fr;
    gap:18px;
    padding:18px;
  }
  .cookie-actions{
    display:grid;
    grid-template-columns:1fr 1fr;
  }
  .cookie-actions .cookie-primary{
    grid-column:1/-1;
  }
  .cookie-btn{width:100%}
  .cookie-modal-card{padding:24px 18px}
  .policy-hero{padding:115px 0 55px}
  .policy-prose h2{font-size:27px}
}


/* ===== V13 FIXES ===== */

/* Timeline: keep all 6 phases aligned on one row on desktop/tablet landscape */
@media(min-width:721px){
  .process-line{
    display:grid !important;
    grid-template-columns:repeat(6,minmax(0,1fr)) !important;
    column-gap:16px !important;
    row-gap:0 !important;
    align-items:start !important;
  }

  .process-line:before{
    display:block !important;
  }

  .process-progress{
    display:block !important;
  }

  .process-step{
    display:block !important;
    padding:0 8px 0 0 !important;
    min-width:0 !important;
    border-bottom:0 !important;
  }

  .process-step b{
    display:grid !important;
    grid-row:auto !important;
    margin:0 !important;
  }

  .process-step h3{
    margin-top:24px !important;
    margin-bottom:8px !important;
    font-size:15px !important;
    line-height:1.25 !important;
  }

  .process-step p{
    margin:0 !important;
    font-size:10.5px !important;
    line-height:1.55 !important;
  }
}

/* Mobile: clean vertical flow */
@media(max-width:720px){
  .process-line{
    grid-template-columns:1fr !important;
    row-gap:0 !important;
  }

  .process-line:before,
  .process-progress{
    display:none !important;
  }

  .process-step{
    display:grid !important;
    grid-template-columns:52px 1fr !important;
    column-gap:12px !important;
    padding:16px 0 !important;
    border-bottom:1px solid rgba(255,255,255,.16) !important;
  }

  .process-step b{
    grid-row:1/3 !important;
  }

  .process-step h3{
    margin:3px 0 5px !important;
    font-size:18px !important;
  }

  .process-step p{
    margin:0 !important;
    font-size:12px !important;
  }
}

.footer-legal-links{
  display:flex;
  gap:16px;
  align-items:center;
}
@media(max-width:720px){
  .footer-legal-links{
    align-items:flex-start;
    flex-direction:column;
    gap:7px;
  }
}


/* ===== V14 TRUE MOBILE OPTIMIZATION ===== */

/* CSS arrow: replaces iOS emoji rendering */
.btn-arrow{
  display:inline-block;
  width:13px;
  height:13px;
  position:relative;
  flex:0 0 13px;
  margin-left:4px;
}
.btn-arrow:before{
  content:"";
  position:absolute;
  width:9px;
  height:2px;
  background:currentColor;
  left:1px;
  top:6px;
  transform:rotate(-45deg);
  transform-origin:center;
  border-radius:2px;
}
.btn-arrow:after{
  content:"";
  position:absolute;
  width:6px;
  height:6px;
  border-top:2px solid currentColor;
  border-right:2px solid currentColor;
  right:0;
  top:0;
}

/* ---------------------------------------------------------
   MOBILE: redesign instead of simply stacking desktop
   --------------------------------------------------------- */
@media(max-width:720px){

  html{scroll-padding-top:72px}
  body{overflow-x:hidden}

  /* Global density */
  .section{
    padding:62px 0 !important;
  }
  .container{
    width:calc(100% - 28px) !important;
  }
  .section-eyebrow{
    margin-bottom:22px !important;
    font-size:10px !important;
    letter-spacing:.13em !important;
  }
  .section-eyebrow span{
    width:34px !important;
    height:34px !important;
  }
  .section-title{
    font-size:clamp(34px,10.2vw,46px) !important;
    line-height:1.01 !important;
    letter-spacing:-.05em !important;
  }
  .section-intro,
  .identity-copy,
  .territory-copy p{
    font-size:13.5px !important;
    line-height:1.65 !important;
  }

  /* Header */
  .header,
  .header.scrolled{
    height:68px !important;
    min-height:68px !important;
    padding:0 14px !important;
  }
  .brand,
  .header:not(.scrolled) .brand,
  .header.scrolled .brand{
    width:164px !important;
  }
  .menu-button{
    width:42px !important;
    height:42px !important;
  }
  .menu-button i{
    width:22px !important;
  }

  /* Hero: much shorter */
  .hero{
    min-height:0 !important;
    height:auto !important;
    max-height:none !important;
    padding-bottom:0 !important;
  }
  .hero-content{
    min-height:640px !important;
    width:calc(100% - 28px) !important;
    padding-top:92px !important;
    padding-bottom:20px !important;
    justify-content:flex-start !important;
  }
  .hero-photo{
    background-position:64% center !important;
  }
  .hero-top{
    margin:0 0 18px !important;
    display:flex !important;
    flex-wrap:nowrap !important;
    overflow-x:auto !important;
    -webkit-overflow-scrolling:touch;
    scrollbar-width:none;
    padding-bottom:3px;
  }
  .hero-top::-webkit-scrollbar{display:none}
  .badge{
    flex:0 0 auto;
    font-size:7.4px !important;
    padding:7px 9px !important;
    white-space:nowrap;
  }
  .overline{
    font-size:8.5px !important;
    line-height:1.45 !important;
    margin-bottom:12px !important;
  }
  h1{
    font-size:clamp(42px,11.7vw,53px) !important;
    line-height:.98 !important;
    letter-spacing:-.055em !important;
    max-width:100% !important;
  }
  .hero-text{
    font-size:13px !important;
    line-height:1.55 !important;
    max-width:100% !important;
    margin-top:15px !important;
  }
  .hero-buttons{
    margin-top:18px !important;
    gap:8px !important;
  }
  .hero-buttons a{
    min-height:46px !important;
    font-size:11.5px !important;
  }

  /* Hero statistic cards: compact horizontal row */
  .hero-stats{
    display:grid !important;
    grid-template-columns:repeat(3,1fr) !important;
    gap:6px !important;
    margin-top:12px !important;
  }
  .hero-stat,
  .hero-stat:last-child{
    grid-column:auto !important;
    min-width:0 !important;
    padding:9px 8px !important;
    border-radius:9px !important;
  }
  .hero-stat strong{
    font-size:17px !important;
  }
  .hero-stat span{
    font-size:7.5px !important;
    line-height:1.3 !important;
    margin-top:4px !important;
  }

  /* Location at bottom: compact */
  .hero-bottom{
    margin-top:auto !important;
    padding:14px 0 10px !important;
  }
  .location{
    gap:10px !important;
  }
  .location small{font-size:7px !important}
  .location strong{font-size:11.5px !important}
  .location span{font-size:9px !important}
  .hero-status{display:none !important}

  /* marquee */
  .brand-marquee{
    padding:10px 0 !important;
  }
  .marquee-track{
    font-size:8.5px !important;
    gap:14px !important;
  }

  /* Identity section */
  .identity-grid{
    gap:20px !important;
  }
  .identity-copy{
    margin-top:2px !important;
  }

  /* Metrics: 2-column compact instead of giant full-width cards */
  .metrics{
    grid-template-columns:1fr 1fr !important;
    margin-top:34px !important;
    border-left:0 !important;
    gap:8px !important;
    border-top:0 !important;
  }
  .metric{
    min-height:155px !important;
    padding:17px !important;
    border:1px solid var(--line) !important;
    border-radius:12px !important;
  }
  .metric-value,
  .metric-big,
  .metric-value-static{
    font-size:42px !important;
  }
  .metric h3{
    margin-top:22px !important;
    font-size:13px !important;
  }
  .metric p{
    font-size:9.5px !important;
    line-height:1.45 !important;
  }
  .metric.accent-blue{
    grid-column:1/-1 !important;
    min-height:140px !important;
  }
  .metric-1000{
    grid-column:1/-1 !important;
    min-height:140px !important;
  }

  /* Services: horizontal swipe carousel */
  .services{
    padding-bottom:52px !important;
  }
  .services-heading{
    margin-bottom:28px !important;
  }
  .services-grid{
    display:flex !important;
    overflow-x:auto !important;
    scroll-snap-type:x mandatory !important;
    gap:12px !important;
    padding:2px 14px 16px !important;
    margin-left:-14px !important;
    margin-right:-14px !important;
    scrollbar-width:none;
  }
  .services-grid::-webkit-scrollbar{display:none}
  .service-card{
    flex:0 0 82vw !important;
    scroll-snap-align:start !important;
    border-radius:14px !important;
    transform:none !important;
  }
  .service-image{
    height:205px !important;
  }
  .service-copy{
    padding:18px !important;
  }
  .service-copy h3{
    font-size:18px !important;
  }
  .service-copy p{
    font-size:12px !important;
    line-height:1.55 !important;
  }
  .service-copy a{
    font-size:11px !important;
  }

  /* Installer section */
  .installers{
    min-height:0 !important;
    height:auto !important;
  }
  .installers-content{
    padding-top:55px !important;
    padding-bottom:55px !important;
  }
  .installers-panel{
    padding:20px 16px !important;
    border-radius:16px !important;
  }
  .installers-panel h2{
    font-size:clamp(34px,10.5vw,46px) !important;
    line-height:1.02 !important;
  }
  .installers-panel>p{
    font-size:12px !important;
    line-height:1.6 !important;
  }
  .installers-points{
    margin-top:22px !important;
  }
  .installers-points div{
    padding:11px 0 !important;
  }
  .installers-points span{
    font-size:11px !important;
  }

  /* Projects */
  .projects{
    padding-bottom:48px !important;
  }
  .projects-head{
    gap:14px !important;
  }
  .projects-note{
    font-size:11px !important;
  }
  .project-controls{
    margin-top:8px !important;
  }
  .project-controls button{
    width:44px !important;
    height:44px !important;
  }
  .project-track-wrap{
    margin-top:25px !important;
  }
  .project-card{
    min-width:83vw !important;
    height:315px !important;
  }
  .project-caption{
    padding:12px 13px !important;
  }
  .project-caption strong{
    font-size:11px !important;
  }

  /* roof types compact */
  .roof-types .section-title{
    max-width:90%;
  }
  .roof-sticky p{
    font-size:13px !important;
    line-height:1.6 !important;
  }
  .roof-list{
    margin-top:15px;
  }
  .roof-item{
    grid-template-columns:28px 1fr 20px !important;
    padding:14px 2px !important;
  }
  .roof-item strong{
    font-size:14px !important;
  }
  .roof-item span{
    font-size:8.5px !important;
  }
  .roof-item i{
    font-size:0 !important;
  }
  .roof-item i:before{
    content:"";
    display:block;
    width:8px;height:8px;
    border-top:2px solid var(--green);
    border-right:2px solid var(--green);
    transform:rotate(45deg);
  }

  /* Territory: chips instead of huge rows */
  .territory{
    padding-bottom:58px !important;
  }
  .territory-grid{
    gap:25px !important;
  }
  .territory-areas{
    display:flex !important;
    flex-wrap:wrap !important;
    gap:8px !important;
  }
  .territory-areas span,
  .territory-areas strong{
    width:auto !important;
    flex:0 0 auto !important;
    padding:10px 12px !important;
    border-radius:999px !important;
    font-size:10px !important;
  }
  .territory-areas strong{
    flex-basis:100% !important;
  }

  /* Process */
  .process{
    padding:60px 0 !important;
  }
  .process-line{
    margin-top:30px !important;
  }
  .process-step{
    grid-template-columns:42px 1fr !important;
    padding:12px 0 !important;
  }
  .process-step b{
    width:36px !important;
    height:36px !important;
    font-size:8px !important;
  }
  .process-step h3{
    font-size:15px !important;
  }
  .process-step p{
    font-size:10.5px !important;
  }

  /* Incentives */
  .incentives-new{
    padding-top:60px !important;
  }
  .incentives-head{
    margin-bottom:30px !important;
  }
  .incentive-layout{
    gap:12px !important;
  }
  .incentive-main{
    padding:22px 17px !important;
    border-radius:14px !important;
  }
  .incentive-main h3{
    font-size:30px !important;
  }
  .incentive-main-top p{
    font-size:12px !important;
    line-height:1.6 !important;
  }
  .practice-flow{
    margin-top:22px !important;
  }
  .practice-step{
    padding:12px !important;
  }
  .practice-step strong{font-size:12px !important}
  .practice-step span{font-size:9.5px !important}

  /* Incentive cards: 2-column compact */
  .incentive-cards{
    display:grid !important;
    grid-template-columns:1fr 1fr !important;
    gap:8px !important;
  }
  .info-card{
    min-height:165px !important;
    padding:16px !important;
    border-radius:12px !important;
  }
  .info-icon{
    width:46px !important;
    height:46px !important;
    font-size:11px !important;
  }
  .info-card h3{
    font-size:14px !important;
    line-height:1.25 !important;
  }
  .info-card p{
    font-size:9.5px !important;
    line-height:1.45 !important;
  }
  .incentive-cta{
    padding:18px !important;
    border-radius:12px !important;
  }
  .incentive-cta strong{
    font-size:14px !important;
  }

  /* FAQ */
  .faq-section{
    padding-top:60px !important;
  }
  .faq-head{
    margin-bottom:28px !important;
  }
  .faq-item summary{
    grid-template-columns:26px 1fr 26px !important;
    padding:15px 2px !important;
  }
  .faq-item summary strong{
    font-size:13px !important;
    line-height:1.35 !important;
  }
  .faq-item summary i{
    width:26px !important;
    height:26px !important;
    font-size:15px !important;
  }
  .faq-answer{
    padding:0 2px 17px 34px !important;
  }
  .faq-answer p{
    font-size:11.5px !important;
  }

  /* Reviews */
  .reviews{
    padding-top:60px !important;
  }
  .reviews-head{
    gap:20px !important;
  }
  .google-score{
    width:auto !important;
    min-width:0 !important;
    padding:14px 16px !important;
    border-radius:12px !important;
  }
  .google-g{
    width:42px !important;
    height:42px !important;
    font-size:21px !important;
  }
  .google-score strong{
    font-size:20px !important;
  }
  .reviews-stage{
    margin-top:25px !important;
  }
  .review-card{
    min-height:250px !important;
    padding:18px !important;
    border-radius:14px !important;
  }
  .review-card>p{
    font-size:18px !important;
    line-height:1.3 !important;
    margin:22px 0 !important;
  }
  .review-top strong{
    font-size:12px !important;
  }
  .review-top span{
    font-size:8.5px !important;
  }
  .avatar{
    width:40px !important;
    height:40px !important;
  }

  /* Contact final CTA */
  .contact{
    padding-top:54px !important;
    padding-bottom:54px !important;
  }
  .contact-box.soft-contact{
    padding:24px 18px !important;
    gap:20px !important;
    border-radius:14px !important;
  }
  .contact-box h2{
    font-size:clamp(34px,10vw,44px) !important;
  }
  .contact-info>p{
    font-size:12px !important;
    line-height:1.6 !important;
  }
  .dark-btn{
    min-height:46px !important;
    font-size:11px !important;
  }
  .contacts{
    margin-top:12px !important;
  }

  /* WhatsApp: smaller and less intrusive */
  .whatsapp-float{
    width:48px !important;
    height:48px !important;
    right:12px !important;
    bottom:12px !important;
    box-shadow:
      0 4px 0 #159947,
      0 12px 24px rgba(18,110,54,.25),
      inset 0 1px 0 rgba(255,255,255,.4) !important;
  }
  .whatsapp-float svg{
    width:26px !important;
    height:26px !important;
  }

  /* Footer */
  footer{
    padding:44px 0 32px !important;
  }
  .footer-grid{
    gap:20px !important;
  }
  .footer-brand img{
    width:170px !important;
  }
  .footer-grid p{
    font-size:10.5px !important;
  }

  /* cookie banner mobile */
  .cookie-inner{
    border-radius:14px !important;
  }
  .cookie-copy strong{
    font-size:14px !important;
  }
  .cookie-copy p{
    font-size:10.5px !important;
  }
}

/* Tiny phones */
@media(max-width:390px){
  .hero-stats{
    grid-template-columns:1fr 1fr !important;
  }
  .hero-stat:last-child{
    grid-column:1/-1 !important;
  }
  .incentive-cards{
    grid-template-columns:1fr !important;
  }
  .service-card{
    flex-basis:86vw !important;
  }
}


/* ===== V15 MOBILE METRICS CAROUSEL ===== */
@media(max-width:720px){

  /* Keep the five identity cards on one horizontal row */
  .metrics{
    display:flex !important;
    flex-wrap:nowrap !important;
    overflow-x:auto !important;
    overflow-y:hidden !important;
    gap:10px !important;
    margin-top:30px !important;
    padding:2px 14px 14px !important;
    margin-left:-14px !important;
    margin-right:-14px !important;
    scroll-snap-type:x mandatory !important;
    scroll-padding-left:14px !important;
    -webkit-overflow-scrolling:touch;
    scrollbar-width:none;
    border:0 !important;
  }

  .metrics::-webkit-scrollbar{
    display:none;
  }

  .metrics .metric,
  .metrics .metric.accent-blue,
  .metrics .metric.metric-standard,
  .metrics .metric.metric-1000{
    flex:0 0 72vw !important;
    width:72vw !important;
    max-width:72vw !important;
    min-height:190px !important;
    height:190px !important;
    grid-column:auto !important;
    scroll-snap-align:start !important;
    padding:19px !important;
    border-radius:14px !important;
    display:flex !important;
    flex-direction:column !important;
    justify-content:space-between !important;
  }

  .metrics .metric-value,
  .metrics .metric-big,
  .metrics .metric-value-static{
    font-size:48px !important;
    line-height:1 !important;
    margin:0 !important;
  }

  .metrics .metric h3{
    margin:0 !important;
    font-size:15px !important;
    line-height:1.25 !important;
  }

  .metrics .metric p{
    margin:7px 0 0 !important;
    font-size:10.5px !important;
    line-height:1.45 !important;
  }

  /* Blue card keeps its contrast but same dimensions */
  .metrics .metric.accent-blue{
    background:var(--blue) !important;
    color:#fff !important;
  }

  .metrics .metric.accent-blue h3,
  .metrics .metric.accent-blue p,
  .metrics .metric.accent-blue .metric-big{
    color:#fff !important;
  }

  /* visual hint that the row can be swiped */
  .metrics:after{
    content:"";
    flex:0 0 4px;
    width:4px;
  }
}

@media(max-width:390px){
  .metrics .metric,
  .metrics .metric.accent-blue,
  .metrics .metric.metric-standard,
  .metrics .metric.metric-1000{
    flex-basis:78vw !important;
    width:78vw !important;
    max-width:78vw !important;
  }
}

/* V16: keep intrinsic ratios when width is controlled by the existing layout. */
img{height:auto}


/* ===== V17 DESKTOP HERO + SOCIAL FIX ===== */
@media(min-width:1321px){
  /* Keep the floating energy cards well clear of the navigation/header */
  .card-production{
    top:32% !important;
    right:5.5% !important;
  }
  .card-storage{
    top:46% !important;
    right:7% !important;
  }

  /* Anchor the lower information row inside the visible hero area */
  .hero-content{
    padding-bottom:88px !important;
  }
  .hero-bottom{
    position:absolute !important;
    left:0 !important;
    right:0 !important;
    bottom:22px !important;
    margin-top:0 !important;
    padding:18px 0 0 !important;
    z-index:6 !important;
  }
  .hero-status{
    padding-right:18px !important;
  }
  .scroll-cue{
    bottom:24% !important;
  }
}

/* Social icons: same visual language on every page */
.footer-socials{
  display:flex;
  align-items:center;
  gap:10px;
  margin-top:18px;
}
.footer-socials .social-icon{
  width:40px;
  height:40px;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:rgba(255,255,255,.07);
  border:1px solid rgba(255,255,255,.13);
  transition:transform .22s ease,background .22s ease,box-shadow .22s ease;
}
.footer-socials .social-icon svg{
  width:19px;
  height:19px;
  fill:#fff;
}
.footer-socials .social-icon:hover{
  transform:translateY(-4px) scale(1.06);
  background:var(--blue);
  box-shadow:0 12px 24px rgba(0,0,0,.20);
}
