/* Tipografía Mística */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500;600;700&family=Cormorant+Garamond:wght@300;400;500;600;700&family=Playfair+Display:wght@400;500;600;700&display=swap');

.testimonials {
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.9) 0%,
    rgba(20, 5, 30, 0.85) 50%,
    rgba(0, 0, 0, 0.9) 100%
  ),
  url(../assets/imgs/fondo2.webp);
  background-position: bottom center;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  padding: 80px 20px;
  color: #fff;
  position: relative;
}

.testimonials::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
    ellipse at center,
    rgba(139, 69, 19, 0.1) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.testimonials .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.testimonials h2 {
  text-align: center;
  font-size: 2.8rem;
  margin-bottom: 50px;
  padding-top: 12px;
  padding-bottom: 12px;
  border: 2px;
  border-style: dashed;
  border-color: rgba(212, 175, 55, 0.5);
  border-left: none;
  border-right: none;
  width: fit-content;
  margin: 0 auto;
  margin-bottom: 50px;
  font-family: 'Cinzel', serif;
  font-weight: 600;
  color: #f5e6d3;
  text-shadow: 
    2px 2px 10px rgba(0, 0, 0, 0.8),
    0 0 20px rgba(212, 175, 55, 0.3);
}

/* Carrusel de WhatsApp - MANTENER ESTILO ORIGINAL */
.whatsapp-slider {
  margin-bottom: 60px;
  width: 100%;
  max-width: 900px;
  height: var(--height);
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, #000 10% 90%, transparent);
  border-radius: 15px;
  box-shadow: 
    0 8px 30px rgba(0, 0, 0, 0.6),
    0 0 40px rgba(212, 175, 55, 0.2);
}

@media (max-width: 700px) {
  .whatsapp-slider {
    position: relative;
    left: 0;
    right: 0;
    width: 100vw;
  }
}

.slider {
  display: flex;
  width: 100%;
  min-width: calc(var(--width) * var(--quantity));
  position: relative;
  gap: 20px;
}

.slider .slide {
  width: var(--width);
  height: var(--height);
  position: absolute;
  flex-shrink: 0;
  left: 60%;
  animation: autoRun 15s linear infinite;
  animation-delay: calc((15s / var(--quantity)) * (var(--position) - 1));
}

.slide img {
  width: 100%;
  border-radius: 15px;
  object-fit: cover;
  border: 2px solid rgba(212, 175, 55, 0.3);
}

@keyframes autoRun {
  from {
    left: 100%;
  }
  to {
    left: calc(var(--width) * -1);
  }
}

/* Tarjetas de Testimonios */
.testimonial-cards {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  padding: 20px;
  width: 100%;
  max-width: 1000px;
}

.testimonial-item {
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.95),
    rgba(255, 235, 220, 0.95)
  );
  border: 2px solid rgba(212, 175, 55, 0.4);
  box-shadow: 
    0 10px 30px rgba(0, 0, 0, 0.3),
    inset 0 0 20px rgba(212, 175, 55, 0.1);
  padding: 35px;
  margin: 0 auto;
  text-align: center;
  width: 100%;
  max-width: 700px;
  border-radius: 20px;
  position: relative;
  transition: all 0.4s ease;
}

.testimonial-item:hover {
  transform: translateY(-8px);
  box-shadow: 
    0 15px 40px rgba(0, 0, 0, 0.4),
    inset 0 0 30px rgba(212, 175, 55, 0.15);
  border-color: rgba(212, 175, 55, 0.6);
}

.testimonial-item .icon {
  position: absolute;
  top: -25px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #fff 0%, #f5e6d3 100%);
  border-radius: 50%;
  padding: 10px 12px;
  box-shadow: 
    0 6px 20px rgba(0, 0, 0, 0.3),
    0 0 20px rgba(212, 175, 55, 0.3);
  border: 2px solid rgba(212, 175, 55, 0.3);
}

.testimonial-item .icon img {
  width: 35px;
  height: 35px;
}

.testimonial-item p {
  font-size: 1.25rem;
  margin: 25px 0 15px;
  color: #2a2a2a;
  font-style: italic;
  line-height: 1.8;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
}

.testimonial-item span {
  font-size: 1.1rem;
  font-weight: 700;
  color: #8b4513;
  font-family: 'Playfair Display', serif;
}

/* Contadores */
.informacion {
  display: flex;
  justify-content: space-around;
  margin-top: 60px;
  column-gap: 70px;
  flex-wrap: wrap;
}

.informacion section {
  text-align: center;
  flex: 1;
  min-width: 200px;
}

.informacion section img {
  width: 60px;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.5));
}

.informacion section h2 {
  font-size: 28px;
  text-wrap: nowrap;
  color: #f5e6d3;
  font-family: 'Cinzel', serif;
  font-weight: 600;
  margin-bottom: 15px;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
}

.informacion section .contador {
  color: #1aaf33;
  margin-top: 20px;
  padding: 15px 35px;
  background: linear-gradient(
    135deg,
    rgba(88, 88, 88, 0.3) 0%,
    rgba(50, 50, 50, 0.4) 100%
  );
  text-align: center;
  border-radius: 15px;
  font-size: 42px;
  font-weight: 700;
  font-family: 'Playfair Display', serif;
  border: 2px solid rgba(212, 175, 55, 0.3);
  box-shadow: 
    0 4px 15px rgba(0, 0, 0, 0.5),
    inset 0 0 20px rgba(26, 175, 51, 0.2);
  text-shadow: 0 0 10px rgba(26, 175, 51, 0.6);
}

@media (max-width: 768px) {
  .testimonials {
    padding: 60px 10px;
  }
  .testimonials h2 {
    font-size: 2.2rem;
  }
  .slider {
    gap: 30px;
  }
  .testimonial-item {
    width: 95%;
    padding: 25px;
  }
  .testimonial-item p {
    font-size: 1.1rem;
  }
  .informacion {
    flex-direction: column;
    gap: 30px;
  }
  .informacion section {
    margin-bottom: 20px;
  }
  .informacion section .contador {
    font-size: 36px;
    padding: 12px 25px;
  }
}
