/* Página /reviews: comentarios de la comunidad en tarjetas. */
.rv-wrap { position: relative; z-index: 1; max-width: 1120px; margin: 0 auto; padding: 40px 20px 70px; }
.rv-hero { position: relative; overflow: hidden; max-width: 820px; padding: 36px 32px 32px; border-radius: 24px; border: 1px solid rgba(122, 214, 255, 0.22);
    background:
        radial-gradient(ellipse 480px 240px at 10% 0%, rgba(122, 214, 255, 0.16), transparent 70%),
        radial-gradient(ellipse 440px 240px at 100% 100%, rgba(249, 182, 255, 0.14), transparent 70%),
        rgba(13, 19, 32, 0.82);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35); }
.rv-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 22px; }

.rv-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 22px; }
.rv-chip { padding: 7px 14px; border-radius: 999px; cursor: pointer; font: 600 0.85rem 'Inter', sans-serif; color: #b4c0d3; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--border); transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease; }
.rv-chip:hover { color: var(--text); background: rgba(122, 214, 255, 0.07); }
.rv-chip:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.rv-chip.active { color: var(--moon); background: var(--accent-soft); border-color: rgba(122, 214, 255, 0.5); }

/* Columnas tipo mosaico: las tarjetas largas y cortas se acomodan solas */
.rv-grid { columns: 3 300px; column-gap: 18px; }
.rv-grid[data-count="1"] { columns: 1; max-width: 460px; margin: 0 auto; }
.rv-grid[data-count="2"] { columns: 2 300px; max-width: 780px; margin: 0 auto; }
.rv-card { position: relative; break-inside: avoid; margin: 0 0 18px; padding: 26px 22px 20px; border-radius: 20px; background: rgba(17, 24, 38, 0.86); border: 1px solid var(--border); transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease; }
.rv-card:hover { transform: translateY(-3px); border-color: rgba(122, 214, 255, 0.5); box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3); }
.rv-quote { position: absolute; top: 4px; right: 18px; font: 800 4.6rem/1 'Baloo 2', sans-serif; color: rgba(122, 214, 255, 0.16); pointer-events: none; }
.rv-stars { margin-bottom: 8px; font-size: 1rem; letter-spacing: 2px; color: #f4d45e; line-height: 1; }
.rv-stars-off { color: rgba(255, 255, 255, 0.14); }
.rv-text { position: relative; margin: 0; padding-right: 34px; font-size: 1.08rem; line-height: 1.6; color: var(--text); overflow-wrap: anywhere; }
.rv-author { display: flex; align-items: center; gap: 12px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--border); }
.rv-avatar { width: 40px; height: 40px; flex-shrink: 0; display: grid; place-items: center; border-radius: 50%; font: 800 1.05rem 'Baloo 2', sans-serif; color: #071019;
    background: linear-gradient(135deg, hsl(var(--h) 85% 74%), hsl(calc(var(--h) + 45) 85% 66%)); }
.rv-avatar { position: relative; overflow: hidden; }
.rv-avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.rv-who { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.rv-who strong { font-size: 0.95rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rv-who small { font-size: 0.78rem; color: var(--text-muted); }
.rv-topic { flex-shrink: 0; padding: 4px 10px; border-radius: 999px; font-size: 0.74rem; font-weight: 700; color: var(--moon); border: 1px solid rgba(122, 214, 255, 0.35); white-space: nowrap; }

@media (prefers-reduced-motion: reduce) { .rv-card { transition: none; } .rv-card:hover { transform: none; } }
@media (max-width: 560px) { .rv-hero { padding: 26px 18px 24px; } .rv-text { font-size: 1rem; } .rv-author { flex-wrap: wrap; } }
