*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font:16px/1.65 Arial,sans-serif;color:#20252b;background:#f8f9f9}a{color:inherit;text-decoration:none}header{background:#151b22;color:#fff;position:sticky;top:0;z-index:10;box-shadow:0 2px 14px #0003}.nav{max-width:1250px;margin:auto;padding:14px 24px;display:flex;align-items:center;justify-content:space-between;gap:20px}.brand{font-size:25px;font-weight:900;letter-spacing:-1px;line-height:1}.brand small{display:block;font-size:10px;letter-spacing:2px;text-align:right;margin-top:5px}.brand span{color:#e4b336}nav{display:flex;gap:23px;flex-wrap:wrap}nav a{font-size:13px;text-transform:uppercase;letter-spacing:1px}nav a:hover{color:#e4b336}.hero{min-height:65vh;background:linear-gradient(90deg,#111b26c9,#111b2620),var(--hero) center/cover;display:flex;align-items:center;color:white}.hero-inner{max-width:1200px;margin:auto;padding:75px 28px;width:100%}.eyebrow{color:#e4b336;text-transform:uppercase;font-size:12px;letter-spacing:3px;font-weight:700}h1{font-size:clamp(38px,5vw,74px);line-height:1.08;max-width:850px;margin:14px 0 22px}h2{font-size:clamp(27px,3vw,42px);line-height:1.2;margin:10px 0 20px}p{max-width:780px}.button{display:inline-block;padding:12px 22px;background:#e4b336;color:#171b20;font-weight:700;margin:12px 10px 0 0}.button.alt{background:transparent;border:1px solid #fff;color:#fff}.container{max-width:1200px;margin:auto;padding:65px 25px}.intro{font-size:20px;color:#515c65}.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}.tile{background:#fff;box-shadow:0 4px 22px #0000000b;overflow:hidden}.tile img{width:100%;height:235px;object-fit:cover;display:block}.tile .pad{padding:23px}.tile h3{margin:0 0 9px;font-size:21px}.muted{color:#64707a}.dark{background:#1b232c;color:#fff}.split{display:grid;grid-template-columns:1fr 1fr;gap:55px;align-items:center}.split img{width:100%;max-height:490px;object-fit:cover}.gallery{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.gallery a{display:block;background:white}.gallery img{display:block;width:100%;height:225px;object-fit:cover}.gallery figcaption{font-size:12px;color:#68727c;padding:8px 5px}.gallery figure{margin:0}.certs{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}.cert{background:white;padding:25px;border-left:5px solid #e4b336}.cert a{text-decoration:underline;text-underline-offset:4px}.pagehead{background:#202b36;color:white;padding:68px 25px}.pagehead>div{max-width:1150px;margin:auto}.pagehead h1{font-size:48px}.video{width:100%;max-width:850px}footer{background:#111820;color:#d3d9dd;padding:45px 25px}footer>div{max-width:1200px;margin:auto}footer a{text-decoration:underline}@media(max-width:800px){.nav{align-items:flex-start;flex-direction:column}nav{gap:12px}.grid,.gallery{grid-template-columns:repeat(2,1fr)}.split,.certs{grid-template-columns:1fr}}@media(max-width:520px){.grid,.gallery{grid-template-columns:1fr}.hero{min-height:58vh}.pagehead h1{font-size:36px}}
.brand{display:block;flex-shrink:0;line-height:0}.brand img{display:block;width:230px;max-width:42vw;height:auto;background:white;padding:5px 8px;border-radius:2px}@media(max-width:800px){.brand img{width:205px;max-width:75vw}}

/* Logo originale senza riquadro bianco: testata chiara per mantenere leggibile il marchio scuro */
header{background:#fff;color:#20252b;box-shadow:0 2px 14px #0002}
.brand img{background:transparent;padding:0;border-radius:0;width:270px;max-width:43vw}
@media(max-width:800px){.brand img{width:230px;max-width:75vw}}

/* Galleria fotografica senza didascalie */
.gallery figure{overflow:hidden;background:#e8ebec}.gallery img{transition:transform .3s ease}.gallery a:hover img{transform:scale(1.035)}

/* Presentazione aziendale e due fotografie della sede */
.company-intro{padding-top:64px;padding-bottom:68px}.company-copy{max-width:900px;margin-bottom:30px}.company-copy p,.company-band p{font-size:17px;line-height:1.85}.company-photo-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.company-photo-grid figure{margin:0;overflow:hidden;background:#edf0f1}.company-photo-grid img{width:100%;height:350px;object-fit:cover;display:block}.company-band{background:#f0f2f3;padding:58px 25px}.company-band .container{padding:0}.company-band p{max-width:950px}@media(max-width:760px){.company-photo-grid{grid-template-columns:1fr}.company-photo-grid img{height:auto;max-height:390px;object-fit:contain}.company-intro{padding-top:40px}}

/* Quattro settori: griglia bilanciata */
body:has(a[href="opere-stradali.html"]) .grid:has(> .tile:nth-child(4):last-child){grid-template-columns:repeat(2,minmax(0,1fr))}
@media(max-width:520px){body:has(a[href="opere-stradali.html"]) .grid:has(> .tile:nth-child(4):last-child){grid-template-columns:1fr}}

/* Anteprima Home: contenuto più ampio e fondo grigio tenue; altre pagine invariate */
.home-wide{max-width:1320px;background:#eef1f2;padding:62px 46px 76px;}
.home-wide .grid{gap:24px;}
.home-wide .tile img{height:270px;}
.home-wide .tile{box-shadow:0 5px 18px #00000012;}
@media(max-width:800px){.home-wide{padding:44px 24px 54px;}.home-wide .tile img{height:215px;}}
@media(max-width:520px){.home-wide{padding:38px 18px 45px;}.home-wide .tile img{height:235px;}}

/* Home V2: layout realmente ampio su monitor desktop */
@media(min-width:1000px){
 .home-wide{max-width:1600px;width:calc(100% - 64px);padding:72px 36px 90px;}
 .home-wide .grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:32px;}
 .home-wide .tile img{height:clamp(320px,27vw,440px);}
 .home-wide .tile .pad{padding:24px 30px;}
 .home-wide .tile h3{font-size:26px;}
 .home-wide .intro{max-width:1100px;}
}
@media(min-width:1700px){.home-wide{max-width:calc(100% - 120px);}}
@media(min-width:700px) and (max-width:999px){.home-wide .grid{grid-template-columns:repeat(2,minmax(0,1fr));}}
