.testimonios {
  background: #f9f9f9;
  padding: 4rem 0;
  font-family: 'Roboto', sans-serif;
  text-align: center;
}

.testimonios-header > h2 > span > strong{
  color: #6366f1;
  font-size: 4rem;
}

.testimonios-header > h2 > span {
  color: #0d48a1;
  font-size: 2rem;
  font-weight: 600;
}

.testimonios-header p {
  font-size: 1.1rem;
  color: #444;
  font-weight: 500;
  letter-spacing: 0.3px;
  margin-bottom: 2rem;
}


/* Carrusel */
.testimonios-carousel-wrapper {
  position: relative;
  overflow: hidden;
  max-width: 1200px;
  margin: 0 auto;
}

.testimonios-carousel {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  scroll-behavior: smooth;
  gap: 1.5rem;
  scroll-snap-type: x mandatory;
  padding-bottom: 1rem;
}

.testimonios-carousel::-webkit-scrollbar {
  display: none;
}

.testimonial {
  flex: 0 0 300px;
  background-color: #fff;
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 1.5rem;
  text-align: left;
  scroll-snap-align: start;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.testimonial:hover {
  transform: translateY(-5px);
}

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

.testimonial p {
  font-size: 0.95rem;
  color: #333;
  margin-bottom: 1rem;
}

.testimonial h4 {
  font-size: 0.9rem;
  color: #000;
  font-weight: 700;
}

/* Botones carrusel */
.testi-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #6366f1;
  color: white;
  border: none;
  padding: 0.6rem 1rem;
  font-size: 1.5rem;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.testi-btn.left {
  left: 0;
}

.testi-btn.right {
  right: 0;
}

.testi-btn:hover {
  background: #4f46e5;
}
.testimonios-carousel {
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  scrollbar-width: none; /* Firefox */
}



/* Responsive */
@media (max-width: 768px) {
  .testimonial {
    flex: 0 0 90%;
    text-align: center;
  }

  .testi-btn {
    display: none;
  }
}
