
:root{--blue:#075bbf;--dark:#172338;--muted:#536174;--line:#e2e8f0;--soft:#f1f5fa}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Arial,Helvetica,sans-serif;color:var(--dark);background:white}a{color:inherit;text-decoration:none}button,input{font:inherit}.container{width:min(90%,1840px);margin:auto}.top{background:#fff;position:sticky;top:0;z-index:30;box-shadow:0 2px 15px #1323420c}.nav{height:94px;display:flex;align-items:center;justify-content:space-between;gap:30px}.brand{display:flex;align-items:center;gap:15px}.mark{font-family:Georgia,serif;color:#075bc2;font-size:65px;font-style:italic;line-height:1}.brandname{font-size:25px;letter-spacing:.7px;white-space:nowrap}.brandname strong{color:#075bbf}.brand small{display:block;font-size:10px;letter-spacing:3px;margin-top:4px}.links{display:flex;gap:32px;align-items:center;font-size:15px;font-weight:600}.links a:hover{color:var(--blue)}.btn{background:#075bbf;color:white;padding:14px 24px;border-radius:7px;display:inline-block;font-weight:700;font-size:14px;box-shadow:0 6px 14px #075bbf21;border:0;cursor:pointer}.btn:hover{background:#00448f;transform:translateY(-2px)}.btn,.skill{transition:.25s}.hero{background:linear-gradient(120deg,#fff 15%,#f3f7fd 95%);overflow:hidden}.hero-inner{display:grid;grid-template-columns:1fr 1fr;align-items:center;min-height:600px;gap:40px}.eyebrow{font-size:13px;letter-spacing:4px;font-weight:800;color:#075bbf;text-transform:uppercase}.hero h1{font-size:clamp(42px,4.1vw,86px);letter-spacing:-2.5px;line-height:1.08;margin:22px 0}.hero h1 em{font-style:normal;color:#075bbf}.hero p{max-width:760px;color:#536174;font-size:clamp(17px,1.35vw,23px);line-height:1.55;margin-bottom:28px}.hero-visual{height:580px;position:relative;display:flex;justify-content:center;align-items:flex-end;isolation:isolate}.hero-visual:before{content:"";position:absolute;z-index:-2;width:75%;height:86%;right:4%;top:6%;border-radius:55% 55% 0 0;background:#dfeaff}.hero-visual:after{content:"";position:absolute;z-index:-1;inset:0;background:linear-gradient(90deg,#f7faff00 30%,#ffffff35),url('assets/office.jpg') right center/cover no-repeat;opacity:.18}.hero-visual img{height:97%;width:auto;max-width:95%;object-fit:contain;object-position:bottom;mix-blend-mode:multiply}.section{padding:95px 0}.section-title{text-align:center;font-size:clamp(32px,3vw,55px);margin:10px 0 36px;letter-spacing:-1.5px}.line{height:4px;width:70px;background:#075bbf;margin:0 auto}.skills{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}.skill{border:1px solid #dce5f0;border-radius:12px;padding:34px 32px 30px;box-shadow:0 10px 28px #16325b0c;border-bottom:5px solid #075bbf;background:#fff}.skill:hover{transform:translateY(-9px);box-shadow:0 24px 40px #16325b20}.skill-icon{font-size:46px;color:#075bbf;line-height:1.1}.skill h3{font-size:23px;margin:14px 0}.skill p{color:#536174;line-height:1.6;font-size:16px;margin-bottom:0}.companies .company:nth-child(even){background:#f1f5fa}.company-inner{min-height:350px;display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:7%;padding-top:48px;padding-bottom:48px}.company:nth-child(even) .company-inner .company-photo{order:-1}.company h2{color:#075bbf;font-size:clamp(30px,2.8vw,48px);margin:6px 0}.company h3{font-size:21px;margin:0 0 15px}.company p{font-size:17px;line-height:1.6;color:#4d5b70;max-width:710px}.company-photo{height:280px;border-radius:12px;overflow:hidden;box-shadow:0 8px 28px #20305020}.company-photo img{width:100%;height:100%;object-fit:cover}.company .btn{margin-top:12px}.contact{background:linear-gradient(110deg,#07407c,#0a63c2);color:white;padding:80px 0}.contact-inner{display:grid;grid-template-columns:1fr 1.15fr;gap:8%;align-items:center}.contact h2{font-size:clamp(35px,3vw,58px);line-height:1.15;margin:10px 0 20px}.contact p{font-size:19px;line-height:1.55}.contact-card{background:white;color:#172338;padding:30px;border-radius:13px;box-shadow:0 18px 40px #00295c44}.formgrid{display:grid;grid-template-columns:1fr 1fr;gap:15px}.field{margin-bottom:15px}.field label{display:block;font-weight:700;font-size:14px;margin-bottom:8px}.field input{width:100%;padding:14px;border:1px solid #cdd7e3;border-radius:6px;font-size:16px}.consent{font-size:13px;line-height:1.5;margin:10px 0 20px}.consent a{color:#075bbf;text-decoration:underline}.footer{background:#172338;color:#dce5f1;padding:34px 0;font-size:14px}.footer-inner{display:flex;align-items:center;justify-content:space-between;gap:25px;flex-wrap:wrap}.footer a{text-decoration:underline}.footer button{background:none;border:0;color:inherit;text-decoration:underline;cursor:pointer}.cookie{position:fixed;z-index:50;bottom:22px;left:22px;right:22px;max-width:780px;margin:auto;background:white;color:#172338;padding:25px;border-radius:12px;box-shadow:0 12px 55px #0004;border:1px solid #d9e1ef;display:none}.cookie.show{display:block}.cookie p{line-height:1.55;color:#536174}.cookie button{margin:5px 10px 0 0}.outline{background:#fff;border:1px solid #cbd5e1;border-radius:7px;padding:12px 18px;cursor:pointer}.mobile-nav{display:none}.legal{max-width:900px;margin:55px auto;padding:25px;line-height:1.75}.legal h1{font-size:40px}.legal h2{color:#075bbf}
@media(min-width:2200px){.container{width:min(88%,2050px)}.hero-inner{min-height:800px}.hero-visual{height:760px}.section{padding:130px 0}.company-inner{min-height:450px}.company-photo{height:350px}.skill{padding:45px}.skill p,.company p{font-size:20px}}
@media(max-width:1100px){.container{width:92%}.hero-inner{min-height:520px}.hero-visual{height:480px}.links{gap:18px}.brandname{font-size:20px}.company-photo{height:240px}}
@media(max-width:760px){.nav{height:72px}.brandname{font-size:16px}.brand small{font-size:7px;letter-spacing:2px}.mark{font-size:44px}.links{display:none}.mobile-nav{display:block;font-size:14px}.hero-inner{grid-template-columns:1fr;gap:0;min-height:auto;padding-top:45px}.hero h1{font-size:clamp(38px,9vw,58px);letter-spacing:-1.5px}.hero p{font-size:17px}.hero-visual{height:390px}.hero-visual img{height:100%}.section{padding:65px 0}.skills{grid-template-columns:1fr}.skill{padding:27px}.company-inner{grid-template-columns:1fr;gap:25px;padding-top:55px;padding-bottom:55px}.company:nth-child(even) .company-inner .company-photo{order:initial}.company-photo{height:250px}.company h2{font-size:34px}.contact{padding:65px 0}.contact-inner{grid-template-columns:1fr;gap:25px}.formgrid{grid-template-columns:1fr;gap:0}.contact-card{padding:22px}.footer-inner{align-items:flex-start;flex-direction:column}.cookie{bottom:8px;left:8px;right:8px;padding:18px}}
@media(max-width:390px){.brandname{font-size:13px}.brand small{font-size:6px}.hero-visual{height:315px}.company-photo{height:200px}}

/* FINAL HERO: original approved office portrait as the actual background */
.hero{background-image:linear-gradient(90deg,rgba(255,255,255,.97) 0%,rgba(255,255,255,.93) 24%,rgba(255,255,255,.60) 43%,rgba(255,255,255,0) 65%),url('assets/hero_ufficio_alberto.png');background-size:cover;background-position:center center;background-repeat:no-repeat}
.hero-inner{display:flex;align-items:center;min-height:650px}
.hero-inner>div:first-child{width:52%;max-width:900px}
.hero h1{font-size:clamp(36px,3.2vw,69px);line-height:1.12}
.skill{text-align:center}.skill-icon{text-align:center;font-size:56px;margin:0 auto 15px;display:block}
.company-inner{grid-template-columns:1fr 1fr}
.company:nth-child(even) .company-inner .company-photo{order:initial}
.company-logo{display:flex;align-items:center;justify-content:center;background:#202020;box-shadow:none;border-radius:12px;padding:40px}
.company-logo img{width:100%;height:auto;max-width:460px;max-height:170px;object-fit:contain}
.footer-inner{display:grid;grid-template-columns:1fr 1.4fr auto;align-items:center;gap:36px}
.footer-inner>div:nth-child(2){text-align:center}.footer-inner>div:last-child{text-align:right}
@media(min-width:2200px){.hero-inner{min-height:820px}.hero-inner>div:first-child{width:51%}.hero h1{font-size:clamp(56px,3.1vw,78px)}}
@media(max-width:1100px){.hero-inner>div:first-child{width:57%}.hero h1{font-size:clamp(34px,3.8vw,54px)}}
@media(max-width:760px){.hero{background-image:linear-gradient(180deg,rgba(255,255,255,.97) 0%,rgba(255,255,255,.92) 38%,rgba(255,255,255,.05) 68%),url('assets/hero_ufficio_alberto.png');background-size:auto 100%;background-position:64% center}.hero-inner{min-height:730px;display:flex;align-items:flex-start;padding-top:45px}.hero-inner>div:first-child{width:100%;max-width:none}.hero h1{font-size:clamp(31px,7.5vw,48px);max-width:560px}.hero p{font-size:15px;max-width:520px}.company-logo{height:210px;padding:22px}.company-logo img{max-height:130px}.footer-inner{grid-template-columns:1fr;gap:15px}.footer-inner>div:nth-child(2),.footer-inner>div:last-child{text-align:left}}
@media(max-width:390px){.hero-inner{min-height:690px}.hero h1{font-size:30px}.hero{background-position:60% center}}

/* Layout aziende: logo a sinistra, testo al centro, fotografia a destra */
.company .company-inner{display:grid!important;grid-template-columns:minmax(150px,.75fr) minmax(300px,1.35fr) minmax(300px,1.4fr)!important;gap:clamp(20px,3vw,65px)!important;align-items:center!important;min-height:350px;padding-top:44px;padding-bottom:44px}
.company:nth-child(even) .company-inner .company-photo{order:initial!important}
.company-logo-slot{width:100%;display:flex;align-items:center;justify-content:center;min-width:0}
.company-logo-slot img{width:100%;max-width:255px;height:auto;max-height:135px;object-fit:contain;border-radius:0}
.company-copy{min-width:0}.company-copy h2{margin:6px 0;font-size:clamp(26px,2.1vw,43px)}
.company-copy h3{font-size:clamp(16px,1.1vw,21px)}.company-copy p{font-size:clamp(15px,.9vw,18px)}
.company .company-photo{height:clamp(220px,14vw,320px)!important;box-shadow:none;border-radius:0;overflow:hidden}
.company .company-photo img{height:100%;width:100%;object-fit:cover}
.footer .footer-inner{display:flex!important;justify-content:space-between!important;align-items:center!important;gap:24px!important;flex-wrap:nowrap!important;white-space:nowrap!important;width:min(96%,2050px)}
.footer .footer-inner>*{font-size:clamp(11px,.73vw,15px);white-space:nowrap;text-align:left!important}
@media(max-width:1050px){.company .company-inner{grid-template-columns:minmax(110px,.65fr) minmax(200px,1.3fr) minmax(180px,1.1fr)!important;gap:22px!important}.company-logo-slot img{max-width:180px}.footer .footer-inner{gap:12px!important}.footer .footer-inner>*{font-size:11px}}
@media(max-width:760px){.company .company-inner{grid-template-columns:1fr!important;gap:20px!important}.company-logo-slot{justify-content:flex-start}.company-logo-slot img{max-width:190px;max-height:90px}.company .company-photo{height:230px!important}.footer .footer-inner{flex-direction:column!important;align-items:flex-start!important;white-space:normal!important;gap:12px!important}.footer .footer-inner>*{white-space:normal;font-size:12px}}

/* Fascioni aziende riprodotti dalla grafica di riferimento caricata */
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.companies{overflow:hidden}
.company{background:#fff!important;border-top:4px solid #f3f5f7}
.company:nth-child(even){background:#fff!important}
.company .company-inner{width:min(96%,1840px)!important;max-width:1840px!important;min-height:clamp(170px,15vw,285px)!important;grid-template-columns:22% 36% 42%!important;gap:0!important;padding:0!important;align-items:stretch!important}
.company-logo-slot{position:relative!important;align-items:center!important;justify-content:center!important;padding:10px 28px 10px 5px!important}
.company-logo-slot:after{content:'';position:absolute;right:7%;top:18%;bottom:18%;width:2px;background:#b7bec8}
.company-logo-slot img{width:100%!important;max-width:290px!important;max-height:165px!important;object-fit:contain!important;mix-blend-mode:multiply}
.company-copy{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;padding:20px 18px 20px 12px!important;position:relative;z-index:2}
.company-copy h2{color:#075bbf;font-size:clamp(25px,2.1vw,43px)!important;margin:0 0 2px!important;line-height:1.05}
.company-copy h3{font-size:clamp(15px,1.15vw,22px)!important;line-height:1.18;margin:0 0 8px!important}
.company-copy p{font-size:clamp(13px,1vw,18px)!important;line-height:1.35!important;margin:0 0 10px!important;max-width:660px}
.company-copy .btn{margin:0!important;padding:10px 19px!important;font-size:clamp(12px,.85vw,16px)!important}
.company .company-photo{height:auto!important;min-height:100%;position:relative;border-radius:0!important}
.company .company-photo img{width:100%;height:100%;object-fit:cover;object-position:center}
.company .company-photo:before{content:'';position:absolute;inset:0;z-index:1;pointer-events:none;background:linear-gradient(90deg,#fff 0%,rgba(255,255,255,.82) 6%,rgba(255,255,255,0) 33%)}
@media(min-width:1700px){.company .company-inner{min-height:310px!important}.company-copy{padding-left:28px!important}}
@media(max-width:950px) and (min-width:761px){.company .company-inner{grid-template-columns:21% 40% 39%!important;min-height:190px!important}.company-logo-slot{padding-right:16px!important}.company-copy{padding:12px!important}.company-copy h2{font-size:24px!important}.company-copy h3{font-size:14px!important}.company-copy p{font-size:12px!important}.company-copy .btn{padding:8px 12px!important}}
@media(max-width:760px){.company .company-inner{width:92%!important;grid-template-columns:1fr!important;min-height:0!important;gap:0!important;padding:22px 0 0!important}.company-logo-slot{min-height:90px;justify-content:flex-start!important;padding:0 0 10px!important}.company-logo-slot:after{display:none}.company-logo-slot img{width:190px!important;max-height:90px!important}.company-copy{padding:12px 0 18px!important}.company-copy h2{font-size:30px!important}.company-copy h3{font-size:17px!important}.company-copy p{font-size:15px!important}.company .company-photo{height:210px!important;min-height:210px!important;margin:0 -4.35vw}.company .company-photo:before{background:linear-gradient(180deg,#fff 0%,transparent 20%)}}

/* Correzioni richieste: marchio originale dall'anteprima e fascioni grigio tenue */
.nav .brand{flex:0 0 auto;display:flex;align-items:center;max-width:min(34vw,365px)}
.brand-logo-official{display:block;width:100%;max-width:340px;height:auto;object-fit:contain}
.company,.company:nth-child(even){background:#f3f4f6!important;border-top:4px solid #e9edf1!important}
.company .company-inner{background:#f3f4f6!important}
.company-logo-slot{background:#f3f4f6!important}
.company-logo-slot img{mix-blend-mode:multiply!important}
.company .company-photo:before{background:linear-gradient(90deg,#f3f4f6 0%,rgba(243,244,246,.90) 7%,rgba(243,244,246,0) 40%)!important}
.contact{background:radial-gradient(ellipse at 42% 38%,rgba(120,185,248,.35),transparent 48%),linear-gradient(115deg,#093c72 0%,#0b5fae 52%,#07509c 100%)!important}
@media(max-width:760px){.nav .brand{max-width:64vw}.brand-logo-official{max-width:250px}.company .company-photo:before{background:linear-gradient(180deg,#f3f4f6 0%,transparent 25%)!important}}

/* Uniforma il grigio dei fascioni alla tonalità percepita dietro ai loghi. */
:root{--azienda-grigio:#eef0f2}
.company,.company:nth-child(even),.company .company-inner,.company-logo-slot{background:var(--azienda-grigio)!important}
.company .company-photo:before{background:linear-gradient(90deg,var(--azienda-grigio) 0%,rgba(238,240,242,.96) 8%,rgba(238,240,242,.76) 19%,rgba(238,240,242,0) 45%)!important}
@media(max-width:760px){.company .company-photo:before{background:linear-gradient(180deg,var(--azienda-grigio) 0%,rgba(238,240,242,0) 27%)!important}}

/* Loghi PNG con canale alfa: nessun riquadro opaco */
.company-logo-slot img{mix-blend-mode:normal!important;background:transparent!important;image-rendering:auto}
.company-logo-slot{background:transparent!important}
.company .company-photo img{image-rendering:auto}

/* Campo messaggio e honeypot antispam */
.contact-card .field textarea{width:100%;min-height:140px;padding:14px;border:1px solid #cdd7e3;border-radius:6px;font:inherit;font-size:16px;line-height:1.5;resize:vertical;background:#fff;color:#172338}
.contact-card .field textarea:focus{outline:2px solid #075bbf;outline-offset:1px}
.hp-field{position:absolute!important;left:-10000px!important;top:auto!important;width:1px!important;height:1px!important;overflow:hidden!important}

/* Hero mobile: foto orizzontale intera, seguita da titolo, testo e pulsante. */
.hero-mobile-photo{display:none}
@media(max-width:760px){
  .hero{background:#fff!important;background-image:none!important;min-height:0!important}
  .hero-mobile-photo{display:block;width:100%;background:#eef2f7;line-height:0;overflow:hidden}
  .hero-mobile-photo img{display:block;width:100%;height:auto;max-width:100%;object-fit:contain;object-position:center center}
  .hero-inner{display:block!important;min-height:0!important;height:auto!important;padding-top:28px!important;padding-bottom:48px!important;gap:0!important}
  .hero-inner>div:first-child{width:100%!important;max-width:none!important}
  .hero h1{font-size:clamp(30px,7.6vw,46px);line-height:1.13;overflow-wrap:break-word;margin:18px 0}
  .hero p{font-size:16px;line-height:1.6;margin-bottom:24px}
  .hero .btn{max-width:100%;white-space:normal;text-align:center}
}
@media(max-width:390px){.hero-inner{min-height:0!important}.hero h1{font-size:clamp(28px,7.5vw,34px)}}
