* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #010611;
    color: #ffffff;
    font-family:
        Arial,
        Helvetica,
        sans-serif;
    overflow-x: hidden;
}

/* =====================================================
   LINEA DI AVANZAMENTO DELLO SCROLL
   barra in alto: indica quanto si è scesi nella pagina
===================================================== */

.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10000;
    width: 0;
    height: 3px;
    background:
        linear-gradient(90deg,
            rgba(0, 217, 255, 0.20) 0%,
            #00d9ff 55%,
            #20e5ff 100%);
    box-shadow:
        0 0 10px rgba(0, 217, 255, 0.75),
        0 0 22px rgba(0, 217, 255, 0.40);
    pointer-events: none;
}

/* =====================================================
   MISURE DELL'HEADER
   l'altezza segue la larghezza dello schermo ma non supera mai il 16%
   dell'altezza della finestra: cosi' su schermi bassi (laptop, finestre
   ridotte) l'header non finisce sopra i testi della hero
===================================================== */

:root {
    --header-h:
        clamp(76px,
            min(11.5vw,
                16vh),
            165px);
    --header-h-hover:
        clamp(84px,
            min(12.5vw,
                17.5vh),
            180px);
}

/* =====================================================
   HEADER
===================================================== */

.header {
    width: 100%;
    height: var(--header-h);
    position: fixed;
    top: 0;
    padding: 0 3%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background:
        rgba(9,
            40,
            64,
            0.42);
    backdrop-filter:
        blur(6px);
    z-index: 999;
    transition:
        height 0.6s cubic-bezier(0.22,
            1,
            0.36,
            1),
        background-color 0.6s ease,
        box-shadow 0.6s ease,
        backdrop-filter 0.6s ease;
    transform-origin:
        top center;
}

/* =====================================================
   HEADER SCROLLED
===================================================== */

.header.scrolled {
    --header-h:
        clamp(70px,
            min(9.7vw,
                13.5vh),
            140px);
    background:
        rgba(9,
            40,
            64,
            0.55);
    backdrop-filter:
        blur(12px);
    box-shadow:
        0 4px 25px rgba(0,
            0,
            0,
            0.22);
}

.header:hover {
    --header-h: var(--header-h-hover);
    box-shadow:
        0 10px 45px rgba(0,
            200,
            255,
            0.10);
}

.header.scrolled:hover {
    --header-h:
        clamp(76px,
            min(10.8vw,
                14.5vh),
            155px);
}

/* =====================================================
   LOGO HEADER
===================================================== */

.logo {
    height: 100%;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 2;
    flex-shrink: 0;
}

.logo img {
    display: block;
    height:
        clamp(54px,
            min(11.5vw,
                14vh),
            155px);
    width: auto;
    max-width: none;
    object-fit: contain;
    transform:
        scale(1);
    filter:
        drop-shadow(0 0 0 rgba(0,
                225,
                255,
                0));
    will-change:
        transform,
        filter;
    transition:
        height 0.6s cubic-bezier(0.22,
            1,
            0.36,
            1),
        transform 0.3s cubic-bezier(0.22,
            1,
            0.36,
            1),
        filter 0.3s cubic-bezier(0.22,
            1,
            0.36,
            1);
}

.logo:hover img {
    transform:
        scale(1.035);
    filter:
        drop-shadow(0 0 6px rgba(0,
                225,
                255,
                0.9)) drop-shadow(0 0 18px rgba(0,
                190,
                255,
                0.65)) drop-shadow(0 0 35px rgba(0,
                140,
                255,
                0.35));
}

.header.scrolled .logo img {
    height:
        clamp(48px,
            min(9.7vw,
                12vh),
            130px);
}

.header.scrolled:hover .logo img {
    transform:
        scale(1.04);
    filter:
        drop-shadow(0 0 6px rgba(0,
                225,
                255,
                0.9)) drop-shadow(0 0 18px rgba(0,
                190,
                255,
                0.65)) drop-shadow(0 0 32px rgba(0,
                140,
                255,
                0.35));
}

/* =====================================================
   MENU
===================================================== */

.menu {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: auto;
    height: 100%;
    margin-left: auto;
    padding-left: clamp(8px, 1.3vw, 20px);
    padding-right: clamp(8px, 1.3vw, 20px);
    list-style: none;
    gap: clamp(6px, 1.6vw, 25px);
}

.menu-item {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    transform:
        scale(1);
    transform-origin:
        center center;
    will-change:
        transform,
        filter;
    transition:
        transform 0.3s cubic-bezier(0.22,
            1,
            0.36,
            1),
        filter 0.3s cubic-bezier(0.22,
            1,
            0.36,
            1);
}

/* (separatori verticali tra voci di menu rimossi) */

/* =====================================================
   HOVER MENU
===================================================== */

.menu-item:hover {
    transform:
        scale(1.12);
    filter:
        drop-shadow(0 0 8px rgba(0,
                225,
                255,
                0.60));
}

.menu-item:hover .nav-link {
    color:
        #00d9ff;
    background:
        rgba(0,
            217,
            255,
            0.08);
    box-shadow:
        0 0 15px rgba(0,
            217,
            255,
            0.16),
        inset 0 0 12px rgba(0,
            217,
            255,
            0.05);
}

/* =====================================================
   LINK
===================================================== */

.nav-link {
    display: inline-block;
    padding:
        clamp(7px, 0.9vw, 12px) clamp(9px, 1.4vw, 20px);
    color:
        #ffffff;
    text-decoration:
        none;
    font-size:
        clamp(13px, 1.45vw, 20px);
    font-weight:
        600;
    letter-spacing:
        0.5px;
    border-radius:
        10px;
    white-space:
        nowrap;
    transition:
        color 0.3s ease,
        background-color 0.3s ease,
        box-shadow 0.3s ease;
}

/* =====================================================
   HERO
===================================================== */

.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 700px;
    overflow: hidden;
    isolation: isolate;
    background:
        #010611;
}

/* =====================================================
   SFONDO
===================================================== */

.hero-background {
    position: absolute;
    inset: 0;
    z-index: -10;
    background:

        radial-gradient(ellipse at 62% 48%,
            rgba(0,
                210,
                255,
                0.20) 0%,
            rgba(0,
                120,
                200,
                0.14) 20%,
            rgba(0,
                40,
                80,
                0.55) 45%,
            rgba(1,
                6,
                17,
                0.96) 80%);
}

/* =====================================================
   GLOW
===================================================== */

.hero-glow {
    position: absolute;
    width: 850px;
    height: 850px;
    left: 60%;
    top: 50%;
    transform:
        translate(-50%,
            -50%);
    border-radius:
        50%;
    z-index:
        -7;
    pointer-events:
        none;
    background:

        radial-gradient(circle,
            rgba(0,
                240,
                255,
                0.75) 0%,
            rgba(0,
                210,
                255,
                0.48) 18%,
            rgba(0,
                150,
                255,
                0.28) 38%,
            rgba(0,
                80,
                255,
                0.12) 58%,
            transparent 75%);
    filter:
        blur(45px);
    opacity:
        0.55;
}

/* =====================================================
   VIGNETTE
===================================================== */

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events:
        none;
    background:

        radial-gradient(ellipse at center,
            transparent 28%,
            rgba(0,
                5,
                20,
                0.15) 50%,
            rgba(0,
                3,
                15,
                0.88) 100%);
}

/* =====================================================
   LOGO 3D
===================================================== */

.logo-3d {
    position: absolute;
    width:
        min(48vw,
            650px);
    height:
        min(48vw,
            650px);
    left:
        62%;
    top:
        50%;
    transform:
        translate(-50%,
            -50%) scale(1);
    transform-origin:
        center center;
    z-index:
        3;
    pointer-events:
        auto;
    transition:
        transform 0.6s cubic-bezier(0.22,
            1,
            0.36,
            1),
        filter 0.6s cubic-bezier(0.22,
            1,
            0.36,
            1);
}

.logo-3d:hover {
    transform:
        translate(-50%,
            -50%) scale(1.08);
    filter:
        drop-shadow(0 0 7px rgba(0,
                225,
                255,
                0.65)) drop-shadow(0 0 15px rgba(0,
                180,
                255,
                0.22)) drop-shadow(0 0 35px rgba(0,
                180,
                255,
                0.12));
}

.logo-3d canvas {
    display:
        block;
    width:
        100% !important;
    height:
        100% !important;
}

/* =====================================================
   PARTICELLE
===================================================== */

.particles {
    position:
        absolute;
    inset:
        0;
    z-index:
        1;
    pointer-events:
        none;
}

.particles span {
    position:
        absolute;
    width:
        12px;
    height:
        12px;
    min-width:
        12px;
    min-height:
        12px;
    border-radius:
        50%;
    background:
        #5cecff;
    box-shadow:

        0 0 10px rgba(0,
            225,
            255,
            1),
        0 0 25px rgba(0,
            150,
            255,
            0.95),
        0 0 50px rgba(0,
            170,
            255,
            0.6);
    opacity:
        0.8;
    will-change:
        transform,
        left,
        top,
        opacity;
}

/* =====================================================
   CONTENUTO HERO
===================================================== */

.hero-content {
    position:
        absolute;
    left:
        5.5%;
    /* centrata nello spazio libero sotto l'header */
    top:
        calc(50% + var(--header-h-hover) / 2);
    transform:
        translateY(-50%);
    width:
        420px;
    z-index:
        5;
}

.hero-title-group {
    display:
        inline-block;
    width:
        fit-content;
    transform:
        scale(1);
    transform-origin:
        left center;
    will-change:
        transform,
        filter;
    transition:
        transform 0.3s cubic-bezier(0.22,
            1,
            0.36,
            1),
        filter 0.3s cubic-bezier(0.22,
            1,
            0.36,
            1);
    cursor:
        default;
}

.hero-title-group:hover {
    transform:
        scale(1.035);
    filter:
        drop-shadow(0 0 8px rgba(0,
                225,
                255,
                0.30)) drop-shadow(0 0 20px rgba(0,
                180,
                255,
                0.16));
}

/* =====================================================
   EYEBROW
===================================================== */

.hero-eyebrow {
    display:
        inline-block;
    color:
        #20e5ff;
    font-size:
        11px;
    font-weight:
        500;
    letter-spacing:
        4px;
    margin-bottom:
        25px;
    transform:
        scale(1);
    transform-origin:
        left center;
    transition:
        color 0.3s ease;
}

.hero-title-group:hover .hero-eyebrow {
    color:
        #5cecff;
}

/* =====================================================
   TITOLO
===================================================== */

.hero-title {
    margin:
        0;
}

.title-main {
    display:
        inline-block;
    font-size:
        clamp(55px,
            6vw,
            92px);
    line-height:
        0.95;
    letter-spacing:
        -5px;
    font-weight:
        700;
}

.title-highlight {
    color:
        #00ddff;
    text-shadow:
        0 0 15px rgba(0,
            220,
            255,
            0.35);
}

/* =====================================================
   SOTTOTITOLO
===================================================== */

.hero-subtitle {
    width:
        350px;
    margin-top:
        30px;
    color:
        rgba(255,
            255,
            255,
            0.58);
    font-size:
        15px;
    line-height:
        1.7;
    transform:
        scale(1);
    transform-origin:
        left center;
    will-change:
        transform,
        filter;
    transition:
        transform 0.3s cubic-bezier(0.22,
            1,
            0.36,
            1),
        color 0.3s ease,
        filter 0.3s ease;
}

.hero-subtitle:hover {
    color:
        rgba(255,
            255,
            255,
            0.88);
    transform:
        scale(1.035);
    filter:
        drop-shadow(0 0 8px rgba(0,
                210,
                255,
                0.22));
}

/* =====================================================
   BOTTONE HERO
===================================================== */

.hero-button {
    display:
        inline-flex;
    align-items:
        center;
    justify-content:
        space-between;
    gap:
        45px;
    min-width:
        200px;
    margin-top:
        35px;
    padding:
        15px 18px;
    border:
        1px solid #00dfff;
    color:
        #ffffff;
    text-decoration:
        none;
    font-size:
        11px;
    letter-spacing:
        2px;
    transform:
        scale(1);
    transform-origin:
        left center;
    will-change:
        transform,
        box-shadow,
        filter;
    transition:
        transform 0.3s cubic-bezier(0.22,
            1,
            0.36,
            1),
        background-color 0.3s ease,
        box-shadow 0.3s ease,
        filter 0.3s ease;
}

.hero-button:hover {
    background:
        rgba(0,
            220,
            255,
            0.08);
    box-shadow:
        0 0 15px rgba(0,
            220,
            255,
            0.22),
        0 0 35px rgba(0,
            180,
            255,
            0.12),
        inset 0 0 15px rgba(0,
            220,
            255,
            0.06);
    transform:
        scale(1.08);
    filter:
        drop-shadow(0 0 7px rgba(0,
                225,
                255,
                0.65));
}

.hero-button strong {
    color:
        #00e5ff;
    font-size:
        20px;
    font-weight:
        400;
}

/* =====================================================
   CAROUSEL PACCHETTI
===================================================== */

.pricing-carousel-section {
    position:
        relative;
    width:
        100%;
    min-height:
        100vh;
    /* la card 3D e' piu' alta del carosello: senza questo spazio il
       bordo della sezione (overflow hidden) taglia il tasto SCOPRI DI PIU' */
    padding-bottom:
        clamp(90px,
            11vh,
            150px);
    background:
        radial-gradient(ellipse at 50% 40%,
            rgba(0,
                100,
                180,
                0.10),
            transparent 60%),
        #010611;
    overflow:
        hidden;
    isolation:
        isolate;
}

/* =====================================================
   TITOLO CAROUSEL
===================================================== */

.pricing-carousel-heading {
    position:
        relative;
    z-index:
        10;
    text-align:
        center;
    margin-bottom:
        35px;
    margin-top: 200px;
}

.pricing-carousel-heading span {
    display:
        block;
    color:
        #20e5ff;
    font-size:
        11px;
    letter-spacing:
        4px;
    margin-bottom:
        14px;
}

.pricing-carousel-heading h2 {
    margin:
        0;
    font-size:
        clamp(38px,
            5vw,
            62px);
    letter-spacing:
        -2px;
    line-height:
        1;
}

.pricing-carousel-heading p {
    margin-top:
        16px;
    color:
        rgba(255,
            255,
            255,
            0.55);
    font-size:
        15px;
    margin-bottom: 100px;
}

/* =====================================================
   AREA CAROUSEL
===================================================== */

.pricing-carousel-wrap {
    position:
        relative;
    width:
        min(1400px,
            100%);
    height:
        650px;
    margin:
        0 auto;
    display:
        flex;
    align-items:
        center;
    justify-content:
        center;
}

.pricing-carousel {
    width:
        100%;
    height:
        100%;
    position:
        relative;
    perspective:
        1500px;
    display:
        flex;
    align-items:
        center;
    justify-content:
        center;
}

.pricing-carousel-track {
    width:
        100%;
    height:
        100%;
    position:
        relative;
    transform-style:
        preserve-3d;
}

/* =====================================================
   CARD
===================================================== */

.pricing-card {
    width:
        390px;
    height:
        700px;
    position:
        absolute;
    top:
        50%;
    left:
        50%;
    overflow:
        hidden;
    border-radius:
        25px;
    background:
        linear-gradient(145deg,
            rgba(28,
                39,
                57,
                0.96),
            rgba(7,
                12,
                22,
                0.98));
    border:
        1px solid rgba(255,
            255,
            255,
            0.14);
    transform-style:
        preserve-3d;
    transition:
        transform 0.7s cubic-bezier(0.22,
            1,
            0.36,
            1),
        opacity 0.7s ease,
        filter 0.7s ease,
        box-shadow 0.7s ease;
    will-change:
        transform;
    backface-visibility:
        hidden;
}

/* =====================================================
   POSIZIONI
===================================================== */

.pricing-position-center {
    transform:
        translate(-50%,
            -50%) translateZ(170px) scale(1);
    z-index:
        5;
    opacity:
        1;
    filter:
        brightness(1);
    box-shadow:
        0 0 0 1px rgba(255,
            255,
            255,
            0.08),
        0 0 35px var(--pricing-glow),
        0 35px 90px rgba(0,
            0,
            0,
            0.70);
}

.pricing-position-left {
    transform:
        translate(-50%,
            -50%) translateX(-355px) translateZ(-100px) rotateY(23deg) scale(0.79);
    z-index:
        2;
    opacity:
        0.72;
    filter:
        brightness(0.68);
    box-shadow:
        0 25px 65px rgba(0,
            0,
            0,
            0.65);
}

.pricing-position-right {
    transform:
        translate(-50%,
            -50%) translateX(355px) translateZ(-100px) rotateY(-23deg) scale(0.79);
    z-index:
        2;
    opacity:
        0.72;
    filter:
        brightness(0.68);
    box-shadow:
        0 25px 65px rgba(0,
            0,
            0,
            0.65);
}

/* =====================================================
   COLORI PACCHETTI
===================================================== */

.pricing-standard {
    --pricing-color:
        #55bfff;
    --pricing-glow:
        rgba(55,
            175,
            255,
            0.45);
}

.pricing-medium {
    --pricing-color:
        #ffc84a;
    --pricing-glow:
        rgba(255,
            191,
            55,
            0.48);
}

.pricing-premium {
    --pricing-color:
        #ad72ff;
    --pricing-glow:
        rgba(165,
            90,
            255,
            0.48);
}

/* =====================================================
   GLOW
===================================================== */

.pricing-card-glow {
    position:
        absolute;
    width:
        350px;
    height:
        350px;
    top:
        -160px;
    left:
        50%;
    transform:
        translateX(-50%);
    border-radius:
        50%;
    background:
        radial-gradient(circle,
            var(--pricing-glow) 0%,
            transparent 70%);
    filter:
        blur(30px);
    opacity:
        0.35;
    pointer-events:
        none;
}

/* =====================================================
   CONTENUTO
===================================================== */

.pricing-card-content {
    position:
        absolute;
    inset:
        0;
    z-index:
        2;
    display:
        flex;
    flex-direction:
        column;
    align-items:
        center;
    text-align:
        center;
    padding:
        35px 28px 28px;
}

.pricing-small-title {
    font-size:
        17px;
    letter-spacing:
        2px;
    color:
        #d5dbe5;
    margin-bottom:
        7px;
}

.pricing-card h3 {
    font-size:
        34px;
    letter-spacing:
        3px;
    color:
        var(--pricing-color);
    text-shadow:
        0 0 20px var(--pricing-glow);
    margin-bottom:
        25px;
}

/* =====================================================
   ICONA
===================================================== */

.pricing-icon {
    width:
        105px;
    height:
        105px;
    border-radius:
        50%;
    display:
        flex;
    align-items:
        center;
    justify-content:
        center;
    font-size:
        54px;
    color:
        var(--pricing-color);
    border:
        1px solid var(--pricing-color);
    background:
        rgba(10,
            17,
            30,
            0.65);
    box-shadow:
        0 0 25px var(--pricing-glow),
        inset 0 0 20px rgba(255,
            255,
            255,
            0.03);
    margin-bottom:
        22px;
}

/* =====================================================
   TITOLO SERVIZIO
===================================================== */

.pricing-card h4 {
    font-size:
        19px;
    letter-spacing:
        0.5px;
    margin-bottom:
        12px;
    color:
        #ffffff;
}

.pricing-description {
    max-width:
        290px;
    min-height:
        48px;
    font-size:
        14px;
    line-height:
        1.55;
    color:
        #b7c0cf;
}

/* =====================================================
   DIVISORE
===================================================== */

.pricing-divider {
    width:
        100%;
    height:
        1px;
    margin:
        15px 0 13px;
    background:
        linear-gradient(90deg,
            transparent,
            rgba(255,
                255,
                255,
                0.15),
            transparent);
}

/* =====================================================
   FEATURES
===================================================== */

.pricing-features {
    list-style:
        none;
    width:
        100%;
    text-align:
        left;
    flex:
        1;
}

.pricing-features li {
    display:
        flex;
    align-items:
        center;
    gap:
        10px;
    font-size:
        14px;
    color:
        #d7dce5;
    margin-bottom:
        8px;
    line-height:
        1.25;
}

.pricing-features li span {
    color:
        var(--pricing-color);
    font-size:
        17px;
    font-weight:
        bold;
    text-shadow:
        0 0 10px var(--pricing-glow);
}

/* =====================================================
   PREZZO
===================================================== */

.pricing-price {
    font-size:
        34px;
    font-weight:
        600;
    color:
        var(--pricing-color);
    text-shadow:
        0 0 20px var(--pricing-glow);
    margin:
        8px 0 15px;
}

/* =====================================================
   BOTTONE
===================================================== */

.pricing-discover-button {
    display:
        flex;
    flex-shrink:
        0;
    align-items:
        center;
    justify-content:
        center;
    text-decoration:
        none;
    width:
        100%;
    height:
        50px;
    border-radius:
        10px;
    background:
        rgba(10,
            17,
            29,
            0.7);
    border:
        1px solid var(--pricing-color);
    color:
        var(--pricing-color);
    font-size:
        14px;
    font-weight:
        bold;
    letter-spacing:
        1px;
    cursor:
        pointer;
    transition:
        background 0.25s ease,
        box-shadow 0.25s ease,
        transform 0.25s ease;
}

.pricing-discover-button:hover {
    background:
        var(--pricing-glow);
    color:
        #ffffff;
    box-shadow:
        0 0 25px var(--pricing-glow);
    transform:
        translateY(-2px);
}

.pricing-discover-button:active {
    transform:
        translateY(0) scale(0.98);
}

/* =====================================================
   CARD CENTRALE
===================================================== */

.pricing-position-center .pricing-card-glow {
    opacity:
        0.7;
}

.pricing-position-center .pricing-icon {
    box-shadow:
        0 0 35px var(--pricing-glow),
        inset 0 0 25px rgba(255,
            255,
            255,
            0.04);
}

.pricing-position-center.pricing-standard {
    border-color:
        rgba(85,
            191,
            255,
            0.9);
}

.pricing-position-center.pricing-medium {
    border-color:
        rgba(255,
            200,
            74,
            0.95);
    box-shadow:
        0 0 0 1px rgba(255,
            200,
            74,
            0.15),
        0 0 45px rgba(255,
            193,
            64,
            0.38),
        0 35px 90px rgba(0,
            0,
            0,
            0.75);
}

.pricing-position-center.pricing-premium {
    border-color:
        rgba(173,
            114,
            255,
            0.9);
}

/* =====================================================
   FRECCE CAROUSEL
===================================================== */

.pricing-carousel-arrow {
    position:
        absolute;
    top:
        50%;
    transform:
        translateY(-50%);
    width:
        78px;
    height:
        78px;
    border-radius:
        50%;
    display:
        flex;
    align-items:
        center;
    justify-content:
        center;
    z-index:
        20;
    cursor:
        pointer;
    background:
        rgba(7,
            15,
            30,
            0.85);
    border:
        1px solid rgba(100,
            185,
            255,
            0.75);
    color:
        #ffffff;
    font-size:
        37px;
    line-height:
        1;
    transition:
        transform 0.25s ease,
        background 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.pricing-arrow-left {
    left:
        0;
}

.pricing-arrow-right {
    right:
        0;
}

.pricing-carousel-arrow:hover {
    background:
        rgba(35,
            110,
            190,
            0.35);
    border-color:
        rgba(100,
            200,
            255,
            1);
    box-shadow:
        0 0 35px rgba(60,
            170,
            255,
            0.5);
    transform:
        translateY(-50%) scale(1.1);
}

.pricing-carousel-arrow:active {
    transform:
        translateY(-50%) scale(0.94);
}

/* =====================================================
   PIATTAFORMA
===================================================== */

.pricing-carousel::after {
    content:
        "";
    position:
        absolute;
    width:
        1000px;
    height:
        150px;
    left:
        50%;
    bottom:
        15px;
    transform:
        translateX(-50%);
    border-radius:
        50%;
    border:
        1px solid rgba(70,
            160,
            255,
            0.25);
    box-shadow:
        0 0 35px rgba(40,
            130,
            255,
            0.15),
        inset 0 0 25px rgba(40,
            130,
            255,
            0.08);
    pointer-events:
        none;
}

/* =====================================================
   SEZIONE SUCCESSIVA
===================================================== */

.next-section {
    position:
        relative;
    min-height:
        100vh;
    padding:
        150px 7%;
    background:

        radial-gradient(circle at 50% 0%,
            rgba(0,
                180,
                255,
                0.10),
            transparent 40%),
        #010611;
}

.next-section-content {
    max-width:
        1000px;
}

.next-section-content>span {
    color:
        #00dfff;
    font-size:
        11px;
    letter-spacing:
        4px;
}

.next-section h2 {
    margin-top:
        20px;
    font-size:
        clamp(50px,
            7vw,
            100px);
    line-height:
        0.95;
    letter-spacing:
        -5px;
}

/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 768px) {
    .header {
        width:
            94vw;
        left:
            3vw;
        height:
            100px;
        padding:
            0 4%;
    }

    .header.scrolled {
        height:
            85px;
    }

    .header:hover {
        height:
            110px;
    }

    .header.scrolled:hover {
        height:
            95px;
    }

    .logo img {
        height:
            clamp(60px, 22vw, 90px);
    }

    .header.scrolled .logo img {
        height:
            clamp(52px, 19vw, 75px);
    }

    .menu {
        width:
            auto;
        gap:
            18px;
        padding-left:
            10px;
        padding-right:
            10px;
    }

    .menu-item {
        transform-origin:
            center center;
    }

    .nav-link {
        font-size:
            16px;
        padding:
            8px 10px;
    }

    .hero {
        min-height:
            700px;
    }

    .logo-3d {
        width:
            110vw;
        height:
            110vw;
        left:
            50%;
        top:
            38%;
    }

    .hero-glow {
        width:
            600px;
        height:
            600px;
        left:
            50%;
        top:
            40%;
    }

    .hero-content {
        left:
            25px;
        top:
            auto;
        bottom:
            70px;
        transform:
            none;
        width:
            330px;
    }

    .hero-eyebrow {
        font-size:
            9px;
        letter-spacing:
            3px;
        margin-bottom:
            18px;
    }

    .title-main {
        font-size:
            48px;
        letter-spacing:
            -3px;
    }

    .hero-subtitle {
        width:
            290px;
        font-size:
            13px;
        margin-top:
            18px;
    }

    .hero-button {
        margin-top:
            20px;
    }

    /* =================================================
       CAROUSEL MOBILE
    ================================================= */

    .pricing-carousel-section {
        min-height:
            720px;
        padding:
            75px 0 80px;
    }

    .pricing-carousel-heading {
        padding:
            0 20px;
        margin-bottom:
            0;
    }

    .pricing-carousel-heading h2 {
        font-size:
            34px;
    }

    .pricing-carousel-heading p {
        font-size:
            13px;
    }

    .pricing-carousel-wrap {
        height:
            570px;
        width:
            100vw;
    }

    .pricing-card {
        width:
            285px;
        height:
            470px;
        border-radius:
            20px;
    }

    .pricing-position-center {
        transform:
            translate(-50%,
                -50%) translateZ(100px) scale(0.90);
    }

    .pricing-position-left {
        transform:
            translate(-50%,
                -50%) translateX(-165px) translateZ(-100px) rotateY(28deg) scale(0.60);
    }

    .pricing-position-right {
        transform:
            translate(-50%,
                -50%) translateX(165px) translateZ(-100px) rotateY(-28deg) scale(0.60);
    }

    .pricing-card-content {
        padding:
            25px 22px 22px;
    }

    .pricing-small-title {
        font-size:
            13px;
    }

    .pricing-card h3 {
        font-size:
            27px;
        margin-bottom:
            17px;
    }

    .pricing-icon {
        width:
            78px;
        height:
            78px;
        font-size:
            40px;
        margin-bottom:
            15px;
    }

    .pricing-card h4 {
        font-size:
            15px;
    }

    .pricing-description {
        font-size:
            12px;
        min-height:
            40px;
    }

    .pricing-features li {
        font-size:
            12px;
        margin-bottom:
            6px;
    }

    .pricing-features li span {
        font-size:
            14px;
    }

    .pricing-price {
        font-size:
            28px;
        margin:
            5px 0 10px;
    }

    .pricing-discover-button {
        height:
            44px;
        font-size:
            12px;
    }

    .pricing-carousel-arrow {
        width:
            48px;
        height:
            48px;
        font-size:
            23px;
    }

    .pricing-arrow-left {
        left:
            4px;
    }

    .pricing-arrow-right {
        right:
            4px;
    }

    .pricing-carousel::after {
        width:
            500px;
        height:
            100px;
        bottom:
            20px;
    }
}


/* =====================================================
   SCHERMI BASSI
   laptop e finestre non alte: hero piu' compatta e card dei pacchetti
   piu' contenute, cosi' il tasto SCOPRI DI PIU' resta sempre visibile
===================================================== */

@media (max-height: 800px) {

    .title-main {
        font-size:
            clamp(42px, 5.4vw, 72px);
    }

    .hero-eyebrow {
        margin-bottom:
            18px;
    }

    .hero-subtitle {
        font-size:
            14px;
        margin-top:
            22px;
    }

    .hero-button {
        margin-top:
            24px;
    }

    /* la card dei pacchetti non si rimpicciolisce qui: la sua misura si
       adatta da sola con --pack-scale (vedi la fine di questo file) */

}

@media (max-height: 640px) {

    .hero-eyebrow {
        font-size: 9px;
        letter-spacing: 3px;
        margin-bottom: 12px;
    }

    .title-main {
        font-size:
            clamp(32px, 4.3vw, 52px);
        letter-spacing: -3px;
    }

    .hero-subtitle {
        font-size: 12.5px;
        line-height: 1.6;
        margin-top: 14px;
    }

    .hero-button {
        margin-top: 16px;
        padding: 12px 15px;
        gap: 30px;
    }

}

/* finestre molto basse e larghe: la hero non supera l'altezza della
   finestra, cosi' il contenuto si vede tutto senza scorrere */
@media (max-height: 640px) and (min-width: 769px) {

    .hero {
        min-height: 0;
    }

}


/* =====================================================
   FOOTER
===================================================== */

.site-footer {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    width: 100%;
    padding: 85px 7% 25px;
    color: #ffffff;
    font-family: Arial, Helvetica, sans-serif;
    background-color: #07334f;
    /* profondita': riga cyan in alto, bagliore a sinistra, griglia finissima */
    background-image:
        linear-gradient(90deg, rgba(32, 229, 255, 0) 0%, rgba(32, 229, 255, 0.8) 50%, rgba(32, 229, 255, 0) 100%),
        radial-gradient(ellipse 70% 90% at 12% 0%, rgba(0, 190, 255, 0.18), transparent 62%),
        repeating-linear-gradient(0deg, rgba(32, 229, 255, 0.05) 0 1px, transparent 1px 72px),
        repeating-linear-gradient(90deg, rgba(32, 229, 255, 0.05) 0 1px, transparent 1px 72px);
    background-repeat: no-repeat, no-repeat, repeat, repeat;
    background-size: 100% 1px, auto, auto, auto;
    box-shadow: 0 -15px 50px rgba(0, 0, 0, 0.25);
}

/* =====================================================
   FIRMA GRAFICA DI SFONDO
===================================================== */

.footer-watermark {
    position: absolute;
    right: 2%;
    bottom: -0.06em;
    z-index: -1;
    color: rgba(32, 229, 255, 0.055);
    font-size: clamp(80px, 15vw, 220px);
    font-weight: 700;
    letter-spacing: -6px;
    line-height: 0.82;
    white-space: nowrap;
    user-select: none;
    pointer-events: none;
}

/* =====================================================
   CONTENUTO: BRAND + NAVIGA + CONTATTI
===================================================== */

.footer-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: clamp(30px, 5vw, 70px);
    padding-bottom: 70px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    max-width: 340px;
}

.footer-logo {
    display: block;
    height: clamp(46px, 5vw, 66px);
    width: auto;
    transition: filter 0.35s ease, transform 0.35s ease;
}

.footer-brand:hover .footer-logo {
    filter: drop-shadow(0 0 18px rgba(32, 229, 255, 0.55));
    transform: translateY(-2px);
}

.footer-brand p {
    margin: 0;
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.65;
}

/* =====================================================
   COLONNE
===================================================== */

.footer-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

/* =====================================================
   TITOLI
===================================================== */

.footer-label {
    margin-bottom: 15px;
    color: #20e5ff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 4px;
}

/* =====================================================
   TESTI
===================================================== */

.footer-column a,
.footer-column p {
    margin: 0;
    color:
        #ffffff;
    font-size:
        15px;
    font-weight:
        700;
    line-height:
        1.5;
    text-decoration:
        none;
    transition:
        color 0.25s ease,
        transform 0.25s ease,
        text-shadow 0.25s ease;
}

/* LINK CONTATTI */

.footer-column>a:hover {
    color:
        #5cecff;
    transform:
        translateX(4px);
    text-shadow:
        0 0 12px rgba(0,
            225,
            255,
            0.45);
}

/* =====================================================
   LINEA DI SEPARAZIONE (con la luce che la percorre)
===================================================== */

.footer-line {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1400px;
    height: 1px;
    margin: 0 auto;
    overflow: hidden;
    background:
        linear-gradient(90deg,
            rgba(32, 229, 255, 0) 0%,
            rgba(32, 229, 255, 0.5) 50%,
            rgba(32, 229, 255, 0) 100%);
}

.footer-line::after {
    content: "";
    position: absolute;
    top: 0;
    left: -20%;
    width: 20%;
    height: 100%;
    background:
        linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.9), transparent);
    animation: footerLineRun 6s ease-in-out infinite;
}

@keyframes footerLineRun {
    0% {
        left: -20%;
    }

    60% {
        left: 100%;
    }

    100% {
        left: 100%;
    }
}

/* "riduci movimento": la linea resta, si ferma solo la luce che la percorre */
@media (prefers-reduced-motion: reduce) {
    .footer-line::after {
        animation: none;
        opacity: 0;
    }
}

/* =====================================================
   TORNA SU + FIRMA
===================================================== */

.footer-top {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.65);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-decoration: none;
    transition: color 0.25s ease;
}

.footer-top strong {
    font-size: 14px;
    transition: transform 0.3s ease;
}

.footer-top:hover {
    color: #20e5ff;
}

.footer-top:hover strong {
    transform: translateY(-4px);
}

.footer-signature {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin: 34px 0 0;
    color: rgba(255, 255, 255, 0.35);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-align: center;
}

.footer-signature i {
    color: #20e5ff;
    font-style: normal;
    font-size: 9px;
}

/* =====================================================
   PARTE BASSA
===================================================== */

.footer-bottom {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding-top: 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.footer-bottom span,
.footer-legal a {
    color:
        rgba(255,
            255,
            255,
            0.65);
    font-size:
        11px;
    font-weight:
        700;
    text-decoration:
        none;
}

.footer-legal {
    display: flex;
    gap: 25px;
}

.footer-legal a {
    transition:
        color 0.25s ease;
}

.footer-legal a:hover {
    color:
        #20e5ff;
}

/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 768px) {
    .site-footer {
        padding: 65px 25px 25px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 42px;
        padding-bottom: 50px;
    }

    .footer-brand {
        max-width: none;
    }

    .footer-watermark {
        right: -14%;
        bottom: 0;
        font-size: 92px;
        letter-spacing: -3px;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }

    .footer-legal {
        gap: 18px;
        flex-wrap: wrap;
    }

    .footer-signature {
        margin-top: 26px;
    }
}

/* =========================
   FAQ SECTION
========================= */

.faq-section {
    width: 100%;
    padding: 110px 7%;
    background: #ffffff;
    color: #07334f;
    font-family: Arial, Helvetica, sans-serif;
}

/* =========================
   HEADER
========================= */

.faq-header {
    max-width: 850px;
    margin: 0 auto 60px;
    text-align: center;
}

.faq-eyebrow {
    display: block;
    margin-bottom: 15px;
    color: #07334f;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 4px;
}

.faq-header h2 {
    margin: 0 0 15px;
    color: #07334f;
    font-size: clamp(36px, 5vw, 64px);
    font-weight: 700;
    line-height: 1.05;
}

.faq-header p {
    margin: 0;
    color: rgba(7, 51, 79, 0.65);
    font-size: 16px;
    font-weight: 500;
    line-height: 1.6;
}

/* =========================
   FAQ CONTAINER
========================= */

.faq-container {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
}

/* =========================
   FAQ ITEM
========================= */

.faq-item {
    margin-bottom: 14px;
    border: 1px solid rgba(7, 51, 79, 0.15);
    border-radius: 10px;
    background: #ffffff;
    overflow: hidden;
    transition:
        transform 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}

/* =========================
   DOMANDA
========================= */

.faq-question {
    width: 100%;
    padding: 24px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    border: none;
    background: transparent;
    color: #07334f;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 17px;
    font-weight: 700;
    text-align: left;
    cursor: pointer;
    transition:
        color 0.3s ease,
        padding 0.3s ease;
}

/* Icona + */

.faq-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: 1px solid rgba(7, 51, 79, 0.3);
    border-radius: 50%;
    color: #07334f;
    font-size: 22px;
    font-weight: 400;
    line-height: 1;
    transition:
        transform 0.3s ease,
        background 0.3s ease,
        color 0.3s ease,
        border-color 0.3s ease;
}

/* =========================
   HOVER
========================= */

.faq-item:hover {
    transform: scale(1.015);
    border-color: rgba(7, 51, 79, 0.45);
    box-shadow:
        0 10px 35px rgba(7, 51, 79, 0.12),
        0 0 20px rgba(7, 51, 79, 0.08);
}

.faq-item:hover .faq-question {
    color: #07334f;
}

.faq-item:hover .faq-icon {
    border-color: #07334f;
    box-shadow: 0 0 14px rgba(7, 51, 79, 0.18);
}

/* =========================
   RISPOSTA
========================= */

.faq-answer {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.4s ease;
}

.faq-answer-inner {
    min-height: 0;
    overflow: hidden;
}

.faq-answer-inner p {
    margin: 0;
    padding: 0 28px 0;
    color: rgba(7, 51, 79, 0.72);
    font-size: 15px;
    font-weight: 500;
    line-height: 1.7;
    opacity: 0;
    transition:
        opacity 0.25s ease,
        padding 0.4s ease;
}

/* =========================
   FAQ APERTA
========================= */

.faq-item.active {
    border-color: rgba(7, 51, 79, 0.35);
    box-shadow:
        0 12px 40px rgba(7, 51, 79, 0.10);
}

.faq-item.active .faq-answer {
    grid-template-rows: 1fr;
}

.faq-item.active .faq-answer-inner p {
    padding: 0 28px 26px;
    opacity: 1;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
    background: #07334f;
    border-color: #07334f;
    color: #ffffff;
}

/* =========================
   MOBILE
========================= */

@media (max-width: 768px) {
    .faq-section {
        padding: 75px 25px;
    }

    .faq-header {
        margin-bottom: 40px;
    }

    .faq-header h2 {
        font-size: 38px;
    }

    .faq-header p {
        font-size: 15px;
    }

    .faq-question {
        padding: 20px;
        font-size: 15px;
    }

    .faq-icon {
        width: 28px;
        height: 28px;
        font-size: 19px;
    }

    .faq-item.active .faq-answer-inner p {
        padding: 0 20px 22px;
    }

    .faq-item:hover {
        transform: scale(1.01);
    }
}

/* =====================================================
   CHI SIAMO - PREVIEW
===================================================== */

.about-preview {
    position: relative;
    width: 100%;
    min-height: 850px;
    padding:
        150px 7% 160px;
    background: #ffffff;
    color: #07334f;
    overflow: hidden;
    isolation: isolate;
}

/* =====================================================
   CONTENITORE
===================================================== */

.about-preview-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns:
        0.95fr 1.05fr;
    gap: 110px;
    align-items: start;
}

/* =====================================================
   EYEBROW
===================================================== */

.about-eyebrow {
    display: block;
    margin-bottom: 25px;
    color: #07334f;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 4px;
}

/* =====================================================
   TITOLO
===================================================== */

.about-preview-heading h2 {
    margin: 0;
    color: #07334f;
    font-size:
        clamp(52px,
            6vw,
            88px);
    line-height: 0.96;
    letter-spacing: -4px;
    font-weight: 700;
}

.about-preview-heading h2 strong {
    color: #07334f;
    font-weight: 700;
}

/* =====================================================
   CONTENUTO
===================================================== */

.about-preview-content {
    max-width: 620px;
    padding-top: 45px;
}

.about-preview-content>p {
    margin: 0 0 25px;
    color:
        rgba(7,
            51,
            79,
            0.68);
    font-size: 16px;
    line-height: 1.8;
    font-weight: 500;
}

.about-preview-content .about-intro {
    color: #07334f;
    font-size: 21px;
    line-height: 1.65;
    font-weight: 500;
    margin-bottom: 25px;
}

.about-preview-content .about-intro strong {
    color: #07334f;
    font-weight: 700;
}

/* =====================================================
   VALORI
===================================================== */

.about-values {
    margin-top: 55px;
    border-top:
        1px solid rgba(7,
            51,
            79,
            0.16);
}

.about-value {
    display: grid;
    grid-template-columns:
        65px 1fr;
    gap: 25px;
    padding:
        25px 0;
    border-bottom:
        1px solid rgba(7,
            51,
            79,
            0.16);
    transition:
        transform 0.3s ease,
        padding-left 0.3s ease;
}

.about-value:hover {
    transform: translateX(8px);
    padding-left: 8px;
}

.about-value-number {
    color: #07334f;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    padding-top: 4px;
    opacity: 0.7;
}

.about-value h3 {
    margin: 0 0 6px;
    color: #07334f;
    font-size: 18px;
    font-weight: 700;
}

.about-value p {
    margin: 0;
    color:
        rgba(7,
            51,
            79,
            0.60);
    font-size: 14px;
    line-height: 1.6;
}

/* =====================================================
   BOTTONE
===================================================== */

.about-button {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 55px;
    min-width: 220px;
    margin-top: 45px;
    padding:
        16px 19px;
    border:
        1px solid #07334f;
    color: #07334f;
    background: transparent;
    text-decoration: none;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    transition:
        background 0.3s ease,
        color 0.3s ease,
        box-shadow 0.3s ease,
        transform 0.3s ease;
}

.about-button strong {
    color: #07334f;
    font-size: 20px;
    font-weight: 400;
    transition:
        transform 0.3s ease,
        color 0.3s ease;
}

.about-button:hover {
    background: #07334f;
    color: #ffffff;
    box-shadow:
        0 12px 35px rgba(7,
            51,
            79,
            0.20);
    transform:
        translateY(-3px);
}

.about-button:hover strong {
    color: #ffffff;
    transform:
        translateX(5px);
}

/* =====================================================
   ELEMENTO GRAFICO DI SFONDO
===================================================== */

.about-background-number {
    position: absolute;
    z-index: 0;
    right: -30px;
    bottom: -95px;
    color:
        rgba(7,
            51,
            79,
            0.035);
    font-size:
        clamp(220px,
            28vw,
            500px);
    line-height: 0.8;
    font-weight: 700;
    letter-spacing: -25px;
    pointer-events: none;
    user-select: none;
}

/* =====================================================
   PICCOLO DETTAGLIO GRAFICO
===================================================== */

.about-preview::before {
    content: "";
    position: absolute;
    width: 320px;
    height: 320px;
    right: 8%;
    top: 12%;
    border-radius: 50%;
    border:
        1px solid rgba(7,
            51,
            79,
            0.07);
    box-shadow:
        0 0 0 35px rgba(7,
            51,
            79,
            0.018),
        0 0 0 70px rgba(7,
            51,
            79,
            0.012);
    pointer-events: none;
}

/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 768px) {
    .about-preview {
        min-height: auto;
        padding:
            90px 25px 100px;
    }

    .about-preview-inner {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .about-preview-heading h2 {
        font-size: 48px;
        letter-spacing: -3px;
        line-height: 0.98;
    }

    .about-preview-content {
        padding-top: 15px;
        max-width: none;
    }

    .about-preview-content .about-intro {
        font-size: 18px;
        line-height: 1.6;
    }

    .about-preview-content>p {
        font-size: 14px;
        line-height: 1.75;
    }

    .about-values {
        margin-top: 40px;
    }

    .about-value {
        grid-template-columns:
            45px 1fr;
        gap: 15px;
        padding: 22px 0;
    }

    .about-value h3 {
        font-size: 16px;
    }

    .about-value p {
        font-size: 13px;
    }

    .about-button {
        width: 100%;
        margin-top: 35px;
    }

    .about-background-number {
        right: -20px;
        bottom: -20px;
        font-size: 200px;
    }

    .about-preview::before {
        width: 200px;
        height: 200px;
        right: -80px;
        top: 20%;
    }
}

/* =====================================================
   CTA FINALE
===================================================== */

.contact-final {
    position: relative;
    min-height: 650px;
    padding: 145px 7%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: #ffffff;
    color: #07334f;
    overflow: hidden;
}

.contact-final .section-eyebrow {
    color: #07334f;
}

.contact-final h2 {
    position: relative;
    z-index: 2;
    margin: 24px 0 18px;
    color: #07334f;
    font-size: clamp(52px, 7vw, 100px);
    line-height: 0.93;
    letter-spacing: -5px;
}

.contact-final h2 strong {
    color: #07334f;
}

.contact-final > p {
    position: relative;
    z-index: 2;
    margin: 0;
    color: rgba(7, 51, 79, 0.58);
    font-size: 16px;
}

.final-contact-button {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 65px;
    min-width: 255px;
    margin-top: 40px;
    padding: 17px 20px;
    border: 1px solid #07334f;
    color: #07334f;
    text-decoration: none;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    transition:
        transform 0.3s ease,
        background 0.3s ease,
        color 0.3s ease,
        box-shadow 0.3s ease;
}

.final-contact-button strong {
    font-size: 21px;
    font-weight: 400;
}

.final-contact-button:hover {
    transform: translateY(-3px);
    background: #07334f;
    color: #ffffff;
    box-shadow:
        0 15px 40px rgba(7, 51, 79, 0.20);
}

.contact-final-glow {
    position: absolute;
    width: 500px;
    height: 500px;
    left: 50%;
    top: 52%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background:
        radial-gradient(
            circle,
            rgba(0, 220, 255, 0.10),
            transparent 68%
        );
    filter: blur(25px);
    pointer-events: none;
}

/* =====================================================
   ANIMAZIONE TITOLO CTA FINALE
   stessa animazione title-hover di Chi siamo
===================================================== */

.contact-final h2 {
    position: relative;
    z-index: 2;
    margin: 24px 0 18px;
    color: #07334f;
    font-size: clamp(52px, 7vw, 100px);
    line-height: 0.93;
    letter-spacing: -5px;
    display: inline-block;
    width: fit-content;
    transform: scale(1);
    transform-origin: center center;
    will-change: transform, filter;
    transition:
        transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
        filter 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.contact-final h2:hover {
    transform: scale(1.035);
    filter:
        drop-shadow(0 0 8px rgba(0, 225, 255, 0.30))
        drop-shadow(0 0 20px rgba(0, 180, 255, 0.16));
}

.contact-final h2 strong {
    color: #07334f;
}

/* =====================================================
   CURSOR GLOW
   luce che segue il mouse (come Chi siamo)
===================================================== */

.cursor-glow {
    position: fixed;
    z-index: 9999;
    width: 180px;
    height: 180px;
    pointer-events: none;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background:
        radial-gradient(circle, rgba(0, 234, 255, 0.07), transparent 68%);
    filter: blur(8px);
    mix-blend-mode: screen;
}

@media (max-width: 900px) {
    .cursor-glow {
        display: none;
    }
}

/* =====================================================
   REVEAL ALLO SCROLL
   come la pagina Contatti (titoli di sezione)
===================================================== */

.about-preview-heading,
.pricing-carousel-heading,
.why-us-heading {
    opacity: 0;
    transform:
        translateY(35px);
    transition:
        opacity 0.8s ease,
        transform 0.8s ease;
}

.about-preview-heading.visible,
.pricing-carousel-heading.visible,
.why-us-heading.visible {
    opacity: 1;
    transform:
        translateY(0);
}

/* =====================================================
   PERCHÉ SCEGLIERE NOI
   sezione bianca introduttiva prima dei pacchetti
===================================================== */

.why-us {
    position: relative;
    width: 100%;
    padding: 140px 7% 150px;
    background: #ffffff;
    color: #07334f;
    overflow: hidden;
    isolation: isolate;
}

/* =====================================================
   DETTAGLI GRAFICI DI SFONDO
===================================================== */

.why-us::before,
.why-us::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.why-us::before {
    width: 320px;
    height: 320px;
    right: -70px;
    top: 6%;
    border: 1px solid rgba(7, 51, 79, 0.07);
    box-shadow:
        0 0 0 35px rgba(7, 51, 79, 0.016),
        0 0 0 70px rgba(7, 51, 79, 0.010);
}

.why-us::after {
    width: 240px;
    height: 240px;
    left: -60px;
    bottom: 8%;
    border: 1px solid rgba(7, 51, 79, 0.06);
    box-shadow:
        0 0 0 28px rgba(7, 51, 79, 0.014),
        0 0 0 56px rgba(7, 51, 79, 0.008);
}

/* =====================================================
   CONTENITORE
===================================================== */

.why-us-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

/* =====================================================
   INTESTAZIONE
===================================================== */

.why-us-heading {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.why-us-eyebrow {
    display: block;
    margin-bottom: 20px;
    color: #07334f;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 4px;
}

.why-us-heading h2 {
    margin: 0;
    color: #07334f;
    font-size:
        clamp(44px,
            6vw,
            80px);
    line-height: 0.98;
    letter-spacing: -4px;
    font-weight: 700;
}

.why-us-heading h2 strong {
    color: #07334f;
    font-weight: 700;
}

.why-us-heading p {
    margin: 22px auto 0;
    max-width: 720px;
    color:
        rgba(7,
            51,
            79,
            0.68);
    font-size: 17px;
    line-height: 1.7;
    font-weight: 500;
}

/* =====================================================
   GRIGLIA MOTIVI
===================================================== */

.why-us-grid {
    margin-top: 80px;
    display: grid;
    grid-template-columns:
        repeat(3,
            1fr);
    gap: 26px;
}

.why-us-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 34px 32px 36px;
    border: 1px solid rgba(7, 51, 79, 0.14);
    border-radius: 18px;
    background: #ffffff;
    transition:
        transform 0.35s cubic-bezier(0.22,
            1,
            0.36,
            1),
        border-color 0.35s ease,
        box-shadow 0.35s ease;
}

.why-us-card-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    margin-bottom: 24px;
    border: 1px solid rgba(7, 51, 79, 0.28);
    border-radius: 50%;
    color: #07334f;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    transition:
        background 0.35s ease,
        color 0.35s ease,
        border-color 0.35s ease,
        box-shadow 0.35s ease;
}

.why-us-card h3 {
    margin: 0 0 10px;
    color: #07334f;
    font-size: 19px;
    font-weight: 700;
    letter-spacing: -0.3px;
}

.why-us-card p {
    margin: 0;
    color:
        rgba(7,
            51,
            79,
            0.65);
    font-size: 14px;
    line-height: 1.7;
    font-weight: 500;
}

.why-us-card:hover {
    transform: translateY(-6px);
    border-color: rgba(7, 51, 79, 0.40);
    box-shadow:
        0 18px 45px rgba(7, 51, 79, 0.10),
        0 0 22px rgba(0, 220, 255, 0.12);
}

.why-us-card:hover .why-us-card-number {
    background: #07334f;
    border-color: #07334f;
    color: #ffffff;
    box-shadow:
        0 8px 22px rgba(7, 51, 79, 0.25);
}

/* =====================================================
   PERCHÉ UN SITO WEB — SEZIONE DATI REALI
   sezione scura prima dei pacchetti (home)
===================================================== */

.need-section {
    position: relative;
    width: 100%;
    padding: 170px 7% 130px;
    background:
        radial-gradient(700px 340px at 12% 10%, rgba(32, 229, 255, 0.08), transparent 62%),
        radial-gradient(850px 420px at 90% 85%, rgba(0, 145, 255, 0.12), transparent 62%),
        radial-gradient(1000px 520px at 50% 45%, rgba(0, 110, 200, 0.07), transparent 70%),
        #010611;
    overflow: hidden;
    isolation: isolate;
    border-top: 1px solid rgba(32, 229, 255, 0.20);
    border-bottom: 1px solid rgba(32, 229, 255, 0.08);
}

.need-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1380px;
    margin: 0 auto;
}

/* -------------------------
   SFONDI ANIMATI
------------------------- */

.need-bg-grid {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image:
        linear-gradient(rgba(32, 229, 255, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(32, 229, 255, 0.045) 1px, transparent 1px);
    background-size: 92px 92px;
    -webkit-mask-image: radial-gradient(ellipse 75% 65% at 50% 42%, #000 20%, transparent 78%);
    mask-image: radial-gradient(ellipse 75% 65% at 50% 42%, #000 20%, transparent 78%);
    pointer-events: none;
    animation: needGridFloat 30s linear infinite;
}

@keyframes needGridFloat {
    from { background-position: 0 0, 0 0; }
    to   { background-position: 0 92px, 92px 0; }
}

.need-glow {
    position: absolute;
    z-index: 0;
    border-radius: 50%;
    filter: blur(64px);
    pointer-events: none;
    mix-blend-mode: screen;
}

.need-glow-a {
    width: 420px;
    height: 420px;
    left: -150px;
    top: 6%;
    background: radial-gradient(circle, rgba(32, 229, 255, 0.18), transparent 70%);
    animation: needFloatA 10s ease-in-out infinite alternate;
}

.need-glow-b {
    width: 540px;
    height: 540px;
    right: -190px;
    bottom: 2%;
    background: radial-gradient(circle, rgba(0, 150, 255, 0.16), transparent 70%);
    animation: needFloatB 12s ease-in-out infinite alternate;
}

@keyframes needFloatA {
    from { transform: translate3d(0, 0, 0) scale(1); }
    to   { transform: translate3d(60px, 45px, 0) scale(1.18); }
}

@keyframes needFloatB {
    from { transform: translate3d(0, 0, 0) scale(1.1); }
    to   { transform: translate3d(-55px, -35px, 0) scale(0.92); }
}

.need-watermark {
    position: absolute;
    z-index: 0;
    left: 50%;
    top: 4%;
    transform: translateX(-50%);
    font-size: clamp(150px, 26vw, 470px);
    font-weight: 900;
    letter-spacing: 8px;
    line-height: 1;
    white-space: nowrap;
    color: transparent;
    background: linear-gradient(180deg, rgba(32, 229, 255, 0.065), rgba(32, 229, 255, 0.004) 72%);
    -webkit-background-clip: text;
    background-clip: text;
    pointer-events: none;
    user-select: none;
    animation: needWatermark 14s ease-in-out infinite alternate;
}

@keyframes needWatermark {
    from { transform: translateX(-50%) translateY(0); }
    to   { transform: translateX(-46%) translateY(26px); }
}

/* -------------------------
   INTESTAZIONE
------------------------- */

.need-heading {
    max-width: 1020px;
    margin: 0 auto;
    text-align: center;
}

.need-eyebrow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-bottom: 24px;
    color: #20e5ff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 4.5px;
}

.need-eyebrow::before,
.need-eyebrow::after {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #20e5ff;
    box-shadow: 0 0 12px rgba(32, 229, 255, 0.9);
    animation: needBlink 1.8s ease-in-out infinite;
}

.need-eyebrow::after {
    animation-delay: 0.9s;
}

@keyframes needBlink {
    0%, 100% { opacity: 0.25; }
    50%      { opacity: 1; }
}

.need-heading h2 {
    margin: 0;
    color: #ffffff;
    font-size: clamp(40px, 5.6vw, 80px);
    font-weight: 700;
    line-height: 1.02;
    letter-spacing: -3.5px;
}

.need-highlight {
    position: relative;
    color: transparent;
    background: linear-gradient(100deg, #20e5ff, #0090ff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.need-heading p {
    margin: 26px auto 0;
    max-width: 660px;
    color: rgba(255, 255, 255, 0.58);
    font-size: 16px;
    line-height: 1.7;
}

/* -------------------------
   GRIGLIA DATI
------------------------- */

.need-stats {
    position: relative;
    margin: 95px auto 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    overflow: hidden;
    border-radius: 24px;
}

.need-beam {
    position: absolute;
    top: -12%;
    bottom: -12%;
    left: -180px;
    width: 150px;
    background: linear-gradient(90deg, transparent, rgba(32, 229, 255, 0.12), transparent);
    transform: skewX(-18deg);
    pointer-events: none;
    animation: needBeam 7s ease-in-out infinite;
}

@keyframes needBeam {
    0%      { left: -180px; }
    55%     { left: 115%; }
    100%    { left: 115%; }
}

.need-stat {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 30px 26px 26px;
    border-radius: 22px;
    background: linear-gradient(160deg, rgba(13, 25, 44, 0.92), rgba(4, 10, 22, 0.94));
    border: 1px solid rgba(32, 229, 255, 0.14);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 18px 45px rgba(0, 0, 0, 0.35);
    overflow: hidden;
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.35s ease, box-shadow 0.35s ease;
}

.need-stat::before {
    content: "";
    position: absolute;
    top: 0;
    left: 12%;
    right: 12%;
    height: 2px;
    border-radius: 0 0 6px 6px;
    background: linear-gradient(90deg, transparent, rgba(32, 229, 255, 0.85), transparent);
    opacity: 0;
    transition: opacity 0.35s ease;
}

.need-stat:hover {
    transform: translateY(-8px);
    border-color: rgba(32, 229, 255, 0.5);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 26px 60px rgba(0, 0, 0, 0.5), 0 0 36px rgba(32, 229, 255, 0.16);
}

.need-stat:hover::before {
    opacity: 1;
}

.need-stat-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.need-stat-index {
    color: rgba(32, 229, 255, 0.55);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2.5px;
}

.need-stat-source {
    padding: 5px 11px;
    color: rgba(185, 232, 255, 0.8);
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    border: 1px solid rgba(32, 229, 255, 0.25);
    border-radius: 999px;
}

.need-num-row {
    display: flex;
    align-items: baseline;
    margin-bottom: 18px;
    filter: drop-shadow(0 0 16px rgba(32, 229, 255, 0.35));
    transition: filter 0.35s ease, transform 0.35s ease;
}

.need-stat:hover .need-num-row {
    filter: drop-shadow(0 0 28px rgba(32, 229, 255, 0.65));
    transform: translateY(-2px);
}

.need-num {
    color: transparent;
    font-size: clamp(56px, 6.6vw, 92px);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -5px;
    background: linear-gradient(180deg, #ffffff 30%, #8deeff 95%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* =====================================================
   HAMBURGER
   nascosto su desktop, visibile solo su telefono
===================================================== */

.menu-toggle {
    display: none;
    position: relative;
    z-index: 1002;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 48px;
    height: 48px;
    padding: 0;
    flex-shrink: 0;
    border: 1px solid rgba(0, 217, 255, 0.35);
    border-radius: 12px;
    background: rgba(0, 217, 255, 0.06);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition:
        border-color 0.3s ease,
        background-color 0.3s ease,
        box-shadow 0.3s ease;
}

.menu-toggle:hover {
    border-color: rgba(0, 217, 255, 0.7);
    background: rgba(0, 217, 255, 0.12);
    box-shadow: 0 0 18px rgba(0, 217, 255, 0.22);
}

.menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    border-radius: 2px;
    background: #ffffff;
    transition:
        transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
        opacity 0.2s ease;
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* =====================================================
   TELEFONO + TABLET
   il menu diventa un pannello dentro l'hamburger.

   Le regole valgono solo con la classe "js" su <html>
   (aggiunta da uno script nell'head): se il JavaScript
   è spento il menu resta visibile come prima.
===================================================== */

@media (max-width: 1024px) {

    /* --- HAMBURGER VISIBILE --- */

    .js .header .menu-toggle {
        display: flex;
    }

    /* --- LOGO SOPRA IL PANNELLO --- */

    .header .logo {
        position: relative;
        z-index: 1003;
    }

    /* --- SFONDO SCURITO DIETRO AL MENU --- */

    .js .header::before {
        content: "";
        position: fixed;
        inset: 0;
        z-index: -1;
        background: rgba(1, 6, 17, 0.62);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition:
            opacity 0.4s ease,
            visibility 0.4s ease;
    }

    .header.menu-open::before {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    /*
     * backdrop-filter crea un containing block per
     * gli elementi "fixed": a menu aperto lo togliamo,
     * così il pannello resta ancorato alla viewport
     * anche quando l'header è in stato "scrolled".
     */

    .header.menu-open {
        backdrop-filter: none;
    }

    /* --- PANNELLO MENU --- */

    .js .header .menu {
        position: fixed;
        top: 0;
        right: 0;
        z-index: 1001;
        width: min(78vw, 320px);
        height: 100vh;
        height: 100dvh;
        margin-left: 0;
        padding: 140px 16px 30px;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 6px;
        overflow-y: auto;
        background:
            linear-gradient(180deg,
                rgba(8, 44, 70, 0.99) 0%,
                rgba(1, 10, 22, 0.99) 100%);
        border-left: 1px solid rgba(0, 217, 255, 0.28);
        box-shadow: -25px 0 60px rgba(0, 0, 0, 0.55);
        transform: translateX(105%);
        visibility: hidden;
        transition:
            transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
            visibility 0.45s ease;
    }

    .header.menu-open .menu {
        transform: translateX(0);
        visibility: visible;
    }

    /* --- VOCI DEL MENU --- */

    .js .header .menu-item {
        width: 100%;
    }

    .js .header .menu-item:hover {
        transform: none;
        filter: none;
    }

    .js .header .nav-link {
        display: block;
        width: 100%;
        padding: 16px 14px;
        font-size: 18px;
        text-align: left;
        border-radius: 12px;
    }

    /* --- NIENTE SCROLL DI FONDO --- */

    body.menu-open {
        overflow: hidden;
    }
}

/* =====================================================
   TELEFONO PICCOLO
===================================================== */

@media (max-width: 480px) {

    .js .header .menu {
        width: 100%;
        border-left: 0;
    }
}

.need-sign {
    margin-left: 6px;
    color: #20e5ff;
    font-size: clamp(24px, 2.6vw, 38px);
    font-weight: 700;
    opacity: 0.85;
}

.need-stat-text {
    flex: 1;
    margin: 0;
    color: rgba(235, 246, 255, 0.72);
    font-size: 14.5px;
    line-height: 1.6;
}

/* -------------------------
   CHIUSURA + CTA
------------------------- */

.need-footer {
    position: relative;
    margin: 85px auto 0;
    text-align: center;
}

.need-footer::before {
    content: "";
    display: block;
    width: min(620px, 100%);
    height: 1px;
    margin: 0 auto 46px;
    background: linear-gradient(90deg, transparent, rgba(32, 229, 255, 0.5), transparent);
}

.need-footer-text {
    color: rgba(255, 255, 255, 0.85);
    font-size: clamp(19px, 2.6vw, 27px);
    font-weight: 500;
    line-height: 1.5;
}

.need-footer-text strong {
    color: #ffffff;
}

.need-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-top: 36px;
    padding: 19px 38px;
    border-radius: 14px;
    border: 1px solid rgba(32, 229, 255, 0.6);
    background: rgba(8, 16, 30, 0.65);
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 1.4px;
    text-decoration: none;
    box-shadow: inset 0 0 18px rgba(32, 229, 255, 0.05);
    cursor: pointer;
    transition: background 0.35s ease, color 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease, transform 0.35s ease;
}

.need-cta strong {
    font-size: 19px;
    transition: transform 0.3s ease;
}

.need-cta:hover {
    background: #20e5ff;
    border-color: #20e5ff;
    color: #010611;
    box-shadow: 0 0 40px rgba(32, 229, 255, 0.4), 0 16px 46px rgba(32, 229, 255, 0.18);
    transform: translateY(-3px);
}

.need-cta:hover strong {
    transform: translateX(6px);
}

.need-sources {
    margin: 28px 0 0;
    color: rgba(255, 255, 255, 0.35);
    font-size: 11px;
    letter-spacing: 1.2px;
}

/* -------------------------
   REVEAL ALLO SCROLL
------------------------- */

.need-reveal {
    opacity: 0;
    transform: translateY(34px);
    transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1), transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: var(--d, 0ms);
    will-change: opacity, transform;
}

.need-reveal.visible {
    opacity: 1;
    transform: none;
}

/* -------------------------
   RESPONSIVE
------------------------- */

@media (max-width: 1100px) {
    .need-section {
        padding: 130px 5% 110px;
    }

    .need-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }
}

@media (max-width: 640px) {
    .need-section {
        padding: 110px 5% 100px;
    }

    .need-heading h2 {
        letter-spacing: -2px;
    }

    .need-heading p {
        font-size: 14.5px;
    }

    .need-stats {
        grid-template-columns: 1fr;
        margin-top: 60px;
    }

    .need-num {
        font-size: 66px;
    }

    .need-footer {
        margin-top: 60px;
    }

    .need-cta {
        width: 100%;
        padding: 18px 20px;
    }

    .need-watermark {
        font-size: 34vw;
        letter-spacing: 4px;
    }
}

/* =====================================================
   DIVISORIO PAROLE CHIAVE SERVIZI (home)
   nastro bianco animato tra dati e pacchetti
===================================================== */

.services-divider {
    position: relative;
    z-index: 3;
    width: 100%;
    padding: 34px 0;
    background: #ffffff;
    overflow: hidden;
    box-shadow:
        0 14px 42px rgba(0, 0, 0, 0.32),
        0 0 34px rgba(32, 229, 255, 0.10);
    border-top: 1px solid rgba(32, 229, 255, 0.30);
    border-bottom: 1px solid rgba(32, 229, 255, 0.20);
}

.services-divider-track {
    display: flex;
    width: max-content;
    will-change: transform;
    animation: servicesMarquee 32s linear infinite;
}

.services-divider-group {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.services-divider-group span,
.services-divider-group i {
    margin-right: 42px;
}

.services-divider-group span {
    padding: 13px 26px;
    border-radius: 999px;
    background: rgba(7, 51, 79, 0.05);
    border: 1px solid rgba(7, 51, 79, 0.20);
    color: #07334f;
    font-size: clamp(15px, 1.6vw, 20px);
    font-weight: 700;
    letter-spacing: 2.6px;
    white-space: nowrap;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.services-divider-group span:hover {
    border-color: rgba(32, 229, 255, 0.65);
    box-shadow: 0 0 18px rgba(32, 229, 255, 0.35);
    transform: scale(1.05);
}

.services-divider-group i {
    font-style: normal;
    color: #20e5ff;
    font-size: 17px;
    line-height: 1;
    text-shadow: 0 0 10px rgba(32, 229, 255, 0.65);
    animation: servicesStarSpin 6s linear infinite;
}

@keyframes servicesMarquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

@keyframes servicesStarSpin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

@media (max-width: 640px) {
    .services-divider {
        padding: 22px 0;
    }

    .services-divider-group span,
    .services-divider-group i {
        margin-right: 24px;
    }

    .services-divider-group span {
        padding: 10px 18px;
        font-size: 12.5px;
        letter-spacing: 1.8px;
    }
}

/* =====================================================
   NAVIGAZIONE — INDICA PAGINA CORRENTE
   effetto simile all'hover + linea sotto il bottone
===================================================== */

.menu-item .nav-link.active {
    position: relative;
    color: #00d9ff;
    background: rgba(0, 217, 255, 0.08);
    box-shadow:
        0 0 15px rgba(0, 217, 255, 0.16),
        inset 0 0 12px rgba(0, 217, 255, 0.05);
}

.menu-item .nav-link.active::after {
    content: "";
    position: absolute;
    left: 14%;
    right: 14%;
    bottom: -3px;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(0, 217, 255, 0.15), #00d9ff, rgba(0, 217, 255, 0.15));
    box-shadow:
        0 0 8px rgba(0, 217, 255, 0.9),
        0 0 20px rgba(0, 217, 255, 0.45);
    transform: scaleX(0);
    transform-origin: center;
    animation: navActiveLine 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.15s forwards;
}

@keyframes navActiveLine {
    from {
        transform: scaleX(0);
    }
    to {
        transform: scaleX(1);
    }
}

/* =====================================================
   LOGO HEADER — LINK ALLA HOME
===================================================== */

.logo a {
    display: flex;
    align-items: center;
    height: 100%;
}

/* =====================================================
   CAROUSEL — CANONE MENSILE SOTTO IL PREZZO
===================================================== */

.pricing-price small {
    display: block;
    margin-top: 3px;
    color: rgba(255, 255, 255, 0.55);
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0.5px;
    line-height: 1.4;
    text-shadow: none;
}

/* =====================================================
   CAROUSEL — CONTENUTI ESSENZIALI (FIT LAYOUT)
   compatto: il testo resta dentro la card
   e il bottone non viene schiacciato in basso
===================================================== */

.pricing-card-content {
    padding: 30px 26px 24px;
}

.pricing-small-title {
    font-size: 16px;
    margin-bottom: 6px;
}

.pricing-card h3 {
    font-size: 32px;
    margin-bottom: 18px;
}

.pricing-icon {
    width: 90px;
    height: 90px;
    font-size: 46px;
    margin-bottom: 16px;
}

.pricing-card h4 {
    margin-bottom: 10px;
}

.pricing-description {
    min-height: 0;
    line-height: 1.5;
}

.pricing-divider {
    margin: 12px 0 10px;
}

.pricing-features li {
    margin-bottom: 6px;
    line-height: 1.2;
}

.pricing-price {
    font-size: 30px;
    margin: 6px 0 10px;
}

.pricing-price small {
    font-size: 11.5px;
}

@media (max-width: 768px) {
    .pricing-card {
        height: 560px;
    }

    .pricing-card-content {
        padding: 22px 20px 20px;
    }

    .pricing-small-title {
        font-size: 13px;
        margin-bottom: 5px;
    }

    .pricing-card h3 {
        font-size: 26px;
        margin-bottom: 12px;
    }

    .pricing-icon {
        width: 68px;
        height: 68px;
        font-size: 36px;
        margin-bottom: 12px;
    }

    .pricing-card h4 {
        margin-bottom: 8px;
    }

    .pricing-description {
        line-height: 1.45;
    }

    .pricing-divider {
        margin: 8px 0 8px;
    }

    .pricing-features li {
        margin-bottom: 5px;
        line-height: 1.15;
    }

    .pricing-price {
        font-size: 25px;
        margin: 4px 0 8px;
    }

    .pricing-price small {
        font-size: 11px;
    }
}

/* =====================================================
   LAPTOP 3D — SEZIONE CON ROTAZIONE DURANTE LO SCROLL
===================================================== */

.laptop-showcase {
    position:
        relative;
    width:
        100%;
    height:
        450vh;
    background:
        radial-gradient(ellipse at 50% 40%,
            rgba(0,
                100,
                180,
                0.10),
            transparent 60%),
        #010611;
}

.laptop-showcase-sticky {
    position:
        sticky;
    top:
        0;
    width:
        100%;
    height:
        100vh;
    overflow:
        hidden;
}

/* Stage 3D a TUTTA PAGINA, esattamente come prima: inquadratura, posizione
   e dimensione del portatile restano identiche a prima della divisione.
   Il pannello bianco copre solo la metà destra. */
.laptop-showcase-stage {
    position:
        absolute;
    inset:
        0;
}

.laptop-showcase-stage canvas {
    display:
        block;
    width:
        100% !important;
    height:
        100% !important;
}

/* =====================================================
   LAPTOP 3D — METÀ DESTRA BIANCA CON I TESTI
   Il pannello è SOVRAPPOSTO allo stage 3D (che resta a tutta
   pagina) e ne copre la metà destra. Testi scuri su fondo
   bianco con la tipografia delle sezioni chiare del sito
   (vedi FAQ). Le classi .need-reveal fanno comparire i blocchi
   allo scroll come nel resto della pagina, con i ritardi
   indicati da --d.
===================================================== */

.laptop-showcase-panel {
    position:
        absolute;
    top:
        0;
    right:
        0;
    z-index:
        2;
    width:
        50%;
    height:
        100%;
    display:
        flex;
    align-items:
        center;
    /* se la finestra è molto bassa i testi scorrono dentro il pannello
       invece di essere tagliati (di norma non serve: non compare la barra) */
    overflow-y:
        auto;
    padding:
        clamp(30px,
            4.5vw,
            90px);
    background:
        #ffffff;
    color:
        #07334f;
    font-family:
        Arial,
        Helvetica,
        sans-serif;
    border-left:
        1px solid rgba(32,
            229,
            255,
            0.35);
}

.laptop-showcase-content {
    width:
        100%;
    max-width:
        640px;
}

.laptop-showcase-eyebrow {
    display:
        block;
    margin-bottom:
        18px;
    color:
        #0d4163;
    font-size:
        11px;
    font-weight:
        700;
    letter-spacing:
        4px;
}

.laptop-showcase-title {
    margin:
        0 0 22px;
    color:
        #07334f;
    font-size:
        clamp(28px,
            3.1vw,
            56px);
    font-weight:
        700;
    letter-spacing:
        -1.5px;
    line-height:
        1.05;
}

.laptop-showcase-text {
    margin:
        0;
    color:
        rgba(7,
            51,
            79,
            0.65);
    font-size:
        clamp(14px,
            1.05vw,
            17px);
    font-weight:
        500;
    line-height:
        1.65;
}

.laptop-showcase-list {
    display:
        grid;
    gap:
        12px;
    margin:
        28px 0 0;
    padding:
        0;
    list-style:
        none;
}

.laptop-showcase-list li {
    display:
        flex;
    align-items:
        center;
    gap:
        12px;
    color:
        rgba(7,
            51,
            79,
            0.88);
    font-size:
        clamp(13px,
            1vw,
            16px);
    font-weight:
        500;
}

.laptop-showcase-list li span {
    display:
        inline-flex;
    align-items:
        center;
    justify-content:
        center;
    flex:
        0 0 auto;
    width:
        24px;
    height:
        24px;
    border-radius:
        50%;
    background:
        rgba(32,
            229,
            255,
            0.18);
    color:
        #07334f;
    font-size:
        12px;
    font-weight:
        700;
}

.laptop-showcase-cta {
    display:
        inline-flex;
    align-items:
        center;
    gap:
        16px;
    margin-top:
        36px;
    padding:
        18px 34px;
    border-radius:
        14px;
    border:
        1px solid #07334f;
    background:
        #07334f;
    color:
        #ffffff;
    font-size:
        14px;
    font-weight:
        700;
    letter-spacing:
        1.4px;
    text-decoration:
        none;
    cursor:
        pointer;
    transition:
        background 0.35s ease,
        color 0.35s ease,
        border-color 0.35s ease,
        box-shadow 0.35s ease,
        transform 0.35s ease;
}

.laptop-showcase-cta strong {
    font-size:
        18px;
    transition:
        transform 0.3s ease;
}

.laptop-showcase-cta:hover {
    background:
        #20e5ff;
    border-color:
        #20e5ff;
    color:
        #010611;
    box-shadow:
        0 0 34px rgba(32,
            229,
            255,
            0.35),
        0 14px 34px rgba(7,
            51,
            79,
            0.16);
    transform:
        translateY(-3px);
}

.laptop-showcase-cta:hover strong {
    transform:
        translateX(6px);
}

/* =====================================================
   LAPTOP 3D — SPARISCE SU SCHERMI STRETTI
   Fino a 1000px il portatile NON compare: e' la stessa misura della
   media query della sezione Premium qui sotto (@media max-width:
   1000px), che pero' il cerchio se lo tiene e resta pinnata.
   Senza il laptop non serve piu' nemmeno il pin: .laptop-showcase
   scende ad "auto", lo stage esce di scena e resta il solo pannello
   bianco con i testi, a tutta larghezza, con la stessa spaziatura
   della sezione Premium (90px 7vw 110px).
   Lo script three.js non disegna nulla: il suo ciclo di rendering si
   ferma quando lo stage e' display:none (stage.clientWidth === 0).
   SOPRA i 1000px non cambia niente: due meta', laptop a sinistra e
   testi a destra, con la camera che si allontana (funzione inquadra()
   nello script).
===================================================== */

@media (max-width: 1000px) {
    .laptop-showcase {
        height:
            auto;
    }

    .laptop-showcase-sticky {
        position:
            static;
        height:
            auto;
    }

    /* il portatile non si vede: lo stage esce di scena */
    .laptop-showcase-stage {
        display:
            none;
    }

    /* i testi prendono tutta la larghezza: non c'e' piu' una meta'
       sinistra da lasciare libera al 3D */
    .laptop-showcase-panel {
        position:
            static;
        width:
            100%;
        height:
            auto;
        overflow:
            visible;
        padding:
            90px 7vw 110px;
        border-left:
            none;
    }
}

/* =====================================================
   LAPTOP 3D — TIPOGRAFIA SUL TELEFONO
   Sotto i 600px cambiano solo i testi: la spaziatura del pannello
   resta quella del blocco qui sopra (90px 7vw 110px, come la sezione
   Premium), perche' il laptop non c'e' piu' e il pannello e' a tutta
   larghezza anche da telefono.
===================================================== */

@media (max-width: 600px) {
    .laptop-showcase-eyebrow {
        margin-bottom:
            clamp(8px,
                1.2vh,
                16px);
        font-size:
            10px;
        letter-spacing:
            3px;
    }

    .laptop-showcase-title {
        margin-bottom:
            clamp(8px,
                1.4vh,
                18px);
        font-size:
            clamp(22px,
                4.2vh,
                38px);
        letter-spacing:
            -1px;
    }

    .laptop-showcase-text {
        font-size:
            clamp(12.5px,
                1.9vh,
                16px);
        line-height:
            1.55;
    }

    .laptop-showcase-list {
        margin-top:
            clamp(10px,
                1.8vh,
                24px);
        gap:
            clamp(6px,
                1vh,
                12px);
    }

    .laptop-showcase-list li {
        font-size:
            clamp(12px,
                1.8vh,
                15px);
    }

    .laptop-showcase-list li span {
        width:
            clamp(18px,
                2.6vh,
                24px);
        height:
            clamp(18px,
                2.6vh,
                24px);
        font-size:
            clamp(10px,
                1.5vh,
                12px);
    }

    .laptop-showcase-cta {
        margin-top:
            clamp(12px,
                2vh,
                30px);
        padding:
            14px 24px;
        font-size:
            13px;
        gap:
            12px;
    }
}

/* =====================================================
   PACCHETTO PREMIUM — SEZIONE SPONSORIZZATA
   Pin come la sezione del laptop; l'anello si disegna con lo
   scroll e le quattro schede si accendono una alla volta.
   (scritta in forma compatta, come le sezioni FAQ e pacchetti)
===================================================== */

.premium-showcase {
    position: relative;
    height: 330vh;
    background: #ffffff;
}

.premium-showcase-sticky {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: clamp(20px, 4vh, 52px);
    padding: 8vh 7vw;
    overflow: hidden;
    background: #ffffff;
}

/* ---------- impaginazione ---------- */

.premium-showcase-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(30px, 5vw, 90px);
}

.premium-showcase-head {
    max-width: 680px;
}

.premium-showcase-eyebrow {
    display: block;
    margin-bottom: 16px;
    color: #0d4163;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 4px;
}

.premium-showcase-title {
    margin: 0 0 20px;
    color: #07334f;
    font-size: clamp(30px, 3.6vw, 58px);
    font-weight: 700;
    letter-spacing: -1.6px;
    line-height: 1.04;
}

/* il titolo si "scrive": ogni riga entra da sinistra */
.premium-title-line {
    display: block;
    clip-path: inset(0 100% 0 0);
    transition: clip-path 1s cubic-bezier(0.22, 1, 0.36, 1) 0.1s;
}

.premium-title-line:nth-child(2) {
    transition-delay: 0.42s;
}

.premium-showcase-title.visible .premium-title-line {
    clip-path: inset(0 0 0 0);
}

.premium-title-strong {
    color: #009fc2;
}

.premium-showcase-text {
    margin: 0;
    max-width: 560px;
    color: rgba(7, 51, 79, 0.65);
    font-size: clamp(14px, 1.05vw, 17px);
    line-height: 1.65;
}

/* ---------- contatori ---------- */

.premium-numbers {
    display: flex;
    flex-wrap: wrap;
    gap: clamp(18px, 3vw, 46px);
    margin: 30px 0 0;
    padding: 0;
    list-style: none;
}

.premium-numbers li {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

/* numeri in gradiente azzurro -> nero
   (stessa tecnica dei numeri della sezione "PERCHÉ UN SITO WEB",
   ma con colori leggibili su fondo chiaro) */
.premium-numbers .premium-num {
    color: transparent;
    font-size: clamp(34px, 3.4vw, 54px);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -2px;
    background:
        linear-gradient(180deg,
            #4fd8f5 0%,
            #17a5c9 38%,
            #0b3d52 72%,
            #07101b 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.premium-numbers small {
    color: rgba(7, 51, 79, 0.5);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    line-height: 1.45;
    text-transform: uppercase;
}

/* ---------- anello del ciclo ---------- */

.premium-dial {
    position: relative;
    width: 100%;
    max-width: 470px;
    margin: 0 auto;
    aspect-ratio: 1 / 1;
}

/* la luce azzurra sta SOLO attorno al cerchio: il resto della
   sezione resta bianco uniforme, senza stacchi di colore */
.premium-dial::before {
    content: "";
    position: absolute;
    inset: -6%;
    border-radius: 50%;
    background:
        radial-gradient(circle,
            rgba(0, 170, 220, 0.16),
            rgba(0, 170, 220, 0.05) 48%,
            transparent 72%);
    pointer-events: none;
}

.premium-ring {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.premium-ring-track {
    fill: none;
    stroke: rgba(7, 51, 79, 0.12);
    stroke-width: 2;
}

.premium-ring-fill {
    fill: none;
    stroke: #009fc2;
    stroke-width: 3;
    stroke-linecap: round;
    filter: drop-shadow(0 0 8px rgba(0, 159, 194, 0.4));
    transition: stroke-dashoffset 0.15s linear;
}

.premium-steps {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    margin: 0;
    padding: 23%;
    list-style: none;
}

.premium-step {
    grid-area: 1 / 1;
    opacity: 0;
    transform: translateY(18px);
    text-align: center;
    transition:
        opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.premium-step.is-current {
    opacity: 1;
    transform: none;
}

.premium-step-num {
    display: block;
    margin-bottom: 10px;
    color: #009fc2;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
}

.premium-step h3 {
    margin: 0 0 10px;
    color: #07334f;
    font-size: clamp(20px, 1.9vw, 27px);
    font-weight: 700;
    letter-spacing: -0.6px;
}

.premium-step p {
    margin: 0;
    color: rgba(7, 51, 79, 0.62);
    font-size: clamp(13px, 0.95vw, 15px);
    line-height: 1.6;
}

/* i quattro punti sull'anello */
.premium-dots i {
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(7, 51, 79, 0.18);
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.premium-dots i:nth-child(1) {
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
}

.premium-dots i:nth-child(2) {
    top: 50%;
    right: 0;
    transform: translate(50%, -50%);
}

.premium-dots i:nth-child(3) {
    bottom: 0;
    left: 50%;
    transform: translate(-50%, 50%);
}

.premium-dots i:nth-child(4) {
    top: 50%;
    left: 0;
    transform: translate(-50%, -50%);
}

.premium-dots i.is-active {
    background: #009fc2;
    box-shadow: 0 0 12px rgba(0, 159, 194, 0.55);
}

/* ---------- chiusura: passaggio ai pacchetti ---------- */

.premium-showcase-foot {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding-top: clamp(14px, 2.5vh, 30px);
    border-top: 1px solid rgba(7, 51, 79, 0.12);
}

.premium-showcase-foot p {
    margin: 0;
    max-width: 620px;
    color: rgba(7, 51, 79, 0.55);
    font-size: clamp(13px, 0.95vw, 15px);
    line-height: 1.6;
}

.premium-showcase-cta {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    padding: 17px 32px;
    border: 1px solid #07334f;
    border-radius: 14px;
    background: #07334f;
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.4px;
    text-decoration: none;
    cursor: pointer;
    transition:
        background 0.35s ease,
        color 0.35s ease,
        border-color 0.35s ease,
        box-shadow 0.35s ease,
        transform 0.35s ease;
}

.premium-showcase-cta strong {
    font-size: 18px;
    transition: transform 0.3s ease;
}

.premium-showcase-cta:hover {
    background: #20e5ff;
    border-color: #20e5ff;
    color: #010611;
    box-shadow: 0 14px 34px rgba(7, 51, 79, 0.18);
    transform: translateY(-3px);
}

.premium-showcase-cta:hover strong {
    transform: translateX(6px);
}

/* ---------- il cerchio non sparisce piu' ----------
   Prima lo script aggiungeva due classi — .is-stacked sulle schede e
   .is-flat sul quadrante — quando la sezione non era "pinnata"
   (schermi stretti o preferenza "riduci movimento"): impilavano i
   quattro testi e toglievano l'anello.
   Ora il cerchio resta SEMPRE, con dentro il passo acceso; il pin c'e'
   sugli schermi larghi e l'@media qui sotto lo toglie su quelli stretti,
   dove il blocco non sta in una schermata (vedi il commento li' sotto).
   Percio' non servono piu' regole di "layout impilato". */

/* ---------- schermi stretti ---------- */

@media (max-width: 1000px) {
    /* QUI NIENTE PIN (dal 27/09/2026). Su un telefono il blocco non sta in
       una schermata: testi + numeri + cerchio + chiusura sono alti circa
       1,4 schermate (misurato su 390x844: 1196px contro 844px). Un blocco
       piu' alto della schermata, una volta "pinnato", si ferma con la
       testa in cima e il cerchio in fondo: l'anello si disegnava mentre
       il cerchio era tagliato dal bordo inferiore, dove quasi non si
       vedeva (e' la geometria a imporlo, non il foglio di stile).
       Ora la sezione scorre come il resto della pagina e .premium-showcase
       torna alto quanto il suo contenuto: niente 2,3 schermate di pin
       quasi vuote (su 390x844 erano 1589px). L'anello si aggancia al
       CERCHIO (script in index.html): parte quando il cerchio e' tutto
       visibile in fondo e si chiude quando il suo centro arriva a meta'
       schermo, cosi' il disegno si vede mentre si guarda il cerchio.
       Le misure in vh qui sotto servono a far respirare testi, numeri e
       cerchio sulla schermata del telefono. */
    .premium-showcase {
        height: auto;
    }

    .premium-showcase-sticky {
        position: static;
        height: auto;
        min-height: 0;
        overflow: visible;
        padding: 5vh 7vw 6vh;
    }

    .premium-showcase-inner {
        grid-template-columns: 1fr;
        gap: 4vh;
    }

    /* il cerchio resta e si adatta all'altezza dello schermo: dentro ci
       stanno numero, titolo e spiegazione del passo (come da PC) */
    .premium-dial {
        max-width: min(380px, 36vh);
    }

    .premium-showcase-title {
        font-size: clamp(24px, 4.6vh, 44px);
    }

    .premium-showcase-text {
        font-size: clamp(13px, 1.9vh, 16px);
        line-height: 1.55;
    }

    .premium-numbers {
        margin-top: 3vh;
        gap: 4vw;
    }

    .premium-numbers .premium-num {
        font-size: clamp(26px, 4.2vh, 44px);
    }

    /* il passo dentro il cerchio: un filo piu' compatto, per stare nel
       cerchio piu' piccolo di questa fascia */
    .premium-step h3 {
        font-size: clamp(18px, 3vh, 24px);
    }

    .premium-step p {
        font-size: clamp(12px, 1.7vh, 14px);
    }

    .premium-showcase-foot {
        padding-bottom: 0;
    }
}

/* ---------- "riduci movimento" ----------
   Non nascondo nulla e non spengo l'anello: quello segue lo SCROLL,
   quindi e' movimento controllato da chi legge. Fermo solo cio' che
   parte da solo (la scrittura del titolo). */

@media (prefers-reduced-motion: reduce) {
    .premium-title-line {
        clip-path: none;
        transition: none;
    }
}

/* =====================================================
   FOTO "DIETRO" AL SITO
   Fascia tra "Chi siamo" e "Perché un sito web": la foto e'
   agganciata alla finestra (background-attachment: fixed),
   quindi il contenuto le scorre sopra come se la pagina
   galleggiasse davanti allo sfondo.
===================================================== */

.home-photo-band {
    position: relative;
    width: 100%;
    min-height: 62vh;
    background-color: #010611;
    background-image: url("fotohome.jpg");
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    overflow: hidden;
    /* la foto sta "dietro": i due bordi rientrano in ombra e sembrano
       infilarsi sotto le sezioni che stanno sopra e sotto */
    box-shadow:
        inset 0 90px 120px -60px #010611,
        inset 0 -90px 120px -60px #010611;
}

/* vignettatura: piu' scuro verso i bordi, piu' chiaro al centro
   -> la foto arretra e la pagina sembra passargli davanti */
.home-photo-band::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse 130% 115% at 50% 50%,
            transparent 28%,
            rgba(1, 6, 17, 0.38) 68%,
            rgba(1, 6, 17, 0.78) 100%);
}

/* velo verticale piu' denso: cuce la foto alle sezioni scure
   e le toglie "presenza" rispetto al contenuto del sito */
.home-photo-band::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(180deg,
            #010611 0%,
            rgba(1, 6, 17, 0.55) 10%,
            rgba(1, 6, 17, 0.38) 45%,
            rgba(1, 6, 17, 0.55) 90%,
            #010611 100%);
}

/* su schermi stretti "fixed" non e' affidabile: la foto scorre
   normalmente e la fascia diventa piu' bassa */
@media (max-width: 900px) {
    .home-photo-band {
        min-height: 42vh;
        background-attachment: scroll;
    }
}

/* ---------- barra verticale bianca sul bordo sinistro ----------
   A filo del bordo sinistro, bianca, corpo da 18px per tutta l'altezza
   della fascia foto.
   Le estremita' SBOCCIANO VERSO FUORI: sono piu' larghe del corpo
   (34px contro 18px) e rientrano nel corpo con una curva asintotica
   (iperbole invertita rispetto all'interno: la curva si avvicina al
   bordo alto e al fianco della barra senza mai spezzarsi). */

.home-photo-line {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 34px;
    z-index: 2;
    pointer-events: none;
    background-color: transparent;
    background-image:
        /* svasatura in alto: larga 34px, rientra nel corpo con la curva */
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='34' height='26' viewBox='0 0 34 26'%3E%3Cpath d='M0 0 L34 0 Q18 0 18 26 L0 26 Z' fill='%23ffffff'/%3E%3C/svg%3E"),
        /* svasatura in basso: stessa curva ribaltata */
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='34' height='26' viewBox='0 0 34 26'%3E%3Cpath d='M0 26 L34 26 Q18 26 18 0 L0 0 Z' fill='%23ffffff'/%3E%3C/svg%3E"),
        /* corpo della barra: 18px */
        linear-gradient(#ffffff, #ffffff);
    background-repeat: no-repeat;
    background-size: 34px 26px, 34px 26px, 18px calc(100% - 52px);
    background-position: 0 0, 0 100%, 0 26px;
}

/* la barra e' un elemento pieno: niente rombi ne' tratto in movimento,
   le estremita' arrotondate fanno da raccordo con le due schermate */


/* =====================================================
   PACCHETTI — LA CARD ENTRA SEMPRE NELLA FINESTRA
   la card centrale e' alta 700px, ma l'effetto 3D
   (perspective 1500px + translateZ 170px) la disegna alta circa 790px:
   su schermi bassi (laptop, finestre ridotte) non entrerebbe tutta nella
   finestra e il visitatore non vedrebbe mai il pacchetto per intero.
   Il carosello viene quindi rimpicciolito in proporzione con
   --pack-scale, che lo script in home.html calcola dall'altezza
   disponibile (finestra meno header). La scala rimpicciolisce solo il
   disegno: testi, bottoni e aree cliccabili restano quelli di prima.
   Senza JavaScript la variabile resta 1 e il carosello non cambia.
===================================================== */

:root {
    --pack-scale:
        1;
    /* altezza del carosello: 650px su desktop, 570px nel layout mobile */
    --pack-wrap-h:
        650px;
}

.pricing-carousel-wrap {
    height:
        calc(var(--pack-wrap-h) * var(--pack-scale));
}

.pricing-carousel-track {
    transform:
        scale(var(--pack-scale));
}

.pricing-carousel::after {
    transform:
        translateX(-50%) scale(var(--pack-scale));
}

/* schermi bassi: anche i margini del titolo si stringono, cosi' la
   sezione resta compatta e la card si raggiunge con poco scorrimento */
@media (max-height: 820px) {

    .pricing-carousel-heading {
        margin-top:
            120px;
    }

    .pricing-carousel-heading p {
        margin-bottom:
            60px;
    }

}

@media (max-height: 660px) {

    .pricing-carousel-heading {
        margin-top:
            80px;
        margin-bottom:
            18px;
    }

    .pricing-carousel-heading p {
        margin-bottom:
            38px;
    }

}

/* nel layout mobile la card e' piu' bassa e il carosello ha altre misure */
@media (max-width: 768px) {

    :root {
        --pack-wrap-h:
            570px;
    }

}

