/* Nordquist: seccion de resenas de Google (reemplaza Trustindex). Colores del sitio: azul #021b4e, naranja #ff6f3c. */
.nq-greviews { --nq-azul: #021b4e; --nq-naranja: #ff6f3c; --nq-borde: #dde3ee; display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 24px; align-items: center; margin: 8px 0 0; font-family: "Source Sans 3", Arial, sans-serif; color: #2b3445; text-align: left; }
.nq-greviews * { box-sizing: border-box; }
.nq-gr-resumen { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.nq-gr-logo { width: 64px; height: 64px; object-fit: contain; margin-bottom: 4px; }
.nq-gr-nombre { color: var(--nq-azul); font-weight: 700; font-size: 18px; line-height: 1.25; }
.nq-gr-nota { display: flex; align-items: center; gap: 8px; color: var(--nq-azul); }
.nq-gr-nota strong { font-size: 26px; line-height: 1; font-weight: 800; }
.nq-gr-fuente-g { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; color: #5b6577; }
.nq-gr-g { width: 18px; height: 18px; flex: 0 0 18px; }
.nq-gr-stars { display: inline-flex; gap: 1px; color: #fbbc04; font-size: 18px; line-height: 1; letter-spacing: 0; }
.nq-gr-botones { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; width: 100%; }
.nq-greviews a.nq-gr-btn { display: flex; align-items: center; justify-content: center; min-height: 44px; padding: 8px 16px; border: 2px solid var(--nq-azul); border-radius: 6px; color: var(--nq-azul); background: #fff; font-weight: 700; font-size: 16px; text-decoration: none; text-align: center; }
.nq-greviews a.nq-gr-btn--pri { background: var(--nq-naranja); border-color: var(--nq-naranja); color: #fff; }
.nq-greviews a.nq-gr-btn:hover, .nq-greviews a.nq-gr-btn:focus-visible { filter: brightness(.94); }

.nq-gr-carril { position: relative; min-width: 0; }
.nq-gr-lista { list-style: none; margin: 0; padding: 4px 2px 10px; display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 32px) / 3); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.nq-gr-lista::-webkit-scrollbar { display: none; }
.nq-gr-card { scroll-snap-align: start; background: #fff; border: 1px solid var(--nq-borde); border-radius: 10px; padding: 16px 18px; display: flex; flex-direction: column; gap: 8px; min-height: 190px; margin: 0; }
.nq-gr-autor { display: grid; grid-template-columns: 40px 1fr 18px; gap: 10px; align-items: center; }
.nq-gr-inicial { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--nq-azul); color: #fff; font-weight: 700; font-size: 17px; text-transform: uppercase; }
.nq-gr-quien { color: var(--nq-azul); font-weight: 700; font-size: 16px; line-height: 1.2; }
.nq-gr-cuando { color: #6b7487; font-size: 14px; line-height: 1.3; }
.nq-gr-texto { margin: 0; font-size: 16px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.nq-gr-texto.abierto { display: block; -webkit-line-clamp: unset; }
.nq-gr-mas { align-self: flex-start; background: none; border: 0; padding: 4px 0; min-height: 32px; color: var(--nq-azul); font: 700 15px "Source Sans 3", Arial, sans-serif; text-decoration: underline; cursor: pointer; }
.nq-gr-flecha { position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--nq-borde); background: #fff; color: var(--nq-azul); font-size: 26px; line-height: 1; cursor: pointer; box-shadow: 0 2px 8px rgba(2, 27, 78, .15); z-index: 2; display: grid; place-items: center; padding: 0 0 3px; }
.nq-gr-ant { left: -18px; }
.nq-gr-sig { right: -18px; }
.nq-gr-flecha:disabled { opacity: 0; pointer-events: none; }

/* Pagina de reseñas: muro con todas */
.nq-greviews--muro { grid-template-columns: 1fr; }
.nq-greviews--muro .nq-gr-resumen { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 10px 18px; justify-content: center; text-align: center; }
.nq-greviews--muro .nq-gr-botones { flex-direction: row; width: auto; margin: 0; }
.nq-greviews--muro .nq-gr-lista { grid-auto-flow: row; grid-template-columns: repeat(3, minmax(0, 1fr)); overflow: visible; scroll-snap-type: none; }

@media (max-width: 1024px) {
  .nq-gr-lista { grid-auto-columns: calc((100% - 16px) / 2); }
  .nq-greviews--muro .nq-gr-lista { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .nq-greviews { grid-template-columns: 1fr; gap: 16px; }
  .nq-gr-resumen { align-items: center; text-align: center; }
  .nq-gr-botones { flex-direction: row; }
  .nq-gr-botones .nq-gr-btn { flex: 1; white-space: nowrap; padding: 8px 10px; font-size: 15px; }
  .nq-gr-lista { grid-auto-columns: 86%; }
  .nq-gr-flecha { display: none; }
  .nq-greviews--muro .nq-gr-lista { grid-template-columns: 1fr; }
}
