:root{--blue:#000064;--white:#fff;--soft:#f4f5f9;--line:rgba(0,0,100,.14);--ink:#000064}
*{box-sizing:border-box}html{scroll-behavior:smooth}html,body{margin:0;padding:0}body{font-family:'Montserrat',Arial,sans-serif;background:#fff;color:var(--ink)}a{text-decoration:none;color:inherit}img,video{max-width:100%}
.crs-header{background:#fff;border-bottom:1px solid var(--line);position:relative;z-index:50}.crs-header-inner{width:min(1540px,96%);margin:0 auto;min-height:112px;display:flex;align-items:center;gap:30px}.crs-logo{display:flex;align-items:center;flex:0 0 auto}.crs-logo svg{width:265px;height:80px;display:block}.crs-main-nav{min-width:0;flex:1;display:flex;flex-direction:column;align-items:flex-end;justify-content:center;gap:13px}.crs-nav-services,.crs-nav-company{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:8px 20px}.crs-main-nav a{color:var(--blue);font-size:13px;line-height:1.25;font-weight:600;white-space:nowrap;transition:opacity .2s}.crs-main-nav a:hover{opacity:.58}.crs-main-nav a.active{font-weight:800;border-bottom:2px solid var(--blue);padding-bottom:4px}.crs-nav-company{padding-top:10px;border-top:1px solid var(--line)}.crs-nav-company a{font-size:12px;font-weight:700}
.home-wrap{width:min(1240px,90%);margin:0 auto}.home-hero{min-height:76vh;position:relative;overflow:hidden;display:flex;align-items:flex-end;color:#fff}.home-hero-img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center}.home-hero-overlay{position:absolute;inset:0;background:linear-gradient(90deg,rgba(0,0,55,.82) 0%,rgba(0,0,55,.48) 48%,rgba(0,0,55,.05) 80%)}.home-hero-content{position:relative;z-index:2;width:min(1080px,88%);padding:8vw 0 7vw 7vw}.home-eyebrow{font-size:13px;font-weight:800;letter-spacing:.14em;margin-bottom:22px}.home-hero h1{margin:0;font-size:clamp(48px,6.8vw,98px);line-height:.94;font-weight:500;letter-spacing:-.035em;max-width:1100px}.home-hero h1 span{font-weight:700}.home-hero p{font-size:20px;line-height:1.55;max-width:760px;margin:28px 0 34px}.home-hero-actions,.cta-actions{display:flex;gap:12px;flex-wrap:wrap}.btn{display:inline-flex;align-items:center;justify-content:center;padding:16px 25px;font-size:12px;font-weight:800;letter-spacing:.04em;border:1px solid #fff;transition:.25s}.btn-light{background:#fff;color:var(--blue)}.btn-outline{color:#fff;background:transparent}.btn:hover{transform:translateY(-2px)}.home-hero-badge{position:absolute;z-index:3;right:5vw;bottom:4vw;background:#fff;color:var(--blue);padding:22px 25px;display:flex;gap:13px;align-items:center;min-width:250px}.home-hero-badge strong{font-size:46px;line-height:1}.home-hero-badge span{font-size:13px;font-weight:700;line-height:1.35}.home-cert-strip{background:var(--blue);color:#fff;text-align:center;padding:20px 5vw;font-size:14px;font-weight:700;letter-spacing:.035em}
.home-history{padding:105px 0 115px}.history-grid{display:grid;grid-template-columns:.34fr 1fr;gap:70px;align-items:start}.history-kicker,.section-head>span,.section-kicker,.home-video-copy>span,.home-cta>div>span{font-size:12px;font-weight:800;letter-spacing:.16em}.home-history h2,.section-head h2,.home-mezzi h2,.home-cta h2{font-size:clamp(38px,4.5vw,68px);line-height:1.02;font-weight:500;letter-spacing:-.03em;margin:0 0 28px}.home-history p,.section-head p,.home-mezzi p{font-size:18px;line-height:1.75;margin:0 0 14px;max-width:900px}
.home-process{background:var(--soft);padding:95px 0}.section-head{max-width:900px;margin-bottom:48px}.section-head>span{display:block;margin-bottom:16px}.process-grid{display:grid;grid-template-columns:repeat(5,1fr);border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.process-step{padding:32px 23px 36px;border-right:1px solid var(--line)}.process-step:last-child{border-right:0}.process-step b{font-size:13px;letter-spacing:.14em}.process-step h3{font-size:23px;margin:28px 0 12px;font-weight:600}.process-step p{font-size:14px;line-height:1.6;margin:0}
.home-services{padding:110px 0}.services-grid{display:grid;grid-template-columns:1.2fr .8fr;grid-auto-rows:420px;gap:10px}.service-card{position:relative;overflow:hidden;color:#fff}.service-card.large{grid-row:span 2}.service-card.wide{grid-column:span 2;height:480px}.service-card img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .55s ease}.service-card:hover img{transform:scale(1.025)}.service-shade{position:absolute;inset:0;background:linear-gradient(180deg,transparent 25%,rgba(0,0,64,.88) 100%)}.service-copy{position:absolute;left:0;right:0;bottom:0;padding:34px}.service-copy span{font-size:12px;font-weight:800;letter-spacing:.14em}.service-copy h3{font-size:clamp(27px,3vw,46px);line-height:1.02;margin:12px 0 13px;font-weight:600}.service-copy p{font-size:15px;line-height:1.5;margin:0 0 18px;max-width:560px}.service-copy b{font-size:12px;letter-spacing:.08em}
.home-video-section{height:72vh;min-height:600px;position:relative;overflow:hidden;color:#fff}.home-video-section video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.home-video-shade{position:absolute;inset:0;background:linear-gradient(90deg,rgba(0,0,64,.82),rgba(0,0,64,.16))}.home-video-copy{position:absolute;z-index:2;left:7vw;bottom:8vw;max-width:900px}.home-video-copy h2{font-size:clamp(40px,5.4vw,78px);line-height:1.02;font-weight:500;margin:17px 0 28px;letter-spacing:-.03em}.home-video-copy a{font-size:13px;font-weight:800;border-bottom:1px solid #fff;padding-bottom:6px}
.home-mezzi{padding:105px 0}.mezzi-grid{display:grid;grid-template-columns:.9fr 1.1fr;gap:90px;align-items:start}.section-kicker{display:block;margin-bottom:16px}.mezzi-tags{display:flex;flex-wrap:wrap;gap:9px;margin-top:28px}.mezzi-tags span{border:1px solid var(--blue);padding:10px 13px;font-size:11px;font-weight:800;letter-spacing:.06em}
.home-values{background:var(--blue);color:#fff;padding:0}.values-grid{display:grid;grid-template-columns:repeat(4,1fr)}.value{padding:50px 25px;border-right:1px solid rgba(255,255,255,.2)}.value:last-child{border-right:0}.value strong{display:block;font-size:48px;line-height:1;margin-bottom:12px}.value span{font-size:13px;line-height:1.45;font-weight:600}
.home-cta{background:var(--blue);color:#fff;padding:110px 0;text-align:center}.home-cta h2{color:#fff;max-width:1000px;margin:18px auto 22px}.home-cta p{font-size:18px;margin:0 0 34px}.home-cta .cta-actions{justify-content:center}
.crs-footer{background:#fff;color:var(--blue);border-top:1px solid var(--line);padding:72px 5vw 0}.crs-footer-wrap{width:min(1400px,94%);margin:0 auto;display:grid;grid-template-columns:1.25fr 1fr .85fr .55fr;gap:55px}.crs-footer-name{font-size:24px;font-weight:800}.crs-footer-brand p{font-size:14px;line-height:1.6}.crs-footer-cert{font-size:12px;font-weight:800;line-height:1.7}.crs-footer-col{display:flex;flex-direction:column;gap:10px}.crs-footer-col h3{font-size:14px;margin:0 0 8px}.crs-footer-col a,.crs-footer-col span{font-size:13px;line-height:1.45}.crs-footer-col a:hover{text-decoration:underline}.crs-footer-bottom{width:min(1400px,94%);margin:55px auto 0;padding:22px 0;border-top:1px solid var(--line);font-size:12px}
.reveal{opacity:0;transform:translateY(28px);transition:opacity .7s ease,transform .7s ease}.reveal.on{opacity:1;transform:none}
@media(max-width:1250px){.crs-header-inner{align-items:flex-start;padding:14px 0 16px}.crs-logo svg{width:220px;height:auto}.crs-main-nav{padding-top:6px}.crs-main-nav a{font-size:12px}.crs-nav-services,.crs-nav-company{gap:8px 13px}.process-grid{grid-template-columns:repeat(3,1fr)}.process-step{border-bottom:1px solid var(--line)}.crs-footer-wrap{grid-template-columns:1fr 1fr}}
@media(max-width:820px){.crs-header-inner{width:100%;display:block;padding:10px 0 0}.crs-logo{padding:0 18px 8px}.crs-logo svg{width:190px;height:auto}.crs-main-nav{display:block;width:100%;padding:0}.crs-nav-services,.crs-nav-company{flex-wrap:nowrap;justify-content:flex-start;gap:18px;overflow-x:auto;scrollbar-width:none;padding:12px 18px}.crs-nav-services::-webkit-scrollbar,.crs-nav-company::-webkit-scrollbar{display:none}.crs-nav-company{border-top:1px solid var(--line);padding-top:11px}.crs-main-nav a{font-size:12px;flex:0 0 auto}.home-hero{min-height:72vh}.home-hero-content{width:100%;padding:55px 24px 44px}.home-hero h1{font-size:50px}.home-hero p{font-size:17px}.home-hero-badge{right:18px;bottom:18px;min-width:0;padding:14px 16px}.home-hero-badge strong{font-size:32px}.home-hero-badge span{font-size:11px}.home-cert-strip{font-size:11px;line-height:1.7}.home-history{padding:70px 0}.history-grid,.mezzi-grid{grid-template-columns:1fr;gap:28px}.home-history h2,.section-head h2,.home-mezzi h2,.home-cta h2{font-size:38px}.home-history p,.section-head p,.home-mezzi p{font-size:16px}.home-process{padding:70px 0}.process-grid{grid-template-columns:1fr}.process-step{border-right:0}.home-services{padding:75px 0}.services-grid{grid-template-columns:1fr;grid-auto-rows:440px}.service-card.large{grid-row:auto}.service-card.wide{grid-column:auto;height:auto}.service-copy{padding:26px}.service-copy h3{font-size:34px}.home-video-section{height:65vh;min-height:520px}.home-video-copy{left:24px;right:24px;bottom:48px}.home-video-copy h2{font-size:40px}.home-mezzi{padding:75px 0}.values-grid{grid-template-columns:1fr 1fr}.value:nth-child(2){border-right:0}.value{border-bottom:1px solid rgba(255,255,255,.2)}.home-cta{padding:80px 0}.crs-footer{padding:55px 24px 0}.crs-footer-wrap{width:100%;grid-template-columns:1fr;gap:34px}.crs-footer-bottom{width:100%}}
@media(max-width:480px){.home-hero h1{font-size:43px}.home-hero-actions .btn{width:100%}.home-hero-badge{display:none}.services-grid{grid-auto-rows:390px}.values-grid{grid-template-columns:1fr}.value{border-right:0}.home-video-copy h2{font-size:35px}.cta-actions .btn{width:100%}}

/* AGGIORNAMENTI HOME - 12/10/2026 */
.hero-subline{display:inline-block;font-size:.58em;line-height:1.08;font-weight:500;letter-spacing:-.02em;margin-top:.18em}
.crs-wordmark-inline{display:inline-block;width:2.7em;height:.78em;vertical-align:-.08em;margin-left:.08em;color:#fff}
.crs-wordmark-inline svg{display:block;width:100%;height:100%;overflow:visible;fill:currentColor}
.home-mid-cert-strip{background:var(--blue);color:#fff;text-align:center;padding:24px 5vw;font-size:14px;font-weight:800;letter-spacing:.045em;line-height:1.55}
.home-video-section{width:100%;height:auto;aspect-ratio:1920/690;min-height:0;position:relative;overflow:hidden;color:#fff;background:var(--blue)}
.home-video-section video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center}
.home-video-shade{background:linear-gradient(90deg,rgba(0,0,64,.74),rgba(0,0,64,.10))}
.home-video-copy{left:7vw;bottom:5.5vw;max-width:760px}
.home-video-copy>span{font-size:11px;letter-spacing:.15em}
.home-video-copy h2{font-size:clamp(30px,3.65vw,58px);line-height:1.04;margin:14px 0 22px;max-width:760px}
.home-video-copy a{font-size:11px}
.service-card[href="rifacimento_coperture_amianto.php"] .service-copy p{font-size:14px;max-width:600px}
.mezzi-tags span{line-height:1.35}
.cta-phone{font-size:18px;padding-left:30px;padding-right:30px;letter-spacing:.035em}
.crs-footer,.crs-footer *{font-family:'Michroma','Montserrat',Arial,sans-serif}
.crs-footer-name{font-size:20px;line-height:1.35;font-weight:400;letter-spacing:.01em}
.crs-footer-brand p{font-size:11px;line-height:1.85}
.crs-footer-cert{font-size:10px;line-height:1.85;font-weight:400}
.crs-footer-col h3{font-size:11px;font-weight:400;letter-spacing:.03em}
.crs-footer-col a,.crs-footer-col span{font-size:10.5px;line-height:1.75}
.crs-footer-bottom{font-family:'Michroma','Montserrat',Arial,sans-serif;font-size:9px;letter-spacing:.02em}

@media(max-width:820px){
  .hero-subline{font-size:.62em;line-height:1.14;margin-top:.24em}
  .crs-wordmark-inline{width:2.6em;height:.82em}
  .home-mid-cert-strip{font-size:11px;padding:19px 20px;line-height:1.8}
  .home-video-section{aspect-ratio:auto;height:58vw;min-height:235px;max-height:340px}
  .home-video-section video{object-fit:cover;object-position:center}
  .home-video-copy{left:22px;right:22px;bottom:28px;max-width:620px}
  .home-video-copy>span{font-size:10px}
  .home-video-copy h2{font-size:clamp(26px,7.8vw,38px);margin:10px 0 16px;line-height:1.06}
  .home-video-copy a{font-size:10px}
  .service-card[href="rifacimento_coperture_amianto.php"] .service-copy p{font-size:13px;line-height:1.45}
  .mezzi-tags span{font-size:10px;padding:10px 11px}
  .cta-phone{font-size:19px!important;padding-top:17px!important;padding-bottom:17px!important}
  .crs-footer-name{font-size:18px}
  .crs-footer-brand p{font-size:10.5px}
  .crs-footer-cert{font-size:9.5px}
  .crs-footer-col h3{font-size:11px}
  .crs-footer-col a,.crs-footer-col span{font-size:10px}
}

@media(max-width:480px){
  .home-hero h1{font-size:41px}
  .hero-subline{font-size:.61em}
  .home-mid-cert-strip{font-size:10px;padding:17px 16px}
  .home-video-section{height:64vw;min-height:240px;max-height:300px}
  .home-video-copy{left:18px;right:18px;bottom:22px}
  .home-video-copy h2{font-size:28px}
  .cta-phone{font-size:20px!important}
}

/* AGGIORNAMENTO FINALE HOME - 12/10/2026 */
/* Hero più compatto per lasciare maggiore spazio alla fotografia */
.home-hero{min-height:70vh}
.home-hero-content{padding-top:6.5vw;padding-bottom:5.5vw}
.home-hero h1{font-size:clamp(44px,5.8vw,84px);line-height:.96;max-width:980px}
.home-hero p{font-size:18px;margin-top:22px;margin-bottom:28px}

/* Video: inquadratura completa, senza tagli della struttura */
.home-video-section{width:min(1500px,92%);margin:0 auto;aspect-ratio:16/9;height:auto;max-height:none;background:var(--blue)}
.home-video-section video{object-fit:contain;object-position:center center;background:var(--blue)}
.home-video-shade{background:linear-gradient(90deg,rgba(0,0,64,.64),rgba(0,0,64,.05) 62%,rgba(0,0,64,0))}
.home-video-copy{left:4.5vw;bottom:4vw;max-width:650px}
.home-video-copy>span{font-size:10px}
.home-video-copy h2{font-size:clamp(27px,3vw,46px);line-height:1.05;margin:12px 0 18px;max-width:650px}
.home-video-copy a{font-size:10px}

/* Processo: card più vive e autorevoli */
.home-process{background:#f1f3f8}
.process-grid{gap:14px;border:0}
.process-step{position:relative;background:#fff;border:1px solid rgba(0,0,100,.18);border-top:5px solid var(--blue);padding:30px 24px 34px;box-shadow:0 10px 28px rgba(0,0,100,.07);transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease;min-height:230px}
.process-step:last-child{border-right:1px solid rgba(0,0,100,.18)}
.process-step:hover{transform:translateY(-5px);box-shadow:0 18px 34px rgba(0,0,100,.12);border-color:rgba(0,0,100,.32)}
.process-step b{display:inline-flex;width:44px;height:44px;align-items:center;justify-content:center;background:var(--blue);color:#fff;font-size:13px;letter-spacing:.08em;border-radius:50%}
.process-step h3{font-size:24px;margin:24px 0 12px;font-weight:700}
.process-step p{font-size:14px;line-height:1.62}

/* Mezzi: ogni autogru valorizzata singolarmente */
.mezzi-tags{gap:10px}
.mezzi-tags span{background:#fff;border:1.5px solid var(--blue);padding:11px 14px;font-size:11px;box-shadow:0 4px 12px rgba(0,0,100,.05)}

/* Numero telefono finale più evidente */
.cta-phone{font-size:22px!important;min-width:200px;padding:18px 34px!important}

/* Footer più leggibile mantenendo il carattere coordinato al logo */
.crs-footer-name{font-size:26px;line-height:1.35}
.crs-footer-brand p{font-size:13px;line-height:1.8}
.crs-footer-cert{font-size:12px;line-height:1.8}
.crs-footer-col h3{font-size:13px;margin-bottom:10px}
.crs-footer-col a,.crs-footer-col span{font-size:12.5px;line-height:1.7}
.crs-footer-bottom{font-size:10px}

@media(max-width:1250px){
  .process-grid{grid-template-columns:repeat(3,1fr)}
  .process-step{border:1px solid rgba(0,0,100,.18);border-top:5px solid var(--blue)}
}

@media(max-width:820px){
  .home-hero{min-height:60vh}
  .home-hero-content{padding:38px 22px 34px}
  .home-hero h1{font-size:clamp(36px,10vw,48px);line-height:.98;max-width:92%}
  .hero-subline{font-size:.56em;line-height:1.15;margin-top:.2em}
  .home-hero p{font-size:15px;line-height:1.5;margin:18px 0 22px;max-width:88%}
  .home-eyebrow{font-size:10px;margin-bottom:14px}
  .home-hero-actions{gap:8px}.home-hero-actions .btn{padding:13px 16px;font-size:10px}

  .home-video-section{width:100%;aspect-ratio:16/9;height:auto;min-height:0;max-height:none;margin:0}
  .home-video-section video{object-fit:contain;object-position:center center}
  .home-video-copy{left:18px;right:18px;bottom:18px;max-width:72%}
  .home-video-copy>span{font-size:8px}
  .home-video-copy h2{font-size:clamp(20px,5.6vw,30px);line-height:1.07;margin:8px 0 12px}
  .home-video-copy a{font-size:8px}

  .process-grid{grid-template-columns:1fr;gap:12px}
  .process-step{min-height:0;padding:24px 22px 27px}
  .process-step b{width:40px;height:40px}
  .process-step h3{font-size:22px;margin:18px 0 10px}

  .mezzi-tags span{font-size:10px;padding:10px 11px}
  .cta-phone{font-size:20px!important;min-width:180px}

  .crs-footer-name{font-size:22px}
  .crs-footer-brand p{font-size:12px}
  .crs-footer-cert{font-size:11px}
  .crs-footer-col h3{font-size:12px}
  .crs-footer-col a,.crs-footer-col span{font-size:11.5px}
}

@media(max-width:480px){
  .home-hero{min-height:56vh}
  .home-hero h1{font-size:36px;max-width:95%}
  .hero-subline{font-size:.54em}
  .home-hero p{font-size:14px;max-width:94%}
  .home-video-copy{max-width:76%;left:14px;bottom:14px}
  .home-video-copy h2{font-size:20px}
  .home-video-copy a{font-size:8px}
  .process-step{padding:22px 20px 24px}
  .cta-phone{font-size:20px!important;width:100%}
  .crs-footer-name{font-size:20px}
  .crs-footer-brand p{font-size:11.5px}
  .crs-footer-cert{font-size:10.5px}
  .crs-footer-col h3{font-size:12px}
  .crs-footer-col a,.crs-footer-col span{font-size:11px}
}

/* AGGIORNAMENTI FINALI 14-10-2026 */
.hero-coordinato{margin-top:10px;font-size:15px;letter-spacing:.02em;color:#fff}.hero-crs-text{font-family:'Michroma',sans-serif;font-size:.94em}
.home-history-compact{padding:64px 0;background:#f6f7fa}.history-compact-grid{display:grid;grid-template-columns:300px 1fr;gap:56px;align-items:stretch}.history-compact-side{background:#000064;color:#fff;min-height:300px;padding:36px 34px;display:flex;flex-direction:column;justify-content:space-between}.history-compact-side .history-kicker{font-size:11px;font-weight:800;letter-spacing:.16em}.history-years{font-size:100px;line-height:.8;font-weight:700;letter-spacing:-.06em}.history-years span{font-size:.42em;vertical-align:top}.history-years-label{font-size:13px;font-weight:700;letter-spacing:.08em;line-height:1.4}.history-compact-content{align-self:center}.history-compact-content h2{font-size:clamp(38px,4vw,62px);line-height:1.02;margin:0 0 28px;max-width:900px}.history-compact-text{display:grid;grid-template-columns:1fr 1fr;gap:16px 30px;max-width:980px}.history-compact-text p{font-size:16px;line-height:1.62;margin:0}.history-compact-text p:first-child{grid-column:1/-1;font-size:19px}
.home-process{background:#dde1eb!important;padding-top:88px!important;padding-bottom:88px!important}.home-process .process-step{background:#fff!important;border-top:5px solid #000064!important;box-shadow:0 12px 26px rgba(0,0,100,.08);padding:28px 24px!important}.home-services{background:#fff!important;padding-top:92px!important}.home-video-section{overflow:hidden!important;background:#000064!important}.home-video-section video{width:100%!important;height:clamp(430px,46vw,650px)!important;object-fit:cover!important;object-position:center 42%!important;display:block}.home-video-copy{max-width:1000px!important}.home-video-copy h2{font-size:clamp(30px,3.4vw,54px)!important;line-height:1.06!important}.home-hero h1{font-size:clamp(56px,6.5vw,102px)!important;line-height:.94!important;max-width:900px!important}.home-hero-content{max-width:930px!important}
@media(max-width:900px){.history-compact-grid{grid-template-columns:1fr;gap:26px}.history-compact-side{min-height:0;padding:26px;display:grid;grid-template-columns:1fr auto;align-items:end}.history-years{font-size:72px}.history-compact-content h2{font-size:38px}.history-compact-text{grid-template-columns:1fr}.history-compact-text p:first-child{grid-column:auto}.home-video-section video{height:50vw;min-height:270px;object-position:center 40%}.home-hero h1{font-size:clamp(46px,12vw,74px)}}
@media(max-width:520px){.home-history-compact{padding:40px 0}.history-years{font-size:60px}.history-compact-content h2{font-size:32px}.history-compact-text p{font-size:14px}.home-process{padding-top:54px!important;padding-bottom:54px!important}.home-video-section video{height:56vw;min-height:230px;object-position:center 38%}.hero-coordinato{font-size:13px}.home-hero h1{font-size:46px}}

/* 15-10-2026 - video HOME: inquadratura completa, niente zoom/crop */
.home-video-section{
  width:min(1500px,96%)!important;
  margin:0 auto!important;
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
  aspect-ratio:1920/1020!important;
  overflow:hidden!important;
  background:#000064!important;
}
.home-video-section video{
  position:absolute!important;
  inset:0!important;
  width:100%!important;
  height:100%!important;
  object-fit:contain!important;
  object-position:center center!important;
  transform:none!important;
  background:#000064!important;
}
@media(max-width:820px){
  .home-video-section{width:100%!important;aspect-ratio:1920/1020!important;height:auto!important;min-height:0!important;max-height:none!important}
  .home-video-section video{width:100%!important;height:100%!important;object-fit:contain!important;object-position:center center!important;transform:none!important}
}

/* CRS Manuale identità — SOLO tipografia, nessuna modifica a misure o impaginazione */
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@300;400;500;600&display=swap');
html,body,button,input,textarea,select{font-family:'IBM Plex Sans',Arial,sans-serif!important;}
h1,h2{font-family:'IBM Plex Sans',Arial,sans-serif!important;font-weight:300!important;}
h3,h4,h5,h6{font-family:'IBM Plex Sans',Arial,sans-serif!important;font-weight:400!important;}
p,li,a,span{font-family:'IBM Plex Sans',Arial,sans-serif!important;}
strong,b{font-weight:600!important;}



/* HOME — PC: foto protagoniste, titoli meno invasivi, impaginazione conservata */
@media screen and (min-width:821px){
  .home-hero h1{font-size:clamp(46px,5.1vw,78px)!important;max-width:800px!important}
  .home-hero-content{max-width:850px!important}
  .home-video-copy h2{font-size:clamp(26px,2.8vw,42px)!important;max-width:630px!important}
}
/* HOME — cellulare: immagine, video e foto delle lavorazioni SENZA scritte sopra */
@media screen and (max-width:820px){
  .home-hero{display:flex!important;flex-direction:column!important;align-items:stretch!important;min-height:0!important;height:auto!important;overflow:visible!important;background:#000064!important}
  .home-hero-img{position:relative!important;inset:auto!important;display:block!important;width:100%!important;height:auto!important;max-height:none!important;aspect-ratio:auto!important;object-fit:contain!important;object-position:center!important}
  .home-hero-overlay{display:none!important}
  .home-hero-content{display:block!important;position:relative!important;z-index:1!important;width:100%!important;max-width:none!important;padding:22px 22px 26px!important;background:#000064!important;color:#fff!important}
  .home-eyebrow{font-size:10px!important;line-height:1.5!important;letter-spacing:.09em!important;margin-bottom:10px!important}
  .home-hero h1{font-size:clamp(30px,7.8vw,42px)!important;line-height:1.07!important;max-width:none!important;letter-spacing:-.02em!important;margin:0!important}
  .home-hero p{font-size:14px!important;line-height:1.5!important;max-width:none!important;margin:14px 0 16px!important}
  .home-hero-actions{gap:8px!important}
  .home-hero-actions .btn{width:auto!important;flex:1 1 135px!important;min-height:43px!important;font-size:10px!important;line-height:1.35!important;padding:10px 11px!important;text-align:center!important}
  .hero-coordinato{font-size:12px!important;margin-top:13px!important}
  .home-hero-badge{display:none!important}

  .home-video-section{position:relative!important;display:flex!important;flex-direction:column!important;width:100%!important;aspect-ratio:auto!important;height:auto!important;min-height:0!important;max-height:none!important;overflow:visible!important;background:#000064!important}
  .home-video-section video{position:relative!important;inset:auto!important;width:100%!important;height:auto!important;min-height:0!important;max-height:none!important;aspect-ratio:auto!important;object-fit:contain!important;object-position:center!important;transform:none!important;background:#000064!important;display:block!important}
  .home-video-shade{display:none!important}
  .home-video-copy{position:relative!important;left:auto!important;right:auto!important;bottom:auto!important;width:100%!important;max-width:none!important;padding:20px 22px 26px!important;color:#fff!important;background:#000064!important}
  .home-video-copy>span{font-size:10px!important;letter-spacing:.12em!important}
  .home-video-copy h2{font-size:clamp(25px,6.5vw,34px)!important;line-height:1.12!important;margin:10px 0 17px!important;max-width:none!important}
  .home-video-copy a{font-size:11px!important}

  .home-services{padding-top:55px!important}
  .services-grid{display:grid!important;grid-template-columns:1fr!important;grid-auto-rows:auto!important;gap:12px!important}
  .service-card,.service-card.large,.service-card.wide{display:flex!important;flex-direction:column!important;grid-column:auto!important;grid-row:auto!important;height:auto!important;min-height:0!important;overflow:visible!important;background:#000064!important}
  .service-card img{display:block!important;flex:none!important;width:100%!important;height:auto!important;max-height:none!important;aspect-ratio:auto!important;object-fit:contain!important;transform:none!important}
  .service-shade{display:none!important}
  .service-copy{position:relative!important;left:auto!important;right:auto!important;bottom:auto!important;flex:1!important;padding:17px 20px 22px!important;color:#fff!important;background:#000064!important}
  .service-copy span{font-size:10px!important}
  .service-copy h3{font-size:clamp(25px,6.5vw,32px)!important;line-height:1.15!important;margin:10px 0!important}
  .service-copy p{font-size:13px!important;line-height:1.5!important;margin:0 0 12px!important;max-width:none!important}
  .service-copy b{font-size:11px!important}
  .home-history-compact,.home-process,.home-mezzi,.home-cta{overflow-x:clip}
  .history-compact-grid,.history-compact-text{min-width:0}
  .history-compact-content h2,.home-mezzi h2,.home-cta h2,.section-head h2{font-size:clamp(29px,7.7vw,38px)!important;line-height:1.12!important;overflow-wrap:break-word}
}
@media screen and (max-width:380px){
  .home-hero-content,.home-video-copy{padding-left:17px!important;padding-right:17px!important}
  .home-hero h1{font-size:30px!important}
}



/* 19-10-2026 - MOBILE: riduci copertura solo nelle sezioni alte */
@media screen and (max-width:820px){
  /* HERO: testo meno invasivo */
  .home-hero-overlay{
    display:block!important;
    background:linear-gradient(90deg,rgba(0,0,55,.76) 0%,rgba(0,0,55,.56) 34%,rgba(0,0,55,.18) 62%,rgba(0,0,55,0) 100%)!important;
  }
  .home-hero-content{
    width:min(68%,340px)!important;
    max-width:min(68%,340px)!important;
    padding:26px 18px 22px 18px!important;
    background:transparent!important;
  }
  .home-eyebrow{
    font-size:10px!important;
    letter-spacing:.10em!important;
    margin-bottom:10px!important;
  }
  .home-hero h1{
    font-size:clamp(28px,7vw,36px)!important;
    line-height:1.03!important;
    max-width:100%!important;
    margin:0!important;
  }
  .home-hero p{
    font-size:13px!important;
    line-height:1.42!important;
    margin:12px 0 14px!important;
    max-width:100%!important;
  }
  .home-hero-actions .btn{
    padding:10px 12px!important;
    min-height:42px!important;
    font-size:10px!important;
  }
  .hero-coordinato{font-size:12px!important;margin-top:10px!important}

  /* VIDEO: più foto visibile, testo più compatto */
  .home-video-shade{
    display:block!important;
    background:linear-gradient(90deg,rgba(0,0,64,.84) 0%,rgba(0,0,64,.52) 33%,rgba(0,0,64,.10) 60%,rgba(0,0,64,0) 100%)!important;
  }
  .home-video-copy{
    left:16px!important;
    right:auto!important;
    bottom:16px!important;
    max-width:min(56%,250px)!important;
    width:auto!important;
    padding:0!important;
    background:transparent!important;
  }
  .home-video-copy>span{
    font-size:9px!important;
    letter-spacing:.10em!important;
  }
  .home-video-copy h2{
    font-size:clamp(18px,5.8vw,26px)!important;
    line-height:1.08!important;
    margin:8px 0 12px!important;
    max-width:100%!important;
  }
  .home-video-copy a{
    font-size:10px!important;
    padding-bottom:4px!important;
  }
}

@media screen and (max-width:480px){
  .home-hero-content{
    width:min(72%,300px)!important;
    max-width:min(72%,300px)!important;
    padding:22px 16px 18px 16px!important;
  }
  .home-hero h1{font-size:clamp(26px,8vw,32px)!important}
  .home-hero p{font-size:12.5px!important;line-height:1.4!important}
  .home-video-copy{
    left:14px!important;
    bottom:14px!important;
    max-width:min(58%,220px)!important;
  }
  .home-video-copy h2{font-size:clamp(17px,5.6vw,22px)!important;line-height:1.07!important}
}


/* 19-10-2026 - HOME PC: invertite le larghezze delle schede 06 e 07;
   ordine originale mantenuto; cellulare invariato. */
@media screen and (min-width:821px) {
  .services-grid > .service-card[href*="/CANCELLI.SCALE.RECINZIONI/"] {
    grid-column: auto;
    height: auto;
  }
  .services-grid > .service-card[href*="/C.AMIANTO/"] {
    grid-column: 1 / -1;
    height: 480px;
  }
}


/* 19-10-2026 - FIX MOBILE HOME: sfumatura in basso su tutte le immagini */
@media screen and (max-width:820px){
  /* Hero iniziale */
  .home-hero{
    min-height:68vh!important;
    align-items:flex-end!important;
  }
  .home-hero-overlay{
    display:block!important;
    background:linear-gradient(180deg,rgba(0,0,64,0) 22%,rgba(0,0,64,.32) 58%,rgba(0,0,64,.88) 100%)!important;
  }
  .home-hero-content{
    width:100%!important;
    max-width:none!important;
    padding:20px 18px 24px!important;
    background:transparent!important;
  }

  /* Video centrale: niente sfumatura laterale, solo in basso */
  .home-video-shade{
    display:block!important;
    background:linear-gradient(180deg,rgba(0,0,64,0) 22%,rgba(0,0,64,.30) 60%,rgba(0,0,64,.88) 100%)!important;
  }
  .home-video-copy{
    left:0!important;
    right:0!important;
    bottom:0!important;
    max-width:none!important;
    width:100%!important;
    padding:18px 18px 22px!important;
    background:transparent!important;
  }
  .home-video-copy h2{
    font-size:clamp(20px,6vw,28px)!important;
    line-height:1.08!important;
    margin:8px 0 12px!important;
    max-width:96%!important;
  }
  .home-video-copy a{font-size:11px!important}

  /* Schede lavorazioni: testo sopra la foto con sfumatura bassa */
  .services-grid{
    display:grid!important;
    grid-template-columns:1fr!important;
    grid-auto-rows:auto!important;
    gap:12px!important;
  }
  .service-card,
  .service-card.large,
  .service-card.wide{
    position:relative!important;
    display:block!important;
    grid-column:auto!important;
    grid-row:auto!important;
    height:390px!important;
    min-height:390px!important;
    overflow:hidden!important;
    background:#000064!important;
  }
  .service-card img{
    display:block!important;
    width:100%!important;
    height:100%!important;
    max-height:none!important;
    aspect-ratio:auto!important;
    object-fit:cover!important;
    object-position:center!important;
    transform:none!important;
  }
  .service-shade{
    display:block!important;
    position:absolute!important;
    inset:0!important;
    background:linear-gradient(180deg,rgba(0,0,64,0) 26%,rgba(0,0,64,.32) 58%,rgba(0,0,64,.90) 100%)!important;
  }
  .service-copy{
    position:absolute!important;
    left:0!important;
    right:0!important;
    bottom:0!important;
    flex:none!important;
    padding:18px 18px 22px!important;
    color:#fff!important;
    background:transparent!important;
  }
  .service-copy span{font-size:10px!important}
  .service-copy h3{
    font-size:clamp(24px,7vw,34px)!important;
    line-height:1.08!important;
    margin:8px 0 10px!important;
  }
  .service-copy p{
    font-size:13px!important;
    line-height:1.45!important;
    margin:0 0 12px!important;
    max-width:96%!important;
  }
  .service-copy b{font-size:11px!important}
}

@media screen and (max-width:480px){
  .service-card,
  .service-card.large,
  .service-card.wide{
    height:360px!important;
    min-height:360px!important;
  }
  .service-copy{padding:16px 16px 20px!important}
  .service-copy h3{font-size:clamp(22px,8vw,30px)!important}
}

/* 19-10-2026 - PC: amianto e cancelli/scale affiancate, senza sovrapposizioni */
@media screen and (min-width:821px){
  .services-grid > .service-card[href*="/C.AMIANTO/"]{
    grid-column:auto !important;
    grid-row:auto !important;
    height:auto !important;
    min-height:420px !important;
  }
  .services-grid > .service-card[href*="/CANCELLI.SCALE.RECINZIONI/"]{
    grid-column:auto !important;
    grid-row:auto !important;
    height:auto !important;
    min-height:420px !important;
  }
  .services-grid > .service-card[href*="/C.AMIANTO/"] img{
    object-position:35% center !important;
  }
}


/* CRS 19-10-2026: LAVORAZIONI MOBILE -- FOTO BEN VISIBILE E SFUMATURA SOLO IN BASSO.
   Nessuna modifica ai layout desktop, alla HOME hero o al video. */
@media screen and (max-width:820px){
  .home-services .services-grid{
    display:grid!important;
    grid-template-columns:minmax(0,1fr)!important;
    grid-auto-rows:auto!important;
    gap:12px!important;
  }
  .home-services .services-grid > .service-card,
  .home-services .services-grid > .service-card.large,
  .home-services .services-grid > .service-card.wide{
    display:block!important;
    position:relative!important;
    isolation:isolate;
    grid-row:auto!important;
    grid-column:auto!important;
    width:100%!important;
    height:auto!important;
    min-height:0!important;
    aspect-ratio:3/4!important;
    overflow:hidden!important;
    background:#000064!important;
  }
  /* Le due immagini orizzontali hanno un'inquadratura adatta allo smartphone. */
  .home-services .services-grid > .service-card[href*="/MONTAGGI/"],
  .home-services .services-grid > .service-card[href*="/R.FACCIATA/"]{
    aspect-ratio:1/1!important;
  }
  .home-services .service-card > img{
    display:block!important;
    position:absolute!important;
    inset:0!important;
    width:100%!important;
    height:100%!important;
    max-height:none!important;
    aspect-ratio:auto!important;
    object-fit:cover!important;
    object-position:center center!important;
    transform:none!important;
    z-index:0!important;
  }
  .home-services .service-card > .service-shade{
    display:block!important;
    position:absolute!important;
    inset:0!important;
    z-index:1!important;
    background:linear-gradient(180deg,
      rgba(0,0,64,0) 0%,
      rgba(0,0,64,0) 55%,
      rgba(0,0,64,.12) 68%,
      rgba(0,0,64,.55) 86%,
      rgba(0,0,64,.88) 100%)!important;
  }
  .home-services .service-card > .service-copy{
    display:block!important;
    position:absolute!important;
    z-index:2!important;
    left:0!important;
    right:0!important;
    bottom:0!important;
    width:auto!important;
    height:auto!important;
    padding:16px 17px 19px!important;
    margin:0!important;
    color:#fff!important;
    background:transparent!important;
    text-shadow:0 1px 4px rgba(0,0,36,.65);
  }
  .home-services .service-copy span{
    font-size:10px!important;
    letter-spacing:.12em!important;
  }
  .home-services .service-copy h3{
    font-size:clamp(23px,6.8vw,34px)!important;
    line-height:1.07!important;
    margin:8px 0 9px!important;
    color:#fff!important;
  }
  .home-services .service-copy p{
    font-size:clamp(12px,3.25vw,14px)!important;
    line-height:1.4!important;
    margin:0 0 11px!important;
    max-width:100%!important;
    color:#fff!important;
  }
  .home-services .service-copy b{
    font-size:11px!important;
    color:#fff!important;
  }
}
@media screen and (max-width:360px){
  .home-services .service-card > .service-copy{
    padding:13px 13px 16px!important;
  }
  .home-services .service-copy h3{
    font-size:clamp(21px,6.8vw,25px)!important;
  }
}
