/* Reset e Stili Base */
.contenitore-generico {
    padding: 60px 50px;
}


.body-gcad {
    margin: 0;
    padding: 0px;
    font-family: 'Inter', sans-serif;
}



.container-gcad {
    max-width: 1400px;
    margin: 0 auto;
    background-color: #ffffff;
}

.accurate-results-container-topografia {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding-top: 0px !important;
    padding-bottom: 0px !important;
}

/* Immagine Principale */
.hero-image-gcad {
    width: 100%;
    margin-bottom: 40px;
}

.img-responsive-gcad {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 2px;
}

/* Titolo */
.title-section-gcad {
    margin-bottom: 35px;
}

.main-title-gcad {
    font-size: 36px;
    line-height: 42px;
    font-weight: 600;
    margin-block-start: 0px !important;
    margin-block-end: 0px !important;
    padding-top: 60px;
    padding-bottom: 10px;
    color: #000;
}

/* Griglia Introduzione */
.intro-grid-gcad {
    display: flex;
    gap: 40px;
    margin-bottom: 50px;
}

.icon-wrapper-gcad {
    flex: 0 0 160px;
}

.brand-icon-gcad img {
    width: 100%;
    height: auto;
}

.intro-content-gcad {
    flex: 1;
}

.intro-paragraph-gcad {
    font-size: 20px;
    line-height: 26px;
    font-weight: 400;
    margin-block-start: 0px !important;
    margin-block-end: 0px !important;
    font-family: Inter, sans-serif;
    color: #000;
    padding-bottom: 20px;
}

/* Bottone Call to Action */
.button-cta-gcad {
    border: solid 2px #000000;
    border-radius: 30px;
    cursor: pointer;
    font-family: Inter, sans-serif;
    font-size: 18px;
    line-height: 24px;
    text-align: center;
    color: rgb(0, 0, 0);
    font-weight: 700;
    text-decoration: none;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 30px;
    padding-right: 30px;
    display: inline-block;
    margin-bottom: 20px;
}

.button-cta-gcad:hover {
    background-color: #000000;
    color: #ffffff;
}

/* Separatore Grigio */
.separator-gcad {
    border: 0;
    border-top: 1px solid #000000;
    margin-bottom: 40px;
}

/* Griglia Dettagli Finale */
.details-layout-gcad {
    display: flex;
    gap: 50px;
}

.text-column-gcad {
    flex: 1;
}

.detail-text-gcad {
    font-family: Inter, sans-serif;
    font-size: 18px;
    line-height: 24px;
    font-weight: 400;
    margin-block-start: 0px !important;
    margin-block-end: 0px !important;
    color: #000;
    padding-bottom: 10px;
}

/* Responsive per Tablet e Smartphone */
@media (max-width: 409px) {
    .contenitore-generico {
        padding-left: 30px;
        padding-right: 30px;
    }
}

@media (min-width: 410px) and (max-width: 699px) {
    .contenitore-generico {
        padding-left: 50px;
        padding-right: 50px;
    }
}

@media (min-width: 700px) and (max-width: 870px) {
    .contenitore-generico {
        padding-left: 30px;
        padding-right: 30px;
    }
}

@media (max-width: 699px) {

    .intro-grid-gcad,
    .details-layout-gcad {
        flex-direction: column;
        gap: 25px;
    }

    .icon-wrapper-gcad {
        flex: 0 0 auto;
    }

    .main-title-gcad {
        padding-top: 30px;
    }

    .brand-icon-gcad img {
        width: 150px;
    }
}

/* Modifica queste classi nel tuo file CSS */

.before-after-wrapper-2 {
    position: relative;
    overflow: hidden;
    width: 100%;
    aspect-ratio: 16 / 9;
    cursor: col-resize;
    user-select: none;
    /* Impedisce la selezione del testo/immagini durante lo scroll */
    -webkit-user-drag: none;
    /* Impedisce il trascinamento nativo dell'immagine */
}

.img-before-2,
.img-after-2 {
    pointer-events: none;
    /* Evita che il mouse "afferri" l'immagine invece dello slider */
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.before-container-2 {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 50%;
    /* Partenza a metà */
    overflow: hidden;
    z-index: 2;
}

.img-before-2 {
    /* Fondamentale: la larghezza deve essere fissa rispetto al wrapper padre */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.slider-handle-2 {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 4px;
    background-color: #6b6b6b;
    z-index: 10;
    transform: translateX(-50%);
    pointer-events: all;
    /* La maniglia deve intercettare i click */
}

.slider-circle-2 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 44px;
    height: 44px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

@media (max-width: 369px) {
    .main-title-gcad {
        font-size: 26px;
        line-height: 32px;
    }
}

@media (min-width: 370px) and (max-width: 375px) {
    .main-title-gcad {
        font-size: 24px;
        line-height: 30px;
    }
}

@media (min-width: 376px) and (max-width: 409px) {
    .main-title-gcad {
        font-size: 27px;
        line-height: 33px;
    }
}

@media (min-width: 410px) and (max-width: 414px) {
    .main-title-gcad {
        font-size: 28px;
        line-height: 34px;
    }
}

@media (min-width: 415px) and (max-width: 430px) {
    .main-title-gcad {
        font-size: 29px;
        line-height: 35px;
    }
}

@media (min-width: 431px) and (max-width: 791px) {
    .main-title-gcad {
        font-size: 30px;
        line-height: 36px;
    }
}

@media (min-width: 792px) and (max-width: 810px) {
    .main-title-gcad {
        font-size: 31px;
        line-height: 37px;
    }
}

@media (min-width: 811px) and (max-width: 830px) {
    .main-title-gcad {
        font-size: 32px;
        line-height: 38px;
    }
}

@media (min-width: 831px) and (max-width: 849px) {
    .main-title-gcad {
        font-size: 33px;
        line-height: 39px;
    }
}


@media (min-width: 850px) and (max-width: 964px) {
    .main-title-gcad {
        font-size: 35px;
        line-height: 41px;
    }
}

@media (max-width: 369px) {
    .intro-paragraph-gcad {
        font-size: 14px;
        line-height: 20px;
    }
}

@media (min-width: 370px) and (max-width: 1200px) {
    .intro-paragraph-gcad {
        font-size: 18px;
        line-height: 24px;
    }
}

@media (max-width: 1128px) {
    .detail-text-gcad {
        font-size: 16px;
        line-height: 22px;
    }

    .detail-text-gcad {
        margin-block-start: 0px !important;
        margin-block-end: 0px !important;
    }
}

@media (max-width: 369px) {
    .detail-text-gcad {
        line-height: 20px;
        font-size: 14px;
    }
}

@media (max-width: 409px) {
    .btn-blu-heroGNSS {
        width: 100%;
    }
}