/* ===== TESTIMONIOS ===== */
.testimonials-header {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 20px;
}

.reviews-badge {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 15px;
  padding: 15px 20px;
  text-align: center;
}

.reviews-text {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 8px;
  letter-spacing: 1px;
}

.logo-reviews {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
}

.reviews-logo {
  height: 25px;
  width: auto;
}

.reviews-count {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.testimonials-carousel-container {
  overflow: hidden;
  position: relative;
  width: 100%;
  mask: linear-gradient(90deg, transparent 0%, black 10%, black 90%, transparent 100%);
  -webkit-mask: linear-gradient(90deg, transparent 0%, black 10%, black 90%, transparent 100%);
}

.testimonials-carousel {
  display: flex;
  gap: 30px;
  animation: slideTestimonials 180s linear infinite;
  width: max-content;
}

@keyframes slideTestimonials {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.testimonial-card {
  position: relative;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 30px;
  width: 300px;
  min-height: 350px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-5px);
}

.card-glow {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60%;
  background: linear-gradient(180deg, 
    transparent 0%, 
    rgba(0, 255, 127, 0.1) 40%, 
    rgba(0, 255, 127, 0.2) 70%, 
    rgba(0, 255, 127, 0.3) 100%);
  pointer-events: none;
  opacity: 0.8;
}

.testimonial-card .stars {
  margin-bottom: 20px;
}

.testimonial-card .stars span {
  color: #FFD700;
  font-size: 18px;
  letter-spacing: 2px;
}

.testimonial-text {
  color: var(--text);
  line-height: 1.6;
  margin-bottom: 25px;
  font-size: 14px;
  flex-grow: 1;
}

.gradient-line {
  height: 1px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(255, 255, 255, 0.3) 20%, 
    rgba(255, 255, 255, 0.6) 50%, 
    rgba(255, 255, 255, 0.3) 80%, 
    transparent 100%);
  margin: 20px 0;
}

.client-info {
  text-align: center;
}

.client-info strong {
  display: block;
  color: var(--text);
  font-size: 16px;
  margin-bottom: 5px;
}

.company-name {
  color: var(--muted);
  font-size: 13px;
  font-style: italic;
}

/* Responsive para testimonios */
@media (max-width: 768px) {
  .testimonials-header {
    justify-content: center;
  }
  
  .testimonial-card {
    width: 300px;
    min-height: 320px;
    padding: 25px;
  }
  
  .testimonial-text {
    font-size: 13px;
  }
  
  .testimonials-carousel {
    gap: 20px;
    animation-duration: 120s;
  }
}

@media (max-width: 480px) {
  .testimonial-card {
    width: 280px;
    min-height: 300px;
    padding: 20px;
  }
  
  .reviews-badge {
    padding: 12px 16px;
  }
  
  .reviews-logo {
    height: 20px;
  }
  
  .testimonials-carousel {
    animation-duration: 100s;
  }
}