/* ===== SECCIÓN CLIENTES ===== */
.clientes {
  background: #fff;
  padding: clamp(3rem, 6vw, 5rem) 0;
  overflow: hidden;
  position: relative;
}

.clientes__container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  padding: 0 clamp(1rem, 5vw, 2rem);
}

.clientes__title {
  font-weight: 800;
  color: #4b0082;
  font-size: clamp(1.8rem, 3.8vw, 3rem);
  margin-bottom: clamp(2rem, 5vw, 3rem);
}

/* ===== Carrusel ===== */
.clientes__carousel {
  position: relative;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
  margin-bottom: clamp(2rem, 5vw, 3rem);
}

.clientes__track {
  display: flex;
  gap: clamp(2rem, 4vw, 3rem);
  width: max-content;
  animation: scroll-left 45s linear infinite;
}

.clientes__carousel--bottom .clientes__track {
  animation: scroll-right 45s linear infinite;
}

/* ===== Tarjeta ===== */
.cliente-card {
  position: relative;
  min-width: 280px;
  max-width: 320px;
  height: 230px;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  padding: 1.2rem;
  background-image: var(--bg);
background-size: cover;
background-position: center;
background-repeat: no-repeat;

  box-shadow: 0 8px 20px rgba(0,0,0,.1);
  transition: transform .35s ease, box-shadow .35s ease;
}
.cliente-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0,0,0,.15);
}

/* Fondo difuminado oscuro */
.cliente-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.4);
  backdrop-filter: blur(2px);
  z-index: 0;
}

/* Logo */
.cliente-logo {
  position: relative;
  z-index: 1;
  height: 50px;
  width: auto;
  object-fit: contain;
  margin-bottom: 1rem;
  filter: drop-shadow(0 2px 4px rgba(255,255,255,.8));
}

/* Texto */
.cliente-text {
  position: relative;
  z-index: 1;
  color: #fff;
  font-size: clamp(.9rem, 1vw, 1.05rem);
  line-height: 1.5;
  opacity: .95;
  text-align: center;
}

/* Animaciones */
@keyframes scroll-left {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes scroll-right {
  from { transform: translateX(-50%); }
  to { transform: translateX(0); }
}

