/* ======================================================
   RESEÑAS – EDITORIAL SINTEGRAD
   Fondo claro · Contraste deliberado · Vida visual
   ====================================================== */

/* ---------- CONTENEDOR GENERAL ---------- */
.reviews-editorial {
  padding: clamp(5rem, 8vw, 8rem) 1.5rem;
  background: #F2F2F2; /* Gris claro premium — respiro visual intencional */
}

/* ---------- HEADER ---------- */
.reviews-editorial__header {
  max-width: 1200px;
  margin: 0 auto 4rem;
}

.reviews-editorial__header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  color: #0B0E19; /* Negro profundo SINTEGRAD sobre fondo claro */
}

.reviews-editorial__header p {
  font-size: 1.05rem;
  line-height: 1.6;
  color: rgba(11, 14, 25, 0.65);
  max-width: 520px;
}

/* ---------- CARRUSEL INFINITO ---------- */
.reviews-infinite-container {
  width: 100%;
  overflow: hidden;
  padding: 40px 0;
  position: relative;
  mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}

.reviews-infinite-track {
  display: flex;
  width: max-content;
  animation: scrollInfinito 90s linear infinite;
}

.reviews-infinite-container:hover .reviews-infinite-track {
  animation-play-state: paused;
}

.reviews-group {
  display: flex;
  gap: 24px;
  padding-right: 24px;
}

/* ---------- TARJETA DE RESEÑA ---------- */
.review-item {
  flex: 0 0 320px;
  background: #ffffff !important;
  border: 1px solid rgba(11, 14, 25, 0.08);
  border-radius: 16px;
  padding: 28px;
  display: flex !important;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 2px 12px rgba(11, 14, 25, 0.06);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  min-width: 270px;
  flex-shrink: 0;
}

.review-item:hover {
  box-shadow: 0 8px 28px rgba(11, 14, 25, 0.12);
  transform: translateY(-2px);
}

/* ---------- TEXTO ---------- */
.review-text {
  font-size: 0.97rem;
  line-height: 1.65;
  color: rgba(11, 14, 25, 0.82) !important;
  margin-bottom: 18px;
  font-style: italic;
}

.review-author {
  font-size: 0.85rem;
  font-weight: 700;
  color: #0B0E19 !important;
  margin-bottom: 8px;
  display: block;
}

/* ---------- ESTRELLAS DORADAS ---------- */
.review-rating {
  display: flex;
  gap: 3px;
  margin-top: 4px;
}

.review-rating svg {
  width: 15px;
  height: 15px;
  fill: #F5A623 !important;
  color: #F5A623 !important;
}

/* ---------- LINK GOOGLE ---------- */
.reviews-editorial__footer {
  text-align: center;
  margin-top: 24px;
}

.reviews-google-link {
  display: inline-block;
  color: rgba(11, 14, 25, 0.4);
  text-decoration: none;
  font-size: 0.8rem;
  padding: 8px 16px;
  border: 1px solid transparent;
  border-radius: 20px;
  transition: all 0.3s ease;
}

.reviews-google-link:hover {
  color: #0B0E19;
  border-color: rgba(11, 14, 25, 0.15);
  background: rgba(11, 14, 25, 0.04);
}

/* ---------- ANIMACIÓN ---------- */
@keyframes scrollInfinito {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ---------- MOBILE ---------- */
@media (max-width: 768px) {
  .review-item {
    flex: 0 0 270px;
    padding: 20px;
  }
  .reviews-infinite-track {
    animation-duration: 60s;
    display: flex;
    flex-wrap: nowrap;
  }
  .reviews-infinite-container {
    overflow: hidden;
    -webkit-mask-image: none;
    mask-image: none;
  }
  .reviews-group {
    display: flex;
    flex-wrap: nowrap;
    flex-shrink: 0;
  }
}

/* ===== AJUSTE: fondo reseñas (más contraste, mantiene confianza) ===== */
.seccion-resenas,
#resenas,
.resenas-section{
  background:#F0F2F5 !important;
}
