/*
Theme Name:     Deveyes Group Theme
Author:         Deveyes Group
Author URI:     
Description:    Tema custom di Deveyes Group — sito istituzionale AI consulting & digital.
Version:        24.0.0
Tags:           one-column, two-columns, right-sidebar, custom-header, custom-background, custom-colors, custom-menu, featured-images, full-width-template, rtl-language-support, sticky-post, threaded-comments, translation-ready
Text Domain:    deveyes-group-theme
*/
body{font-family: 'Roboto', sans-serif;position:relative;font-size: 14px;line-height: 1.3;}
a{color:inherit}
a:hover{text-decoration: none}
html {scroll-behavior: smooth;}
.blu-light-back-color{background-color:#6ca8c0}
.blu-light-color{color:#6ca8c0}

/*start header section*/
header .menu_logo figure{margin: 0;padding: 10px 0;}
header .menu_logo img{width: auto;overflow: hidden}
header .menu_center h2{display:none;}
header .menu_center .menu-menu-container{}
header .menu_center .menu-menu-container ul{margin:0;padding:0;text-align:center}
header .menu_center .menu-menu-container ul li{list-style: none;display: inline-block;padding: 10px;text-transform: uppercase;font-size: 16px;margin: 18px 0;font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;}
header .menu_center .menu-menu-container ul li a:hover, header .menu_center .menu-menu-container ul li a{text-decoration: none;color: #464646}

header .menu_center .menu-menu-container .menu-item:hover a{color: #73398f;}
header .menu_center .menu-menu-container .menu-item.current-menu-item a{color: #73398f;font-weight: bold;}


header .row_flex{
    display: flex;
    max-width: 1200px;
    align-items: center;
    justify-content: center;
    margin-left: -15px;
    margin-right: -15px;
}
header .col_flex{
    padding: 5px;
}
header .col_flex.col_flex_logo{flex-basis: 240px}
header .menu_logo img{max-width: 220px;}
header .col_flex.col_flex_menu{flex-basis: 100%}
header .col_flex.col_flex_button{flex-basis: 300px}

header .menu_desktop_container ul li{display: inline-block;color: #fff;font-family: 'Oswald', sans-serif;font-weight: 300;letter-spacing: 1.5px;text-transform: uppercase;font-size: 14px; padding: 15px 20px;position: relative}
header .menu_desktop_container ul li a{color: #fff;text-decoration: none;transition: color .2s ease;}
header .menu_desktop_container ul li a:hover{color: #6ca8c0;text-decoration: none;}
header .menu_desktop_container ul li.current-menu-item{text-decoration: none;color:#6ca8c0}
header .menu_desktop_container ul li.current-menu-item a{color:#6ca8c0;}
header li.current-menu-item{text-decoration: none;color:#6ca8c0}
header li.current-menu-item li{color:#fff;}
header li.current-menu-item li.current-menu-item{color:#6ca8c0;}
header .menu.menu_right .wp-block-button__link{transition: background .2s ease, color .2s ease, border-color .2s ease;border-radius: 0;border:1px solid #6ca8c0;background-color:#6ca8c0;text-transform: uppercase;color: #fff;padding: 9px 20px;font-size: 14px;letter-spacing: 2px;font-family: 'Oswald', sans-serif;text-decoration: none;}
header .menu.menu_right .wp-block-button__link:hover{border:1px solid #6ca8c0;background-color:transparent;color:#6ca8c0;text-decoration: none;}
header .menu_desktop_container .sub-menu{
    transition: all .2s ease;
    height: 0;
    visibility: hidden;
    overflow: hidden;
    position: absolute;
    opacity: 0;
    top: 90%;
    padding: 0;
    margin: 0;
    color: #111;
    z-index: 100;
    list-style: none;
    background-color: #000;
    border-bottom: solid 2px #6ca8c0;
}
.mobile-menu-container ul.menu li.menu-item .sub-menu li{
    padding: 10px;
    margin: 0 20px;
}

header .menu_desktop_container .menu-item-has-children::after{
    position:absolute;
    content: '▼';
    top: 35%;
    font-size: 8px;
    transform: scaleX(1.6);
    right: 0;
}

header .menu_desktop_container ul li ul.sub-menu li{
    display: block;
    border-bottom: 1px solid #8b8b8b;
}
header .menu_desktop_container ul li ul.sub-menu li:last-child{
    border-bottom: 0;
}

header .menu_desktop_container .sub-menu.visible{
    transition: all .2s ease;
    height: auto;
    visibility: visible;
    opacity: 1;
}
header .menu_desktop_container .sub-menu:hover{
    transition: all .2s ease;
    height: auto !important;
    visibility: visible !important;;
    opacity: 1 !important;;
}


/*start footer section*/
footer{padding:50px 15px 15px;text-align:center;background-color: #2e2e2e;}
footer .footer_contatti{color: #fff;display: inline-block;padding: 0 10px 10px;width: 33%;text-align: center;font-family: 'Oswald', sans-serif;font-weight: 300;}
footer .footer_contatti p{margin: 0;}
footer .footer_contatti p a{color:#fff;text-decoration: underline}
footer .footer_contatti .icon{position: relative;padding: 10px;background-color: #2e2e2e;margin-bottom: 20px;}
footer .footer_contatti .icon::before{position: absolute;width: 100%;content: '';left: 0;border-top: 1px solid #fff;right: 0;}
footer .footer_contatti .icon i{position: absolute;margin: auto;top: -5px;left: 0;right: 0;font-size: 25px;}
footer .footer_contatti .icon i::before{background-color: #2e2e2e;padding: 0 10px;}
footer .footer_logo{display: inline-block;max-width: 200px;margin: 50px 0 15px;}
footer .wp-block-social-links:not(.is-style-logos-only) .wp-social-link-linkedin{background-color: unset;color: #fff;text-align: center;margin: auto;}
footer .footer_menu ul li{text-transform: uppercase;font-weight: bold;display: inline-block;position: relative;padding: 5px 10px;color: #fff}
footer .footer_menu ul li:after{position: absolute;right: 0;content: '|';color: #fff;}
footer .footer_menu ul li:last-child:after{content: ''}
footer ul, .menu-header-container ul{list-style: none;padding: 0;}
.copyright{color:#fff;font-size: 12px;}

/*single service component*/
.single-service-container{
    text-align: center;
    max-width: 300px;
    margin: 20px auto 40px;

}
.single-service-container .single-service-img-container{margin: 15px 0;}
.single-service-container .single-service-img{transition: all .2s ease;display: inline-block;width:60px;height: 60px;padding:10px;border:1px solid #333;border-radius: 50px;}
.single-service-container .single-service-img:hover{transition: all .2s ease;background-color:#6ca8c0}
.single-service-container .single-service-img:hover img{transition: all .2s ease;filter: brightness(0) invert(1);}
.single-service-container .single-service-img img{width:100%;overflow: hidden;}
.single-service-container .single-service-title{padding: 5px 10px;font-weight: bold;font-family: 'Oswald', sans-serif;font-size: 18px;}
.single-service-container .single-service-description{padding: 0 10px;}


/*start generic section*/
.vc_general.vc_btn3.vc_btn3-style-modern, .vc_general.vc_btn3.vc_btn3-style-flat{transition: all .2s ease;background-color: unset !important;color: #333 !important;text-transform: uppercase;border-radius: 0 !important;border: 1px solid #333 !important;border-left: 0 !important;border-right: 0 !important;font-size: 14px !important;padding: 10px 30px !important;}
.vc_general.vc_btn3.vc_btn3-style-modern:hover, .vc_general.vc_btn3.vc_btn3-style-flat:hover{transition: all .2s ease;background-color: #6ca8c0 !important;color:#fff !important;cursor: pointer}
.header-img{background-repeat: no-repeat;background-position: center;background-size: cover;min-height: 400px;margin-bottom: 50px;position: relative;}
.header-img .text-title{position: absolute;color: #fff;left:0;right:0;width:100%;bottom: 70px;text-align: center;}

.vc_grid-filter-item{text-transform: uppercase}
.vc_active.vc_grid-filter-item{background-color: unset !important;font-weight: bold;color: #6ca8c0}
.vc_active.vc_grid-filter-item span{color: #6ca8c0 !important;}

.cover-img{background-repeat: no-repeat;background-position: center;background-size: cover;min-height: 250px;margin-bottom: 50px;position: relative;}
.project_container_image_overlay{background-color: rgba(108, 168, 192, 0.8);color:#fff;position: absolute;left:0;right:0;top:0;bottom:0;width:100%;text-align: center;display: none;padding: 10px;}
.project_container_image_overlay_pad{padding: 30% 10px 0;border: 1px solid #fff;height: 100%;vertical-align: middle;}
.project_container_title{text-transform: uppercase;margin-bottom:30px;}
.project_container_categories{font-family: 'Oswald', sans-serif;font-weight: 300;font-size:16px;}

.projects_container{position: relative;color:#fff;}
.projects_container .vc_gitem-zone-mini{background-color: rgba(108, 168, 192, 0.8);height:100%;width:100%;position: absolute !important;;text-align: center;}
.projects_container .vc_gitem-zone-mini .vc_gitem-row-position-top{bottom: 0;}
.overlay_projects{color:#fff;position: absolute !important;left:10px;right:10px;top:10px;bottom:10px;height: calc(100% - 20px);width: calc(100% - 20px) !important;border:1px solid #fff;margin:auto;text-align: center;padding: 30% 10px 10px !important;}
.projects_container .project_container_title{color:#fff;font-size: 20px;font-weight: bold;}
.project_container_categories.project_container_categories_white{color:#fff}

.portfolio_custom ul.vc_grid-filter{
    margin-top: -100px;
    padding: 0 0 100px;
    color:#fff;
}
.portfolio_custom ul.vc_grid-filter .vc_active.vc_grid-filter-item span{
    color:#000 !important;
}

.evc-pb-title-label{
    color: #c0bfc0;
    margin-bottom: 5px;
    font-size: 15px;
}
.evc-pb-percent{
    color: #000 !important;
}
.evc-pb-active-bar{
    position: relative;
}
.evc-progress-bar .evc-pb-inactive-bar, .evc-progress-bar .evc-pb-active-bar{
    overflow: visible;
}
.evc-pb-active-bar::after{
    position:absolute;
    content:'';
    width:10px;
    height:10px;
    border-radius: 10px;
    background-color: #6ca8c0;
    right:0;
    top:-4px;
    overflow: visible;
}

.hover_white img{transition: all 1s ease;}
.hover_white:hover img{transition: all 1s ease;filter: brightness(0) invert(1);}
.padding0{padding:0;}
.py-50{padding-top:50px;padding-bottom:50px;}
.nolink{text-decoration: none;color:inherit;}
input[type=text], input[type=email], textarea{width: 100%;border: 0;padding: 5px 10px;margin-bottom: 25px !important;}
.image_post_background{background-origin: initial;background-position: center;background-repeat: no-repeat;background-size: cover;padding:150px 0;text-align: center}
.image_post_background h1{font-weight: bold;color: #1e4586;text-shadow: 0px 1px 4px rgba(255,248,248,0.75);}

.section_image{
    width: 100%;
    text-align:center;
}
.section_image img{
    text-align:center;
    width: 100%
}
.section_title{
    text-align:center;
    color: #eee;
    max-width: 700px;
    margin: 30px auto 15px;
}
.hr_custom{
    width:100%;
    max-width:500px;
    content: '';
    border-top: 1px solid #fff;
    margin: 30px auto;
}

.background-image-post{
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 500px;
    width: 100%;
}

.no-link, a.no-link:hover, a.no-link:active{
    text-decoration: none;
    color: inherit;
}

.display_show{
    display: block;
}
.display_none{
    display: none;
}

.section_post_flex{display: flex;align-items: center}
.section_post_flex .left_section_img{flex:1;flex-basis: 25%;}
.section_post_flex .left_section_img img{width: 100%; height: auto;}
.section_post_flex .right_section_img{flex:1;flex-basis: 75%;padding: 15px;}
.section_post_flex .right_section_img .article_title{font-size: 24px; font-weight: bold;line-height: 28px;}
.section_post_flex .right_section_img .article_excerpt{}
.text-center{
    text-align:center;
}
.font-bold{
    font-weight:bold;
}
.section_title h1{
    font-weight: bold;
}

.max_1000_content{
    max-width: 1000px;
    margin: auto !important;
    float: none !important;
}
.max_1200_content{
    max-width: 1200px;
    font-size: 18px;
    margin: auto !important;
    float: none !important;
}
.image_overlap_top, .image_overlap_top_xl{
    position:relative;
}
.image_overlap_top img{
    position:absolute;
    width:100%;
    margin-top:-100px;
}
.image_overlap_top_xl img{
    position:absolute;
    bottom: 0;
    left: 0;
    right: 0;
    max-height: 350px;
    width: auto;
    margin: auto;
}
.dispositivi_medici{
    font-size: 13px;
    text-align: center;
    margin-top: 35px;
}
.vc_btn3{
    border-radius: 25px !important;
    padding: 6px 25px !important;
    text-transform: uppercase;
    font-weight: bold;
}
.vc_btn3-color-blue{
    background-image: none !important;
    background-color: #262469 !important;
    border: 0 !important;
}
.vc_btn3-color-white{
    background-image: none !important;
    background-color: #fff !important;
}
.color_green{
    color: #159399;
}
.color_blue{
    color: #262469;
}
.color_bicare, .color_bicare .vc_btn3-style-modern{color: #3da187 !important;}
.color_splash, .color_splash .vc_btn3-style-modern{color: #268db9 !important;}
.color_reactive, .color_reactive .vc_btn3-style-modern{color: #6db94f !important;}
.color_complete, .color_complete .vc_btn3-style-modern{color: #a68f54 !important;}
.color_nightime, .color_nightime .vc_btn3-style-modern{color: #73398f !important;}
.color_rebalance, .color_rebalance .vc_btn3-style-modern{color: #ed549b !important;}

.vc_grid-item .vc_gitem-zone-c{
    background-color: #fff !important;
}

.vc_grid-item .vc_gitem-zone-c .vc_custom_heading h4{
    font-weight: bold;
    color: #159399;
}
.vc_grid-item .vc_gitem-zone-c .vc_btn3.vc_btn3-color-juicy-pink, .vc_grid-item .vc_gitem-zone-c .vc_btn3.vc_btn3-color-juicy-pink.vc_btn3-style-flat{
    background-color: transparent;
    color: #000;
    padding: 0 !important;
}

.mb-8{
    margin-bottom: 40px;
}


@media only screen and (max-width: 960px) {
    .image_quiz_col {
        display: inline-block;
        width: 49%
    }
}
@media only screen and (max-width: 768px) {
    footer .footer_contatti{display: block;margin-bottom: 30px;padding: 0 10px 10px;width: 100%}
    header .col_flex.col_flex_logo{
        flex-basis: inherit;
    }
    .image_quiz_col {
        display: inline-block;
        width: 100%
    }
    header .menu_logo img{
        height: auto !important;
    }
    .image_overlap_top img{
        margin-top: 10px;
    }
    .transparent_mobile{
        background-color: transparent !important;
    }
    .mobile-menu-container ul.menu li.menu-item{
        display: block;
        padding: 15px 5px;
        margin: 5px 0;
    }
    .image_overlap_top_xl{
        margin: auto;
    }
    .image_overlap_top_xl img{
        position: relative;
    }
    .image_overlap_top, .image_overlap_top_xl{
        max-width: 70px;
    }
    .vc_row.wpb_row.vc_inner.portfolio_custom, .vc_row.wpb_row.vc_inner.portfolio_custom_mobile{
        padding-right: 0 !important;
    }
    .portfolio_custom .vc_grid-container-wrapper, .portfolio_custom_mobile .vc_grid-container-wrapper{
        margin-top: 40px;
    }
    .portfolio_custom .vc_grid-item, .portfolio_custom_mobile .vc_grid-item{
        padding-top: 20px !important;
        padding-bottom: 20px !important;
        border-bottom: 1px solid rgba(151, 157, 165, 0.76) !important;
    }
    .portfolio_custom .vc_gitem-zone.vc_gitem-zone-b, .portfolio_custom_mobile .vc_gitem-zone.vc_gitem-zone-b{
        margin-top: 20px;
    }

    .portfolio_custom_mobile .vc_grid.vc_row.vc_grid-gutter-30px .vc_pageable-slide-wrapper{
        margin-right: 0 !important;
    }
    .portfolio_custom_mobile .vc_grid.vc_row.vc_grid-gutter-30px .vc_grid-item{
        padding-right: 0 !important;
    }

    .portfolio_custom_mobile select, .portfolio_custom select{
        width: 100%;
        height: 35px;
        font-size: 17px;
    }
}

hr{
    border-top: 6px solid #159399;
    width: 30%;
    text-align: left;
    margin-left: 0;
}

.wpb_wrapper p a{
    color: #159399 !important;
    font-weight: bold !important;
    text-decoration: none !important;
}
.wpb_wrapper h2{
    margin-top: 0 !important;
}

.vc_btn3.vc_btn3-size-md{
    font-size: 16px !important
}

/*Header style*/
h1, .h1{
    font-size: 40px;
    margin-top:2px;
    margin-bottom:10px;
    text-transform: uppercase;
    font-family: 'Oswald', sans-serif;
}
h2, .h2 {
    font-size: 35px;font-family: 'Oswald', sans-serif;
}
h3, .h3 {
    font-size: 30px;text-transform: uppercase;font-family: 'Oswald', sans-serif;
}
h4, .h4 {
    font-size: 28px;
}
h6, .h6{
    font-size: 18px;font-family: 'Oswald', sans-serif;font-weight: 300;
}

b, strong{
    font-weight: 900 !important;
}

.max_400_div{
    max-width: 500px;
    margin: auto;
}

.header{
    position: fixed;
    background-color: rgba(0,0,0,0.8);
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
}
footer li.current-menu-item,
footer li.current-menu-item > a,
footer .dy-footer-col li.current-menu-item > a {
    text-decoration: none;
    color: rgba(230,237,245,0.85);
}
.show_menu_mobile{
    padding: 10px 0;
}
.menu-bars{
    color: #fff;
    height: 50px;
}

.menu-bars .fa-bars{
    font-size: 25px;
    padding: 15px;
    cursor: pointer;
}

.show_menu_mobile_container{
    position: relative;
}

.mobile-menu-container{
    position: absolute;
    right: 20px;
    min-width: 250px;
    background-color: rgba(0,0,0,0.6);
    text-align: left;
}
.menu-header-container ul{
    margin-bottom: 0;
}
.menu-header-container ul li{
    padding: 10px 15px;
}
.menu-header-container ul li a{
    color: #fff;
    width: 100%;
}

.bordered-box{
    margin-bottom: 20px;
    border: 1px solid #fff;
    padding: 90px 50px;
}

.form-control{
    background-color: transparent;
    border: 1px solid #888 !important;
    color: #fff;
}
.form-check{
    margin-bottom: 10px;
}
.form-check a, .form-check a:hover{
    color: #fff;
}

.vc_btn3.vc_btn3-color-danger.vc_btn3-style-modern, .vc_btn3.vc_btn3-color-danger.vc_btn3-style-modern:active, .vc_btn3.vc_btn3-color-danger.vc_btn3-style-modern:hover{
    background-image: none;
    background-color: #be453e !important;
    border: 0;
    padding: 15px 30px !important;
}

.errorecampo{
    border-color: #be453e !important;
}

label.errorecampo, label.errorecampo a{
    color: #be453e !important;
}

.color-red{
    color: #be453e;
}

.btn-form-send{
    background-color: #be453e;
    border: 0;
}

.btn-form-send:hover, .btn-form-send:active{
    background-color: #793022;
    border: 0;
}

.max_500 .vc_column-inner{
    border: 1px solid #fff;
    max-width: 500px;
    margin: auto;
    height: 100%;
}

.single-team-container{
    margin: 10px;
    padding: 25px;
    border: 1px solid #fff;
    border-radius: 5px;
    height: 100%;
    position: relative;
}
.single-team-container .single-team-img{
    text-align: center;
    margin-bottom: 25px;
}
.single-team-container .single-team-img img{
    max-width: 100%;
    height: 60px;
    margin: auto;
}

#testimonials_content .vc_column-inner .wpb_wrapper{
    height: 100%;
}

.single-team-absolute{
    position: absolute;
    width: 100%;
    bottom: 25px;
    left: 0;
    right: 0;

}

.single-team-description{
    margin-bottom: 70px;
}

.single-team-company, .single-team-role{
    text-align: center;
    color: #8c8b8c;
}

.vc_pagination.vc_pagination-style-outline .vc_pagination-trigger{
    border: 0 !important;
}

.vc_pagination-item .vc_pagination-trigger{
    background-color: #fff !important;
}

.vc_pagination-item.vc_active .vc_pagination-trigger{
    background-color: #be453e !important;
}

.border_custom{

}

.mx-auto{
    margin: auto !important;
}

.border_custom .vc_column-inner{
    padding: 20px 15px !important;
}

.border_custom .vc_column-inner .wpb_wrapper{
    height: 100%;
    border: 1px solid #fff;
}

.mobile-menu-container{
    background-color: rgba(0,0,0,0.8);
    color: #fff;
    overflow-x:hidden;
    height: 100%;
    position: fixed;
    padding: 5px 7px;
    transition: .5s;
    z-index: 999;
    right: -600px;
}

.mobile-menu-container-show{
    transition: .5s;
    right: 0;
}

.menu-header-menu-container ul{
    list-style: none;
    padding: 0;
    margin: 0
}

.menu-header-menu-container ul li{
    padding: 15px 0;
    text-transform: uppercase;
}

.carousel-p-3 img{
    padding: 15px;
}



@media (min-width: 1200px) {
    .top-image-container img, .top-image-container .wpb_single_image .vc_figure{
        width: 100% !important;
        height: auto !important;
    }
    .top-image-container .wpb_single_image .vc_single_image-wrapper{
        display: block;
        width: 100%;
    }
    .vc_row.wpb_row.margin-top-negative-big{
        margin-top: -250px !important;
        padding-top: 150px !important;
    }
    .max-content-1200{
        max-width: 1200px;
        margin: auto !important;
    }
}
@media (min-width: 768px) {
}
@media (max-width: 1200px) {
}
@media (max-width: 992px) {
}
@media (max-width: 767px) {
    h1, .h1{
        font-size: 28px;
    }
    h2, .h2 {
        font-size: 24px;
    }
    h3, .h3 {
        font-size: 21px;
    }
    h4, .h4 {
        font-size: 19px;
    }
    h6, .h6{
        font-size: 16px;
    }
    .facebook_home.widget_easy_facebook_feed .efbl_feed_wraper .efbl_feeds_fullwidth .efbl-fullwidth-skin{
        display: block !important;
        width: 100% !important;
    }

    .mx-auto{
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    header{
        /* Con header sticky (vedi blocco "Header sticky su mobile/tablet")
         * il <header> torna in flow e prende la sua altezza naturale,
         * quindi non serve piu' compensare con la margin-bottom legacy
         * che era stata aggiunta quando .header era position: fixed. */
        margin-bottom: 0;
    }
    .show_menu_mobile{
        padding: 0;
    }
    .menu-bars{
        text-align:right;
        padding: 5px 0;
        font-size: 30px;
        cursor: pointer;
        height: auto;
    }
    .menu-bars .fa-bars{
        padding: 0;
    }
    .header .container-fluid{
        padding-left: 5px;
        padding-right: 5px;
    }

    .custom_padding .vc_column-inner{
        padding: 20px 0 !important;
    }
    .custom_padding .custom_empty{
        height: 75px !important;
    }

    .max_400_div .vc_column-inner{
        padding-top: 40px !important;
        padding-bottom: 10px !important;
    }

    /* Slider immagini progetti — mobile: full-width, centrato, aspect ratio
       preservato. Sostituisce il vecchio cap a 200px che lasciava le immagini
       piccole e schiacciate a sinistra dentro lo slide WPBakery. Lo scope
       e' ristretto a `.dy-sp-body` (classe applicata via post_class() sul
       contenitore <article> in single.php): cosi' la regola tocca SOLO il
       corpo del singolo post — dove vive il vc_images_carousel — senza
       impattare eventuali altri slider in sidebar/footer/widget di pagina. */
    .single-post .dy-sp-body .vc_slide{
        max-height: none;
        width: 100%;
        text-align: center;
    }

    .single-post .dy-sp-body .vc_images_carousel.vc_build .vc_carousel-slideline .vc_carousel-slideline-inner>.vc_item,
    .single-post .dy-sp-body .vc_images_carousel.vc_build .vc_carousel-slideline .vc_carousel-slideline-inner>.vc_item .vc_inner{
        text-align: center;
        width: 100%;
    }

    .single-post .dy-sp-body .vc_images_carousel .vc_carousel-slideline img,
    .single-post .dy-sp-body .vc_slide img{
        width: 100%;
        max-width: 100%;
        height: auto;
        max-height: none;
        margin: 0 auto;
        display: block;
    }

}

/* ========= DEVEYES AI — SHARED PAGE STYLES ========= */
/* Used by homepage template AND internal pages (Agenzia, Servizi, Soluzioni) */

.ip-page { padding: 90px 20px; }
.ip-page-dark { background-color: #0d1a2e; color: #fff; }
.ip-page-darker { background-color: #050d1a; color: #fff; }
.ip-page-light { background-color: #f8f9fa; color: #1a1a2e; }
.ip-page-inner { max-width: 1140px; margin: 0 auto; }

.ip-eyebrow {
    font-family: 'Oswald', sans-serif; font-weight: 300; font-size: 12px;
    letter-spacing: 4px; text-transform: uppercase; color: #6ca8c0;
    margin-bottom: 16px; display: block;
}
.ip-section-title {
    font-family: 'Oswald', sans-serif; font-size: 40px; font-weight: 400;
    line-height: 1.15; margin-bottom: 20px; text-transform: none;
}
.ip-section-subtitle {
    font-family: 'Roboto', sans-serif; font-size: 17px;
    font-weight: 300; line-height: 1.8; opacity: 0.85; max-width: 700px;
}
.ip-divider { width: 48px; height: 2px; background: #6ca8c0; margin: 24px 0 32px; }
.ip-divider-center { margin: 24px auto 32px; }

/* Hero banner for inner pages */
.ip-hero {
    position: relative; padding: 120px 20px 80px;
    background: linear-gradient(135deg, #050d1a 0%, #0d1a2e 100%);
    color: #fff; text-align: center;
}
.ip-hero-eyebrow {
    font-family: 'Oswald', sans-serif; font-weight: 300; font-size: 13px;
    letter-spacing: 4px; text-transform: uppercase; color: #6ca8c0;
    margin-bottom: 20px; display: block;
}
.ip-hero-headline {
    font-family: 'Oswald', sans-serif; font-size: 52px; font-weight: 400;
    line-height: 1.1; color: #ffffff; margin-bottom: 24px; text-transform: none;
    max-width: 800px; margin-left: auto; margin-right: auto;
}
.ip-hero-headline span { color: #6ca8c0; }
.ip-hero-subtitle {
    font-family: 'Roboto', sans-serif; font-size: 18px; font-weight: 300;
    line-height: 1.7; color: rgba(255,255,255,0.8);
    max-width: 680px; margin: 0 auto 40px;
}

/* Two-column layout */
.ip-two-col {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 60px; align-items: start;
    max-width: 1140px; margin: 0 auto;
}
.ip-two-col-center { align-items: center; }

/* Pillar tags */
.ip-pillars { display: flex; gap: 16px; margin-top: 28px; flex-wrap: wrap; }
.ip-pillar-tag {
    display: inline-block; padding: 8px 20px;
    border: 1px solid rgba(108,168,192,0.4);
    font-family: 'Oswald', sans-serif; font-size: 13px;
    letter-spacing: 2px; text-transform: uppercase; color: #6ca8c0;
}

/* Bullet list */
.ip-list { list-style: none; padding: 0; margin: 20px 0 0; }
.ip-list li {
    padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.1);
    font-size: 15px; font-weight: 300;
    display: flex; align-items: center; gap: 12px;
}
.ip-list li::before {
    content: ''; display: inline-block; width: 6px; height: 6px;
    background: #6ca8c0; border-radius: 50%; flex-shrink: 0;
}
.ip-list-dark li { border-bottom-color: rgba(0,0,0,0.1); color: #333; }
.ip-list-dark li::before { background: #6ca8c0; }

/* Arrow list */
.ip-arrow-list { list-style: none; padding: 0; margin: 16px 0 0; }
.ip-arrow-list li {
    font-size: 14px; font-weight: 300; color: rgba(255,255,255,0.7);
    padding: 7px 0; border-bottom: 1px solid rgba(255,255,255,0.07);
    display: flex; align-items: flex-start; gap: 8px;
}
.ip-arrow-list li::before { content: '→'; color: #6ca8c0; flex-shrink: 0; font-size: 12px; margin-top: 1px; }
.ip-arrow-link { color: inherit; text-decoration: none; transition: color .2s ease; }
.ip-arrow-link:hover { color: #6ca8c0; text-decoration: none; }

/* Highlight box */
.ip-highlight {
    padding: 32px 36px; background: rgba(108,168,192,0.08);
    border-left: 2px solid #6ca8c0; margin: 32px 0 0;
}
.ip-highlight h3 {
    font-family: 'Oswald', sans-serif; font-size: 22px; font-weight: 400;
    color: #fff; margin-bottom: 12px; text-transform: none;
}
.ip-highlight p { font-size: 15px; font-weight: 300; color: rgba(255,255,255,0.8); line-height: 1.8; margin: 0; }

/* Cards grid — 4 column (services) */
.ip-cards-4 {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 2px; max-width: 1140px; margin: 0 auto;
}
.ip-card {
    background: #0d1a2e; padding: 44px 30px; position: relative;
    overflow: hidden; transition: all .3s ease; border-top: 2px solid transparent;
}
.ip-card:hover { border-top-color: #6ca8c0; transform: translateY(-4px); }
.ip-card-number {
    font-family: 'Oswald', sans-serif; font-size: 48px; font-weight: 300;
    color: rgba(108,168,192,0.2); line-height: 1; margin-bottom: 16px; display: block;
}
.ip-card-title {
    font-family: 'Oswald', sans-serif; font-size: 22px; font-weight: 400;
    color: #fff; margin-bottom: 12px; text-transform: none;
}
.ip-card-desc {
    font-size: 14px; font-weight: 300; color: rgba(255,255,255,0.7);
    line-height: 1.7; margin-bottom: 20px;
}

/* Cards grid — 3 column (solutions) */
.ip-cards-3 {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 24px; max-width: 1140px; margin: 0 auto;
}
.ip-solution-card {
    background: #0d1a2e; padding: 44px 32px;
    border-top: 2px solid transparent; transition: all .3s ease;
    position: relative;
}
.ip-solution-card:hover { border-top-color: #6ca8c0; }
.ip-solution-icon {
    font-size: 32px; color: #6ca8c0; margin-bottom: 20px; display: block;
}
.ip-solution-title {
    font-family: 'Oswald', sans-serif; font-size: 22px; font-weight: 400;
    color: #fff; margin-bottom: 12px; text-transform: none;
}
.ip-solution-desc {
    font-size: 14px; font-weight: 300; color: rgba(255,255,255,0.7);
    line-height: 1.7; margin: 0;
}
.ip-solution-tag {
    display: inline-block; margin-top: 20px; padding: 6px 16px;
    border: 1px solid rgba(108,168,192,0.35); font-family: 'Oswald', sans-serif;
    font-size: 12px; letter-spacing: 1px; text-transform: uppercase; color: #6ca8c0;
}

/* Spotlight: Letsplaza dedicated feature box */
.ip-spotlight-section { padding-top: 60px; padding-bottom: 120px; }
.ip-spotlight {
    display: grid; grid-template-columns: 0.85fr 1.15fr;
    gap: 0; max-width: 1140px; margin: 0 auto;
    background: linear-gradient(135deg, #0d1a2e 0%, #050d1a 100%);
    border: 1px solid rgba(108,168,192,0.18);
    border-top: 3px solid #6ca8c0;
    overflow: hidden;
}
/* Featured variant: more visual presence on the page */
.ip-spotlight-featured {
    border: 2px solid rgba(0,173,228,0.55);
    border-top: 4px solid #00ade4;
    box-shadow:
        0 0 0 1px rgba(0,173,228,0.10),
        0 30px 80px -20px rgba(0,173,228,0.35),
        0 14px 40px -10px rgba(0,0,0,0.6);
    transform: translateY(0);
}
.ip-spotlight-media {
    background: radial-gradient(circle at 30% 30%, rgba(108,168,192,0.18) 0%, rgba(13,26,46,0) 60%), #0a1424;
    padding: 60px 40px; display: flex; flex-direction: column;
    align-items: flex-start; justify-content: center; gap: 18px;
    border-right: 1px solid rgba(108,168,192,0.18);
}
/* Letsplaza-themed media: rich cyan gradient + modular grid background
   evocative of letsplaza.it's "moduli" page (modular building-block visual). */
.ip-spotlight-media-letsplaza {
    position: relative;
    background:
        radial-gradient(circle at 75% 25%, rgba(255,255,255,0.18) 0%, rgba(255,255,255,0) 55%),
        linear-gradient(135deg, #00ade4 0%, #0079b8 55%, #003c6e 100%);
    border-right: 1px solid rgba(0,173,228,0.4);
    overflow: hidden;
    min-height: 360px;
    align-items: center; justify-content: center;
    padding: 60px 40px;
}
.ip-spotlight-media-letsplaza::before {
    /* subtle diagonal shine */
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(115deg, rgba(255,255,255,0.10) 0%, rgba(255,255,255,0) 35%);
    pointer-events: none;
}
.ip-spotlight-grid {
    position: absolute; inset: 0;
    display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(3, 1fr);
    gap: 14px; padding: 28px;
    pointer-events: none;
}
.ip-spotlight-grid .ip-mod {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.18);
    backdrop-filter: blur(2px);
    transition: all .8s ease;
}
.ip-spotlight-grid .ip-mod-1 { background: rgba(255,255,255,0.18); }
.ip-spotlight-grid .ip-mod-3 { background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.10); }
.ip-spotlight-grid .ip-mod-5 { background: rgba(255,255,255,0.22); border-color: rgba(255,255,255,0.35); }
.ip-spotlight-grid .ip-mod-7 { background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.10); }
.ip-spotlight-grid .ip-mod-9 { background: rgba(255,255,255,0.18); }
.ip-spotlight-media-inner {
    position: relative; z-index: 2;
    display: flex; flex-direction: column; align-items: center; gap: 10px;
    text-align: center;
    padding: 22px 28px;
    background: rgba(0, 60, 110, 0.55);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255,255,255,0.18);
}
.ip-spotlight-media-letsplaza .ip-spotlight-brand {
    font-size: 48px; color: #fff; letter-spacing: 2px;
    text-shadow: 0 2px 16px rgba(0,0,0,0.35);
}
.ip-spotlight-media-letsplaza .ip-spotlight-claim {
    color: rgba(255,255,255,0.92);
    font-size: 13px; letter-spacing: 1px;
}
.ip-spotlight-icon { font-size: 56px; color: #6ca8c0; }
.ip-spotlight-brand {
    font-family: 'Oswald', sans-serif; font-size: 42px; font-weight: 300;
    color: #fff; letter-spacing: 1px; line-height: 1;
}
.ip-spotlight-claim {
    font-family: 'Roboto', sans-serif; font-style: italic; font-weight: 300;
    font-size: 14px; color: rgba(255,255,255,0.55); letter-spacing: 0.5px;
}
.ip-spotlight-content { padding: 60px 50px; color: #fff; }
.ip-spotlight-title {
    font-family: 'Oswald', sans-serif; font-size: 30px; font-weight: 300;
    line-height: 1.25; color: #fff; margin: 14px 0 18px; text-transform: none;
}
.ip-spotlight-desc {
    font-size: 15px; font-weight: 300; line-height: 1.75;
    color: rgba(255,255,255,0.78); margin: 0 0 22px;
}
.ip-spotlight-bullets {
    list-style: none; padding: 0; margin: 0 0 28px;
}
.ip-spotlight-bullets li {
    position: relative; padding: 8px 0 8px 22px;
    font-size: 14px; font-weight: 300; line-height: 1.6;
    color: rgba(255,255,255,0.72);
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.ip-spotlight-bullets li::before {
    content: ""; position: absolute; left: 0; top: 17px;
    width: 8px; height: 8px; background: #6ca8c0;
}
.ip-spotlight-bullets li:last-child { border-bottom: none; }
.ip-spotlight-meta {
    display: flex; align-items: center; gap: 24px; flex-wrap: wrap;
    margin-top: 8px;
}
.ip-spotlight-cta {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 14px 28px; background: #6ca8c0; color: #fff !important;
    font-family: 'Oswald', sans-serif; font-size: 14px; font-weight: 400;
    letter-spacing: 2px; text-transform: uppercase; text-decoration: none !important;
    border: 1px solid #6ca8c0; transition: all .25s ease;
    min-height: 44px;
}
.ip-spotlight-cta:hover {
    background: transparent; color: #6ca8c0 !important;
}
@media (max-width: 1023px) {
    .ip-spotlight { grid-template-columns: 1fr; }
    .ip-spotlight-media {
        border-right: none;
        border-bottom: 1px solid rgba(108,168,192,0.18);
        padding: 48px 32px;
    }
    .ip-spotlight-content { padding: 44px 32px; }
    .ip-spotlight-title { font-size: 26px; }
    .ip-spotlight-brand { font-size: 36px; }
}
@media (max-width: 480px) {
    .ip-spotlight-media { padding: 36px 22px; }
    .ip-spotlight-content { padding: 36px 22px; }
    .ip-spotlight-title { font-size: 22px; }
    .ip-spotlight-brand { font-size: 30px; }
    .ip-spotlight-cta { width: 100%; justify-content: center; }
}

/* CTA strip */
.ip-cta {
    text-align: center; padding: 90px 20px;
    background: linear-gradient(135deg, #0d1a2e 0%, #050d1a 100%); color: #fff;
}
.ip-cta-title {
    font-family: 'Oswald', sans-serif; font-size: 40px;
    font-weight: 400; margin-bottom: 18px; text-transform: none;
}
.ip-cta-sub {
    font-size: 16px; font-weight: 300; color: rgba(255,255,255,0.7);
    max-width: 500px; margin: 0 auto 36px; line-height: 1.7;
}
.ip-btn-primary {
    display: inline-block; padding: 14px 40px;
    font-family: 'Oswald', sans-serif; font-size: 14px;
    letter-spacing: 2px; text-transform: uppercase; color: #fff;
    border: 1px solid #6ca8c0; background: transparent;
    text-decoration: none; transition: all .25s ease;
}
.ip-btn-primary:hover { background: #6ca8c0; color: #fff; text-decoration: none; }

/* Responsive */
@media (max-width: 992px) {
    .ip-cards-4 { grid-template-columns: 1fr 1fr; }
    .ip-cards-3 { grid-template-columns: 1fr 1fr; }
    .ip-two-col { grid-template-columns: 1fr; }
    .ip-hero-headline { font-size: 36px; }
    .ip-section-title { font-size: 30px; }
}
@media (max-width: 600px) {
    .ip-cards-4 { grid-template-columns: 1fr; }
    .ip-cards-3 { grid-template-columns: 1fr; }
    .ip-hero-headline { font-size: 28px; }
}

/* ========= FOOTER — DEVEYES GROUP (restyling 2026) ========= */
.dy-footer {
    background: linear-gradient(135deg, #050d1a 0%, #0d1a2e 100%);
    color: #e6edf5;
    padding: 70px 20px 30px;
    font-family: 'Roboto', sans-serif;
    border-top: 1px solid rgba(108,168,192,0.15);
}
.dy-footer-inner { max-width: 1200px; margin: 0 auto; }
.dy-footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 50px;
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.dy-footer-col h4.dy-footer-title {
    font-family: 'Oswald', sans-serif; font-size: 13px; font-weight: 400;
    letter-spacing: 3px; text-transform: uppercase; color: #6ca8c0;
    margin: 0 0 22px;
}
.dy-footer-brand { text-align: left; }
.dy-footer-brand img { max-width: 160px; height: auto; margin-bottom: 12px; filter: brightness(1.05); display: block; }
.dy-footer-tag { font-size: 13px; line-height: 1.7; color: rgba(230,237,245,0.7); margin: 0; max-width: 280px; text-align: left; font-family: 'Oswald', sans-serif; font-weight: 300; letter-spacing: 1px; }

.dy-footer-col p,
.dy-footer-col a {
    color: rgba(230,237,245,0.85);
    font-size: 14px; line-height: 1.8;
    text-decoration: none;
    transition: color .2s ease;
}
.dy-footer-col a:hover { color: #6ca8c0; text-decoration: none; }
.dy-footer-col p { margin: 0 0 8px; }
.dy-footer-col ul { list-style: none; padding: 0; margin: 0; }
.dy-footer-col ul li {
    display: block; padding: 4px 0;
    text-transform: none; font-weight: 400;
    color: rgba(230,237,245,0.85); position: static;
}
.dy-footer-col ul li:after { content: none; }

.dy-footer-social .wp-block-social-links { gap: 10px; }
.dy-footer-social a {
    display: inline-flex; align-items: center; justify-content: center;
    width: 38px; height: 38px; border-radius: 50%;
    background: rgba(108,168,192,0.12); color: #6ca8c0;
    font-size: 16px; margin: 0;
}
.dy-footer-social a:hover { background: #6ca8c0; color: #050d1a; }

.dy-footer-bottom {
    display: flex; flex-wrap: wrap; gap: 16px;
    justify-content: space-between; align-items: center;
    padding-top: 28px;
}
.dy-footer-copy {
    font-size: 12px; letter-spacing: 1px; text-transform: uppercase;
    color: rgba(230,237,245,0.55);
}
.dy-footer-bottom-extra { font-size: 12px; color: rgba(230,237,245,0.55); }
.dy-footer-bottom-extra a { color: rgba(230,237,245,0.7); }
.dy-footer-bottom-extra a:hover { color: #6ca8c0; }

/* Override del vecchio CSS footer dark/grigio (disattiva se ancora presente) */
footer.dy-footer .footer_contatti,
footer.dy-footer .footer_logo,
footer.dy-footer .footer_menu ul li {
    width: auto; display: block; padding: 4px 0; margin: 0; color: inherit; background: none;
    text-transform: none; font-weight: 400; position: static;
}
footer.dy-footer .footer_menu ul li:after { content: ''; }

/* Sfondo trasparente per le icone (paper-plane, location-dot) e nuovo
 * layout flex: icona accanto al testo invece che sopra. */
footer.dy-footer .icon,
footer.dy-footer .icon::before,
footer.dy-footer .icon i::before {
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    padding: 0 !important;
    position: static !important;
    width: auto !important;
}
footer.dy-footer .dy-footer-contact .wp-block-group {
    display: block;
    text-align: center;
    margin: 0 0 18px;
}
footer.dy-footer .dy-footer-contact .wp-block-group p,
footer.dy-footer .dy-footer-contact p {
    text-align: center;
}
footer.dy-footer .dy-footer-contact a,
footer.dy-footer .dy-footer-contact p,
footer.dy-footer .dy-footer-contact p a,
footer.dy-footer .dy-footer-contact strong,
footer.dy-footer .dy-footer-contact b {
    font-weight: 400 !important;
    text-decoration: none !important;
    color: rgba(230,237,245,0.85) !important;
    font-size: 14px;
    line-height: 1.8;
}
footer.dy-footer .dy-footer-contact p {
    text-decoration: none !important;
}
footer.dy-footer .dy-footer-contact a:hover {
    color: #6ca8c0 !important;
    text-decoration: none !important;
}
footer.dy-footer .dy-footer-contact .wp-block-group .icon {
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    margin: 0;
    border-radius: 50%;
    background: rgba(108, 168, 192, 0.12) !important;
    color: #6ca8c0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}
footer.dy-footer .dy-footer-contact .wp-block-group .icon i {
    position: static !important;
    margin: 0 !important;
    font-size: 14px !important;
    line-height: 1;
}
footer.dy-footer .dy-footer-contact .wp-block-group p {
    margin: 0 0 4px;
    line-height: 1.5;
    flex: 1 1 auto;
    align-self: center;
}
footer.dy-footer .dy-footer-contact .wp-block-group p + br + p,
footer.dy-footer .dy-footer-contact .wp-block-group p:nth-of-type(n+2) {
    align-self: flex-start;
}

/* ── Slider clienti "Si sono affidati a noi" (sezione I Clienti) ── */
.hp-clients {
    max-width: 1140px;
    margin: 64px auto 0;
    text-align: center;
}
.hp-clients-title {
    font-family: Oswald, sans-serif;
    font-size: 13px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #6ca8c0;
    font-weight: 300;
    margin: 0 0 32px;
}
.hp-clients-track-wrap {
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 12%, #000 88%, transparent 100%);
            mask-image: linear-gradient(to right, transparent 0%, #000 12%, #000 88%, transparent 100%);
}
.hp-clients-track {
    display: flex;
    gap: 64px;
    align-items: center;
    width: max-content;
    animation: hpClientsScroll 36s linear infinite;
}
.hp-clients-track img {
    height: 56px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
    opacity: 0.55;
    transition: opacity .3s ease, transform .3s ease;
    mix-blend-mode: luminosity;
    filter: grayscale(100%) brightness(1.1) contrast(1.05);
}
.hp-clients-track img:hover {
    opacity: 1;
    transform: scale(1.05);
}
.hp-clients-track-wrap:hover .hp-clients-track {
    animation-play-state: paused;
}
@keyframes hpClientsScroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}
@media (max-width: 700px) {
    .hp-clients-track { gap: 40px; }
    .hp-clients-track img { height: 42px; }
}

/* Centra il copyright nel bottom bar (singolo widget). */
.dy-footer-bottom { justify-content: center; text-align: center; }
.dy-footer-bottom p { margin: 0; font-size: 12px; letter-spacing: 1px;
    text-transform: uppercase; color: rgba(230,237,245,0.55); }

@media (max-width: 1023px) {
    .dy-footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}
@media (max-width: 767px) {
    .dy-footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .dy-footer-bottom { flex-direction: column; text-align: center; }
}

/* ============================================================
 * RESPONSIVE OVERRIDES — DEVEYES GROUP (mobile/tablet review)
 * Scala unificata: <=480 mobile S, 481-767 mobile L,
 * 768-1023 tablet, 1024-1199 desktop S, >=1200 desktop.
 * Sostituisce/uniforma i breakpoint legacy 560/600/700/768/900/960/992.
 * ============================================================ */

/* 1) Visibilità header desktop vs mobile basata su 992px (tablet+mobile)
 *    invece dei breakpoint Bootstrap visible-xs/hidden-xs (767px).      */
header .dy-desktop-only { display: block !important; }
header .dy-mobile-only  { display: none !important; }
@media (max-width: 991px) {
    header .dy-desktop-only { display: none !important; }
    header .dy-mobile-only  { display: block !important; }
    /* Sicurezza: anche se restano residui hidden-xs/visible-xs nel DOM,
       allineiamo lo stesso comportamento al breakpoint 992. */
    header .hidden-xs { display: none !important; }
    header .visible-xs { display: block !important; }
}
@media (min-width: 992px) {
    header .visible-xs { display: none !important; }
    header .hidden-xs  { display: block !important; }
}

/* 2) Hamburger: target tap >= 44x44, icona ben visibile,
 *    contenitore allineato a destra e cliccabile. */
.show_menu_mobile_container .show_menu_mobile {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    cursor: pointer;
    margin-left: auto;
    color: #fff;
}
.show_menu_mobile .menu-bars {
    height: auto;
    padding: 0;
    line-height: 1;
}
.show_menu_mobile .menu-bars .fa {
    font-size: 22px;
    padding: 0;
    color: #fff;
}

/* 3) Mobile overlay menu — full-screen su smartphone, drawer su tablet. */
.dy-mobile-overlay-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    z-index: 998;
    animation: dyOverlayFade .25s ease;
}
@keyframes dyOverlayFade { from { opacity: 0; } to { opacity: 1; } }

.show_menu_mobile_container .mobile-menu-container {
    position: fixed;
    top: 0;
    bottom: 0;
    right: -100%;
    width: min(360px, 88vw);
    height: 100vh;
    height: 100dvh;
    padding: 80px 24px 32px;
    background: #050d1a !important;
    background-color: #050d1a !important;
    color: #fff;
    box-shadow: -8px 0 32px rgba(0,0,0,0.4);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    transition: right .35s cubic-bezier(.2,.8,.2,1);
    z-index: 999;
    text-align: left;
}
.show_menu_mobile_container .mobile-menu-container .menu-menu-container,
.show_menu_mobile_container .mobile-menu-container ul.menu,
.show_menu_mobile_container .mobile-menu-container ul.menu li {
    background: transparent !important;
    background-color: transparent !important;
}
.show_menu_mobile_container .mobile-menu-container.mobile-menu-container-show {
    right: 0;
}
@media (max-width: 480px) {
    .show_menu_mobile_container .mobile-menu-container {
        width: 100vw;
    }
}

/* Reset stili menu Vue — usa font Oswald, link ad ampia area tap. */
.show_menu_mobile_container .mobile-menu-container .menu-menu-container ul,
.show_menu_mobile_container .mobile-menu-container ul.menu {
    list-style: none;
    margin: 0;
    padding: 0;
}
.show_menu_mobile_container .mobile-menu-container ul.menu li.menu-item,
.show_menu_mobile_container .mobile-menu-container ul li {
    display: block;
    padding: 0;
    margin: 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    text-transform: uppercase;
    font-family: 'Oswald', sans-serif;
    letter-spacing: 1px;
    font-size: 16px;
}
.show_menu_mobile_container .mobile-menu-container ul li a {
    display: block;
    padding: 16px 4px;
    color: #fff;
    text-decoration: none;
    min-height: 48px;
    line-height: 1.3;
}
.show_menu_mobile_container .mobile-menu-container ul li.current-menu-item > a {
    color: #6ca8c0;
}
.show_menu_mobile_container .mobile-menu-container ul li.menu-item-has-children::after {
    content: none;
}
.show_menu_mobile_container .mobile-menu-container .sub-menu {
    position: static;
    display: block;
    height: auto;
    visibility: visible;
    opacity: 1;
    background: transparent;
    border: 0;
    padding: 0 0 8px 12px;
}
.show_menu_mobile_container .mobile-menu-container .sub-menu li {
    border-bottom: 0;
    font-size: 14px;
}
.show_menu_mobile_container .mobile-menu-container .sub-menu li a {
    padding: 10px 4px;
    color: rgba(255,255,255,0.75);
}

/* CTA "Contattaci" dentro overlay mobile. */
.dy-mobile-cta {
    margin-top: 28px;
    padding-top: 0;
    border-top: 0;
}
.dy-mobile-cta-btn {
    display: block;
    width: 100%;
    text-align: center;
    padding: 14px 20px;
    min-height: 48px;
    font-family: 'Oswald', sans-serif;
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #fff;
    background: #6ca8c0;
    border: 1px solid #6ca8c0;
    text-decoration: none;
    transition: background .2s ease, color .2s ease;
}
.dy-mobile-cta-btn:hover,
.dy-mobile-cta-btn:focus {
    background: transparent;
    color: #6ca8c0;
    text-decoration: none;
}

/* Blocca scroll del body quando overlay aperto. */
body.dy-mobile-menu-open { overflow: hidden; }

/* 4) Header: layout flex già OK; assicurati che il logo non superi viewport. */
@media (max-width: 991px) {
    header .row_flex {
        justify-content: space-between;
        margin: 0;
    }
    header .col_flex.col_flex_logo {
        flex: 0 1 auto;
        max-width: 60%;
    }
    header .menu_logo img {
        max-width: 190px;
        height: auto !important;
    }
    header .col_flex.col_flex_menu.show_menu_mobile_container {
        flex: 0 0 auto;
        padding: 0 15px;
    }
}
@media (max-width: 480px) {
    header .menu_logo img { max-width: 150px; }
}

/* 5) Homepage hero — tipografia leggibile su mobile,
 *    abbassa min-height (100vh non incluso barre browser su mobile). */
@media (max-width: 767px) {
    .hp-hero {
        min-height: auto;
        padding: 110px 16px 72px;
    }
    .hp-hero-content { padding: 24px 4px; }
    .hp-hero-headline { font-size: 32px; line-height: 1.15; }
    .hp-hero-subtitle { font-size: 16px; line-height: 1.6; margin-bottom: 28px; }
    .hp-hero-intro { font-size: 14px; line-height: 1.7; margin-bottom: 32px; }
    .hp-btn-primary,
    .hp-btn-secondary {
        display: block;
        width: 100%;
        margin: 8px 0;
        padding: 14px 20px;
        min-height: 48px;
    }
    .hp-scroll-hint { display: none; }
}
@media (max-width: 414px) {
    .hp-hero-headline { font-size: 28px; }
}

/* 6) Sezioni hp generiche — riduci padding su mobile. */
@media (max-width: 767px) {
    .hp-section { padding: 60px 16px; }
    .hp-section-title { font-size: 26px; line-height: 1.2; }
    .hp-section-subtitle { font-size: 15px; }
    .hp-stats-strip { padding: 48px 16px; }
    .hp-counter-number { font-size: 40px; }
    .hp-stat-label { font-size: 11px; letter-spacing: 2px; }
    .hp-chi-siamo-grid,
    .hp-cosa-content,
    .hp-modello-grid {
        gap: 36px;
    }
    .hp-chi-siamo-img img { min-height: 280px; }
    .hp-offerta-card { padding: 32px 22px; }
    .hp-offerta-card-img { height: 160px; }
    .hp-perchi-card { padding: 32px 22px; }
    .hp-modello-feature { padding: 24px 20px; }
    .hp-network-title { font-size: 18px; }
    .hp-cta { padding: 70px 16px; }
    .hp-cta-title { font-size: 30px; line-height: 1.2; }
    .hp-cta-sub { font-size: 15px; }
    .hp-pillars { gap: 10px; }
    .hp-pillar-tag { padding: 8px 14px; font-size: 12px; letter-spacing: 1px; }
    .hp-settori { padding: 24px 20px; margin-top: 32px; }
}

/* 7) Modello operativo: 2x2 → 1 colonna su mobile (≤767px). */
@media (max-width: 767px) {
    .hp-modello-features-grid { grid-template-columns: 1fr; }
    .hp-network-items { grid-template-columns: 1fr; }
}

/* 8) Slider clienti "Si sono affidati a noi" — più compatto su mobile. */
@media (max-width: 767px) {
    .hp-clients { margin-top: 40px; }
    .hp-clients-title { font-size: 12px; letter-spacing: 3px; margin-bottom: 24px; }
    .hp-clients-track { gap: 36px; }
    .hp-clients-track img { height: 38px; max-width: 130px; }
}

/* 9) Internal pages — padding e tipografia mobile. */
@media (max-width: 767px) {
    .ip-page { padding: 60px 16px; }
    .ip-hero { padding: 100px 16px 60px; }
    .ip-hero-headline { font-size: 30px; }
    .ip-hero-subtitle { font-size: 15px; }
    .ip-section-title { font-size: 26px; }
    .ip-cta { padding: 60px 16px; }
    .ip-cta-title { font-size: 28px; }
    .ip-btn-primary {
        display: inline-block;
        min-height: 48px;
        padding: 14px 30px;
    }
    .ip-card { padding: 32px 22px; }
    .ip-solution-card { padding: 32px 22px; }
    .ip-promise-item { padding: 28px 22px; }
    .ip-form-wrap { padding: 28px 20px; }
    .ip-two-col { gap: 36px; }
    .ip-cards-3 { gap: 16px; }
}

/* 10) Pagina Progetti — filtro pulsanti più tappabili. */
@media (max-width: 767px) {
    .dy-pj-hero { padding: 100px 16px 60px; }
    .dy-pj-hero-title { font-size: 30px; }
    .dy-pj-filter { gap: 6px; }
    .dy-pj-filter button {
        padding: 12px 16px;
        font-size: 11px;
        min-height: 44px;
        flex: 1 1 auto;
    }
    .dy-pj-grid { gap: 18px; }
    .dy-pj-card-body { padding: 20px 18px 22px; }
    .dy-pj-cta { padding: 60px 16px; }
    .dy-pj-cta-title { font-size: 26px; }
    .dy-pj-loadmore-btn { min-height: 48px; padding: 14px 28px; }
}

/* 11) Contatti — form e mappa responsive. */
@media (max-width: 767px) {
    .dy-hero { padding: 100px 16px 60px; }
    .dy-hero-title { font-size: 30px; }
    .dy-section { padding: 60px 16px; }
    .dy-form-panel { padding: 28px 20px; }
    .dy-title { font-size: 24px; }
    .dy-map-wrap { padding: 56px 16px; }
    .dy-map-frame { height: 320px; }
    .dy-promise-section { padding: 56px 16px; }
    .dy-form-panel #form_contatti .btn-form-send {
        display: block !important;
        width: 100% !important;
        min-height: 48px !important;
    }
}

/* 12) Tipografia globale — h1/h2/h3 leggibili su mobile. */
@media (max-width: 480px) {
    body { font-size: 15px; line-height: 1.5; }
    h1, .h1 { font-size: 28px; line-height: 1.2; }
    h2, .h2 { font-size: 24px; line-height: 1.25; }
    h3, .h3 { font-size: 21px; line-height: 1.3; }
    h4, .h4 { font-size: 19px; }
}

/* 13) Touch target minimi 44x44 sui CTA principali. */
.hp-btn-primary, .hp-btn-secondary,
.ip-btn-primary,
.dy-pj-cta-btn, .dy-pj-loadmore-btn {
    min-height: 44px;
}

/* Inline ghost link CTA — used inside homepage sections */
.hp-inline-cta-link {
    display: inline-block;
    font-family: 'Oswald', sans-serif;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #6ca8c0;
    border: 1px solid rgba(108,168,192,0.4);
    padding: 14px 36px;
    text-decoration: none;
    transition: all .25s ease;
}
.hp-inline-cta-link:hover {
    color: #fff;
    border-color: #6ca8c0;
    background: rgba(108,168,192,0.12);
    text-decoration: none;
}

/* 14) Cookie banner + bottone "Preferenze cookie" footer:
   spostati inline in inc/cookie-consent.php (stampa in <head>) per
   evitare problemi di cache busting su style.css (il filtro
   vc_remove_wp_ver_css_js in inc/optimize.php strippa il ?ver=).
   Single source of truth lassu'. */

/* 15) Anti-overflow orizzontale globale sulle pagine pubbliche.
   IMPORTANTE: `overflow-x: hidden` va applicato SOLO a `body`, non a `html`.
   Su iOS Safari e Android Chrome, mettere `overflow-x: hidden` su `<html>`
   trasforma `<html>` nel containing block di scroll: gli elementi con
   `position: fixed` (es. .header) si "agganciano" a quel container e
   scorrono via insieme al contenuto invece di restare fissi in cima.
   Il body ha gia' `position: relative` e puo' clippare l'overflow laterale
   senza rompere il fixed positioning dell'header. */
html { max-width: 100%; }
body { max-width: 100%; overflow-x: hidden; }
img, video, iframe { max-width: 100%; }

/* 16) Footer responsive aggiuntivo: scala unificata 768/480. */
@media (max-width: 767px) {
    .dy-footer { padding: 56px 20px 24px; }
    .dy-footer-grid { grid-template-columns: 1fr; gap: 28px; padding-bottom: 36px; }
    .dy-footer-col h4.dy-footer-title { margin-bottom: 14px; font-size: 12px; }
    .dy-footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
    .dy-footer-brand { text-align: center; }
    .dy-footer-brand img { margin-left: auto; margin-right: auto; display: block; }
    .dy-footer-tag { margin-left: auto; margin-right: auto; text-align: center; }
}

/* === 404 PAGE ===
   Stile coerente con la homepage AI consulting: sfondo dark gradient,
   tipografia Oswald, accento brand #6ca8c0, CTA in stile hp-btn-primary.
   Scoped sotto .dy-404 per non interferire con il resto del sito. */
.dy-404 {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0d1a2e 0%, #050d1a 100%);
    color: #fff;
    padding: 140px 20px 100px;
    position: relative;
    overflow: hidden;
}
.dy-404::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(108,168,192,0.08) 0%, transparent 45%),
        radial-gradient(circle at 80% 70%, rgba(108,168,192,0.06) 0%, transparent 45%);
    pointer-events: none;
    z-index: 0;
}
.dy-404-inner {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
}
.dy-404-eyebrow {
    display: block;
    font-family: 'Oswald', sans-serif;
    font-weight: 300;
    font-size: 13px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #6ca8c0;
    margin-bottom: 24px;
}
.dy-404-code {
    font-family: 'Oswald', sans-serif;
    font-size: 180px;
    font-weight: 300;
    line-height: 1;
    color: #6ca8c0;
    margin: 0 0 20px;
    text-transform: uppercase;
    letter-spacing: 4px;
}
.dy-404-title {
    font-family: 'Oswald', sans-serif;
    font-size: 38px;
    font-weight: 400;
    line-height: 1.2;
    color: #ffffff;
    margin: 0 0 8px;
    text-transform: uppercase;
    letter-spacing: 2px;
}
.dy-404-subtitle {
    font-family: 'Oswald', sans-serif;
    font-size: 18px;
    font-weight: 300;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.55);
    margin: 0 0 32px;
}
.dy-404-text {
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    font-weight: 300;
    line-height: 1.7;
    color: rgba(255,255,255,0.78);
    max-width: 600px;
    margin: 0 auto 16px;
}
.dy-404-text-en {
    color: rgba(255,255,255,0.55);
    font-size: 14px;
    margin-bottom: 40px;
}
.dy-404-cta {
    display: inline-block;
    padding: 14px 40px;
    font-family: 'Oswald', sans-serif;
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #fff;
    border: 1px solid #6ca8c0;
    background: transparent;
    text-decoration: none;
    transition: all .25s ease;
    min-height: 44px;
}
.dy-404-cta:hover,
.dy-404-cta:focus {
    background: #6ca8c0;
    color: #fff;
    text-decoration: none;
}

@media (max-width: 768px) {
    .dy-404 { padding: 120px 20px 80px; }
    .dy-404-code { font-size: 120px; }
    .dy-404-title { font-size: 26px; letter-spacing: 1px; }
    .dy-404-subtitle { font-size: 15px; letter-spacing: 2px; margin-bottom: 24px; }
    .dy-404-text { font-size: 15px; }
    .dy-404-text-en { font-size: 13px; }
}
@media (max-width: 480px) {
    .dy-404 { padding: 110px 16px 70px; }
    .dy-404-code { font-size: 92px; }
    .dy-404-title { font-size: 22px; }
    .dy-404-cta { padding: 14px 28px; font-size: 13px; }
}

/* === 17) Header sticky su mobile/tablet (≤991px) — fix iOS Safari +
   Android Chrome (Task #119).
   .header e' position: fixed su desktop e funziona correttamente, ma su
   mobile alcuni browser mobile (in particolare iOS Safari con la barra
   URL animata, e Android Chrome quando il body usa overflow-x: hidden)
   non riuscivano a tenerlo davvero ancorato in cima durante lo scroll:
   l'header scorreva via insieme al contenuto.
   Anche dopo aver spostato `overflow-x: hidden` da `<html>` a `<body>`
   (vedi blocco 15), il fixed non era affidabile su tutti i mobile.
   Soluzione: invece di affidarsi al fixed (sensibile alla creazione di
   containing block da parte di transform/filter/contain di antenati e a
   bug di rendering della barra URL), passiamo a position: sticky
   sull'outer <header> element, che e' direct child di .wrap (il
   container che racchiude header + main + footer di tutta la pagina).
   In questo modo il containing block per sticky e' .wrap = intera
   pagina, e l'header resta sempre in cima per tutto lo scroll.
   La <section class="header"> interna torna in flow (position: relative)
   cosi' prende la sua altezza naturale e occupa spazio nel layout.
   Su desktop (≥992px) il comportamento resta invariato: .header e'
   ancora position: fixed e <header> rimane senza posizionamento. */
@media (max-width: 991px) {
    .wrap > header {
        position: -webkit-sticky;
        position: sticky;
        top: 0;
        z-index: 999;
    }
    .header {
        position: relative;
        top: auto;
        left: auto;
        right: auto;
    }
}

/* === 18) Pagina Servizi: grid responsivi 3-card (Task #119).
   Le sezioni "I tre servizi" (Social/Digital Marketing/Creativita')
   e "I nostri clienti" (PMI/Multinazionali/Startup) in seed-pages.php
   usavano un inline grid-template-columns: 1fr 1fr 1fr che su mobile
   schiacciava le card in 3 colonne illeggibili. Il wrapper ora usa la
   classe .dy-svc-grid che applica:
     - 3 colonne su desktop (≥992px) — invariato vs oggi
     - 2 colonne su tablet (601-991px)
     - 1 colonna su smartphone (≤600px) */
.dy-svc-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1140px;
    margin: 0 auto;
}
@media (max-width: 991px) {
    .dy-svc-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }
}
@media (max-width: 600px) {
    .dy-svc-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

