/* Reseteo básico y fondo de página */
body {
  background-color: #1C1C1C; /* Fondo oscuro global */
  font-family: 'Inter', 'Segoe UI', sans-serif;
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

.testimonial-section {
  position: relative;
  width: 100%;
  max-width: 1200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.slider-container {
  position: relative;
  width: 100%;
  height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Estilos base de las tarjetas */
.slide {
  position: absolute;
  width: 420px;
  background: linear-gradient(-180deg, #2b2b2b 39.4118%, #1c1c1c 100%);
  border-radius: 24px;
  padding: 35px 30px;
  box-sizing: border-box;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  
  /* Para las tarjetas ocultas */
  opacity: 0;
  transform: translateX(-50%) scale(0.6);
  left: 50%;
  
  z-index: 1;
  pointer-events: none;
}

/* Estado: Activo (Centro) */
.slide.active {
  opacity: 1;
  transform: translateX(-50%) scale(1);
  left: 50%;
  z-index: 3;
  pointer-events: auto;
  box-shadow: 0px 20px 40px rgba(0, 0, 0, 0.5);
}

/* Estado: Anterior (Izquierda) */
.slide.prev {
  opacity: 0.3;
  transform: translateX(-50%) scale(0.85);
  left: 18%;
  z-index: 2;
  cursor: pointer;
  pointer-events: auto;
}

/* Estado: Siguiente (Derecha) */
.slide.next {
  opacity: 0.3;
  transform: translateX(-50%) scale(0.85);
  left: 82%;
  z-index: 2;
  cursor: pointer;
  pointer-events: auto;
}

/* Contenido Interno de la Tarjeta */
.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.stars {
  display: flex;
  gap: 6px;
}

/* Tamaños de las imágenes insertadas */
.estrellas {
  width: 180px;
}

.comillas {
  width: 40px;
}

/* Línea separadora */
.divider {
  width: 100%;
  height: 1px;
  background-color: #383838;
  margin: 20px 0 25px 0;
}

.quote-text {
  color: #B3B3B3;
  font-size: 16px;
  line-height: 1.6;
  margin: 0 0 30px 0;
  height: 100px;
}

.user-info {
  display: flex;
  align-items: center;
  gap: 15px;
}

.user-info img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.user-details h4 {
  margin: 0 0 5px 0;
  font-size: 16px;
  color: #FFFFFF;
  font-weight: 600;
}

.user-details span {
  font-size: 13px;
  color: #888888;
}

/* Botones de Navegación */
.nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  background-color: #111111;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: 0.3s;
}

.nav-btn:hover {
  background-color: #000000;
}

.nav-btn svg {
  width: 28px;
  height: 28px;
  fill: #FFFFFF;
}

/* Posicionamiento exacto de los botones (entre la tarjeta central y las laterales) */
.prev-btn { left: calc(50% - 245px); }
.next-btn { right: calc(50% - 245px); }

/* Paginación (Puntitos inferiores) */
.pagination {
  display: flex;
  align-items: center;
  gap: 6px;
  background-color: #2b2b2b;
  padding: 8px 12px;
  border-radius: 20px;
}

.dot {
  width: 5px;
  height: 5px;
  background-color: #777777;
  border-radius: 50%;
  cursor: pointer;
  transition: 0.3s;
}

.dot.active {
  width: 20px;
  background-color: #FFFFFF;
  border-radius: 5px;
}

.user-details {
    line-height: 13px;
}