*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:#13294d;background:#fff;font-family:system-ui,-apple-system,"Segoe UI",sans-serif;line-height:1.65}a{color:inherit}button{font:inherit}a:focus-visible,button:focus-visible,summary:focus-visible{outline:3px solid #4a87ff;outline-offset:5px}header{background:#fff;position:sticky;top:0;z-index:5;border-bottom:1px solid #e3e9f2}.navwrap{max-width:1360px;margin:auto;min-height:104px;padding:8px 40px;display:flex;align-items:center;justify-content:space-between;gap:28px}.brand img{display:block;width:190px;height:auto;object-fit:contain}nav{display:flex;gap:30px;align-items:center}nav a{text-decoration:none;font-weight:600;font-size:14px}nav a:hover{color:#2157c2}.hero{min-height:650px;min-height:calc(90vh - 104px);background:linear-gradient(90deg,rgba(4,15,46,.86),rgba(7,21,54,.3)),url('sfondo-ict.png') center/cover;display:flex;align-items:flex-end;color:white}.hero-content{width:100%;max-width:1360px;margin:auto;padding:100px 40px 74px}.eyebrow{font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.16em;color:#2458bd}.hero .eyebrow{color:#c5d9ff}.hero h1{max-width:840px;font-size:clamp(36px,4.4vw,64px);line-height:1.12;letter-spacing:-.035em;margin:22px 0}.hero p{max-width:760px;font-size:18px;color:#e0e9f8}.button{display:inline-block;border:0;background:#1f56cc;color:white;padding:14px 23px;text-decoration:none;font-weight:600;cursor:pointer;border-radius:3px}.hero .button{background:white;color:#133674;margin-top:18px}.wrap{max-width:1280px;margin:auto;padding:74px 40px;scroll-margin-top:115px}h2{font-size:clamp(28px,3vw,42px);line-height:1.2;letter-spacing:-.035em;margin:15px 0 24px}h3{line-height:1.35}p{color:#53647b}.intro{display:grid;grid-template-columns:1fr 1.15fr;gap:65px}.intro p{font-size:18px;margin-top:0}.badge{display:inline-block;border:1px solid #c6d6f0;border-radius:99px;padding:7px 15px;color:#2054b8;font-size:13px}.tint{background:#f2f5fa}.categories{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-top:35px;align-items:start}.category{background:#fff;border:1px solid #dce4f1}.category summary{cursor:pointer;display:flex;gap:14px;align-items:center;list-style:none;padding:24px 20px;min-height:110px}.category summary::-webkit-details-marker{display:none}.category h3{font-size:17px;margin:0;flex:1}.num{font-size:12px;color:#275ccc}.plus{font-size:24px;font-weight:300;color:#275ccc}.category[open] .plus{transform:rotate(45deg)}.category-content{border-top:1px solid #e3eaf4;padding:22px;font-size:14px}.category-content h4{margin:24px 0 8px}.category-content a{display:block;color:#2358c0;margin-top:25px}.category-content .company{font-size:11px;padding:4px 8px}.sectorgrid{display:grid;grid-template-columns:1fr 1fr;gap:28px;margin-top:36px}.sector{border:1px solid #dce4f1;background:white}.sector-image{aspect-ratio:16/9;background-image:url('settori-ict.png');background-size:200% 200%}.bank{background-position:0 0}.energy{background-position:100% 0}.consult{background-position:0 100%}.industry{background-position:100% 100%}.sector-body{padding:28px}.sector h3{font-size:24px;margin:0 0 12px}.companies{display:flex;gap:9px;flex-wrap:wrap}.company{font-size:14px;font-weight:700;background:#eef3fc;border:1px solid #dce6f7;color:#153f88;padding:9px 13px;border-radius:3px}.caption{font-size:12px;color:#65748a;margin-top:28px}.cities{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-top:32px}.cities button{background:white;border:1px solid #ccd8ed;color:#123471;padding:23px;cursor:pointer;font-weight:600;font-size:19px;display:flex;justify-content:space-between}.cities button:hover{background:#e5edfc}.contact{display:grid;grid-template-columns:1fr 1fr;gap:40px}.contact a{font-size:clamp(22px,3vw,36px);font-weight:650;color:#204fbd;text-underline-offset:7px;overflow-wrap:anywhere}.quality{border-top:1px solid #e0e7f1}.quality p{max-width:810px}.notice{padding:20px 40px;background:#e9f0fc;text-align:center;font-size:14px;color:#17448c}footer{background:#101f42;color:#d7e2f8;padding:35px 40px;font-size:12px}.footer-wrap{max-width:1200px;margin:auto;display:flex;justify-content:space-between;gap:35px}footer a{color:white}dialog{border:0;border-radius:12px;padding:36px;max-width:460px;width:calc(100% - 36px);color:#13294d;box-shadow:0 24px 80px #10265d33}dialog::backdrop{background:#061531aa}dialog h2{font-size:30px}dialog address{font-style:normal;font-size:19px}dialog form{margin-top:28px}@media(max-width:1000px){.navwrap{flex-wrap:wrap;padding:18px 24px;gap:18px}nav{gap:20px;flex-wrap:wrap}.categories{grid-template-columns:1fr 1fr}.hero{min-height:620px}.intro{gap:30px}.cities{grid-template-columns:1fr 1fr}}@media(max-width:640px){header{position:static}.brand img{width:165px;height:auto}nav{gap:13px}nav a{font-size:12px}.wrap{padding:48px 22px;scroll-margin-top:20px}.hero-content{padding:80px 22px 48px}.hero{min-height:620px;background-position:62% center}.hero h1{font-size:38px}.hero p{font-size:16px}.intro,.contact,.sectorgrid,.categories{grid-template-columns:1fr;gap:22px}.category summary{min-height:90px}.cities button{padding:17px;font-size:17px}.sector-body{padding:22px}.footer-wrap{flex-direction:column;gap:18px}footer{padding:30px 22px}.notice{padding:18px 22px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}.health,.public,.telco,.logistics{background-image:url("settori-ict-altri.png")}.health{background-position:0 0}.public{background-position:100% 0}.telco{background-position:0 100%}.logistics{background-position:100% 100%}.category-content .company{font-size:12px;font-weight:500;line-height:1.5}.category-content{overflow-wrap:anywhere}/* Categorie e pulsanti arrotondati */
.button,.cities button{border-radius:999px}
.category{border-radius:26px;overflow:hidden;border-color:#d5e1f5}
.category summary{border-radius:999px;min-height:98px;padding:24px;transition:background-color .18s,color .18s}
.category summary:hover{background:#edf3ff}
.category[open] summary{background:#1f56cc;color:#fff}
.category[open] summary .plus{color:#fff}
.category-content{background:#fff}
.cities button:active,.cities button.is-active{background:#1f56cc;color:white;border-color:#1f56cc}
.button:active{background:#1743a4;color:#fff}
@media(prefers-reduced-motion:reduce){.category summary{transition:none}}

nav a[aria-current="page"]{color:#1f56cc;border-bottom:2px solid #1f56cc;padding-bottom:6px}
.page-title{font-size:clamp(32px,4vw,50px);line-height:1.15;letter-spacing:-.035em;margin:16px 0 24px}
.page-main{min-height:65vh}.page-main>.wrap{padding-top:62px}.story p{font-size:18px}.story{max-width:950px}
.values{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;margin:35px 0}.value{padding:26px;border:1px solid #dce4f1;border-radius:22px}.value h3{margin-top:0}
.cities button{min-height:72px;touch-action:manipulation;transition:background .18s,transform .18s,box-shadow .18s}.cities button:hover{box-shadow:0 8px 24px #14357815;transform:translateY(-2px)}.cities button:active{transform:scale(.97)}
dialog.office-modal{padding:0;border-radius:24px;max-width:640px;width:calc(100% - 32px);max-height:90vh;max-height:90dvh;overflow:auto}
.city-photo{width:100%;aspect-ratio:16/9;object-fit:cover;display:block}.office-copy{padding:28px 32px}.office-copy h2{margin-top:12px}.office-copy .caption{margin:15px 0 0}.office-copy form{margin-top:22px}.office-copy .button{min-height:48px}
@media(max-width:640px){.values{grid-template-columns:1fr}.office-copy{padding:22px}.cities{gap:12px}.cities button{min-height:62px}.page-main>.wrap{padding-top:40px}}
@media(prefers-reduced-motion:reduce){.cities button{transition:none}}

.contact-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin-top:35px}.contact-card{border:1px solid #dce4f1;border-radius:24px;padding:30px;background:#f7f9fd}.contact-card h2{font-size:25px;margin:0 0 16px}.contact-card>a:not(.button){font-size:clamp(20px,2.5vw,28px);font-weight:650;color:#1f56cc;overflow-wrap:anywhere;text-underline-offset:5px}.contact-card .button{margin-top:10px}@media(max-width:640px){.contact-cards{grid-template-columns:1fr;gap:18px}.contact-card{padding:24px}}

/* Sfondi illustrativi distinti per pagina */
.page-backdrop{height:clamp(230px,32vw,420px);background:linear-gradient(90deg,#071d4670,#071d4610),var(--page-image) center/cover no-repeat}
body[class^="pagina-"]{background:linear-gradient(#edf3fbef,#edf3fbef),var(--page-image) center/cover fixed}
.page-main>.wrap{background:#fffffffa}.page-main>.wrap.quality{background:#f7fafffa}.hero{background:linear-gradient(90deg,rgba(4,15,46,.86),rgba(7,21,54,.3)),var(--page-image) center/cover}
@media(max-width:640px){.page-backdrop{height:220px}body[class^="pagina-"]{background-attachment:scroll}}

.pagina-index{--page-image:url("sfondo-index.png")}

.pagina-competenze{--page-image:url("sfondo-competenze.png")}

.pagina-settori{--page-image:url("sfondo-settori.png")}

.pagina-sedi{--page-image:url("sfondo-sedi.png")}

.pagina-lavora-con-noi{--page-image:url("sfondo-lavora-con-noi.png")}

.pagina-contatti{--page-image:url("sfondo-contatti.png")}

/* Presentazione essenziale per macro aree */
.lead-copy{font-size:20px;max-width:880px}.project-story{max-width:1050px;margin:48px 0}.project-story>p{max-width:900px}.macro-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;margin-top:28px}.macro-card{padding:28px;border:1px solid #dce4f1;border-radius:22px;background:#f6f9fd}.macro-card h2{font-size:23px;line-height:1.3;margin:0 0 15px;letter-spacing:-.02em}.macro-card p{margin-bottom:0}.approach-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px;margin:26px 0 30px}.approach-grid h3{font-size:20px}
dialog.office-modal{max-width:440px}.city-photo{height:180px;aspect-ratio:auto;object-fit:cover}.office-copy{padding:22px 26px}.office-copy h2{font-size:25px;margin:10px 0 18px}.office-copy address{font-size:17px}.office-copy form{margin-top:20px}
.contact-card>a:not(.button){font-size:17px;font-weight:500;text-decoration:none}.contact-card>a:not(.button):hover{text-decoration:underline}.contact-card h2{font-size:21px}.contact-card{padding:26px}.contact-card .button{font-size:14px;padding:10px 17px;min-height:44px}
@media(max-width:640px){.macro-grid,.approach-grid{grid-template-columns:1fr}.macro-card{padding:23px}.lead-copy{font-size:18px}.city-photo{height:160px}.office-copy{padding:20px}.contact-card>a:not(.button){font-size:16px}}

.nav-menu-button{border:0;padding:0;background:none;font:inherit;font-size:14px;font-weight:600;color:inherit;cursor:pointer}.nav-menu-button:hover,.nav-menu-button[aria-current]{color:#1f56cc}.nav-menu-button[aria-current]{border-bottom:2px solid #1f56cc;padding-bottom:6px}
.mega-dialog{max-width:1180px;width:calc(100% - 40px);padding:32px;border-radius:24px;max-height:85vh;overflow:auto;color:#13294d}.mega-top{display:flex;justify-content:space-between;align-items:center;gap:20px}.mega-top h2{margin:0 0 25px;font-size:30px}.mega-top button,[data-close-image]{border:0;background:#eaf0fb;color:#173d85;border-radius:50%;width:44px;height:44px;font-size:28px;cursor:pointer;flex-shrink:0}.mega-layout{display:grid;grid-template-columns:1.45fr 1fr;gap:38px}.mega-tiles{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-bottom:24px}.mega-tile{display:flex;align-items:center;gap:14px;padding:20px;background:#f1f5fb;border-radius:22px;text-decoration:none;min-height:130px;transition:background .18s,color .18s,transform .18s}.mega-tile:hover,.mega-tile:focus-visible,.mega-tile:active{background:#1f56cc;color:white;transform:translateY(-2px)}.mega-tile strong{font-size:18px;display:block;line-height:1.25}.mega-tile small{display:block;line-height:1.4;margin-top:8px;font-size:12px}.mega-icon{display:grid;place-items:center;background:#dce7fb;color:#1f56cc;border-radius:16px;min-width:56px;height:56px}.mega-icon svg{width:40px;height:40px}.mega-other{border-left:1px solid #dce4f1;padding-left:32px}.mega-other h3{font-size:23px;margin-top:0}.mega-other a{display:flex;justify-content:space-between;border-bottom:1px solid #dce4f1;padding:16px 0;text-decoration:none;font-size:15px}.mega-other a:hover{color:#1f56cc}
.zoomable{cursor:zoom-in;border:0;padding:0;display:block;position:relative;transition:filter .18s}.zoomable:hover{filter:brightness(1.08)}.sector-image{width:100%}.page-backdrop{width:100%}.privacy-photo{width:100%}.city-image-button{width:100%;background:none}.image-dialog{padding:0;background:#09152a;border:0;border-radius:20px;max-width:1100px;width:calc(100% - 32px);max-height:92vh;color:white}.image-dialog::backdrop{background:#030916db}.image-dialog [data-close-image]{position:absolute;right:14px;top:14px;z-index:1;background:#fffffff2}.image-full{width:100%;height:min(75vh,740px);background-repeat:no-repeat;background-position:center;background-size:contain}
@media(max-width:760px){.mega-dialog{padding:22px;width:calc(100% - 24px)}.mega-layout{grid-template-columns:1fr;gap:26px}.mega-other{border-left:0;border-top:1px solid #dce4f1;padding:22px 0 0}.mega-tile{padding:16px;min-height:115px}.mega-icon{min-width:44px;height:44px}.mega-icon svg{width:32px;height:32px}.mega-tile strong{font-size:16px}.mega-top h2{font-size:25px}.nav-menu-button{font-size:12px}}@media(max-width:440px){.mega-tiles{grid-template-columns:1fr}.mega-tile{min-height:90px}.image-full{height:65vh}}@media(prefers-reduced-motion:reduce){.zoomable,.mega-tile{transition:none}}

/* Sfondo iniziale animato: movimento ambientale e risposta al puntatore */
.hero-motion{position:relative;overflow:hidden;isolation:isolate;background:#0a2249}.hero-image-layer{position:absolute;inset:-4%;z-index:-2;background:var(--page-image) center/cover}.hero-motion:after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(4,15,46,.86),rgba(7,21,54,.3));pointer-events:none}.hero-motion .hero-content{position:relative;z-index:1}
@media(prefers-reduced-motion:reduce){.hero-image-layer{animation:none;transition:none;transform:none;inset:0;will-change:auto}}

/* Candidature in un riquadro dedicato */
.career-section{background:#fff!important}.career-box{background:#eef4ff;border:1px solid #cfddf6;border-radius:28px;padding:38px}.career-box h2{margin-top:12px}.career-box .intro{gap:36px}.career-box a:not(.button){font-size:17px;color:#1f56cc;overflow-wrap:anywhere}.candidate-privacy{margin-top:28px;padding-top:22px;border-top:1px solid #ccd9ef}.candidate-privacy h3{font-size:18px}.candidate-privacy p{font-size:14px;margin:8px 0}.candidate-privacy .privacy-note{font-size:12px}
.menu-trigger{border:1px solid #d0ddf3;border-radius:999px;background:#f0f5ff;color:#173d85;padding:13px 23px;font:inherit;font-weight:600;cursor:pointer;min-height:48px}.menu-trigger:hover,.menu-trigger[aria-expanded="true"]{background:#1f56cc;color:white;border-color:#1f56cc}.main-nav-dialog{max-width:750px;width:calc(100% - 32px);padding:32px;border:0;border-radius:28px;max-height:85vh;overflow:auto;color:#13294d}.main-menu-top{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:25px}.main-menu-top h2{font-size:30px;margin:0}.main-menu-top button{border:0;border-radius:50%;background:#edf3fc;color:#1f56cc;width:44px;height:44px;font-size:28px;cursor:pointer}.main-menu-links{display:grid;grid-template-columns:1fr 1fr;gap:16px}.main-menu-links>a,.main-menu-links>.nav-menu-button{display:flex;align-items:center;justify-content:space-between;text-align:left;min-height:78px;padding:20px;border:1px solid #d7e2f5;border-radius:20px;background:#f5f8fd;text-decoration:none;font-size:20px;font-weight:600;white-space:normal}.main-menu-links>a:hover,.main-menu-links>.nav-menu-button:hover,.main-menu-links [aria-current="page"]{background:#1f56cc;color:white;border-color:#1f56cc}.menu-bottom{display:flex;justify-content:space-between;gap:18px;flex-wrap:wrap;margin-top:26px;border-top:1px solid #dce5f3;padding-top:20px;font-size:14px}.menu-bottom a{color:#1f56cc;text-decoration:none}
@media(max-width:640px){.navwrap{flex-wrap:nowrap;min-height:86px}.career-box{padding:24px}.main-nav-dialog{padding:24px}.main-menu-links{grid-template-columns:1fr}.main-menu-links>a,.main-menu-links>.nav-menu-button{min-height:60px;padding:16px;font-size:18px}.main-menu-top h2{font-size:25px}.menu-trigger{font-size:14px;padding:11px 18px}.career-box .intro{gap:20px}}

.macro-card{scroll-margin-top:125px}.main-menu-links a:active,.mega-other a:active{background:#1f56cc;color:white}@media(max-width:640px){.macro-card{scroll-margin-top:24px}}

.area-topics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin:35px 0}.area-back,.area-link{display:inline-block;color:#1f56cc;font-size:14px;text-decoration:none}.area-link{margin-top:22px;font-weight:600}.area-back{margin-bottom:24px}.area-cta{margin-top:45px;padding-top:28px;border-top:1px solid #dce4f1}@media(max-width:850px){.area-topics{grid-template-columns:1fr}}

/* Menu orizzontale ripristinato */
.navwrap{flex-wrap:nowrap}header nav{display:flex;align-items:center;gap:30px}header nav a{font-size:14px}@media(max-width:1000px){.navwrap{flex-wrap:wrap}header nav{gap:20px;flex-wrap:wrap}}@media(max-width:640px){header nav{gap:14px}header nav a,.nav-menu-button{font-size:12px}.navwrap{gap:18px}}

.career-open{border:0;background:none;padding:0;color:#1f56cc;font:inherit;font-size:17px;text-align:left;cursor:pointer}.career-open:hover{text-decoration:underline}.career-dialog{max-width:860px;width:calc(100% - 32px);max-height:88vh;max-height:88dvh;padding:0;border:0;border-radius:28px;overflow:auto}.career-dialog .career-box{border:0;position:relative;padding:36px}.career-dialog .eyebrow{padding-right:45px}.career-close{position:absolute;right:18px;top:18px;background:#fff;color:#1f56cc;border:0;border-radius:50%;width:44px;height:44px;font-size:28px;cursor:pointer}.career-dialog h2{font-size:32px}.career-dialog .intro{grid-template-columns:1fr;gap:8px}.career-dialog .intro h3{margin-top:0}.career-dialog p{font-size:16px}.career-dialog .candidate-privacy p{font-size:14px}.career-dialog .candidate-privacy .privacy-note{font-size:12px}@media(max-width:640px){.career-dialog .career-box{padding:26px 22px}.career-dialog h2{font-size:28px}.career-open{font-size:16px}}

.hero-zoom-button{position:absolute;right:28px;top:26px;z-index:2;border:1px solid #ffffff80;border-radius:999px;background:#09214ca6;color:#fff;padding:11px 17px;cursor:zoom-in;font:inherit;font-size:13px;backdrop-filter:blur(8px)}.hero-zoom-button:hover{background:#1f56cc}.image-full{height:auto;aspect-ratio:16/9;max-height:82vh}.image-dialog{overflow:hidden}.zoomable:focus-visible,.hero-zoom-button:focus-visible{outline:3px solid #4a87ff;outline-offset:4px}@media(max-width:640px){.hero-zoom-button{right:18px;top:18px;font-size:12px;padding:9px 13px}.image-full{height:auto;aspect-ratio:16/9;min-height:220px}}

.footer-certification{color:#d7e2f8;font-size:12px;margin:14px 0 0}.footer-privacy{display:inline-block;margin-bottom:8px;text-underline-offset:4px}

/* Pagine tematiche: impaginazione editoriale, senza schede ripetute */
.area-editorial .page-backdrop{height:clamp(230px,27vw,360px)}.area-editorial .area-content{max-width:1200px;padding:54px 50px 70px;background:#fff}.area-back{font-size:13px;color:#596a81;margin-bottom:34px}.area-intro{display:grid;grid-template-columns:1.05fr 1fr;gap:65px;align-items:start;margin-bottom:60px}.area-heading h1{font-size:clamp(32px,3.6vw,48px);line-height:1.12;letter-spacing:-.035em;margin:0;max-width:560px}.area-description .lead-copy{font-size:21px;line-height:1.45;color:#19385e;margin:0 0 19px;font-weight:500}.area-description p{font-size:16px;line-height:1.75;margin-top:0}.area-description strong{font-weight:500}.area-editorial .area-topics{display:block;margin:0}.topic-row{display:grid;grid-template-columns:1fr 1.25fr;gap:65px;padding:32px 0;border-top:1px solid #dce4ee;background:none;border-radius:0}.topic-row h2{font-size:24px;font-weight:600;line-height:1.3;letter-spacing:-.02em;margin:0}.topic-row p{font-size:16px;line-height:1.8;margin:0;max-width:650px}.area-editorial .area-cta{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px 30px;margin-top:35px;padding-top:35px}.area-editorial .area-cta h2{font-size:25px;margin:0;flex-basis:100%}.area-editorial .area-cta p{margin:0;font-size:15px}.engineering-photo{background-image:url('settori-ict.png')!important;background-size:200% 200%!important;background-position:100% 100%!important}
@media(max-width:760px){.area-editorial .area-content{padding:36px 24px 48px}.area-intro{grid-template-columns:1fr;gap:25px;margin-bottom:35px}.area-heading h1{font-size:34px}.area-description .lead-copy{font-size:19px}.topic-row{grid-template-columns:1fr;gap:14px;padding:26px 0}.topic-row h2{font-size:22px}.area-editorial .page-backdrop{height:230px}.area-editorial .area-cta .button{margin-top:10px}}

/* Contenuto centrale più ampio, con margini proporzionati allo schermo */
.wrap,.story,.area-editorial .area-content{max-width:1520px;width:calc(100% - 80px);padding-left:48px;padding-right:48px}.story h2{max-width:1150px}.story>p{max-width:none}.navwrap,.hero-content{max-width:1600px}.footer-wrap{max-width:1424px}.area-intro{gap:70px}.project-story{max-width:1260px}.project-story>p{max-width:1080px}
@media(min-width:1800px){.wrap,.story,.area-editorial .area-content{width:calc(100% - 120px)}}
@media(max-width:1000px){.wrap,.story,.area-editorial .area-content{width:calc(100% - 40px);padding-left:30px;padding-right:30px}}
@media(max-width:640px){.wrap,.story,.area-editorial .area-content{width:100%;padding-left:22px;padding-right:22px}.area-intro{gap:25px}}

/* Immagine industria e aerospazio compatta */
.area-editorial .engineering-photo{height:220px;max-height:220px}@media(max-width:760px){.area-editorial .engineering-photo{height:170px;max-height:170px}}

/* Pagine servizi: struttura della release indicata */
.area-restored .page-backdrop{height:220px;max-height:220px}.area-restored .page-title{max-width:1050px;font-size:clamp(32px,3.6vw,48px);margin-top:14px}.area-restored .eyebrow{font-size:11px;letter-spacing:.1em}.area-restored .lead-copy{font-size:21px;margin-bottom:14px}.area-restored .lead-copy strong{font-weight:500}.area-restored main>section>p{max-width:1050px}.area-restored .area-topics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;align-items:stretch;margin:36px 0}.area-restored .macro-card{padding:28px;background:#f5f8fc;border:1px solid #dce4f1;border-radius:18px}.area-restored .macro-card h2{font-size:23px;margin:0 0 16px}.area-restored .macro-card p{font-size:16px;line-height:1.75}.area-restored .area-cta{border-top:1px solid #dce4f1;padding-top:30px;margin-top:38px}.area-restored .area-cta h2{font-size:28px;margin-bottom:15px}
@media(max-width:1000px){.area-restored .area-topics{grid-template-columns:1fr}.area-restored .macro-card{padding:24px}.area-restored .page-backdrop{height:180px;max-height:180px}}@media(max-width:640px){.area-restored .page-title{font-size:32px}.area-restored .page-backdrop{height:170px;max-height:170px}.area-restored .lead-copy{font-size:19px}}

/* Immagini con solo effetto hover, nessun popup */
.image-hover{cursor:default;position:relative}.sector,.office-modal{overflow:hidden}.city-image-button{overflow:hidden}
@media(hover:hover) and (pointer:fine){.city-image-button.image-hover:hover{transform:none}}
body{overflow-x:clip}@media(prefers-reduced-motion:reduce){.image-hover,.city-photo{transition:none}.image-hover:hover,.city-image-button:hover .city-photo{transform:none!important}}

.recruiter-visual{height:160px;border-radius:16px;overflow:hidden;margin-bottom:22px;background:#dce7f6}.recruiter-visual img{display:block;width:100%;height:100%;object-fit:cover}.recruiter-card .button{margin-top:4px}@media(max-width:640px){.recruiter-visual{height:150px}}

/* Sottotitoli sobri, senza maiuscole forzate */
.eyebrow,.area-restored .eyebrow{font-family:system-ui,-apple-system,"Segoe UI",sans-serif;font-size:15px;font-weight:500;line-height:1.5;letter-spacing:0;text-transform:none;color:#526981}.hero .eyebrow{color:#d7e4f8;font-size:15px}@media(max-width:640px){.eyebrow,.area-restored .eyebrow,.hero .eyebrow{font-size:14px}}
/* Riquadri della homepage: stesso blu dei pulsanti al passaggio del mouse. */
.values .value{transition:background-color .2s,color .2s,border-color .2s}
@media(hover:hover){
.values .value:hover{background:#1f56cc;border-color:#1f56cc;color:#fff}
.values .value:hover h3,.values .value:hover p{color:#fff}
}
@media(prefers-reduced-motion:reduce){.values .value{transition:none}}

/* Effetto uniforme sui riquadri dei servizi, delle applicazioni e dei contatti. */
:is(.value,.macro-card,.contact-card,.sector,.mega-tile,.approach-grid article,.category summary,.cities button){transition:background-color .2s,color .2s,border-color .2s}
@media(hover:hover){
:is(.value,.macro-card,.contact-card,.sector,.mega-tile,.approach-grid article,.category summary,.cities button):hover{background:#1f56cc!important;border-color:#1f56cc!important;color:#fff!important}
:is(.value,.macro-card,.contact-card,.sector,.mega-tile,.approach-grid article,.category summary,.cities button):hover :is(h2,h3,h4,p,a,small,strong,.num,.plus){color:#fff!important}
:is(.macro-card,.contact-card,.sector):hover .button{background:#fff;color:#1f56cc!important}
.sector:hover .company,.mega-tile:hover .mega-icon{background:#fff;color:#1f56cc}
}
@media(prefers-reduced-motion:reduce){:is(.value,.macro-card,.contact-card,.sector,.mega-tile,.approach-grid article,.category summary,.cities button){transition:none}}

.security-compliance,.security-company{border-top:1px solid #dce4f1;margin-top:38px;padding-top:30px}.security-compliance>h2,.security-company>h2{font-size:28px}.security-company p{line-height:1.9}

.certification-logo{display:block;width:140px;height:auto;max-width:100%;margin:16px 0;background:#fff;}

/* Illuminazione blu dei pulsanti al passaggio del cursore. */
@media(hover:hover){
:root body :is(.button,button,[role="button"],summary):hover{background:#1f56cc!important;color:#fff!important;border-color:#1f56cc!important;box-shadow:none!important}
:root body :is(.button,button,[role="button"],summary):hover :is(span,small,strong,.plus){color:#fff!important}
}

/* Approfondimenti accessibili e adattabili a schermi piccoli. */
.detail-trigger{cursor:pointer;position:relative}.detail-trigger:focus-visible{outline:3px solid #4a87ff;outline-offset:5px}
.detail-dialog{box-sizing:border-box;width:min(720px,calc(100% - 32px));max-height:calc(100dvh - 40px);overflow-y:auto;border:1px solid #dce4f1;border-radius:24px;padding:34px;background:#fff;color:#123471;box-shadow:0 24px 80px #09214c40}
.detail-dialog::backdrop{background:#09214c99;backdrop-filter:blur(4px)}.detail-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}.detail-dialog h2{font-size:clamp(26px,4vw,36px);line-height:1.2;margin:22px 0}.detail-copy p,.office-description{font-size:17px;line-height:1.75;color:#526981}.detail-close{width:44px;height:44px;flex-shrink:0;border:0;border-radius:50%;background:#eaf0fb;color:#173d85;font-size:28px;cursor:pointer}.detail-dialog .button{margin-top:12px}.office-modal{max-height:calc(100dvh - 40px);overflow-y:auto}
/* Il pulsante resta distinto dal riquadro e conserva un testo leggibile. */
:root body .contact-card .button{background:#1f56cc!important;color:#fff!important;border:2px solid transparent;box-shadow:none}
@media(hover:hover){
:root body .contact-card:hover .button{background:#fff!important;color:#123471!important;border-color:#fff!important}

}
@media(max-width:640px){.detail-dialog{padding:24px}.detail-dialog .button{max-width:100%;box-sizing:border-box}.contact-card .button{white-space:normal;overflow-wrap:anywhere}.office-description{font-size:16px}}

:root body button.nav-menu-button,:root body button.nav-menu-button:hover{background:transparent!important;box-shadow:none!important;color:#123471!important;border-color:transparent!important}
:root body button.nav-menu-button:hover{color:#1f56cc!important}
:root body .main-menu-links>button.nav-menu-button:hover{background:#1f56cc!important;color:#fff!important}

/* Settori: nessun bordo o contorno aggiunto al passaggio del cursore. */
:root body .sector,:root body .sector:hover{border-color:transparent!important;box-shadow:none!important}
:root body .sector:hover:not(:focus-visible),:root body .sector-company:hover:not(:focus-visible){outline:none!important}
:root body .sector-company:hover{border-color:#dce4f1;box-shadow:none}

/* Riquadri dei settori con angoli morbidi, senza aloni. */
:root body .sector{border-radius:24px;overflow:hidden}
:root body :is(.button,button,[role="button"],summary):hover{box-shadow:none!important}

/* Chiusura popup: croce sottile e centrata, senza cerchio. */
:root body button.detail-close{position:relative;display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;min-width:40px;padding:0;border:0;border-radius:10px;background:transparent!important;color:#173d85!important;font-size:0!important;line-height:1;box-shadow:none!important}
:root body button.detail-close::before,:root body button.detail-close::after{content:"";position:absolute;top:50%;left:50%;width:18px;height:2px;background:currentColor;border-radius:2px;pointer-events:none}
:root body button.detail-close::before{transform:translate(-50%,-50%) rotate(45deg)}
:root body button.detail-close::after{transform:translate(-50%,-50%) rotate(-45deg)}
@media(hover:hover){:root body button.detail-close:hover{background:#edf3fc!important;color:#1f56cc!important}}
:root body button.detail-close:focus-visible{outline:2px solid #4a87ff;outline-offset:3px}

/* Sedi: foto esplorabile e approfondimento in un popup ampio. */
dialog.office-modal{width:min(1100px,calc(100% - 32px));max-width:1100px;max-height:calc(100dvh - 40px);padding:0;overflow:auto;border:0;border-radius:24px;color:#13294d}
.office-modal::backdrop{background:rgba(7,21,48,.75)}
.office-layout{display:grid;grid-template-columns:1fr 1.1fr}
.office-visual{padding:24px;background:#eef3fa;display:flex;flex-direction:column;justify-content:center}
:root body button.city-explorer{position:relative;display:block;width:100%;padding:0;border:0;border-radius:18px;background:#13294d!important;overflow:hidden;cursor:zoom-in;line-height:0;text-align:left;touch-action:pan-y}
:root body button.city-explorer:hover{background:#13294d!important;transform:none;box-shadow:none!important}
.city-explorer .city-photo{display:block;width:100%;height:420px;object-fit:cover;object-position:center}
.city-explorer[aria-pressed="true"]{cursor:zoom-out}

.city-zoom-label{position:absolute;bottom:16px;left:16px;right:16px;display:flex;justify-content:space-between;gap:12px;padding:12px 16px;border-radius:12px;background:#fff;color:#173d85;font-size:14px;font-weight:600;line-height:1.4}
.city-photo-help{font-size:13px;line-height:1.5;color:#526981;margin:14px 2px 0}
.office-modal .office-copy{padding:32px 36px}
.office-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}
.office-kicker{font-size:14px;color:#526981}
.office-modal .office-copy h2{font-size:32px;line-height:1.2;margin:20px 0}
.office-modal .office-description{font-size:16px;line-height:1.7;margin:0 0 16px}
.office-address{border-top:1px solid #dce4f1;margin:24px 0;padding-top:20px}
.office-address h3{font-size:16px;margin:0 0 8px}
.office-modal .office-copy address{font-size:16px;font-style:normal}
.office-modal .button{font-size:15px}
#detail-pa{width:min(840px,calc(100% - 32px))}
.pa-case{margin-top:28px;padding-top:24px;border-top:1px solid #dce4f1}
.pa-case h3{font-size:23px;line-height:1.35;margin:0 0 18px}
.pa-recognition{background:#edf3fc;border-radius:16px;padding:20px 24px;margin:24px 0}
.pa-recognition strong{display:block;font-size:19px;color:#173d85}
.pa-recognition p{margin-bottom:0}
.pa-sources{margin:24px 0}
.pa-sources h4{font-size:15px;margin:0 0 12px}
.pa-sources a{display:block;font-size:14px;line-height:1.6;margin:8px 0;color:#1f56cc;text-underline-offset:3px}
@media(max-width:800px){.office-layout{grid-template-columns:1fr}.office-visual{padding:18px}.city-explorer .city-photo{height:260px}.office-modal .office-copy{padding:24px}.office-modal .office-copy h2{font-size:28px}}
@media(prefers-reduced-motion:reduce){.city-explorer .city-photo{transition:none}}

/* Rifiniture sedi, settori e certificazione nel footer. */
:root body button.detail-close,:root body button.detail-close:hover,:root body button.detail-close:focus-visible{border:0!important;outline:0!important;background:transparent!important;box-shadow:none!important;border-radius:0}
:root body button.detail-close:focus-visible{color:#1f56cc!important}
:root body button.detail-close:focus-visible::before,:root body button.detail-close:focus-visible::after{height:3px}
:root body .sector{border:1px solid #c3d0e5!important}
:root body .sector:hover{border-color:#1f56cc!important}
.footer-certification{display:flex;align-items:center;gap:18px;flex-wrap:wrap}
.footer-iso-logo{display:block;width:100px;height:auto;flex:0 0 auto;background:#fff}
.office-modal .office-copy address{white-space:nowrap;font-size:15px}
@media(max-width:800px){.office-modal .office-copy address{white-space:normal}.footer-certification{gap:12px}.footer-iso-logo{width:90px}}

/* Contatti: pulsante bianco e testo blu anche durante la pressione. */
:root body .contact-card:hover a.button,:root body .contact-card:hover a.button:hover,:root body .contact-card:hover a.button:active,:root body .contact-card:hover a.button:focus-visible,:root body .contact-card a.button:hover,:root body .contact-card a.button:active,:root body .contact-card a.button:focus-visible{background:#fff!important;color:#1f56cc!important;border-color:#fff!important;box-shadow:none!important}

/* Menu servizi: otto schede uniformi, senza colonna secondaria. */
dialog.services-dialog{width:min(1180px,calc(100% - 32px));max-width:1180px;max-height:calc(100dvh - 40px);padding:32px;border:0;outline:none;border-radius:24px}
.services-dialog .mega-top{align-items:flex-start;margin-bottom:26px}
.services-dialog .mega-top h2{font-size:30px;margin:0 0 8px;line-height:1.2}
.services-dialog .mega-top p{font-size:15px;color:#526981;margin:0}
.services-menu-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.services-menu-grid .mega-tile{position:relative;display:flex;flex-direction:column;align-items:flex-start;gap:18px;min-height:220px;padding:22px;border:1px solid #dce4f1;border-radius:20px;background:#f5f8fd;transform:none}
.services-menu-grid .mega-icon{width:48px;height:48px;min-width:48px;border-radius:14px}
.services-menu-grid .mega-icon svg{width:32px;height:32px}
.services-menu-grid .mega-tile strong{font-size:17px;line-height:1.3}
.services-menu-grid .mega-tile small{font-size:13px;line-height:1.5;color:#526981;margin-top:10px}
.service-menu-arrow{position:absolute;right:22px;top:26px;font-size:21px}
.services-menu-grid .mega-tile:focus-visible{background:#1f56cc;color:#fff;outline:2px solid #4a87ff;outline-offset:3px}
.services-menu-grid .mega-tile:focus-visible small{color:#fff}
.services-menu-grid .mega-tile:focus-visible .mega-icon{background:#fff;color:#1f56cc}
.services-menu-footer{display:flex;align-items:center;justify-content:space-between;gap:20px;border-top:1px solid #dce4f1;padding-top:24px;margin-top:24px}
.services-menu-footer>a:first-child{font-size:15px;font-weight:600;color:#1f56cc;text-decoration:none}
.services-menu-footer .button{font-size:14px}
/* Banner aerospazio: proporzioni originali, senza stiramento. */
.area-restored .page-backdrop.engineering-photo{position:relative;height:clamp(250px,25vw,360px);max-height:360px;background:none!important;overflow:hidden}
.engineering-banner{display:block;width:100%;height:100%}
.area-restored .project-management-photo{background-image:linear-gradient(90deg,#071d4630,#071d4610),url('sfondo-progetti-v2.png');background-size:cover;background-position:center}
/* Metodo di lavoro: schede numerate, spaziature e angoli coerenti. */
.approach-grid{gap:22px;align-items:stretch}
.approach-grid article{padding:28px;border:1px solid #d3dff0;border-radius:22px;background:#f5f8fd}
.approach-grid article h3{font-size:20px;line-height:1.35;margin:20px 0 14px}
.approach-grid article p{font-size:16px;line-height:1.7;margin:0;color:#526981}
.approach-step{display:grid;place-items:center;width:44px;height:44px;border-radius:13px;background:#e1eafd;color:#1f56cc;font-size:16px;font-weight:700}
.approach-grid article:hover .approach-step{background:#fff;color:#1f56cc}
@media(max-width:1000px){.services-menu-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.services-menu-grid .mega-tile{min-height:180px}}
@media(max-width:600px){dialog.services-dialog{padding:22px;width:calc(100% - 24px)}.services-menu-grid{grid-template-columns:1fr;gap:12px}.services-menu-grid .mega-tile{min-height:120px;padding:18px 44px 18px 80px;justify-content:center}.services-menu-grid .mega-icon{position:absolute;left:18px;top:20px}.services-menu-grid .service-menu-arrow{right:18px;top:22px}.services-menu-grid .mega-tile strong{font-size:17px}.services-menu-grid .mega-tile small{margin-top:7px}.services-dialog .mega-top h2{font-size:26px}.services-menu-footer{flex-direction:column;align-items:flex-start}.area-restored .page-backdrop.engineering-photo{height:240px;max-height:240px}.approach-grid article{padding:24px}}

/* Scorrimento naturale: entrata progressiva e movimento contenuto delle immagini. */
.scroll-reveal{transition:opacity .52s ease,translate .52s cubic-bezier(.22,.61,.36,1);transition-delay:var(--reveal-delay,0ms)}
.scroll-reveal.reveal-pending{opacity:0;translate:0 12px}
.scroll-reveal.reveal-pending.reveal-exit-up{translate:0 -10px}
.scroll-reveal.reveal-pending.reveal-exit-down{translate:0 10px}
.scroll-reveal.is-visible{opacity:1;translate:0 0}
.page-backdrop.scroll-photo{background-position:center;overflow:hidden}
.engineering-photo.scroll-photo .engineering-banner{transform:none}
.cities.office-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px;margin-top:40px}
:root body .cities.office-cards button.office-card{display:block;width:100%;padding:0;border:1px solid #d3dff0;border-radius:24px;background:#f5f8fd;color:#13294d;text-align:left;overflow:hidden;transform:none;min-height:0}
.office-card-photo,.contact-office-photo{display:block;overflow:hidden;background:#edf3fc}
.office-card-photo img{display:block;width:100%;height:300px;object-fit:cover}
.office-card-copy{display:block;padding:26px}
.office-card-copy>strong{display:block;font-size:26px;line-height:1.25}
.office-card-address{display:block;font-size:15px;font-weight:400;line-height:1.6;margin-top:12px}
.office-card-more{display:flex;justify-content:space-between;margin-top:22px;font-size:14px;font-weight:600;color:#1f56cc}
.office-card:focus-visible .office-card-more{color:inherit}
.contact-offices{padding-top:48px!important;padding-bottom:60px!important}
.contact-offices h2{font-size:clamp(28px,3vw,40px);line-height:1.25;margin:0 0 18px}
.contact-office-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;margin-top:30px}
.contact-office{display:block;border:1px solid #d3dff0;background:#f5f8fd;border-radius:22px;overflow:hidden;text-decoration:none;transition:background .2s,color .2s}
.contact-office-photo img{display:block;width:100%;height:200px;object-fit:cover}
.contact-office-copy{display:flex;flex-direction:column;gap:12px;padding:22px}
.contact-office-copy strong{font-size:22px}
.contact-office-copy>span{font-size:13px;line-height:1.6}
.contact-office-copy .contact-office-link{font-weight:600;color:#1f56cc;margin-top:4px}
@media(hover:hover) and (pointer:fine){.office-card:hover .office-card-photo img,.contact-office:hover img{transform:none}.contact-office:hover{background:#1f56cc;color:#fff}.contact-office:hover .contact-office-link,.office-card:hover .office-card-more{color:#fff}}
@media(max-width:1000px){.contact-office-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.cities.office-cards,.contact-office-grid{grid-template-columns:1fr;gap:22px}.office-card-photo img{display:block;width:100%;height:300px;object-fit:cover}.office-card-copy{padding:22px}.contact-office-photo img{display:block;width:100%;height:200px;object-fit:cover}.contact-offices{padding-top:32px!important;padding-bottom:40px!important}.scroll-reveal{transition-duration:.45s}.scroll-reveal.reveal-pending{translate:0 12px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.scroll-reveal,.scroll-reveal.reveal-pending,.scroll-reveal.is-visible,.scroll-reveal.reveal-pending.reveal-exit-up,.scroll-reveal.reveal-pending.reveal-exit-down{opacity:1;translate:none;transition:none}.engineering-photo.scroll-photo .engineering-banner{transform:none}.page-backdrop.scroll-photo{background-position:center}}

/* Barra integrata nella foto, chiara dopo l'inizio dello scorrimento. */
.immersive-header>header{position:fixed;inset:0 0 auto;z-index:20;background:transparent;border-bottom:1px solid transparent;color:#fff;transition:background-color .25s ease,color .25s ease,border-color .25s ease}
.immersive-header>header .navwrap{min-height:100px}
.immersive-header:not(.header-scrolled)>header .brand img{filter:brightness(0) invert(1)}
:root body.immersive-header:not(.header-scrolled)>header nav a,:root body.immersive-header:not(.header-scrolled)>header button.nav-menu-button,:root body.immersive-header:not(.header-scrolled)>header button.nav-menu-button:hover{color:#fff!important;background:transparent!important}
.immersive-header:not(.header-scrolled)>header nav [aria-current="page"]{border-color:#fff!important}
.immersive-header.header-scrolled>header{background:#fff;color:#13294d;border-bottom-color:#e3e9f2}
.immersive-header.header-scrolled>header .brand img{filter:none}
.immersive-header .page-backdrop{position:relative;min-height:290px;isolation:isolate}
.immersive-header .page-backdrop::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(4,17,43,.65),rgba(4,17,43,.08) 65%);pointer-events:none}
.immersive-header .hero{min-height:90vh;min-height:90svh}
.immersive-header .hero-content{padding-top:160px}
.immersive-header .page-backdrop.image-hover:hover{transform:none}
@media(max-width:760px){.immersive-header>header .navwrap{min-height:118px;padding:16px 22px;gap:12px;flex-wrap:wrap}.immersive-header>header nav{width:100%;justify-content:space-between;gap:10px}.immersive-header>header .brand img{width:150px}.immersive-header .page-backdrop{min-height:260px}.immersive-header .hero-content{padding-top:170px}}
@media(prefers-reduced-motion:reduce){.immersive-header>header{transition:none}}

/* Footer Dacomat: identità, servizi, contatti e informazioni societarie. */
footer.site-footer{position:relative;isolation:isolate;overflow:hidden;padding:72px 40px 24px;background:#0b2860;color:#fff;font-size:14px}
.site-footer::before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background:radial-gradient(ellipse at 100% 0%,#1f56cc66,transparent 52%),radial-gradient(ellipse at 0% 100%,#143d8580,transparent 55%)}
.site-footer .footer-shell{max-width:1424px;margin:auto}
.footer-top{display:grid;grid-template-columns:1.5fr 1.2fr .9fr 1.2fr;gap:44px;padding-bottom:48px}
.footer-brand img{display:block;width:190px;max-width:100%;height:auto;filter:brightness(0) invert(1)}
.footer-brand .footer-statement{font-size:clamp(24px,2.5vw,34px);font-weight:500;line-height:1.25;margin:32px 0 20px;letter-spacing:-.02em}
.footer-brand-description{font-size:14px;color:#c8d8f3;line-height:1.8;margin:0}
.site-footer .footer-nav{display:flex;flex-direction:column;align-items:flex-start;gap:10px}
.site-footer h2{font-size:15px;line-height:1.4;margin:0 0 12px;font-weight:700;color:#fff}
.site-footer .footer-nav a,.footer-contact>a{font-size:14px;font-weight:400;line-height:1.6;color:#dce7fa;text-decoration:none}
.site-footer a:hover{color:#fff;text-decoration:underline;text-underline-offset:4px}
.footer-contact{display:flex;flex-direction:column;align-items:flex-start;gap:12px}
.footer-contact>a{overflow-wrap:anywhere}
.footer-contact .footer-recruiter{display:inline-flex;align-items:center;gap:12px;padding:12px 15px;margin-top:14px;border:1px solid #ffffff5c;border-radius:999px;font-size:13px;color:#fff}
.footer-bottom{display:grid;grid-template-columns:1fr auto;align-items:center;gap:36px;padding:32px 0;border-top:1px solid #ffffff2b}
.footer-company>strong{font-size:16px}
.footer-company p{font-size:13px;line-height:1.7;color:#cad9f3;margin:8px 0 0}
.footer-company a{color:inherit}
.site-footer .footer-certification{display:flex;flex-wrap:nowrap;gap:16px;margin:0;max-width:340px;color:#fff}
.site-footer .footer-iso-logo{width:90px;height:auto;border-radius:2px;background:#fff}
.site-footer .footer-certification strong{font-size:12px;font-weight:500;line-height:1.6}
.footer-last{display:flex;justify-content:space-between;gap:20px;padding-top:20px;border-top:1px solid #ffffff2b;color:#b6c9e9;font-size:12px}
@media(max-width:1100px){.footer-top{grid-template-columns:repeat(2,minmax(0,1fr));gap:40px}.footer-brand .footer-statement{font-size:30px}}
@media(max-width:600px){footer.site-footer{padding:48px 22px 22px}.footer-top{grid-template-columns:1fr;gap:34px;padding-bottom:32px}.footer-brand .footer-statement{margin-top:24px}.footer-bottom{grid-template-columns:1fr;gap:24px;padding:28px 0}.site-footer .footer-certification{max-width:320px}.footer-last{flex-direction:column;gap:8px}.site-footer .footer-nav{gap:12px}}

/* Carattere geometrico locale, senza richieste a servizi esterni. */
@font-face{font-family:DacomatSans;src:url('fonts/DacomatSans-Regular.woff') format('woff');font-style:normal;font-weight:400 500;font-display:swap}
@font-face{font-family:DacomatSans;src:url('fonts/DacomatSans-Bold.woff') format('woff');font-style:normal;font-weight:600 900;font-display:swap}
body,.eyebrow,.area-restored .eyebrow{font-family:DacomatSans,"Avenir Next","Century Gothic",sans-serif}
header nav a,header nav button{font-family:inherit;font-weight:600;letter-spacing:.01em}
/* Indicatore solo per la pagina attiva, dopo lo scorrimento. */
:root body>header nav a,:root body>header nav button.nav-menu-button{position:relative;border:0!important;padding-bottom:7px!important;text-decoration:none!important}
:root body>header nav a::after,:root body>header nav button.nav-menu-button::after{content:"";position:absolute;left:0;right:0;bottom:0;height:2px;background:currentColor;transform:scaleX(0);transform-origin:left;transition:transform .2s ease}
:root body.header-scrolled>header nav [aria-current="page"]::after{transform:scaleX(1)}
:root body>header nav [aria-current="page"]{border:0!important}
.presentation-menu{padding-top:58px;padding-bottom:78px}
.presentation-menu>p{max-width:900px;font-size:18px;margin-bottom:30px}
.presentation-topic-grid{grid-template-columns:repeat(3,minmax(0,1fr));margin:30px 0 48px;align-items:stretch}
.presentation-topic-grid .mega-tile{font-size:inherit;font-weight:400}
.presentation-services-title{font-size:28px;letter-spacing:-.02em;margin:0 0 24px}
.footer-top{grid-template-columns:.85fr 1.2fr 1fr 1.2fr}
@media(max-width:1100px){.footer-top{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:1000px){.presentation-topic-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.presentation-topic-grid{grid-template-columns:1fr}.presentation-menu>p{font-size:16px}.presentation-services-title{font-size:24px}.footer-top{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){:root body>header nav a::after,:root body>header nav button.nav-menu-button::after{transition:none}}

/* Contattaci nei servizi: bianco al passaggio e alla pressione. */
:root body .area-cta a.button{border:1px solid #1f56cc}
:root body .area-cta a.button:hover,:root body .area-cta a.button:active,:root body .area-cta a.button:focus-visible{background:#fff!important;color:#1f56cc!important;border-color:#1f56cc!important;box-shadow:none!important}
:root body .area-cta a.button:hover span,:root body .area-cta a.button:active span,:root body .area-cta a.button:focus-visible span{color:#1f56cc!important}

/* Esplora Dacomat nel popup di navigazione, disponibile in tutte le pagine. */
dialog.presentation-dialog{overflow-y:auto;overscroll-behavior:contain}
.presentation-dialog .mega-top>div{max-width:900px}
.presentation-dialog .mega-top .eyebrow{display:block;margin-bottom:10px}
.presentation-dialog .mega-top h2{font-size:clamp(24px,3vw,32px);margin-bottom:12px}
.presentation-dialog .presentation-topic-grid{margin-top:24px;margin-bottom:34px}
.presentation-dialog .presentation-services-title{font-size:24px}
@media(max-width:600px){.presentation-dialog .mega-top h2{font-size:24px}.presentation-dialog .presentation-services-title{font-size:21px}}

/* Pulsanti e riquadri senza frecce decorative. */
.service-menu-arrow{display:none}
@media(max-width:600px){.services-menu-grid .mega-tile{padding-right:22px}}

/* Schede di approfondimento cliccabili. */
.values,.area-topics,.sectorgrid{align-items:stretch}
.values>.value.detail-trigger,.area-topics>.macro-card.detail-trigger,.sectorgrid>.sector.detail-trigger{display:flex;flex-direction:column;height:100%}
.sectorgrid>.sector.detail-trigger>.sector-body{flex:1}
/* Feedback coerente al passaggio del cursore, anche sui pulsanti pieni. */
a,button,summary,[role="button"]{transition:background-color .2s ease,color .2s ease,border-color .2s ease}
:root body a.button{border:1px solid #1f56cc}
@media(hover:hover) and (pointer:fine){
 :root body a.button:hover{background:#fff!important;color:#1f56cc!important;border-color:#1f56cc!important;box-shadow:none!important}
 :root body .hero a.button:hover{background:#eaf1ff!important;color:#123471!important}
 main a:not(.button):not(.mega-tile):not(.office-card):not(.contact-office):hover{color:#173d85}
 .site-footer .footer-nav a:hover,.site-footer .footer-contact>a:hover,.site-footer .footer-company a:hover{color:#a9caff}
 .site-footer .footer-contact a.footer-recruiter:hover{background:#fff;color:#1f56cc;text-decoration:none;border-color:#fff}
 :root body.immersive-header:not(.header-scrolled)>header nav a:hover,:root body.immersive-header:not(.header-scrolled)>header button.nav-menu-button:hover{color:#b8d2ff!important}
 :root body button.detail-close:hover{color:#1f56cc!important}
}
:root body .hero a.button:active{background:#fff!important;color:#123471!important}
/* Fotografie generate: immagini statiche. */
body.immersive-header.area-restored .page-backdrop.interactive-photo{height:clamp(320px,32vw,460px);min-height:320px;max-height:460px;background:#09214c;overflow:hidden}
.interactive-photo-layer{position:absolute;inset:-24px}
.interactive-photo-layer img{display:block;width:100%;height:100%;object-fit:cover;object-position:65% 45%}


@media(max-width:760px){body.immersive-header.area-restored .page-backdrop.interactive-photo{height:310px;min-height:310px;max-height:310px}.interactive-photo-layer img{object-position:70% center}}
@media(prefers-reduced-motion:reduce){a,button,summary,[role="button"]{transition:none}}

/* Intro Dacomat: loop silenzioso, fluido e senza controlli sovrapposti. */
.pagina-index .hero{isolation:isolate}
.pagina-index .hero-image-layer{background-image:url('foto-software-v1.png')}
.pagina-index .intro-video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:60% center;z-index:-2;pointer-events:none;opacity:0;transition:opacity .75s ease-out}
.pagina-index .intro-video.is-ready{opacity:1}
.pagina-index .hero:after{z-index:-1;background:linear-gradient(90deg,rgba(4,15,46,.88),rgba(7,21,54,.25))}
@media(max-width:760px){.pagina-index .intro-video{object-position:65% center}.pagina-index .hero-content{padding-bottom:36px}}
@media(prefers-reduced-motion:reduce){.pagina-index .intro-video{display:none!important;transition:none}}

/* CTA sempre leggibili: mantengono il pill blu nella scheda e testo bianco. */
:root body .macro-card>a.area-link.button{
  display:inline-flex!important;align-items:center;justify-content:center;align-self:flex-start;
  min-height:48px;padding:12px 20px!important;border:1px solid #1f56cc!important;border-radius:999px!important;
  background:#1f56cc!important;color:#fff!important;font-family:inherit!important;font-size:15px!important;
  font-weight:700!important;line-height:1.25!important;text-align:center;text-decoration:none!important;
  text-shadow:none!important;opacity:1!important;visibility:visible!important;white-space:normal
}
@media(hover:hover){
  :root body .macro-card:hover>a.area-link.button,:root body .macro-card>a.area-link.button:hover,
  :root body .macro-card>a.area-link.button:focus-visible,:root body .macro-card>a.area-link.button:active{
    background:#fff!important;color:#1f56cc!important;border-color:#fff!important
  }
}
/* Intro: ingresso più pronto, con movimento continuo e dissolvenza corta. */
.pagina-index .intro-video{transition:opacity .38s cubic-bezier(.2,.7,.2,1)}





/* Schede servizi: destinazione raggiungibile da tutta la superficie. */
.macro-card[data-card-href]{cursor:pointer}
.macro-card[data-card-href]:focus-visible{outline:3px solid #4a87ff;outline-offset:4px}
/* CTA del menu Dacomat: testo sempre leggibile sullo sfondo blu. */
:root body .services-menu-footer>a.button{
  display:inline-flex!important;align-items:center;justify-content:center;min-height:48px;
  padding:13px 24px!important;border:1px solid #1f56cc!important;border-radius:999px!important;
  background:#1f56cc!important;color:#fff!important;-webkit-text-fill-color:#fff!important;
  font-family:inherit!important;font-size:15px!important;font-weight:700!important;line-height:1.3!important;
  text-align:center;text-decoration:none!important;opacity:1!important;visibility:visible!important
}
@media(hover:hover){:root body .services-menu-footer>a.button:hover,:root body .services-menu-footer>a.button:focus-visible{background:#fff!important;color:#1f56cc!important;-webkit-text-fill-color:#1f56cc!important;border-color:#1f56cc!important}}

/* Dissolvenza semplice delle immagini di apertura: nessun pan o zoom. */
.page-photo-slideshow{position:relative;isolation:isolate;overflow:hidden}
.page-photo-slide{position:absolute;inset:0;z-index:1;display:block;background-position:center;background-size:cover;background-repeat:no-repeat;opacity:0;transition:opacity .38s cubic-bezier(.2,.7,.2,1);pointer-events:none}
.page-photo-slide.is-active{opacity:1}
.immersive-header .page-backdrop::after{z-index:2}
@media(prefers-reduced-motion:reduce){.page-photo-slide{transition:none}}


/* Card dei valori: navigazione diretta alle rispettive pagine. */
.value-link{display:block;color:inherit;text-decoration:none;cursor:pointer;transition:background .2s,border-color .2s,box-shadow .2s,transform .2s}
.value-link:hover,.value-link:focus-visible{background:#f7f9ff;border-color:#1f56cc;box-shadow:0 14px 32px #16397e18;transform:translateY(-3px)}
.value-link:active{background:#e9efff}
/* Griglia settori e marchi citati negli approfondimenti. */
.sectorgrid{grid-template-columns:repeat(3,minmax(0,1fr))}
.sector-image.retail{background-image:url('settori-ict-altri.png');background-size:cover;background-position:center}
.sector-image.gaming{background-image:url('sfondo-progetti-v2.png');background-size:cover;background-position:center}
.sector-dialog{max-width:820px;max-height:88vh;overflow:auto}
.sector-detail-copy{margin-bottom:24px}
.brand-list-title{margin:24px 0 12px;font-size:16px;color:#19385e}
.brand-list{display:flex;flex-wrap:wrap;gap:8px}
.brand-chip{display:inline-flex;align-items:center;min-height:32px;padding:5px 11px;border:1px solid #d9e3f1;border-radius:8px;background:#f5f8fc;color:#19385e;font-size:12px;font-weight:700;line-height:1.25}
.brand-note{margin-top:14px!important;color:#75849a!important;font-size:12px!important}
.people-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.people-grid .macro-card a{color:#1f56cc;font-weight:650}
.pagina-persone{--page-image:url("sfondo-lavora-con-noi.png")}
.pagina-innovazione{--page-image:url("sfondo-progetti-v2.png")}
@media(max-width:980px){.sectorgrid{grid-template-columns:repeat(2,minmax(0,1fr))}.people-grid{grid-template-columns:1fr}}
@media(max-width:620px){.sectorgrid{grid-template-columns:1fr}.sector-dialog{width:calc(100% - 24px);padding:22px}}

/* Collegamenti alle mappe nelle schede delle sedi */
.office-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:22px}
.office-copy .office-actions .button{margin-top:0}
.office-actions .map-button{background:#edf3ff;color:#184798;border:1px solid #c8d8f2}
.office-actions .map-button:hover{background:#dfeaff}

/* Hero interni a tutta pagina, con gerarchia visiva come la home. */
body.immersive-header .page-backdrop{
  position:relative!important;width:100%;height:90vh;height:90svh;min-height:640px;max-height:none!important;
  isolation:isolate;overflow:hidden;background-position:center!important;background-size:cover!important;background-repeat:no-repeat!important;
}
body.immersive-header .page-backdrop::after{z-index:2;background:linear-gradient(90deg,rgba(4,15,40,.78),rgba(4,15,40,.28) 70%,rgba(4,15,40,.12)),linear-gradient(0deg,rgba(4,15,40,.28),transparent 60%)}
body.immersive-header .page-photo-slide{z-index:1;background-size:cover!important;background-position:center!important;background-repeat:no-repeat!important;filter:none!important;transform:none!important;transition:opacity .38s cubic-bezier(.2,.7,.2,1)}
body.immersive-header .page-hero-copy{position:absolute;z-index:4;left:max(5vw,24px);right:max(5vw,24px);bottom:clamp(74px,12vh,150px);max-width:1120px;color:#fff;text-shadow:0 2px 22px rgba(0,0,0,.3);pointer-events:none}
body.immersive-header .page-hero-copy .page-title{max-width:1100px;margin:0 0 20px;color:#fff;font-size:clamp(48px,7vw,100px);font-weight:650;line-height:.98;letter-spacing:-.055em}
body.immersive-header .page-hero-copy p{max-width:800px;margin:0;color:#f4f7fc;font-size:clamp(17px,1.7vw,23px);line-height:1.55;text-shadow:0 2px 14px rgba(0,0,0,.4)}
body.immersive-header .page-hero-copy p strong{font-weight:600}
body.immersive-header .page-backdrop.engineering-photo{background-image:url('hero-aerospace-generated.png')!important}
body.immersive-header .page-backdrop.engineering-photo .engineering-banner{display:none}
.sector-image.bank{background-image:url('dacomat-finanza.webp');background-size:cover;background-position:center}
.sector-image.energy{background-image:url('dacomat-energia.webp');background-size:cover;background-position:center}
.sector-image.consult{background-image:url('hero-project-team-generated.png');background-size:cover;background-position:center}
.sector-image.industry{background-image:url('dacomat-aerospazio.webp');background-size:cover;background-position:center}
.sector-image.health{background-image:url('hero-team-generated.png');background-size:cover;background-position:center}
.sector-image.public{background-image:url('sfondo-sedi.png');background-size:cover;background-position:center}
.sector-image.telco{background-image:url('hero-datacenter-generated.png');background-size:cover;background-position:center}
.sector-image.logistics{background-image:url('dacomat-logistica.webp');background-size:cover;background-position:center}
.sector-image.retail{background-image:url('dacomat-retail.webp');background-size:cover;background-position:center}
.sector-image.gaming{background-image:url('hero-project-team-generated.png');background-size:cover;background-position:center}
@media(max-width:760px){
  body.immersive-header .page-backdrop{height:88svh;min-height:600px}
  body.immersive-header .page-hero-copy{left:22px;right:22px;bottom:clamp(72px,10vh,110px)}
  body.immersive-header .page-hero-copy .page-title{font-size:clamp(42px,10vw,68px);line-height:1.02;margin-bottom:16px}
  body.immersive-header .page-hero-copy p{font-size:17px}
}
@media(max-width:460px){body.immersive-header .page-backdrop{min-height:560px}.services-menu-grid .mega-tile{min-height:138px}}
@media(prefers-reduced-motion:reduce){body.immersive-header .page-photo-slide{transition:none}}

/* Rifinitura delle intestazioni: fotografie continue e testo più misurato. */
body.immersive-header .page-backdrop::after{
  background:rgba(7,20,42,.22)!important;
}
body.immersive-header .page-hero-copy{
  max-width:1040px;
  text-shadow:0 2px 14px rgba(0,0,0,.42);
}
body.immersive-header .page-hero-copy .page-title{
  max-width:960px;
  font-size:clamp(38px,4.5vw,68px);
  line-height:1.05;
  letter-spacing:-.045em;
  margin-bottom:16px;
}
body.immersive-header .page-hero-copy p{
  max-width:720px;
  font-size:clamp(16px,1.25vw,19px);
  line-height:1.55;
  text-shadow:0 2px 10px rgba(0,0,0,.55);
}
@media(max-width:760px){
  body.immersive-header .page-hero-copy .page-title{font-size:clamp(34px,8.5vw,54px);line-height:1.06;margin-bottom:13px}
  body.immersive-header .page-hero-copy p{font-size:16px}
}

/* Tipografia più equilibrata e coerente con la home. */
body.immersive-header .page-hero-copy .page-title{
  max-width:980px;
  font-family:DacomatSans,"Avenir Next","Century Gothic",sans-serif;
  font-size:clamp(36px,4vw,64px);
  font-weight:500;
  line-height:1.06;
  letter-spacing:-.035em;
}
body.immersive-header .page-hero-copy p{
  font-family:DacomatSans,"Avenir Next","Century Gothic",sans-serif;
  font-size:clamp(16px,1.2vw,18px);
  font-weight:400;
}
.page-main h2{font-size:clamp(25px,2.5vw,36px);font-weight:500;letter-spacing:-.025em}
.page-main h3{font-weight:500;letter-spacing:-.02em}
.area-restored .macro-card h2{font-size:21px;font-weight:500}
.sector h3{font-size:22px;font-weight:500}
@media(max-width:760px){
 body.immersive-header .page-hero-copy .page-title{font-size:clamp(34px,8vw,50px);font-weight:500}
 .page-main h2{font-size:26px}
}

/* Intestazioni interne allineate alla tipografia della home. */
body.immersive-header .page-hero-copy .page-title{
  font-family:DacomatSans,"Avenir Next","Century Gothic",sans-serif;
  max-width:840px;
  font-size:clamp(36px,4.4vw,64px);
  font-weight:700;
  line-height:1.12;
  letter-spacing:-.035em;
  margin:22px 0;
}
body.immersive-header .page-hero-copy p{
  font-family:DacomatSans,"Avenir Next","Century Gothic",sans-serif;
  max-width:760px;
  font-size:18px;
  font-weight:400;
  line-height:1.65;
}
@media(max-width:640px){
 body.immersive-header .page-hero-copy .page-title{font-size:38px;line-height:1.12;margin:18px 0}
 body.immersive-header .page-hero-copy p{font-size:16px}
}

/* Ridimensionamento esplicito di tutti i testi introduttivi delle pagine interne. */
:root body.immersive-header main h1,
:root body.immersive-header main .page-title,
:root body.immersive-header main .area-heading h1{
  font-family:DacomatSans,"Avenir Next","Century Gothic",sans-serif!important;
  font-size:clamp(36px,4.4vw,64px)!important;
  font-weight:700!important;
  line-height:1.12!important;
  letter-spacing:-.035em!important;
  max-width:840px!important;
}
:root body.immersive-header main .page-hero-copy p,
:root body.immersive-header main .lead-copy,
:root body.immersive-header main .hero p{
  font-family:DacomatSans,"Avenir Next","Century Gothic",sans-serif!important;
  font-size:clamp(16px,1.25vw,18px)!important;
  font-weight:400!important;
  line-height:1.65!important;
}
:root body.immersive-header main h2{font-size:clamp(24px,2.4vw,34px)!important;font-weight:500!important;line-height:1.2!important}
:root body.immersive-header main h3{font-size:clamp(19px,1.7vw,23px)!important;font-weight:500!important;line-height:1.35!important}
@media(max-width:640px){
  :root body.immersive-header main h1,:root body.immersive-header main .page-title,:root body.immersive-header main .area-heading h1{font-size:38px!important;line-height:1.12!important}
  :root body.immersive-header main .page-hero-copy p,:root body.immersive-header main .lead-copy,:root body.immersive-header main .hero p{font-size:16px!important}
}

/* Hero delle pagine interne: stessa apertura immersiva della home, con testo più contenuto. */
body.immersive-header .page-backdrop{
  width:100%;height:100vh;height:100svh;min-height:620px;max-height:none!important;
  background-position:center!important;background-size:cover!important;background-repeat:no-repeat!important;
}
:root body.immersive-header main .page-backdrop{height:100vh!important;height:100svh!important;min-height:620px!important;max-height:none!important}
body.immersive-header .page-backdrop::after{
  background:linear-gradient(90deg,rgba(4,15,46,.91) 0%,rgba(4,15,46,.78) 34%,rgba(7,21,54,.32) 70%,rgba(7,21,54,.12) 100%),
    linear-gradient(0deg,rgba(4,15,46,.3),transparent 58%)!important;
}
body.immersive-header .page-photo-slide{
  background-size:cover!important;background-position:center!important;background-repeat:no-repeat!important;
  filter:none!important;transform:none!important;transition:opacity .38s cubic-bezier(.2,.7,.2,1)!important;
}
body.immersive-header .page-hero-copy{
  left:max(3vw,28px);right:24px;bottom:clamp(86px,13vh,150px);max-width:1000px;
  text-shadow:0 2px 16px rgba(0,0,0,.38);
}
:root body.immersive-header main .page-hero-copy .page-title,
:root body.immersive-header main .page-title{
  max-width:850px!important;margin:0 0 18px!important;
  font-size:clamp(36px,3.7vw,56px)!important;line-height:1.08!important;
  letter-spacing:-.04em!important;font-weight:650!important;
}
:root body.immersive-header main .page-hero-copy p{
  max-width:700px!important;font-size:clamp(15px,1.1vw,17px)!important;
  line-height:1.6!important;color:#f4f7fc!important;
}
@media(max-width:760px){
  body.immersive-header .page-backdrop{height:100svh;min-height:600px}
  :root body.immersive-header main .page-backdrop{height:100svh!important;min-height:600px!important}
  body.immersive-header .page-hero-copy{left:22px;right:22px;bottom:clamp(94px,13vh,132px)}
  :root body.immersive-header main .page-hero-copy .page-title,:root body.immersive-header main .page-title{font-size:clamp(34px,8vw,48px)!important;line-height:1.08!important}
  :root body.immersive-header main .page-hero-copy p{font-size:15px!important;line-height:1.55!important}
}
body.privacy-page{background:#f5f7fc!important}
body.privacy-page main{max-width:none!important;margin:0!important;padding:0!important;background:transparent!important;border-radius:0!important;box-shadow:none!important}
body.privacy-page .privacy-photo{height:100vh!important;height:100svh!important;min-height:620px;width:100%;margin:0 0 28px;border-radius:0;background-position:center!important;background-size:cover!important}
body.privacy-page .privacy-photo::after{content:"";position:absolute;inset:0;z-index:2;background:linear-gradient(90deg,rgba(4,15,46,.91) 0%,rgba(4,15,46,.78) 34%,rgba(7,21,54,.32) 70%,rgba(7,21,54,.12) 100%),linear-gradient(0deg,rgba(4,15,46,.3),transparent 58%);pointer-events:none}
body.privacy-page .privacy-content{max-width:900px;margin:0 auto 56px;padding:34px;background:#fff;border-radius:22px;box-shadow:0 14px 50px #12315d15}
body.privacy-page .privacy-content h1{margin-top:20px}
@media(max-width:760px){body.privacy-page .privacy-photo{min-height:600px}body.privacy-page .privacy-content{margin:0 12px 32px;padding:24px;border-radius:14px}}

/* Scorrimento più leggero: rivelazione breve, senza animazioni ripetute o ritardi a cascata. */
.scroll-reveal{transition-duration:.28s!important;transition-delay:0ms!important}
.scroll-reveal.reveal-pending{translate:0 6px}
@media(max-width:600px){.scroll-reveal{transition-duration:.24s!important}}

/* CTA in sovraimpressione sulle schede dei settori, senza colorare tutta la scheda al hover. */
.sectorgrid>.sector.detail-trigger{background:#fff!important;color:#13294d!important}
.sectorgrid>.sector.detail-trigger:hover{background:#fff!important;color:#13294d!important;border-color:#1f56cc!important}
.sectorgrid>.sector.detail-trigger:hover .sector-body h3{color:#13294d!important}
.sectorgrid>.sector.detail-trigger:hover .sector-body p{color:#53647b!important}
.sectorgrid>.sector .sector-image{position:relative;isolation:isolate}
.sectorgrid>.sector .sector-image.image-hover:hover{transform:none!important}
.sectorgrid>.sector .sector-image::after{content:"Apri approfondimento";position:absolute;left:50%;bottom:18px;z-index:2;display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:9px 16px;border:1px solid #ffffffa6;border-radius:999px;background:#09214cdb;color:#fff;font-size:13px;font-weight:600;line-height:1;white-space:nowrap;opacity:0;translate:-50% 6px;transition:opacity .2s ease,translate .2s ease;pointer-events:none;backdrop-filter:blur(8px)}
@media(hover:hover) and (pointer:fine){.sectorgrid>.sector:hover .sector-image::after,.sectorgrid>.sector:focus-visible .sector-image::after{opacity:1;translate:-50% 0}}
@media(hover:none){.sectorgrid>.sector .sector-image::after{display:none}}
.sector-image.gaming{background-image:url('dacomat-gaming.webp')!important;background-size:cover;background-position:center}
@media(prefers-reduced-motion:reduce){.sectorgrid>.sector .sector-image::after{transition:none}}

/* Le schede si ingrandiscono al passaggio del cursore; nessuna etichetta sovrapposta. */
.sectorgrid>.sector .sector-image::after{content:none!important;display:none!important}
.sectorgrid>.sector.detail-trigger{transform:translateZ(0);transition:transform .22s cubic-bezier(.2,.7,.2,1),background-color .2s,color .2s,border-color .2s!important}
@media(hover:hover) and (pointer:fine){.sectorgrid>.sector.detail-trigger:hover,.sectorgrid>.sector.detail-trigger:focus-visible{transform:scale(1.035);z-index:4}}
@media(prefers-reduced-motion:reduce){.sectorgrid>.sector.detail-trigger{transition:none!important}}

/* Copertine dedicate: evita che l’immagine statica di fondo traspaia durante la dissolvenza */
.page-backdrop.page-photo-slideshow,.privacy-photo.page-photo-slideshow{background-image:none!important}
.menu-hero-visual{height:clamp(120px,18vw,210px);margin:2px 0 22px;border-radius:18px;background:url("menu-dacomat-banner.webp") center 48%/cover no-repeat;box-shadow:inset 0 0 0 1px rgba(255,255,255,.14)}
@media(max-width:600px){.menu-hero-visual{height:132px;margin-bottom:18px}}

/* Evita la sovrapposizione della foto statica con le dissolvenze */
.page-backdrop.page-photo-slideshow .interactive-photo-layer{display:none!important}
.area-restored .project-management-photo{background-image:linear-gradient(90deg,#071d4630,#071d4610),url("progetti-sezione.webp")!important;background-size:cover;background-position:center}


/* Evidenza blu uniforme su tutti i controlli e gli elementi interattivi */
a,button,[role="button"],summary{transition:background-color .18s ease,color .18s ease,border-color .18s ease,box-shadow .18s ease,filter .18s ease}
@media(hover:hover) and (pointer:fine){
  :root body :is(button,a.button,[role="button"],summary,.mega-tile,.contact-office):hover:not(:disabled){
    border-color:#3980ff!important;
    box-shadow:0 0 0 2px rgba(31,86,204,.16),0 0 18px 3px rgba(31,86,204,.34)!important;
  }
  :root body :is(button,a.button):hover:not(:disabled):not(.nav-menu-button):not(.detail-close):not(.city-explorer){
    background:#1f56cc!important;color:#fff!important;
  }
  :root body :is(button,a.button):hover:not(:disabled):not(.nav-menu-button):not(.detail-close):not(.city-explorer) :is(span,small,strong){color:#fff!important}
  :root body button.nav-menu-button:hover{background:transparent!important;color:#1f56cc!important;box-shadow:0 7px 16px -10px #1f56cc!important}
  :root body button.detail-close:hover{background:transparent!important;color:#1f56cc!important;box-shadow:0 0 0 3px rgba(31,86,204,.16),0 0 16px rgba(31,86,204,.3)!important}
  :root body button.city-explorer:hover{background:transparent!important;box-shadow:0 0 0 3px rgba(31,86,204,.18),0 0 20px 4px rgba(31,86,204,.42)!important}
  :root body a.contact-office:hover{background:#1f56cc!important;color:#fff!important}
}
:root body :is(button,a.button,[role="button"],summary,.mega-tile,.contact-office):focus-visible{outline:3px solid #4a87ff!important;outline-offset:3px;box-shadow:0 0 0 3px rgba(31,86,204,.18),0 0 18px 3px rgba(31,86,204,.3)!important}
:root body :is(button,a.button,[role="button"],summary):active:not(:disabled){filter:brightness(.92)}
@media(prefers-reduced-motion:reduce){a,button,[role="button"],summary{transition:none!important}}
@media(hover:hover) and (pointer:fine){
  :root body .hero a.button:hover,
  :root body .contact-card:hover a.button:hover,
  :root body .area-cta a.button:hover{
    background:#1f56cc!important;color:#fff!important;border-color:#3980ff!important;
    box-shadow:0 0 0 2px rgba(31,86,204,.18),0 0 20px 4px rgba(31,86,204,.42)!important;
  }
  :root body>header nav a:hover{filter:drop-shadow(0 0 7px rgba(31,86,204,.55))}
  :root body.immersive-header:not(.header-scrolled)>header nav a:hover{color:#b8d2ff!important;filter:none!important}
}

/* Schede immagine a tutta altezza, con testo sovrapposto e sfumatura come nel riferimento TCS */
.sectorgrid{grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;align-items:stretch}
.sectorgrid>.sector.detail-trigger{position:relative;min-height:clamp(440px,38vw,570px);border:1px solid #d7e0ed!important;border-radius:20px;overflow:hidden;background:#07152c!important;isolation:isolate}
.sectorgrid>.sector .sector-image{position:absolute;inset:0;width:100%;height:100%;aspect-ratio:auto;background-size:cover!important;background-position:center!important;transition:transform .55s cubic-bezier(.2,.7,.2,1),filter .35s ease}
.sectorgrid>.sector::after{content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(180deg,rgba(3,12,29,.03) 24%,rgba(3,12,29,.22) 52%,rgba(3,12,29,.94) 100%);pointer-events:none;transition:background .25s ease}
.sectorgrid>.sector .sector-body{position:absolute;left:0;right:0;bottom:0;z-index:2;padding:30px 28px 32px;background:transparent!important;color:#fff!important}
.sectorgrid>.sector .sector-body h3{margin:0 0 10px;color:#fff!important;font-size:clamp(21px,2vw,27px);line-height:1.18}
.sectorgrid>.sector .sector-body p{margin:0;color:rgba(255,255,255,.84)!important;font-size:15px;line-height:1.5}
@media(hover:hover) and (pointer:fine){
  .sectorgrid>.sector.detail-trigger:hover,.sectorgrid>.sector.detail-trigger:focus-visible{transform:scale(1.035);z-index:4;border-color:#4385ff!important;box-shadow:0 0 0 2px rgba(31,86,204,.16),0 0 22px 4px rgba(31,86,204,.36)!important}
  .sectorgrid>.sector:hover .sector-image{transform:scale(1.035);filter:brightness(1.08)}
}
.sectorgrid>.sector.detail-trigger:focus-visible{outline:3px solid #4a87ff!important;outline-offset:4px}
/* Le sedi diventano riquadri verticali con foto intera e indirizzo sul gradiente */
.cities.office-cards{grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
:root body .cities.office-cards button.office-card{position:relative;height:clamp(380px,34vw,500px);min-height:0;padding:0;border-radius:20px;background:#07152c!important;color:#fff!important;isolation:isolate}
.office-card-photo{position:absolute;inset:0;display:block;overflow:hidden}
.office-card-photo img{width:100%;height:100%;display:block;object-fit:cover;aspect-ratio:auto;transition:transform .5s ease,filter .3s ease}
.office-card::after{content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(180deg,rgba(3,12,29,.02) 25%,rgba(3,12,29,.28) 55%,rgba(3,12,29,.92) 100%);pointer-events:none}
.office-card-copy{position:absolute;left:0;right:0;bottom:0;z-index:2;display:flex;flex-direction:column;align-items:flex-start;gap:9px;padding:26px 23px 28px;color:#fff!important}
.office-card-copy strong{font-size:24px;line-height:1.2;color:#fff!important}
.office-card-address{font-size:13px;line-height:1.4;color:rgba(255,255,255,.86)!important}
.office-card-more{font-size:12px;color:#fff!important;text-decoration:underline;text-underline-offset:4px}
@media(hover:hover) and (pointer:fine){.office-card:hover .office-card-photo img{transform:scale(1.045);filter:brightness(1.08)}}
/* Anche le sedi nei Contatti seguono il formato fotografico verticale */
.contact-office-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
:root body a.contact-office{position:relative;display:block;min-height:0;height:clamp(360px,31vw,460px);padding:0;border-radius:20px;overflow:hidden;background:#07152c!important;color:#fff!important;isolation:isolate}
.contact-office-photo{position:absolute;inset:0;display:block;overflow:hidden}
.contact-office-photo img{width:100%;height:100%;object-fit:cover;aspect-ratio:auto;transition:transform .5s ease,filter .3s ease}
.contact-office::after{content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(180deg,rgba(3,12,29,.02) 25%,rgba(3,12,29,.3) 56%,rgba(3,12,29,.93) 100%);pointer-events:none}
.contact-office-copy{position:absolute;left:0;right:0;bottom:0;z-index:2;display:flex;flex-direction:column;align-items:flex-start;gap:9px;padding:25px 22px 28px;color:#fff!important}
.contact-office-copy strong{font-size:23px;color:#fff!important}
.contact-office-copy>span{font-size:13px;line-height:1.45;color:rgba(255,255,255,.86)!important}
.contact-office-copy .contact-office-link{color:#fff!important;font-weight:600;text-decoration:underline;text-underline-offset:4px}
@media(hover:hover) and (pointer:fine){.contact-office:hover .contact-office-photo img{transform:scale(1.045);filter:brightness(1.08)}}
@media(max-width:900px){.sectorgrid{grid-template-columns:repeat(2,minmax(0,1fr))}.cities.office-cards,.contact-office-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.sectorgrid>.sector.detail-trigger{min-height:460px}}
@media(max-width:600px){.sectorgrid,.cities.office-cards,.contact-office-grid{grid-template-columns:1fr}.sectorgrid>.sector.detail-trigger{min-height:480px}.cities.office-cards button.office-card{height:440px}.contact-office{height:420px}}
@media(prefers-reduced-motion:reduce){.sectorgrid>.sector .sector-image,.office-card-photo img,.contact-office-photo img{transition:none!important}}

/* Pulsanti CTA essenziali: pillola outline, riempimento blu al passaggio del mouse */
:root body :is(a.button,button.button){
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  min-height:48px;padding:11px 24px;border:1px solid #1f56cc!important;
  border-radius:999px!important;background:transparent!important;color:#1f56cc!important;
  box-shadow:none!important;font-weight:600;text-decoration:none;line-height:1.25;
  transition:background-color .2s ease,color .2s ease,border-color .2s ease,box-shadow .2s ease,transform .2s ease;
}
:root body .hero :is(a.button,button.button),
:root body.immersive-header .page-hero-copy :is(a.button,button.button){
  border-color:rgba(255,255,255,.78)!important;background:transparent!important;color:#fff!important;
}
:root body .site-footer :is(a.button,button.button){border-color:rgba(255,255,255,.78)!important;color:#fff!important}
@media(hover:hover) and (pointer:fine){
  :root body :is(a.button,button.button):hover{
    background:#1f56cc!important;color:#fff!important;border-color:#1f56cc!important;
    box-shadow:0 0 0 2px rgba(31,86,204,.18),0 0 20px 4px rgba(31,86,204,.42)!important;
  }
  :root body .hero :is(a.button,button.button):hover,
  :root body.immersive-header .page-hero-copy :is(a.button,button.button):hover{
    background:#1f56cc!important;color:#fff!important;border-color:#6ea1ff!important;
  }
  :root body .contact-card :is(a.button,button.button):hover,
  :root body .area-cta :is(a.button,button.button):hover,
  :root body .career-box :is(a.button,button.button):hover,
  :root body .office-copy :is(a.button,button.button):hover,
  :root body .detail-dialog :is(a.button,button.button):hover{
    background:#1f56cc!important;color:#fff!important;border-color:#1f56cc!important;
    box-shadow:0 0 0 2px rgba(31,86,204,.18),0 0 20px 4px rgba(31,86,204,.42)!important;
  }
}
:root body :is(a.button,button.button):focus-visible{outline:3px solid #4a87ff!important;outline-offset:4px;box-shadow:0 0 0 3px rgba(31,86,204,.18),0 0 18px 3px rgba(31,86,204,.3)!important}
:root body :is(a.button,button.button):active{background:#1f56cc!important;color:#fff!important;border-color:#1f56cc!important}
@media(prefers-reduced-motion:reduce){:root body :is(a.button,button.button){transition:none!important}}
:root body .contact-card :is(a.button,button.button){background:transparent!important;color:#1f56cc!important;border:1px solid #1f56cc!important;box-shadow:none!important}

/* Popup Dacomat: immagine a tutto sfondo con collegamenti sovrapposti */
:root body dialog.presentation-dialog{
  position:fixed;isolation:isolate;box-sizing:border-box;display:flex;flex-direction:column;
  width:min(1600px,calc(100vw - 32px));height:min(940px,calc(100dvh - 32px));
  max-width:none;max-height:none;margin:auto;padding:clamp(20px,3vw,48px);
  overflow:hidden;border:1px solid rgba(255,255,255,.24);border-radius:28px;
  background:#081a36;color:#fff;box-shadow:0 28px 100px rgba(0,12,35,.48)
}
:root body dialog.presentation-dialog[open]{display:flex}
:root body .presentation-dialog .menu-hero-visual{
  position:absolute;z-index:-1;inset:0;width:auto;height:auto;min-height:0;margin:0;border-radius:inherit;
  background-image:linear-gradient(180deg,rgba(4,17,41,.58) 0%,rgba(4,17,41,.12) 40%,rgba(4,17,41,.74) 100%),url("menu-dacomat-banner.webp");
  background-position:center;background-size:cover;box-shadow:none;pointer-events:none
}
:root body .presentation-dialog .mega-top,:root body .presentation-dialog .presentation-topic-grid,:root body .presentation-dialog .services-menu-footer{position:relative;z-index:1}
:root body .presentation-dialog .mega-top{flex:0 0 auto;align-items:flex-start;margin:0;gap:20px}
:root body .presentation-dialog .mega-top h2{max-width:1000px;margin:0;color:#fff;font-size:clamp(26px,4vw,48px);line-height:1.12;text-wrap:balance;text-shadow:0 2px 20px rgba(0,0,0,.3)}
:root body .presentation-dialog .mega-top .detail-close{width:48px;height:48px;border:1px solid rgba(255,255,255,.72);background:rgba(8,25,53,.32);color:#fff;backdrop-filter:blur(8px)}
:root body .presentation-dialog .mega-top .detail-close:hover{background:#1f56cc;border-color:#8bb5ff;box-shadow:0 0 22px rgba(70,135,255,.58)}
:root body .presentation-dialog .presentation-topic-grid{
  flex:1 1 auto;min-height:0;align-content:end;grid-template-columns:repeat(4,minmax(0,1fr));
  grid-auto-rows:minmax(124px,1fr);gap:14px;margin:32px 0 0;padding:0
}
:root body .presentation-dialog .presentation-topic-grid .mega-tile{
  box-sizing:border-box;min-height:124px;height:100%;padding:clamp(16px,1.7vw,24px);
  flex-direction:row;align-items:center;gap:14px;border:1px solid rgba(255,255,255,.58);border-radius:18px;
  background:rgba(7,24,52,.48);color:#fff;box-shadow:0 8px 28px rgba(0,10,30,.12);
  backdrop-filter:blur(9px);-webkit-backdrop-filter:blur(9px);transition:background .2s ease,border-color .2s ease,box-shadow .2s ease,transform .2s ease
}
:root body .presentation-dialog .presentation-topic-grid .mega-tile:hover,
:root body .presentation-dialog .presentation-topic-grid .mega-tile:focus-visible,
:root body .presentation-dialog .presentation-topic-grid .mega-tile:active{
  transform:translateY(-3px);border-color:#8bb5ff;background:rgba(24,77,174,.82);color:#fff;
  box-shadow:0 0 0 2px rgba(87,145,255,.22),0 10px 30px rgba(0,14,46,.3),0 0 22px rgba(50,120,255,.36);outline:none
}
:root body .presentation-dialog .presentation-topic-grid .mega-icon{flex:0 0 46px;width:46px;min-width:46px;height:46px;border:1px solid rgba(255,255,255,.5);border-radius:14px;background:rgba(255,255,255,.12);color:#fff}
:root body .presentation-dialog .presentation-topic-grid .mega-icon svg{width:28px;height:28px}
:root body .presentation-dialog .presentation-topic-grid .service-menu-copy{min-width:0}
:root body .presentation-dialog .presentation-topic-grid .mega-tile strong{display:block;color:#fff;font-size:clamp(15px,1.25vw,19px);line-height:1.25}
:root body .presentation-dialog .presentation-topic-grid .mega-tile small{display:block;margin-top:7px;color:rgba(255,255,255,.84);font-size:13px;line-height:1.4}
:root body .presentation-dialog .services-menu-footer{flex:0 0 auto}
@media(max-width:900px){
  :root body dialog.presentation-dialog{padding:24px}
  :root body .presentation-dialog .presentation-topic-grid{grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:minmax(104px,1fr);gap:11px;margin-top:24px}
  :root body .presentation-dialog .presentation-topic-grid .mega-tile{min-height:104px}
}
@media(max-width:560px){
  :root body dialog.presentation-dialog{width:calc(100vw - 20px);height:calc(100dvh - 20px);padding:18px;border-radius:22px}
  :root body .presentation-dialog .mega-top h2{font-size:25px;max-width:calc(100% - 54px)}
  :root body .presentation-dialog .mega-top .detail-close{width:42px;height:42px}
  :root body .presentation-dialog .presentation-topic-grid{grid-template-columns:1fr;grid-auto-rows:auto;overflow-y:auto;overscroll-behavior:contain;margin-top:22px;padding:2px 2px 10px}
  :root body .presentation-dialog .presentation-topic-grid .mega-tile{min-height:82px;height:auto;padding:14px}
  :root body .presentation-dialog .presentation-topic-grid .mega-tile small{font-size:12px}
}
@media(prefers-reduced-motion:reduce){:root body .presentation-dialog .presentation-topic-grid .mega-tile{transition:none}}

/* Le schede settore mantengono il testo bianco anche quando sono evidenziate */
:root body .sectorgrid>.sector.detail-trigger:hover .sector-body h3,
:root body .sectorgrid>.sector.detail-trigger:focus-visible .sector-body h3,
:root body .sectorgrid>.sector.detail-trigger:active .sector-body h3{
  color:#fff!important;-webkit-text-fill-color:#fff!important
}
:root body .sectorgrid>.sector.detail-trigger:hover .sector-body p,
:root body .sectorgrid>.sector.detail-trigger:focus-visible .sector-body p,
:root body .sectorgrid>.sector.detail-trigger:active .sector-body p{
  color:rgba(255,255,255,.9)!important;-webkit-text-fill-color:rgba(255,255,255,.9)!important
}

/* Controlli e schede senza bordi: feedback morbido al passaggio */
:root body :is(button,a.button,[role="button"],summary,.mega-tile,.contact-office){border:0!important}
:root body :is(button,a.button,[role="button"],summary,.mega-tile,.contact-office):hover,
:root body :is(button,a.button,[role="button"],summary,.mega-tile,.contact-office):active{
  border:0!important;outline:0;box-shadow:0 10px 28px rgba(31,86,204,.22)!important
}
:root body .sectorgrid>.sector.detail-trigger,
:root body .cities.office-cards button.office-card{border:0!important}
:root body .sectorgrid>.sector.detail-trigger:hover,
:root body .sectorgrid>.sector.detail-trigger:focus-visible,
:root body .cities.office-cards button.office-card:hover,
:root body .cities.office-cards button.office-card:focus-visible{
  border:0!important;box-shadow:0 12px 34px rgba(31,86,204,.26)!important
}
:root body :is(button,a.button,[role="button"],summary,.mega-tile,.contact-office):focus-visible{
  outline:2px solid rgba(92,151,255,.82);outline-offset:4px;box-shadow:0 0 20px rgba(31,86,204,.28)!important
}

/* Menu Dacomat: ritorno al pannello bianco, con sette card fotografiche */
:root body dialog.presentation-dialog{
  position:fixed;isolation:isolate;display:block;box-sizing:border-box;width:min(1180px,calc(100vw - 32px));
  height:auto;max-width:1180px;max-height:calc(100dvh - 40px);margin:auto;padding:clamp(24px,3vw,40px);
  overflow-y:auto;border:0;border-radius:24px;background:#fff;color:#13294d;box-shadow:0 24px 80px rgba(9,33,76,.28)
}
:root body dialog.presentation-dialog[open]{display:block}
:root body .presentation-dialog .menu-hero-visual{display:none!important}
:root body .presentation-dialog .mega-top{position:relative;z-index:1;display:flex;align-items:center;margin:0 0 24px}
:root body .presentation-dialog .mega-top h2{margin:0;color:#13294d;font-size:clamp(25px,3vw,34px);line-height:1.2;text-shadow:none}
:root body .presentation-dialog .mega-top .detail-close{background:#eef3fb;color:#173d85}
:root body .presentation-dialog .presentation-topic-grid{
  position:relative;z-index:1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-rows:minmax(190px,1fr);
  gap:16px;margin:0;padding:0;overflow:visible
}
:root body .presentation-dialog .presentation-topic-grid .mega-tile{
  position:relative;isolation:isolate;box-sizing:border-box;display:flex;min-height:190px;height:auto;flex-direction:column;
  align-items:flex-start;justify-content:flex-end;gap:0;padding:22px;overflow:hidden;border:0!important;border-radius:18px;
  background-color:#13294d;color:#fff;box-shadow:0 8px 24px rgba(9,33,76,.12);backdrop-filter:none;-webkit-backdrop-filter:none;
  transition:transform .22s ease,filter .22s ease,box-shadow .22s ease
}
:root body .presentation-dialog .presentation-topic-grid .mega-tile::before{
  content:"";position:absolute;z-index:-1;inset:0;background-image:linear-gradient(180deg,rgba(3,16,38,.02) 20%,rgba(3,16,38,.82) 100%);
  background-position:center;background-size:cover;background-repeat:no-repeat;transition:transform .35s ease,filter .22s ease
}
:root body .presentation-dialog .presentation-topic-grid .mega-tile[href="index.html#azienda"]::before{background-image:linear-gradient(180deg,rgba(3,16,38,.02) 20%,rgba(3,16,38,.82) 100%),url("menu-card-chi-siamo.webp")}
:root body .presentation-dialog .presentation-topic-grid .mega-tile[href="competenze.html"]::before{background-image:linear-gradient(180deg,rgba(3,16,38,.02) 20%,rgba(3,16,38,.82) 100%),url("menu-card-servizi.webp")}
:root body .presentation-dialog .presentation-topic-grid .mega-tile[href="settori.html"]::before{background-image:linear-gradient(180deg,rgba(3,16,38,.02) 20%,rgba(3,16,38,.82) 100%),url("menu-card-settori.webp")}
:root body .presentation-dialog .presentation-topic-grid .mega-tile[href="sedi.html"]::before{background-image:linear-gradient(180deg,rgba(3,16,38,.02) 20%,rgba(3,16,38,.82) 100%),url("menu-card-sedi.webp")}
:root body .presentation-dialog .presentation-topic-grid .mega-tile[href="contatti.html"]::before{background-image:linear-gradient(180deg,rgba(3,16,38,.02) 20%,rgba(3,16,38,.82) 100%),url("menu-card-contatti.webp")}
:root body .presentation-dialog .presentation-topic-grid .mega-tile[href="contatti.html#candidatura"]::before{background-image:linear-gradient(180deg,rgba(3,16,38,.02) 20%,rgba(3,16,38,.82) 100%),url("menu-card-carriere.webp")}
:root body .presentation-dialog .presentation-topic-grid .mega-tile[href="area-sicurezza.html"]::before{background-image:linear-gradient(180deg,rgba(3,16,38,.02) 20%,rgba(3,16,38,.82) 100%),url("menu-card-sicurezza.webp")}
:root body .presentation-dialog .presentation-topic-grid .mega-icon{display:none}
:root body .presentation-dialog .presentation-topic-grid .service-menu-copy{position:relative;z-index:1;display:block;width:100%;margin-top:auto}
:root body .presentation-dialog .presentation-topic-grid .mega-tile strong{font-size:19px;line-height:1.25;color:#fff!important;-webkit-text-fill-color:#fff!important}
:root body .presentation-dialog .presentation-topic-grid .mega-tile small{margin-top:7px;color:rgba(255,255,255,.9)!important;font-size:13px;line-height:1.45;-webkit-text-fill-color:rgba(255,255,255,.9)!important}
:root body .presentation-dialog .presentation-topic-grid .mega-tile:hover,
:root body .presentation-dialog .presentation-topic-grid .mega-tile:focus-visible,
:root body .presentation-dialog .presentation-topic-grid .mega-tile:active{transform:translateY(-3px);background-color:#13294d;color:#fff;filter:brightness(1.04);box-shadow:0 12px 30px rgba(9,33,76,.22)!important;outline:0}
:root body .presentation-dialog .presentation-topic-grid .mega-tile:hover::before,
:root body .presentation-dialog .presentation-topic-grid .mega-tile:focus-visible::before{transform:scale(1.035)}
:root body .presentation-dialog .services-menu-footer{display:none}

/* Nessun riquadro rettangolare sul pulsante del menu; focus indicato con una sottolineatura */
:root body button.nav-menu-button:focus-visible{outline:0!important;box-shadow:none!important;text-decoration:underline;text-decoration-color:#1f56cc;text-decoration-thickness:2px;text-underline-offset:8px}

/* I collegamenti della pagina Contatti restano leggibili in ogni stato */
:root body .contact-card a.button,
:root body .contact-card:hover a.button,
:root body .contact-card a.button:hover,
:root body .contact-card a.button:focus-visible,
:root body .contact-card a.button:active,
:root body .contact-card:hover a.button:hover,
:root body .contact-card:hover a.button:focus-visible,
:root body .contact-card:hover a.button:active{
  display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:12px 22px;border:0!important;
  border-radius:999px;background:#fff!important;color:#174aab!important;-webkit-text-fill-color:#174aab!important;
  box-shadow:0 5px 16px rgba(7,29,70,.2)!important;opacity:1!important;filter:none!important
}
@media(max-width:900px){:root body .presentation-dialog .presentation-topic-grid{grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:minmax(170px,1fr)}}
@media(max-width:560px){
  :root body dialog.presentation-dialog{width:calc(100vw - 20px);max-height:calc(100dvh - 20px);padding:20px;border-radius:20px}
  :root body .presentation-dialog .mega-top{margin-bottom:18px}
  :root body .presentation-dialog .mega-top h2{font-size:24px}
  :root body .presentation-dialog .presentation-topic-grid{grid-template-columns:1fr;grid-auto-rows:minmax(116px,auto);gap:12px}
  :root body .presentation-dialog .presentation-topic-grid .mega-tile{min-height:116px;padding:17px}
}
@media(prefers-reduced-motion:reduce){:root body .presentation-dialog .presentation-topic-grid .mega-tile,:root body .presentation-dialog .presentation-topic-grid .mega-tile::before{transition:none!important}}

/* Menu e chiusura popup senza cornici, sfondi o ombre rettangolari */
:root body header .navwrap nav button.nav-menu-button,
:root body header .navwrap nav button.nav-menu-button:hover,
:root body header .navwrap nav button.nav-menu-button:focus,
:root body header .navwrap nav button.nav-menu-button:focus-visible,
:root body header .navwrap nav button.nav-menu-button:active{
  border:0!important;outline:0!important;box-shadow:none!important;background:transparent!important;
  -webkit-appearance:none;appearance:none
}
:root body header .navwrap nav button.nav-menu-button:hover{color:#1f56cc!important;text-decoration:underline;text-decoration-color:#1f56cc;text-decoration-thickness:2px;text-underline-offset:8px}
:root body .presentation-dialog .mega-top button.detail-close,
:root body .presentation-dialog .mega-top button.detail-close:hover,
:root body .presentation-dialog .mega-top button.detail-close:focus,
:root body .presentation-dialog .mega-top button.detail-close:focus-visible,
:root body .presentation-dialog .mega-top button.detail-close:active{
  border:0!important;outline:0!important;box-shadow:none!important;background:transparent!important;
  border-radius:50%;-webkit-appearance:none;appearance:none
}
:root body .presentation-dialog .mega-top button.detail-close:hover{color:#1f56cc!important;transform:scale(1.08)}
:root body .presentation-dialog .mega-top button.detail-close:focus-visible{color:#1f56cc!important;filter:drop-shadow(0 0 4px rgba(31,86,204,.35))}


/* Gli indirizzi delle sedi sono collegamenti diretti a Google Maps */
:root body .office-address address a{color:inherit;text-decoration:underline;text-decoration-color:rgba(31,86,204,.45);text-underline-offset:3px;text-decoration-thickness:1px;transition:color .18s ease,text-decoration-color .18s ease}
:root body .office-address address a:hover,:root body .office-address address a:focus-visible{color:#1f56cc;text-decoration-color:#1f56cc}
:root body .office-address address a:focus-visible{outline:2px solid rgba(31,86,204,.45);outline-offset:3px;border-radius:2px}

/* CTA Contatti: resta bianca e ben leggibile anche quando la scheda è in hover */
:root body .contact-cards .contact-card a.button,
:root body .contact-cards .contact-card:hover a.button,
:root body .contact-cards .contact-card a.button:hover,
:root body .contact-cards .contact-card:hover a.button:hover,
:root body .contact-cards .contact-card a.button:focus-visible,
:root body .contact-cards .contact-card a.button:active{
  background-color:#fff!important;color:#174aab!important;-webkit-text-fill-color:#174aab!important;
  border:1px solid rgba(23,74,171,.22)!important;opacity:1!important;filter:none!important;
  box-shadow:0 5px 16px rgba(7,29,70,.2)!important
}
@media(hover:hover) and (pointer:fine){
  :root body .contact-cards .contact-card a.button:hover,
  :root body .contact-cards .contact-card:hover a.button:hover{
    background-color:#fff!important;color:#174aab!important;-webkit-text-fill-color:#174aab!important;
    border-color:#1f56cc!important;box-shadow:0 0 0 2px rgba(31,86,204,.15),0 8px 22px rgba(7,29,70,.24)!important;
    transform:translateY(-1px)
  }
}

/* Override definitivo dell'hover blu generico: il CTA resta bianco anche nella card blu */
html body main.page-main section#contatti .contact-cards article.contact-card:is(:hover,:focus-within) > a.button,
html body main.page-main section#contatti .contact-cards article.contact-card > a.button:is(:hover,:focus-visible,:active){
  background:#fff!important;background-color:#fff!important;color:#174aab!important;
  -webkit-text-fill-color:#174aab!important;opacity:1!important;visibility:visible!important;filter:none!important;
  border:1px solid #d5e2fb!important;box-shadow:0 5px 18px rgba(5,24,62,.28),inset 0 0 0 1px rgba(255,255,255,.95)!important;
  transform:translateY(-1px)
}

/* Tutte le chiusure a X: nessun bordo, riquadro o alone in hover e focus */
html body button.detail-close,
html body button.detail-close:hover,
html body button.detail-close:focus,
html body button.detail-close:focus-visible,
html body button.detail-close:active,
html body button[aria-label*="Chiudi"],
html body button[aria-label*="Chiudi"]:hover,
html body button[aria-label*="Chiudi"]:focus,
html body button[aria-label*="Chiudi"]:focus-visible,
html body button[aria-label*="Chiudi"]:active,
html body button[data-close-image],
html body button[data-close-image]:hover,
html body button[data-close-image]:focus,
html body button[data-close-image]:focus-visible,
html body button[data-close-image]:active{
  border:0!important;outline:0!important;box-shadow:none!important;background:transparent!important;
  -webkit-appearance:none;appearance:none
}
html body button.detail-close:hover,
html body button[aria-label*="Chiudi"]:hover,
html body button[data-close-image]:hover{color:#1f56cc!important}

/* Il bordo blu della foto sede era l'indicatore di focus sul pulsante che la contiene */
html body dialog.office-modal button.city-explorer,
html body dialog.office-modal button.city-explorer:hover,
html body dialog.office-modal button.city-explorer:focus,
html body dialog.office-modal button.city-explorer:focus-visible,
html body dialog.office-modal button.city-explorer:active,
html body dialog.office-modal button.city-explorer .city-photo{
  border:0!important;outline:0!important;box-shadow:none!important
}

/* Vince le regole hover/focus globali: nessuna cornice sulle X, incluse le chiusure candidatura */
:root html body button[class*="close"],
:root html body button[class*="close"]:hover:not(:disabled),
:root html body button[class*="close"]:focus,
:root html body button[class*="close"]:focus-visible,
:root html body button[class*="close"]:active,
:root html body button[data-close]:hover:not(:disabled),
:root html body button[data-close]:focus-visible,
:root html body button[data-close-image]:hover:not(:disabled),
:root html body button[data-close-image]:focus-visible{
  border:0!important;border-color:transparent!important;outline:0!important;outline-offset:0!important;
  box-shadow:none!important;background:transparent!important;filter:none!important
}

/* Selettore lingua nel menu, sul modello del menu lingua TCS */
.language-switch{position:relative;flex:0 0 auto;font-size:14px;line-height:1.2}
.language-trigger{display:inline-flex;align-items:center;gap:8px;padding:9px 4px;border:0;background:transparent;color:inherit;font:inherit;font-weight:600;cursor:pointer;white-space:nowrap}
.language-trigger svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7}
.language-options{position:absolute;z-index:30;top:calc(100% + 10px);right:0;min-width:145px;padding:7px;border:1px solid #dce4f1;border-radius:13px;background:#fff;color:#173d85;box-shadow:0 12px 30px rgba(10,32,72,.16)}
.language-options[hidden]{display:none!important}
.language-options button{display:block;width:100%;padding:10px 12px;border:0;border-radius:8px;background:#fff;color:#173d85;text-align:left;font:inherit;font-size:14px;cursor:pointer}
.language-options button:hover,.language-options button:focus-visible{background:#edf3fc;color:#1f56cc;outline:0;box-shadow:none}
.language-options button[aria-pressed="true"]{font-weight:700;color:#1f56cc}
@media(hover:hover) and (pointer:fine){
  :root body header nav .language-trigger:hover,:root body header nav .language-trigger:focus-visible{background:transparent!important;color:#1f56cc!important;border:0!important;outline:0!important;box-shadow:none!important}
  :root body header nav .language-options button:hover{background:#edf3fc!important;color:#1f56cc!important;box-shadow:none!important}
}
@media(max-width:760px){header nav .language-switch{margin-left:auto}.language-options{right:0}}

/* Il testo della barra inferiore si ingrandisce al passaggio del cursore */
.footer-last span{display:inline-block;transform-origin:left center;transition:font-size .18s ease,transform .18s ease,color .18s ease}
@media(hover:hover) and (pointer:fine){.footer-last span:hover{font-size:14px;transform:scale(1.06);color:#fff}}
@media(prefers-reduced-motion:reduce){.footer-last span{transition:none}}

/* Il cambio lingua usa lo stesso trattamento delle voci della navigazione */
:root body>header nav .language-switch{display:flex;align-items:center;flex:0 0 auto;margin-left:0}
:root body>header nav .language-trigger,
:root body>header nav .language-trigger:hover,
:root body>header nav .language-trigger:focus,
:root body>header nav .language-trigger:focus-visible,
:root body>header nav .language-trigger:active{
  position:relative;display:inline-flex;align-items:center;gap:6px;
  padding:0 0 7px!important;border:0!important;border-radius:0!important;
  background:transparent!important;color:inherit;font:inherit;font-size:14px;font-weight:600;
  line-height:1.2;text-decoration:none;outline:0!important;box-shadow:none!important;
  -webkit-appearance:none;appearance:none
}
:root body>header nav .language-trigger::after{
  content:"";position:absolute;left:0;right:0;bottom:0;height:2px;background:currentColor;
  transform:scaleX(0);transform-origin:left;transition:transform .2s ease
}
:root body>header nav .language-trigger:hover::after,
:root body>header nav .language-trigger:focus-visible::after,
:root body>header nav .language-trigger[aria-expanded="true"]::after{transform:scaleX(1)}
:root body>header nav .language-trigger svg{width:16px;height:16px;flex:0 0 16px}
@media(hover:hover) and (pointer:fine){
  :root body.immersive-header:not(.header-scrolled)>header nav .language-trigger:hover,
  :root body.immersive-header:not(.header-scrolled)>header nav .language-trigger:focus-visible{color:#b8d2ff!important;filter:none!important}
  :root body.header-scrolled>header nav .language-trigger:hover,
  :root body.header-scrolled>header nav .language-trigger:focus-visible{color:#2157c2!important}
}
@media(max-width:760px){
  :root body>header nav .language-switch{margin-left:0}
  :root body>header nav .language-trigger{font-size:12px}
  :root body>header nav .language-trigger svg{width:15px;height:15px;flex-basis:15px}
  :root body>header nav .language-options{right:0;top:calc(100% + 6px)}
}
@media(prefers-reduced-motion:reduce){:root body>header nav .language-trigger::after{transition:none}}

/* Il menu lingua si apre al clic, senza freccia né alone sul selettore */
:root body>header nav .language-trigger:hover,:root body>header nav .language-trigger:focus,:root body>header nav .language-trigger:focus-visible,:root body>header nav .language-trigger:active{filter:none!important;box-shadow:none!important;outline:0!important}
:root body>header nav .language-trigger::after{filter:none!important;box-shadow:none!important}

/* Correzione controllo lingua: evita l'aspetto del pulsante nativo e mantiene l'icona SVG leggera */
:root body.immersive-header>header .navwrap>nav>div.language-switch>button.language-trigger,
:root body.immersive-header>header .navwrap>nav>div.language-switch>button.language-trigger:hover,
:root body.immersive-header>header .navwrap>nav>div.language-switch>button.language-trigger:focus,
:root body.immersive-header>header .navwrap>nav>div.language-switch>button.language-trigger:focus-visible,
:root body.immersive-header>header .navwrap>nav>div.language-switch>button.language-trigger:active{
  display:inline-flex!important;width:auto!important;height:auto!important;min-width:0!important;min-height:0!important;
  padding:0 0 7px!important;margin:0!important;border:0!important;border-radius:0!important;
  background:transparent!important;box-shadow:none!important;outline:0!important;filter:none!important;
  -webkit-appearance:none!important;appearance:none!important
}
:root body.immersive-header>header .navwrap>nav>div.language-switch>button.language-trigger>svg{
  display:block!important;width:16px!important;height:16px!important;min-width:16px!important;min-height:16px!important;
  fill:none!important;stroke:currentColor!important;stroke-width:1.7!important;overflow:visible
}
:root body.immersive-header>header .navwrap>nav>div.language-switch>button.language-trigger::after{box-shadow:none!important;filter:none!important}

/* Aspetto neutro per il selettore lingua, in navigazione e nella pagina privacy */
:root body .language-switch .language-trigger,
:root body .language-switch .language-trigger:hover,
:root body .language-switch .language-trigger:focus,
:root body .language-switch .language-trigger:focus-visible,
:root body .language-switch .language-trigger:active,
:root body .language-switch .language-trigger[aria-expanded="true"]{
  background:transparent!important;background-color:transparent!important;
  border:0!important;border-color:transparent!important;border-radius:0!important;
  outline:0!important;outline-offset:0!important;box-shadow:none!important;filter:none!important;
  text-decoration:none!important;-webkit-appearance:none!important;appearance:none!important;
  -webkit-tap-highlight-color:transparent
}
:root body .language-switch .language-trigger::after,
:root body .language-switch .language-trigger:hover::after,
:root body .language-switch .language-trigger:focus-visible::after,
:root body .language-switch .language-trigger[aria-expanded="true"]::after{content:none!important;display:none!important}
:root body .language-switch .language-trigger>svg{fill:none!important;stroke:currentColor!important}

/* CTA della prima pagina: testo allineato al margine del titolo e del paragrafo */
:root body.pagina-index .hero-content>a.button{
  display:inline-flex!important;align-self:flex-start!important;justify-content:flex-start!important;
  margin-left:0!important;padding:12px 0!important;min-height:0!important;
  border:0!important;border-radius:0!important;background:transparent!important;
  color:#fff!important;box-shadow:none!important;text-align:left!important
}
@media(hover:hover) and (pointer:fine){
  :root body.pagina-index .hero-content>a.button:hover{
    background:transparent!important;color:#dbe8ff!important;border:0!important;
    box-shadow:none!important;transform:none!important
  }
}
:root body.pagina-index .hero-content>a.button:focus-visible{outline:2px solid #fff!important;outline-offset:5px}

/* Dissolvenza ripetibile dei testi introduttivi allo scorrimento */
.scroll-fade-text{opacity:1;transition:opacity .52s cubic-bezier(.22,.61,.36,1)!important;will-change:opacity}
.scroll-fade-text.fade-out{opacity:0!important}
@media(prefers-reduced-motion:reduce){.scroll-fade-text,.scroll-fade-text.fade-out{opacity:1!important;transition:none!important;will-change:auto}}

/* Allinea l'inizio del testo delle CTA al testo della sezione */
:root body main a.button,
:root body dialog a.button{margin-left:-24px!important}
:root body main .contact-card a.button,
:root body dialog .contact-card a.button{margin-left:-22px!important}
:root body main .macro-card>a.area-link.button,
:root body dialog .macro-card>a.area-link.button{margin-left:-20px!important}
:root body.pagina-index .hero-content>a.button{margin-left:0!important}

/* Il selettore lingua segue l'hover del menu: solo testo, senza alone o riempimento */
:root body.immersive-header>header .navwrap>nav>div.language-switch>button.language-trigger:is(:hover,:focus,:focus-visible,:active,[aria-expanded="true"]){
  background:transparent!important;background-color:transparent!important;color:#b8d2ff!important;
  border:0!important;border-color:transparent!important;outline:0!important;box-shadow:none!important;filter:none!important;
}
:root body.header-scrolled>header .navwrap>nav>div.language-switch>button.language-trigger:is(:hover,:focus,:focus-visible,:active,[aria-expanded="true"]){color:#2157c2!important}
:root body .language-switch .language-options>button:is(:hover,:focus,:focus-visible,:active){
  background:#edf3fc!important;background-color:#edf3fc!important;color:#173d85!important;
  border:0!important;outline:0!important;box-shadow:none!important;filter:none!important;
}

/* CTA: in hover si mette in risalto solo la scritta, senza cornice, riempimento o alone */
:root body :is(main,dialog) :is(a.button,button.button):is(:hover,:focus,:focus-visible,:active){
  background:transparent!important;background-color:transparent!important;background-image:none!important;
  border-color:transparent!important;color:#1f56cc!important;-webkit-text-fill-color:#1f56cc!important;
  box-shadow:none!important;outline:0!important;filter:none!important;transform:none!important;
}
:root body :is(main,dialog) :is(a.button,button.button):is(:hover,:focus-visible) .plus,
:root body :is(main,dialog) :is(a.button,button.button):is(:hover,:focus-visible) :is(span,small,strong){
  color:inherit!important;-webkit-text-fill-color:currentColor!important;
}
:root body :is(main,dialog) :is(a.button,button.button):focus-visible{text-decoration:underline!important;text-underline-offset:4px}
:root body.immersive-header :is(main,dialog) :is(a.button,button.button):is(:hover,:focus,:focus-visible,:active){
  color:#b8d2ff!important;-webkit-text-fill-color:#b8d2ff!important;
}
:root body.header-scrolled :is(main,dialog) :is(a.button,button.button):is(:hover,:focus,:focus-visible,:active){
  color:#1f56cc!important;-webkit-text-fill-color:#1f56cc!important;
}
:root body .contact-card:hover :is(a.button,button.button):is(:hover,:focus,:focus-visible,:active){
  background:transparent!important;background-color:transparent!important;border-color:transparent!important;
  color:#fff!important;-webkit-text-fill-color:#fff!important;box-shadow:none!important
}
html body main.page-main section#contatti .contact-cards article.contact-card:is(:hover,:focus-within)>a.button:is(:hover,:focus,:focus-visible,:active){
  background:transparent!important;background-color:transparent!important;border-color:transparent!important;
  color:#fff!important;-webkit-text-fill-color:#fff!important;box-shadow:none!important;outline:0!important;filter:none!important
}

/* Override finale: prevale sulle regole hover specifiche di hero, sedi e CTA */
:root body main.page-main a.button.button.button:is(:hover,:focus,:focus-visible,:active),
:root body main.page-main button.button.button.button:is(:hover,:focus,:focus-visible,:active),
:root body dialog a.button.button.button:is(:hover,:focus,:focus-visible,:active),
:root body dialog button.button.button.button:is(:hover,:focus,:focus-visible,:active){
  background:transparent!important;background-color:transparent!important;background-image:none!important;
  border-color:transparent!important;color:#1f56cc!important;-webkit-text-fill-color:#1f56cc!important;
  box-shadow:none!important;outline:0!important;filter:none!important;transform:none!important
}
:root body.pagina-index main.page-main .hero-content>a.button.button.button:is(:hover,:focus,:focus-visible,:active),
:root body.immersive-header main.page-main .hero-content>a.button.button.button:is(:hover,:focus,:focus-visible,:active){
  color:#dbe8ff!important;-webkit-text-fill-color:#dbe8ff!important
}
:root body .contact-card:hover>a.button.button.button:is(:hover,:focus,:focus-visible,:active),
:root body .macro-card:hover>a.area-link.button.button.button:is(:hover,:focus,:focus-visible,:active){
  color:#fff!important;-webkit-text-fill-color:#fff!important
}
html body main.page-main section#contatti .contact-cards article.contact-card:is(:hover,:focus-within)>a.button.button.button:is(:hover,:focus,:focus-visible,:active){
  background:transparent!important;background-color:transparent!important;border-color:transparent!important;
  color:#fff!important;-webkit-text-fill-color:#fff!important;box-shadow:none!important;outline:0!important;filter:none!important
}

/* Stesso hover testuale del tasto Menu Dacomat, per ogni CTA del sito */
:root body main.page-main a.button.button.button.button:is(:hover,:focus,:focus-visible,:active),
:root body main.page-main button.button.button.button.button:is(:hover,:focus,:focus-visible,:active),
:root body dialog a.button.button.button.button:is(:hover,:focus,:focus-visible,:active),
:root body dialog button.button.button.button.button:is(:hover,:focus,:focus-visible,:active){
  background:transparent!important;background-color:transparent!important;background-image:none!important;
  border-color:transparent!important;box-shadow:none!important;outline:0!important;filter:none!important;transform:none!important;
  color:#1f56cc!important;-webkit-text-fill-color:#1f56cc!important;text-decoration:none!important
}
:root body.immersive-header main.page-main .hero a.button.button.button.button:is(:hover,:focus,:focus-visible,:active),
:root body.immersive-header main.page-main .hero button.button.button.button.button:is(:hover,:focus,:focus-visible,:active){
  color:#b8d2ff!important;-webkit-text-fill-color:#b8d2ff!important
}
:root body .contact-card:hover>a.button.button.button.button:is(:hover,:focus,:focus-visible,:active),
:root body .macro-card:hover>a.area-link.button.button.button.button:is(:hover,:focus,:focus-visible,:active){
  color:#fff!important;-webkit-text-fill-color:#fff!important
}
html body main.page-main section#contatti .contact-cards article.contact-card:is(:hover,:focus-within)>a.button.button.button.button:is(:hover,:focus,:focus-visible,:active){
  background:transparent!important;background-color:transparent!important;border-color:transparent!important;
  box-shadow:none!important;outline:0!important;filter:none!important;color:#fff!important;-webkit-text-fill-color:#fff!important
}
:root body.immersive-header>header .navwrap>nav>div.language-switch>button.language-trigger:is(:hover,:focus,:focus-visible,:active,[aria-expanded="true"]),
:root body>header .navwrap>nav>div.language-switch>button.language-trigger:is(:hover,:focus,:focus-visible,:active,[aria-expanded="true"]){
  background:transparent!important;background-color:transparent!important;border-color:transparent!important;
  box-shadow:none!important;outline:0!important;filter:none!important
}
:root body .language-switch .language-options>button.button,
:root body .language-switch .language-options>button:is(:hover,:focus,:focus-visible,:active){
  background:transparent!important;background-color:transparent!important;border-color:transparent!important;
  box-shadow:none!important;outline:0!important;filter:none!important;color:#1f56cc!important
}

/* CTA sotto le schede della pagina Chi siamo: testo sempre visibile e allineato */
html body main.page-main section#azienda>a.button,
html body main.page-main section#azienda>a.button:hover,
html body main.page-main section#azienda>a.button:focus,
html body main.page-main section#azienda>a.button:focus-visible,
html body main.page-main section#azienda>a.button:active{
  display:inline-flex!important;align-items:center;justify-content:flex-start!important;
  margin-left:0!important;padding:12px 0!important;min-height:0!important;
  background:transparent!important;background-color:transparent!important;border:0!important;border-color:transparent!important;
  color:#1f56cc!important;-webkit-text-fill-color:#1f56cc!important;
  font-size:16px!important;font-weight:600!important;line-height:1.4!important;
  opacity:1!important;visibility:visible!important;box-shadow:none!important;outline:0!important;filter:none!important;
  text-align:left!important;text-decoration:none!important
}
:root body .macro-card:hover>a.area-link.button:is(:hover,:focus,:focus-visible,:active){
  background:transparent!important;background-color:transparent!important;border-color:transparent!important;
  color:#fff!important;-webkit-text-fill-color:#fff!important;box-shadow:none!important
}

/* Il selettore lingua resta neutro: al passaggio compare solo una linea */
:root body>header .navwrap>nav>div.language-switch>button.language-trigger,
:root body>header .navwrap>nav>div.language-switch>button.language-trigger:hover,
:root body>header .navwrap>nav>div.language-switch>button.language-trigger:focus,
:root body>header .navwrap>nav>div.language-switch>button.language-trigger:focus-visible,
:root body>header .navwrap>nav>div.language-switch>button.language-trigger:active,
:root body>header .navwrap>nav>div.language-switch>button.language-trigger[aria-expanded="true"]{
  position:relative!important;background:transparent!important;background-color:transparent!important;
  background-image:none!important;border:0!important;border-color:transparent!important;border-radius:0!important;
  box-shadow:none!important;outline:0!important;filter:none!important;text-decoration:none!important
}
:root body>header .navwrap>nav>div.language-switch>button.language-trigger::after{
  content:""!important;display:block!important;position:absolute!important;left:0!important;right:0!important;bottom:0!important;
  height:1px!important;background:currentColor!important;box-shadow:none!important;filter:none!important;
  transform:scaleX(0)!important;transform-origin:left center!important;transition:transform .18s ease!important
}
:root body>header .navwrap>nav>div.language-switch>button.language-trigger:hover::after,
:root body>header .navwrap>nav>div.language-switch>button.language-trigger:focus-visible::after{transform:scaleX(1)!important}

/* Le CTA Contatti mantiene contrasto e forma anche quando la scheda va in hover */
html body main.page-main section#contatti .contact-cards article.contact-card>a.button,
html body main.page-main section#contatti .contact-cards article.contact-card>a.button:hover,
html body main.page-main section#contatti .contact-cards article.contact-card>a.button:focus,
html body main.page-main section#contatti .contact-cards article.contact-card>a.button:focus-visible,
html body main.page-main section#contatti .contact-cards article.contact-card>a.button:active,
html body main.page-main section#contatti .contact-cards article.contact-card:hover>a.button,
html body main.page-main section#contatti .contact-cards article.contact-card:focus-within>a.button{
  background:#fff!important;background-color:#fff!important;background-image:none!important;
  color:#174aab!important;-webkit-text-fill-color:#174aab!important;
  border:1px solid #d5e2fb!important;border-radius:999px!important;
  box-shadow:none!important;outline:0!important;filter:none!important;opacity:1!important;visibility:visible!important;
  transform:none!important;text-decoration:none!important
}
html body main.page-main section#contatti .contact-cards article.contact-card>a.button:is(:hover,:focus,:focus-visible,:active),
html body main.page-main section#contatti .contact-cards article.contact-card:is(:hover,:focus-within)>a.button{
  background:#fff!important;background-color:#fff!important;color:#123c89!important;-webkit-text-fill-color:#123c89!important;
  border-color:#d5e2fb!important;box-shadow:none!important
}

/* CTA nei popup delle sedi: fondo chiaro e testo blu leggibile, in ogni stato */
html body dialog.office-modal .office-copy .office-actions>a.button,
html body dialog.office-modal .office-copy>a.button,
html body dialog.office-modal .office-copy .office-actions>a.button:hover,
html body dialog.office-modal .office-copy>a.button:hover,
html body dialog.office-modal .office-copy .office-actions>a.button:focus,
html body dialog.office-modal .office-copy>a.button:focus,
html body dialog.office-modal .office-copy .office-actions>a.button:focus-visible,
html body dialog.office-modal .office-copy>a.button:focus-visible,
html body dialog.office-modal .office-copy .office-actions>a.button:active,
html body dialog.office-modal .office-copy>a.button:active{
  display:inline-flex!important;align-items:center;justify-content:center;
  min-height:48px!important;padding:12px 22px!important;
  background:#fff!important;background-color:#fff!important;background-image:none!important;
  color:#174aab!important;-webkit-text-fill-color:#174aab!important;
  border:1px solid #d5e2fb!important;border-radius:999px!important;
  box-shadow:none!important;outline:0!important;filter:none!important;opacity:1!important;visibility:visible!important;
  transform:none!important;text-decoration:none!important
}

/* Regola unica per tutti i controlli testuali cliccabili: nessun alone o riquadro */
html:root body :is(a,button,[role="button"],summary):not(.office-card):not(.city-explorer):not(.mega-tile):not(.contact-office):not(.sector):not(.detail-trigger):not(.brand):is(:hover,:focus,:focus-visible,:active){
  background:transparent!important;background-color:transparent!important;background-image:none!important;
  border:0!important;border-color:transparent!important;border-radius:inherit!important;
  box-shadow:none!important;outline:0!important;outline-offset:0!important;filter:none!important;
  transform:none!important;opacity:1!important;color:inherit!important;-webkit-text-fill-color:currentColor!important;
  text-shadow:none!important;text-decoration:none!important;-webkit-tap-highlight-color:transparent!important
}
html:root body :is(a,button,[role="button"],summary):not(.office-card):not(.city-explorer):not(.mega-tile):not(.contact-office):not(.sector):not(.detail-trigger):not(.brand):focus-visible{
  text-decoration:underline!important;text-decoration-color:currentColor!important;text-decoration-thickness:1px!important;text-underline-offset:4px!important
}
/* Le CTA dentro i riquadri mantengono la leggibilità del testo anche sul card hover */
html:root body main.page-main section#contatti .contact-cards article.contact-card>a.button:is(:hover,:focus,:focus-visible,:active),
html:root body main.page-main .macro-card>a.area-link.button:is(:hover,:focus,:focus-visible,:active),
html:root body dialog.office-modal .office-copy a.button:is(:hover,:focus,:focus-visible,:active){
  background:transparent!important;background-color:transparent!important;background-image:none!important;
  border:0!important;border-color:transparent!important;box-shadow:none!important;outline:0!important;filter:none!important;
  transform:none!important;color:inherit!important;-webkit-text-fill-color:currentColor!important;text-shadow:none!important
}
/* Elimina contorni e aloni anche dagli elementi cliccabili che contengono immagini o card */
html:root body :is(a,button,[role="button"],summary):is(:hover,:focus,:focus-visible,:active){
  border-color:transparent!important;outline:0!important;outline-offset:0!important;
  box-shadow:none!important;filter:none!important;text-shadow:none!important;-webkit-tap-highlight-color:transparent!important
}
/* Centra otticamente le etichette dei pulsanti nella griglia Contatti */
html:root body main.page-main section#contatti .contact-cards article.contact-card>a.button{
  text-indent:2px!important;border:0!important;border-color:transparent!important
}
/* CTA Contatti in stile testuale, senza pillola, bordo o alone */
html:root body main.page-main section#contatti .contact-cards article.contact-card>a.button,
html:root body main.page-main section#contatti .contact-cards article.contact-card>a.button:is(:hover,:focus,:focus-visible,:active),
html:root body main.page-main section#contatti .contact-cards article.contact-card:is(:hover,:focus-within)>a.button,
html:root body main.page-main section#contatti .contact-cards article.contact-card:is(:hover,:focus-within)>a.button:is(:hover,:focus,:focus-visible,:active){
  background:transparent!important;background-color:transparent!important;background-image:none!important;
  border:0!important;border-color:transparent!important;border-radius:0!important;box-shadow:none!important;
  outline:0!important;filter:none!important;transform:none!important;
  color:inherit!important;-webkit-text-fill-color:currentColor!important;text-shadow:none!important
}
/* Nei popup delle sedi, anche “Entra in contatto con noi” resta solo testo */
html:root body dialog.office-modal .office-copy .office-actions>a.button,
html:root body dialog.office-modal .office-copy .office-actions>a.button:is(:hover,:focus,:focus-visible,:active){
  display:inline-flex!important;align-items:center;justify-content:flex-start!important;
  min-height:0!important;margin:12px 0 0!important;padding:8px 0!important;
  background:transparent!important;background-color:transparent!important;background-image:none!important;
  border:0!important;border-color:transparent!important;border-radius:0!important;
  box-shadow:none!important;outline:0!important;filter:none!important;transform:none!important;
  color:#1f56cc!important;-webkit-text-fill-color:#1f56cc!important;text-shadow:none!important;
  text-align:left!important;text-decoration:none!important
}
html:root body dialog.office-modal .office-copy .office-actions>a.button:focus-visible{text-decoration:underline!important;text-underline-offset:4px!important}

/* La pagina privacy non ha la barra di navigazione: il selettore lingua resta ancorato in alto a destra e non sposta la copertina. */
html body.privacy-page .standalone-language-switch{
  position:fixed!important;inset:18px 26px auto auto!important;z-index:1000!important;
  display:block!important;width:max-content!important;margin:0!important;flex:none!important
}
html body.privacy-page .standalone-language-switch .language-trigger{
  color:#173d85!important;-webkit-text-fill-color:#173d85!important;padding:8px 0!important;line-height:1.2!important
}
html body.privacy-page.immersive-header:not(.header-scrolled) .standalone-language-switch .language-trigger{
  color:#fff!important;-webkit-text-fill-color:#fff!important;text-shadow:0 1px 8px rgba(0,0,0,.68)!important
}
html body.privacy-page .standalone-language-switch .language-options{right:0!important;left:auto!important;top:calc(100% + 6px)!important}
@media(max-width:640px){html body.privacy-page .standalone-language-switch{inset:12px 16px auto auto!important}}

/* Dopo un clic, i controlli riprendono il colore normale invece di mantenere quello di hover/focus. */
html:root body :is(a,button,summary,[role="button"]):focus{
  outline:0!important;outline-offset:0!important;box-shadow:none!important;filter:none!important;
  text-decoration:none!important;-webkit-tap-highlight-color:transparent!important
}
html:root body :is(a.button,button.button):focus{
  background:transparent!important;background-color:transparent!important;background-image:none!important;
  color:#1f56cc!important;-webkit-text-fill-color:#1f56cc!important;
  border-color:#1f56cc!important;box-shadow:none!important;outline:0!important;transform:none!important
}
html:root body .hero :is(a.button,button.button):focus,
html:root body .page-hero-copy :is(a.button,button.button):focus,
html:root body .site-footer :is(a.button,button.button):focus{
  color:#fff!important;-webkit-text-fill-color:#fff!important;border-color:rgba(255,255,255,.78)!important
}
html:root body main.page-main section#contatti .contact-cards article.contact-card>a.button:focus{
  background:transparent!important;background-color:transparent!important;background-image:none!important;
  color:#1f56cc!important;-webkit-text-fill-color:#1f56cc!important;
  border:0!important;border-color:transparent!important;box-shadow:none!important;outline:0!important
}
html:root body dialog.office-modal .office-copy .office-actions>a.button:focus{
  background:transparent!important;background-color:transparent!important;color:#1f56cc!important;
  -webkit-text-fill-color:#1f56cc!important;border:0!important;box-shadow:none!important;outline:0!important
}
html:root body .language-switch .language-trigger:focus{
  background:transparent!important;color:inherit!important;box-shadow:none!important;outline:0!important
}
/* La CTA della sezione Chi siamo resta leggibile anche mentre il puntatore è sopra il link. */
html:root body main.page-main section#azienda>a.button,
html:root body main.page-main section#azienda>a.button:is(:hover,:focus,:focus-visible,:active){
  opacity:1!important;visibility:visible!important;color:#1f56cc!important;
  -webkit-text-fill-color:#1f56cc!important;background:transparent!important;background-color:transparent!important;
  border:0!important;border-color:transparent!important;box-shadow:none!important;outline:0!important;
  filter:none!important;transform:none!important;text-shadow:none!important
}
/* Il selettore lingua non perde contrasto durante l'hover, anche quando è sopra un'immagine scura. */
html:root body.immersive-header:not(.header-scrolled)>header nav .language-trigger:is(:hover,:focus,:focus-visible,:active),
html:root body.privacy-page.immersive-header:not(.header-scrolled) .standalone-language-switch .language-trigger:is(:hover,:focus,:focus-visible,:active){
  opacity:1!important;visibility:visible!important;color:#fff!important;-webkit-text-fill-color:#fff!important;
  text-shadow:0 1px 8px rgba(0,0,0,.68)!important
}
html:root body.header-scrolled>header nav .language-trigger:is(:hover,:focus,:focus-visible,:active),
html:root body.privacy-page.header-scrolled .standalone-language-switch .language-trigger:is(:hover,:focus,:focus-visible,:active){
  opacity:1!important;visibility:visible!important;color:#173d85!important;-webkit-text-fill-color:#173d85!important;
  text-shadow:none!important
}
/* I pannelli Competenza, Persone e Innovazione restano chiari e leggibili in hover/focus. */
html:root body main.page-main section#azienda .values>a.value-link:is(:hover,:focus,:focus-visible,:active){
  display:block!important;opacity:1!important;visibility:visible!important;
  background:#f7f9fd!important;background-color:#f7f9fd!important;background-image:none!important;
  color:#13294d!important;-webkit-text-fill-color:#13294d!important;
  border:1px solid #dce4f1!important;border-color:#dce4f1!important;border-radius:22px!important;
  box-shadow:none!important;outline:0!important;filter:none!important;
  transform:none!important;text-decoration:none!important
}
html:root body main.page-main section#azienda .values>a.value-link:is(:hover,:focus,:focus-visible,:active) :is(h3,p){
  color:#13294d!important;-webkit-text-fill-color:#13294d!important;opacity:1!important;visibility:visible!important
}

/* Header mobile compatto: il menu raccoglie i collegamenti secondari, evitando righe strette */
@media(max-width:640px){
  html:root body.immersive-header>header .navwrap{
    width:100%;min-height:72px;padding:10px 16px;gap:10px;flex-wrap:nowrap
  }
  html:root body.immersive-header>header .navwrap>.brand{flex:0 1 auto;min-width:0}
  html:root body.immersive-header>header .navwrap>.brand img{
    width:clamp(96px,30vw,126px);max-width:100%;height:auto
  }
  html:root body.immersive-header>header .navwrap>nav{
    width:auto;min-width:0;flex:1 1 auto;flex-wrap:nowrap;justify-content:flex-end;gap:clamp(10px,3vw,18px)
  }
  html:root body.immersive-header>header .navwrap>nav>a{display:none!important}
  html:root body.immersive-header>header .navwrap>nav>.nav-menu-button{
    display:inline-flex;align-items:center;flex:0 0 auto;min-height:42px;padding:6px 0 9px!important;
    font-size:clamp(11px,3.2vw,13px);white-space:nowrap
  }
  html:root body.immersive-header>header .navwrap>nav>.language-switch{flex:0 0 auto;margin:0!important}
  html:root body.immersive-header>header .navwrap>nav>.language-switch>.language-trigger{
    min-height:42px;gap:5px;padding:6px 0 9px!important;font-size:clamp(11px,3.1vw,13px);white-space:nowrap
  }
  html:root body.immersive-header>header .navwrap>nav>.language-switch>.language-trigger svg{width:15px;height:15px;flex-basis:15px}
  html:root body.immersive-header .page-backdrop{min-height:560px;scroll-margin-top:72px}
  html:root body.immersive-header .page-hero-copy{left:20px;right:20px;bottom:clamp(68px,9vh,100px)}
  html:root body.immersive-header .page-hero-copy .page-title{font-size:clamp(32px,8.8vw,42px);line-height:1.1;margin:12px 0}
  html:root body.immersive-header .page-hero-copy p{font-size:15px;line-height:1.5}
  html:root body .wrap,html:root body .story,html:root body .area-editorial .area-content{padding-left:20px;padding-right:20px}
  html:root body .wrap{scroll-margin-top:84px}
  html:root body .page-main h2{font-size:clamp(23px,6vw,27px)}
  html:root body :is(.contact-card,.macro-card,.sector-body,.career-box){overflow-wrap:anywhere}
  html:root body .contact-card>a:not(.button){font-size:clamp(16px,4.7vw,20px)}
  html:root body .site-footer{padding-left:20px;padding-right:20px}
}
@media(max-width:360px){
  html:root body.immersive-header>header .navwrap{padding-left:12px;padding-right:12px;gap:8px}
  html:root body.immersive-header>header .navwrap>.brand img{width:clamp(88px,28vw,102px)}
  html:root body.immersive-header>header .navwrap>nav{gap:9px}
  html:root body.immersive-header>header .navwrap>nav>.nav-menu-button,
  html:root body.immersive-header>header .navwrap>nav>.language-switch>.language-trigger{font-size:11px}
}
