@charset "utf-8";
/* CSS Document */
body {
  font-family: "Poppins", sans-serif !important; /* Mínimo: 2.25rem (36px) | Fluido: 4vw + 1rem | Máximo: 4rem (64px) */
  font-family: 'Lexend', sans-serif !important;
  line-height: 1.3 !important;
overflow-x: hidden!important;

}
.text-white {
  color: #fff !important;
}
.bg-purple {
  background-color: #733fc8 !important;
}
.bg-light-gray {
  background-color: #edf2f8 !important;
}
.bg-dark-gray {
  background-color: #49556b !important;
}
.bg-dark {
  background-color: #19212d !important;
}
.author-name {
  color: #222 !important;
  margin: 0 0 3px 0;
  font-family: 'Poppins', sans-serif !important;
  font-weight: 600 !important; /* SemiBold */
}
.author-name:hover {
  color: #91781F !important;
  margin: 0 0 3px 0;
  font-family: 'Poppins', sans-serif !important;
  font-weight: 600 !important; /* SemiBold */
}
/* Detalles del Testimonio */
.testimonial-stars {
  color: #91781F;
  font-size: 1.2rem;
  margin-bottom: 0px;
}
.testimonial-text {
  color: #555 !important;
  font-size: 1.01rem !important;
  line-height: 1.2 !important;
  margin-bottom: 25px;
  font-style: italic;
  font-family: 'Poppins', sans-serif !important;
  font-weight: 400 !important;
}
.testimonial-profile {
  border-top: 1px solid #eee;
  padding-top: 15px;
  display: flex;
  align-items: center;
  gap: 15px;
}
.author-img {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  object-fit: cover;
}
.author-info {
  display: flex;
  flex-direction: column;
  color: #222 !important;
  font-family: 'Poppins', sans-serif !important;
  font-weight: 600 !important;
}
.author-info:hover {
  display: flex;
  flex-direction: column;
  color: #91781F !important;
  font-family: 'Poppins', sans-serif !important;
  font-weight: 600 !important;
}
.author-name {
  font-weight: bold;
  color: #222 !important;
  margin: 0 0 3px 0;
}
.author-role {
  font-size: 0.85rem;
  color: #777;
  margin: 0;
}
.testimonials-section {
  background-color: #f9f9f9;
  padding: 60px 20px;
  font-family: sans-serif;
  position: relative;
}
.testimonials-title {
  text-align: center;
  font-size: 2rem;
  color: #333;
  margin-bottom: 40px;
}
/* Estructura del Carrusel */
.carousel-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}
.carousel-track-container {
  overflow: hidden;
  width: 100%;
}
.carousel-track {
  display: flex;
  gap: 20px; /* Separación entre las dos tarjetas (el JS calcula con base en estos 20px) */
  transition: transform 0.5s ease-in-out;
  /* CORRECCIÓN: Evita que las tarjetas se compriman dentro del 100% de la pantalla */
  width: max-content;
}
.testimonial-card {
  /* CORRECCIÓN: Cambiado min-width por width para forzar el tamaño estricto en escritorio */
  width: calc(50vw - 20px); /* Ajuste dinámico para pantallas medianas */
  max-width: 540px; /* Límite basado en tu contenedor de 1100px */
  box-sizing: border-box;
  background: #ffffff;
  padding: 35px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}
/* Adaptación para celulares (Muestra solo 1 tarjeta) */
@media (max-width: 768px) {
  .testimonial-card {
    /* CORRECCIÓN: Forzamos el ancho completo en pantallas móviles */
    width: calc(100vw - 40px);
    max-width: 100%;
  }
}
/* Botones de navegación */
.carousel-btn {
  background: #ffffff;
  border: 1px solid #ddd;
  font-size: 1.5rem;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  cursor: pointer;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  transition: all 0.2s ease;
}
.carousel-btn:hover {
  background: #333;
  color: #fff;
  border-color: #333;
}
.prev-btn {
  left: -25px;
}
.next-btn {
  right: -25px;
}
@media (max-width: 600px) {
  .prev-btn {
    left: -10px;
  }
  .next-btn {
    right: -10px;
  }
  .testimonial-card {
    padding: 20px;
  }
}
/* Puntos de navegación */
.carousel-nav {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 25px;
}
.carousel-indicator {
  border: 0;
  border-radius: 50%;
  width: 12px;
  height: 12px;
  background: #ccc;
  cursor: pointer;
  transition: background 0.3s ease;
}
.carousel-indicator.active {
  background: #333;
}