:root{--dg-navy:#0B1851;--dg-blu:#2C3E68;--dg-ardesia:#5E7393;--dg-nebbia:#9FA7BA;--dg-ghiaccio:#EEF1F7;--dg-testo:#1c2440;--dg-r:22px}
body,body p,body li{font-family:'Inter Tight',system-ui,sans-serif;color:var(--dg-testo);font-size:17px;line-height:1.65}
h1,h2,h3,h4{font-family:'Inter Tight',system-ui,sans-serif!important;color:var(--dg-navy);letter-spacing:-.02em;line-height:1.08!important;padding-bottom:.35em}
h2{font-size:clamp(30px,3.4vw,46px)!important;font-weight:500!important}
h3{font-size:21px!important;font-weight:600!important}
a{color:var(--dg-blu)}
#page-container{overflow-x:clip}
.et_pb_section{padding:0}
.et_pb_row{width:92%;max-width:1280px;padding:0}
.et_pb_column{margin-bottom:0!important}

/* header flottante a pillola */
.et_pb_section.dg-header{position:fixed;top:14px;left:0;right:0;z-index:999;background:transparent!important;padding:0}
.admin-bar .et_pb_section.dg-header{top:46px}
.dg-header-row.et_pb_row{display:flex;align-items:center;gap:20px;max-width:1280px;width:94%;background:rgba(255,255,255,.62);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);border:1px solid rgba(255,255,255,.75);border-radius:999px;padding:6px 8px 6px 22px;box-shadow:0 8px 30px rgba(11,24,81,.10)}
.dg-header-row .et_pb_column{width:auto!important;margin:0!important;flex:0 0 auto}
.dg-header-row .et_pb_column:nth-child(2){flex:1 1 auto}
.dg-logo{display:flex;align-items:center;gap:10px;text-decoration:none!important}
.dg-logo img{height:54px;width:auto;display:block}
.dg-logo span{font-weight:700;color:var(--dg-navy);font-size:15px;line-height:1.1;letter-spacing:-.01em}
.dg-logo small{display:block;font-weight:500;color:var(--dg-ardesia);font-size:11px;letter-spacing:.08em;text-transform:uppercase}
.dg-menu .et_pb_menu__wrap{justify-content:center}
.dg-menu .et-menu>li{padding:0 11px}
.dg-menu .et-menu li a{font-size:14px;font-weight:500;color:var(--dg-navy)!important;opacity:1!important}
.dg-menu .et-menu>li>a{padding-bottom:0!important}
.dg-menu .et-menu li.current-menu-item>a,.dg-menu .et-menu li a:hover{color:var(--dg-ardesia)!important}
.dg-menu .sub-menu{border-top:0!important;border-radius:16px;box-shadow:0 18px 40px rgba(11,24,81,.15);padding:10px 0!important;width:270px!important}
.dg-menu .sub-menu li{padding:0 10px!important;width:100%!important}
.dg-menu .sub-menu a{width:100%!important;font-size:14px!important;padding:8px 12px!important;border-radius:10px}
.dg-menu .sub-menu a:hover{background:var(--dg-ghiaccio)}
.dg-menu .mobile_nav .mobile_menu_bar:before{color:var(--dg-navy)}
.dg-menu .et_mobile_menu{border-top:0;border-radius:18px;box-shadow:0 18px 40px rgba(11,24,81,.15)}

/* pulsanti */
.dg-btn{display:inline-flex;align-items:center;gap:8px;background:var(--dg-navy);color:#fff!important;border-radius:999px;padding:13px 24px;font-size:14px;font-weight:600;letter-spacing:.04em;text-transform:uppercase;text-decoration:none!important;transition:transform .2s,background .2s;border:1px solid var(--dg-navy);line-height:1.2}
.dg-btn:hover{background:var(--dg-blu);transform:translateY(-2px)}
.dg-btn-light{background:#fff;color:var(--dg-navy)!important;border-color:#fff}
.dg-btn-light:hover{background:var(--dg-ghiaccio)}
.dg-btn-line{background:transparent;color:var(--dg-navy)!important;border-color:var(--dg-navy)}
.dg-btn-line:hover{background:var(--dg-navy);color:#fff!important}
.dg-btn-sm{padding:11px 20px;font-size:13px}
.dg-btn svg{width:15px;height:15px;flex:none}
.dg-btns{display:flex;flex-wrap:wrap;gap:12px;padding:0!important}

/* hero */
.et_pb_section.dg-hero{position:relative;min-height:min(100vh,880px);display:flex;align-items:stretch;padding:0!important;background:var(--dg-navy)}
.dg-hero>.et_pb_row{width:100%;max-width:none;position:relative;display:flex;background:var(--dg-hero-img) 70% center/cover no-repeat}
.dg-hero>.et_pb_row:after{content:"";position:absolute;inset:0;visibility:visible!important;display:block!important;height:auto!important;z-index:1;background:linear-gradient(90deg,rgba(11,24,81,.88) 0%,rgba(11,24,81,.62) 42%,rgba(11,24,81,.18) 80%),linear-gradient(0deg,rgba(11,24,81,.55),transparent 35%)}
.dg-hero .et_pb_column{position:relative;z-index:2;width:100%!important}
.dg-hero-in{min-height:min(100vh,880px);display:grid;grid-template-columns:1fr auto;grid-template-rows:1fr auto;gap:40px;padding:150px 5% 48px}
.dg-hero .dg-kicker{color:#fff;opacity:.9}
.dg-hero h1{color:#fff!important;font-size:clamp(40px,6.4vw,92px)!important;font-weight:500!important;text-transform:uppercase;letter-spacing:-.045em;line-height:.95!important;max-width:11ch;padding-bottom:28px}
.dg-hero h1 em{font-style:normal;display:inline-flex;align-items:center;gap:.2em}
.dg-hero h1 em i{display:inline-block;width:1.25em;height:.72em;border-radius:12px;background:var(--dg-pill-img) center/cover;vertical-align:middle}
.dg-hero-main{align-self:center}
.dg-stats{align-self:center;display:flex;flex-direction:column;gap:26px;text-align:right}
.dg-stats div{color:#fff}
.dg-stats b{display:block;font-size:clamp(28px,3vw,44px);font-weight:500;letter-spacing:-.03em;line-height:1}
.dg-stats span{font-size:12.5px;opacity:.9;color:#fff}
.dg-hero-foot{grid-column:1/-1;display:flex;justify-content:space-between;align-items:flex-end;gap:30px}
.dg-hero-foot p{color:#fff!important;max-width:520px;font-size:15px;line-height:1.55;padding:0!important}
.dg-scroll{width:96px;height:40px;border:1px solid rgba(255,255,255,.7);border-radius:999px;display:grid;place-items:center;color:#fff!important;text-decoration:none!important}
.dg-hero-sm .dg-hero-in{min-height:580px}
.dg-hero-sm h1{font-size:clamp(36px,5vw,72px)!important;max-width:16ch}
.et_pb_section.dg-hero-sm{min-height:0}

.dg-kicker{font-size:13px!important;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:var(--dg-ardesia);padding-bottom:14px!important}

/* sezioni */
.et_pb_section.dg-sec{padding:110px 0}
.et_pb_section.dg-sec-tight{padding:70px 0}
.et_pb_section.dg-alt{background:var(--dg-ghiaccio)}
.et_pb_section.dg-dark{background:var(--dg-navy)}
.dg-dark h2,.dg-dark h3,.dg-dark p,.dg-dark li{color:#fff!important}
.dg-headrow{display:flex;justify-content:space-between;align-items:flex-end;gap:30px;margin-bottom:44px}
.dg-headrow h2{max-width:16ch}
.dg-headrow p{max-width:520px;font-size:15px;color:#4a5370}
.dg-lead{font-size:20px!important;line-height:1.55!important;color:var(--dg-navy)!important}
.dg-narrow{max-width:860px}
.dg-narrow h3{padding-top:18px}
.dg-split{display:grid!important;grid-template-columns:1fr 1fr;gap:70px;align-items:center}
.dg-split .et_pb_column{width:auto!important;margin:0!important}
.dg-img{width:100%;aspect-ratio:4/3.4;object-fit:cover;border-radius:var(--dg-r)}
ul.dg-check{list-style:none!important;padding:0!important;display:grid;gap:10px}
ul.dg-check li{position:relative;padding-left:32px}
ul.dg-check li:before{content:"";position:absolute;left:0;top:5px;width:20px;height:20px;border-radius:50%;background:var(--dg-navy) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center/12px no-repeat}
.dg-cols2{columns:2;column-gap:40px}
.dg-cols2 li{break-inside:avoid}

/* carosello */
.dg-arrows{display:flex;gap:12px;flex:none}
.dg-arrows button{width:64px;height:84px;border-radius:999px;border:1px solid #d7dbe6;background:#fff;cursor:pointer;display:grid;place-items:center;color:var(--dg-navy);transition:background .2s}
.dg-arrows button:hover{background:var(--dg-ghiaccio)}
.dg-car{display:flex;gap:16px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;padding-bottom:4px;margin-right:-4vw}
.dg-car::-webkit-scrollbar{display:none}
.dg-card{flex:0 0 clamp(250px,24vw,300px);aspect-ratio:3/4.8;border-radius:var(--dg-r);overflow:hidden;position:relative;scroll-snap-align:start;text-decoration:none!important;display:block;background:#ccd}
.dg-card img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform .6s}
.dg-card:hover img{transform:scale(1.05)}
.dg-card:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 48%,rgba(44,62,104,.55) 72%,rgba(11,24,81,.92) 100%);backdrop-filter:blur(0)}
.dg-card div{position:absolute;left:0;right:0;bottom:0;padding:22px;z-index:2}
.dg-card h3{color:#fff!important;font-size:19px!important;padding-bottom:6px}
.dg-card p{color:rgba(255,255,255,.88)!important;font-size:13.5px;line-height:1.45;padding:0!important}

/* specialità (tile) */
.dg-tiles{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
.dg-tile{display:flex;align-items:center;gap:16px;background:#f3f4f7;border-radius:16px;padding:14px;text-decoration:none!important;color:var(--dg-navy)!important;font-weight:500;transition:background .2s}
.dg-tile:hover{background:var(--dg-ghiaccio)}
.dg-tile i{width:58px;height:58px;border-radius:12px;background:#fff;display:grid;place-items:center;flex:none}
.dg-tile svg{width:28px;height:28px;stroke:var(--dg-navy)}

/* punti di forza */
.dg-feat{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.dg-feat>div{background:#fff;border-radius:var(--dg-r);padding:32px}
.dg-dark .dg-feat>div{background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.12)}
.dg-feat b{display:block;font-size:42px;font-weight:500;letter-spacing:-.03em;color:var(--dg-ardesia);line-height:1;margin-bottom:16px}
.dg-dark .dg-feat b{color:var(--dg-nebbia)}

/* faq */
.dg-faq details{border-bottom:1px solid #d7dbe6;padding:20px 0}
.dg-faq summary{cursor:pointer;font-weight:600;font-size:18px;color:var(--dg-navy);list-style:none;display:flex;justify-content:space-between;gap:20px}
.dg-faq summary::-webkit-details-marker{display:none}
.dg-faq summary:after{content:"+";font-size:26px;line-height:1;font-weight:300;transition:transform .2s}
.dg-faq details[open] summary:after{transform:rotate(45deg)}
.dg-faq details p{padding:12px 0 0!important}

/* CTA */
.dg-cta{border-radius:28px;padding:70px 6%;background:radial-gradient(ellipse at 10% 20%,rgba(122,190,205,.35),transparent 50%),radial-gradient(ellipse at 90% 90%,rgba(196,170,205,.35),transparent 55%),var(--dg-navy);display:flex;justify-content:space-between;align-items:center;gap:30px}
.dg-cta h2{color:#fff!important;max-width:18ch}
.dg-cta p{color:rgba(255,255,255,.85)!important}

/* contatti */
.dg-contact{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.dg-contact>div{background:var(--dg-ghiaccio);border-radius:var(--dg-r);padding:30px}
.dg-contact b{display:block;font-size:13px;letter-spacing:.12em;text-transform:uppercase;color:var(--dg-ardesia);margin-bottom:8px}
.dg-contact a,.dg-contact span{font-size:22px;font-weight:500;color:var(--dg-navy);text-decoration:none}
.dg-map{width:100%;height:440px;border:0;border-radius:var(--dg-r);margin-top:18px}

/* footer */
.et_pb_section.dg-footer{background:var(--dg-navy);padding:80px 0 30px}
.dg-foot{display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr;gap:40px}
.dg-foot h4{color:#fff;font-size:15px!important;letter-spacing:.12em;text-transform:uppercase;font-weight:600}
.dg-foot p,.dg-foot li,.dg-foot a{color:rgba(255,255,255,.78)!important;font-size:15px;text-decoration:none}
.dg-foot a:hover{color:#fff!important}
.dg-foot ul{list-style:none!important;padding:0!important}
.dg-foot li{padding:3px 0}
.dg-foot-logo{background:#fff;border-radius:16px;padding:10px 14px;display:inline-block;margin-bottom:18px}
.dg-foot-logo img{height:64px;width:auto;display:block}
.dg-copy{border-top:1px solid rgba(255,255,255,.14);margin-top:50px;padding-top:24px;display:flex;justify-content:space-between;flex-wrap:wrap;gap:12px}
.dg-copy p,.dg-copy a{color:rgba(255,255,255,.6)!important;font-size:13px!important;padding:0!important}

/* pulsante chiamata mobile */
.dg-callbar{display:none}

@media (max-width:980px){
 .dg-header-row.et_pb_row{padding:6px 8px 6px 16px}
 .dg-header-row .et_pb_column:nth-child(2){order:3;flex:0 0 auto}
 .dg-header-row .et_pb_column:nth-child(1){flex:1 1 auto}
 .dg-h-cta{display:none}
 .dg-menu .et_mobile_menu{width:calc(100vw - 40px);right:-10px;left:auto;top:52px}
 .dg-hero-in{grid-template-columns:1fr;padding:120px 6% 36px;gap:30px}
 .dg-stats{text-align:left;flex-direction:row;flex-wrap:wrap;gap:22px 34px}
 .dg-hero>.et_pb_row:after{visibility:visible!important;background:linear-gradient(180deg,rgba(11,24,81,.75),rgba(11,24,81,.55) 60%,rgba(11,24,81,.85))}
 .dg-hero-foot{flex-direction:column;align-items:flex-start}.dg-scroll{display:none}
 .et_pb_section.dg-sec{padding:72px 0}
 .dg-headrow{flex-direction:column;align-items:flex-start}
 .dg-split{grid-template-columns:1fr;gap:34px}
 .dg-tiles{grid-template-columns:1fr 1fr}
 .dg-feat{grid-template-columns:1fr}
 .dg-cta{flex-direction:column;align-items:flex-start;padding:50px 7%}
 .dg-contact{grid-template-columns:1fr}
 .dg-foot{grid-template-columns:1fr 1fr}
 .dg-cols2{columns:1}
 .dg-arrows{display:none}
 .dg-callbar{display:flex;position:fixed;bottom:14px;left:14px;right:14px;z-index:998;justify-content:center;box-shadow:0 10px 30px rgba(11,24,81,.35)}
 #page-container{padding-bottom:70px}
}
@media (max-width:600px){
 .dg-tiles,.dg-foot{grid-template-columns:1fr}
 .dg-logo span{font-size:13px}.dg-logo small{display:none}.dg-logo img{height:50px}
 .dg-card{flex-basis:78vw}
}
@media (max-width:600px){
 .dg-stats{display:grid;grid-template-columns:1fr 1fr;gap:18px}
 .dg-stats b{font-size:24px}
 .dg-stats span{font-size:11.5px}
 .dg-hero .dg-btn{padding:11px 18px;font-size:13px}
 .dg-hero .dg-kicker{font-size:11px!important}
}

/* header: allineamento verticale */
.dg-header-row .et_pb_column{display:flex!important;align-items:center}
.dg-header-row .et_pb_module{margin:0!important;width:100%}
@media (min-width:981px){
.dg-menu .et_pb_menu_inner_container,.dg-menu .et_pb_menu__wrap,.dg-menu .et_pb_menu__menu,.dg-menu .et-menu-nav,.dg-menu .et-menu{display:flex!important;align-items:center;height:100%;margin:0!important}
.dg-menu .et-menu>li{display:flex;align-items:center;margin:0!important;padding-top:0!important;padding-bottom:0!important}
.dg-menu .et-menu>li>a{padding:8px 0!important;line-height:1.2!important}
.dg-menu .et-menu .menu-item-has-children>a:first-child:after{top:50%!important;transform:translateY(-50%)}
.dg-menu .sub-menu{top:100%!important}
}
.dg-h-cta .et_pb_text_inner{display:flex;justify-content:flex-end}

/* carosello a fisarmonica, full width */
.et_pb_section.dg-full .et_pb_row{width:96%;max-width:none}
.dg-full .dg-headrow{padding:0 1%}
.dg-headrow>div:last-child{max-width:460px}
.dg-acc{display:flex;gap:14px;height:560px}
.dg-acc-card{flex:1 1 0;min-width:0;position:relative;display:flex;flex-direction:column;justify-content:flex-end;background:#f3f4f8;border-radius:22px;padding:24px;overflow:hidden;text-decoration:none!important;transition:flex-grow .6s cubic-bezier(.2,.8,.2,1),background .4s,box-shadow .4s}
.dg-acc-card.is-on{flex-grow:2.9;background:#fff;box-shadow:0 20px 50px rgba(11,24,81,.12)}
.dg-acc-num{position:absolute;top:18px;left:22px;font-size:clamp(44px,4.4vw,70px);font-weight:500;letter-spacing:-.04em;color:#dfe2ea;line-height:1;transition:opacity .4s;z-index:1}
.dg-acc-img{position:absolute;left:0;right:0;top:0;height:46%;overflow:hidden;opacity:.0;transition:opacity .5s,height .6s}
.dg-acc-img img{width:100%;height:100%;object-fit:cover;filter:grayscale(.15)}
.dg-acc-img:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 55%,#fff)}
.dg-acc-card:not(.is-on) .dg-acc-img{opacity:.22;height:100%}
.dg-acc-card:not(.is-on) .dg-acc-img:after{background:linear-gradient(180deg,rgba(243,244,248,.2),#f3f4f8 70%)}
.dg-acc-card.is-on .dg-acc-img{opacity:1}
.dg-acc-card.is-on .dg-acc-num{opacity:0}
.dg-acc-body{position:relative;z-index:2;display:block}
.dg-acc-ic{width:38px;height:38px;border-radius:50%;background:#fff;display:grid;place-items:center;margin-bottom:14px;box-shadow:0 2px 8px rgba(11,24,81,.08)}
.dg-acc-body svg{width:20px;height:20px;stroke:var(--dg-navy)}
.dg-acc-body h3{font-size:18px!important;font-weight:500!important;color:var(--dg-navy)!important;padding:0!important;hyphens:none;overflow-wrap:normal;transition:font-size .4s}
.dg-acc-card.is-on .dg-acc-body h3{font-size:clamp(26px,2.4vw,36px)!important;white-space:nowrap}
.dg-acc-desc{color:#4a5370!important;font-size:15px;line-height:1.55;max-height:0;opacity:0;overflow:hidden;transition:opacity .4s .15s,max-height .5s;margin:0;padding:0!important;max-width:380px}
.dg-acc-card.is-on .dg-acc-desc{max-height:140px;opacity:1;margin-top:18px}

/* sezione tecnologia */
.dg-tech{display:grid;grid-template-columns:1fr 1.1fr;gap:60px;align-items:center}
.dg-tech h2{font-size:clamp(34px,3.8vw,54px)!important}
.dg-tech h2 span{color:var(--dg-ardesia)}
.dg-tech-txt>p:not(.dg-kicker){max-width:520px;margin-bottom:28px;color:#4a5370}
.dg-tech-vis{position:relative;padding:40px 60px}
.dg-scan{position:relative;border-radius:50%;overflow:hidden;aspect-ratio:1;max-width:480px;margin:auto;box-shadow:0 0 0 14px #eef1f7,0 0 0 28px #f6f7fa,0 30px 70px rgba(11,24,81,.25)}
.dg-scan img{width:100%;height:100%;object-fit:cover}
.dg-scan-line{position:absolute;left:0;right:0;height:3px;top:0;background:linear-gradient(90deg,transparent,#7fd3ff,transparent);box-shadow:0 0 18px 4px rgba(127,211,255,.6);animation:dgscan 3.5s ease-in-out infinite}
@keyframes dgscan{0%,100%{top:8%}50%{top:92%}}
.dg-float{position:absolute;background:rgba(255,255,255,.92);backdrop-filter:blur(8px);border-radius:16px;padding:14px 16px;box-shadow:0 14px 34px rgba(11,24,81,.14);min-width:170px;animation:dgfloat 6s ease-in-out infinite}
.dg-float small{display:block;font-size:12px;color:var(--dg-ardesia)}
.dg-float b{display:block;font-size:17px;font-weight:600;color:var(--dg-navy);margin-bottom:6px}
.dg-float svg{width:130px;height:34px;display:block}
.dg-float.f1{top:6%;left:0}.dg-float.f2{top:16%;right:0;animation-delay:-2s}
.dg-float.f3{bottom:8%;left:2%;animation-delay:-4s}.dg-float.f4{bottom:18%;right:4%;animation-delay:-1s}
.dg-float.f4:before{content:"";display:inline-block;width:8px;height:8px;border-radius:50%;background:#2fbf71;margin-right:6px}
.dg-float.f4 small{display:inline}
@keyframes dgfloat{0%,100%{transform:translateY(0)}50%{transform:translateY(-10px)}}

@media (max-width:980px){
 .dg-acc{height:auto;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;padding-bottom:10px}
 .dg-acc-card,.dg-acc-card.is-on{flex:0 0 78vw;height:470px;scroll-snap-align:start;background:#fff;box-shadow:0 10px 30px rgba(11,24,81,.08)}
 .dg-acc-card .dg-acc-img,.dg-acc-card:not(.is-on) .dg-acc-img{opacity:1;height:46%}
 .dg-acc-card:not(.is-on) .dg-acc-img:after{background:linear-gradient(180deg,transparent 55%,#fff)}
 .dg-acc-card .dg-acc-num{opacity:0}
 .dg-acc-card .dg-acc-body h3{font-size:24px!important;white-space:normal}
 .dg-acc-card .dg-acc-desc{max-height:140px;opacity:1;margin-top:12px}
 .dg-tech{grid-template-columns:1fr;gap:30px}
 .dg-tech-vis{padding:30px 0}
 .dg-float{min-width:0;padding:10px 12px}.dg-float svg{width:90px;height:24px}.dg-float b{font-size:14px}
 .dg-logo img{height:44px}
}
.dg-acc-card{cursor:pointer}
.dg-acc-body h3 a{color:inherit!important;text-decoration:none!important}
.dg-acc-body h3 a:after{content:"";position:absolute;inset:0;z-index:3}
.dg-acc-desc{color:#4a5370}
/* fix: Divi clearfix su ::after e padding sezione */
.dg-hero>.et_pb_row:after{width:auto!important;top:0!important;left:0!important;right:0!important;bottom:0!important}
html body .et_pb_section.dg-hero{padding:0!important;background:var(--dg-navy)!important}
.dg-logo img{height:64px}
.dg-menu .et-menu .menu-item-has-children>a{padding-right:18px!important}
.dg-menu .et-menu .menu-item-has-children>a:after{right:0!important}
html body .dg-hero>.et_pb_row{margin:0!important;padding:0!important}
html body .dg-logo img{height:92px!important;width:auto!important;max-width:none!important}
@media (max-width:980px){html body .dg-logo img{height:50px!important}}
@media (min-width:981px){.dg-hero>.et_pb_row:after{background:linear-gradient(90deg,rgba(11,24,81,.88) 0%,rgba(11,24,81,.55) 42%,rgba(11,24,81,.2) 65%,rgba(11,24,81,.6) 100%),linear-gradient(0deg,rgba(11,24,81,.55),transparent 35%)!important}}
.dg-stats b,.dg-stats span{text-shadow:0 2px 14px rgba(11,24,81,.5)}
/* header a pillola, voci centrate nella barra */
.dg-header-row .et_pb_column:nth-child(1),.dg-header-row .et_pb_column:nth-child(3){flex:1 1 0!important}
.dg-header-row .et_pb_column:nth-child(2){flex:0 0 auto!important}
@media (min-width:981px){.dg-menu .et-menu>li{padding:0 18px!important}.dg-menu .et-menu li a{font-size:15px}}
@media (max-width:980px){.dg-header-row .et_pb_column:nth-child(2){flex:0 0 auto!important}}
/* sezione radiologia stile "why us" */
.dg-why{display:grid;grid-template-columns:1fr 1.15fr;gap:60px;align-items:center}
.dg-why h2 span{color:var(--dg-ardesia)}
.dg-why-txt>p:not(.dg-kicker){color:#4a5370;max-width:520px}
.dg-why-f{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;margin-top:34px}
.dg-why-f i{width:46px;height:46px;border-radius:50%;border:1px solid #d7dbe6;display:grid;place-items:center;margin-bottom:12px}
.dg-why-f svg{width:22px;height:22px;stroke:var(--dg-navy)}
.dg-why-f h3{font-size:16px!important;padding-bottom:4px}
.dg-why-f p{font-size:14px;line-height:1.5;color:#4a5370}
.dg-why-vis{position:relative}
.dg-why-vis img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:28px;display:block}
.dg-why-badge{position:absolute;right:22px;bottom:-26px;background:#fff;border-radius:18px;padding:18px 22px;box-shadow:0 18px 40px rgba(11,24,81,.16);min-width:210px}
.dg-why-badge small{display:block;font-size:12px;color:var(--dg-ardesia)}
.dg-why-badge b{display:block;font-size:22px;font-weight:600;color:var(--dg-navy);line-height:1.2}
.dg-why-badge span{font-size:13px;color:#4a5370}
/* faq larghe */
.dg-faqwrap{display:grid;grid-template-columns:1fr 1.6fr;gap:60px;align-items:start}
@media (max-width:980px){.dg-why,.dg-faqwrap{grid-template-columns:1fr;gap:30px}.dg-why-f{grid-template-columns:1fr}.dg-why-badge{right:12px;bottom:-20px}}

/* ================= v3: larghezze uniformi + restyling seconda metà ================= */
html body .et_pb_section:not(.dg-hero):not(.dg-header)>.et_pb_row{width:94%!important;max-width:1400px!important}
.dg-full .dg-headrow{padding:0}
h2{font-size:clamp(32px,3.6vw,52px)!important;letter-spacing:-.035em}

/* tiles */
.et_pb_section.dg-sec-tight{padding:40px 0 110px}
.dg-tiles{gap:16px}
.dg-tile{position:relative;flex-direction:column;align-items:flex-start;gap:28px;padding:22px;border-radius:22px;background:linear-gradient(160deg,#f5f7fb,#eceff6);font-size:17px;min-height:170px;transition:transform .3s,box-shadow .3s,background .3s}
.dg-tile:after{content:"↗";position:absolute;top:18px;right:18px;width:38px;height:38px;border-radius:50%;background:#fff;display:grid;place-items:center;font-size:16px;color:var(--dg-navy);transition:background .3s,color .3s}
.dg-tile:hover{transform:translateY(-4px);box-shadow:0 18px 40px rgba(11,24,81,.12);background:#fff}
.dg-tile:hover:after{background:var(--dg-navy);color:#fff}
.dg-tile i{width:56px;height:56px;border-radius:16px;box-shadow:0 4px 14px rgba(11,24,81,.08)}
.dg-tile:nth-child(1) i{background:#e3ecff}.dg-tile:nth-child(2) i{background:#e6f5f3}.dg-tile:nth-child(3) i{background:#efe8fb}.dg-tile:nth-child(4) i{background:#fdeee6}
.dg-tile:nth-child(5) i{background:#fbe7ef}.dg-tile:nth-child(6) i{background:#eef3e2}.dg-tile:nth-child(7) i{background:#e6f1fb}.dg-tile:nth-child(8) i{background:#f1ecfa}

/* punti di forza su blu */
.et_pb_section.dg-dark{position:relative;overflow:hidden;background:radial-gradient(ellipse at 85% 10%,rgba(94,115,147,.55),transparent 45%),radial-gradient(ellipse at 5% 100%,rgba(44,62,104,.9),transparent 50%),var(--dg-navy)!important}
.et_pb_section.dg-dark>.et_pb_row{position:relative}
.dg-dark .dg-kicker{color:var(--dg-nebbia)!important}
.dg-feat{gap:16px}
.dg-feat>div{border-radius:26px;padding:36px 32px;transition:transform .3s,background .3s}
.dg-dark .dg-feat>div{background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.14);backdrop-filter:blur(6px)}
.dg-dark .dg-feat>div:hover{transform:translateY(-4px);background:rgba(255,255,255,.12)}
.dg-feat b{font-size:64px;margin-bottom:40px;color:rgba(255,255,255,.28)!important}
.dg-feat h3{font-size:24px!important;font-weight:500!important}
.dg-alt .dg-feat>div{box-shadow:0 10px 30px rgba(11,24,81,.06)}
.dg-alt .dg-feat b{color:#d7dbe6!important}

/* sezione why */
.dg-why-vis img{border-radius:32px}
.dg-why-f>div{background:#f5f7fb;border-radius:20px;padding:18px}
.dg-why-f i{background:#fff;border:0;box-shadow:0 4px 12px rgba(11,24,81,.08)}

/* recensioni */
.et_pb_section.dg-reviews{background:linear-gradient(180deg,#fff,#f4f6fb)}
.dg-reviews .ti-widget .ti-review-item>.ti-inner{border-radius:22px!important;background:#fff!important;box-shadow:0 10px 30px rgba(11,24,81,.07)!important;border:0!important}

/* faq a card */
.dg-faqwrap{grid-template-columns:1fr 1.7fr}
.dg-faqwrap>div:first-child{position:sticky;top:120px}
.dg-faq{display:grid;gap:12px}
.dg-faq details{background:#fff;border:0;border-radius:20px;padding:22px 26px;box-shadow:0 6px 20px rgba(11,24,81,.05);transition:box-shadow .3s}
.dg-faq details[open]{box-shadow:0 14px 34px rgba(11,24,81,.1)}
.dg-faq summary{font-size:17px;align-items:center}
.dg-faq summary:after{flex:none;width:34px;height:34px;border-radius:50%;background:var(--dg-ghiaccio);display:grid;place-items:center;font-size:22px}
.dg-faq details[open] summary:after{background:var(--dg-navy);color:#fff}

/* cta */
.dg-cta{border-radius:36px;padding:90px 6%;position:relative;overflow:hidden;background:linear-gradient(90deg,rgba(11,24,81,.94),rgba(11,24,81,.7)),url(/wp-content/uploads/dg/hero-diagnostica-messina.webp) center/cover}
.dg-cta h2{font-size:clamp(34px,4vw,60px)!important}

/* footer */
.et_pb_section.dg-footer{background:radial-gradient(ellipse at 90% 0%,rgba(94,115,147,.4),transparent 45%),var(--dg-navy);padding:90px 0 30px;border-radius:36px 36px 0 0}
.dg-foot h4{color:var(--dg-nebbia)!important;font-size:13px!important}
.dg-foot>div:first-child h4{color:#fff!important;font-size:26px!important;letter-spacing:-.02em;text-transform:none;font-weight:500}

/* ================= MOBILE stile app ================= */
@media (max-width:980px){
 body,body p,body li{font-size:16px}
 h2{font-size:32px!important}
 html body .et_pb_section:not(.dg-hero):not(.dg-header)>.et_pb_row{width:90%!important}
 .et_pb_section.dg-sec{padding:64px 0}
 .et_pb_section.dg-sec-tight{padding:20px 0 64px}
 /* header app */
 .dg-header-row.et_pb_row{width:calc(100% - 24px)!important;padding:6px 8px 6px 14px!important;background:rgba(255,255,255,.85)}
 .dg-menu .mobile_menu_bar{width:44px;height:44px;border-radius:50%;background:var(--dg-ghiaccio);display:grid!important;place-items:center}
 .dg-menu .mobile_menu_bar:before{font-size:26px!important;position:static!important}
 .dg-menu .et_mobile_menu{border-radius:24px!important;padding:12px!important;top:60px!important}
 .dg-menu .et_mobile_menu li a{border-radius:14px;padding:13px 16px!important;font-size:16px!important;border:0!important}
 .dg-menu .et_mobile_menu li a:hover{background:var(--dg-ghiaccio)}
 /* hero come card */
 html body .et_pb_section.dg-hero{padding:0!important;background:#fff!important}
 .dg-hero>.et_pb_row{border-radius:0 0 34px 34px;overflow:hidden}
 .dg-hero-in{padding:112px 22px 30px!important;gap:24px}
 .dg-hero h1{font-size:44px!important;padding-bottom:20px}
 .dg-hero .dg-btns{gap:10px}
 .dg-hero .dg-btn{flex:1 1 auto;justify-content:center}
 .dg-stats{display:flex!important;flex-wrap:nowrap;overflow-x:auto;gap:10px!important;scrollbar-width:none;margin:0 -22px;padding:0 22px}
 .dg-stats::-webkit-scrollbar{display:none}
 .dg-stats div{flex:0 0 auto;background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.22);backdrop-filter:blur(10px);border-radius:18px;padding:14px 16px;min-width:136px}
 .dg-stats b{font-size:24px!important}
 .dg-hero-foot p{font-size:14px!important;opacity:.9}
 /* titoli sezione */
 .dg-headrow{margin-bottom:26px;gap:16px}
 .dg-headrow p{font-size:15px}
 /* carosello: card app */
 .dg-acc{gap:14px;margin:0 -5.5vw;padding:6px 5.5vw 16px}
 .dg-acc-card,.dg-acc-card.is-on{flex:0 0 76vw;height:440px;border-radius:28px;padding:22px}
 .dg-acc-card .dg-acc-img,.dg-acc-card:not(.is-on) .dg-acc-img{left:10px;right:10px;top:10px;height:52%;border-radius:22px}
 .dg-acc-img:after,.dg-acc-card:not(.is-on) .dg-acc-img:after{display:none}
 /* tech */
 .dg-tech h2{font-size:34px!important}
 .dg-tech .dg-btns .dg-btn{flex:1 1 auto;justify-content:center}
 .dg-scan{max-width:300px;box-shadow:0 0 0 10px #eef1f7,0 0 0 20px #f6f7fa,0 20px 50px rgba(11,24,81,.2)}
 .dg-float.f1{left:-2%}.dg-float.f2{right:-2%}.dg-float.f3{left:0}.dg-float.f4{right:0}
 /* tiles a griglia app */
 .dg-tiles{grid-template-columns:1fr 1fr!important;gap:12px}
 .dg-tile{min-height:150px;padding:16px;gap:18px;font-size:15px;border-radius:24px;background:#f4f6fb}
 .dg-tile:after{width:30px;height:30px;top:14px;right:14px;font-size:13px}
 .dg-tile i{width:48px;height:48px;border-radius:14px}
 .dg-headrow .dg-btns{width:100%}.dg-headrow .dg-btns .dg-btn{flex:1 1 auto;justify-content:center}
 /* punti di forza: card orizzontali */
 .et_pb_section.dg-dark{border-radius:34px;margin:0 12px}
 .dg-feat>div{padding:24px;display:grid;grid-template-columns:auto 1fr;column-gap:16px;align-items:start;border-radius:24px}
 .dg-feat b{font-size:34px;margin:0;grid-row:span 2}
 .dg-feat h3{font-size:19px!important;padding-bottom:4px}
 /* why */
 .dg-why-vis{order:-1}
 .dg-why-vis img{border-radius:28px;aspect-ratio:4/3.3}
 .dg-why-f{grid-template-columns:1fr!important;gap:10px}
 .dg-why-f>div{display:grid;grid-template-columns:auto 1fr;column-gap:14px;align-items:center;padding:14px}
 .dg-why-f i{margin:0;grid-row:span 2}
 .dg-why-badge{left:16px;right:auto;bottom:-22px}
 /* faq */
 .dg-faqwrap>div:first-child{position:static}
 .dg-faq details{padding:18px 18px;border-radius:20px}
 .dg-faq summary{font-size:16px}
 /* cta */
 .dg-cta{border-radius:30px;padding:44px 26px}
 .dg-cta .dg-btns{width:100%}.dg-cta .dg-btn{flex:1 1 100%;justify-content:center}
 /* footer */
 .et_pb_section.dg-footer{border-radius:34px 34px 0 0;padding:60px 0 110px}
 .dg-foot{grid-template-columns:1fr 1fr!important;gap:30px 20px}
 .dg-foot>div:first-child,.dg-foot>div:last-child{grid-column:1/-1}
 .dg-foot>div:last-child{background:rgba(255,255,255,.07);border-radius:22px;padding:20px}
 /* barra chiamata */
 .dg-callbar{border-radius:20px!important;padding:16px!important;font-size:15px!important;background:var(--dg-navy)!important;bottom:12px!important;left:12px!important;right:12px!important;box-shadow:0 14px 34px rgba(11,24,81,.4)!important}
}
html body .dg-faq details{padding:22px 26px!important}
html body .dg-tile{align-items:flex-start!important;text-align:left!important}
@media (max-width:980px){html body .dg-faq details{padding:18px!important}}
@media (max-width:980px){
 html body .dg-faqwrap{grid-template-columns:1fr!important;gap:22px}
 html body .dg-feat>div{display:block}
 html body .dg-feat b{font-size:32px;margin-bottom:14px}
 html body .dg-why-f>div{grid-template-columns:48px 1fr;grid-template-areas:"i h" "i p";text-align:left}
 .dg-why-f>div>i{grid-area:i}.dg-why-f>div>h3{grid-area:h;text-align:left}.dg-why-f>div>p{grid-area:p}
 .dg-why-vis{margin-bottom:34px}
}


/* ===== v5: hero luminosa stile riferimento ===== */
.et_pb_section.dg-header{top:0!important}
.admin-bar .et_pb_section.dg-header{top:32px!important}
html body .dg-header-row.et_pb_row{background:transparent!important;border:0!important;box-shadow:none!important;backdrop-filter:none!important;border-radius:0!important;padding:14px 0!important;transition:all .3s}
.dg-header.dg-scrolled .dg-header-row.et_pb_row{background:rgba(255,255,255,.9)!important;backdrop-filter:blur(14px)!important;border-radius:999px!important;padding:6px 8px 6px 22px!important;margin-top:12px!important;box-shadow:0 8px 30px rgba(11,24,81,.12)!important}
.dg-header .dg-logo img{height:48px}
html body .dg-hero>.et_pb_row{background-position:62% center!important}
html body .dg-hero>.et_pb_row:after{background:linear-gradient(90deg,rgba(94,115,147,.55) 0%,rgba(159,167,186,.35) 38%,rgba(238,241,247,.05) 62%,rgba(94,115,147,.35) 100%),linear-gradient(180deg,rgba(255,255,255,.35),transparent 22%),linear-gradient(0deg,rgba(44,62,104,.45),transparent 40%)!important}
.dg-hero-in{padding:130px 4% 36px!important}
.dg-hero h1{font-weight:400!important;letter-spacing:-.04em!important;max-width:12ch!important;text-shadow:0 4px 30px rgba(11,24,81,.25)}
.dg-hero .dg-kicker{text-transform:uppercase;font-size:13px!important;letter-spacing:.06em}
.dg-hero .dg-btns .dg-btn:first-child{background:var(--dg-navy)!important;color:#fff!important;border-color:var(--dg-navy)!important}
.dg-stats b{font-weight:400!important}
.dg-scroll{width:56px;height:56px;border-radius:50%;border:1px solid rgba(255,255,255,.8);display:grid;place-items:center;color:#fff!important;text-decoration:none!important;font-size:20px}
@media (max-width:980px){html body .dg-hero>.et_pb_row:after{background:linear-gradient(180deg,rgba(94,115,147,.55),rgba(94,115,147,.45) 55%,rgba(44,62,104,.8))!important}}
html body .dg-hero .dg-scroll{width:56px!important;height:56px!important;padding:0!important;flex:none}
@media (max-width:980px){html body .dg-hero .dg-stats{flex-direction:row!important}}
@media (max-width:980px){html body .dg-hero .dg-stats{flex-wrap:nowrap!important;overflow-x:auto}}

/* v6: dati sopra il paragrafo, mobile foto+testo separati */
.dg-hero-in{grid-template-columns:1fr!important}
.dg-hero-ft{max-width:760px}
html body .dg-hero .dg-stats{flex-direction:row!important;text-align:left!important;gap:44px!important;margin-bottom:26px;align-self:auto}
.dg-hero-foot{align-items:flex-end!important}
@media (max-width:980px){
 .dg-menu .mobile_nav .mobile_menu_bar{background:var(--dg-navy)!important;border-radius:50%}
 html body .dg-menu .mobile_nav .mobile_menu_bar:before{color:#fff!important}
 .dg-hero .dg-btns{display:none!important}
 html body .et_pb_section.dg-hero,html body .dg-hero .dg-hero-in{min-height:0!important}
 html body .dg-hero>.et_pb_row{background:linear-gradient(180deg,rgba(44,62,104,0) 240px,var(--dg-blu) 380px),var(--dg-hero-img) 60% top/auto 400px no-repeat,var(--dg-blu)!important}
 html body .dg-hero>.et_pb_row:after{display:none!important}
 html body .dg-hero .dg-hero-in{padding:330px 22px 34px!important}
 html body .dg-hero .dg-stats{gap:10px!important;margin:4px -22px 22px!important;padding:0 22px!important}
 .dg-hero h1{text-shadow:none!important}
}
html body .dg-hero .dg-stats div{flex:0 0 auto!important}
html body .dg-hero .dg-stats span{white-space:nowrap}
.dg-hero-ft{min-width:0;flex:1 1 auto}
@media (max-width:980px){.dg-hero-foot{width:100%}.dg-hero-ft{max-width:100%;width:100%}.dg-hero-ft p{max-width:100%!important}html body .dg-hero .dg-hero-in{gap:18px!important}}
@media (max-width:980px){html body .dg-hero .dg-hero-foot{display:block!important;min-width:0;max-width:100%}html body .dg-hero .dg-hero-ft{display:block;overflow:hidden;margin:0 -22px;padding:0 22px}html body .dg-hero .dg-stats{width:auto!important;max-width:none!important}html body .dg-hero .dg-hero-ft p{white-space:normal;width:auto}html body .dg-hero .dg-hero-in>*{min-width:0;max-width:100%}}

/* v7 */
html body .et_pb_section.dg-full>.et_pb_row{width:96%!important;max-width:none!important}
@media (min-width:981px){html body .dg-header .dg-menu .et-menu>li>a{font-size:17px!important}html body .dg-header .dg-menu .et-menu>li{padding:0 14px!important}}
html body .dg-hero-sm .dg-hero-in{display:flex!important;flex-direction:column;justify-content:center;align-items:center;text-align:center}
html body .dg-hero-sm .dg-hero-main{align-self:center!important;margin:0 auto!important;text-align:center}
html body .dg-hero-sm h1{margin-left:auto;margin-right:auto;max-width:16ch!important}
html body .dg-hero-sm .dg-btns{justify-content:center}
html body .dg-hero-sm .dg-hero-foot{justify-content:center!important;text-align:center;width:100%}
html body .dg-hero-sm .dg-hero-foot p{margin:0 auto;max-width:620px}
html body .dg-hero-sm .dg-scroll{display:none}
html body .dg-center .et_pb_text_inner{text-align:center}
html body .dg-center .dg-narrow,html body .dg-center .et_pb_text_inner>*{margin-left:auto;margin-right:auto}

/* v8: paragrafo hero sottopagine centrato sotto i pulsanti */
html body .dg-hero-sm .dg-hero-foot{display:block!important;width:100%;margin-top:26px}
html body .dg-hero-sm .dg-hero-ft{width:100%!important;max-width:680px!important;margin:0 auto!important;padding:0!important;text-align:center}
html body .dg-hero-sm .dg-hero-ft p{margin:0 auto!important;text-align:center;width:auto}

/* v9: carosello esami largo al massimo 1800px */
@media (min-width:981px){html body .et_pb_section.dg-full:not(.dg-hero):not(.dg-header)>.et_pb_row{width:96%!important;max-width:1800px!important;margin-left:auto!important;margin-right:auto!important}}

/* v10: velatura più decisa sulle hero delle sottopagine (foto nuove più chiare) */
@media (min-width:981px){html body .dg-hero-sm>.et_pb_row:after{background:radial-gradient(ellipse 60% 70% at 50% 55%,rgba(11,24,81,.62),rgba(11,24,81,.38) 70%,rgba(11,24,81,.3))!important}}
html body .dg-hero-sm h1,html body .dg-hero-sm .dg-kicker,html body .dg-hero-sm .dg-hero-ft p{text-shadow:0 2px 18px rgba(11,24,81,.45)}

/* v11: voci di primo livello bianche fuori dalla home (blu quando il menu diventa pillola bianca) */
@media (min-width:981px){html body:not(.home) .dg-header:not(.dg-scrolled) .dg-menu .et-menu>li>a,html body:not(.home) .dg-header:not(.dg-scrolled) .dg-menu .et-menu>li>a:after{color:#fff!important;text-shadow:0 1px 10px rgba(11,24,81,.45)}}

/* v12: logo bianco nelle pagine interne (a colori quando il menu diventa pillola bianca) */
/* v21: logo sempre originale a colori (tolto filtro bianco) */
@media (max-width:980px){html body:not(.home) .dg-hero>.et_pb_row{background:linear-gradient(180deg,rgba(11,24,81,.72) 0,rgba(11,24,81,.45) 80px,rgba(11,24,81,0) 150px),linear-gradient(180deg,rgba(44,62,104,0) 240px,var(--dg-blu) 380px),var(--dg-hero-img) 60% top/auto 400px no-repeat,var(--dg-blu)!important}}

/* v13: dati hero mobile scorrevoli fino al bordo dello schermo, senza taglio */
@media (max-width:980px){html body .dg-hero .dg-hero-ft{width:auto!important;max-width:none!important}html body .dg-hero .dg-hero-foot{overflow:visible!important}}

/* v14: mobile: margine carosello, voci menu blu, Esami a fisarmonica */
@media (max-width:980px){
 .dg-acc{scroll-padding-left:5.5vw}
 html body .dg-menu .et_mobile_menu li a{color:var(--dg-navy)!important;opacity:1!important;font-weight:500}
 html body .dg-menu .et_mobile_menu .sub-menu{display:none!important;position:static!important;visibility:visible!important;opacity:1!important;width:auto!important;box-shadow:none!important;border:0!important;background:transparent!important;padding:2px 0 6px 12px!important;margin:0!important;transform:none!important}
 html body .dg-menu .et_mobile_menu li.dg-open>.sub-menu{display:block!important}
 html body .dg-menu .et_mobile_menu .sub-menu li{padding:0!important}
 html body .dg-menu .et_mobile_menu .sub-menu a{width:auto!important;padding:10px 16px!important;font-size:15px!important}
 html body .dg-menu .et_mobile_menu .menu-item-has-children>a{position:relative;background:transparent!important;cursor:pointer}
 html body .dg-menu .et_mobile_menu .menu-item-has-children>a:after{content:""!important;position:absolute;right:20px;top:50%;width:9px;height:9px;border:solid var(--dg-navy);border-width:0 2px 2px 0;transform:translateY(-70%) rotate(45deg);transition:transform .2s;font-size:0}
 html body .dg-menu .et_mobile_menu li.dg-open>a:after{transform:translateY(-30%) rotate(-135deg)}
}

/* v15: menu largo come le sezioni */
@media (min-width:981px){html body .et_pb_section.dg-header>.dg-header-row.et_pb_row{width:94%!important;max-width:1400px!important;box-sizing:border-box}}

/* v16: barra fissa mobile con due pulsanti */
.dg-stickybar{display:none}
@media (max-width:980px){
 .dg-stickybar{display:flex;gap:8px;position:fixed;left:10px;right:10px;bottom:10px;z-index:998;padding:8px;background:rgba(255,255,255,.92);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);border-radius:22px;box-shadow:0 14px 34px rgba(11,24,81,.28)}
 .dg-stickybar .dg-btn{flex:1 1 0;min-width:0;justify-content:center;text-align:center;padding:12px 8px;font-size:13px;letter-spacing:0;text-transform:none;line-height:1.2;border-radius:15px}
 .dg-stickybar .dg-btn-light{background:var(--dg-ghiaccio);border-color:var(--dg-ghiaccio)}
}

/* v17: apertura animata del sottomenu Esami su mobile */
@media (max-width:980px){
 html body .dg-menu .et_mobile_menu .sub-menu{display:block!important;max-height:0;overflow:hidden;opacity:0;visibility:hidden!important;padding-top:0!important;padding-bottom:0!important;transition:max-height .4s cubic-bezier(.4,0,.2,1),opacity .3s ease,padding .4s ease,visibility 0s linear .4s}
 html body .dg-menu .et_mobile_menu li.dg-open>.sub-menu{max-height:380px;opacity:1;visibility:visible!important;padding-top:2px!important;padding-bottom:6px!important;transition:max-height .4s cubic-bezier(.4,0,.2,1),opacity .3s ease .05s,padding .4s ease,visibility 0s}
}

/* v18: barra fissa mobile 5px piu in alto */
@media (max-width:980px){.dg-stickybar{bottom:15px}}

/* v19: topbar contatti e logo più grande, solo mobile */
.dg-mtop-row{display:none!important}
@media (max-width:980px){
 html body .et_pb_section.dg-header{top:0!important;padding-top:0!important}
 html body .dg-mtop-row.et_pb_row{display:block!important;width:100%!important;max-width:none!important;padding:0!important;margin:0!important}
 .dg-mtop{display:flex;justify-content:center;gap:16px;flex-wrap:wrap;background:var(--dg-navy,#0b1851);padding:7px 12px;font-size:13px;line-height:1.2;margin-bottom:8px}
 .dg-mtop a{color:#fff!important;text-decoration:none;font-weight:500}
 html body .dg-logo img{height:64px!important}
}

/* v20: logo più grande nel menu */
html body .dg-header .dg-logo img{height:85px!important}
@media (max-width:980px){html body .dg-header .dg-logo img{height:72px!important}}
/* v22: footer logo Mistral Digital bianco */
.dg-copy .dg-made{display:inline-flex;align-items:center;gap:8px}
.dg-copy .dg-mistral img{height:26px!important;width:auto!important;display:inline-block;vertical-align:middle;opacity:.9}
.dg-privacy h2{font-size:24px!important;margin-top:36px!important}
/* v23: in cima alla pagina menu a tutta larghezza su fondo bianco (la pillola resta solo scorrendo) */
html body .et_pb_section.dg-header:not(.dg-scrolled){background:#fff!important;box-shadow:0 2px 18px rgba(11,24,81,.08);transition:background .3s,box-shadow .3s}
@media (min-width:981px){html body:not(.home) .dg-header:not(.dg-scrolled) .dg-menu .et-menu>li>a,html body:not(.home) .dg-header:not(.dg-scrolled) .dg-menu .et-menu>li>a:after{color:var(--dg-navy)!important;text-shadow:none!important}}
/* v24: hero interne staccate dal menu bianco */
@media (min-width:981px){html body .dg-hero-sm .dg-hero-in{padding:230px 5% 100px!important;min-height:640px!important}}
