
:root{--navy:#032c58;--navy2:#001c3a;--blue:#0598f6;--blue2:#007ddd;--yellow:#ffd400;--ink:#092c56;--muted:#5b6f84;--line:#d7e4ef;--bg:#f4f9fd;--white:#fff;--max:1180px}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",Arial,sans-serif;color:var(--ink);background:#fff;line-height:1.55}img{max-width:100%;display:block}a{color:inherit;text-decoration:none}button,input,textarea,select{font:inherit}.wrap{width:min(var(--max),calc(100% - 48px));margin:auto}.skip{position:absolute;left:-9999px}.skip:focus{left:12px;top:12px;z-index:9999;background:#fff;padding:10px 14px}.site-header{position:sticky;top:0;z-index:70;background:linear-gradient(90deg,#04376b,#064a87);box-shadow:0 2px 18px #001b3560}.nav{min-height:74px;display:flex;align-items:center;gap:28px}.brand{margin-right:auto;display:flex;align-items:center}.brand img{width:156px;height:auto;border-radius:0}.menu{display:flex;align-items:center;gap:24px;color:#fff;font-size:14px;font-weight:700}.menu a,.menu button{color:#fff;background:none;border:0;padding:10px 0;cursor:pointer}.menu>a:not(.cta-nav):hover,.drop>button:hover{color:var(--yellow)}.drop{position:relative}.drop-menu{position:absolute;top:42px;left:-18px;width:240px;padding:10px;background:#fff;border-radius:14px;box-shadow:0 20px 50px #001a3540;display:none}.drop:hover .drop-menu,.drop:focus-within .drop-menu{display:block}.drop-menu a{display:block;color:var(--ink);padding:10px 12px;border-radius:9px;font-weight:700}.drop-menu a:hover{background:#edf7ff;color:var(--blue2)}.header-phone{color:#fff!important;white-space:nowrap}.cta-nav,.button.yellow{background:var(--yellow)!important;color:#071f3d!important;border-radius:7px;padding:13px 20px!important;font-weight:900;box-shadow:0 8px 24px #ffd4002e}.menu-btn{display:none;margin-left:auto;width:44px;height:44px;border:1px solid #ffffff50;border-radius:8px;background:transparent}.menu-btn i{display:block;width:20px;height:2px;background:#fff;margin:4px auto}.hero{position:relative;overflow:hidden;color:#fff;background:linear-gradient(90deg,#032e5b 0%,#03345f 42%,#063b6d 100%)}.hero:before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 28% 20%,#0b72be50,transparent 34%),linear-gradient(90deg,#01264be8 0%,#032a4fd0 47%,#01213d55 100%);z-index:1}.hero-bg{position:absolute;right:0;top:0;width:58%;height:100%;object-fit:cover;object-position:center;opacity:.98}.hero-grid{position:relative;z-index:2;min-height:520px;display:grid;grid-template-columns:1.05fr .95fr;align-items:center}.hero-copy{padding:72px 0}.kicker{font-size:13px;letter-spacing:.22em;text-transform:uppercase;color:#27b2ff;font-weight:900;margin:0 0 14px}.kicker.yellow{color:var(--yellow)}.hero h1{font-size:clamp(50px,6vw,76px);line-height:.98;letter-spacing:-.045em;margin:0 0 20px;max-width:660px}.hero h1 em{font-style:normal;color:#08a8ff}.hero h1 .dot{color:var(--yellow)}.hero .lead{font-size:24px;line-height:1.25;max-width:650px;margin:0 0 12px}.hero .sublead{font-size:17px;max-width:640px;color:#e2eef8;margin:0 0 26px}.actions{display:flex;gap:16px;flex-wrap:wrap}.button{display:inline-flex;align-items:center;justify-content:center;gap:10px;border-radius:7px;padding:14px 22px;font-weight:900;font-size:14px;text-transform:uppercase}.button.outline{border:2px solid #00a9ff;color:#fff}.button.blue{background:var(--blue2);color:#fff}.button.white{background:#fff;color:var(--ink)}.button:hover{transform:translateY(-1px)}.trustline{position:relative;z-index:3;background:#03284d;color:#fff}.trustline .wrap{display:flex;gap:42px;align-items:center;padding:14px 0;font-size:14px}.trustitem{display:flex;gap:9px;align-items:center}.trustitem img{width:22px;height:22px}.section{padding:62px 0}.section.white{background:#fff}.section.soft{background:linear-gradient(#f8fbfe,#eef6fc)}.section.dark{background:linear-gradient(100deg,#012445,#063f73);color:#fff}.section h2{font-size:clamp(32px,4vw,46px);line-height:1.05;letter-spacing:-.035em;margin:0 0 10px}.section-intro{max-width:780px;margin-bottom:34px}.section-intro p{margin:0;color:var(--muted);font-size:18px}.dark .section-intro p{color:#d6e8f7}.services{display:grid;grid-template-columns:repeat(6,1fr);gap:12px}.service-card{border:1px solid var(--line);border-radius:10px;padding:22px 18px 18px;background:#fff;min-height:210px;display:flex;flex-direction:column;box-shadow:0 10px 24px #082d5210}.service-card img{width:40px;height:40px;margin-bottom:16px}.service-card h3{font-size:18px;margin:0 0 8px}.service-card p{font-size:14px;color:var(--muted);margin:0 0 14px}.service-card a{margin-top:auto;color:var(--blue2);font-weight:800;font-size:14px}.infra{display:grid;grid-template-columns:.72fr 1.28fr;gap:48px;align-items:center}.infra h2 strong{color:var(--yellow)}.infra p{color:#d8e7f4}.flow{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}.flow-node{width:112px;text-align:center}.flow-node img{width:50px;height:50px;margin:0 auto 10px;filter:drop-shadow(0 6px 18px #00a8ff30)}.flow-node b{display:block;font-size:14px}.flow-node small{font-size:11px;color:#d4e5f4}.arrow{color:var(--yellow);font-size:30px;padding-top:15px}.flow-caption{margin:26px auto 0;border:2px solid var(--yellow);border-top:0;padding:8px 12px;text-align:center;color:var(--yellow);font-weight:900;font-size:12px;letter-spacing:.04em}.lab-shell{background:linear-gradient(110deg,#052e58,#0a4d83 60%,#e8f2fa 60%);padding:0}.lab-grid{display:grid;grid-template-columns:.9fr 1.6fr;gap:34px;align-items:center;padding:44px 0}.lab-copy{color:#fff}.lab-logo{font-size:48px;font-weight:950;letter-spacing:-.04em}.lab-logo span{color:var(--yellow)}.lab-copy h2{font-size:36px;margin:0 0 12px}.lab-copy p{color:#dceaf6}.lab-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.lab-card{background:#fff;border-radius:8px;overflow:hidden;box-shadow:0 14px 28px #001f3d24}.lab-card img{width:100%;height:150px;object-fit:cover}.lab-card div{padding:16px}.lab-card h3{font-size:17px;margin:0 0 4px}.lab-card p{font-size:13px;color:var(--muted);margin:0 0 10px}.lab-card a{color:var(--blue2);font-weight:900;font-size:14px}.proof{display:grid;grid-template-columns:repeat(4,1fr);gap:0}.proof>div{text-align:center;padding:14px 20px;border-right:1px solid var(--line)}.proof>div:last-child{border:0}.proof img{width:36px;height:36px;margin:0 auto 8px}.proof b{display:block;font-size:20px}.proof span{font-size:13px;color:var(--muted)}.cta-band{background:linear-gradient(90deg,#004785,#0073bc);color:#fff;padding:46px 0}.cta-band .wrap{display:flex;align-items:center;justify-content:space-between;gap:30px}.cta-band h2{font-size:36px;margin:0}.footer{background:#031f3c;color:#fff;padding:48px 0 18px}.footer-grid{display:grid;grid-template-columns:1.25fr 1fr 1fr 1.15fr;gap:38px}.footer-logo{width:158px;margin-bottom:16px}.footer h4{margin:0 0 12px}.footer a{display:block;color:#d8e6f3;font-size:14px;margin:7px 0}.footer p{font-size:14px;color:#d8e6f3}.footline{border-top:1px solid #ffffff24;margin-top:34px;padding-top:18px;display:flex;justify-content:space-between;gap:24px;color:#acc3d8;font-size:12px}.footline a{display:inline;margin:0 5px}.page-hero{position:relative;overflow:hidden;color:#fff;background:#032d58}.page-hero:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#01264bf4 0%,#043c6ecc 62%,#04345c99);z-index:1}.page-hero img{position:absolute;inset:0 0 0 auto;width:52%;height:100%;object-fit:cover;opacity:.86}.page-hero .wrap{position:relative;z-index:2;padding:76px 0}.page-hero h1{font-size:clamp(42px,5vw,64px);line-height:1;letter-spacing:-.045em;max-width:830px;margin:0 0 16px}.page-hero p{font-size:20px;max-width:760px;color:#e4eff8}.breadcrumbs{font-size:12px;color:#b8d5ea;margin-bottom:14px}.breadcrumbs a{color:#fff}.content-grid{display:grid;grid-template-columns:1.35fr .65fr;gap:52px}.prose h2{font-size:34px;margin:38px 0 12px;line-height:1.1}.prose h3{font-size:22px;margin:28px 0 10px}.prose p,.prose li{color:#445f77;font-size:17px}.prose ul{padding-left:20px}.sidebox{position:sticky;top:110px;border:1px solid var(--line);border-radius:14px;padding:24px;background:#f5faff;height:max-content}.sidebox h3{margin-top:0}.checklist{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}.check{padding:18px;border:1px solid var(--line);border-radius:10px;background:#fff}.check b{display:block;margin-bottom:4px}.faq{display:grid;gap:12px}.faq details{border:1px solid var(--line);border-radius:10px;padding:16px 18px;background:#fff}.faq summary{font-weight:850;cursor:pointer}.faq p{margin-bottom:0}.feature-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.feature{border:1px solid var(--line);border-radius:12px;padding:22px;background:#fff}.feature img{width:38px;height:38px}.feature h3{margin:12px 0 6px}.feature p{color:var(--muted)}.media-card{border-radius:16px;overflow:hidden;box-shadow:0 18px 40px #062a4b20}.media-card img{width:100%;height:330px;object-fit:cover}.contact-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.contact-card{border:1px solid var(--line);border-radius:12px;padding:22px;background:#fff}.contact-card img{width:34px;height:34px}.legal-copy{max-width:900px}.legal-copy h2{font-size:27px;margin-top:38px}.notice{padding:18px;border-left:4px solid var(--yellow);background:#f3f9fd}.guide-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.guide-card{border:1px solid var(--line);border-radius:14px;padding:24px;background:#fff}.guide-card h3{font-size:23px;margin-top:0}.guide-card p{color:var(--muted)}.guide-card a{color:var(--blue2);font-weight:900}.mobile-cta{display:none}
@media(max-width:1100px){.services{grid-template-columns:repeat(3,1fr)}.infra{grid-template-columns:1fr}.flow{justify-content:center}.lab-shell{background:linear-gradient(#052e58 0 38%,#edf6fc 38%)}.lab-grid{grid-template-columns:1fr}.lab-copy{max-width:700px}.menu{gap:14px;font-size:12px}.header-phone{display:none}}
@media(max-width:820px){.wrap{width:min(100% - 32px,var(--max))}.site-header{position:sticky}.nav{min-height:66px}.brand img{width:132px}.menu-btn{display:block}.menu{position:fixed;top:66px;left:0;right:0;background:#032e58;display:none;flex-direction:column;align-items:stretch;gap:0;padding:16px 22px 22px;box-shadow:0 20px 40px #001a35aa}.menu.open{display:flex}.menu>a,.drop>button{width:100%;text-align:left;padding:12px 0;border-bottom:1px solid #ffffff18}.drop-menu{position:static;width:100%;box-shadow:none;margin:0 0 8px;border-radius:8px}.drop:hover .drop-menu{display:none}.drop.open .drop-menu{display:block}.hero-bg{width:100%;opacity:.5}.hero:before{background:linear-gradient(90deg,#01264bf7 0%,#032b50d8 100%)}.hero-grid{grid-template-columns:1fr;min-height:620px}.hero-copy{padding:64px 0 48px}.hero h1{font-size:54px;max-width:520px}.hero .lead{font-size:21px}.trustline .wrap{overflow:auto;gap:24px}.trustitem{white-space:nowrap}.services{grid-template-columns:repeat(2,1fr)}.lab-cards{grid-template-columns:1fr 1fr}.proof{grid-template-columns:repeat(2,1fr)}.proof>div:nth-child(2){border-right:0}.footer-grid{grid-template-columns:1fr 1fr}.content-grid{grid-template-columns:1fr}.sidebox{position:static}.feature-grid,.guide-grid{grid-template-columns:1fr 1fr}.page-hero img{width:100%;opacity:.45}.page-hero .wrap{padding:58px 0}.mobile-cta{display:flex;position:fixed;z-index:65;left:12px;right:12px;bottom:12px;background:var(--yellow);color:#06213f;border-radius:10px;padding:13px 16px;justify-content:center;font-weight:950;box-shadow:0 12px 30px #001b3655}}
@media(max-width:560px){.wrap{width:min(100% - 24px,var(--max))}.hero-grid{min-height:600px}.hero-copy{padding:48px 0}.hero h1{font-size:46px}.hero .lead{font-size:19px}.hero .sublead{font-size:15px}.actions{flex-direction:column;align-items:stretch}.button{width:100%}.trustline .wrap{font-size:12px}.section{padding:48px 0}.section h2{font-size:34px}.services{grid-template-columns:1fr}.service-card{min-height:auto}.flow{display:grid;grid-template-columns:1fr 32px 1fr 32px 1fr;align-items:center}.flow-node{width:auto}.flow .arrow:nth-of-type(n+5){display:none}.flow-node:nth-of-type(n+4){margin-top:16px}.flow-caption{display:none}.lab-logo{font-size:42px}.lab-cards{grid-template-columns:1fr}.lab-card img{height:170px}.proof{grid-template-columns:1fr 1fr}.footer-grid{grid-template-columns:1fr}.footline{flex-direction:column}.feature-grid,.guide-grid,.contact-grid,.checklist{grid-template-columns:1fr}.cta-band .wrap{display:block}.cta-band h2{font-size:30px;margin-bottom:18px}.page-hero h1{font-size:42px}.page-hero p{font-size:17px}}


/* V7 - logo originale e rifinitura EMI LAB */
.brand img{
  width:178px;
  height:auto;
  max-height:70px;
  object-fit:contain;
  display:block;
}
.footer-logo{
  width:168px;
  height:auto;
  object-fit:contain;
}
.lab-cards{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:18px;
  align-items:stretch;
}
.lab-card{
  display:flex;
  flex-direction:column;
  min-width:0;
  background:#fff;
  border:1px solid rgba(5,73,129,.10);
  border-radius:10px;
  overflow:hidden;
  box-shadow:0 16px 34px rgba(0,31,61,.18);
}
.lab-card img{
  display:block;
  width:100%;
  aspect-ratio:16/9;
  height:auto;
  object-fit:cover;
  object-position:center center;
  border:0;
}
.lab-card>div{
  display:flex;
  flex:1;
  flex-direction:column;
  padding:18px 18px 17px;
  background:#fff;
}
.lab-card h3{
  font-size:17px;
  line-height:1.2;
  margin:0 0 7px;
}
.lab-card p{
  min-height:40px;
  font-size:13px;
  line-height:1.45;
  color:var(--muted);
  margin:0 0 14px;
}
.lab-card a{
  margin-top:auto;
  color:var(--blue2);
  font-weight:900;
  font-size:14px;
}
@media(max-width:920px){
  .brand img{width:150px;max-height:60px}
  .lab-cards{grid-template-columns:1fr}
  .lab-card{display:grid;grid-template-columns:minmax(155px,38%) 1fr}
  .lab-card img{width:100%;height:100%;aspect-ratio:auto;min-height:170px}
}
@media(max-width:560px){
  .brand img{width:136px;max-height:54px}
  .lab-card{display:flex}
  .lab-card img{aspect-ratio:16/9;height:auto;min-height:0}
  .lab-card p{min-height:0}
}

/* V8 - Logo ufficiale EMI Informatica */
.brand img{
  width:120px;
  height:auto;
  max-height:78px;
  object-fit:contain;
  display:block;
}
.footer-logo{
  width:138px;
  height:auto;
  object-fit:contain;
}
@media(max-width:920px){
  .brand img{width:106px;max-height:70px}
}
@media(max-width:560px){
  .brand img{width:94px;max-height:62px}
  .footer-logo{width:122px}
}

/* V9 - logo ufficiale: fondo bianco pieno, nessun alone */
.brand{
  display:flex;
  align-items:center;
  justify-content:center;
  flex:0 0 auto;
  background:#fff;
  border-radius:8px;
  padding:5px 8px;
  box-shadow:0 5px 16px rgba(0,20,45,.16);
}
.brand img{
  width:94px;
  height:auto;
  max-height:none;
  object-fit:contain;
  display:block;
}
.footer-logo{
  width:120px;
  height:auto;
  object-fit:contain;
  background:#fff;
  border-radius:8px;
  padding:6px;
}
@media(max-width:920px){
  .brand{padding:4px 7px;border-radius:7px}
  .brand img{width:86px}
}
@media(max-width:560px){
  .brand{padding:3px 6px}
  .brand img{width:78px}
  .footer-logo{width:108px}
}


/* V10 - logo concept approvato + fix hero Firefox/Aruba */
.brand{
  margin-right:auto;
  display:flex;
  align-items:center;
  justify-content:flex-start;
  flex:0 0 auto;
  background:transparent!important;
  border-radius:0!important;
  padding:0!important;
  box-shadow:none!important;
}
.brand img{
  width:196px!important;
  height:auto!important;
  max-height:66px!important;
  object-fit:contain!important;
  display:block!important;
  border-radius:0!important;
  background:transparent!important;
}
.footer-logo{
  width:190px!important;
  height:auto!important;
  max-height:none!important;
  object-fit:contain!important;
  background:transparent!important;
  border-radius:0!important;
  padding:0!important;
}

/* L'immagine hero non è più un <img> nel DOM:
   viene dipinta solo dopo il CSS, evitando il flash su Firefox. */
.hero{
  position:relative;
  isolation:isolate;
  overflow:hidden;
  color:#fff;
  background:linear-gradient(90deg,#032e5b 0%,#03345f 42%,#063b6d 100%);
}
.hero::after{
  content:"";
  position:absolute;
  z-index:0;
  top:0;
  right:0;
  width:58%;
  height:100%;
  background-image:url("img/hero-office.jpg");
  background-size:cover;
  background-position:center center;
  background-repeat:no-repeat;
  transform:translateZ(0);
  backface-visibility:hidden;
}
.hero::before{
  z-index:1!important;
}
.hero-grid{
  position:relative;
  z-index:2!important;
}
.hero-bg{
  display:none!important;
}

@media(max-width:920px){
  .brand img{
    width:170px!important;
    max-height:58px!important;
  }
  .hero::after{
    width:100%;
    opacity:.38;
    background-position:62% center;
  }
  .footer-logo{width:168px!important}
}
@media(max-width:560px){
  .brand img{
    width:148px!important;
    max-height:52px!important;
  }
  .hero::after{
    width:100%;
    opacity:.30;
    background-position:66% center;
  }
  .footer-logo{width:150px!important}
}
