/* ============================= */
/* SECCIÓN CLIENTES (SLIDER)     */
/* ============================= */

.clientes {
  position: relative;
  padding: 80px 10%;
  background: linear-gradient(180deg, #f8fbff 0%, #eef5fc 100%);
  overflow: hidden;
}

/* Viso celeste — triángulo superior izquierdo */
.clientes::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 320px; height: 320px;
  background: linear-gradient(135deg, rgba(0,194,255,0.12), rgba(10,31,68,0.03));
  clip-path: polygon(0 0, 100% 0, 0 100%);
  pointer-events: none;
}

/* Destello radial — esquina inferior derecha */
.clientes::after {
  content: "";
  position: absolute;
  right: -80px; bottom: -80px;
  width: 260px; height: 260px;
  border-radius: 50%;
  background: rgba(0, 194, 255, 0.06);
  pointer-events: none;
  z-index: 0;
}

.clientes h3 {
  font-size: 36px;
  color: var(--azul-principal);
  margin-bottom: 30px;
  font-weight: 800;
  position: relative;
  z-index: 2;
}

.clientes-slider {
  width: 100%;
  overflow: hidden;
  position: relative;
  z-index: 2;
}

.clientes-track {
  display: flex;
  gap: 60px;
  width: max-content;
  animation: scrollClientes 25s linear infinite;
}

.clientes-track img {
  height: 60px;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: 0.3s;
}

.clientes-track img:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.1);
}

@keyframes scrollClientes {
  from { transform: translateX(0); }
  to   { transform: translateX(-33.333%); }
}

/* Fade lateral */
.clientes-slider::before,
.clientes-slider::after {
  content: "";
  position: absolute;
  top: 0;
  width: 100px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.clientes-slider::before {
  left: 0;
  background: linear-gradient(to right, #f8fbff, transparent);
}

.clientes-slider::after {
  right: 0;
  background: linear-gradient(to left, #eef5fc, transparent);
}

/* ============================= */
/* RESPONSIVE CLIENTES           */
/* ============================= */

@media (max-width: 600px) {
  .clientes {
    padding: 60px 6%;
  }

  .clientes h3 {
    font-size: 28px;
  }

  .clientes-track img {
    height: 48px;
  }
}
