/* Testimonios de clientes en el home: grid 3 columnas en desktop,
   scroll horizontal con snap en movil. Sin JS. */
#wsus__testimonials {
  margin-top: 40px;
}
.wsus__testimonials_track {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 24px;
}
/* mas alla de los 3 principales: ocultos hasta "Ver mas" */
.wsus__testimonial_card.is-extra {
  display: none;
}
.wsus__testimonials_track.is-expanded .wsus__testimonial_card.is-extra {
  display: flex;
}
/* Resumen agregado: promedio + conteo de resenas verificadas */
.wsus__testimonials_summary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 4px 0 4px;
  font-size: 13px;
  color: #64748b;
}
.wsus__testimonials_summary strong {
  font-size: 14px;
  font-weight: 800;
  color: #0b2c3d;
}
/* Texto azul como el outline (gana a .common_btn), blanco en hover.
   Incluye el span de la etiqueta para que herede el color. */
#wsus__testimonials .wsus-load-more-btn,
#wsus__testimonials .wsus-load-more-btn:link,
#wsus__testimonials .wsus-load-more-btn:visited {
  color: #08C;
}
#wsus__testimonials .wsus-load-more-btn:hover,
#wsus__testimonials .wsus-load-more-btn:active {
  color: #fff;
}
#wsus__testimonials .wsus-load-more-btn .wsus__tm_label {
  color: inherit;
}
.wsus__testimonial_card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: #fff;
  border: 1px solid #e6edf5;
  border-radius: 14px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.05);
  padding: 24px 22px 20px;
}
.wsus__testimonial_quote {
  position: absolute;
  top: 18px;
  right: 20px;
  font-size: 26px;
  color: #e0f2fe;
}
.wsus__testimonial_top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-right: 34px;
}
.wsus__testimonial_verified {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
  color: #047857;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  border-radius: 999px;
  padding: 3px 9px;
}
.wsus__testimonial_verified i {
  font-size: 11px;
}
.wsus__testimonial_stars {
  display: flex;
  gap: 3px;
}
.wsus__testimonial_stars i {
  font-size: 13px;
  color: #e2e8f0;
}
.wsus__testimonial_stars i.is-on {
  color: #fbbf24;
}
.wsus__testimonial_msg {
  flex: 1;
  margin: 0;
  font-size: 13.5px;
  line-height: 1.65;
  color: #475569;
}
.wsus__testimonial_who {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid #f1f5f9;
}
.wsus__testimonial_who img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #e0f2fe;
}
.wsus__testimonial_initials {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0ea5e9, #0369a1);
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.5px;
}
.wsus__testimonial_who > div {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.wsus__testimonial_who strong {
  font-size: 14px;
  font-weight: 700;
  color: #0b2c3d;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.wsus__testimonial_who span {
  font-size: 12px;
  color: #8a99a6;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
@media (max-width: 991.98px) {
  .wsus__testimonials_track {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin-inline: calc(50% - 50vw);
    padding-inline: calc(50vw - 50%);
    padding-bottom: 6px;
  }
  .wsus__testimonials_track::-webkit-scrollbar {
    display: none;
  }
  .wsus__testimonial_card {
    flex: 0 0 min(320px, 82vw);
    scroll-snap-align: start;
  }
}
@media (prefers-reduced-motion: reduce) {
  .wsus__testimonials_track {
    scroll-snap-type: none;
  }
}
