/* HEADER === HEADER === HEADER === HEADER === HEADER */
/* HEADER === HEADER === HEADER === HEADER === HEADER */
/* HEADER === HEADER === HEADER === HEADER === HEADER */
.btn-show-mobile {
    display: none;
}

#header-fixed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 999;
}
#header-fixed .header-top-wrapper > div {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}
#header-fixed .header-bottom-wrapper > div {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}
#header-fixed .logo {
    width: auto;
    height: 40px;
}


/* SPLASH === SPLASH === SPLASH === SPLASH === SPLASH */
/* SPLASH === SPLASH === SPLASH === SPLASH === SPLASH */
/* SPLASH === SPLASH === SPLASH === SPLASH === SPLASH */
#splash-section {
    background: radial-gradient(79.19% 48.41% at 50% 50%, #1B9AD6 0%, #00427A 100%);
}
#splash-section .wrapper-img-splash img {
    height: 550px;
    object-fit: cover;
    overflow: visible;
    object-position: right;
}

/* OFFERTA === OFFERTA === OFFERTA === OFFERTA === OFFERTA */
/* OFFERTA === OFFERTA === OFFERTA === OFFERTA === OFFERTA */
/* OFFERTA === OFFERTA === OFFERTA === OFFERTA === OFFERTA */
#offerta-section {
    overflow: visible;
}
#offerta-section .card-offerta {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
#offerta-section .label-card-top {
    border-radius: 0 0 24px 24px;
}
#offerta-section .wrapper-card-top .testo-giga {
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    justify-content: center;
    gap: 4px;
}
#offerta-section .wrapper-card-top .testo-giga h1 {
    font-weight: 700;
    font-size: 3.375rem;
    line-height: 3.375rem;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
}
#offerta-section .wrapper-card-top .testo-giga h2 {
    color: #818284;
}
.testo-card-gratis {
    font-weight: 800;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
}
.wrapper-5g {
    display: flex;
    flex-direction: row;
    align-self: center;
    justify-content: center;
    gap: 4px;
}
.wrapper-5g img {
    width: 32px;
    height: 32px;
    margin-top: 2px;
    object-fit: contain;
    -o-object-fit: contain;
}

.wrapper-scrolling-top * {
    font-weight: 600;
    color: #FFFFFF;
    font-family: "Montserrat", Helvetica, sans-serif;
    text-align: center;
}
.wrapper-scrolling-top .text-top {
    font-size: 79px;
    line-height: 70px;
}
.wrapper-scrolling-top .text-center {
    font-weight: 400;
    font-size: 91px;
    line-height: 81px;
}
.wrapper-scrolling-top .text-bottom {
    font-size: 107px;
    line-height: 102px;
    letter-spacing: 0.03em;
}
.row-business .wrapper-scrolling-top .text-bottom {
    font-size: 87px;
    line-height: 90px;
    letter-spacing: 0;
}
.wrapper-scrolling-bottom {
    margin-top: 100px;
}
.wrapper-scrolling-bottom .box {
    position: relative;
    min-height: 260px;
}
.wrapper-scrolling-bottom .box img {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    object-fit: contain;
    -o-object-fit: contain;
    height: 390px;
    margin: auto;
}

@media(min-width: 768px){
    /* Gestione dello scroll fixed */
    #offerta-section .row-privati {
        position: sticky;
        z-index: 1;
    }
    .row-business {
        position: relative;
        z-index: 2;
    }
}



/* SEZIONE CLIENTI */
/* SEZIONE CLIENTI */
/* SEZIONE CLIENTI */
#clienti-section .wrapper-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    height: 380px;
}
#clienti-section .img-solo-clienti {
    height: 380px;
    object-fit: cover;
    -o-object-fit: cover;
}

/* SEZIONE WHY US */
/* SEZIONE WHY US */
/* SEZIONE WHY US */
#whyus-section .row-box {
    display: flex;
    flex-direction: row;
    align-items: end;
} 
.singolo-box-testo {
    padding-top: 56px;
    position: relative;
}
.singolo-box-testo::before {
    position: absolute;
    content: "";
    left: 0;
    top: 24px;
    width: 32px;
    height: 8px;
    background-color: #fff;
}

/* SEZIONE ENTRA IN DIMENSIONE */
/* SEZIONE ENTRA IN DIMENSIONE */
/* SEZIONE ENTRA IN DIMENSIONE */
#entra-section .img-entra-dimensione {
    height: 380px;
    object-fit: cover;
    -o-object-fit: cover;
}
#entra-section .wrapper-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    height: 100%;
}
#entra-section .row-portabilita {
    background-image: url("img/img-portabilita.webp");
    background-size: cover;
    background-position: top center;
    background-repeat: no-repeat;
}
#entra-section .row-portabilita .box-portabilita {
    height: 500px;
}
#entra-section .wrapper-icone {
    display: flex;
    flex-direction: row;
    align-items: start;
    flex-wrap: wrap;
    gap: 16px;
    row-gap: 16px;
}
#entra-section .wrapper-icone .box-icona {
    background-color: var(--dim-grey10);
    width: calc(50% - 8px);
    border-radius: 12px;
    padding: 12px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
}
#entra-section .wrapper-icone .box-icona img {
    height: 38px;
    width: 38px;
}


/* SEZIONE CONTATTO */
#form-landing-sim .form-input {
    width: 100%;
    background-color: #fff;
    padding: 16px;
    border-radius: 100px;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    margin-bottom: 4px;
    font-size: 1rem;
}
#form-landing-sim .form-input + .label-error {
    margin-bottom: 12px;
    padding-left: 16px;
    font-weight: 600;
    opacity: 0;
    transition: .3s;
}
/* MOSTRO ERRORE IN VALIDAZIONE - Aggiungo classe .field-error */
#form-landing-sim .form-input.field-error + .label-error {
    opacity: 1;
}
#form-landing-sim .doppia-colonna {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
}
#form-landing-sim .doppia-colonna .wrapper-input.doppio {
    width: calc(50% - 8px);
}
#form-landing-sim .form-input::placeholder {
    color: var(--dim-black50);
}

/* Gestione Smooth scroll */
html {
    scroll-behavior: smooth;
}
.section-wrapper {
    position: relative;
}
.section-wrapper::before {
    content: "";
    height: 80px; /* Altezza del tuo header */
    top: -80px;
    position: absolute;
    visibility: hidden;
    opacity: 0;
    z-index: -999s;
}





/* RESPONSIVE === RESPONSIVE */
/* RESPONSIVE === RESPONSIVE */
/* RESPONSIVE === RESPONSIVE */
@media(max-width: 767px){

    .btn-show-mobile {
        display: block;
    }

    /* HEADER */
    #header-fixed .header-top-wrapper > div {
        padding: 0;
    }

    /* SPLASH */
    #splash-section > .row > .container {
        padding-top: 0;
        padding-bottom: 4rem;
    }
    #splash-section .wrapper-img-splash img {
        height: 300px;
        margin: 0 0 20px 0;
    }
    #splash-section .wrapper-content-splash .text-titoletto {
        display: none;
    }
    #splash-section .wrapper-content-splash .wrapper-top {
        padding-bottom: 16px;
    }
    #splash-section .wrapper-content-splash .wrapper-center h3 {
        padding-bottom: 24px;
    }

    /* SEZIONE OFFERTA */
    #offerta-section > .row > .container {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }
    #offerta-section .wrapper-scrolling-top .text-top {
        font-size: 58px;
        line-height: 60px;
    }
    #offerta-section .wrapper-scrolling-top .text-center {
        font-size: 66px;
        line-height: 60px;
    }
    #offerta-section .wrapper-scrolling-top .text-bottom {
        font-size: 78px;
        line-height: 84px;
    }
    #offerta-section .row-business .wrapper-scrolling-top .text-bottom {
        font-size: 63px;
        line-height: 75px;
        letter-spacing: 0;
    }
    .wrapper-scrolling-bottom .box {
        min-height: 160px;
    }
    .wrapper-scrolling-bottom .box img {
        height: 300px;
    }

    #offerta-section .colonna-offerta {
        margin-top: -40px;
    }
    #offerta-section .card-offerta {
        padding: 16px;
        padding-top: 0;
    }
    #offerta-section .wrapper-5g > p {
        padding-top: 0;
        font-size: 1rem;
        margin-top: 2px;
    }
    #offerta-section .wrapper-5g img {
        width: 24px;
        height: 24px;
        margin-top: 2px;
        object-fit: contain;
        -o-object-fit: contain;
    }

    /* SEZIONE SOLO CLIENTI */
    #clienti-section .img-solo-clienti {
        margin-bottom: 2rem;
        height: 300px;
    }
    #clienti-section .wrapper-content {
        height: auto;
    }
    #clienti-section .wrapper-content .wrapper-bottom h6 br {
        display: none;
    }

    /* SEZIONE WHY US */
    #whyus-section {
        padding-top: 0;
        padding-bottom: 4rem;
    }
    #whyus-section .titolo-sezione {
        padding-right: 1.5rem;
        padding-left: 1.5rem;
    }
    #whyus-section .row-box {
        flex-wrap: wrap;
        padding: 0 16px;
        row-gap: 8px;
        align-items: end;
    }
    #whyus-section .row-box > .col-md-3 {
        width: calc(50% - 8px);
        padding: 0;
        margin-right: 8px;
    }
    #whyus-section .row-box > .col-md-3.box-attivazione {order: 1;}
    #whyus-section .row-box > .col-md-3.box-mesigratis { order: 2;}
    #whyus-section .row-box > .col-md-3.box-assistenza { order: 3;}
    #whyus-section .row-box > .col-md-3.box-no-costi { order: 4;}

    #whyus-section .row-box > .col-md-3.box-mesigratis > .singolo-box-testo,
    #whyus-section .row-box > .col-md-3.box-no-costi > .singolo-box-testo {
        border-radius: 0 24px;
    }
    #whyus-section .row-box > .col-md-3.box-mesigratis > .singolo-box-testo,
    #whyus-section .row-box > .col-md-3.box-assistenza > .singolo-box-testo {
        border-radius: 24px 0;
    }

    #whyus-section .singolo-box-testo {
        padding: 24px;
        padding-top: 48px;
    }

    /* SEZIONE ENTRA */
    #entra-section .row {
        display: flex;
        flex-direction: column;
    }
    #entra-section .area-img {
        order: 1;
        padding-bottom: 4rem;
    }
    #entra-section .area-img img {
        height: 280px;
    }
    #entra-section .area-content {
        order: 2;
    }

    /* SEZIONE PORTABILITA */
    #entra-section .row-portabilita {
        max-width: 100%;
        margin-right: auto;
        margin-left: auto;
        padding: 16px;
        background-size: 150%;
    }
    #entra-section .row-portabilita .col-md-5 {
        padding: 0;
        margin-top: 250px;
    }
    #entra-section .row-portabilita .box-portabilita{
        height: auto;
    }
    #entra-section .wrapper-icone{ 
        flex-direction: column;
        margin: auto;
    }
    #entra-section .wrapper-icone .box-icona {
        width: 100%;
    }
    #entra-section .btn-show-mobile {
        margin: auto;
    }

    /* SEZIONE CONTATTO */
    #contact-section .wrapper-top > h2,
    #contact-section .wrapper-top > p {
        width: 100% !important;
        text-align: center;
    }
    #contact-section .wrapper-top > .btn-custom {
        margin-left: auto;
        margin-right: auto;
    }
    #contact-section .box-form > h5,
    #contact-section .box-form > p {
        display: none
    }
    #form-landing-sim .doppia-colonna {
        flex-direction: column;
    }
    #form-landing-sim .doppia-colonna .wrapper-input.doppio {
        width: 100%;
    }
}