/* ============================================
   UNIFIED TEK — Reviews CSS
   ============================================ */

/* ── HERO RATING BAR ── */
.cr-hero-rating {
  display: flex;
  align-items: center;
  gap: .65rem;
  margin-top: 1.1rem;
  flex-wrap: wrap;
  justify-content: center;
}
.cr-stars { color: #FCD34D; font-size: 1.3rem; letter-spacing: .05em; }
.cr-hero-rating strong { color: #fff; font-size: 1rem; }
.cr-hero-rating span { color: rgba(255,255,255,.7); font-size: .88rem; }

/* ── AGGREGATE SCORE ── */
.rv-aggregate {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 2.5rem;
  display: flex;
  align-items: center;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}
.rv-score {
  font-size: 4rem;
  font-weight: 900;
  color: var(--text);
  line-height: 1;
}
.rv-stars-big { font-size: 1.8rem; color: #FCD34D; letter-spacing: .08em; }
.rv-count { font-size: .9rem; color: var(--text-muted); font-weight: 600; }
.rv-bars { display: flex; flex-direction: column; gap: .4rem; flex: 1; min-width: 180px; }
.rv-bar-row {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .8rem;
  color: var(--text-muted);
  font-weight: 600;
}
.rv-bar-row > span:first-child { width: 28px; text-align: right; flex-shrink: 0; }
.rv-bar-row > span:last-child { width: 20px; flex-shrink: 0; }
.rv-bar-track {
  flex: 1;
  height: 8px;
  background: var(--border);
  border-radius: 99px;
  overflow: hidden;
}
.rv-bar-fill {
  height: 100%;
  background: #FCD34D;
  border-radius: 99px;
  transition: width .6s ease;
}

/* ── REVIEWS GRID ── */
.rv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.rv-card {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.4rem;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  gap: .75rem;
}
.rv-card:hover { border-color: var(--blue); box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.rv-card-highlight {
  border-color: #FCD34D;
  background: #FFFBEB;
}
.rv-card-highlight:hover { border-color: #F59E0B; }

.rv-header {
  display: flex;
  align-items: center;
  gap: .75rem;
}
.rv-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--teal));
  color: #fff;
  font-size: .78rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  letter-spacing: .03em;
}
.rv-name { font-size: .9rem; font-weight: 800; color: var(--text); }
.rv-location { font-size: .75rem; color: var(--text-light); font-weight: 600; }
.rv-star-sm { margin-left: auto; color: #FCD34D; font-size: .95rem; flex-shrink: 0; }

.rv-card p {
  font-size: .85rem;
  line-height: 1.65;
  color: var(--text-muted);
  margin: 0;
  flex: 1;
}
.rv-date {
  font-size: .75rem;
  color: var(--text-light);
  font-weight: 600;
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .rv-grid { grid-template-columns: 1fr 1fr; }
  .rv-aggregate { gap: 1.5rem; }
}
@media (max-width: 580px) {
  .rv-grid { grid-template-columns: 1fr; }
  .rv-aggregate { flex-direction: column; align-items: flex-start; padding: 1.5rem; }
}
