header {
    background-color: white;
    padding: 20px 50px;
}
nav a:not(:last-child)::after {
    content: " |";
    margin: 0 5px; /* Spaziatura tra link e barra */
}

.menu-top-bar {
  display: none !important;
}

.mix {
  height: 244px;
  max-width: 800px; /* riquadro più stretto */
  margin: 0 auto;   /* centra orizzontalmente nella pagina */
  display: flex;
  flex-direction: column;   /* uno sotto l’altro */
  justify-content: center;  /* centra verticalmente */
  align-items: center;      /* centra orizzontalmente */
  padding: 80px 0;
  text-align: center;
}

.titolo {
  font-family: EniTab;
  font-size: 32px;
  font-weight: bold;
  line-height: 1.25;
  color: #040832;
  margin: 0 0 20px 0; /* un po’ di spazio sotto */
}

.informazioni {
  font-family: OpenSans;
  font-size: 16px;
  line-height: 1.75;
  color: #222;
  margin: 0;
}

.request-button {
  display: inline-block;
  padding: 15px 40px;
  /* Colore di sfondo di base del bottone */
  background-color: #ffd300;
  /* Colore del testo e del bordo di base */
  color: #040832;;
  margin-top: 20px;
  border-radius: 30px;
  text-decoration: none;
  font-size: 16px;
  font-family: EniTab;
  font-weight: 600;
  letter-spacing: 1px;
  /* Transizione per un effetto fluido */
  transition: background-color 0.3s ease, color 0.3s ease;
}

.card-grid-Area {
  display: flex;
  flex-wrap: wrap;           /* tutte sulla stessa riga */
  gap: 20px;                   /* spazio tra le card */
  justify-content: center;
  align-items: stretch;
  max-width: 100%;    
  margin-left: 80px; 
  margin-right: 80px;
  margin-bottom: 40px;   /* stessa altezza */
            /* scroll orizzontale se servono */
  
}

.card4 {
  flex: 1 1 calc(25% - 80px);             /* card più stretta */
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  background-color: var(--card-bg-color);
  border: 2px solid #d4d4d4;
  border-radius: 15px;
  padding: 1rem;               /* meno padding per compattezza */
  box-shadow: 0 4px 6px rgba(0,0,0,0.05);
  font-weight: bold;       
  color: #000;     /* testo interno in grassetto */
}

/* Se vuoi forzare solo il testo p e h3 in grassetto */
.card4 h3 {
  height: 52px;
  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;
}


.logo-card {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 80px;
  margin-bottom: 1rem;
}

.logo-card img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.carousel-indicators8 {
  display: none;
}

nav a:not(:last-child)::after {
    content: " |";
    margin: 0 5px;
}
@media screen and (max-width: 767px) {
  .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);
}
nav a:not(:last-child)::after {
    content: " |";
    margin: 0 5px;
}
.menu-top-bar .menu-icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
}
.menu-top-bar img {
  height: 30px !important;  /* forza altezza */
  width: auto !important;    /* mantiene le proporzioni */
  object-fit: contain;        /* evita tagli */
}
  
    .hamburger {
    display: block;
    cursor: pointer;
    font-size: 28px;
    color: white;
    margin-left: 0;
  }

  /* Header */
  .intestazione {
    width: 100%;
    margin: 0;
    
  }

  .intestazione-top {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    
  }

  .logo-container {
    width: auto;
    justify-content: flex-start;
  }

  .intestazione-links {
    display: none;
  }

  .intestazione-nav {
    display: none;
    flex-direction: column;
    width: 100%;
    margin-top: 10px;
  }

  .intestazione-nav.active {
    display: flex;
  }

  .nav-menu {
    flex-direction: column;
    padding: 0;
    margin: 0;
  }

  .nav-menu li {
    margin: 8px 0;
  }

  header {
    padding: 8px 15px;
  }

  nav a:not(:last-child)::after {
    content: ""; /* tolgo la barra verticale */
    margin: 0 3px; /* riduco spaziatura */
  }
  .mix {
    height: auto;              /* altezza dinamica */
    max-width: 100%;           /* occupa tutta la larghezza */
    padding: 40px 15px;        /* meno padding */
  }

  .titolo {
    font-size: 24px;           /* più piccolo */
    line-height: 1.3;
    margin-bottom: 15px;
  }

  .informazioni {
    font-size: 14px;
    line-height: 1.5;
  }

  .request-button {
    width: 50%;               /* bottone full-width */
    padding: 12px;
    font-size: 0.9rem;
    margin-top: 15px;
  }
  .carousel-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 40px;
  background-color: hwb(0 91% 7%);
}

.carousel-indicators8 {
  display: flex;
  justify-content: center;
  margin-top: 10px;
  gap: 8px;
  z-index: 10;
}

.carousel-indicators8 button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: none;
  background: #ccc;
  cursor: pointer;
  transition: background 0.3s;
}

.carousel-indicators8 button.active {
  background: #080849;
}

.card-grid-Area {
  display: flex;
  flex-direction: row !important;
  justify-content: flex-start;
  overflow-x: auto; /* eviti lo scroll manuale (cambia in auto se vuoi swipe) */
  scroll-behavior: smooth;
  width: 100%;
  gap: 30px;
  transition: transform 0.5s ease;
  margin-top: 20px;
  flex-wrap: nowrap !important;
}

.card4 {
  flex: 0 0 100%; /* ogni card prende tutta la larghezza visibile */
  background-color: #ffffff;
  border: 1px solid var(--eni-border-gray);
  border-radius: 10px;
  padding: 20px;
  max-width: 300px !important;
  min-height: 200px !important; 
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column !important;
  align-items: flex-start;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

  .card4 h3 {
    font-size: 24px !important;
  }

  .logo-card {
    height: 60px;              /* più piccolo su mobile */
    margin-bottom: 0.8rem;
  }
}

/* =========================================
   MOBILE - allineamento preciso Indietro | Offerta
   ========================================= */
@media screen and (max-width: 767px) {

  .mobile-offer-header {
    height: 44px !important;
    padding: 0 !important;
    margin: 0 !important;
    background: #ffffff !important;
  }

  .mobile-offer-nav {
    position: relative !important;
    height: 44px !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .mobile-offer-nav a::after {
    content: none !important;
    display: none !important;
  }

  .btn-indietro {
    position: static !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    text-decoration: none !important;
  }

  .back-arrow {
    position: absolute !important;
    left: 16px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    color: #0958a5 !important;
    font-size: 14px !important;
  }

  .back-label {
    position: absolute !important;
    left: 44px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    color: #0958a5 !important;
    font-family: EniTab, Arial, sans-serif !important;
    font-size: 14px !important;
  }

  .separator {
    position: absolute !important;
    left: 106px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    margin: 0 !important;
    color: #0958a5 !important;
    font-size: 14px !important;
  }

  .link-return {
    position: absolute !important;
    left: 119px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #0958a5 !important;
    text-decoration: none !important;
    font-family: EniTab, Arial, sans-serif !important;
    font-size: 14px !important;
  }
}