/* ─── TESTIMONIOS (SANGHA VOICES) ────────────────────────── */
#testimonios {
  padding: var(--section-padding) 0;
  background: var(--bone);
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.testimonials-section {
  width: 100%;
}

.testimonials-slider-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 2rem 0 4rem;
}

.testimonials-track {
  display: flex;
  gap: 2rem;
  will-change: transform;
}

.testimonial-card {
  flex: 0 0 calc(33.333% - 1.35rem);
  /* 3 cards on desktop */
  padding: 3.5rem;
  background: var(--parchment-light);
  border: 1px solid rgba(0, 0, 0, 0.03);
  position: relative;
  display: flex;
  flex-direction: column;
  transition: all 0.5s var(--ease-expo);
}

.testimonial-card:hover {
  background: #fff;
  border-color: rgba(192, 144, 51, 0.2);
  transform: translateY(-8px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.03);
}

.testimonial-card::before {
  content: '"';
  font-family: var(--f-serif);
  font-size: 5rem;
  line-height: 1;
  color: var(--saffron);
  opacity: 0.3;
  position: absolute;
  top: 1.5rem;
  left: 2rem;
}

.testimonial-text {
  font-family: var(--f-serif);
  font-size: 1.10rem;
  font-style: italic;
  line-height: 1.7;
  color: var(--ink);
  margin-bottom: 2rem;
  padding-top: 1.5rem;
  flex: 1;
  /* Empujar el autor al fondo */
}

.btn-read-more {
  background: none;
  border: none;
  padding: 0;
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--saffron);
  cursor: pointer;
  margin-top: 1rem;
  display: inline-block;
  transition: all 0.3s;
}

.btn-read-more:hover {
  letter-spacing: 0.35em;
  color: var(--cedar);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
}

.testimonial-avatar {
  width: 54px;
  height: 54px;
  flex: 0 0 54px; /* Asegura que mantenga sus dimensiones exactas */
  border-radius: 50%;
  background: var(--parchment);
  border: 1px solid rgba(192, 144, 51, 0.1);
  overflow: hidden;
  position: relative;
  z-index: 2;
}

.testimonial-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.testimonial-name {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--ink);
  margin-bottom: 0.2rem;
}

.testimonial-origin {
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #999;
}

/* Dots Navegación */
.testimonials-dots {
  display: flex;
  justify-content: center;
  gap: 1.2rem;
  margin-top: 4rem;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ink-12);
  cursor: pointer;
  transition: all 0.4s var(--ease-expo);
  border: 1px solid transparent;
}

.dot.active {
  background: var(--saffron);
  transform: scale(1.5);
  box-shadow: 0 0 15px var(--saffron);
}

.modal-testimonio-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 3rem;
}

.modal-testimonio-avatar {
  width: 120px;
  height: 120px;
  border-radius: 4px; /* Cuadrado con bordes suavizados (Estilo Editorial) */
  overflow: hidden;
  margin-bottom: 1.5rem;
  border: 4px solid var(--parchment);
  box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.modal-testimonio-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonio-quote-icon {
  font-family: var(--f-serif);
  font-size: 4rem;
  color: var(--saffron);
  line-height: 1;
  margin-bottom: 1rem;
  opacity: 0.5;
}

#testimonio-modal-content {
  font-family: var(--f-serif);
  font-size: 1.4rem;
  font-style: italic;
  line-height: 1.8;
  color: var(--ink);
}

@media (max-width: 1024px) {
  .testimonial-card {
    flex: 0 0 calc(50% - 1rem);
    /* 2 cards */
  }
}

@media (max-width: 640px) {
  .testimonial-card {
    flex: 0 0 100%;
    /* 1 card */
  }

  .testimonio-modal .modal-body-text {
    padding: 2rem;
  }
}
