/* ===================================================
   1. RESET & VARIABILI GLOBALI
   =================================================== */
:root {
    --primary: #356549;
    --primary-light: #4a8a63;
    --primary-dark: #264a35;
    --accent: #1abc9c;
    --text-dark: #2c3e50;
    --text-light: #546e7a;
    --white: #ffffff;
    --bg-light: #f4f7f6;
    --shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    text-decoration: none;
}

body {
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
    overflow-x: hidden;
}

section {
    padding: 90px 10%;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.divider {
    width: 50px;
    height: 3px;
    background: var(--accent);
    margin: 15px 0;
}

.divider.center {
    margin: 15px auto;
}

h2 {
    font-size: 32px;
    color: var(--text-dark);
    margin-bottom: 10px;
}

/* ===================================================
   2. HERO SECTION
   =================================================== */
.hero {
    padding: 140px 10%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, .6), rgba(0, 0, 0, .3)), url('../assets/sede.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    display: flex;
    align-items: center;
    min-height: 80vh;
}

.hero-content {
    max-width: 850px;
    width: 100%;
}

.hero h4 {
    color: var(--accent);
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 10px;
    font-size: 14px;
}

.hero h1 {
    font-size: 48px;
    margin: 20px 0;
    line-height: 1.2;
}

.hero h1 span {
    color: var(--accent);
}

.hero p {
    max-width: 600px;
    margin-bottom: 30px;
    font-weight: 300;
    font-size: 16px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-main, 
.btn-main-white {
    padding: 15px 35px;
    border-radius: 5px;
    font-weight: 600;
    display: inline-block;
    transition: 0.3s;
    text-align: center;
    box-sizing: border-box;
}

.btn-main {
    background: var(--primary);
    color: white;
}

.btn-main:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
}

.btn-main-white {
    border: 1px solid white;
    color: white;
}

.btn-main-white:hover {
    border: 1px solid var(--accent);
    color: var(--accent);
    transform: translateY(-3px);
}

/* ===================================================
   3. FEATURES SECTION
   =================================================== */
.features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin-top: -60px;
    padding: 0 10%;
    position: relative;
    z-index: 10;
}

.feature-box {
    color: white;
    padding: 40px 30px;
    text-align: center;
    transition: transform 0.3s ease;
}

.f1 { background: var(--primary-light); }
.f2 { background: var(--primary); }
.f3 { background: var(--primary-dark); }

.feature-box i {
    font-size: 40px;
    margin-bottom: 20px;
}

.feature-box h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

.feature-box p {
    font-size: 14px;
    line-height: 1.5;
    opacity: 0.9;
}

/* ===================================================
   4. ABOUT SECTION & SLIDER
   =================================================== */
.about-container {
    display: flex;
    gap: 50px;
    align-items: center;
}

.about-image,
.about-text {
    flex: 1;
}

.about-image {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: var(--shadow);
    width: 100%;
}

.about-slider {
    position: relative;
    width: 100%;
    height: auto;
}

.about-slide {
    display: none;
    width: 100%;
}

.about-slide.active {
    display: block;
    animation: fadeIn 0.5s ease-in-out;
}

.about-slide img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

.about-list {
    list-style: none;
    margin: 20px 0;
}

.about-list li {
    margin-bottom: 12px;
    padding-left: 25px;
    position: relative;
    font-size: 14px;
}

.about-list li::before {
    content: "\f00c";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--accent);
}

.about-prev,
.about-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease, transform 0.3s ease, background 0.3s ease;
    z-index: 5;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.about-prev { left: 15px; }
.about-next { right: 15px; }

.about-image:hover .about-prev,
.about-image:hover .about-next,
.about-image.show-controls .about-prev,
.about-image.show-controls .about-next {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.about-prev:hover,
.about-next:hover {
    background: var(--primary);
    transform: translateY(-50%) scale(1.1);
}

.about-dots {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 5;
}

.dot {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
}

.dot.active {
    background: var(--accent);
    transform: scale(1.2);
}

/* ===================================================
   5. DEPARTMENTS / SERVIZI SECTION (4 CARD SU PC)
   =================================================== */
.departments-section {
    background-color: #eef5f1;
    text-align: center;
    padding: 90px 10%;
}

.dept-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 CARD SU TUTTI I DESKTOP / PC */
    gap: 15px;
    margin-top: 40px;
}

.dept-card-link,
.dept-card-link:visited,
.dept-card-link:hover,
.dept-card-link:active {
    color: inherit;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.dept-card {
    background: white;
    padding: 35px 15px;
    border-top: 4px solid var(--primary);
    transition: 0.3s;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    flex: 1;
    align-items: center;
    border-radius: 4px;
}

.dept-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow);
}

.dept-card i {
    font-size: 38px;
    color: var(--primary);
    margin-bottom: 15px;
}

.dept-card h3 {
    font-size: 19px;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.dept-card p {
    font-size: 13.5px;
    color: var(--text-light);
    line-height: 1.5;
    flex-grow: 1;
}

/* ===================================================
   6. WHY CHOOSE US
   =================================================== */
.choose-main-wrapper {
    display: flex;
    align-items: center;
    position: relative;
    width: 100%;
}

.image-area {
    flex: 0 0 55%;
    max-width: 55%;
}

.image-area img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    display: block;
    box-shadow: var(--shadow);
}

.content-area {
    flex: 0 0 55%;
    max-width: 55%;
    margin-left: -10%;
    z-index: 10;
}

.cyan-box {
    background-color: var(--primary);
    padding: 40px;
    color: white;
    box-shadow: var(--shadow);
    border-radius: 8px;
}

.overlay-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px 20px;
}

.circle {
    width: 45px;
    height: 45px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    font-weight: 600;
}

/* ===================================================
   7. PARTNERS SECTION
   =================================================== */
.partners {
    background: #eef5f1;
    text-align: center;
    padding: 80px 10%;
}

.partners p {
    max-width: 700px;
    margin: 0 auto 30px;
    color: var(--text-light);
    font-size: 16px;
    line-height: 1.6;
}

.partners-slider-wrapper {
    overflow: hidden;
    width: 100%;
    position: relative;
    background: var(--white);
    padding: 30px 0;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.partners-slider {
    display: flex;
    gap: 60px;
    width: max-content;
    align-items: center;
    will-change: transform;
}

.scrolling-content {
    animation: scroll var(--speed-duration, 60s) linear infinite;
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.partner {
    flex: 0 0 auto;
}

.partner img {
    display: block;
    height: 60px;
    width: auto;
    pointer-events: none;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: 0.3s;
}

.partner:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

.chi-more {
    margin-top: 35px;
}

.btn-outline {
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 600;
    display: inline-block;
    transition: 0.3s;
    text-align: center;
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
}

/* ===================================================
   8. TECHNOLOGIES SECTION
   =================================================== */
.tech {
    background: var(--white);
    padding: 80px 10%;
}

.tech-header {
    text-align: center;
    margin-bottom: 40px;
}

.tech-header p {
    max-width: 800px;
    margin: 15px auto 0;
    color: var(--text-light);
    font-size: 16px;
    line-height: 1.6;
}

.tech-slider {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    min-height: 380px;
}

.tech-slide {
    display: none;
    align-items: center;
    gap: 40px;
    animation: fadeIn 0.5s ease-in-out forwards;
}

.tech-slide.active {
    display: flex;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.tech-image, .tech-text {
    flex: 1;
}

.tech-image img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.tech-tag {
    background: var(--bg-light);
    color: var(--primary);
    padding: 5px 15px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.tech-text h3 {
    font-size: 24px;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.tech-text p {
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.6;
}

.tech-controls {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}

.tech-controls button {
    background: var(--primary);
    color: white;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tech-controls button:hover {
    background: var(--primary-dark);
}

/* ===================================================
   9. STATS & TESTIMONIALS
   =================================================== */
.stats-section {
    display: flex;
    justify-content: space-around;
    align-items: center;
    background: var(--bg-light);
    padding: 60px 10%;
    gap: 30px;
    text-align: center;
}

.stat-box {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-icon {
    font-size: 35px;
    color: var(--primary);
    margin-bottom: 10px;
}

.stat-number {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.2;
    margin-bottom: 5px;
}

.stats-section p {
    color: var(--text-light);
    font-size: 14px;
    margin: 0;
}

.testimonials-section {
    text-align: center;
    background: white;
}

.testimonial-slider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    margin-top: 40px;
}

.testimonial-author {
    flex-shrink: 0;
}

.testimonial-author img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 4px solid var(--primary);
    object-fit: cover;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.testimonial-content {
    text-align: center;
}

.testimonial-content strong {
    display: block;
    color: var(--primary);
    font-size: 15px;
}

/* ===================================================
   10. NEWS & FOOTER
   =================================================== */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.news-card {
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #eee;
    transition: 0.3s;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.news-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.news-body {
    padding: 20px;
}

.read-more {
    color: var(--primary);
    font-weight: 700;
}

#map {
    height: 500px;
    width: 100%;
    border-radius: 12px;
    z-index: 1;
    margin: 20px 0;
    background: #f0f0f0;
}

.sedi-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 50px;
}

.sede-card {
    background: #f9f9f9;
    padding: 20px;
    border-left: 4px solid var(--primary);
    border-radius: 4px;
}

/* ===================================================
   11. MODALE / POP-UP SEDI
   =================================================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-box {
    background: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    width: 90%;
    max-width: 500px;
    text-align: center;
    position: relative;
    transform: translateY(-20px);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal-box {
    transform: translateY(0);
}

.modal-box h3 {
    color: var(--text-dark);
    font-size: 22px;
    margin-bottom: 10px;
}

.modal-box p {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 25px;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 20px;
    color: var(--text-light);
    cursor: pointer;
    transition: color 0.3s;
}

.modal-close:hover {
    color: #e74c3c;
}

.modal-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.btn-sede {
    flex: 1;
    background: var(--primary);
    color: white;
    padding: 15px 20px;
    border-radius: 5px;
    font-weight: 600;
    font-size: 15px;
    transition: 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    border: none;
    cursor: pointer;
}

.btn-sede:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-sede span {
    font-size: 12px;
    font-weight: 300;
    opacity: 0.9;
}

/* ===================================================
   12. MEDIA QUERIES UNIFICATE & ORDINATE
   =================================================== */

/* --- LAPTOP / DISPLAY MEDI-GRANDI (<= 1200px) --- */
@media (max-width: 1200px) {
    .departments-section {
        padding-left: 4%;
        padding-right: 4%;
    }

    .dept-grid {
        gap: 12px; /* Riduzione gap per mantenere le 4 colonne perfette anche sui 13-15" */
    }

    .dept-card {
        padding: 30px 10px;
    }
}

/* --- TABLET E LAPTOP PICCOLI (<= 992px) --- */
@media (max-width: 992px) {
    section, 
    .hero, 
    .departments-section, 
    .partners, 
    .tech{
        padding-left: 5%;
        padding-right: 5%;
    }

    .hero {
        padding-top: 100px;
        padding-bottom: 80px;
        min-height: auto;
    }

    .hero h1 {
        font-size: 38px;
    }

    /* Sui tablet i servizi passano a 2 colonne per leggibilità */
    .dept-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .about-container,
    .choose-main-wrapper {
        flex-direction: column;
        gap: 30px;
    }

    .image-area,
    .content-area {
        flex: 0 0 100%;
        max-width: 100%;
        width: 100%;
    }

    .content-area {
        margin-left: 0;
        margin-top: -30px;
    }

    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* --- TABLET PORTRAIT / SMARTPHONE GRANDI (<= 768px) --- */
@media (max-width: 768px) {
    .hero {
        padding: 80px 20px;
        text-align: center;
        justify-content: center;
    }

    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero p {
        font-size: 15px;
    }

    .hero-buttons {
        justify-content: center;
        width: 100%;
    }

    .features {
        grid-template-columns: 1fr;
        margin-top: 0;
        padding: 0 20px;
    }

    .f3 {
        border-radius: 0 0 8px 8px;
    }

    .partners-slider {
        gap: 40px;
    }

    .partner img {
        height: 45px;
    }

    .tech-slide.active {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .tech-image img {
        height: 250px;
    }

    .testimonial-slider {
        gap: 25px;
    }

    .testimonial-author img {
        width: 85px;
        height: 85px;
    }

    #map {
        height: 350px;
    }
}

/* --- SMARTPHONE STANDARD (<= 576px) --- */
@media (max-width: 576px) {
    section {
        padding: 50px 20px;
    }

    .hero {
        padding: 60px 15px;
        min-height: calc(100vh - 60px);
    }

    .hero h4 {
        font-size: 12px;
        letter-spacing: 1px;
    }

    .hero h1 {
        font-size: 26px;
        margin: 15px 0;
    }

    .hero p {
        font-size: 14px;
        margin-bottom: 25px;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }

    .btn-main, 
    .btn-main-white {
        width: 100%;
        padding: 14px 20px;
    }

    /* Su smartphone i servizi vanno in colonna singola */
    .dept-grid,
    .news-grid{
        grid-template-columns: 1fr;
    }

    .overlay-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .stats-section {
        flex-direction: column;
        gap: 30px;
        padding: 40px 20px;
    }

    .testimonial-slider {
        flex-direction: column;
        gap: 20px;
    }

    .btn-outline {
        width: 100%;
        box-sizing: border-box;
        padding: 12px 20px;
    }

    .about-prev,
    .about-next {
        width: 36px;
        height: 36px;
        font-size: 13px;
    }

    .about-prev { left: 8px; }
    .about-next { right: 8px; }
    .about-dots { bottom: 8px; }

    .dot {
        width: 8px;
        height: 8px;
    }

    .modal-buttons {
        flex-direction: column;
    }
}

/* --- DISPLAY ULTRAPICCOLI (<= 380px) --- */
@media (max-width: 380px) {
    .hero h1 {
        font-size: 22px;
    }

    .cyan-box {
        padding: 20px 15px;
    }
}

/* ===================================================
   PERCHÉ SCEGLIERCI
   =================================================== */

#perche-sceglierci {
    width: 100%;
    min-height: 100vh;
    padding: 90px 5%;
    display: flex;
    align-items: center;
    justify-content: center;
}

#perche-sceglierci .container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

#perche-sceglierci .choose-main-wrapper {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}


/* ===================================================
   FOTO
   =================================================== */

#perche-sceglierci .image-area {
    flex: 0 0 45%;
    max-width: 45%;

    aspect-ratio: 1 / 1;

    position: relative;
    overflow: hidden;

    border-radius: 8px;
    box-shadow: var(--shadow);

    /* NON spostiamo più la foto con transform */
    transform: none;

    z-index: 1;
}

#perche-sceglierci .image-area img {
    width: 100%;
    height: 100%;
    display: block;

    object-fit: cover;
    object-position: center;

    border-radius: 8px;
}


/* ===================================================
   BOX VERDE
   =================================================== */

#perche-sceglierci .content-area {
    flex: 0 0 60%;
    max-width: 60%;

    /*
     * Sovrapposizione della box sulla foto.
     */
    margin-left: -10%;

    z-index: 2;
}

#perche-sceglierci .cyan-box {
    width: 100%;

    padding: 40px;

    background-color: var(--primary);
    color: white;

    border-radius: 8px;
    box-shadow: var(--shadow);
}


/* ===================================================
   GRIGLIA DEI CONTENUTI
   =================================================== */

#perche-sceglierci .overlay-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px 20px;
}

#perche-sceglierci .choose-item {
    min-width: 0;
}

#perche-sceglierci .choose-item h3 {
    color: white;
}

#perche-sceglierci .choose-item p {
    color: white;
}


/* ===================================================
   TABLET
   =================================================== */

@media (max-width: 992px) {

    #perche-sceglierci {
        min-height: auto;
        padding: 80px 5%;
    }

    #perche-sceglierci .choose-main-wrapper {
        flex-direction: column;
        align-items: center;
    }

    /*
     * FOTO E BOX HANNO LA STESSA LARGHEZZA
     */
    #perche-sceglierci .image-area {
        width: 90%;
        max-width: 750px;

        flex: none;
        aspect-ratio: 16 / 10;

        margin: 0 auto;

        transform: none;
    }

    #perche-sceglierci .content-area {
        width: 90%;
        max-width: 750px;

        flex: none;

        /*
         * La box sale leggermente sulla foto
         */
        margin: -50px auto 0;
    }

    #perche-sceglierci .cyan-box {
        padding: 35px;
    }
}


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

@media (max-width: 768px) {

    #perche-sceglierci {
        padding: 60px 20px;
    }

    /*
     * FOTO E BOX IDENTICI COME LARGHEZZA
     */
    #perche-sceglierci .image-area {
        width: 100%;
        max-width: 600px;

        aspect-ratio: 16 / 10;
    }

    #perche-sceglierci .content-area {
        width: 100%;
        max-width: 600px;

        margin: -35px auto 0;
    }

    #perche-sceglierci .cyan-box {
        padding: 30px 25px;
    }

    #perche-sceglierci .overlay-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
}


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

@media (max-width: 576px) {

    #perche-sceglierci {
        padding: 50px 20px;
    }

    /*
     * FOTO E BOX ESATTAMENTE DELLA STESSA LARGHEZZA
     */
    #perche-sceglierci .image-area,
    #perche-sceglierci .content-area {
        width: 100%;
        max-width: none;
    }

    #perche-sceglierci .image-area {
        aspect-ratio: 16 / 10;
    }

    #perche-sceglierci .content-area {
        margin-top: -25px;
    }

    #perche-sceglierci .cyan-box {
        padding: 25px 20px;
    }

    #perche-sceglierci #choose_title {
        font-size: 26px;
        line-height: 1.2;
        margin-bottom: 25px !important;
    }

    #perche-sceglierci .choose-item h3 {
        font-size: 17px;
    }

    #perche-sceglierci .choose-item p {
        font-size: 13px !important;
    }
}



/* ===================================================
   SLIDER FOTO - PERCHÉ SCEGLIERCI
   =================================================== */

#perche-sceglierci .choose-slider {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

#perche-sceglierci .choose-slide {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    opacity: 0;
    visibility: hidden;

    transition:
        opacity 1s ease-in-out,
        visibility 1s ease-in-out;
}

#perche-sceglierci .choose-slide.active {
    opacity: 1;
    visibility: visible;
}
