/* RESET E STILI GLOBALI */

body,
html {
    margin: 0;
    padding: 0;
    width: 100%;
    font-size: 16px;
    overflow-x: hidden;
    /* Nascondi eventuale overflow orizzontale */
}

.nuova_landing {
    line-height: 1.25;
    font-family: "Barlow", sans-serif;
    padding: 0;
    margin: 0 auto;
    max-width: 100%;
    width: 100%;
    background-color: var(--base-c1);
    color: var(--contrasto-c1);
    --base-c1: #000102;
    --contrasto-c1: #fff;
    --speciale-c1: #2158bc;
    --cevi: #fff;
    position: relative;
}

.nuova_landing * {
    margin: 0;
}

.nuova_landing-lmax {
    max-width: 1500px;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    padding: 0 15px;
    width: 100%;
}

.nuova_landing img {
    max-width: 75%;
    height: auto;
}

.nuova_landing h2 {
    font-weight: 700;
    font-size: 42px;
}

/* SEZIONE TOPBAR */
.nuova_landing-topbar {
    background: #0C1A32;
    color: var(--cevi);
    padding: 1rem 0;
}

.nuova_landing-topbar-dx a {
    display: flex;
}

.nuova_landing-topbar-sx img {
    max-width: 200px;
    height: auto;
}

.nuova_landing-topbar-dx {
    display: flex;
    align-items: center;
    flex-direction: row;
    gap: 8px;
    flex: 0 1 auto;
    justify-content: flex-end;
}

.nuova_landing-topbar-dx img {
    height: 32px;
}

.nuova_landing-topbar .nuova_landing-lmax {
    justify-content: space-between;
    gap: 15px;
}

.nuova_landing-topbar-dx p {
    font-size: 0.5rem;
    text-align: left;
    max-width: 220px;
}

/* SEZIONE HERO */
.nuova_landing-hero {
    background: url(imgs/sfondo-desk2.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    min-height: calc(100vh - 75px);
    display: flex;
    align-items: flex-start;
    position: relative;
}

.nuova_landing-hero .nuova_landing-lmax {
    justify-content: flex-start;
    align-items: center;
    height: 100%;
    flex-direction: column;
    align-items: center;
    gap: 28px;
}

.nuova_landing-hero-testi {
    max-width: 100%;
    width: 100%;
    gap: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-top: 8rem;
    margin: 0 auto;
    text-align: center;
}

.nuova_landing-hero-testi h3 {
    color: var(--cevi);
    font-size: 2.5rem;
    text-transform: uppercase;
    background: var(--speciale-c1);
    padding: 4px 12px;
    border-radius: 10px;
    -webkit-transform: skewX(-12deg);
    -ms-transform: skewX(-12deg);
    transform: skewX(-12deg);
}

.nuova_landing-hero-testi h1 {
    font-size: 4rem;
    max-width: 100% !important;
    font-weight: 800;
    line-height: 1;
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.nuova_landing-hero-testi p {
    font-size: 2rem;
}

.nuova_landing-hero-testi a {
    background-color: var(--speciale-c1);
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 2rem;
    text-decoration: unset;
    color: var(--cevi);
    max-width: fit-content;
    padding: 1rem 3rem;
}

.nuova_landing-hero-testi p.nuova_landing-small {
    font-size: 1rem;
}

a.tasto_head {
    background: #000;
    text-decoration: unset;
    color: #fff;
    padding: 4px 24px;
    border-radius: 8px;
    font-size: 24px;
    font-weight: 700;
    font-style: italic;
    text-transform: uppercase;
}

.nuova_landing-hero:before {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    background: #00000060;
    top: 0;
    left: 0;
    z-index: 1;
}

.nuova_landing-hero * {
    z-index: 9 !important;
}

/* SEZIONE CONTENUTO */
.nuova_landing-contenuto {
    width: 100%;
    max-width: 100%;
    background: #000;
    background: linear-gradient(180deg, #082141 0%, #000 85%);
}

.nuova_landing-contenuto .nuova_landing-lmax {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    padding-top: 3rem;
}

.nuova_landing-steps {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
    gap: 2rem;
    align-items: flex-start;
}

.nuova_landing-steps-nr {
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    justify-content: flex-start;
    gap: 0.5rem;
    width: 100%;
}

.nuova_landing-steps-nr-sx {
    font-size: 4rem;
    font-weight: 700;
    color: var(--speciale-c1);
    position: relative;
    background: none;
    background-clip: text;
    -webkit-background-clip: text;
    font-family: Arial, Helvetica, sans-serif;
    display: flex;
    line-height: 1;
    align-items: flex-end;
}

.nuova_landing-steps-nr-sx::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    height: 90%;
    border: 3px solid var(--cevi);
    border-radius: 50%;
    z-index: -1;
}

.nuova_landing-steps-nr-dx {
    font-size: 1rem;
}

.nuova_landing-steps-nr-dx h4 {
    font-size: 1.75rem;
    line-height: 1;
    margin-bottom: 0.25rem;
}

.nuova_landing-hero-testi h1 span {
    display: block;
    font-size: 6rem;
}

.termini_e_pagamento {
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: center;
}

a.hero-button {
    background-color: var(--speciale-c1);
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 3rem;
    text-decoration: unset;
    color: var(--cevi);
    max-width: fit-content;
    padding: 0.5rem 3rem;
}

a.hero-button2 {
    background-color: #eeee31;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 2rem;
    text-decoration: unset;
    color: #042540;
    max-width: fit-content;
    padding: 0.5rem 3rem;
}

.nuova_landing-hero-testi h1 img {
    max-width: 100%;
    height: auto;
    width: 17%;
}

p.con_giallo {
    font-weight: 700;
}

p.con_giallo span {
    color: #eeee31;
}

/* SEZIONE FAQ */
.nuova_landing-faq {
    width: 100%;
    padding: 1rem 2rem;
    background-color: transparent;
    color: var(--contrasto-c1);
}

.nuova_landing-faq .accordion {
    background-color: transparent;
    color: var(--cevi);
    cursor: pointer;
    padding: 1rem;
    width: 100%;
    text-align: left;
    border: none;
    outline: none;
    transition: background-color 0.3s;
    border: 1px solid var(--speciale-c1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
}

.nuova_landing-faq .accordion:after {
    content: "\002B";
    font-size: 1.5rem;
    float: right;
}

.nuova_landing-faq .accordion.active:after {
    content: "\2212";
}

.nuova_landing-faq .panel {
    padding: 1rem;
    background-color: transparent;
    display: none;
    overflow: hidden;
    color: var(--contrasto-c1);
    border: 1px solid var(--speciale-c1);
    border-top: 0px;
}

.nuova_landing-faq button.accordion.active {
    border-bottom: 0px;
}

/* SEZIONE FOOTER */
.nuova_landing-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    color: var(--contrasto-c1);
}

.nuova_landing-footer .nlf-logo,
.nuova_landing-footer .nlf-aams {
    max-width: 150px;
    height: auto;
}

/* SEZIONE FOOTER */
.nuova_landing-footer {
    background-color: transparent;
    padding: 2rem;
    text-align: center;
    color: var(--contrasto-c1);
    width: 100%;
    max-width: calc(100% - 4rem);
    display: inline-block;
    margin: 0 auto;
}

.nuova_landing-footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.nuova_landing-footer p {
    font-size: 0.75rem;
    max-width: 600px;
    margin: 0 auto;
}

.nuova_landing-footer-logos {
    display: flex;
    gap: 1rem;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.nlf-logo,
.nlf-aams,
.nlf-pagamenti {
    max-width: 150px;
    height: auto;
}

img.nlf-pagamenti {
    max-width: 60%;
}

img.nlf-pagamenti.solo-desk {
    display: block !important;
}

/* MEDIA QUERY */
@media all and (max-width: 1530px) {
    .nuova_landing-lmax {
        max-width: calc(100% - 30px);
    }
}

@media all and (max-width: 1024px) {
    html {
        font-size: 10px;
    }

    .nuova_landing-hero {
        align-items: center;
        padding-top: 0;
        position: relative;
        min-height: calc(100vh - 61px);
        background-position: center;
    }

    .nuova_landing-hero:before {
        position: absolute;
        content: "";
        width: 100%;
        height: 100%;
        background: #00000060;
        top: 0;
        left: 0;
        z-index: 1;
    }

    .nuova_landing-hero * {
        z-index: 2;
    }

    .nuova_landing-hero-testi {
        max-width: 100%;
        align-items: center;
        text-align: center;
        margin: 0 auto;
        padding-top: 2rem;
        position: relative;
    }

    .nuova_landing-hero-testi h1 {
        max-width: 100%;
        font-size: 22vw !important;
        flex-direction: column;
        gap: 0rem;
    }

    .nuova_landing-steps {
        flex-direction: column;
    }

    .nuova_landing-steps-nr {
        justify-content: flex-start;
    }

    .nuova_landing-topbar {
        background: var(--speciale-c1);
    }

    .nuova_landing-topbar-sx img {
        height: auto;
        max-width: 50%;
    }

    img.nlf-pagamenti.solo-desk {
        display: none !important;
    }

    img.nlf-pagamenti.solo-mobile {
        display: inline-block !important;
        width: 100% !important;
        max-width: 90% !important;
    }

    .nuova_landing-hero-testi p {
        font-size: 3.5rem;
    }

    .nuova_landing-hero-testi h3 {
        font-size: 2rem;
    }

    .termini_e_pagamento {
        position: absolute;
        bottom: 0;
        display: flex;
        flex-direction: column;
        justify-content: center;
        text-align: center;
        gap: 8px;
        padding-bottom: 4px;
    }

    .nuova_landing-hero-testi h1 span {
        font-size: 13vw;
    }

    a.tasto_head {
        font-size: 14px;
    }

    .nuova_landing-hero-testi h1 img {
        max-width: 20vw !important;
    }
}