/* ============================================================
   SEZIONE CONFRONTO gnss SLAM
============================================================ */

.confronto-gnss-section {
    width: 100%;
    background-color: #efefef;
    box-sizing: border-box;
}

.confronto-gnss-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 60px 50px;
    box-sizing: border-box;
    text-align: center;
}


/* ============================================================
   TITOLO
============================================================ */

.confronto-gnss-title {
    margin: 0 0 20px 0;
    font-family: Inter, sans-serif;
    font-size: 36px;
    line-height: 42px;
    font-weight: 600;
    color: #000;
    text-align: center;
}

.confronto-gnss-intro {
    margin: 0 0 45px 0;
    font-family: Inter, sans-serif;
    font-size: 20px;
    line-height: 26px;
    font-weight: 400;
    color: #000;
    text-align: center;
}


/* ============================================================
   TABELLA DESKTOP
============================================================ */

.confronto-gnss-table-wrapper {
    max-width: 1000px;
    overflow-x: auto;
    margin: 0 auto;
}

.confronto-gnss-table {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
    table-layout: fixed;
    background-color: #efefef;
    font-family: Inter, sans-serif;
}


/* Celle */

.confronto-gnss-table th,
.confronto-gnss-table td {
    border: 2px solid #c4c4c4;
    padding: 12px 16px;
    background-color: #efefef;
    color: #000;
    text-align: left;
    vertical-align: middle;
    box-sizing: border-box;
    text-align: center;
}


/* Prima colonna */

.confronto-gnss-table th:first-child {
    width: 18%;
}


/* Colonne prodotti (3 colonne: 82% / 3 ≈ 27.3%) */

.confronto-gnss-table th:not(:first-child),
.confronto-gnss-table td {
    width: 27.3%;
}


/* Intestazione */

.confronto-gnss-table thead th {
    padding: 12px 14px;
    font-size: 14px;
    line-height: 20px;
    font-weight: 600;
    vertical-align: middle;
    text-align: center;
}


/* Caratteristiche */

.confronto-gnss-table tbody th {
    font-size: 14px;
    line-height: 20px;
    font-weight: 600;
    text-align: center;
}


/* Valori */

.confronto-gnss-table tbody td {
    font-size: 14px;
    line-height: 20px;
    font-weight: 400;
    text-align: center;
}

.confronto-gnss-table strong {
    font-weight: 600;
    color: #000;
}


/* ============================================================
   TABELLA RESPONSIVE
   Nascondiamo quella desktop e mostriamo questa
   sotto i 950px.
============================================================ */

.confronto-gnss-responsive-table-wrapper {
    display: none;
}


/* ============================================================
   CTA
============================================================ */

.confronto-gnss-cta {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 45px;
    width: 100%;
}

.confronto-gnss-cta .btn-preventivo.btn-blu {
    font-size: 18px;
    line-height: 22px;
    padding: 16px 45px;
}


/* ============================================================
   RESPONSIVE - FINO A 950px
============================================================ */

@media (max-width: 950px) {

    .confronto-gnss-container {
        padding: 50px 40px;
    }


    /* Titolo */

    .confronto-gnss-title {
        font-size: 34px;
        line-height: 42px;
    }


    /* Introduzione */

    .confronto-gnss-intro {
        font-size: 17px;
        line-height: 26px;
        margin-bottom: 40px;
    }


    /* Nascondiamo la tabella desktop */

    .confronto-gnss-table-wrapper {
        display: none;
    }


    /* Mostriamo la tabella responsive */

    .confronto-gnss-responsive-table-wrapper {
        display: block;
        width: 100%;
        overflow-x: auto;
    }


    /* ========================================================
       VERA TABELLA RESPONSIVE
    ======================================================== */

    .confronto-gnss-responsive-table {
        width: 100%;
        border-collapse: collapse;
        border-spacing: 0;
        table-layout: fixed;
        background-color: #efefef;
        font-family: Inter, sans-serif;
    }


    /* Tutte le colonne hanno esattamente la stessa larghezza (3 colonne: 33.33% ciascuna) */

    .confronto-gnss-responsive-table th,
    .confronto-gnss-responsive-table td {
        width: 33.33%;
        border: 2px solid #c4c4c4;
        background-color: #efefef;
        color: #000;
        text-align: center;
        vertical-align: middle;
        box-sizing: border-box;
    }


    /* ========================================================
       NOMI PRODOTTI
    ======================================================== */

    .confronto-gnss-responsive-table thead th {
        padding: 12px 14px;
        font-size: 14px;
        line-height: 20px;
        font-weight: 600;
        text-align: center;
        vertical-align: middle;
    }


    /* ========================================================
       CELLE DELLE CARATTERISTICHE

       IMPORTANTE:
       NON usare min-height.
       L'altezza viene determinata dalla tabella.
    ======================================================== */

    .confronto-gnss-responsive-table tbody td {
        padding: 12px 14px;
        vertical-align: middle;
    }


    /* Nome caratteristica */

    .gnss-responsive-feature-name {
        display: block;
        width: 100%;
        margin: 0 0 16px 0;
        padding: 0;
        font-size: 14px;
        line-height: 20px;
        font-weight: 600;
        text-align: center;
        color: #000;
        box-sizing: border-box;
    }


    /* Valore */

    .gnss-responsive-feature-value {
        display: block;
        width: 100%;
        margin: 0;
        padding: 0;
        font-size: 14px;
        line-height: 20px;
        font-weight: 400;
        text-align: center;
        color: #000;
        box-sizing: border-box;
    }


    .gnss-responsive-feature-value strong {
        font-weight: 600;
        color: #000;
    }

}


/* ============================================================
   RESPONSIVE - FINO A 699px
============================================================ */

@media (max-width: 699px) {

    .confronto-gnss-container {
        padding: 50px 30px;
    }


    .confronto-gnss-title {
        font-size: 30px;
        line-height: 38px;
    }


    .confronto-gnss-intro {
        font-size: 16px;
        line-height: 24px;
        margin-bottom: 35px;
    }


    /* Header prodotti */

    .confronto-gnss-responsive-table thead th {
        padding: 12px 8px;
        font-size: 14px;
        line-height: 20px;
    }


    /* Celle */

    .confronto-gnss-responsive-table tbody td {
        padding: 12px 8px;
    }


    /* Caratteristiche */

    .gnss-responsive-feature-name {
        margin-bottom: 10px;
        font-size: 12px;
        line-height: 16px;
    }


    /* Valori */

    .gnss-responsive-feature-value {
        font-size: 12px;
        line-height: 18px;
    }
}


/* ============================================================
   RESPONSIVE - FINO A 409px
============================================================ */

@media (max-width: 409px) {

    .confronto-gnss-container {
        padding: 40px 20px;
    }


    .confronto-gnss-title {
        font-size: 28px;
        line-height: 36px;
    }


    .confronto-gnss-intro {
        font-size: 15px;
        line-height: 23px;
    }


    /* Header prodotti */

    .confronto-gnss-responsive-table thead th {
        padding: 10px 5px;
        font-size: 13px;
        line-height: 17px;
    }


    /* Celle */

    .confronto-gnss-responsive-table tbody td {
        padding: 14px 6px;
    }


    /* Caratteristiche */

    .gnss-responsive-feature-name {
        margin-bottom: 8px;
        font-size: 11px;
        line-height: 15px;
    }


    /* Valori */

    .gnss-responsive-feature-value {
        font-size: 12px;
        line-height: 17px;
    }
}

.gnss-responsive-feature-value a:hover {
    color: #0077cc !important;
}

.confronto-gnss-table a:hover {
    color: #0077cc !important;
}