/* apps/myfuture/static/myfuture/scss/home-clients.css
   Muro de logos. Los logos van en blanco sobre una banda azul marino en los dos temas:
   hay logos negros puros (Fox Sports) y blancos puros (Consorcio de Abogados). */

.home-clients {
  padding: clamp(2.5rem, 6vw, 4.5rem) 0;
  background: rgba(5, 60, 118, 0.35);
  border-block: 1px solid rgba(76, 201, 240, 0.2);
  color: #F1EDDF;
}

.home-clients__inner {
  width: min(1100px, 88vw);
  margin-inline: auto;
  text-align: center;
}

.home-clients__eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #c2ff05;
}

.home-clients__title {
  margin: 0 0 clamp(1.5rem, 4vw, 2.5rem);
  font-size: clamp(1.3rem, 2.4vw + 0.2rem, 2rem);
  font-weight: 700;
  letter-spacing: 1.2px;
  color: #F1EDDF;
}

.home-clients__list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  justify-items: center;
  align-items: center;
  gap: 2rem 3rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.home-clients__logo {
  display: block;
  width: auto;
  height: auto;
  max-width: 150px;
  max-height: 52px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.72;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.home-clients__item:hover .home-clients__logo {
  opacity: 1;
  transform: scale(1.06);
}

.home-clients__more {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #4cc9f0;
  text-decoration: none;
}

.home-clients__more:hover,
.home-clients__more:focus-visible {
  color: #c2ff05;
}

@media (max-width: 900px) {
  .home-clients__list { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 600px) {
  .home-clients__list { grid-template-columns: repeat(2, 1fr); gap: 1.5rem 1.25rem; }
  .home-clients__logo { max-width: 110px; max-height: 38px; }
}

@media (prefers-reduced-motion: reduce) {
  .home-clients__logo { transition: none; }
  .home-clients__item:hover .home-clients__logo { transform: none; }
}

/* Tema claro: banda azul marino (misma isla oscura que usa _light-theme.scss) */
html[data-theme="light"] main > .home-clients {
  background: linear-gradient(100deg, #053c76 0%, #0a4aa8 60%, #3b2fd0 120%);
  border-block-color: transparent;
}
