/* === Brand Tiles (homepage marche) === */
.brand-tiles .row {
  margin-left: -12px;
  margin-right: -12px;
  row-gap: 24px;
  /* spazio verticale */
}

.brand-tiles .col-12,
.brand-tiles .col-sm-6,
.brand-tiles .col-lg-4 {
  padding-left: 12px;
  padding-right: 12px;
  margin-bottom: 24px;
}

.brand-tiles .brand-tile {
  position: relative;
  display: block;
  width: 100%;
  height: 120px;
  /* porta a 140px se vuoi effetto più "banner" */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 6px 16px rgba(0, 0, 0, .10);
  transition: transform .18s ease, box-shadow .18s ease;
  background: #222 center/cover no-repeat;
  text-decoration: none;
  color: #fff;
  margin: 0 auto;
}

.brand-tiles .brand-tile:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, .14);
}

.brand-tiles .brand-tile::after {
  /* overlay per leggibilità */
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
      rgba(0, 0, 0, .55) 0%,
      rgba(0, 0, 0, .2) 60%,
      rgba(0, 0, 0, 0) 100%);
}

.brand-tiles .brand-name {
  position: absolute;
  z-index: 1;
  left: 14px;
  top: 10px;
  font-weight: 800;
  letter-spacing: .5px;
  text-transform: uppercase;
}

.brand-tiles .brand-cta {
  position: absolute;
  z-index: 1;
  left: 14px;
  bottom: 10px;
  font-size: .82rem;
  opacity: .9;
}

/* Rende il banner responsive e non deformato */
.slider-img {
  width: 100%;
  height: 400px;
  /* Puoi modificare l'altezza */
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Servizi e Chi Siamo tiles */
.service-tile {
  position: relative;
  background-size: cover;
  /* Riempie tutto il box */
  background-repeat: no-repeat;
  background-position: center;
  border-radius: 0;
  overflow: hidden;
  min-height: 400px;
  height: 400px;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
  border: 4px solid #fff;
  padding: 2%;
  transition: background-size 0.4s cubic-bezier(.25, .8, .25, 1);
  display: flex;
  align-items: flex-end;
}

.service-tile:hover {
  background-size: 110%;
  /* Effetto zoom */
}

.service-tile-content {
  position: relative;
  background: rgba(0, 0, 0, 0.35);
  /* sfondo trasparente scuro per leggibilità */
  border-radius: 12px;
  padding: 2% 4%;
  width: 100%;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.service-tile-content h5,
.service-tile-content h5 a,
.service-tile-content p {
  color: #fff !important;
  /* testo bianco */
}

.service-tile-content h5 a {
  text-decoration: none;
  font-weight: 600;
  font-size: 1.3rem;
}

/* Uniforma il fondo dell'h2 del banner come quello di Latest Products */
.slide-tit h2 {
  background: #f0c209;
  color: #222;
  padding: 12px 32px;
  border-radius: 8px;
  display: inline-block;
  font-weight: 700;
  font-size: 2.2rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  font-family: 'Poppins', sans-serif;
  /* Uniforma il font */
}

.info-section .col-md-4 {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
}