/* =========================
   SECCIÓN
========================= */
.brands-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 20px;
}

/* =========================
   TÍTULO
========================= */
.title {
  color: white;
  font-size: 50px;
  margin-bottom: 20px;
  font-weight: 600;
  text-align: center;

  position: relative; /* 👈 necesario para z-index */
  z-index: 10;        /* 👈 encima de los logos */
  margin-top: 80px; /* 👈 esto lo baja */
    top: 50px; /* 👈 baja el elemento */
}

/* =========================
   GRID RESPONSIVO CENTRADO
========================= */
.logos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 25px;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  justify-items: center;
  align-items: center;
}

/* =========================
   LOGOS BASE
========================= */
.logos img {
  width: 100%;
  max-width: 130px;
  height: auto;
  object-fit: contain;
  padding: 10px;
  transition: all 0.6s ease;
}

/* =========================
   ESTADO INICIAL (OCULTO)
========================= */
.logo-hidden {
  opacity: 0;
  transform: translateY(40px) scale(0.95);
  filter: blur(4px);
  box-shadow: 0 0 0 rgba(0,0,0,0);
}

/* =========================
   ESTADO VISIBLE (ANIMADO)
========================= */
.logo-show {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
  box-shadow: 0 10px 25px rgba(0,0,0,0.25);
}

/* =========================
   HOVER (EFECTO PRO)
========================= */
.logos img:hover {
  transform: scale(1.08);
  box-shadow: 0 15px 40px rgba(0,0,0,0.4);
}

/* =========================
   📱 TABLET
========================= */
@media (max-width: 768px) {
  .logos {
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  }

  .logos img {
    max-width: 100px;
  }
}

/* =========================
   📱 MÓVIL
========================= */
@media (max-width: 480px) {
  .logos {
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
  }

  .logos img {
    max-width: 80px;
  }

  .title {
    font-size: 18px;
  }
}