﻿:root {
    --nlt-blu: #00213b;
    --nlt-arancio: #FF6B00;
    --nlt-neutro: #F0F4F8;
    --nlt-testo: #1A1A1A;
    --nlt-accento: #1C9AD6;
}

/* Reset */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
#featuresTrack {
    touch-action: pan-y;
}


body {
    font-family: 'Montserrat', sans-serif;
    background-color: #fff;
    color: var(--nlt-testo);
    font-size: 17px;
    overflow-x: hidden;
}

/* HERO */
.hero {
    background: radial-gradient(circle at top left, var(--nlt-blu), #021C34);
    color: white;
    padding: 100px 5vw 80px;
    text-align: center;
    clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
    position: relative;
}

    .hero h1 {
        font-size: 3rem;
        text-transform: uppercase;
        letter-spacing: 2px;
        margin-bottom: 1rem;
        font-weight: 700;
    }

    .hero p {
        font-size: 1.2rem;
        opacity: 0.9;
        margin-bottom: 2rem;
    }

/* Topbar */
.topbar {

    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 54px;
    background-color: var(--nlt-blu);
    display: flex;
    justify-content: center;
    z-index: 999;
    border-bottom: solid 4px var(--nlt-arancio);
}

.topbar-content {
    width: 100%;
    padding: 0.5vw;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-topbar {
    height: 30px;
    width: auto;
    display: block;
}

.topbar-info {
    font-size: 0.85rem;
    color: white;
    text-align: right;
    display: flex;
    align-items: center;
}



.info-riga {
    white-space: nowrap;
}
    .info-riga:last-child {
        margin-bottom: 0;
    }


    .info-riga strong {
        color: var(--nlt-arancio);
    }
.cuore {
    font-size: 0.9rem;
    margin-left: 4px;
    display: inline-block;
    animation: pulse 2s infinite ease-in-out;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
    }

    100% {
        transform: scale(1);
    }
}


.hero-split {
    margin-top: 84px;
    margin-bottom: 30px;
    display: flex;
    flex-wrap: wrap;
    width: 100vw;
    height: 360px;
    background: #fff;
    overflow: hidden;
}

.hero-left {
    width: 40%;
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: var(--nlt-testo);
}

    .hero-left h1 {
        font-size: 1.9rem;
        margin-bottom: 1rem;
        text-transform: uppercase;
        color: var(--nlt-blu);
    }

    .hero-left p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
        line-height: 1.6;
    }

    .hero-left strong {
        color: var(--nlt-arancio);
    }

.hero-right {
    width: 60%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

    .hero-right img {
        width: AUTO;
        height: 100%;
        object-fit: cover;
        border-radius: 26px; /* oppure 12px o 20px, a tuo gusto */
        box-shadow: 12px 0 24px rgba(0, 0, 0, 0.08);
    }


.btn-primary {
    background: linear-gradient(135deg, var(--nlt-arancio), #e65a00);
    color: white;
    padding: 14px 32px;
    border: none;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1rem;
    box-shadow: 0 8px 18px rgba(0,0,0,0.15);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

    .btn-primary:hover {
        transform: translateY(-3px);
        box-shadow: 0 12px 24px rgba(0,0,0,0.2);
    }
@media screen and (max-width: 768px) {
    .hero-split {
        flex-direction: column;
        height: auto;
    }

    .hero-left,
    .hero-right {
        width: 100%;
        padding: 24px;
    }

    .hero-left {
        order: 2;
        padding-bottom: 32px;
    }

    .hero-right {
        order: 1;
        height: auto;
    }

        .hero-right img {
            width: 100%;
            height: auto;
            margin-bottom: 0;
            border-radius: 16px;
        }
}

/* FEATURES */

.section-intro {
    position: relative;
    left: 50%;
    right: 50%;
    width: 100vw;
    margin-top: 0;
    margin-bottom: 40px;
    margin-left: -50vw;
    margin-right: -50vw;
    background-color: var(--nlt-blu);
    padding: 10px 5vw;
    display: flex;
    align-items: center;
    gap: 16px;
    border-top: solid 4px var(--nlt-arancio);
}


    .section-intro h2 {
        color: #fff;
        font-size: 1.8rem;
        font-weight: 900;
        margin: 0;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        color: #fff;
    }


/* === FEATURES (VERSIONE 2 COLONNE DESKTOP) === */
.features-carousel {
    background: linear-gradient(to right, #e3edf7, #ffffff);
    padding-bottom: 40px;
}

.feature-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: center;
}

.feature-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    background: white;
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
    padding: 14px;
    flex: 1 1 400px; /* base width for 2 per row */
    max-width: 400px; /* larghezza massima */
    transition: transform 0.2s ease;
}

.card-img {
    flex: 0 0 160px;
    height: 190px;
    border-radius: 12px;
    object-fit: cover;
    background-color: #f2f2f2;
    margin-right: 24px;
}

.feature-text {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--nlt-blu);
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 3px solid var(--nlt-arancio);
}

.card-desc {
    font-size: 0.85rem;
    line-height: 1.6;
    color: #444;
}

@media screen and (max-width: 768px) {
    .feature-card {
        flex-direction: column;
        width: 100%;
        max-width: 100%;
        text-align: center;
    }

    .card-img {
        margin-right: 0;
        margin-bottom: 16px;
        width: 100%;
        height: auto;
    }

    .feature-text {
        align-items: center;
    }

    .card-title {
        border-bottom: 3px solid var(--nlt-arancio);
        padding-bottom: 8px;
    }
}


.partner-columns {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
    padding: 0 5vw 40px;
}

.partner-col {
    flex: 1 1 48%;
}

    .partner-col h3 {
        font-size: 1rem;
        font-weight: 600;
        color: var(--nlt-blu);
        text-transform: uppercase;
        margin-bottom: 20px;
        text-align: left;
    }

.partner-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px 30px;
    align-items: center;
}

    .partner-grid img {
        height: 38px;
        max-width: 120px;
        object-fit: contain;
        filter: grayscale(0%);
        transition: transform 0.3s ease;
        filter: brightness(0) saturate(100%) invert(17%) sepia(45%) saturate(500%) hue-rotate(200deg) brightness(90%) contrast(90%);
    }

        .partner-grid img:hover {
            transform: scale(1.06);
        }

@media screen and (max-width: 768px) {
    .partner-columns {
        flex-direction: column;
    }

    .partner-col {
        flex: 1 1 100%;
    }

    .partner-grid {
        justify-content: center;
    }

        .partner-grid img {
            height: 32px;
            max-width: 100px;
        }
}



.piani-section {
    background: var(--nlt-neutro);
    padding-bottom: 40px;
}

.piani-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 20px;
}
.piano-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.piano-card .btn-primary {
    margin-top: auto; /* 🔥 spinge in basso il bottone */
    align-self: center; /* centra orizzontalmente */
}

.piano-divider {
    width: 100% !important;
    height: 2px !important;
    background-color: var(--nlt-arancio);
    border: none;
    border-radius: 1px;
    margin: 10px 0 16px !important;
}


.piano-card {
    background: white;
    border-radius: 16px;
    padding: 24px;
    flex: 1 1 280px;
    max-width: 320px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.piano-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--nlt-blu);
    margin-bottom: 6px;
    text-transform: uppercase;
}

.piano-price {
    font-size: 1rem;
    font-weight: 600;
    color: var(--nlt-arancio);
    margin-bottom: 16px;
}

.piano-vantaggi {
    list-style: none;
    padding-left: 0;
    margin-bottom: 20px;
    font-size: 0.95rem;
    color: #333;
    line-height: 1.5;
    text-align: left; /* ✅ allinea il testo a sinistra */
    align-self: flex-start; /* ✅ forza l’allineamento sinistro nel flex container */
}


    .piano-vantaggi li {
        margin-bottom: 10px;
    }

        .piano-vantaggi li::before {
            content: "✔";
            color: var(--nlt-arancio);
            margin-right: 8px;
            font-weight: bold;
        }


.badge-consigliato {
    position: absolute;
    top: -12px;
    right: -12px;
    background-color: var(--nlt-arancio);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 6px 10px;
    border-radius: 50px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.evidenziato {
    border: 2px solid var(--nlt-arancio);
}

/* === SEZIONE CTA AZCORE === */

.cta {

    padding: 0 5vw;
    background: #fff;
}

.cta-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    max-width: 1200px;
    margin: 30px auto;
    align-items: flex-start; /* ✅ forza l'allineamento in alto */
}
.cta-intestazione {
    position: relative;
    left: 50%;
    right: 50%;
    width: 100vw;
    margin-left: -50vw;
    margin-right: -50vw;
    background-color: var(--nlt-blu);
    padding: 10px 5vw;
    border-top: solid 4px var(--nlt-arancio);
    display: flex;
    align-items: center;
    gap: 16px;
}


    .cta-intestazione h2 {
        font-size: 1.8rem;
        font-weight: 900;
        color: white;
        margin: 0;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

.cta-col {
    flex: 1 1 48%;
    background-color: #fff;
    padding: 20px;
    border-radius: 4px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-left: 4px solid var(--nlt-arancio);
    justify-content: flex-start; /* ✅ forza l'allineamento verticale */
}

    .cta-col h3 {
        font-size: 1rem;
        font-weight: 600;
        color: var(--nlt-blu);
        text-transform: uppercase;
        margin-bottom: 20px;
        letter-spacing: 0.3px;
    }

    /* LISTA UNIFICATA PER ENTRAMBE LE COLONNE */
    .cta-col ol {
        counter-reset: step-counter;
        list-style: none;
        padding: 0;
        margin: 0;
    }

        .cta-col ol li {
            position: relative;
            padding-left: 38px;
            margin-bottom: 24px;
            font-size: 1rem;
            color: #222;
            line-height: 1.4;
            font-weight: 600;
        }

            .cta-col ol li::before {
                content: counter(step-counter);
                counter-increment: step-counter;
                position: absolute;
                top: 0;
                left: 0;
                width: 26px;
                height: 26px;
                background: var(--nlt-arancio);
                color: #fff;
                font-size: 0.85rem;
                font-weight: 700;
                display: flex;
                align-items: center;
                justify-content: center;
                border-radius: 50%;
            }

.step-desc {
    font-size: 0.85rem;
    color: #555;
    margin-top: 4px;
    line-height: 1.4;
    font-weight: 400;
}

/* Responsive */
@media screen and (max-width: 768px) {
    .cta-grid {
        flex-direction: column;
    }

    .cta-col {
        flex: 1 1 100%;
        border-left: none;
        border-top: 4px solid var(--nlt-arancio);
    }

        .cta-col:first-child {
            border-top: none;
        }
}

.kpi-section {
    border-top: solid 4px var(--nlt-arancio);
    padding: 30px 5vw;
    background: var(--nlt-blu);
    text-align: center;
}

.kpi-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    
}

.kpi-box {
    flex: 0 1 200px;
}

.kpi-number {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--nlt-neutro);
    display: block;
}

.kpi-label {
    font-size: 1rem;
    color: #f6f6f6;
    margin-top: 8px;
}

.kpi-cta {
    border-top: solid 4px var(--nlt-arancio);
    padding: 30px 5vw;
    background: var(--nlt-neutro);
    text-align: center;
    margin-bottom: 30px;
}

.kpi-cta h3 {
    font-size: 1.2rem;
    color: var(--nlt-blu);
    margin-bottom: 20px;
}










/* FORM */
.form-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    padding: 40px 5vw;
}

    .form-modal.hidden {
        display: none;
    }

.form-modal-inner {
    background: #fff;
    padding: 40px 30px;
    max-width: 600px;
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
    position: relative;
}

.form-close {
    position: absolute;
    top: 18px;
    right: 18px;
    font-size: 2.4rem;
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
}

.form-modal-inner h2 {
    font-size: 1.8rem;
    color: var(--nlt-blu);
    margin-bottom: 20px;
    text-align: center;
}

.form-modal-inner form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.form-modal-inner input,
.form-modal-inner textarea {
    padding: 12px;
    font-size: 1rem;
    border-radius: 8px;
    border: 1px solid #ccc;
}

.form-modal-inner button.btn-primary {
    margin-top: 16px;
    align-self: center;
}
#formMessaggio {
    font-size: 0.95rem;
    color: var(--nlt-blu);
    padding-top: 16px;
    text-align: center;
    opacity: 1;
    transition: opacity 0.6s ease;
}

    #formMessaggio.fade-out {
        opacity: 0;
    }


/* FOOTER */
footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100vw;
    height: 30px;
    background-color: var(--nlt-blu);
    border-top: solid 2px var(--nlt-arancio);
    color: white;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 900;
    box-shadow: 0 -2px 6px rgba(0, 0, 0, 0.05);
}
