.testimonios-marquee {
  overflow-x: hidden;
  overflow-y: visible;
  width: 100%;
  margin-top: 48px;
  padding: 24px 0; 
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
}

.testimonios-track {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: testimonios-scroll 32s linear infinite;
}

.testimonios-track.paused {
  animation-play-state: paused;
}

@keyframes testimonios-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-33.333%); }
}

.testimonio-card {
  flex: 0 0 380px;
  box-sizing: border-box;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  cursor: default;
}

.testimonio-card:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
  z-index: 2;
  position: relative;
}

@media (max-width: 900px) {
  .testimonio-card {
    flex: 0 0 240px; 
  }

  .testimonios-track {
    gap: 16px; 
  }
}