body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;  /*Nasconde lo scroll orizzontale */
}

.menu-top-bar {
    display: none !important;
}
.intestazione {
    background-color: #0d1e3c; /* Blu scuro */
    color: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.intestazione-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo {
    height: 40px; /* Regola l'altezza in base alla tua immagine */
    margin-right: 10px;
}
.logo-text {
    font-size: 20px;
    font-weight: bold;
    color: white;
    position: relative;
    margin-left: 5px;
}
.logo-text::before {
    content: ''; /* Obbligatorio per gli pseudo-elementi */
    position: absolute;
    left: -8px; /* Posiziona la riga leggermente a sinistra della scritta */
    top: 50%;
    transform: translateY(-50%); /* Centra verticalmente la riga */
    height: 130%; /* Altezza della riga rispetto al genitore */
    width: 1px; /* Spessore della riga */
    background-color: white;
}
.intestazione-links a {
    color: white;
    text-decoration: none;
    margin-left: 20px;
    font-family: EniTab;
    font-size: 14px;
    font-weight: bold;
    font-stretch: normal;
    font-style: normal;
    transition: opacity 0.3s ease;
}

.intestazione-links a .yellow-text {
    color: #ffd300; /* Giallo Eni */
    /* Il link giallo non ha l'opacità iniziale */
}
.search-button {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    margin-left: 20px;
}

.search-button svg {
    width: 20px;
    height: 20px;
    vertical-align: middle;
}

/* Bottone 'Accesso' */


.intestazione-nav {
    padding: 18px 30px;
}

.nav-menu {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.nav-menu li {
    margin-right: 30px;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    font-family: EniTab;
    font-weight: bold;
    font-stretch: normal;
    font-style: normal;
    position: relative;
    padding-bottom: 5px;
}
.nav-menu a:hover {
    color:#87CEEB /* Blu scuro dell'header */
}
/* Effetto di sottolineatura al passaggio del mouse */
.nav-menu a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    top: 30px;
    width: 0;
    height: 3px;
    background-color: #007BFF;
}

.nav-menu a:hover::after {
    width: 100%;
}
/* Stili per il contenitore principale */
.clients-section {
    padding-top: 0;
    font-family: Arial, sans-serif;


    margin-top: 0;
}

.main-content {
    display: flex;
    background-color: white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden; /* Importante per la forma dell'immagine */
    width: 100%;
    max-width: 100%;
}

/* Stili per l'immagine */
.image-container {
    position: relative;
    overflow: hidden;
    width: 700px;
    clip-path: ellipse(95% 100% at 0% 50%);
}




.background-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease;
}

/* Stili per la forma dell'immagine con clip-path (per la curva) */
.image-container::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;

    height: 100%;
    background-color: white; /* Stesso colore dello sfondo del contenitore di testo */
    /* Crea una curva usando un clip-path */
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%, 20% 50%); /* Esempio di curva */
}

/* Stili per il testo a destra */
.text-container {
    width: 450px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1 0.5 100px;
}

.text-container h1 {
    align-self: stretch;
    flex-grow: 0;
    font-family: EniTab;
    font-size: 48px;
    font-weight: bold;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.17;
    letter-spacing: normal;
    text-align: left;
    color: #040832;
    padding:0 80px 0 0;


}

.text-container p {
    height: 96px;
    align-self: stretch;
    flex-grow: 0;
    font-family: OpenSans;
    font-size: 20px;
    font-weight: normal;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.6;
    letter-spacing: normal;
    text-align: left;
    color: #222;
}

.cta-button {
    background-color: #ffd300;
    color: #0d1e3c;
    border: none;
    padding: 15px 30px;
    border-radius: 25px;
    font-weight: bold;
    cursor: pointer;
    align-self: flex-start; /* Allinea il bottone a sinistra */
    margin-top: 20px;

}
.Button-label {
    width: 171px;
    height: 18px;
    flex-grow: 0;
    font-family: EniTab;
    font-size: 16px;
    font-weight: bold;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.13;
    letter-spacing: 0.48px;
    text-align: center;
    color: #040832;
}

/* Stili per la navigazione inferiore */
.clients-nav {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-top: 0px;
    padding: 50px 50px;
    background-color: white;
    position: relative; /* Necessario per il ::before */
}

.clients-nav::before {
    display: none;
}


.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1 1 0;
    min-width: 0;
    position: relative;
    z-index: 2;
    padding-top: 34px;
}

.nav-item::before {
    display: none;
}

.nav-item:last-child::before {
    display: none;
}

.nav-item:nth-of-type(1)::before,
.nav-item:nth-of-type(2)::before {
    content: '';
    position: absolute;
    top: 40px;                      /* linea centrata rispetto ai pallini */
    left: calc(50% + 18px);
    width: calc(100% - 36px);
    height: 1px;
    background-color: rgba(4, 8, 50, 0.18);
    z-index: 1;
}

.nav-item:nth-of-type(3)::before {
    display: none;
    content: none;
}

.dot {
    width: 14px;
    height: 14px;
    background-color: #040832;
    border: 2px solid #0d1e3c;
    border-radius: 50%;
    margin-bottom: 22px;
    z-index: 3;
}

.nav-item p {
    max-width: 190px;  /* regola a piacere */
    line-height: 1.4;  /* migliora leggibilità */
    word-wrap: break-word;
    font-family: EniTab;
    font-size: 17px;
    font-weight: bold;
    font-stretch: normal;
    font-style: normal;
}

.nav-item.active .dot {
    width: 34px;
    height: 34px;
    margin-top: -10px;
    margin-bottom: 12px;
    background-color: white;
    border: 4px solid #0d1e3c;
    transition: all 0.3s ease;
    z-index: 4;
}

/* Testo attivo (opzionale, ma consigliato) */
.nav-item.active p {
    font-weight: bold;
    color: #0d1e3c;
}


.play-pause-btn {
    background-color: #0958a5;
    color: white;
    border: none;
    cursor: pointer;
    font-size: 24px;
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
    max-width: 40px;
    max-height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    margin-top: -10px;
    margin-right: 20px;
    flex: 0 0 40px;
    box-sizing: border-box;
}

.play-pause-btn svg {
    width: 16px;   /* ridimensiona l’icona se necessario */
    height: 16px;
    fill: white;   /* assicura che l’icona svg sia bianca */
}
.eni-offerta {
    padding: 80px 20px;
    background-color:#fafafa;
    margin: 0 0px;
}

.scegliereEni {

    margin: 0 80px;
    text-align: center;
}

h2 {
    height: 48px;
    align-self: stretch;
    flex-grow: 0;
    font-family: EniTab;
    font-size: 40px;
    font-weight: bold;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.2;
    letter-spacing: normal;
    text-align: left;
    color: #040832;
}

.cards-wrapper {
    display: flex;
    flex-wrap: nowrap;       /* rimane su una riga */
    /*justify-content: center;*/
    gap: 25px;
    margin-bottom: 50px;
}

.eni-card {
    flex: 1 1 0;            /* Le card crescono tutte equamente */
    min-width: 200px;        /* Limite minimo per mobile */
    background-color: #ffffff;
    border: 1px solid var(--eni-border-gray);
    border-radius: 10px;
    padding: 10px 25px;
    min-height: 280px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.eni-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.icon-placeholder {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    display: flex;
    justify-content: left;
    align-items: flex-start;
    align-self: flex-start;
}

.icon {
    width: 100%;
    height: 100%;
    fill: var(--eni-blue-dark);
    stroke: var(--eni-blue-dark);
    stroke-width: 1px;
}

.eni-card h3 {
    min-height: 52px;        /* min-height invece di height fissa: evita overlap con il testo se il titolo va a piu' righe */
    height: auto;
    align-self: stretch;
    flex-grow: 0;
    font-family: EniTab;
    font-size: 20px;
    font-weight: bold;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.3;
    letter-spacing: normal;
    text-align: left;
    color: #040832;
    margin-bottom: 8px;       /* spazio positivo per separare titolo da paragrafo */
}
.carousel-indicators {
    display: none;
}
.carousel-indicators2 {
    display: none;
}
.eni-card p {
    font-size: 0.95rem;
    flex-grow: 1;
    margin-bottom: 20px;
    align-self: stretch;
    flex-grow: 0;
    font-family: OpenSans;
    font-size: 14px;
    font-weight: normal;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.43;
    letter-spacing: 0.4px;
    text-align: left;
    color: #666;
}
.more-link {
    text-decoration: none;
    font-weight: bold;
    white-space: nowrap;
    transition: color 0.3s ease;
    margin-top: 40px;
    margin-right: 40px;
    width: 93px;
    height: 18px;
    flex-grow: 0;
    font-family: EniTab;
    font-size: 16px;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.13;
    letter-spacing: 0.48px;
    text-align: center;
    color: #0958a5;
}
.request-button {
    display: inline-block;
    padding: 15px 40px;
    /* Colore di sfondo di base del bottone */
    background-color: transparent;
    /* Colore del testo e del bordo di base */
    color: var(--eni-blue-dark);
    border: solid 2px #040832;
    border-radius: 30px;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 1px;
    /* Transizione per un effetto fluido */
    transition: background-color 0.3s ease, color 0.3s ease;
}

.business-solutions {

    margin-left: 50px;
    margin-top: 80px;
    background-color: white /* Sfondo leggero per distinguere la sezione */

}

.business-solutions .container {


    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;

    text-align: left;
}

.business-solutions h2 {
    align-self: stretch;
    flex-grow: 0;
    font-family: EniTab;
    font-size: 32px;
    font-weight: bold;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.25;
    letter-spacing: normal;
    text-align: left;
    color: #040832;
}

.business-solutions p {
    max-width: 800px;
    margin: 0 0 40px;
    align-self: stretch;
    flex-grow: 0;
    font-family: OpenSans;
    font-size: 16px;
    font-weight: normal;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.75;
    letter-spacing: normal;
    text-align: left;
    color: #222;
}

.card-container {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    margin-top: 24px;
    flex-wrap: nowrap;

    width: 100%;
    gap: 0;                    /* ✅ nessuno spazio tra le card */
    display: flex;
    flex-direction: column;

}

.card2 {
    flex: 1 1 450px;
    aspect-ratio: 16 / 9;
    height: auto;
    padding: 40px 64px;
    border-radius: 18px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;


}

.card2:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.gas-card {
    background-color: #0074a7;
    text-align: center;
    justify-content: center;
    margin-top: 0px;
}

.electricity-card {
    background-color: #05344c;
    margin-top: 0px;
}

.card2 h3 {
    height: 40px;
    align-self: stretch;
    flex-grow: 0;
    font-family: EniTab;
    font-size: 32px;
    font-weight: bold;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.25;
    letter-spacing: normal;
    text-align: left;
    color: #fff;
}

.learn-more {
    display: flex;
    align-items: center;
    margin-top: 40px;
    margin-bottom: 20px;

    font-family: EniTab;
    font-size: 16px;
    font-weight: bold;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.13;
    letter-spacing: 0.48px;
}

.arrow {
    width: 14.8px;
    margin-left: 8px;
    display: flex !important;
}
.prev{
    display: none !important;
}
.next{
    display: none !important;
}


.card2:hover .arrow {
    transform: translateX(5px);
}

/* Media Queries per la reattività */
@media (max-width: 768px) {
    .link-section .card-container {
        flex-direction: column;
        align-items: center;
        margin-left: -40px !important;
        margin-top: 80px !important;
        gap: 0px !important;
    }
}

.features-section {

    margin-left: 90px;
    margin-right: 80px;
    margin-top: 140px;
    margin-bottom: 60px;

}

.caratteristiche {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
}

.text-caratteristiche {
    max-width: 70%;
}

.caratteristiche h1 {
    height: 40px;
    align-self: stretch;
    flex-grow: 0;
    font-family: EniTab;
    font-size: 32px;
    font-weight: bold;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.25;
    letter-spacing: normal;
    text-align: left;
    color: #040832;
}

.caratteristiche p {
    font-size: 1.1em;
    line-height: 1.6;
    color: #555;
}



.more-link:hover {
    color: #0056b3;
}

.cards-container2 {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
}

.card3 {
    position: relative;
    width: calc(33.333% - 20px);
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-image: linear-gradient(to bottom, rgba(34, 34, 34, 0), #222 67%);
}

.card3:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.card3 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    background-image: linear-gradient(to top, rgba(34, 34, 34, 0), #222 67%);
    display: block;
    filter: brightness(0.6);
}
.card3 .expand-btn {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #FFD700; /* giallo */
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 24px;
    cursor: pointer;
    z-index: 2;
    color: black;
    transition: all 0.3s ease;
}

.card3 .expand-btn.active {
    background-color: white;  /* sfondo bianco */
    border: 2px solid #FFD700; /* bordo giallo */
    color: black;
}


.extraText-container {
    margin-top: 20px;
    padding: 15px;
    background-color: #f0f0f0;
    border-radius: 5px;
    display: none; /* nascosto finché non clicchi */
}

.card3.inactive {
    opacity: 0.4;
}

.card-overlay {
    position: absolute;
    bottom: 40px;

    left: 0;
    width: 100%;
    background: var(--dark-overlay);
    color: #fff;
    padding: 20px;
    box-sizing: border-box;
    display: flex;
    align-items:left;
    justify-content: left;
    text-align: center;
}

.card-overlay p {
    height: 26px;
    align-self: stretch;
    flex-grow: 0;
    font-family: EniTab;
    font-size: 20px;
    font-weight: bold;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.3;
    letter-spacing: normal;
    text-align: left;
    color: #fff;
}

@media (max-width: 992px) {
    .caratteristiche {
        flex-direction: column;
        align-items: flex-start;
    }
    .more-link {
        color: var(--link-color);
        text-decoration: none;
        font-size: 1.1em;
        font-weight: bold;
        white-space: nowrap;
        transition: color 0.3s ease;
        margin-top: 30px !important;
        margin-right: 20px;
        margin-left: 160px;
    }
    .text-caratteristiche {
        max-width: 100%;
        margin-bottom: 20px;
    }



    .card3 {
        width: 90%;
        aspect-ratio: 4 / 3;
        height: auto;
    }
}
.link {

    margin: 40px 40px;
    padding: 0 15px;
}

.link-section {
    display: none;
}

.link-section h2 {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 2rem;
}

.card-grid {
    display: flex;
    gap: 20px;
    transition: transform 0.5s ease;
}

.card-grid-wrapper {
    overflow: hidden;
    width:100%; /* larghezza visibile: 4 card da 200px + 3 gap da 20px */

}
.card2 h3 {
    font-size: 32px;
    font-weight: 500;
    margin-bottom: -10px;

    justify-content: left;
    margin-top: 10px;
}
.card4 {
    flex: 1 1 200px;             /* card più stretta */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-color: var(--card-bg-color);
    border: 2px solid #cac6c6;
    border-radius: 15px;
    padding: 1.5rem;               /* meno padding per compattezza */
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    font-weight: bold;
    color: #000;     /* testo interno in grassetto */
    min-width: 200px;
}

/* Se vuoi forzare solo il testo p e h3 in grassetto */
.card4 h3,
.card4 p {
    font-weight: bold;
    color: black;
}


.logo2-placeholder {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 80px;
    margin-bottom: 1rem;
}

.log2o-placeholder img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.card4 p {
    font-size: 0.9rem;
    line-height: 1.4;
    color: black;
    margin-bottom: 1.5rem;
    min-height: 3em; /* Ensures text area is consistent */
}

.read-more-link {
    font-size: 0.875rem;
    color: var(--link-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    font-weight: 500;
    transition: color 0.2s ease;
}

.read-more-link:hover {
    color: #0a58ca;
}

.read-more-link svg {
    margin-right: 5px;
    width: 1em;
    height: 1em;
}

.pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    padding: 0 60px;
}

/* Indicatori cerchi a sinistra */
.pagination-dots {
    display: flex;
    align-items: center;
    gap: 8px;
}

.dot2 {
    width: 35px;
    height: 5px;
    background-color: #adb5bd;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

.dot2.active {
    width: 35px;
    height: 5px;
    border-radius: 4px;
    background-color: #004b8d;
}


/* Frecce a destra */
.pagination-arrows {
    display: flex;
    gap: 10px;
}

.arrow-btn {
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.arrow-btn:hover {
    background-color: #f1f1f1;
}

.arrow-btn.prev {
    color: #6c757d;
}

.arrow-btn.next {
    color: #333;
}
.carousel-indicators3 {
    display: none ;
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .footer {
        padding: 10px 24px;
    }
    .footer-top { flex-direction: column; gap: 10px; }
    .footer-areas::before { width: 100%; }
    .footer-policies { flex: 1 ; }
    .footer-policies ul { grid-template-columns: 1fr; }
    .footer-info::after {width: 100%}
    .footer-bottom { flex-direction: column; gap: 24px; }
}

.scroll-top-btn {
    position: fixed;          /* si posiziona relativo al footer-bottom */
    bottom: 5px;
    right: 5px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #009fe3;   /* azzurro */
    color: white;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    transition: background-color 0.3s ease;
}

.scroll-top-btn:hover {
    background-color: #007bb8;   /* azzurro più scuro al passaggio */
}
.hamburger {
    display: none;
    cursor: pointer;
    font-size: 24px;
    margin-left: 20px;
}

/* Modal a tendina */
.slide-modal {
    position: fixed;
    bottom: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    transition: bottom 0.5s ease;
    z-index: 1000;
}

.slide-modal.active {
    bottom: 0;
}

.modal-content {
    padding: 20px;
    overflow-y: auto;
    height: 100%;
}
.country-selection-container {
    min-height: 300px;

}

.close-btn {
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
    width: 40px;
    height: 40px;
    border: 1px solid #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: rgba(128, 128, 128, 0.3);
}









/* VERSIONE RESPONSIVE    */
/* ====================== */
@media screen and (max-width: 992px) {
    /* Hamburger */
    /* header compatto */
    .intestazione-top {
        padding: 12px 16px;
    }

    .logo {
        height: 32px;
    }

    .access-button {
        display: none;
    }

    .intestazione-links {
        display: none;
    }

    .intestazione-nav {
        display: none;
    }

    .hamburger {
        display: block;
        font-size: 30px;
        color: white;
        margin-left: auto;
    }

    .intestazione-nav.active {
        display: flex;
        flex-direction: column;
        background: #040832;
        width: 100%;
        padding: 20px;
    }

    .nav-menu {
        flex-direction: column;
        gap: 20px;
    }

    .nav-menu li {
        margin: 0;
    }
    .eni-card {
        flex: 0 0 40px; /* Le card crescono tutte equamente */
        min-width: 300px; /* Limite minimo per mobile */
        background-color: #ffffff;
        border: 1px solid var(--eni-border-gray);
        border-radius: 10px;
        padding: 10px 25px;
        min-height: 280px;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
        transition: transform 0.3s ease, box-shadow 0.3s ease; }

    .scegliereEni {
        margin: 0 0px !important;
        text-align: center;
    }
    .menu {
        position: fixed;
        /* la aggancio in basso */
        right:  0px !important;            /* lato sinistro */
        width: 290px;       /* larghezza fissa */
        height: auto;       /* altezza dinamica in base ai link */
        background: #0d0f3f;
        color: #fff;
        /* spaziatura sopra e sotto */
        z-index: 1000;
        border-top-right-radius: 12px; /* angolo arrotondato sopra, opzionale */
        margin-top: 20px;
    }
    body, html {
        overflow-x: hidden; /* blocca scroll orizzontale */
    }
    .menu-top-bar {
        display: flex !important;
        background-color: #0d1e3c !important;
        justify-content: space-between;
        align-items: center;
        padding: 5px 15px;
        font-size: 14px;
        color: #fff;
        border-bottom: 1px solid rgba(255,255,255,0.2);
    }
    .card-grid-wrapper {
        display: flex; /* allinea le card orizzontalmente */
        overflow-x: auto !important; /* scroll orizzontale */
        scroll-snap-type: x mandatory; /* attiva snap */
        width: 100%;

    }
    .menu-top-bar .menu-icon {
        width: 20px;
        height: 20px;
        object-fit: contain;
    }

    .menu-top-bar img {
        height: 30px !important;
        width: auto !important;
        object-fit: contain;
    }

    /* Header */
    .intestazione {
        width: 100%;
        margin: 0;
    }



    .logo-container {
        flex: 1;
        display: flex;        /* mancava questo */
        justify-content: flex-start;
        align-items: center;
        width: auto;
    }











    /* Main content */
    .main-content {
        flex-direction: column;
    }


    .text-container {
        width: 100%;
        padding: 0;
        clip-path: none;
    }
    .text-container h1 {
        align-self: stretch;
        flex-grow: 0;
        font-family: EniTab;
        font-size: 48px;
        font-weight: bold;
        font-stretch: normal;
        font-style: normal;
        line-height: 1.17;
        letter-spacing: normal;
        text-align: center;
        color: #040832;
        padding: 0 0 0 0;
    }

    .text-container p {
        height: 96px;
        align-self: stretch;
        flex-grow: 0;
        font-family: OpenSans;
        font-size: 20px;
        font-weight: normal;
        font-stretch: normal;
        font-style: normal;
        line-height: 1.6;
        letter-spacing: normal;
        text-align: center;
        color: #222;
        padding: 0 20px;
    }


    .image-container::after {
        display: none;
    }

    .background-image {
        width: 65%;
        height: 229px;
        overflow: hidden !important;
        flex-grow: 0;
        border-bottom-right-radius: 60% 20% !important;
        border-bottom-left-radius: 60% 20% !important;
        border-top-right-radius: 0px !important;
        clip-path: none;

    }

    .text-container {
        text-align: center;
        padding: 20px 0;
    }

    .cta-button {
        margin-top: 90px !important;
        align-self: center;
    }

    /* ===== MOBILE clients slider ===== */
    .clients-nav {
        position: relative !important;
        background: #fff !important;
        min-height: 64px !important;
    }

    /* niente vecchia barra separata */
    .clients-nav::before,
    .clients-nav .progress-bar,
    .clients-nav .progress-indicator {
        display: none !important;
        content: none !important;
    }

    /* testi nascosti in mobile */
    .clients-nav .nav-item p {
        display: none !important;
    }

    /* nav item posizionati come nel layout attuale */
    .clients-nav .nav-item {
        position: absolute !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        margin: 0 !important;
        padding: 0 !important;
        width: 24px !important;
        height: 10px !important;
        min-width: 24px !important;
        min-height: 10px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        flex: none !important;
    }

    /* posizioni */
    .clients-nav .nav-item:nth-of-type(1) {
        left: 88px !important;
    }

    .clients-nav .nav-item:nth-of-type(2) {
        left: 120px !important;
    }

    .clients-nav .nav-item:nth-of-type(3) {
        left: 152px !important;
    }

    /* dot base */
    .clients-nav .dot {
        position: relative !important;
        width: 10px !important;
        height: 10px !important;
        min-width: 10px !important;
        min-height: 10px !important;
        border: 1px solid #0d1e3c !important;
        border-radius: 999px !important;
        background: #fff !important;
        overflow: hidden !important;
        box-sizing: border-box !important;
        display: block !important;
    }

    .clients-nav .dot .fill-bar {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        background: #0d1e3c !important;
        border-radius: 999px !important;
        transform: scaleX(0);
        transform-origin: left center !important;
        display: block !important;
        opacity: 1 !important;
        z-index: 2 !important;
    }

    /* step attivo = slider */
    .clients-nav .nav-item.active .dot {
        width: 40px !important;
        height: 10px !important;
        min-width: 40px !important;
        min-height: 10px !important;
        border: 1px solid #0d1e3c !important;
        border-radius: 999px !important;
        background: #fff !important;
    }

    /* il riempimento parte solo sullo step attivo */
    .clients-nav .nav-item.active .dot .fill-bar {
        animation: mobileDotFill 5s linear forwards !important;
    }

    /* gli altri restano vuoti */
    .clients-nav .nav-item:not(.active) .dot .fill-bar {
        animation: none !important;
        transform: scaleX(0) !important;
    }

    /* frecce */
    .clients-nav .arrow {
        position: absolute !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        background: transparent !important;
        border: none !important;
        cursor: pointer !important;
        z-index: 10 !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    .clients-nav .arrow.prev {
        display: flex !important;
        left: auto !important;
        right: 64px !important;
    }

    .clients-nav .arrow.next {
        display: flex !important;
        left: auto !important;
        right: 26px !important;
    }

    .clients-nav .arrow-svg {
        width: 14px !important;
        height: 22px !important;
        display: block !important;
    }

    .clients-nav .arrow-svg path {
        fill: none !important;
        stroke: #0d1e3c !important;
        stroke-width: 2 !important;
        stroke-linecap: round !important;
        stroke-linejoin: round !important;
    }

    /* play/pause */
    .clients-nav .play-pause-btn {
        background-color: #0958a5 !important;
        color: white !important;
        border: none !important;
        cursor: pointer !important;
        width: 40px !important;
        height: 40px !important;
        border-radius: 50% !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        padding: 0 !important;
        margin-left: 0 !important;
        margin-right: 16px !important;
        order: 0 !important;
    }

    .clients-nav .play-pause-btn svg {
        width: 16px !important;
        height: 16px !important;
        fill: white !important;
    }

    .pagination {
        display: none;
    }
    .pagination-arrows {
        display: none;
    }
    h2 {
        font-size: 24px;
        color: var(--eni-blue-dark);
        margin-bottom: 0px;
        text-align:left;
        margin-top: -30px !important;
        margin-left: 20px !important;
    }
    .eni-card h3 {
        height: 26px;
        align-self: stretch;
        flex-grow: 0;
        font-family: EniTab;
        font-size: 18px;
        font-weight: bold;
        font-stretch: normal;
        font-style: normal;
        line-height: 1.44;
        letter-spacing: normal;
        text-align: left;
        color: #040832;
    }

    .eni-card p {
        height: 96px;
        align-self: stretch;
        flex-grow: 0;
        font-family: OpenSans;
        font-size: 14px;
        font-weight: normal;
        font-stretch: normal;
        font-style: normal;
        line-height: 1.71;
        letter-spacing: normal;
        text-align: left;
        color: #666;
    }
    .scegliereEni .request-button {
        background-color: #f5f5f5 !important;
    }
    /* Cards */

    .carousel-indicators {
        display: flex !important;
        justify-content: center;
        margin-top: 1rem;
        margin-bottom: 1rem;
        gap: 0.5rem;
    }

    .carousel-indicators button {
        width: 12px;
        height: 12px;
        border-radius: 50%;
        border: none;
        background: #ccc;
        cursor: pointer;
        transition: background 0.3s;
    }

    .carousel-indicators button.active {
        background: #080849; /* colore evidenziato */
    }
    .carousel-indicators2 {
        display: flex !important;
        justify-content: center;
        margin-top: 1rem;
        margin-bottom: 1rem;
        gap: 0.5rem;
    }

    .carousel-indicators2 button {
        width: 12px;
        height: 12px;
        border-radius: 50%;
        border: none;
        background: #ccc;
        cursor: pointer;
        transition: background 0.3s;
    }

    .carousel-indicators2 button.active {
        background: #080849; /* colore evidenziato */
    }
    .carousel-indicators3 {
        display: flex !important;
        justify-content: center;
        margin-top: 1rem;
        margin-bottom: 1rem;
        gap: 0.5rem;
    }

    .carousel-indicators3 button {
        width: 12px;
        height: 12px;
        border-radius: 50%;
        border: none;
        background: #ccc;
        cursor: pointer;
        transition: background 0.3s;
    }

    .carousel-indicators3 button.active {
        background: #080849; /* colore evidenziato */
    }
    .card-container {
        flex-direction: column !important;
        justify-content: flex-start !important;
        display: flex;


        width: 100%;
        gap: 20px !important;
        transition: transform 0.5s ease !important;
    }

    .card-grid {
        flex-direction: row !important;
        justify-content: flex-start !important;
        display: flex;

        scroll-behavior: smooth;
        width: 100%;
        gap: 20px !important;
        transition: transform 0.5s ease !important;
    }

    /* Business solutions */
    .business-solutions {
        margin-left: 0px !important;
    }
    .business-solutions .container {
        max-width: 1400px;
        margin: 60px 20px !important;
        text-align: left;
    }
    .business-solutions .container h2 {
        max-width: 1400px;
        margin: 20px 20px !important;
        text-align: left;
        margin-top: 30px !important;
        margin-left: -10px !important;
        margin-bottom: 20px !important;
    }

    .business-solutions .container p {
        max-width: 1400px;
        margin: 40px 20px !important;
        text-align: left;

        margin-left: -10px !important;
    }

    /* Features */
    .features-section {
        margin-top: 40px;
        margin-left: 20px !important;
        margin-right: 20px !important;
    }

    .caratteristiche {
        flex-direction: column;
        text-align: left;
    }

    .text-caratteristiche {
        max-width: 100%;
    }

    .cards-container2 {
        flex-direction: row !important;
        justify-content: flex-start !important;
        display: flex;
        overflow-x: auto !important;
        /* non scroll manuale */
        scroll-behavior: smooth;
        width: 100%;
        gap: 10px !important;
        transition: transform 0.5s ease !important;
        flex-wrap: nowrap !important;
        padding-bottom: 10px !important;
    }
    .electricity-card {
        background-color: #002e4d;
        margin-top: -20px !important;
    }
    .card3 {
        flex: 0 0 97% !important;
        width: 90%;
        overflow: hidden !important;
        aspect-ratio: 4 / 3 !important;
        height: auto !important;
        scroll-snap-align: center;
        position: relative;
    }

    /* Link section */
    .link-section {
        margin: 0;

    }
    .link-section h2 {
        margin-left: 0px !important;
    }
    .link {
        margin: 40px 0px !important;
    }
    .card4 {
        flex: 0 0 80% !important;
        width: 90%;
        overflow: auto !important;
        height: 300px !important;
        scroll-snap-align: start;

    }
    .eni-offerta {
        padding: 80px 0px !important;
        background-color:#f5f5f5;
        margin: 0 80px;
    }
    .card-grid {
        display: flex;       /* attiva il flexbox */
        flex-direction: row; /* allinea le card orizzontalmente */
        gap: 20px;
    }

    .learn-more .arrow {
        display: none !important;
    }

    /* Footer */

    /* Wrapper generale sezioni */
    .intestazione,
    .clients-section,
    .eni-offerta,
    .business-solutions,

    .link-section,
    .footer {
        width: 100% !important;
        margin: 0 ;
    }


    .footer {
        padding: 20px 15px;
        max-width: 100%;
        margin: 0;
    }

    .footer-top {
        flex-direction: column;
        gap: 20px;
    }


    .footer-left,
    .footer-policies {
        max-width: 100%;
        margin-top: 20px !important;
    }

    .footer-logo::after {
        width: 140px;
    }

    .footer-policies ul {
        display: grid;          /* Assicurati che sia un grid */
        grid-template-columns: 1fr 1fr !important;  /* Due colonne per le policies */
        gap: 20px 0;
    }
    .footer-areas ul {
        grid-template-columns: 1fr;
        gap: 12px 0;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
    }

    .footer-info {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .footer-areas {
        flex: 1 0.5 0px !important;
        margin-left: 0;
        text-align: left;
    }

    .footer-description p {
        max-width: 320px;
        margin-top: 60px;
    }

}



body {
    margin: 0;
    padding: 0;

    overflow-x: hidden;
    overflow-y: scroll;   /* ✅ FORZA SEMPRE la scrollbar */
}


.menu-top-bar {
    display: none !important;
}
.intestazione {
    background-color: #0d1e3c; /* Blu scuro */
    color: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.intestazione-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo {
    height: 40px; /* Regola l'altezza in base alla tua immagine */
    margin-right: 10px;
}
.logo-text {
    font-size: 20px;
    font-weight: bold;
    color: white;
    position: relative;
    margin-left: 5px;
}
.logo-text::before {
    content: ''; /* Obbligatorio per gli pseudo-elementi */
    position: absolute;
    left: -8px; /* Posiziona la riga leggermente a sinistra della scritta */
    top: 50%;
    transform: translateY(-50%); /* Centra verticalmente la riga */
    height: 130%; /* Altezza della riga rispetto al genitore */
    width: 1px; /* Spessore della riga */
    background-color: white;
}
.intestazione-links a {
    color: white;
    text-decoration: none;
    margin-left: 20px;
    font-family: EniTab;
    font-size: 14px;
    font-weight: bold;
    font-stretch: normal;
    font-style: normal;
    transition: opacity 0.3s ease;
}

.intestazione-links a .yellow-text {
    color: #ffd300; /* Giallo Eni */
    /* Il link giallo non ha l'opacità iniziale */
}
.search-button {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    margin-left: 20px;
}

.search-button svg {
    width: 20px;
    height: 20px;
    vertical-align: middle;
}

/* Bottone 'Accesso' */


.intestazione-nav {
    padding: 18px 30px;
}

.nav-menu {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.nav-menu li {
    margin-right: 30px;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    font-family: EniTab;
    font-weight: bold;
    font-stretch: normal;
    font-style: normal;
    position: relative;
    padding-bottom: 5px;
}
.nav-menu a:hover {
    color:#87CEEB /* Blu scuro dell'header */
}
/* Effetto di sottolineatura al passaggio del mouse */
.nav-menu a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    top: 30px;
    width: 0;
    height: 3px;
    background-color: #007BFF;
}

.nav-menu a:hover::after {
    width: 100%;
}
/* Stili per il contenitore principale */
.clients-section {
    padding-top: 0;
    font-family: Arial, sans-serif;


    margin-top: 0;
}

.main-content {
    display: flex;
    background-color: white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden; /* Importante per la forma dell'immagine */
    width: 100%;
    max-width: 100%;
}

/* Stili per l'immagine */
.image-container {
    position: relative;
    overflow: hidden;
    width: 700px;
    clip-path: ellipse(95% 100% at 0% 50%);
}




.background-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease;
}

/* Stili per la forma dell'immagine con clip-path (per la curva) */
.image-container::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;

    height: 100%;
    background-color: white; /* Stesso colore dello sfondo del contenitore di testo */
    /* Crea una curva usando un clip-path */
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%, 20% 50%); /* Esempio di curva */
}

/* Stili per il testo a destra */
.text-container {
    width: 450px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1 0.5 100px;
}

.text-container h1 {
    align-self: stretch;
    flex-grow: 0;
    font-family: EniTab;
    font-size: 48px;
    font-weight: bold;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.17;
    letter-spacing: normal;
    text-align: left;
    color: #040832;
    padding:0 80px 0 0;


}

.text-container p {
    height: 96px;
    align-self: stretch;
    flex-grow: 0;
    font-family: OpenSans;
    font-size: 20px;
    font-weight: normal;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.6;
    letter-spacing: normal;
    text-align: left;
    color: #222;
}

.cta-button {
    background-color: #ffd300;
    color: #0d1e3c;
    border: none;
    padding: 15px 30px;
    border-radius: 25px;
    font-weight: bold;
    cursor: pointer;
    align-self: flex-start; /* Allinea il bottone a sinistra */
    margin-top: 20px;

}
.Button-label {
    width: 171px;
    height: 18px;
    flex-grow: 0;
    font-family: EniTab;
    font-size: 16px;
    font-weight: bold;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.13;
    letter-spacing: 0.48px;
    text-align: center;
    color: #040832;
}

/* Stili per la navigazione inferiore */
.clients-nav {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-top: 0px;
    padding: 50px 50px;
    background-color: white;
    position: relative; /* Necessario per il ::before */
}


/* DESKTOP: nascondo SOLO i controlli MOBILE dello slider clienti */
@media screen and (min-width: 993px) {
    .clients-nav .arrow,
    .clients-nav .progress-bar,
    .clients-nav .progress-indicator,
    .clients-nav .arrow-svg {
        display: none !important;
    }
}

.clients-nav::before {
    content: '';
    position: absolute;
    top: 60px;
    left: 48%;
    transform: translateX(-50%);
    width: 60vw;         /* 60% della larghezza dello schermo */
    max-width: 1400px;    /* massimo */
    height: 1px;
    background-color: rgba(0, 0, 0, 0.2);
    z-index: 1;
}





.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1 0.9 480px;
    position: relative;
    z-index: 2;      /* I cerchi stanno sopra la linea */
}

.dot {
    width: 15px;
    height: 15px;
    background-color: #040832;
    border: 2px solid #0d1e3c;
    border-radius: 50%;
    margin-bottom: 2px;
    z-index: 1;
}

.nav-item p {
    max-width: 190px;  /* regola a piacere */
    line-height: 1.4;  /* migliora leggibilità */
    word-wrap: break-word;
    font-family: EniTab;
    font-size: 17px;
    font-weight: bold;
    font-stretch: normal;
    font-style: normal;
}

/* Stato attivo del nav-item */
.nav-item.active .dot {
    width: 20px;             /* più grande */
    height: 20px;
    margin-top: -2px;
    background-color: white; /* vuoto */
    border: 3px solid #0d1e3c; /* bordo visibile */
    transition: all 0.3s ease;
}

/* Testo attivo (opzionale, ma consigliato) */
.nav-item.active p {
    font-weight: bold;
    color: #0d1e3c;
}


.play-pause-btn {
    background-color: #0958a5;
    color: white;
    border: none;
    cursor: pointer;
    font-size: 24px;
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
    max-width: 40px;
    max-height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    margin-top: -10px;
    margin-right: 20px;
    flex: 0 0 40px;
    box-sizing: border-box;
}

.play-pause-btn svg {
    width: 16px;   /* ridimensiona l’icona se necessario */
    height: 16px;
    fill: white;   /* assicura che l’icona svg sia bianca */
}
.eni-offerta {
    padding: 80px 20px;
    background-color:#fafafa;
    margin: 0 0px;
}

.scegliereEni {

    margin: 0 80px;
    text-align: center;
}

h2 {
    height: 48px;
    align-self: stretch;
    flex-grow: 0;
    font-family: EniTab;
    font-size: 40px;
    font-weight: bold;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.2;
    letter-spacing: normal;
    text-align: left;
    color: #040832;
}

.cards-wrapper {
    display: flex;
    flex-wrap: nowrap;       /* rimane su una riga */
    /*justify-content: center;*/
    gap: 25px;
    margin-bottom: 50px;
}

.eni-card {
    flex: 1 1 0;            /* Le card crescono tutte equamente */
    min-width: 200px;        /* Limite minimo per mobile */
    background-color: #ffffff;
    border: 1px solid var(--eni-border-gray);
    border-radius: 10px;
    padding: 10px 25px;
    min-height: 280px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.eni-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.icon-placeholder {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    display: flex;
    justify-content: left;
    align-items: flex-start;
    align-self: flex-start;
}

.icon {
    width: 100%;
    height: 100%;
    fill: var(--eni-blue-dark);
    stroke: var(--eni-blue-dark);
    stroke-width: 1px;
}

.eni-card h3 {
    min-height: 52px;        /* min-height invece di height fissa: evita overlap con il testo se il titolo va a piu' righe */
    height: auto;
    align-self: stretch;
    flex-grow: 0;
    font-family: EniTab;
    font-size: 20px;
    font-weight: bold;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.3;
    letter-spacing: normal;
    text-align: left;
    color: #040832;
    margin-bottom: 8px;       /* spazio positivo per separare titolo da paragrafo */
}
.carousel-indicators {
    display: none;
}
.carousel-indicators2 {
    display: none;
}
.eni-card p {
    font-size: 0.95rem;
    flex-grow: 1;
    margin-bottom: 20px;
    align-self: stretch;
    flex-grow: 0;
    font-family: OpenSans;
    font-size: 14px;
    font-weight: normal;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.43;
    letter-spacing: 0.4px;
    text-align: left;
    color: #666;
}
.more-link {
    text-decoration: none;
    font-weight: bold;
    white-space: nowrap;
    transition: color 0.3s ease;
    margin-top: 40px;
    margin-right: 40px;
    width: 93px;
    height: 18px;
    flex-grow: 0;
    font-family: EniTab;
    font-size: 16px;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.13;
    letter-spacing: 0.48px;
    text-align: center;
    color: #0958a5;
}
.request-button {
    display: inline-block;
    padding: 15px 40px;
    /* Colore di sfondo di base del bottone */
    background-color: transparent;
    /* Colore del testo e del bordo di base */
    color: var(--eni-blue-dark);
    border: solid 2px #040832;
    border-radius: 30px;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 1px;
    /* Transizione per un effetto fluido */
    transition: background-color 0.3s ease, color 0.3s ease;
}

.business-solutions {
    margin: 80px 0;
    width: 100%;
    background-color: white;
}

.business-solutions .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    box-sizing: border-box;
    text-align: left;
}

.business-solutions h2 {
    font-family: EniTab;
    font-size: 32px;
    font-weight: bold;
    line-height: 1.25;
    text-align: left;
    color: #040832;
    margin: 0 0 20px 0;
    padding-left: 0;
    height: auto;

    max-width: 800px;   /* allinea con il testo */
}

.business-solutions p {
    max-width: 800px;
    margin: 0 0 40px 0;
    padding-left: 0;
    height: auto;
    font-family: OpenSans;
    font-size: 16px;
    font-weight: normal;
    line-height: 1.75;
    text-align: left;
    color: #222;
}

.business-solutions .card-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    box-sizing: border-box;

    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: stretch;
    gap: 24px;
}

.business-solutions .card2 {
    flex: 1 1 0;
    min-width: 0;
    height: 180px;
    padding: 40px 54px;
    border-radius: 18px;
    box-sizing: border-box;

    display: flex;
    flex-direction: column;
    justify-content: center;

    text-decoration: none;
    color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.business-solutions .card2:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.business-solutions .gas-card {
    background-color: #0074a7;
}

.business-solutions .electricity-card {
    background-color: #05344c;
}

.business-solutions .card2 h3 {
    margin: 0 0 24px 0;
    height: auto;
    font-family: EniTab;
    font-size: 32px;
    font-weight: bold;
    line-height: 1.25;
    text-align: left;
    color: #fff;
}

.business-solutions .card2 .learn-more {
    display: flex;
    align-items: center;
    margin: 0;
    font-family: EniTab;
    font-size: 16px;
    font-weight: bold;
    line-height: 1.13;
    letter-spacing: 0.48px;
    color: #fff;
}

.business-solutions .card2 .arrow,
.business-solutions .card2 .learn-more svg,
.business-solutions .card2 .learn-more svg path {
    color: #fff;
    fill: #fff;
    stroke: #fff;
}

.features-section {

    margin-left: 90px;
    margin-right: 80px;
    margin-top: 140px;
    margin-bottom: 60px;

}

.caratteristiche {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
}

.text-caratteristiche {
    max-width: 70%;
}

.caratteristiche h1 {
    height: 40px;
    align-self: stretch;
    flex-grow: 0;
    font-family: EniTab;
    font-size: 32px;
    font-weight: bold;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.25;
    letter-spacing: normal;
    text-align: left;
    color: #040832;
}

.caratteristiche p {
    font-size: 1.1em;
    line-height: 1.6;
    color: #555;
}



.more-link:hover {
    color: #0056b3;
}

.cards-container2 {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
}

.card3 {
    position: relative;
    width: calc(33.333% - 20px);
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-image: linear-gradient(to bottom, rgba(34, 34, 34, 0), #222 67%);
}

.card3:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.card3 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    background-image: linear-gradient(to top, rgba(34, 34, 34, 0), #222 67%);
    display: block;
    filter: brightness(0.6);
}
.card3 .expand-btn {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #FFD700; /* giallo */
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 24px;
    cursor: pointer;
    z-index: 2;
    color: black;
    transition: all 0.3s ease;
}

.card3 .expand-btn.active {
    background-color: white;  /* sfondo bianco */
    border: 2px solid #FFD700; /* bordo giallo */
    color: black;
}


.extraText-container {
    margin-top: 20px;
    padding: 15px;
    background-color: #f0f0f0;
    border-radius: 5px;
    display: none; /* nascosto finché non clicchi */
}

.card3.inactive {
    opacity: 0.4;
}

.card-overlay {
    position: absolute;
    bottom: 40px;

    left: 0;
    width: 100%;
    background: var(--dark-overlay);
    color: #fff;
    padding: 20px;
    box-sizing: border-box;
    display: flex;
    align-items: left;
    justify-content: left;
    text-align: center;
}

.card-overlay p {
    height: 26px;
    align-self: stretch;
    flex-grow: 0;
    font-family: EniTab;
    font-size: 20px;
    font-weight: bold;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.3;
    letter-spacing: normal;
    text-align: left;
    color: #fff;
}

@media (max-width: 992px) {
    .caratteristiche {
        flex-direction: column;
        align-items: flex-start;
    }
    .more-link {
        color: var(--link-color);
        text-decoration: none;
        font-size: 1.1em;
        font-weight: bold;
        white-space: nowrap;
        transition: color 0.3s ease;
        margin-top: 30px !important;
        margin-right: 20px;
        margin-left: 0px !important;
    }
    .text-caratteristiche {
        max-width: 100%;
        margin-bottom: 20px;
    }



    .card3 {
        width: 90%;
        aspect-ratio: 4 / 3;
        height: auto;
    }
}
.link {

    margin: 40px 40px;
    padding: 0 15px;
}

.link-section {
    display: none;
}

.link-section h2 {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 2rem;
}

.card-grid {
    display: flex;
    gap: 20px;
    transition: transform 0.5s ease;
}

.card-grid-wrapper {
    overflow: hidden;
    width:100%; /* larghezza visibile: 4 card da 200px + 3 gap da 20px */

}
.card2 h3 {
    font-size: 32px;
    font-weight: 500;
    margin-bottom: -10px;

    justify-content: left;
    margin-top: 10px;
}
.card4 {
    flex: 1 1 200px;             /* card più stretta */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-color: var(--card-bg-color);
    border: 2px solid #cac6c6;
    border-radius: 15px;
    padding: 1.5rem;               /* meno padding per compattezza */
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    font-weight: bold;
    color: #000;     /* testo interno in grassetto */
    min-width: 200px;
}

/* Se vuoi forzare solo il testo p e h3 in grassetto */
.card4 h3,
.card4 p {
    font-weight: bold;
    color: black;
}


.logo2-placeholder {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 80px;
    margin-bottom: 1rem;
}

.log2o-placeholder img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.card4 p {
    font-size: 0.9rem;
    line-height: 1.4;
    color: black;
    margin-bottom: 1.5rem;
    min-height: 3em; /* Ensures text area is consistent */
}

.read-more-link {
    font-size: 0.875rem;
    color: var(--link-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    font-weight: 500;
    transition: color 0.2s ease;
}

.read-more-link:hover {
    color: #0a58ca;
}

.read-more-link svg {
    margin-right: 5px;
    width: 1em;
    height: 1em;
}

.pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    padding: 0 60px;
}

/* Indicatori cerchi a sinistra */
.pagination-dots {
    display: flex;
    align-items: center;
    gap: 8px;
}

.dot2 {
    width: 35px;
    height: 5px;
    background-color: #adb5bd;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

.dot2.active {
    width: 35px;
    height: 5px;
    border-radius: 4px;
    background-color: #004b8d;
}


/* Frecce a destra */
.pagination-arrows {
    display: flex;
    gap: 10px;
}

.arrow-btn {
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.arrow-btn:hover {
    background-color: #f1f1f1;
}

.arrow-btn.prev {
    color: #6c757d;
}

.arrow-btn.next {
    color: #333;
}
.carousel-indicators3 {
    display: none ;
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .footer {
        padding: 10px 24px;
    }
    .footer-top { flex-direction: column; gap: 10px; }
    .footer-areas::before { width: 100%; }
    .footer-policies { flex: 1 ; }
    .footer-policies ul { grid-template-columns: 1fr; }
    .footer-info::after {width: 100%}
    .footer-bottom { flex-direction: column; gap: 24px; }
}

.scroll-top-btn {
    position: fixed;          /* si posiziona relativo al footer-bottom */
    bottom: 5px;
    right: 5px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #009fe3;   /* azzurro */
    color: white;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    transition: background-color 0.3s ease;
}

.scroll-top-btn:hover {
    background-color: #007bb8;   /* azzurro più scuro al passaggio */
}
.hamburger {
    display: none;
    cursor: pointer;
    font-size: 24px;
    margin-left: 20px;
}

/* Modal a tendina */
.slide-modal {
    position: fixed;
    bottom: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    transition: bottom 0.5s ease;
    z-index: 1000;
}

.slide-modal.active {
    bottom: 0;
}

.modal-content {
    padding: 20px;
    overflow-y: auto;
    height: 100%;
}
.country-selection-container {
    min-height: 300px;

}

.close-btn {
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
    width: 40px;
    height: 40px;
    border: 1px solid #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: rgba(128, 128, 128, 0.3);
}









/* VERSIONE RESPONSIVE    */
/* ====================== */
@media screen and (max-width: 992px) {
    /* Hamburger */
    /* header compatto */
    .intestazione-top {
        padding: 12px 16px;
    }

    .logo {
        height: 32px;
    }

    .access-button {
        display: none;
    }

    .intestazione-links {
        display: none;
    }

    .intestazione-nav {
        display: none;
    }

    .hamburger {
        display: block;
        font-size: 30px;
        color: white;
        margin-left: auto;
    }

    .intestazione-nav.active {
        display: flex;
        flex-direction: column;
        background: #040832;
        width: 100%;
        padding: 20px;
    }

    .nav-menu {
        flex-direction: column;
        gap: 20px;
    }

    .nav-menu li {
        margin: 0;
    }
    .eni-card {
        flex: 0 0 40px; /* Le card crescono tutte equamente */
        min-width: 300px; /* Limite minimo per mobile */
        background-color: #ffffff;
        border: 1px solid var(--eni-border-gray);
        border-radius: 10px;
        padding: 10px 25px;
        min-height: 280px;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
        transition: transform 0.3s ease, box-shadow 0.3s ease; }

    .scegliereEni {
        margin: 0 0px !important;
        text-align: center;
    }
    .menu {
        position: fixed;
        /* la aggancio in basso */
        right:  0px !important;            /* lato sinistro */
        width: 290px;       /* larghezza fissa */
        height: auto;       /* altezza dinamica in base ai link */
        background: #0d0f3f;
        color: #fff;
        /* spaziatura sopra e sotto */
        z-index: 1000;
        border-top-right-radius: 12px; /* angolo arrotondato sopra, opzionale */
        margin-top: 20px;
    }
    body, html {
        overflow-x: hidden; /* blocca scroll orizzontale */
    }
    .menu-top-bar {
        display: flex !important;
        background-color: #0d1e3c !important;
        justify-content: space-between;
        align-items: center;
        padding: 5px 15px;
        font-size: 14px;
        color: #fff;
        border-bottom: 1px solid rgba(255,255,255,0.2);
    }
    .card-grid-wrapper {
        display: flex; /* allinea le card orizzontalmente */
        overflow-x: auto !important; /* scroll orizzontale */
        scroll-snap-type: x mandatory; /* attiva snap */
        width: 100%;

    }
    .menu-top-bar .menu-icon {
        width: 20px;
        height: 20px;
        object-fit: contain;
    }

    .menu-top-bar img {
        height: 30px !important;
        width: auto !important;
        object-fit: contain;
    }

    /* Header */
    .intestazione {
        width: 100%;
        margin: 0;
    }



    .logo-container {
        flex: 1;
        display: flex;        /* mancava questo */
        justify-content: flex-start;
        align-items: center;
        width: auto;
    }

    /* Main content */
    .main-content {
        flex-direction: column;
    }


    .text-container {
        width: 100%;
        padding: 0;
        clip-path: none;
    }
    .text-container h1 {
        align-self: stretch;
        flex-grow: 0;
        font-family: EniTab;
        font-size: 48px;
        font-weight: bold;
        font-stretch: normal;
        font-style: normal;
        line-height: 1.17;
        letter-spacing: normal;
        text-align: center;
        color: #040832;
        padding: 0 0 0 0;
    }

    .text-container p {
        height: 96px;
        align-self: stretch;
        flex-grow: 0;
        font-family: OpenSans;
        font-size: 20px;
        font-weight: normal;
        font-stretch: normal;
        font-style: normal;
        line-height: 1.6;
        letter-spacing: normal;
        text-align: center;
        color: #222;
        padding: 0 20px;
    }


    .image-container::after {
        display: none;
    }

    .background-image,
    #client-image {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        object-position: center top !important;
        display: block !important;
        clip-path: none !important; /* la maschera sta sul container */
    }

    .text-container {
        text-align: center;
        padding: 20px 0;
    }

    .cta-button {
        margin-top: 90px !important;
        align-self: center;
    }

    .clients-nav .nav-item.active .dot {
        background-color: #0d1e3c; /* riempie il pallino attivo */
        border-color: #0d1e3c;
    }

    .pagination {
        display: none;
    }
    .pagination-arrows {
        display: none;
    }
    h2 {
        font-size: 24px;
        color: var(--eni-blue-dark);
        margin-bottom: 0px;
        text-align:left;
        margin-top: -30px !important;
        margin-left: 20px !important;
    }
    .eni-card h3 {
        height: 26px;
        align-self: stretch;
        flex-grow: 0;
        font-family: EniTab;
        font-size: 18px;
        font-weight: bold;
        font-stretch: normal;
        font-style: normal;
        line-height: 1.44;
        letter-spacing: normal;
        text-align: left;
        color: #040832;
    }

    .eni-card p {
        height: 96px;
        align-self: stretch;
        flex-grow: 0;
        font-family: OpenSans;
        font-size: 14px;
        font-weight: normal;
        font-stretch: normal;
        font-style: normal;
        line-height: 1.71;
        letter-spacing: normal;
        text-align: left;
        color: #666;
    }
    .scegliereEni .request-button {
        background-color: #f5f5f5 !important;
    }
    /* Cards */

    .carousel-indicators {
        display: flex !important;
        justify-content: center;
        margin-top: 1rem;
        margin-bottom: 1rem;
        gap: 0.5rem;
    }

    .carousel-indicators button {
        width: 12px;
        height: 12px;
        border-radius: 50%;
        border: none;
        background: #ccc;
        cursor: pointer;
        transition: background 0.3s;
    }

    .carousel-indicators button.active {
        background: #080849; /* colore evidenziato */
    }
    .carousel-indicators2 {
        display: flex !important;
        justify-content: center;
        margin-top: 1rem;
        margin-bottom: 1rem;
        gap: 0.5rem;
    }

    .carousel-indicators2 button {
        width: 12px;
        height: 12px;
        border-radius: 50%;
        border: none;
        background: #ccc;
        cursor: pointer;
        transition: background 0.3s;
    }

    .carousel-indicators2 button.active {
        background: #080849; /* colore evidenziato */
    }
    .carousel-indicators3 {
        display: flex !important;
        justify-content: center;
        margin-top: 1rem;
        margin-bottom: 1rem;
        gap: 0.5rem;
    }

    .carousel-indicators3 button {
        width: 12px;
        height: 12px;
        border-radius: 50%;
        border: none;
        background: #ccc;
        cursor: pointer;
        transition: background 0.3s;
    }

    .carousel-indicators3 button.active {
        background: #080849; /* colore evidenziato */
    }
    .card-container {
        flex-direction: column !important;
        justify-content: flex-start !important;
        display: flex;


        width: 100%;
        gap: 20px !important;
        transition: transform 0.5s ease !important;
    }

    .card-grid {
        flex-direction: row !important;
        justify-content: flex-start !important;
        display: flex;

        scroll-behavior: smooth;
        width: 100%;
        gap: 20px !important;
        transition: transform 0.5s ease !important;
    }

    /* Business solutions */

    .business-solutions {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }


    .business-solutions .container {
        margin: 60px 0 !important;        /* niente rientri laterali via margin */
        padding: 0 16px !important;       /* ✅ 16px a sx/dx */
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        text-align: left;
    }


    .business-solutions .container h2,
    .business-solutions .container p {
        margin-left: 0 !important;        /* ✅ elimina lo shift a sinistra */
        margin-right: 0 !important;
    }


    /* Features */
    .features-section {
        margin-top: 40px;
        margin-left: 20px !important;
        margin-right: 20px !important;
    }

    .caratteristiche {
        flex-direction: column;
        text-align: left;
    }

    .text-caratteristiche {
        max-width: 100%;
    }

    .cards-container2 {
        flex-direction: row !important;
        justify-content: flex-start !important;
        display: flex;
        overflow-x: auto !important;
        /* non scroll manuale */
        scroll-behavior: smooth;
        width: 100%;
        gap: 10px !important;
        transition: transform 0.5s ease !important;
        flex-wrap: nowrap !important;
        padding-bottom: 10px !important;
    }
    .electricity-card {
        background-color: #002e4d;
        margin-top: -20px !important;
    }
    .card3 {
        flex: 0 0 97% !important;
        width: 90%;
        overflow: hidden !important;
        aspect-ratio: 4 / 3 !important;
        height: auto !important;
        scroll-snap-align: center;
        position: relative;
    }

    /* Link section */
    .link-section {
        margin: 0;

    }
    .link-section h2 {
        margin-left: 0px !important;
    }
    .link {
        margin: 40px 0px !important;
    }
    .card4 {
        flex: 0 0 80% !important;
        width: 90%;
        overflow: auto !important;
        height: 300px !important;
        scroll-snap-align: start;

    }
    .eni-offerta {
        padding: 80px 0px !important;
        background-color:#f5f5f5;
        margin: 0 80px;
    }
    .card-grid {
        display: flex;       /* attiva il flexbox */
        flex-direction: row; /* allinea le card orizzontalmente */
        gap: 20px;
    }

    .learn-more .arrow {
        display: none !important;
    }

    /* Footer */

    /* Wrapper generale sezioni */
    .intestazione,
    .clients-section,
    .eni-offerta,
    .business-solutions,

    .link-section,
    .footer {
        width: 100% !important;
        margin: 0 ;
    }


    .footer {
        padding: 20px 15px;
        max-width: 100%;
        margin: 0;
    }

    .footer-top {
        flex-direction: column;
        gap: 20px;
    }


    .footer-left,
    .footer-policies {
        max-width: 100%;
        margin-top: 20px !important;
    }

    .footer-logo::after {
        width: 140px;
    }

    .footer-policies ul {
        display: grid;          /* Assicurati che sia un grid */
        grid-template-columns: 1fr 1fr !important;  /* Due colonne per le policies */
        gap: 20px 0;
    }
    .footer-areas ul {
        grid-template-columns: 1fr;
        gap: 12px 0;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
    }

    .footer-info {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .footer-areas {
        flex: 1 0.5 0px !important;
        margin-left: 0;
        text-align: left;
    }

    .footer-description p {
        max-width: 320px;
        margin-top: 60px;
    }

}

/* =========================================================
   MOBILE ONLY (NON TOCCA DESKTOP)
   ========================================================= */
@media screen and (max-width: 992px) {

    /* 1) blocco scroll orizzontale (mobile) */
    html, body {
        overflow-x: hidden;
    }


    .image-container {
        width: 100% !important;
        height: 229px !important;
        overflow: hidden !important;
        background: #ffffff !important;       /* evita flash durante opacity 0 */
        -webkit-clip-path: url(#heroCurve) !important;
        clip-path: url(#heroCurve) !important;
    }

    /* già corretto: niente pseudo-elemento su mobile */
    .image-container::after {
        display: none !important;
    }


    /* 3) Clients nav: layout mobile con play, dot e frecce */
    .clients-nav{
        position: relative !important;
        height: 56px !important;     /* riga fissa */
        padding: 0 !important;       /* elimina l’effetto del padding desktop */
        margin: 0 !important;
    }

    /* Nascondo la linea desktop SOLO su mobile */
    .clients-nav::before {
        display: none !important;
    }

    /* Play button fisso a sinistra */
    .play-pause-btn {
        position: absolute;
        left: 16px;
        top: 50%;
        transform: translateY(-50%);
        margin: 0 !important;
    }

    /* Progress bar fisso (se presente nel DOM) */
    .progress-bar,
    .progress-indicator {
        display: none !important;
    }

    /* I nav-item diventano “solo dot”, posizionati in X come da specifica */
    .clients-nav .nav-item {
        position: absolute !important;   /* <-- QUESTA è la modifica chiave */
        top: 50%;
        transform: translateY(-50%);
        margin: 0 !important;
        padding: 0 !important;
        flex: none !important;
        display: block;
        left: auto !important;
        margin-left: 0 !important;
    }

    .clients-nav .nav-item p {
        display: none !important;
    }


    .clients-nav .arrow{
        position: absolute !important;
        top: 50% !important;
        transform: translateY(-50%) !important;

        /* hit-area (comoda e coerente) */
        width: 32px !important;
        height: 32px !important;

        display: flex !important;
        align-items: center !important;
        justify-content: center !important;

        padding: 0 !important;
        background: transparent !important;
        border: none !important;

        color: #0d1e3c !important;
        cursor: pointer !important;
        z-index: 10 !important;
    }


    .clients-nav .arrow-svg{
        width: 12px !important;
        height: 22px !important;
        display: block !important;
    }

    /* ✅ QUESTO È IL PUNTO: SPESSORE DELLA FRECCIA */
    .clients-nav .arrow-svg path{
        fill: none;
        stroke: currentColor;

        stroke-width: 2.25;        /* <-- più spesso (effetto "prima immagine") */
        stroke-linecap: round;
        stroke-linejoin: round;
    }
    .clients-nav .arrow.prev { left: auto !important; right: 64px !important; }
    .clients-nav .arrow.next { left: auto !important; right: 26px !important; }

    /* layout dinamico indicatori mobile */
    .clients-nav {
        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
        gap: 8px !important;
        padding-left: 72px !important;   /* primo indicatore a 72px dal bordo sinistro */
        padding-right: 90px !important;  /* spazio per le frecce */
        min-height: 64px !important;
        background: #fff !important;
    }

    /* niente vecchio rettangolo */
    .clients-nav::before {
        content: none !important;
        display: none !important;
    }

    /* niente vecchia progress bar */
    .clients-nav .progress-bar,
    .clients-nav .progress-indicator {
        display: none !important;
    }

    /* i nav-item tornano nel flow normale */
    .clients-nav .nav-item {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        transform: none !important;
        width: auto !important;
        height: auto !important;
        min-width: 0 !important;
        min-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
        flex: 0 0 auto !important;
    }

    /* pallino base */
    .clients-nav .dot {
        position: relative !important;
        width: 10px !important;
        height: 10px !important;
        min-width: 10px !important;
        min-height: 10px !important;
        margin: 0 !important;
        border-radius: 999px !important;
        box-sizing: border-box !important;
        background: #fff !important;
        border: 1px solid #0d1e3c !important;
        overflow: hidden !important;
        transition: none !important;
        display: block !important;
    }

    /* riempimento interno */
    .clients-nav .dot::after {
        content: "" !important;
        position: absolute !important;
        inset: 0 !important;
        background-color: #0d1e3c !important;
        border-radius: 999px !important;
        transform: scaleX(0) !important;
        transform-origin: left center !important;
        transition: none !important;
    }

    /* attivo = slider */
    .clients-nav .nav-item.active .dot {
        width: 40px !important;
        height: 10px !important;
        min-width: 40px !important;
        min-height: 10px !important;
        border-radius: 999px !important;
        background: #fff !important;
        border: 1px solid #0d1e3c !important;
        transition: none !important;
    }

    /* si riempie mentre la slide è attiva */
    .clients-nav .nav-item.active .dot::after {
        animation: mobileDotFill 5s linear forwards !important;
    }

    /* gli altri restano pallini vuoti */
    .clients-nav .nav-item:not(.active) .dot::after {
        animation: none !important;
        transform: scaleX(0) !important;
    }

    /* 5) Learn-more centrato SOLO per Business Solutions (mobile) */
    .business-solutions .learn-more {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        margin: 0;
    }

    .business-solutions .learn-more .arrow {
        font-size: 18px;
        line-height: 1;
        display: inline-block;
        position: static !important;
        width: auto;
        height: auto;
        transform: none;
    }


    /* riempimento interno */
    .clients-nav .dot::after{
        content: "" !important;
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 0 !important;
        height: 100% !important;
        background-color: #0d1e3c !important;
        border-radius: 999px !important;
        display: block !important;
        opacity: 1 !important;
        transition: none !important;
    }

    /* si riempie mentre la slide è attiva */
    .clients-nav .nav-item.active .dot::after{
        animation: mobileDotFill 5s linear forwards !important;
    }

    /* gli altri tornano subito puntini */
    .clients-nav .nav-item:not(.active) .dot::after{
        width: 0 !important;
        animation: none !important;
    }


    /* centra tutto il contenuto dentro la card */
    .business-solutions .card2{
        /* NON tocchiamo margin/padding/width/height/flex => non si sposta */
        text-align: center !important;
        align-items: center !important;     /* centra orizzontalmente gli elementi interni */
        justify-content: center !important; /* centra verticalmente gli elementi interni */
    }

    .business-solutions .card2 h3{
        text-align: center !important;
        /* NON tocco font-size/line-height => solo allineamento */
    }

    .business-solutions .card2 .learn-more{
        justify-content: center !important;
        text-align: center !important;
        width: auto !important;
    }

    .business-solutions .card2 .learn-more .arrow{
        display: inline-block !important;
        margin-left: 8px !important;
        transform: none !important;
    }

    /* Quando il menu è aperto: stessa cosa (difesa extra) */
    body.menu-open .business-solutions .card2,
    body.menu-open .business-solutions .card2 h3,
    body.menu-open .business-solutions .card2 .learn-more{
        text-align: center !important;
    }

    /*##########################################*/

    /* opzionale: se vuoi anche la sezione senza "rientri" */
    .business-solutions {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }


    /* il vero colpevole: margini laterali del container */
    .business-solutions .container{
        margin-left: 0 !important;
        margin-right: 0 !important;
        max-width: 100% !important;
        width: 100% !important;
    }

    /* se resta ancora un 95% sulla card-container */
    .business-solutions .card-container{
        width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .eni-card h3{
        height: auto !important;
        margin-bottom: 8px !important; /* elimina il -8 che genera overlap */
    }

    .eni-card p{
        height: auto !important;
    }


    /* padding interno della card (così non attacchi il testo ai bordi) */
    .eni-offerta .eni-card{
        padding: 10px 25px !important;   /* riprende il tuo padding originale */
    }

    /* evita sovrapposizioni testi (già visto prima) */
    .eni-offerta .eni-card h3{
        height: auto !important;
        margin-bottom: 8px !important;
    }
    .eni-offerta .eni-card p{
        height: auto !important;
    }


    /* Pulizia testi */
    .eni-offerta .eni-card h3 {
        height: auto !important;
        margin-bottom: 8px !important;
    }

    .eni-offerta .eni-card p {
        height: auto !important;
    }

    /* ✅ FIX: azzera SEMPRE i margini/padding dei contenitori del carousel */
    .eni-offerta{
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .eni-offerta .scegliereEni{
        margin: 0 !important;
        padding: 0 !important;
        width: 100vw !important;
        max-width: 100vw !important;
        box-sizing: border-box !important;
    }


    .eni-offerta .cards-wrapper{
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;

        scroll-snap-type: x mandatory !important;
        -webkit-overflow-scrolling: touch;

        padding: 0 !important;
        gap: 0 !important;

        transform: none !important;
        transition: none !important;

        width: 100vw !important;
        max-width: 100vw !important;
        box-sizing: border-box !important;
    }


    .eni-offerta .cards-wrapper::before{
        content: "";
        flex: 0 0 16px;
    }

    .eni-offerta .cards-wrapper::after{
        content: "";
        flex: 0 0 32px;
    }

    .eni-offerta .cards-wrapper .eni-card{
        flex: 0 0 calc(100vw - 48px) !important;
        min-width: 300px !important;

        scroll-snap-align: center !important;
        scroll-snap-stop: always;

        margin-right: 16px !important;
        box-sizing: border-box !important;
    }

    .eni-offerta .cards-wrapper .eni-card:last-child{
        margin-right: 0 !important;
    }

    /* 2️⃣ testo perfettamente centrato */
    .business-solutions .card2 h3,
    .business-solutions .card2 .learn-more {
        text-align: center !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    /* 3️⃣ link "Approfondisci" centrato */
    .business-solutions .card2 .learn-more {
        justify-content: center !important;
        gap: 8px;
    }


    /* ==================================================
       CARD GAS / ENERGIA – MISURE DEFINITIVE
       375px x 158px + gap 24px
       ================================================== *


    /* ✅ spacing interno: 24px tra titolo e link */

    .business-solutions .card-container .card2 {
        width: 100vw !important;
        max-width: 100vw !important;

        height: 158px !important;
        min-height: 158px !important;

        margin: 0 !important;
        padding: 0 !important;
        border-radius: 0 !important;

        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;

        text-align: center !important;
        box-sizing: border-box !important;
    }

    /* ✅ spazio ESATTO tra titolo e link */
    .business-solutions .card-container .card2 h3 {
        margin: 0 0 24px 0 !important;
    }

    .business-solutions .card-container .card2 .learn-more {
        margin: 0 !important;
        justify-content: center !important;
        gap: 8px;
    }


    .business-solutions .card2 {
        width: 100vw !important;       /* ✅ full screen */
        max-width: 100vw !important;

        height: 158px !important;      /* ✅ altezza fissa */
        min-height: 158px !important;

        margin: 0 !important;
        padding: 0 !important;
        border-radius: 0 !important;

        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;

        text-align: center !important;
        box-sizing: border-box !important;
    }

    /* ✅ distanza corretta tra titolo e link */
    .business-solutions .card2 h3 {
        margin: 0 0 24px 0 !important;
    }

    .business-solutions .card2 .learn-more {
        margin: 0 !important;
        justify-content: center !important;
        gap: 8px;
    }

    .business-solutions,
    .business-solutions .container {
        margin: 0;
        padding: 0;
        width: 100%;
    }

}

/* =====================================================
   FIX DEFINITIVO CARD GAS / ENERGIA – MOBILE ONLY
   ===================================================== */
@media screen and (max-width: 992px) {

    /* 1️⃣ spazio ESATTO 24px tra testo e prima card */
    .business-solutions .card-container {
        margin-top: 24px !important;
        gap: 0 !important;              /* ❌ annulla TUTTI i gap precedenti */
    }

    /* 2️⃣ card a tutta larghezza, altezza fissa */
    .business-solutions .card2 {
        width: 100vw !important;
        max-width: 100vw !important;

        height: 158px !important;
        min-height: 158px !important;
        max-height: 158px !important;

        margin: 0 !important;
        padding: 0 !important;
        border-radius: 0 !important;

        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;

        box-sizing: border-box !important;
    }

    /* 3️⃣ distanza interna: 24px tra titolo e link */
    .business-solutions .card2 h3 {
        margin: 0 0 24px 0 !important;
        text-align: center !important;
    }

    .business-solutions .card2 .learn-more {
        margin: 0 !important;
        justify-content: center !important;
        text-align: center !important;
        gap: 8px;
    }

    /* 4️⃣ sicurezza: nessun margine tra le due card */
    .business-solutions .gas-card,
    .business-solutions .electricity-card {
        margin: 0 !important;
    }
}

/* =====================================================
   SPAZIO 24px TRA TESTO BUSINESS E PRIMA CARD (MOBILE)
   ===================================================== */
@media screen and (max-width: 992px) {

    /* paragrafo "Soluzioni adatte a ogni tipo di business..." */
    .business-solutions .container > p {
        margin-bottom: 24px !important;
    }

}

/* =====================================================
   FIX TESTO COPERTO DA CARD – MOBILE ONLY
   ===================================================== */
@media screen and (max-width: 992px) {

    /* Paragrafo "Soluzioni adatte a ogni tipo di business..." */
    .business-solutions .container > p {
        height: auto !important;       /* ✅ fondamentale */
        margin-bottom: 24px !important;/* ✅ spazio corretto */
    }

}

/* =====================================================
   FRECCE BIANCHE NELLE CARD GAS / ENERGIA
   ===================================================== */
.business-solutions .card2 .learn-more,
.business-solutions .card2 .learn-more .arrow {
    color: #ffffff !important; /* currentColor per SVG */
}

/* sicurezza extra se la freccia è SVG */
.business-solutions .card2 .learn-more svg,
.business-solutions .card2 .learn-more svg path {
    stroke: #ffffff !important;
    fill: #ffffff !important;
}


/* =====================================================
   BUSINESS SOLUTIONS – SOLO DESKTOP
   ===================================================== */
@media screen and (min-width: 993px) {

    .business-solutions {
        margin: 80px 0;
        width: 100%;
        background-color: white;
    }

    .business-solutions .container {
        width: calc(100% - 160px);
        max-width: none;
        margin: 0 80px;
        padding: 0;
        box-sizing: border-box;
        text-align: left;
    }

    .business-solutions .card-container {
        width: calc(100% - 160px);
        max-width: none;
        margin: 0 80px;
        padding: 0;
        box-sizing: border-box;

        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: stretch;
        gap: 24px;
    }

    .business-solutions .card2 {
        flex: 1 1 0;
        min-width: 0;
        max-width: none;
        width: auto;
        height: 180px;

        padding: 40px 54px;
        border-radius: 18px;
        box-sizing: border-box;

        display: flex;
        flex-direction: column;
        justify-content: center;

        text-decoration: none;
        color: white;
    }

    .business-solutions .card2 h3 {
        margin: 0 0 24px 0;
        text-align: left;
    }

    .business-solutions .card2 .learn-more {
        margin: 0;
        justify-content: flex-start;
        text-align: left;
    }
}

@media screen and (min-width: 993px) {

    .business-solutions h2 {
        margin-left: 80px !important;
        margin-right: 80px !important;
        margin-bottom: 20px !important;
        padding: 0 !important;
        max-width: 800px !important;
        height: auto !important;
        text-align: left !important;
        box-sizing: border-box !important;
    }

    .business-solutions p {
        margin-left: 80px !important;
        margin-right: 80px !important;
        margin-bottom: 40px !important;
        padding: 0 !important;
        max-width: 800px !important;
        height: auto !important;
        text-align: left !important;
        box-sizing: border-box !important;
    }

    .business-solutions .card-container {
        width: calc(100% - 160px) !important;
        max-width: none !important;
        margin: 0 80px !important;
        padding: 0 !important;
        box-sizing: border-box !important;

        display: flex !important;
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: stretch !important;
        gap: 24px !important;
    }

    .business-solutions .card2 {
        flex: 1 1 0 !important;
        min-width: 0 !important;
        width: auto !important;
        max-width: none !important;
        height: 180px !important;
    }
}

/* ===== FIX FINALE PALLINI + 2 LINEE DESKTOP ===== */
@media screen and (min-width: 993px) {

    /* disattiva qualunque linea unica precedente */
    .clients-nav::before {
        display: none !important;
        content: none !important;
    }

    /* base nav item */
    .clients-nav > .nav-item {
        position: relative !important;
        flex: 1 1 0 !important;
        min-width: 0 !important;
        padding-top: 34px !important;
    }

    /* azzera tutte le pseudo-linee precedenti */
    .clients-nav > .nav-item::before,
    .clients-nav > .nav-item::after {
        display: none !important;
        content: none !important;
    }

    /* prima linea: dal 1° pallino verso il 2° */
    .clients-nav > .nav-item:nth-child(1)::after {
        content: '' !important;
        display: block !important;
        position: absolute !important;
        top: 38px !important;
        left: calc(50% + 12px) !important;
        width: calc(100% - 24px) !important;
        height: 1px !important;
        background-color: rgba(4, 8, 50, 0.18) !important;
        z-index: 1 !important;
    }

    /* seconda linea: dal 2° pallino verso il 3° */
    .clients-nav > .nav-item:nth-child(2)::after {
        content: '' !important;
        display: block !important;
        position: absolute !important;
        top: 38px !important;
        left: calc(50% + 20px) !important;
        width: calc(100% - 28px) !important;
        height: 1px !important;
        background-color: rgba(4, 8, 50, 0.18) !important;
        z-index: 1 !important;
    }

    /* nessuna linea dopo il 3° pallino */
    .clients-nav > .nav-item:nth-child(3)::after {
        display: none !important;
        content: none !important;
    }

    /* pallino standard 8x8 */
    .clients-nav > .nav-item .dot {
        width: 8px !important;
        height: 8px !important;
        min-width: 8px !important;
        min-height: 8px !important;
        background-color: #040832 !important;
        border: 2px solid #0d1e3c !important;
        border-radius: 50% !important;
        margin-bottom: 24px !important;
        position: relative !important;
        z-index: 3 !important;
        box-sizing: content-box !important;
    }

    /* pallino attivo */
    .clients-nav > .nav-item.active .dot {
        width: 24px !important;
        height: 24px !important;
        min-width: 24px !important;
        min-height: 24px !important;
        background-color: white !important;
        border: 4px solid #0d1e3c !important;
        margin-top: -8px !important;
        margin-bottom: 12px !important;
        z-index: 4 !important;
        box-sizing: content-box !important;
    }
}

/* ===== PAUSE DESKTOP: 32x32, a 84px da destra, allineato ai pallini ===== */
@media screen and (min-width: 993px) {
    .clients-nav {
        position: relative !important;
    }

    .clients-nav .play-pause-btn {
        display: flex !important;
        position: absolute !important;
        right: 84px !important;
        top: 72px !important;

        width: 32px !important;
        height: 32px !important;
        min-width: 32px !important;
        min-height: 32px !important;
        max-width: 32px !important;
        max-height: 32px !important;

        margin: 0 !important;
        padding: 0 !important;
        border-radius: 50% !important;

        justify-content: center !important;
        align-items: center !important;

        background-color: #0958a5 !important;
        color: white !important;
        border: none !important;
        box-sizing: border-box !important;
        z-index: 10 !important;
    }

    .clients-nav .play-pause-btn svg {
        width: 12px !important;
        height: 12px !important;
    }
}

/* ===== FIX MOBILE DOT SLIDER (override finale) ===== */
@media screen and (max-width: 992px) {

    .clients-nav .dot {
        position: relative !important;
        width: 10px !important;
        height: 10px !important;
        min-width: 10px !important;
        min-height: 10px !important;
        border: 1px solid #0d1e3c !important;
        border-radius: 50% !important;
        background-color: transparent !important;
        overflow: hidden !important;
        transition: none !important;
        box-sizing: border-box !important;
    }

    .clients-nav .dot::after {
        content: "" !important;
        position: absolute !important;
        inset: 0 !important;
        background-color: #040832 !important;
        border-radius: 999px !important;
        transform: scaleX(0) !important;
        transform-origin: left center !important;
        transition: none !important;
    }

    .clients-nav .nav-item.active .dot {
        width: 40px !important;
        height: 10px !important;
        min-width: 40px !important;
        min-height: 10px !important;
        border-radius: 999px !important;
        background-color: transparent !important;
        border: 1px solid #0d1e3c !important;
    }

    .clients-nav .nav-item.active .dot::after {
        animation: mobileDotFill 5s linear forwards !important;
    }

    .clients-nav .nav-item:not(.active) .dot::after {
        transform: scaleX(0) !important;
        animation: none !important;
    }
}

/* COOKIE BAR - pulsanti stessa dimensione */
.cookie_bar_base .cookie-right {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
}

.cookie_bar_base .cookie-right .cookie-accept,
.cookie_bar_base .cookie-right .cookie-reject {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 190px !important;
    min-width: 190px !important;
    max-width: 190px !important;
    height: 46px !important;
    padding: 0 20px !important;
    box-sizing: border-box !important;
    text-align: center !important;
    white-space: nowrap !important;
}

/* =========================================
   COOKIE BANNER - layout corretto desktop
   ========================================= */
.cookie_bar_base {
    position: relative;
    width: calc(100% - 192px) !important;
    margin-left: 192px !important;
    margin-right: 0 !important;
    border-top-left-radius: 28px !important;
    border-bottom-left-radius: 28px !important;
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
    box-sizing: border-box;
    overflow: hidden;
}

.cookie_bar_base .container-fluid,
.cookie_bar_base .row,
.cookie_bar_base .col-sm-12.col-lg-10.col-lg-offset-1 {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    left: 0 !important;
    right: 0 !important;
    box-sizing: border-box;
}

.cookie_bar_base .col-sm-12.col-lg-10.col-lg-offset-1 {
    position: relative !important;
    min-height: 252px !important;
    padding: 38px 157px 32px 40px !important;
}

/* layout affiancato */
.cookie_bar_base .cookie-layout {
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start !important;
    justify-content: space-between !important;
    width: 100% !important;
    gap: 0 !important;
}

/* BOX TESTO */
.cookie_bar_base .cookie-left {
    width: calc(100% - 517px) !important;
    max-width: calc(100% - 517px) !important;
    flex: 0 0 calc(100% - 517px) !important;
    margin: 0 !important;
    padding: 0 !important;
}

.cookie_bar_base .cookie-left h2 {
    margin: 0 0 20px 0 !important;
    height: auto !important;
}

.cookie_bar_base .cookie-left span {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    max-width: 100% !important;
    line-height: 1.5 !important;
}

/* BLOCCO PULSANTI */
.cookie_bar_base .cookie-right {
    position: absolute !important;
    top: 32px !important;
    right: 229px !important;
    width: 240px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 18px !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box;
}

.cookie_bar_base .cookie-right .cookie-accept,
.cookie_bar_base .cookie-right .cookie-reject {
    width: 240px !important;
    height: 54px !important;
    min-width: 240px !important;
    max-width: 240px !important;
    box-sizing: border-box !important;
}

.cookie_bar_base .cookie-right .cookie-settings-link {
    display: block !important;
    margin-top: 8px !important;
    text-align: center !important;
    white-space: nowrap !important;
}

/* X */
.cookie_bar_base .btn-close {
    position: absolute !important;
    top: 42px !important;
    right: 157px !important;
    width: 14.7px !important;
    height: 14.7px !important;
    min-width: 14.7px !important;
    min-height: 14.7px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
    z-index: 5 !important;
}

.cookie_bar_base .btn-close .icon-close {
    display: none !important;
}

.cookie_bar_base .btn-close::before,
.cookie_bar_base .btn-close::after {
    content: "";
    position: absolute;
    width: 14.7px;
    height: 1.5px;
    background-color: #0958a5;
    left: 0;
    top: 50%;
    transform-origin: center;
}

.cookie_bar_base .btn-close::before {
    transform: translateY(-50%) rotate(45deg);
}

.cookie_bar_base .btn-close::after {
    transform: translateY(-50%) rotate(-45deg);
}

/*########################################*/
/* ===== FIX COOKIE BANNER: no bordo arrotondato dx + no titolo duplicato ===== */

/* 1) il banner deve restare visibile e avere il lato destro diritto */
.cookie_bar_base,
.cookie_bar_base .container-fluid,
.cookie_bar_base .container-fluid.relative,
.cookie_bar_base .row,
.cookie_bar_base .col-sm-12.col-lg-10.col-lg-offset-1 {
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}

/* 2) nasconde eventuale titolo cookie "fuori posto" */
.cookie_bar_base > h2,
.cookie_bar_base .container-fluid > h2,
.cookie_bar_base .row > h2,
.cookie_bar_base .col-sm-12.col-lg-10.col-lg-offset-1 > h2 {
    display: none !important;
}

/* 3) lascia visibile solo il titolo corretto dentro il blocco testo */
.cookie_bar_base .cookie-left > h2 {
    display: block !important;
    margin-top: 0 !important;
}

/* 4) sicurezza: niente clipping strano in alto */
.cookie_bar_base {
    overflow: visible !important;
}

/* 🔴 Rimuove il testo duplicato generato via ::before */
.container-fluid.relative::before {
    content: none !important;
    display: none !important;
}

.cookie_bar_base,
.cookie_bar_base .container-fluid,
.cookie_bar_base .row,
.cookie_bar_base .col-sm-12.col-lg-10.col-lg-offset-1 {
    border-bottom-left-radius: 0 !important;
}

/* =========================================
   MOBILE ONLY - clients slider override finale
   ========================================= */
@media screen and (max-width: 992px) {

    .clients-nav {
        position: relative !important;
        background: #fff !important;
        min-height: 64px !important;
    }

    /* elimina il vecchio rettangolo/linea mobile */
    .clients-nav::before {
        content: none !important;
        display: none !important;
    }

    /* elimina la vecchia progress bar */
    .clients-nav .progress-bar,
    .clients-nav .progress-indicator {
        display: none !important;
    }

    /* nasconde i testi */
    .clients-nav .nav-item p {
        display: none !important;
    }

    /* ogni nav-item viene posizionato manualmente */
    .clients-nav .nav-item {
        position: absolute !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        margin: 0 !important;
        padding: 0 !important;
        width: 24px !important;
        height: 10px !important;
        min-width: 24px !important;
        min-height: 10px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        flex: none !important;
    }

    /* posizioni richieste */
    .clients-nav .nav-item:nth-of-type(1) {
        left: 88px !important;
    }

    .clients-nav .nav-item:nth-of-type(2) {
        left: 120px !important;
    }

    .clients-nav .nav-item:nth-of-type(3) {
        left: 152px !important;
    }

    /* pallino base */
    .clients-nav .dot {
        position: relative !important;
        width: 10px !important;
        height: 10px !important;
        min-width: 10px !important;
        min-height: 10px !important;
        border: 1px solid #0d1e3c !important;
        border-radius: 999px !important;
        background: #fff !important;
        overflow: hidden !important;
        transition: none !important;
        box-sizing: border-box !important;
    }

    /* riempimento interno */
    .clients-nav .dot::after {
        content: "" !important;
        position: absolute !important;
        inset: 0 !important;
        background: #040832 !important;
        border-radius: 999px !important;
        transform: scaleX(0) !important;
        transform-origin: left center !important;
        transition: none !important;
    }

    /* attivo = slider */
    .clients-nav .nav-item.active .dot {
        width: 40px !important;
        height: 10px !important;
        min-width: 40px !important;
        min-height: 10px !important;
        border: 1px solid #0d1e3c !important;
        border-radius: 999px !important;
        background: #fff !important;
    }

    .clients-nav .nav-item.active .dot::after {
        animation: mobileDotFill 5s linear forwards !important;
    }

    .clients-nav .nav-item:not(.active) .dot::after {
        animation: none !important;
        transform: scaleX(0) !important;
    }

    /* frecce */
    .clients-nav .arrow {
        position: absolute !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        background: transparent !important;
        border: none !important;
        margin: 0 !important;
        padding: 0 !important;
        z-index: 20 !important;
    }

    .clients-nav .arrow.prev {
        left: auto !important;
        right: 64px !important;
    }

    .clients-nav .arrow.next {
        left: auto !important;
        right: 26px !important;
    }

    .clients-nav .arrow-svg {
        width: 14px !important;
        height: 22px !important;
        display: block !important;
    }

    .clients-nav .arrow-svg path {
        fill: none !important;
        stroke: #040832 !important;
        stroke-width: 2.2 !important;
        stroke-linecap: round !important;
        stroke-linejoin: round !important;
    }
}

/* ===== FIX FORZATO SLIDER MOBILE ===== */
@media screen and (max-width: 992px) {

    .clients-nav .dot {
        position: relative !important;
        overflow: hidden !important;
    }

    .clients-nav .dot .fill-bar {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        height: 100% !important;
        width: 100% !important;
        background: #0d1e3c !important;
        border-radius: 999px !important;

        transform: scaleX(0) ;
        transform-origin: left center !important;

        display: block !important;
        opacity: 1 !important;
        z-index: 2 !important;
    }

    .clients-nav .nav-item.active .dot .fill-bar {
        animation: mobileDotFill 5s linear forwards !important;
    }

}

@keyframes mobileDotFill {
    from { transform: scaleX(0); }
    to   { transform: scaleX(1); }
}

/* =====================================================
   FIX CARD GAS / ENERGIA ALLINEATE AI BORDI - MOBILE
   ===================================================== */
@media screen and (max-width: 992px) {

    .business-solutions {
        width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        overflow-x: hidden !important;
    }

    .business-solutions .container {
        width: 100% !important;
        max-width: none !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        box-sizing: border-box !important;
    }

    .business-solutions .card-container {
        width: 100vw !important;
        max-width: 100vw !important;
        margin-left: calc(50% - 50vw) !important;
        margin-right: calc(50% - 50vw) !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        gap: 0 !important;

        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
    }

    .business-solutions .card2 {
        width: 100vw !important;
        max-width: 100vw !important;
        min-width: 100vw !important;

        margin-left: 0 !important;
        margin-right: 0 !important;
        border-radius: 0 !important;
        box-sizing: border-box !important;
    }

    .business-solutions .gas-card,
    .business-solutions .electricity-card {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
}

/* =====================================================
   FIX MOBILE - testo business-solutions a 16px dai bordi
   ===================================================== */
@media screen and (max-width: 992px) {

    .business-solutions > .container {
        padding-left: 16px !important;
        padding-right: 16px !important;
        box-sizing: border-box !important;
    }

    .business-solutions > .container > h2,
    .business-solutions > .container > p {
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        box-sizing: border-box !important;
    }

    .business-solutions > .container > .card-container {
        margin-left: -16px !important;
        margin-right: -16px !important;
        width: calc(100% + 32px) !important;
    }
}

/* =====================================================
   FIX RESPONSIVITA' AGGIUNTIVI (non invasivi)
   - card3 a 2 colonne su tablet landscape (769-991px)
   ===================================================== */

/* Tablet landscape: le card3 (specialista/areaclienti/switch) sono troppo
   strette in 3 colonne su 769-991px. Le passo a 2 colonne. */
@media screen and (min-width: 769px) and (max-width: 991px) {
    .cards-container2 {
        flex-wrap: wrap;
    }
    .card3 {
        width: calc(50% - 15px);
        aspect-ratio: 4 / 3;
        height: auto;
    }
}