/* =========================================================
   Reseñas de Google · home (#testimonios, debajo de los videos) y página Sedes
   Marcado generado por js/resenas.js con datos de js/resenas-datos.js
   ========================================================= */
.rs-g { flex: none; width: 18px; height: 18px; }
.rs-estrellas { display: inline-flex; gap: 2px; color: var(--acento); }
.rs-estrellas svg { width: 16px; height: 16px; fill: currentColor; }
.rs-estrellas svg.vacia { fill: rgba(31, 26, 21, .14); }

/* ---------- Home: bloque bajo los videos ---------- */
.rs { display: grid; grid-template-columns: 260px 1fr; gap: 56px; margin-top: 80px; padding-top: 56px; border-top: 1px solid rgba(31, 26, 21, .1); }

/* Resumen */
.rs__resumen { display: flex; flex-direction: column; align-items: flex-start; }
.rs__fuente { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; color: var(--texto-60); }
.rs__nota { display: flex; align-items: center; gap: 12px; margin-top: 14px; }
.rs__nota b { font-family: var(--serif); font-size: 56px; font-weight: 500; line-height: 1; letter-spacing: -0.04em; }
.rs__nota .rs-estrellas svg { width: 20px; height: 20px; }
.rs__total { margin-top: 6px; font-size: 15px; color: var(--texto-60); }
.rs__sedes { align-self: stretch; margin-top: 22px; border-top: 1px solid rgba(31, 26, 21, .1); }
.rs__sedes li { border-bottom: 1px solid rgba(31, 26, 21, .1); }
.rs__sedes a { display: flex; align-items: center; gap: 10px; min-height: 48px; font-size: 15px; font-weight: 500; transition: color .2s var(--curva-hover); }
.rs__sedes small { margin-left: auto; font-size: 13.5px; font-weight: 400; color: var(--texto-60); font-variant-numeric: tabular-nums; }
.rs__sedes .lucide { width: 16px; height: 16px; color: var(--acento-hondo); transition: transform .25s var(--curva); }
.rs__sedes a:hover { color: var(--acento-hondo); }
.rs__sedes a:hover .lucide { transform: translate(2px, -2px); }
.rs__trip { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-size: 13px; color: var(--texto-60); }
.rs__trip b { font-weight: 600; color: var(--texto); }
.rs__trip .rs-estrellas svg { width: 12px; height: 12px; }
.rs__trip:hover { color: var(--texto); }

/* Carrusel (3 tarjetas visibles en escritorio) */
.rs__carrusel { min-width: 0; }
.rs-visor { overflow: hidden; }
.rs-visor:focus-visible { outline-offset: 4px; }
.rs-pista { --gap: 16px; display: flex; gap: var(--gap); transition: transform .7s var(--curva); will-change: transform; cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.rs-pista.arrastrando { cursor: grabbing; }
.rs-card { flex: none; width: calc((100% - var(--gap) * 2) / 3); display: flex; flex-direction: column; min-height: 248px; padding: 24px; border-radius: 16px; background: var(--crema); }
.rs-card__arriba { display: flex; align-items: center; gap: 12px; }
.rs-card__avatar { flex: none; display: grid; place-items: center; width: 40px; height: 40px; overflow: hidden; border-radius: 50%; background: var(--acento-suave); color: var(--acento-hondo); font-family: var(--serif); font-size: 17px; font-weight: 600; }
.rs-card__avatar img { width: 100%; height: 100%; object-fit: cover; }
.rs-card__quien { display: flex; flex-direction: column; min-width: 0; }
.rs-card__quien b { font-size: 15px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rs-card__quien small { font-size: 13px; color: var(--texto-60); }
.rs-card__fuente { margin-left: auto; }
span.rs-card__fuente { font-size: 12px; font-weight: 500; color: var(--texto-60); }
.rs-card > .rs-estrellas { margin-top: 18px; }
.rs-card__texto { margin-top: 10px; font-size: 15px; line-height: 1.55; color: var(--texto); }
.rs-card__pie { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 18px; }
.rs-card__sede { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--texto-60); }
.rs-card__sede .lucide { width: 15px; height: 15px; color: var(--acento-hondo); }
.rs-card__ejemplo { padding: 3px 9px; border-radius: var(--r-pildora); border: 1px dashed rgba(31, 26, 21, .3); font-size: 11.5px; font-weight: 500; color: var(--texto-60); }

/* Controles debajo del carrusel */
.rs__control { display: flex; align-items: center; gap: 16px; margin-top: 24px; }
.rs__aviso { flex: 1; font-size: 12.5px; color: var(--texto-60); text-align: center; }
.rs__todas { margin-left: auto; padding: 0 18px 0 20px; }
.rs__todas .lucide { width: 16px; height: 16px; }

@media (max-width: 1200px) {
  .rs { grid-template-columns: 220px 1fr; gap: 40px; }
  .rs-card { width: calc((100% - var(--gap)) / 2); }
}
@media (max-width: 900px) {
  .rs { grid-template-columns: 1fr; gap: 28px; margin-top: 56px; padding-top: 40px; }
  .rs__nota { margin-top: 10px; }
  .rs__nota b { font-size: 48px; }
  .rs__sedes { margin-top: 18px; }
  /* el carril sale hasta el borde de la pantalla; controles debajo */
  .rs-visor { margin-inline: calc(var(--pad-x) * -1); padding-inline: var(--pad-x); clip-path: inset(-10px 0 -10px var(--pad-x)); }
  .rs-pista { --gap: 12px; }
  .rs-card { width: min(82vw, 340px); min-height: 232px; padding: 20px; }
  .rs__control { flex-wrap: wrap; gap: 12px; margin-top: 20px; }
  .rs-flechas .flecha { width: 44px; height: 44px; }
  .rs__aviso { order: 3; flex-basis: 100%; text-align: left; }
}
@media (prefers-reduced-motion: reduce) { .rs-pista { transition: none !important; } }

/* ---------- Página Sedes: nota de Google de cada sede ---------- */
.rs-sede { margin-top: 14px; }
.rs-sede:empty { display: none; }
.rs-sede a { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 6px 8px; font-size: 14px; color: var(--texto-60); }
.rs-sede b { font-size: 15px; font-weight: 600; color: var(--texto); }
.rs-sede .rs-estrellas svg { width: 14px; height: 14px; }
.rs-sede span:last-child { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; text-decoration-color: rgba(31, 26, 21, .3); }
.rs-sede a:hover span:last-child { color: var(--acento-hondo); text-decoration-color: currentColor; }
