
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body, html {
            font-family: Raleway, Arial, sans-serif;
            background-color: #0e182f;
            color: #fff;
            overflow-x: visible;
        }

        /* STyle per menu */

        .nav-container {
            max-width: 1200px;
            margin: 0 auto;
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
        }

        .main-header {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            z-index: 10;
            background: rgba(0, 0, 0, 0.1);
            padding: 15px 15px 15px 15px;
            /*height: 75px;*/
            border-bottom: solid thin #525462;
            transition: background 0.5s ease;
        }

            .main-header.fixed {
                background: rgba(0, 0, 0, 0.9); /* opaco */
            }

            .main-header.opaque {
                background: rgba(0, 0, 0, 0.9); /* quasi opaco - mettere 1 invece di 0.9 se lo vuoi completamente opaco */
            }

            .main-header .container {
                display: flex;
                justify-content: space-between;
                align-items: center;
            }

        .logo-img {
            position: absolute;
            height: 40px;
            transition: opacity 0.6s ease;
            top: 0;
            left: 0;
        }

        .logo {
            position: relative;
            width: fit-content;
            height: 45px;
            width: 218px; /* o quanto è largo il logo */
        }

        .logo-img:not(.visible) {
            opacity: 0;
            pointer-events: none;
        }

        .logo-img.visible {
            opacity: 1;
            pointer-events: auto;
        }

        .desktop-nav {
            display: flex;
            gap: 32px;
            font-size: 12px; /* prima non c'era, vedere se toglierlo */
            font-weight: 100;
        }

            .desktop-nav a {
                color: white;
                text-decoration: none;
                font-weight: 400;
            }

        .hamburger {
            display: none;
            font-size: 28px;
            color: white;
            cursor: pointer;
        }

        .mobile-menu {
            display: none;
            position: fixed;
            top: 0;
            right: 0;
            background: #001f3f;
            width: 100%;
            height: 100%;
            padding-top: 100px;
            text-align: center;
            z-index: 998;
            flex-direction: column;
            gap: 20px;
        }

            .mobile-menu a {
                display: block;
                color: white;
                font-size: 1.5rem;
                padding: 20px 0;
                text-decoration: none;
            }

        /* Stile specifico per il pulsante "Supporto" */
        a.btn-menu {
            background-color: #336fe1;
            border-radius: 20px;
            padding: 4px 16px;
            margin-top: -4px;
            transition: background-color 0.3s ease;
        }

            a.btn-menu:hover {
                background-color: #a6b8dc;
                color: #000000;
            }

        /* Responsive */
        @media (max-width: 768px) {

            .desktop-nav {
                display: none;
            }

            .hamburger {
                position: absolute;
                display: block;
                /*margin-right: auto; Spinge tutto a destra */
                z-index: 999;
            }

                .hamburger .icon-close {
                    display: none;
                    margin-left: 80vw;
                }

                .hamburger .icon-open {
                    display: block;
                    margin-left: 80vw;
                }

            .mobile-menu.open + .hamburger .icon-open {
                display: inline;
            }

            .mobile-menu.open + .hamburger .icon-close {
                display: inline;
            }
        }

        /* Fine Style per menu */

        section {
            width: 100%;
        }

        .hero-video-section {
            position: relative;
            height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
            scroll-snap-align: start;
        }

        .hero-video-wrapper {
            position: absolute;
            top: 0;
            left: 0;
            width: 100vw;
            height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            will-change: transform, border-radius;
            z-index: 0;
            overflow: hidden;
            border-radius: 0;
        }

        .hero-bg-video {
            width: 100vw;
            height: 100vh;
            object-fit: cover;
        }

        .hero-video-section.shrunk .hero-bg-video {
            transform: translate(-50%, -50%) scale(0.8);
        }

        .highlight-overlay { /* sfumatura blu sopra il filmato */
            position: absolute;
            inset: 0;
            /* background: rgba(0, 0, 0, 0.5);*/
            /*background: #0E182F;*/
            /*background: linear-gradient(0deg,rgba(14, 24, 47, 0) 0%, rgba(14, 24, 47, 1) 100%);  con colore sfondo #0e182f */
            background: #020304;
            background: linear-gradient(0deg,rgba(2, 3, 4, 0) 0%, rgba(2, 3, 4, 0.8) 100%);
            z-index: 1;
        }

        .hero-content {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            z-index: 2;
            width: 100vw;
            max-width: 100%;
            padding: 0 5vw;
            color: white;
            text-align: center;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
        }

            .hero-content h2 {
                font-size: clamp(2rem, 6vw, 4rem);
                margin-bottom: 1rem;
                font-weight: bold;
            }

            .hero-content p {
                font-size: clamp(1rem, 3vw, 1.3rem);
                line-height: 1.6;
                font-weight: normal;
            }

        .fade-content {
            max-width: 100%;
            width: 100%;
            margin: 0 auto;
            font-size: 3.0rem;
        }

            .fade-content h2 {
                font-size: 3.0rem;
            }

            .fade-content.second {
                position: absolute;
                top: 50%;
                left: 50%;
                transform: translate(-50%, -50%);
            }

            .fade-content.third {
                position: absolute;
                top: 50%;
                left: 50%;
                transform: translate(-50%, -50%);
            }

        /* Extra filler section to test scrolling */
        .section-dark {
            background-color: #080c18;
            /*min-height: 100vh;*/
            display: flex;
            justify-content: left; /* metti center se lo vuoi centrato */
            padding: 12vh 0vw 0vh 10vw; /* top right bottom left */
            /* background: #0E182F; --- sfumatura da valutare
                    background: linear-gradient(180deg,rgba(14, 24, 47, 1) 20%, rgba(2, 3, 4, 1) 100%);*/
            background: linear-gradient(180deg,rgba(1, 1, 1, 0.7) 0%, rgba(8, 12, 24, 1) 3%); /* ombra nera in alto alla section */
        }

        .titolo1 { /* classe per il titolo di sezione che compare allo scrolling */
            font-size: 3.0rem;
            font-weight: bold;
            opacity: 0;
            transition: opacity 2.0s ease;
        }

            .titolo1.visibile { /* classe per il titolo di sezione che compare allo scrolling */
                opacity: 1;
            }

        .sottotitolo1 { /* classe per il sottotitolo di sezione che compare allo scrolling */
            padding-bottom: 10vh;
            padding-top: 1vh;
            opacity: 0;
            transition: opacity 2.0s ease;
        }

            .sottotitolo1.visibile { /* classe per il titolo di sezione che compare allo scrolling */
                opacity: 1;
            }

        /* Stile per il pulsante "normale" */
        .btn-normal {
            background-color: #336fe1;
            border-radius: 20px;
            padding: 10px 15px; /* originale 4px 16px */
            text-decoration: none;
            color: #ffffff;
            transition: background-color 0.3s ease;
            box-shadow: 1px 5px 12px #363638;
            font-size: 14px; /* originale 14px */
            font-weight: 600; /* originale 400 */
        }

            .btn-normal:hover {
                background-color: #a6b8dc;
                color: #000000;
            }

        /* parte gallery primaria */

        .gallery-wrapper {
            width: 100%;
            padding: 2vh 0 0vh 0;
        }

        .gallery {
            display: flex;
            overflow-x: auto;
            scroll-behavior: smooth;
            gap: 1rem;
            padding-left: 2rem; /* padding solo a sinistra */
            padding-right: 0; /* nessun padding a destra */
            scroll-snap-type: x mandatory;
            cursor: grab;
        }

            .gallery:active {
                cursor: grabbing;
            }

            .gallery::-webkit-scrollbar {
                display: none;
            }

        .gallery-box {
            position: relative;
            flex: 0 0 30%;
            min-width: 300px;
            min-height: 300px; /* non va lasciato statico */
            border-radius: 2rem;
            padding: 2rem;
            scroll-snap-align: start;
            box-shadow: 0 0 10px rgba(0,0,0,0.1);
            margin-right: 1rem;
            overflow: hidden;
            background-color: #020304;
            /*background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
            transition: transform 0.4s ease, filter 0.4s ease;*/

            position: relative;
        }

        /* Background separato */
        .gallery-bg {
            position: absolute;
            inset: 0;
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
            transition: transform 0.4s ease, filter 0.4s ease;
            z-index: 0;
        }

        /* Contenuto testuale */
        .gallery-text {
            position: relative;
            z-index: 1;
            padding: 1rem 1rem 0 1rem; /* top right bottom left */
            color: white;
        }

            .gallery-text p {
                padding-top: 100px;
                text-shadow: 0 0 5px rgba(0,0,0,1);
            }

        .fixed-text-block-hidden {
            display: none;
        }

        /* Finestra fissa */
        .boxidea {
            width: auto;
            height: 15vh;
            color: white;
            margin-top: 80px;
            padding: 20px 0 0 0; /* top right bottom left */
            box-sizing: border-box;
            display: flex;
            align-items: flex-end;
            overflow: hidden;
            position: relative;
        }

        /* Maschera: inizialmente mostra solo 2 righe */
        .text-mask {
            height: 2.5em; /* ~2 righe */
            overflow: hidden;
            position: relative;
            transition: height 0.4s ease-in-out;
        }

        /* Quando si passa il mouse: espandi la maschera fino al box intero */
        .gallery-box:hover .text-mask {
            height: 100%;
        }

        /* Testo interno */
        .text-scroll {
            line-height: 1.4em;
            transform: translateY(0);
            transition: transform 2s ease-in-out;
            will-change: transform;
        }

        /* Scroll al hover */
        .gallery-box:hover .text-scroll {
            transform: translateY(calc(-100% + 100%)); /* scroll completo verso l alto */
        }

        /* Effetti su hover/touch: SOLO sullo sfondo */
        .gallery-box:hover .gallery-bg,
        .gallery-box.touch-active .gallery-bg {
            transform: scale(1.05);
            filter: brightness(0.8); /* con valori sopra 1 aumenta la luminosità */
        }

        .gallery-box:last-child {
            margin-right: 0;
        }

        .gallery-controls {
            display: flex;
            justify-content: flex-end;
            gap: 1rem;
            padding: 1rem 10vw 0 0; /* top right bottom left */
        }

        .scroll-btn {
            font-size: 1.5rem;
            background-color: rgba(0, 0, 0, 0.6);
            color: white;
            padding: 0.5rem 1rem;
            border: none;
            border-radius: 1rem;
            cursor: pointer;
            opacity: 1;
            transition: opacity 0.3s;
        }

            .scroll-btn:disabled {
                opacity: 0.5;
                cursor: default;
                pointer-events: none;
            }

        /* fine parte gallery primaria */

        /* parte gallery secondaria */

        .section-light {
            padding: 5vh 0;
            background-color: #080c18;
            color: white;
        }

        .gallery-layout {
            display: flex;
            align-items: flex-start;
            gap: 2rem;
            padding: 0 2rem;
        }

        /* Fisso a sinistra */
        .fixed-text-block {
            flex: 0 0 30%;
            min-width: 300px;
            padding: 0vh 0vw 0vh 10vw; /* top right bottom left */
            color: white;
        }

        /* Scroll a destra */
        .gallery-scroll-wrapper {
            flex: 1;
            overflow: hidden;
        }

        /* Container dei box scrollabili */
        .scroll-gallery {
            display: flex;
            gap: 1rem;
            overflow-x: auto;
            scroll-snap-type: x mandatory;
            -webkit-overflow-scrolling: touch;
            padding-bottom: 1rem;
            scrollbar-width: none; /* Firefox */
        }

            .scroll-gallery::-webkit-scrollbar {
                display: none; /* Chrome, Safari */
            }

        .gallery-box.w-25 {
            flex: 0 0 25%;
        }

        .gallery-box.w-50 {
            flex: 0 0 50%;
        }

        .gallery-box.w-75 {
            flex: 0 0 75%;
        }

        /* Pulsanti */
        .scroll-buttons {
            display: flex;
            justify-content: flex-end;
            gap: 1rem;
        }
        /* fine parte gallery secondaria */

        /* Parte stargate */
        .highlight-tone {
            height: 100vh;
            display: flex;
            justify-content: center;
            align-items: center;
            text-align: left;
            color: white;
            position: relative;
            overflow: hidden;
        }

        .background-video-highlight { /* roba nuova per il video */
            position: absolute;
            top: 400px;
            left: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            z-index: 0;
            opacity: 0.8;
        }

        .highlight-content {
            position: relative;
            /*z-index: 1;*/
            /*margin: 0 auto;*/
            /*overflow: hidden;*/
            width: 100%; /**/
            height: 100vh;
            z-index: 3;
            background: linear-gradient(180deg,rgba(8, 12, 24, 1) 40%, rgba(8, 12, 24, 0.1) 70%, rgba(8, 12, 24, 0) 80%, rgba(8, 12, 24, 1) 100%);
        }

        .block {
            position: absolute;
            margin-top: 22vh;
            top: 50%;
            left: 50%;
            width: 100%;
            height: 100%;
            padding: 2rem; /* top right bottom left */
            box-sizing: border-box;
            color: white;
            opacity: 0;
            transform: translate(-50%, -50%);
            transition: all 0.4s ease-out;
            display: flex;
            justify-content: center; /* centra i figli orizzontalmente */
            align-items: flex-start; /* allinea in alto i contenuti, opzionale */
        }

        .image-block {
            width: 9vw;
            height: 9vw;
            border-radius: 2rem;
            padding: 0 0 2.1vh 1vw; /* top right bottom left */
            box-shadow: 0 0 10px rgba(0,0,0,0.1);
            color: white;
            font-size: 1.2vw;
            overflow: hidden;
            position: relative;
            display: flex;
            align-items: flex-end; /* Allinea in basso */
            justify-content: left; /* Centra orizzontalmente */
        }

            /* Sfondo animato */
            .image-block::before {
                content: "";
                position: absolute;
                top: 0;
                left: 0;
                width: 100%;
                height: 100%;
                background-size: cover;
                background-repeat: no-repeat;
                background-position: center;
                border-radius: 2rem;
                transition: transform 0.4s ease, filter 0.4s ease;
                z-index: 0;
            }

        /* Background dinamici */
        .block-bg-1::before {
            background-image: url('../images/block1.jpg');
        }

        .block-bg-2::before {
            background-image: url('../images/block2.jpg');
        }

        .block-bg-3::before {
            background-image: url('../images/block3.jpg');
        }

        /* Testo in primo piano */
        .image-block strong {
            position: relative;
            z-index: 1;
            text-shadow: 0 0 5px rgba(0,0,0,1);
        }

        /* Hover: zoom e scurimento */
        .image-block:hover::before {
            transform: scale(1.1);
            filter: brightness(0.8);
        }

        .buonsenso {
        }

        .buonsenso p{
            padding-left: 5vw;
            padding-right: 5vw;
        }

        @media (min-width: 769px) {
            .block {
                padding: 4rem;
            }

            .highlight-content h2 {
                font-size: 3rem;
                margin-bottom: 20px;
                font-weight: bold;
            }

            .highlight-content p {
                font-size: 1.0em;
                line-height: 1.6;
                color: #dce6f5;
            }
            /* Fine Parte stargate */

            /* Inizio parte Blog*/

            :root {
                --base-2: clamp(0.9rem, 1vw, 1rem);
                --scale-2: 1.25;
            }

            .dynamic-section {
                padding: 3em 10vw;
                display: grid;
                grid-template-columns: repeat(12, 1fr);
                /* Altezza uguale per righe */
                grid-auto-rows: 1fr;
                gap: 2em;
                background-color: #13172e;
            }

            .box {
                font-size: var(--base-2);
                background-color: #020304;
                color: white;
                border-radius: 1.5em;
                padding: 2em;
                box-shadow: 0 0 0.8em rgba(0,0,0,0.2);
                height: 100%; /* Riempie la cella */
                display: flex;
                flex-direction: column;
                opacity: 0;
                transform: scale(0.9);
                overflow: hidden;
            }

                .box.visible {
                    animation: zoomInBounce 0.6s ease-out forwards;
                }

            @keyframes zoomInBounce {
                0% {
                    opacity: 0;
                    transform: scale(0.8);
                }

                60% {
                    opacity: 1;
                    transform: scale(1.05);
                }

                100% {
                    opacity: 1;
                    transform: scale(1);
                }
            }

            /* Grid column spans */
            .col-4 {
                grid-column: span 4;
            }

            .col-8 {
                grid-column: span 8;
            }

            .col-12 {
                grid-column: span 12;
            }
            /* FINE Inizio parte Blog*/
        }

        /* Pulsante scoll */

        .apple-button {
            position: fixed;
            bottom: 2vh;
            /* transform: translateX(-50%) scale(0.9); /* centrato + scala iniziale */
            z-index: 9999;
            display: inline-block;
            padding: 5px 10px; /* top right bottom left */
            font-size: 12px;
            font-weight: 700;
            color: white;
            text-decoration: none;
            border-radius: 2rem;
            /*border: 1px solid darkgray;*/
            background-color: #2e2e30;
            opacity: 0;
            transform: scale(0.9);
            transition: background-color 0.3s, opacity 0.3s, transform 0.3s, box-shadow 0.3s;
            pointer-events: none; /* evitare clic se non visibile */
            display: inline-flex; /* usa flexbox per allineamento */
            align-items: center;
            gap: 8px; /*spazio tra testo e cerchio */
            margin-left: -50px; /* non so perchè non è centrato e questo - 50 non va bene! */
        }

        .apple-button-2 {
            position: absolute;
            bottom: 0vh;
            left: 50%;
            transform: translateX(-50%);
            z-index: 3;
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 5px 10px;
            font-size: 12px;
            font-weight: 700;
            color: white;
            text-decoration: none;
            border-radius: 2rem;
            background-color: #2e2e30;
            opacity: 0.9;
            pointer-events: none;
            white-space: nowrap;
        }

        .apple-button-3 {
            bottom: 0vh;
            z-index: 9999;
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 5px 10px;
            font-size: 12px;
            font-weight: 700;
            color: white;
            text-decoration: none;
            border-radius: 2rem;
            background-color: #2e2e30;
            opacity: 0.9;
            /*pointer-events: none;*/
            white-space: nowrap;
        }

        .apple-button-go {
            bottom: 0vh;
            z-index: 9999;
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 5px 10px;
            font-size: 12px;
            font-weight: 700;
            color: white;
            text-decoration: none;
            border-radius: 2rem;
            background-color: #2e2e30;
            opacity: 0.9;
            pointer-events: none;
            white-space: nowrap;
        }

        .plus-icon {
            width: 16px;
            height: 16px;
            stroke: white;
        }

        /* Testo */
        .button-text {
            white-space: nowrap;
        }

        /* Cerchio con animazione pulse */
        .pulse-circle {
            display: flex;
            justify-content: center;
            align-items: center;
            width: 28px;
            height: 28px;
            border: 2px solid #d1d1d1; /* ✅ solo bordo azzurro #0071e3 */
            border-radius: 50%;
            background-color: transparent; /* ✅ nessun riempimento */
            animation: pulse 1.5s ease-in-out infinite;
            flex-shrink: 0;
            background-color: #336fe1;
        }

        /* Freccia bianca dentro il cerchio */
        .arrow-icon {
            width: 14px;
            height: 14px;
            stroke: white;
            transform: rotate(90deg); /* 👈 Da destra a basso */
            animation: bounce-down 1.6s ease-in-out infinite; /* animazione della freccia */
        }

        /* Durante animazione */
        .apple-button.animate {
            animation: zoomFadeInOvershoot 0.6s ease-out;
            animation-delay: 0.15s; /* 👈 Ritardo leggero */
            animation-fill-mode: both; /* mantiene stato finale */
            pointer-events: auto;
        }

        /* Quando visibile in viewport */
        .apple-button.visible {
            opacity: 1;
            pointer-events: auto;
        }

        /* Animazione keyframe con overshoot e shadow */
        @keyframes zoomFadeInOvershoot {
            0% {
                opacity: 0;
                transform: scale(0.9);
                box-shadow: none;
            }

            60% {
                opacity: 1;
                transform: scale(1.05);
                box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
            }

            100% {
                opacity: 0.9;
                transform: scale(1);
                box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
            }
        }
        /* Animazione pulse */
        @keyframes pulse {
            0% {
                transform: scale(1);
                box-shadow: 0 0 0 0 rgba(0, 113, 227, 0.4);
            }

            70% {
                transform: scale(1.1);
                box-shadow: 0 0 0 8px rgba(0, 113, 227, 0);
            }

            100% {
                transform: scale(1);
                box-shadow: 0 0 0 0 rgba(0, 113, 227, 0);
            }
        }

        @keyframes bounce-down {
            0%, 100% {
                transform: translateY(0) rotate(90deg); /* ruotata verso il basso */
            }

            50% {
                transform: translateY(2px) rotate(90deg); /* leggero rimbalzo in basso */
            }
        }

.footer {
    position: relative;
    color: #ffffff;
    overflow: hidden;
    font-size: 15px;
    height: 40vh;
}

/* Sfumatura */
.footer-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    background: linear-gradient(to top, rgba(17, 23, 46, 0.4) 0%, #11172e 80%);
    z-index: 1;
}

/* Video di sfondo del footer */
.footer-background-video {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    top: 3vh;
    transform: scaleY(-1); /* Capovolge il video orizzontalmente */
}

.footer-container {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px 20px 0px;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-col {
    flex: 1;
    min-width: 250px;
    align-self: flex-end;
    padding-top: 20px;
}

    .footer-col.large {
        flex: 2;
        min-width: 300px;
        align-self: flex-end;
    }

    .footer-col p {
        margin: 10px 0;
        align-self: flex-end;
    }

.logo-footer {
    max-width: 190px;
    margin-bottom: 20px;
    opacity: 1;
}

.logo-small {
    max-width: 270px;
    margin-bottom: -7px;
}

.certificazioni {
    gap: 20px;
    margin-top: 0px;
    text-align: center;
}

    .certificazioni img {
        height: 30px;
    }



.footer-links {
    list-style: none;
    padding: 0;
}

    .footer-links li {
        margin-bottom: 8px;
    }

    .footer-links a {
        color: #bbbbbb;
        text-decoration: underline;
    }

        /* Div Cookies basso a destra */
        #cookies-fixed-div {
            position: fixed;
            top: 20px;
            right: 0;
            background-color: black;
            color: white;
            padding: 8px 15px;
            display: flex;
            align-items: center;
            gap: 10px;
            border-bottom-left-radius: 15px;
            border-top-left-radius: 15px;
            font-size: 12px;
            cursor: default;
            z-index: 10;
        }

            #cookies-fixed-div span {
                cursor: pointer;
            }

        .separator {
            color: white;
            cursor: none;
        }

        /* Pannello a scomparsa */
        #cookies-panel {
            position: fixed;
            top: 80px;
            right: -150%;
            width: 400px;
            background-color: white;
            color: black;
            padding: 20px;
            box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
            transition: right 0.4s ease;
            font-family: 'Raleway', sans-serif;
            z-index: 10;
            border-bottom-left-radius: 15px;
            border-top-left-radius: 15px;
        }

            #cookies-panel.active {
                right: 0;
            }

        #cookies-confirm-btn {
            display: block;
            margin: 20px auto 0;
            padding: 8px 16px;
            font-family: 'Raleway', sans-serif;
            background-color: black;
            color: white;
            border: none;
            cursor: pointer;
            border-radius: 5px;
        }

        #language-panel {
            position: fixed;
            top: 55px;
            right: 70px;
            width: 30px;
            background-color: white;
            color: black;
            padding: 8px;
            box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
            transition: right 0.4s ease;
            font-family: 'Raleway', sans-serif;
            z-index: 10;
            border-radius: 5px;
            font-size: 11px;
            visibility: hidden;
        }

        /* INDICATORI A DESTRA */

        .indicator-container {
            position: fixed;
            top: 50%;
            right: 20px;
            transform: translateY(-50%);
            display: flex;
            flex-direction: column;
            gap: 10px;
            z-index: 1000;
        }

        .dot {
            width: 6px;
            height: 6px;
            background-color: white;
            opacity: 0.2;
            border-radius: 50%;
            transition: all 0.3s ease;
        }

            .dot.active {
                background-color: white; /*#336fe1 questo è l'azzurro dei pulsanti */
                opacity: 0.8;
                transform: scale(1.4);
            }

        /* FINE INDICATORI A DESTRA */

        @media (max-width: 768px) {

            #cookies-fixed-div {
                width: 50px;
                height: 50px;
                border-radius: 50%;
                padding: 0;
                justify-content: center;
                top: 650px;
                right: 15px;
                box-shadow: 0 0px 3px #ffffff;
            }

                #cookies-fixed-div span:not(.cookie-icon),
                .separator {
                    display: none;
                }

            .cookie-icon {
                display: block;
                font-size: 20px;
                cursor: pointer;
                z-index: 1000;
            }

            .fade-content h2 {
                font-size: 2.1rem;
                padding-left: 7vw;
                padding-right: 7vw;
                line-height: 1.1;
            }

            .fade-content p {
                font-size: 0.9rem;
                padding-left: 10vw;
                padding-right: 10vw;
            }

            .btn-normal {
                font-size: 12px;
            }

            .titolo1 {
                font-size: 2.1rem;
            }

            .sottotitolo1 {
                font-size: 0.9rem;
            }

            .highlight-content h2 {
                font-size: 2.1rem;
                line-height: 1.1;
            }

            .highlight-content p {
                padding-top: 2vh;
                font-size: 0.9rem;
            }

            /* Testo interno */
            .text-scroll {
                line-height: 1.0em;
            }

            .text-mask {
                height: 2.0em; /* ~2 righe */
            }

                .block {
                margin-top: 15vh;
            }

                .image-block {
                display: none;
            }

            .gallery-box {
                flex: 0 0 30%;
                min-width: 300px;
                min-height: 300px; /* non va lasciato statico */
                border-radius: 2rem;
                padding: 1.2rem;
                margin-right: 1rem;
            }

            /* Contenuto testuale */
            .gallery-text {
                position: relative;
                z-index: 1;
                padding: 1rem 1rem 0 1rem; /* top right bottom left */
            }

                .gallery-text p {
                    padding-top: 50px;
                    text-shadow: 0 0 5px rgba(0,0,0,1);
                    font-size: 0.9rem;
                }

            .fixed-text-block {
                display: none;
            }

            .fixed-text-block-hidden {
                display: block;
                font-size: 0.9em;
                padding-left: 7vw;
                padding-right: 7vw;
                margin-top: -10%;
            }

            .dynamic-section {
                background-color: #080c18;
            }

            .dynamic-section h3 {
                padding: 0.5em;
            }

            .dynamic-section p {
                padding: 1em;
            }

            .col-4 {
                grid-column: span 12;
                margin-top: 3vh;
                margin-bottom: 3vh;
                margin-left: 10vw;
                margin-right: 10vw;
                border-radius: 1em;
            }

            .col-8 {
                grid-column: span 12;
                margin-top: 3vh;
                margin-bottom: 3vh;
                margin-left: 10vw;
                margin-right: 10vw;
                border-radius: 1em;
            }

            .col-12 {
                margin-top: 3vh;
                margin-bottom: 3vh;
                margin-left: 10vw;
                margin-right: 10vw;
                border-radius: 1em;
            }

            .footer {
                font-size: 11px;
            }

            .footer-container {
                padding: 10px 10px 10px 0px;
                flex-direction: row;
                align-items: center;
                text-align: center;
                display: flex;
            }

            .footer-col {
                margin-bottom: 0px;
                padding-top: 5px;
            }

            .logo-footer {
                margin-top: 20px;
                margin-bottom: 8px;
                opacity: 1;
            }

            .logo-small {
                visibility: hidden;
            }

            .certificazioni {
                justify-content: center;
                flex-wrap: wrap;
            }

                .certificazioni img {
                    height: 25px;
                    gap: 10px;
                }

            .copyright {
                margin-top: 10px;
            }

            .indicator-container {
                display: none;
            }

            #cookies-panel {
                font-size: 11px;
            }
            
        }

        /* Parte testo scorrevole all'over nella sezione IDEA */

        .boxidea-2 {
            min-width: 220px;
            height: 460px;
            color: white;
            padding: 10px;
            box-sizing: border-box;
            display: flex;
            align-items: flex-end;
            overflow: hidden;
            position: relative;
            padding-bottom: 0px;
            padding-top: 0px;
        }

        /* Maschera: inizialmente mostra solo 2 righe */
        .text-mask-2 {
            height: 10.0em; /* ~2 righe era 3.8 */
            min-width: 220px;
            overflow: hidden;
            position: relative;
            transition: height 0.4s ease-in-out;
        }

        /* Quando si passa il mouse: espandi la maschera fino al box intero */
        .boxidea-2:hover .text-mask-2 {
            height: 100%;
            min-width: 220px;
        }

        /* Testo interno */
        .text-scroll-2 {
            line-height: 1.4em;
            transform: translateY(0);
            transition: transform 2s ease-in-out;
            will-change: transform;
            min-width: 220px;
        }

        /* Scroll al hover */
        .boxidea-2:hover .text-scroll-2 {
            transform: translateY(calc(-100% + 100%)); /* scroll completo verso l alto */
        }

        /* Gradiente in basso */
        .boxidea-2::after {
            content: "";
            position: absolute;
            bottom: 0;
            left: 0;
            height: 100px;
            width: 100%;
            background: linear-gradient(to top, rgba(8, 12, 24, 1) 20%, rgba(8, 12, 24, 0) 100%);
            pointer-events: none;
            z-index: 2;
        }
    /* Fine parte testo scorrevole all'over nella sezione IDEA */

/* LAYER CONTATTI ***************************************************************************** */

/* Div nascosto fuori dalla viewport */
.box_contatti {
    position: fixed;
    top: 76px;
    right: -100vw; /* parte fuori dalla viewport a destra */
    width: 98vw;
    height: 78px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    transition: right 0.4s ease;
    z-index: 1000;
    color: black;
    border-bottom-left-radius: 25px;
    border-top-left-radius: 25px;
}

    /* Stato attivo: il div entra */
    .box_contatti.active {
        right: 0;
    }

    /* Testo */
    .box_contatti p {
        margin: 0;
        font-size: 18px;
        font-weight: 500;
    }

/* Pulsante chiusura */
.close-btn {
    position: absolute;
    right: 20px;
    font-size: 22px;
    cursor: pointer;
    user-select: none;
}

/* Frecce rosse a sinistra */
.arrows {
    position: absolute;
    left: 30px;
    font-size: 36px;
    color: red;
    font-weight: bold;
    animation: blink 1.5s infinite;
}

/* Effetto lampeggiante */
@keyframes blink {
    0%, 100% {
        opacity: 1;
    }

    50% {
        opacity: 0.2;
    }
}

/* Link di apertura */
.nav {
    padding: 20px;
    background: #eee;
}

    .nav a {
        cursor: pointer;
        color: #333;
        text-decoration: none;
        font-weight: bold;
    }

/* FINE LAYER CONTATTI ***************************************************************************** */
 