/* Estilos para la sección de testimonios */

.testimonials-section {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 4rem 0;
}

.testimonials-slider {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  margin: 1rem;
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid #e9ecef;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 35px rgba(0,0,0,0.15);
}

.testimonial-rating {
  color: #ffc107;
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.testimonial-text {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #495057;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.testimonial-avatar {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #007bff, #0056b3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  font-size: 1.2rem;
}

.testimonial-info h4 {
  margin: 0;
  color: #212529;
  font-size: 1rem;
  font-weight: 600;
}

.testimonial-info p {
  margin: 0;
  color: #6c757d;
  font-size: 0.9rem;
}



/* Responsive */
@media (max-width: 768px) {
  .testimonials-slider {
    padding: 1rem;
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .testimonial-card {
    padding: 1.5rem;
    margin: 0;
  }
  
  .testimonial-text {
    font-size: 1rem;
  }
}

/* Animaciones */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.testimonial-card {
  animation: fadeInUp 0.6s ease-out;
}

/* Estados de carga */
.testimonials-slider.loading {
  opacity: 0.7;
  pointer-events: none;
}

.testimonials-slider.loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 40px;
  height: 40px;
  margin: -20px 0 0 -20px;
  border: 4px solid #f3f3f3;
  border-top: 4px solid #007bff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Mensaje de error */
.testimonials-error {
  text-align: center;
  padding: 3rem 1rem;
  color: #6c757d;
}

.testimonials-error i {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: #dc3545;
}

/* Mensaje de placeholder */
.testimonials-placeholder {
  text-align: center;
  padding: 3rem 1rem;
  color: #6c757d;
}

.testimonials-placeholder i {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: #007bff;
} 