/* plugins/reviews/public/assets/css/home-section.css */
/* Testimonials on the homepage (RSJ-style): score bar, clickable cards, "write a review" buttons. Theme tokens only. */

.rv-stats { display: flex; justify-content: center; flex-wrap: wrap; gap: 16px; margin: -8px 0 36px; }
.rv-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    min-width: 190px;
    padding: 18px 26px;
    background: var(--bg-2);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    color: var(--text);
    text-decoration: none;
    transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.rv-stat:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.rv-stat-number { font-family: var(--font-heading); font-size: 2.6rem; line-height: 1; color: var(--accent); }
.rv-stat .rv-stars { margin: 0; }
.rv-stat-label { font-size: 0.85rem; color: var(--text-muted); }

.rv-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.rv-grid-1 { grid-template-columns: minmax(0, 560px); justify-content: center; }
.rv-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.rv-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.rv-card {
    position: relative;
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 26px;
    background: var(--bg-2);
    border: 1px solid var(--border);
    border-radius: 22px;
    box-shadow: var(--shadow-sm);
    color: var(--text);
    text-decoration: none;
}
.rv-card.is-link { transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease); }
.rv-card.is-link:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--border-strong); }
.rv-card.is-link:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.rv-card-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 26px; margin-bottom: 14px; }
.rv-stars { display: inline-flex; gap: 3px; }
.rv-stars svg { width: 18px; height: 18px; }
.rv-stars .is-on { fill: #e8b923; }
.rv-stars .is-off { fill: var(--bg-3); }
.rv-src { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.02em; color: var(--text-muted); padding: 3px 9px; border: 1px solid var(--border); border-radius: var(--radius-pill); }
.rv-quote { flex: 1; display: block; margin: 0 0 22px; font-family: var(--font-heading); font-size: 1.02rem; line-height: 1.55; }
.rv-foot { display: flex; align-items: center; gap: 12px; }
.rv-avatar {
    flex-shrink: 0;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--tint-strong);
    color: var(--accent);
    font-weight: 700;
    font-size: 0.9rem;
}
.rv-who { display: flex; flex-direction: column; min-width: 0; }
.rv-who strong { font-size: 0.95rem; }
.rv-who span { font-size: 0.82rem; color: var(--text-muted); }

.rv-cta { margin-top: 40px; text-align: center; }
.rv-cta p { margin: 0 0 14px; color: var(--text-muted); }
.rv-cta-buttons { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }

@media (max-width: 1080px) {
    .rv-grid, .rv-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
    .rv-grid, .rv-grid-2, .rv-grid-3 { grid-template-columns: minmax(0, 1fr); gap: 14px; }
    .rv-card { padding: 22px; }
    .rv-stat { min-width: 0; flex: 1 1 140px; padding: 14px 16px; }
    .rv-stat-number { font-size: 2.1rem; }
}
