

ul, li{
    list-style: none;
    margin: 0;
    padding: 0;
}


html{
    /*font-size: 100%!important;*/
    scroll-behavior: smooth;
}

body{

    overflow: hidden;
    overflow-y: auto;
    -webkit-font-smoothing: unset;
    -moz-osx-font-smoothing: unset;

}

body > *,
body main > *{
    width: 100%;
    position: relative;
}


body {
    color: var( --font-color, var(--text-color));
    background: var(--footer-bg-color);;
}

body main{
    background-color: #fff;
}

.skip-link {
    /* POSIZIONAMENTO (Non toccare questa parte) */
    position: absolute;
    top: -9999px;
    left: -9999px;
    z-index: 99999; /* Superiore a qualsiasi menu o modale */

    /* ASPETTO VISIVO */
    /* Sostituisci #000000 con il COLORE DEL TUO BRAND */
    color: var(--brand-color);

    /* Sostituisci #FFFFFF con un colore che legga bene sul fondo scelto */
    background-color: #FFFFFF;
    opacity: 1;

    /* TIPOGRAFIA E SPAZIATURA */
    font-weight: 700; /* Grassetto per massima leggibilità */
    padding: 1em 1.5em; /* Spazio attorno al testo */
    text-decoration: none;
    border-radius: 0 0 8px 8px; /* Arrotonda solo gli angoli inferiori */
    font-family: inherit; /* Usa il font del tuo sito */

    /* TRANSIZIONE (Opzionale: rende l'apparizione più fluida) */
    transition: top 0.2s ease-in-out;
}

.skip-link:hover{
    opacity: 1!important;
}

.skip-link:focus {
    /* Riporta il link dentro lo schermo */
    top: 0;
    left: 50%;
    transform: translateX(-50%); /* Lo centra orizzontalmente */

    /* BORDO PER CONTRASTO (Importante per accessibilità) */
    /* Scegli un colore che stacchi molto, es. Giallo o Bianco */
    /*outline: 3px solid #FFD700;*/
    outline: none;
    border-bottom: 3px solid var(--submenu-active-color);
    outline-offset: -3px;

    /* OMBRA (Aiuta a staccarlo dal contenuto sotto) */
    box-shadow: 0 5px 15px rgba(0,0,0,0.4);
}

body #modal-toggler{
    display: none;
    position: fixed;
    pointer-events: none;
}

body > header{
    position: fixed;
    top: 0;
}

body.modal header{
    display: none!important;
}

header .main-menu-wrapper a{
    color: #fff;
}

body header{
    z-index: 1000;
}

body.scrolled header,
body.no-cover header{
    transition: all 0.3s ease-in-out;
    backdrop-filter: blur(6px);
    box-shadow: 0 10px 10px -3px rgba(0,0,0,0.2);
    filter: drop-shadow(0px 2px 2px rgba(0, 0, 0, 0.5));
    background-color: var(--footer-bg-color);
}

body.scrolled header > .container .logo,
body.no-cover header > .container .logo{
    transition: all 0.3s ease-in-out;
    filter: brightness(100);
    /*background-image: url(../../images/frontend/logo-footer.png);*/
}

nav.main [data-type="menu"] [data-level="1"] > li.active > a,
nav.main [data-type="menu"] [data-level="1"] > li > a.active{
    background-color: var(--color-accented);
    color: #fff;
    border-radius: 3px;
}

nav.main [data-type="menu"] [data-level="3"] > li >  a.active,
nav.main [data-type="menu"] [data-level="2"] > li > a.active,
nav.main [data-type="menu"] [data-level="3"] > li:hover,
nav.main [data-type="menu"] [data-level="3"] > li:focus-within,
nav.main [data-type="menu"] [data-level="3"] > li.active,
nav.main [data-type="menu"] [data-level="2"] > li:focus-within,
nav.main [data-type="menu"] [data-level="2"] > li.active,
nav.main [data-type="menu"] [data-level="2"] > li:hover,
nav.main [data-type="menu"] [data-level="2"] > li:active{
    background-color: var(--color-accented);

}


body header .customer-area,
body header .accessibility-menu{
    display: flex;
    align-content: flex-start;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    margin: 0 12px;
    cursor: pointer;
}

body header .customer-area > a{
    display: flex;
}



header .switch-lang {
    position: relative;
    cursor: pointer;
    top: 0;
    right: 0;
    width: 60px;
    transform: translate(0, 0);
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
}


.switch-lang .toggle-language-switch{
    position: absolute;
}

body header .switch-lang details:focus summary,
body header .switch-lang details:focus-within summary:focus,
body header .accessibility-menu button:focus,
body header .customer-area a:focus{
    outline: 3px solid var(--submenu-active-color);
}

.switch-lang details summary,
.switch-lang label,
.switch-lang button{
    all: unset;
    width: 24px;
    height: 24px;
    background-repeat: no-repeat;
    background-position: 50%;
    background-size: cover;
    border-radius: 10em;
    border: 1px solid #fff;
    transform: translate(0, 3px);
    display: inline-block;
    text-indent: 200vw;
    box-sizing: border-box;
}



.switch-lang button:popover-open {
    margin: 53px 0 auto auto;
}

.switch-lang #language-switch-nav {
    position: fixed;
    background: none;
    border: 0;
}

.switch-lang details nav,
.switch-lang [data-type="language-switch-menu"]{
    position: absolute;
    display: none;
    color: #fff;
    left: 50%;
    transform: translate(-50%, 16px);
    background: #000;
    padding: 1rem 0;
    border-radius: 4px;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: flex-start;
    row-gap: 8px;
}

.switch-lang details nav a{
    color: #fff;
    position: relative;
    padding: 0 2rem 0 42px;
    height: 32px;
    display: flex;
    align-items: center;
    font-size: 1.2rem;
}

.switch-lang details nav img{
    border-radius: 10em;
    width: 24px;
    height: 24px;
    object-fit: cover;
    position: absolute;
    left: 8px;
}

.switch-lang details[open] summary:before{
    content: '';
    position: fixed;
    left: 0;
    top: 0;
    width: 300vw;
    height: 300vh;
    transform: translate(-150vw, -150vh);
    background: #000;
    opacity: 0.2;
    z-index: 2;
}

.switch-lang details:focus nav,
.switch-lang details:focus-within nav,
.switch-lang details[open] nav{
    display: flex;
}

.switch-lang [name="toggle-language-switch"]:checked ~ [data-type="language-switch-menu"] {
    display: flex;
}

.switch-lang #language-switch-nav:popover-open {
    margin: 53px 0 auto auto;
}
.switch-lang details summary:after,
.switch-lang label:after,
.switch-lang button:after{
    content: attr(data-language);
    position: absolute;
    text-transform: uppercase;
    color: #fff;
    font-size: 12px;
    right: 0;
    top: 50%;
    transform: translate(calc(100% + 12px), -50%);
    text-indent: 0;
}

.accessibility-menu button{
    all: unset;
    cursor: pointer;
    background: transparent;
    padding: 0;
    margin: 4px 0 0;
    border-radius: 10em;
    height: 26px;
    width: 26px;
}

body header .customer-area svg,
body header .accessibility-menu svg{
    width: 26px!important;
    height: 26px!important;
}

body header .customer-area svg{
    width: 28px!important;
    height: 28px!important;
}

body header .customer-area svg *,
body header .accessibility-menu svg *{
    stroke: currentColor;
    color: #fff;
}

header > .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    align-content: center;
    flex-direction: row;
}

header > .container .logo{
    position: relative;
    width: 200px;
    height: 60px;
    background-image: url('../../images/frontend/logo-header.png');
    background-repeat: no-repeat;
    background-position: 50%;
    background-size: contain;
    outline: 2px solid transparent;
}

header > .container .logo:focus{
    outline: 2px solid var(--submenu-active-color);
}


header nav.main [data-type="menu"] a,
header nav.main [data-type="menu"]{
    font-size: 1.7rem;
}

header nav.main [data-type="menu"] [data-level="3"],
header nav.main [data-type="menu"] [data-level="2"] {
    font-size: 1.1rem;
}

section.cover{
    height: 100vh;
    width: 100vw;
    position: relative;
    margin: 0;
    max-height: 1250px;
}

.body_default_page section.cover{
    height: 75vh;
}

section.cover .carousel-dots,
section.cover .carousel .dots{
    -webkit-transform: translate(-50%, -150%);
    -moz-transform: translate(-50%, -150%);
    -ms-transform: translate(-50%, -150%);
    -o-transform: translate(-50%, -150%);
    transform: translate(-50%, -150%);
}

section.cover.small{
    height: 50vh;
}

.carousel > .covers > .cover{
    width: 100%;
    position: relative;
}

.cover section{
    width: 100%;
}

.cover section.right{
    text-align: left;
    display: flex;
    justify-content: flex-end;
}

.cover section.right > article{
    width: 45%;
}

.cover section h3{
    font-weight: 900;
    font-size: clamp(24px, 4vw, 60px);
    line-height: 1;
    margin-bottom: 0;
}

.cover section h3 + h4{
    font-weight: 100;
    font-size: clamp(20px, 3vw, 40px);
    line-height: 1;
}

.cover section h3 + h4 + nav{
    margin-top: 1em;
    border-radius: 10em;
}

.cover section.left,
.cover section.right{
    width: 50%;
}

.carousel > .covers > .cover{
    background-size: clamp(400px, 48vw, 980px) auto;
    background-position: bottom clamp(50%, 50%, 50%) left clamp(20px, 15%, 600px);
}

section.cover .content .btn{
    padding: 1em 2em;
    font-size: var(--cover-nav-button-font-size);
    border-radius: 10em;
    display: inline-block;
    pointer-events: all;
}



.cover section.left, .cover section.right {
    width: 50%;
    position: absolute;
    left: 35%;
}



.cover section.right > article {
    width: 60%;
}

.carousel-dots,
.carousel .dots{
    mix-blend-mode: normal!important;
}

.cover .carousel-dots .dot.active,
.cover .carousel .dots .dot.active{

    background-color: var(--headlinenews-dot-color--active);
}


/***********
** HEDLINE NEWS
***************/


section.headline-news{
    height: 240px;
    width: 100%;
}

section.headline-news .stripe-bg + .container{
    height: 240px;
    box-shadow: 0 2px 20px 8px rgba(0, 0, 0,  0.1);
}

section.headline-news .stripe-bg + .container .dots{
    top: auto;
    bottom: 0;
    display: flex;
    column-gap: 6px;
    right: 1rem;
}

section.headline-news .stripe-bg + .container .dots .dot{
    background-color: var(--headlinenews-dot-color);
    opacity: 1;
}

section.headline-news .stripe-bg + .container .dots .dot.active{
    background-color: var(--headlinenews-dot-color--active);
}

section.headline-news .stripe-bg + .container .waiting-bar{
    bottom: 16px;
}

section.headline-news .headlines-news-wrapper .news-item-icon{
    height: calc(100% - 2rem);
    border-radius: 6px;
}

section.headline-news .headlines-news-wrapper .news-item-content h4,
section.headline-news .headlines-news-wrapper .news-item-content h3{
    font-weight: var(--headlinenews-font-weight);
    color: var(--font-color);
    line-height: 1;
    font-size: var(--headlinenews-title-font-size);
}

section.headline-news .headlines-news-wrapper .news-item-content nav{
    margin-top: 2rem;
}

section.headline-news .headlines-news-wrapper .news-item-content .button{
    border-radius: 10em;
    background-color: var(--headlinenews-button-bg-color);
    color: var(--headlinenews-button-color);
    font-size: var(--headlinenews-button-font-size);
    padding: 0.5em 3em;
}

section.headline-news .headlines-news-wrapper .news-item-content{
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 48px 38px;
    color: var(--font-color);
}

section.headline-news .headlines-news-wrapper .news-item-content h3 + div{
    font-family: var(--headlinenews-font-family);
    font-size: var(--headlinenews-font-size);
    line-height: 1.2;
}



/******************
** HP FIRST BLOCK
*******************/

[data-block="LeftContentBlockWithInfo"]{
    padding-bottom: 64px;
}

[data-block="LeftContentBlockWithInfo"] .carousel-dots{
    left: 12px;
    transform: translate(0, 32px);
    bottom: 0;
    mix-blend-mode: unset;
    display: flex;
    column-gap: 6px;
}

[data-block="LeftContentBlockWithInfo"] .carousel-dots .dot{
    background-color: #ccc;
    margin: 0;
}

[data-block="LeftContentBlockWithInfo"] .carousel-dots .dot.active{
    background-color: var(--color-accented);
}

section.main-content{
    padding: 64px 0;
    border-bottom: 1px solid #f0f0f0;
}


/*************
** FOOTER
*************/
footer{
    font-family: var(--footer-font-family);
    background-color: var(--footer-bg-color);
    color: var(--footer-color);
    padding: 64px 0;
    font-size: var(--footer-font-size);
    margin: 0;
}

footer a{
    color: var(--footer-color);
}

footer > .container{
    position: relative;
}

footer .certifications{
    display: flex;
    position: absolute;
    right: 0;
    column-gap: 8px;
}

footer .certifications a{
    width: 48px;
    height: 48px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    cursor: pointer;
    column-gap: 8px;
}

footer .certifications a.certif-1{
    background-image: url(/assets/images/frontend/certifications/cert-imq.png);
}

footer .certifications a.certif-2{
    background-image: url(/assets/images/frontend/certifications/cert-qnet.png);
}

footer .certifications a.certif-3{
    background-image: url(/assets/images/frontend/certifications/cert-attesla.png);
}


footer .certifications a.certif-4{
    background-image: url(/assets/images/frontend/certifications/cert-etv1.png);
}

footer .certifications a.certif-5{
    background-image: url(/assets/images/frontend/certifications/cert-etv2.png);
}

footer .legal-rating{
    display: flex;
    column-gap: 1em;
    row-gap: 0.5em;
    color: #fff;
    flex-direction: column-reverse;
    text-transform: uppercase;
    line-height: 1;
}

footer .legal-rating .stars{
    display: flex;
}

footer .legal-rating .star{
    display: flex;
    width: 16px;
    height: 16px;
    background-image: url(/assets/images/frontend/icons/star-solid-white.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

footer .footer-logo{
    width: 200px;
    height: auto;
    display: block;
    margin: 0 0 16px;
}

footer .privacy_policy,
footer .privacy-cookie-settings{
    border: 1px solid var(--footer-color);
    color: var(--footer-color);
    background: transparent;
    height: auto;
    padding: 0.5em 1em;
    border-radius: 10em;
    font-size: 1rem;
}

footer .cookies-and-privacy{
    display: flex;
    width: 100%;
    justify-content: center;
    /* align-items: center; */
    align-content: center;
    column-gap: 1rem;
}

footer .cookies-and-privacy > *:hover{
    background-color: #fff;
    border-color: #fff;
    color: var(--footer-bg-color);
}

footer .credits{
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, -100%);
}

footer .credits .heart{
    color: #f00;
}

/******
** BLOCKS GENERAL
******************/

[data-block="TextColumnAndImageColumn"],
[data-block="FullBGBlock"] {
    --content-font-size: 1.8rem;
    --content-line-height: 1.2;
}

[data-block="TextColumnAndImageColumn"] [data-value="title"],
[data-block="FullBGBlock"] [data-value="title"] {
    text-transform: uppercase;
    margin: 0 0  0.2em;
}

[data-block="TextColumnAndImageColumn"] nav .button,
[data-block="FullBGBlock"] nav .button{
    font-size: 1.4rem;
    padding: 1rem 2.5rem;
    line-height: 1;
    height: auto;
    letter-spacing: 0;
}

.card-item .card-item-content p{
    --default-lineheight: 1.2;
    margin: 1em 0 0;
}

/*
.body_hp [data-block="LeftContentBlockWithInfo"] .row.as-flex{
    justify-content: center;
}

.body_hp [data-block="LeftContentBlockWithInfo"] .carousel{
    width: 40vw;
    --slide-width: 40vw;
    border-radius: 12px;
}

.body_hp [data-block="LeftContentBlockWithInfo"] .carousel .covers .cover{
    flex: 0 0 var(--slide-width);
}

.body_hp [data-block="LeftContentBlockWithInfo"] .right-container.image-container{
    max-width: 480px;
}*/

section.sectors .blocks{
    --slides-gap: 32px;
}

section.sectors .blocks .block{
    width: calc(33% - var(--slides-gap) - 8px);
}

section.sectors .splide__track:after,
section.sectors .splide__track:before{
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: calc( var(--slides-gap));
    height: 100%;
    z-index: 10;
    background: linear-gradient(-90deg,rgba(240, 246, 249, 0) 0%, rgba(240, 246, 249, 1) 50%);
}

section.sectors .splide__track:after{
    left: auto;
    right: 0;
    background: linear-gradient(90deg,rgba(240, 246, 249, 0) 0%, rgba(240, 246, 249, 1) 50%);
}

/*
section.sectors .blocks .block[aria-hidden="true"]{
    box-shadow: none;
}*/


section.sectors .splide__arrow--next:active{
    transform: translate(40px, -50%) scale(.95);
}

section.sectors .splide__arrow--prev:active{
    transform: translate(-40px, -50%) scale(.95);
}

@media all and (max-width: 980px){

    [data-block="LeftContentBlockWithInfo"][data-tv="OurNumbers"]{
        padding-top: 64px;
        padding-bottom: 96px;
    }

    [data-block="LeftContentBlockWithInfo"][data-tv="OurNumbers"] .row.as-flex{
        margin: 0;
    }

    section.sectors .splide{
        width: 100%;

    }

    section.sectors .splide__arrow--next,
    section.sectors .splide__arrow--prev{
        display: none;
    }

    section.sectors .blocks .block {
        width: calc(50% - var(--slides-gap) - 8px);
    }

    section.sectors .splide__track:after, section.sectors .splide__track:before {
        display: none;
    }

}

@media all and (max-width: 860px){
    header [for="site-menu-toggler"]{
        display: inline-block;
        color: #fff;
        padding: 0 12px;
    }

    #site-menu-toggler:checked ~ header .main-menu-wrapper:before{
        position: absolute;
        top: 0;
        content: '';
        width: 0;
        height: 0;
        border-style: solid;
        border-width: 0 12px 12px 12px;
        border-color: transparent transparent rgba(0, 0, 0, 0.9) transparent;
        transform: rotate(0deg);
        right: 38%;

    }

    nav.main [data-type="menu"] [data-level="1"]{
        display: flex;
        flex-direction: column;
        background-color: rgba(0, 0, 0, 0.9);
        height: auto;
        border-radius: 6px;
        min-width: 200px;
        max-width: 100vw;
    }

    nav.main [data-type="menu"] [data-level="1"] > li:first-child + li > a{
        border-radius: 6px 6px 0 0;
    }

    nav.main [data-type="menu"] [data-level="1"] > li:last-child > a{
        border-radius: 0 0 6px 6px;
    }

    nav.main [data-type="menu"] a{
        width: 100%;
    }

    nav.main [data-type="menu"] [data-level="2"]:after,
    nav.main [data-type="menu"] [data-level="3"]:after{
        display: none;
    }

    nav.main [data-type="menu"] [data-level="2"] > li.active > a,
    nav.main [data-type="menu"] [data-level="1"] > li.active > a,
    nav.main [data-type="menu"] a.active,
    nav.main [data-type="menu"] a:hover{
        background-color: var(--submenu-active-color);
        opacity: 1;
    }

    nav.main [data-type="menu"] [data-level="1"] > li > a.active,
    nav.main [data-type="menu"] [data-level="2"] > li > a.active{
        background-color: rgba(11, 143, 231, 0.3);
        border-top: 0 solid var(--submenu-active-color);
        border-bottom: 0 solid var(--submenu-active-color);
    }

    nav.main [data-type="menu"] [data-level="2"],
    nav.main [data-type="menu"] [data-level="3"]{
        position: relative;
        display: block;
        background: transparent;
        font-size: 0.9em;
        box-shadow: none;
    }

    nav.main [data-type="menu"] [data-level="2"] > li.active,
    nav.main [data-type="menu"] [data-level="2"] > li:hover{
        background: transparent;
    }

    nav.main [data-type="menu"] [data-level="3"]{
        transform: none;
    }

    header nav.main [data-type="menu"] [data-level="3"],
    header nav.main [data-type="menu"] [data-level="2"] {
        font-size: 0.8em;
    }

    nav.main [data-type="menu"] [data-level="2"] > li{
        border: none;
    }

    nav.main [data-type="menu"] [data-level="2"] li > a{
        padding: 4px 1em;
    }

    nav.main [data-type="menu"] [data-level="3"] li > a{
        padding: 0 2em;
    }


    #site-menu-toggler:checked ~ header .main-menu-wrapper {
        display: inline-block;
        right: 0;
        top: 30px;
        z-index: 201;
        transform: translate(33%, 8px);
    }

    header .main-menu-wrapper{
        display: none;
        position: absolute;
    }



    .switch-lang details summary:after,
    .switch-lang label:after, .switch-lang button:after{
        display: none;
    }

    header .switch-lang{
        width: 36px;
        display: flex;
        justify-content: center;
    }

}

@media all and (max-width: 680px) {

    section.sectors .blocks .block {
        width: calc(94% - var(--slides-gap));
    }

    footer > .container {
        position: relative;
        width: 90%;
    }
}

@media all and (max-width: 650px){
    [data-block="LeftContentBlockWithInfo"][data-tv="OurNumbers"] {
        padding-top: 64px;
        padding-bottom: 0;
    }

    [data-block="LeftContentBlockWithInfo"] .carousel-dots {
        left: 50vw;
        transform: translate(-50%, 32px);
        mix-blend-mode: unset;
        display: flex;
        column-gap: 6px;
        bottom: 0 !important;
    }

}

@media all and (max-width: 600px) {



    .headline-news {
        height: 240px !important;
    }

    section.headline-news .stripe-bg + .container{
        padding: 1em;
    }

    section.headline-news .stripe-bg + .container .waiting-bar{
        bottom: unset;
        top: 0.5em;
        left: 1em;
        background-color: #f0f0f0
    }

    section.headline-news .headlines-news-wrapper .news-item-content{
        padding: 48px 20px;
        padding-right: 0.5em;
    }

    section.cover{
        height: calc(100vh - 40px);
        max-height: 900px;
    }

    section.cover .carousel-dots,
    section.cover .carousel .dots{
        bottom: 16px !important;
    }

    .carousel > .covers > .cover{

        background-position: 50% 10vh;
        background-size: auto 60vh;
        display: flex;
        align-items: center;
        justify-content: flex-end;
        flex-direction: column;
    }

    .cover section.right > article{
        display: flex;
        flex-direction: column;
        align-content: center;
        align-items: center;
        justify-content: flex-start;
        padding-bottom: 46px;
    }

    .carousel > .covers > .cover section{
        width: 90%;
        left: 5%;
        min-height: 40vh;
        transform: translate(0, 0);
    }

    .cover section.left,
    .cover section.center,
    .cover section.right{
        align-items: center;
    }

    .cover section.center > article,
    .cover section.left > article,
    .cover section.right > article{
        width: 100%;
    }

    .cover section h3,
    .cover section h4{
        text-align: center;
    }


    [data-block="LeftContentBlockWithInfo"][data-tv="OurNumbers"]{
        padding-bottom: 0;
    }

    [data-block="LeftContentBlockWithInfo"] .carousel-dots{
        left: 50%;
        transform: translate(-50%, 52px);
    }

    [data-block="LeftContentBlockWithInfo"] .carousel-dots{
        mix-blend-mode: multiply;
    }


}

@media all and (max-width: 500px){

    footer{
        padding: 76px 0;
    }

    footer > .container {
        position: relative;
        width: 90%;
    }

    footer .certifications{
        position: absolute;
        right: unset;
        left: 0;
        transform: translate(0, -58px);
    }

    section.sectors .splide{
        width: 100%;
    }
}