/* latin-ext */
@font-face {
    font-family: 'Funnel Display';
    font-style: normal;
    font-weight: 300 800;
    font-display: swap;
    src: url(fonts/Phosphor/funnel-display-latin-ext-1) format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
    font-family: 'Funnel Display';
    font-style: normal;
    font-weight: 300 800;
    font-display: swap;
    src: url(fonts/Phosphor/funnel-display-latin-1.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* latin-ext */
@font-face {
    font-family: 'Funnel Sans';
    font-style: italic;
    font-weight: 300 800;
    font-display: swap;
    src: url(fonts/Phosphor/funnel-display-latin-ext-2.woff2) format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
    font-family: 'Funnel Sans';
    font-style: italic;
    font-weight: 300 800;
    font-display: swap;
    src: url(fonts/Phosphor/funnel-display-latin-2.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* latin-ext */
@font-face {
    font-family: 'Funnel Sans';
    font-style: normal;
    font-weight: 300 800;
    font-display: swap;
    src: url(fonts/Phosphor/funnel-display-latin-ext-3.woff2) format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
    font-family: 'Funnel Sans';
    font-style: normal;
    font-weight: 300 800;
    font-display: swap;
    src: url(fonts/Phosphor/funnel-display-latin-3.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

.scr .font-18-szione-2 {
    font-size: 20px;
    color: white;
    margin-top: 22px;
}

/* schermi mobile */
@media (max-width: 767.98px) {
    .scr .font-18-szione-2 {
        font-size: 16px;
    }
}

/* schermi tablet */
@media (min-width: 768px) and (max-width: 1199.98px) {
    .scr .font-18-szione-2 {
        font-size: 20px;
    }
}

/* schermi grandi */
@media (min-width: 1200px) {
    .scr .font-18-szione-2 {
        font-size: 20px;
    }
}

.pb-130 {
    padding: 100px 16rem 100px 16rem;
}

@media only screen and (min-width: 1200px) {
    .scr .mxd-section.padding-blog {
        padding-bottom: 100px;
    }
}

@media only screen and (min-width: 1200px) {
    .scr h2.h2-small {
        font-size: 4rem;
    }
}

@media only screen and (min-width: 1200px) {
    .scr .mxd-stats-number {
        font-size: 9rem;
    }
}

@media only screen and (min-width: 1200px) {
    .scr .mxd-section.padding-grid-pre-mtext {
        padding-bottom: 100px;
        ;
        padding-top: 100px;
    }
}

@media only screen and (min-width: 1200px) {
    .mxd-section.padding-pre-grid {
        padding-bottom: 100px;
        padding-top: 100px;
    }
}

@media only screen and (min-width: 1200px) {
    .scr .mxd-section.padding-pre-title {
        padding-bottom: 100px;
        padding-top: 100px;
    }
}

.scr .anim-uni-in-up p {
    margin-bottom: 20px;
}

.scr .mxd-services-list__tagslist ul li p {
    color: var(--t-medium);
    font-size: 14px;
    margin-top: 10px;
    margin-bottom: 10px;
    margin-right: 10px;
    margin-left: 10px;
    text-align: center;
}

.elenco-servizi-border {
    border: 1px solid #fff;
    border-radius: 35px;
    place-items: anchor-center;
    margin-bottom: 10px;
    margin-top: 10px;
}

.mb-20 {
    margin-bottom: 20px;
}

.mxd-promo {
    border-radius: 38px !important;
    overflow: hidden !important;
    background-color: #ffffff !important;
}

.rounded-end-5 {
    border-top-right-radius: 38px !important;
    border-bottom-right-radius: 38px !important;
}

@media (max-width: 767.98px) {
    .rounded-end-5 {
        border-top-right-radius: 0 !important;
        border-bottom-left-radius: 38px !important;
    }
}

.p-50-call-to-action {
    padding-left: 50px;
    padding-right: 50px;
}

@media (max-width: 767.98px) {
    .p-50-call-to-action {
        padding: 20px;
    }
}


/* Desktop (≥1200px) */
@media (min-width: 1200px) {
    .template-pagina p {
        font-size: 20px;
        color: white;
        margin-bottom: 10px;
    }
}

/* Tablet (≥768px e <1200px) */
@media (min-width: 768px) and (max-width: 1199.98px) {
    .template-pagina p {
        font-size: 20px;
        color: white;
        margin-bottom: 10px;
    }
}

/* Mobile (<768px) */
@media (max-width: 767.98px) {
    .template-pagina p {
        font-size: 16px;
        color: white;
        margin-bottom: 10px;
    }
}


/* CSS SINGOLE NOTIZIE GUTENBERG */
.scr h2.wp-block-heading {
    font-size: 40px;
}

@media (max-width: 767.98px) {
    .scr h2.wp-block-heading {
        font-size: 28px;
    }
}

.scr h3.wp-block-heading {
    font-size: 30px;
}

@media (max-width: 767.98px) {
    .scr h3.wp-block-heading {
        font-size: 20px;
    }
}

.scr .wp-block-gallery.has-nested-images.is-cropped figure.wp-block-image:not(#individual-image) a,
.scr .wp-block-gallery.has-nested-images.is-cropped figure.wp-block-image:not(#individual-image) img {
    flex: 1 0 0%;
    height: 100%;
    object-fit: cover;
    width: 100%;
    border-radius: var(--_radius-m);
}

.scr .wp-block-image img {
    box-sizing: border-box;
    height: auto;
    max-width: 100%;
    vertical-align: bottom;
    border-radius: var(--_radius-m);
}

@media only screen and (min-width: 1200px) {
    .scr .mxd-article__content ul li {
        font-size: 2.2rem;
        padding-left: 20px;
    }
}

.scr .mxd-article__content p strong {
    font-weight: 700;
    color: white;
}

.scr .wp-block-table td,
.scr .wp-block-table th {
    border: 1px solid;
    padding: .5em;
    border-color: white;
    color: white;
    font-weight: 600;
    text-align: center;
}

/* PLUGIN INDICE DEI CONTENUTI PER LE PAGINE ARTICOLO single-post.php */
.scr #ez-toc-container {
    background: #f9f9f9;
    border: 2px solid #1F7A85;
    border-radius: 4px;
    -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, .05);
    box-shadow: 5px 5px 5px #1F7A85;
    display: table;
    margin-bottom: 1em;
    padding: 20px 30px 20px 30px;
    position: relative;
    width: 80%;
    border-radius: var(--_radius-m);
    place-self: anchor-center;
}

.scr div#ez-toc-container .ez-toc-title {
    font-size: 30px;
    color: #1F7A85;
}

.scr div#ez-toc-container .ez-toc-title {
    font-weight: 700;
}

.scr #ez-toc-container a {
    color: #0a293c;
    box-shadow: none;
    text-decoration: none;
    text-shadow: none;
    display: inline-flex;
    align-items: stretch;
    flex-wrap: nowrap;
    font-size: 20px;
    padding-bottom: 5px;
}

.scr #ez-toc-container a:hover {
    text-decoration: underline;
}

.scr .wp-element-caption {
    font-style: italic;
    color: #ffffff;
    font-weight: 300;
}

@media (min-width: 1200px) {
    .mt-50-archivio-blog {
        margin-top: 50px;
    }
}

.scr .mb-20 {
    margin-bottom: 20px !important;
}

.scr .col-12.col-xl-8.mxd-grid-item.no-margin.order-2.order-xl-1 p {
    margin-bottom: 20px;
    color: white;
}


/* PRIMA NOTIZIA/ULTIMA NOTIZIA INSERITA NEL BLOG */
.post-featured {
    position: relative;
    overflow: hidden;
}

.post-featured__thumb-wrapper {
    z-index: 1;
}

.post-featured__thumb img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* Overlay solo nella parte inferiore */
.post-featured__overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 45%;
    background: linear-gradient(transparent, rgb(10 41 60));
    z-index: 2;
    pointer-events: none;
}

/* Contenuto sopra overlay */
.post-featured__content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 3;
    color: #fff;
    padding: 30px;
}



.mxd-sidebar__widget .widget__descr p.t-small {
    color: black;
}






/* ===================== CASE HISTORY CSS ===================== */
.case-card .ratio {
    position: relative;
    overflow: hidden;
    border-radius: 5rem;
}

@media (max-width: 767.98px) {
    .case-card .ratio {
        position: relative;
        overflow: hidden;
        border-radius: 2rem;
    }
}

.case-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 5rem !important;
}

@media (max-width: 767.98px) {
    .case-card img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 2rem !important;
    }
}

/* Fade-in all’apparizione */
.fade-in {
    animation: fadeIn 0.6s ease both;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Titoli bianchi */
.card-body h3 {
    color: #fff !important;
}

/* Pulsante */
#load-more-case-history {
    transition: all 0.3s ease;
}

#load-more-case-history:hover {
    transform: translateY(-2px);
}

.case-card.fade-in {
    margin-top: 30px;
    margin-bottom: 30px;
}

/* ===================== EFFETTO ZOOM IMMAGINE ===================== */
.case-card .ratio {
    position: relative;
    overflow: hidden;
    border-radius: 5rem;
}

.case-card .ratio img {
    transition: transform 0.8s ease;
    will-change: transform;
}

.case-card:hover .ratio img {
    transform: scale(1.2);
}

@media (max-width: 767.98px) {
    .case-card .ratio {
        border-radius: 2rem;
    }

    .case-card:hover .ratio img {
        transform: scale(1.09);
        /* leggermente meno zoom su mobile */
    }
}



/* ===================== BLOG PREVIEW - EFFETTO ZOOM ===================== */
.mxd-blog-preview__image {
    position: relative;
    overflow: hidden;
    border-radius: 3rem;
}

.mxd-blog-preview__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
    will-change: transform;
    border-radius: 3rem;
}

/* effetto zoom al passaggio del mouse */
.mxd-blog-preview__item:hover .mxd-blog-preview__image img {
    transform: scale(1.2);
}

@media (max-width: 767.98px) {
    .mxd-blog-preview__image {
        border-radius: 1.5rem;
    }

    .mxd-blog-preview__item:hover .mxd-blog-preview__image img {
        transform: scale(1.05);
    }
}


/* ===================== ARCHIVE POST - EFFETTO ZOOM ===================== */

/* Contenitore immagine */
.post-simple__thumb {
    position: relative;
    overflow: hidden;
    display: block;
    border-radius: 3rem;
}

@media (max-width: 767.98px) {
    .post-simple__thumb {
        border-radius: 1.5rem;
    }
}

/* Immagine */
.post-simple__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
    will-change: transform;
    border-radius: inherit;
}

/* Effetto zoom al passaggio del mouse */
.post-simple:hover .post-simple__thumb img {
    transform: scale(1.2);
}

/* ===================== SIDEBAR RECENT POSTS - SOLO ZOOM ===================== */

.recent-post__thumb {
    position: relative;
    overflow: hidden;
    border-radius: 1.5rem;
}

/* 🔧 Disattiva eventuali overlay di tema */
.recent-post__thumb::before,
.recent-post__thumb::after {
    content: none !important;
    background: none !important;
    opacity: 0 !important;
    transition: none !important;
}

/* Immagine base */
.recent-post__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
    transition: transform 0.6s ease;
    will-change: transform;
}

/* Effetto zoom al passaggio del mouse */
.recent-post__item:hover .recent-post__thumb img {
    transform: scale(1.1);
}

/* Nessun effetto trasparente */
.recent-post__item:hover .recent-post__thumb img::after {
    opacity: 0 !important;
}

/* Margine e layout coerente */
.recent-post__item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

@media (max-width: 767.98px) {
    .contatti p {
        font-size: 20px;
        color: white;
        margin-bottom: 10px;
    }
}

@media (min-width: 768px) and (max-width: 1199.98px) {
    .contatti p {
        font-size: 20px;
        color: white;
        margin-bottom: 10px;
    }
}

@media (min-width: 1200px) {
    .contatti p {
        font-size: 20px;
        color: white;
        margin-bottom: 10px;
    }
}

.wpcf7-form-control.wpcf7-submit.has-spinner.btn.btn-anim.btn-default.btn-large.btn-opposite.slide-right-up {
    background-color: transparent;
    color: #fff;
    border: 1px solid #fff;
    width: 50%;
    transition:
        background-color 0.35s ease,
        color 0.35s ease,
        border-color 0.35s ease;
}

.wpcf7-form-control.wpcf7-submit.has-spinner.btn.btn-anim.btn-default.btn-large.btn-opposite.slide-right-up:hover {
    background-color: #fff;
    color: #0a293c;
    border-color: #fff;
}

.scr .wpcf7-spinner {
    display: none;
}

.privacy-flag {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding-top: 20px;
}

.scr form input {
    display: unset;
    color: #ffffff;
    background: #5b474752;
    border-radius: 20px;
    padding: 10px;

}

.scr form input[type="checkbox"] {
    width: auto;
    height: auto;
}

.scr form textarea {
    width: 100%;
    color: #ffffff;
    background: #5b474752;
    border-radius: 20px;
    padding: 10px;
}

@media only screen and (min-width: 1200px) {

    .scr form input,
    .scr form textarea {
        font-size: 1.8rem;
    }
}

.scr .row.g-0 ul li {
    list-style: disc;
    margin-left: 20px;
    font-weight: 500;
}

.scr .row.g-0 ul li a {
    color: #05b8c9;
}


/* menu desktop */
/* Di default: mostra desktop, nascondi mobile */
.main-menu--desktop {
    display: block;
}

.main-menu--mobile {
    display: none;
}

/* Sotto 768px: nascondi desktop, mostra mobile */
@media (max-width: 767.98px) {
    .main-menu--desktop {
        display: none;
    }

    .main-menu--mobile {
        display: block;
    }
}

/* contatore in homepage */
/* Effetto comparsa numero */
.mxd-stats-simple__counter {
    opacity: 0;
    transform: translateY(15px);
    transition: all 0.8s ease-out;
    display: inline-block;
}

.mxd-stats-simple__counter.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* "+" accanto al numero */
.mxd-stats-number-wrapper {
    display: inline-flex;
    align-items: flex-start;
    justify-content: center;
    gap: 4px;
}

.plus-symbol {
    opacity: 0;
    transform: scale(0.5);
    color: #ffffff;
    font-size: 70px;
    font-weight: 600;
    line-height: 1;
    transition: all 0.4s ease-out;
}

.plus-symbol.is-visible {
    opacity: 1;
    transform: scale(1);
}


.scr .mb-3,
.scr .mb-4 {
    margin: 1.5rem !important;
}

.scr .box-lavora-con-noi {
    border: 1px solid white;
    border-radius: 30px !important;
}

.scr .hero-09-headline__tags.mobile {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: start;
    -moz-box-pack: start;
    -ms-flex-pack: start;
    justify-content: center;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 1rem;
    max-width: 800px;
}

/* schermi mobile */
@media (max-width: 767.98px) {
    .scr .padding-top-mobile-100 {
        padding-top: 50px;
    }
}

@media only screen and (min-width: 1200px) {

    .scr .mxd-container.grid-container.blog,
    .scr .mxd-container.grid-container.storie {
        padding: 0 7.5rem;
        padding-top: 100px;
    }
}




.numero_metodo1_4.mxd-counter__number {
    color: #0a293c;
}

.numero_metodo2_3.mxd-counter__number {
    color: #0a293c;
}

.titolo_metodo1_4 {
    color: white;
}

.titolo_metodo2_3 {
    color: #1f7a85;
}

.mxd-counter__descr.descrizione_metodo2_3 {
    max-width: 300px;
}


.mxd-counter__descr.descrizione_metodo1_4 {
    color: #e1e1e1;
}


.mxd-blog-preview__tags.mission_card_title {
    background-color: rgba(31, 122, 133, 0.90);
    /* #1f7a85 con opacità 80% */
    width: 558px;
    border-radius: 0px 0px 50px;
    justify-content: center;
}

.mxd-blog-preview__tags.mission_card_title h1 {
    font-size: 3.5rem;
}
















/* --- Aggiorna il blocco Our Passion --- */
.our-passion {
    padding: 100px 0;
    background: url('../images/section-bg-3.png') no-repeat;
    background-position: right -50px bottom -3px;
    background-size: 281px auto;
}

/* Contenitore al 90% su desktop, 100% su mobile */
.our-passion .container {
    max-width: 90%;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 15px;
    padding-right: 15px;
}

/* Titolo leggermente più grande */
.our-passion .section-title h2 {
    font-size: 50px;
    /* prima era 44px */
    line-height: 1.15em;
    letter-spacing: -0.02em;
    color: var(--primary-color);
}

/* Paragrafo più leggibile */
.our-passion .section-title p {
    font-size: 1.125rem;
    /* 18px */
    line-height: 1.7em;
    margin-top: 24px;
    color: var(--text-color);
}

/* Bottone più visibile */
.our-passion .btn-default {
    font-size: 17px;
    padding: 18px 34px;
}

/* Immagini arrotondate e responsive — ridotte in altezza */
.our-passion .passion-image figure {
    border-radius: 24px;
    overflow: hidden;
}

.our-passion .passion-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* --- RIDUZIONE IMMAGINI SU DESKTOP --- */
@media (min-width: 992px) {
    .our-passion .passion-image img {
        height: 400px;
        /* o usa aspect-ratio se preferisci */
        object-fit: cover;
    }

    .our-passion .passion-image-list .passion-image img {
        height: 250px;
    }
}

/* --- LISTA CON SPUNTA VERDE INVECE DI ICONA FA --- */
.our-passion .passion-list ul li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 12px;
    font-size: 1.0625rem;
    /* ~17px */
    line-height: 1.6em;
    color: var(--text-color);
}

.our-passion .passion-list ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--accent-color);
    /* verde #299B46 */
    font-weight: bold;
    font-size: 1.1rem;
}

/************************************/
/***       Responsive Rules         ***/
/************************************/

/* Tablet */
@media (max-width: 991px) {
    .our-passion .container {
        max-width: 94%;
    }

    .our-passion .section-title h2 {
        font-size: 42px;
    }

    .our-passion .section-title p {
        font-size: 1rem;
    }

    /* Riduzione immagini su tablet */
    .our-passion .passion-image img {
        height: 300px;
    }

    .our-passion .passion-image-list .passion-image img {
        height: 200px;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .our-passion {
        padding: 60px 0 50px;
        background-size: 120px auto;
        background-position: right -20px bottom -10px;
    }

    .our-passion .container {
        max-width: 100%;
        padding-left: 15px;
        padding-right: 15px;
    }

    .our-passion .section-title h2 {
        font-size: 32px;
        line-height: 1.2em;
    }

    .our-passion .section-title p {
        font-size: 0.9375rem;
        /* 15px */
        margin-top: 16px;
    }

    .our-passion .passion-list ul li {
        font-size: 0.9375rem;
        padding-left: 24px;
        margin-bottom: 12px;
    }

    /* Immagini più piccole su mobile */
    .our-passion .passion-image img,
    .our-passion .passion-image-list .passion-image img {
        height: 200px;
    }

    .our-passion .btn-default {
        font-size: 16px;
        padding: 15px 28px;
        margin-right: 0;
        display: block;
        text-align: center;
    }

    .our-passion .btn-default::before {
        display: none;
    }

    /* Stack colonne su mobile */
    .our-passion .row {
        flex-direction: column;
    }

    .our-passion .col-lg-7,
    .our-passion .col-lg-5 {
        width: 100%;
        max-width: 100%;
    }

    .our-passion .col-lg-7 {
        order: 1;
        /* Mostra per primo */
        margin-bottom: 30px;
    }

    .our-passion .col-lg-5 {
        order: 2;
        /* Mostra dopo */
    }
}

/* Nascondi su desktop */
.hide-desktop {
    display: none;
}

@media (max-width: 991.98px) {
    .hide-desktop {
        display: block;
    }

    .mxd-hero-mobile-bg {
        position: relative;
        width: 100%;
        height: 100vh;
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }

    .mxd-hero-mobile-overlay {
        position: absolute;
        inset: 0;
        background: rgba(0, 0, 0, 0.55);
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 2rem;
    }

    .mxd-hero-mobile-content {
        color: #fff;
        max-width: 100%;
    }

    .mxd-hero-mobile-content h1 {
        line-height: 1.1;
        margin-bottom: 1rem;
    }

    .mxd-hero-mobile-content .btn {
        margin-top: 0.5rem;
        color: #fff;
        border-color: #fff;
    }

    .mxd-hero-mobile-content .btn:hover {
        background-color: #fff;
        color: var(--primary);
    }
}







/* ==================== BASE TIMELINE ==================== */
.mxd-timeline-section {
    position: relative;
    overflow: hidden;
    background: #0D283D !important;
    padding: 80px 0 !important;
}

.scr-timeline {
    position: relative;
    margin: 0 auto;
    padding: 60px 20px;
}

/* ==================== TIMELINE STRUCTURE ==================== */
.scr-timeline-item {
    position: relative;
    display: flex;
    margin-bottom: 80px;
    opacity: 1 !important;
    transform: none !important;
}

/* Marker (dot + line) */
.scr-timeline-marker {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 2;
    min-height: 300px;
}

.scr-timeline-dot {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1f7a85 0%, #fff 100%);
    border: 4px solid #0D283D;
    box-shadow: 0 0 0 6px #1f7a85;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.scr-timeline-item:hover .scr-timeline-dot {
    transform: scale(1.2);
    box-shadow: 0 0 0 8px #1f7a85;
}

.scr-timeline-dot--current {
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, #1f7a85 0%, #fff 100%);
    box-shadow: 0 0 0 8px rgba(255 255 255 / 57%), 0 0 20px rgba(31 122 133);
    animation: pulse-current 2s infinite;
}

@keyframes pulse-current {

    0%,
    100% {
        box-shadow: 0 0 0 8px rgba(255 255 255 / 57%), 0 0 20px rgba(31 122 133);
    }

    50% {
        box-shadow: 0 0 0 12px rgba(255 255 255 / 57%), 0 0 30px rgba(31 122 133);
    }
}

.scr-timeline-line {
    width: 3px;
    flex: 1;
    background: linear-gradient(180deg, rgb(31 122 133) 0%, rgb(255 255 255 / 57%) 100%);
    margin-top: 10px;
}

.scr-timeline-item--last .scr-timeline-line {
    display: none;
}

/* Content */
.scr-timeline-content {
    flex: 1;
    display: flex;
    gap: 30px;
    align-items: flex-start;
    padding-left: 40px;
}

.scr-timeline-year {
    font-size: 42px;
    font-weight: 800;
    color: #1f7a85;
    min-width: 120px;
    padding-top: 0;
    text-align: right;
    line-height: 1;
    text-shadow: 0 2px 10px rgb(255 255 255 / 17%);
}

/* Card */
.scr-timeline-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    transition: all 0.4s ease;
    flex: 1;
    max-width: 600px;
}

.scr-timeline-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 50px rgba(31 122 133);
}

.scr-timeline-card--highlight {
    border: 3px solid #1f7a85;
    box-shadow: 0 10px 40px rgba(31 122 133);
}

.scr-timeline-card--highlight:hover {
    box-shadow: 0 15px 50px rgba(31 122 133);
}

.scr-timeline-image {
    width: 100%;
    height: 300px;
    overflow: hidden;
    background: #f0f0f0;
}

.scr-timeline-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* display: block; */
    object-position: top;
    transition: transform 0.5s ease;
}

.scr-timeline-card:hover .scr-timeline-image img {
    transform: scale(1.08);
}

.scr-timeline-text {
    padding: 20px;
    background: #ffffff;
}

.scr-timeline-text h3 {
    font-size: 26px;
    font-weight: 700;
    color: #0D283D;
    margin: 0 0 15px 0;
    line-height: 1.3;
}

.scr-timeline-text p {
    color: #000000ff;
}

/* Alternating layout for desktop */
@media (min-width: 769px) {
    .scr-timeline::before {
        content: '';
        position: absolute;
        left: 50%;
        top: 0;
        bottom: 0;
        width: 3px;
        background: linear-gradient(180deg, rgba(31 122 133) 0%, rgba(255, 255, 255, 0.379) 100%);
        transform: translateX(-50%);
    }

    .scr-timeline-item {
        justify-content: flex-start;
        padding-left: 0;
    }

    .scr-timeline-marker {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        height: 100%;
    }

    /* Left side items */
    .scr-timeline-item:not(.scr-timeline-item--right) {
        flex-direction: row;
    }

    .scr-timeline-item:not(.scr-timeline-item--right) .scr-timeline-content {
        flex-direction: row-reverse;
        padding-left: 0;
        padding-right: calc(50% + 10px);
        /* justify-content: flex-end; */
    }

    .scr-timeline-item:not(.scr-timeline-item--right) .scr-timeline-year {
        text-align: left;
    }

    /* Right side items */
    .scr-timeline-item--right {
        flex-direction: row-reverse;
    }

    .scr-timeline-item--right .scr-timeline-content {
        padding-left: calc(50% + 10px);
        padding-right: 0;
    }

    .scr-timeline-item--right .scr-timeline-year {
        text-align: right;
    }
}

/* ==================== MOBILE STYLES (Vertical) ==================== */
@media (max-width: 768px) {
    .mxd-timeline-section {
        padding: 60px 0 !important;
    }

    .scr-timeline {
        margin: 0 auto;
        padding: 40px 15px 40px 40px;
    }

    .scr-timeline::before {
        content: '';
        position: absolute;
        left: 40px;
        top: 0;
        bottom: 0;
        width: 3px;
        background: linear-gradient(180deg, rgba(31 122 133) 0%, rgba(221, 241, 96, 0.25) 100%);
    }

    .scr-timeline-item {
        margin-bottom: 50px;
    }

    .scr-timeline-marker {
        position: absolute;
        left: 28px;
        min-height: auto;
    }

    .scr-timeline-content {
        flex-direction: column;
        gap: 15px;
        padding-left: 50px;
    }

    .scr-timeline-year {
        font-size: 32px;
        min-width: auto;
        text-align: left;
        padding-top: 0;
    }

    .scr-timeline-card {
        border-radius: 16px;
        max-width: 100%;
    }

    .scr-timeline-image {
        height: 220px;
    }

    .scr-timeline-text {
        padding: 25px;
    }

    .scr-timeline-text h3 {
        font-size: 22px;
        margin-bottom: 12px;
    }

    .scr-timeline-text p {
        font-size: 16px;
    }

    .scr-timeline-dot {
        width: 20px;
        height: 20px;
        border: 3px solid #0D283D;
    }

    .scr-timeline-dot--current {
        width: 24px;
        height: 24px;
    }
}

@media (max-width: 480px) {
    .scr-timeline {
        padding-left: 30px;
    }

    .scr-timeline::before {
        left: 30px;
    }

    .scr-timeline-marker {
        left: -8px;
    }

    .scr-timeline-content {
        padding-left: 35px;
    }

    .scr-timeline-year {
        font-size: 28px;
    }

    .scr-timeline-image {
        height: 200px;
    }

    .scr-timeline-text {
        padding: 10px;
    }

    .scr-timeline-text h3 {
        font-size: 20px;
    }

    .scr-timeline-text p {
        font-size: 16px;
    }
}



/* CSS SINGLE SERVIZIO */
/* Reset e ottimizzazioni performance */
.carousel-nav-mobile {
    display: none !important;
}

/* Versione Desktop */
.desktop-version {
    display: block;
}

.carousel-version {
    display: none;
}

/* Carosello - CSS ottimizzato */
.carousel-container {
    position: relative;
    overflow: hidden;
    width: 100%;
    /* Ottimizzazione performance */
    contain: layout style paint;
    will-change: transform;
}

.carousel-track {
    display: flex;
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    /* Ottimizzazione performance */
    will-change: transform;
    backface-visibility: hidden;
}

.carousel-slide {
    flex: 0 0 100%;
    padding: 25px;
    box-sizing: border-box;
    border-radius: 25px;
    /* Rimossa animazione hover */
    transition: none;
}

/* Rimossa completamente l'animazione hover */
.carousel-slide:hover {
    transform: none;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.carousel-content {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.carousel-header h3 {
    margin-bottom: 20px;
    font-size: 1.8rem;
    font-weight: 700;
    color: #2c3e50;
    text-align: center;
}

.carousel-content-wrapper {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.carousel-body {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.carousel-image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    /* Ottimizzazione immagini */
    content-visibility: auto;
}

/* Controlli navigazione */
.carousel-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
    padding: 0 15px;
    /* Ottimizzazione touch */
    touch-action: manipulation;
}

.carousel-prev,
.carousel-next {
    background: white;
    border: 2px solid #3498db;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
    /* Ottimizzazione performance */
    will-change: transform;
}

.carousel-prev:hover,
.carousel-next:hover {
    background-color: #3498db;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
}

.carousel-prev:hover svg,
.carousel-next:hover svg {
    stroke: white;
}

.carousel-prev:disabled,
.carousel-next:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Indicatori */
.carousel-indicators {
    display: flex;
    gap: 12px;
}

.carousel-indicator {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: none;
    background-color: #bdc3c7;
    cursor: pointer;
    transition: all 0.2s ease;
    /* Ottimizzazione touch */
    touch-action: manipulation;
}

.carousel-indicator.active {
    background-color: #3498db;
    transform: scale(1.2);
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
}

/* Media queries */
@media (max-width: 1400px) {
    .desktop-version {
        display: none;
    }

    .carousel-version {
        display: block;
    }
}

/* Tablet (767px - 1200px) */
@media (min-width: 767px) and (max-width: 1400px) {
    .carousel-content-wrapper {
        flex-direction: row;
        align-items: flex-start;
        gap: 30px;
    }

    .carousel-body {
        flex: 1.2;
    }

    .carousel-image {
        flex: 0.8;
        display: flex;
        align-items: flex-start;
        justify-content: center;
    }

    .carousel-image img {
        max-height: 280px;
        object-fit: cover;
    }

    .carousel-header h3 {
        text-align: left;
        font-size: 2rem;
        margin-bottom: 25px;
    }
}

/* Mobile (sotto 767px) */
@media (max-width: 766px) {
    .carousel-content-wrapper {
        flex-direction: column;
    }

    .carousel-image img {
        max-height: 220px;
        object-fit: cover;
    }

    .carousel-controls {
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }

    .carousel-indicators {
        order: -1;
        width: 100%;
        justify-content: center;
        margin-bottom: 15px;
    }

    .carousel-slide {
        padding: 20px;
    }

    .carousel-header h3 {
        font-size: 24px;
    }

    /* Miglioramenti touch per mobile */
    .carousel-container {
        -webkit-overflow-scrolling: touch;
    }

    .carousel-prev,
    .carousel-next {
        min-width: 44px;
        min-height: 44px;
    }

    .carousel-indicator {
        min-width: 16px;
        min-height: 16px;
    }
}






.img-servizio {
    width: 500px;
}

@media (max-width: 767px) {
    .img-servizio {
        width: 250px;
    }
}


.btn-tag {
    display: inline-block;
    text-decoration: none;
    cursor: pointer;
    padding: 6px 12px;
    border-radius: 100px;
    transition: all .2s ease;
}

.btn-tag:hover {
    background-color: #fff;
    color: #0d283d;
    border-color: #0d283d;
}

select {
    display: unset;
    color: #ffffff;
    background: #263240;
    border-radius: 20px;
    padding: 10px;
    width: -webkit-fill-available;
    font-size: 1.8rem;
    height: 6rem;
    border: 0px;
    border-bottom: 2px solid var(--st-medium);
}

@media only screen and (min-width: 1200px) {
    .mxd-container.grid-container.contatti {
        padding-top: 100px;
        padding-left: 7.5rem;
        padding-right: 7.5rem;
        padding-bottom: 100px;
    }
}

.scr .anim-uni-in-up p.member {
    margin-bottom: 5px;
}



/* MODIFICHE CSS PER MACBOOK 13 POLLICI */
@media (min-width: 1200px) and (max-width: 1340px) {
    .mxd-hero-09__objects {
        position: absolute;
        right: 7%;
        margin: 0;
        z-index: 1;
        top: 10rem;
    }

    .hero-09-objects__item.item-02 {
        top: 28rem;
        right: -3rem;
    }

    .hero-09-objects__item.item-02 {
        left: unset;
    }

    .hero-09-headline__tags {
        max-width: 650px;
    }

    .mxd-container.grid-container {
        padding-top: 0px;
        padding-left: 5rem;
        padding-right: 5rem;
    }

    .scr .mxd-stats-number {
        font-size: 6rem;
    }

    .plus-symbol {
        opacity: 0;
        transform: scale(0.5);
        color: #ffffff;
        font-size: 50px;
        font-weight: 600;
        line-height: 1;
        transition: all 0.4s ease-out;
    }

    .mxd-tech-stack-cards__inner {
        position: relative;
        display: -webkit-box;
        display: -moz-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-align: center;
        -moz-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        gap: 1rem;
        width: 100%;
        height: 100%;
        padding: 1rem;
    }

    .mxd-partners-cards__item {
        position: relative;
        height: 200px;
    }

    .mxd-stats-cards__image.mxd-stats-cards-image-2 {
        bottom: auto;
        top: 4rem;
        padding-top: 0;
        left: -80px;
    }

    .mxd-stats-cards__image.mxd-stats-cards-image-1 {
        width: 330px;
        top: 0;
        left: -120px;
    }

    .mxd-stats-cards__image.mxd-stats-cards-image-3 {
        width: 450px;
        top: auto;
        right: -7rem;
        bottom: 0;
        left: auto;
    }

    .mxd-stats-cards__image.mxd-stats-cards-image-4 {
        width: 280px;
        right: -90px;
    }

    .mxd-services-list__title p {
        font-size: 33px;
        line-height: normal;
    }

    h2 {
        font: normal var(--fw-medium) 40px / 1.2 var(--_font-accent);
    }
}


.pagina ol,
.pagina ul {
    box-sizing: border-box;
    padding-left: 30px;
    color: white;
    list-style: disc;
}

.pagina h2,
.pagina h3 {
    margin-bottom: 20px;
}