/* =====================================================
   SAFELABEL - GRIGLIA 6 BLOCCHI
   DESKTOP = 3 + 3
   MOBILE = 1 + 1 + 1 + 1 + 1 + 1
   ===================================================== */

.safelabel-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 40px !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

.safelabel-grid .safelabel-item {
    display: block !important;
    width: auto !important;
    max-width: none !important;
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
}


/* =========================
   SMARTPHONE
   ========================= */

@media screen and (max-width: 767px) {

    .safelabel-grid {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }

    .safelabel-grid .safelabel-item {
        width: 100% !important;
        max-width: 100% !important;
    }
}

/* =========================================================
   SAFELABEL - FINITURA GRAFICA PAGINA
   Uniformità, separazione sezioni e responsive
   ========================================================= */


/* ---------------------------------------------------------
   1. SPAZIATURA GENERALE DELLE SEZIONI
   --------------------------------------------------------- */

.probootstrap-section {
    padding-top: 80px;
    padding-bottom: 80px;
}

.probootstrap-section.probootstrap-bg-white {
    background-color: #ffffff;
}


/* ---------------------------------------------------------
   2. ALTERNANZA VISIVA DELLE SEZIONI
   --------------------------------------------------------- */

/* Sezioni principali non bianche */
.probootstrap-section:not(.probootstrap-bg-white) {
    background-color: #f7f7f7;
}


/* Separazione elegante tra le sezioni */
.probootstrap-section + .probootstrap-section {
    border-top: 1px solid #eeeeee;
}


/* ---------------------------------------------------------
   3. TITOLI DELLE SEZIONI
   --------------------------------------------------------- */

.probootstrap-section .section-heading h2 {
    position: relative;
    margin-bottom: 25px;
    font-weight: 700;
}


/* Piccolo elemento grafico rosso sotto i titoli */
.probootstrap-section .section-heading h2::after {
    content: "";
    display: block;
    width: 45px;
    height: 3px;
    background: #e30613;
    margin-top: 16px;
}


/* Titoli centrati */
.text-center.section-heading h2::after {
    margin-left: auto;
    margin-right: auto;
}


/* Testi introduttivi */
.probootstrap-section .section-heading .lead {
    color: #666666;
    line-height: 1.8;
}


/* ---------------------------------------------------------
   4. HERO2 - SEPARAZIONE PIÙ ELEGANTE
   --------------------------------------------------------- */

.probootstrap-hero-colored {
    position: relative;
    border-top: 1px solid rgba(255,255,255,0.12);
    border-bottom: 1px solid rgba(0,0,0,0.08);
}

.probootstrap-hero-colored .probootstrap-hero-text {
    padding-top: 20px;
    padding-bottom: 20px;
}


/* ---------------------------------------------------------
   5. GRIGLIA "MENO TEMPO / MENO ERRORI..."
   --------------------------------------------------------- */

.safelabel-grid {
    margin-top: 20px;
}


/* Uniformità dei sei elementi */
.safelabel-grid .safelabel-item {
    margin-bottom: 30px;
}


/* Card */
.safelabel-grid .service {
    height: 100%;
    min-height: 245px;
    padding: 35px 25px;
    background: #ffffff;
    border: 1px solid #eeeeee;
    border-top: 3px solid #e30613;
    box-shadow: 0 5px 20px rgba(0,0,0,0.04);
    transition: all 0.25s ease;
}


/* Effetto molto leggero al passaggio */
.safelabel-grid .service:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.07);
}


/* Icone */
.safelabel-grid .service .icon {
    margin-bottom: 18px;
}


/* Titoli */
.safelabel-grid .service h3 {
    margin-top: 0;
    margin-bottom: 12px;
    font-size: 18px;
    font-weight: 700;
}


/* Testi */
.safelabel-grid .service p {
    margin-bottom: 0;
    line-height: 1.75;
    color: #666666;
}


/* ---------------------------------------------------------
   6. SEZIONE "COME FUNZIONA"
   --------------------------------------------------------- */

.probootstrap-section .service.left-icon {
    margin-bottom: 30px;
}

.probootstrap-section .service.left-icon .text h3 {
    font-size: 17px;
    font-weight: 700;
    line-height: 1.4;
}

.probootstrap-section .service.left-icon .text p {
    line-height: 1.7;
    color: #666666;
}


/* ---------------------------------------------------------
   7. BLOCCO DESTINATARI
   --------------------------------------------------------- */

.probootstrap-section [style*="border-top: 4px solid #e30613"] {
    border: 1px solid #eeeeee !important;
    border-top: 4px solid #e30613 !important;
    box-shadow: 0 5px 20px rgba(0,0,0,0.04);
    transition: all 0.25s ease;
}

.probootstrap-section [style*="border-top: 4px solid #e30613"]:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.07);
}


/* ---------------------------------------------------------
   8. BLOCCHI DATI / INGREDIENTI
   --------------------------------------------------------- */

.probootstrap-section [style*="border-left: 4px solid #e30613"] {
    border: 1px solid #eeeeee !important;
    border-left: 4px solid #e30613 !important;
    box-shadow: 0 4px 18px rgba(0,0,0,0.035);
}


/* ---------------------------------------------------------
   9. SEZIONI CALCOLO / STAMPA
   --------------------------------------------------------- */

.probootstrap-section [style*="padding: 20px 10px"] h3 {
    margin-top: 0;
    margin-bottom: 12px;
    font-size: 19px;
    font-weight: 700;
}

.probootstrap-section [style*="padding: 20px 10px"] p {
    color: #666666;
}


/* ---------------------------------------------------------
   10. ELENCHI ETICHETTA
   --------------------------------------------------------- */

.probootstrap-section ul {
    margin-bottom: 0;
}

.probootstrap-section ul li {
    margin-bottom: 12px;
}


/* ---------------------------------------------------------
   11. CAROUSEL IMMAGINI
   --------------------------------------------------------- */

.owl-carousel-fullwidth {
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
}


/* ---------------------------------------------------------
   12. RECENSIONI
   --------------------------------------------------------- */

.probootstrap-testimony-wrap {
    padding: 30px 25px;
    min-height: 320px;
    background: #ffffff;
    border: 1px solid #eeeeee;
    box-shadow: 0 5px 20px rgba(0,0,0,0.04);
}

.probootstrap-testimony-wrap .quote {
    line-height: 1.7;
}


/* ---------------------------------------------------------
   13. CTA FINALE
   --------------------------------------------------------- */

.probootstrap-cta {
    border-top: 1px solid rgba(0,0,0,0.08);
}


/* ---------------------------------------------------------
   14. FOOTER
   --------------------------------------------------------- */

.probootstrap-footer {
    border-top: 1px solid #eeeeee;
}


/* ---------------------------------------------------------
   15. RESPONSIVE TABLET
   --------------------------------------------------------- */

@media screen and (max-width: 991px) {

    .probootstrap-section {
        padding-top: 65px;
        padding-bottom: 65px;
    }

    .safelabel-grid .service {
        min-height: 230px;
    }

    .probootstrap-testimony-wrap {
        margin-bottom: 30px;
    }

}


/* ---------------------------------------------------------
   16. RESPONSIVE MOBILE
   --------------------------------------------------------- */

@media screen and (max-width: 767px) {

    .probootstrap-section {
        padding-top: 50px;
        padding-bottom: 50px;
    }

    .probootstrap-section .section-heading {
        margin-bottom: 30px;
    }

    .probootstrap-section .section-heading h2 {
        font-size: 28px;
        line-height: 1.3;
    }

    .probootstrap-section .section-heading .lead {
        font-size: 16px;
        line-height: 1.7;
    }

    .safelabel-grid {
        margin-top: 0;
    }

    .safelabel-grid .safelabel-item {
        margin-bottom: 20px;
    }

    .safelabel-grid .service {
        min-height: auto;
        padding: 30px 22px;
    }

    .probootstrap-testimony-wrap {
        min-height: auto;
        margin-bottom: 20px;
        padding: 25px 20px;
    }

}


/* ---------------------------------------------------------
   17. MOBILE PICCOLO
   --------------------------------------------------------- */

@media screen and (max-width: 480px) {

    .probootstrap-section {
        padding-top: 42px;
        padding-bottom: 42px;
    }

    .probootstrap-section .section-heading h2 {
        font-size: 25px;
    }

    .safelabel-grid .service {
        padding: 25px 20px;
    }

}

/* Avvicina il contenuto dell'Hero alla navbar */
.probootstrap-hero {
    padding-top: 25px !important;
}

.probootstrap-hero-text {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

@media screen and (max-width: 767px) {
    .probootstrap-hero {
        padding-top: 20px !important;
    }
}