/* === REVIEWS SECTION (Google / Thumbtack / Yelp) === */
.reviews {
  background: #ffffff;
  color: #D4AF37;
  min-height: auto;   /* высота по содержимому, без лишней пустоты */
}

/* --- Рейтинги площадок --- */
.rv-summary {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px;
  margin: 10px 0 40px;
}

.rv-badge {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 230px;
  padding: 14px 20px;
  background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
  border: 1px solid #000;
  border-radius: 15px;
  text-decoration: none;
  text-align: left;
  box-shadow: 0 8px 24px rgba(212, 175, 55, 0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.rv-badge:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 36px rgba(212, 175, 55, 0.45);
}

.rv-badge-icon {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  border-radius: 8px;
}

.rv-badge-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.rv-badge-name {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #D4AF37;
}

.rv-badge-rating {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
}

.rv-badge-rating strong {
  font-size: 1.4rem;
  font-weight: 800;
  color: #fff;
}

.rv-badge-count {
  font-size: 0.8rem;
  color: #C9A227;
}

/* --- Звёзды --- */
.rv-star {
  color: #444;
  font-size: 1.1rem;
  line-height: 1;
}

.rv-star.on {
  color: #D4AF37;
}

.rv-stars-sm .rv-star {
  font-size: 0.9rem;
}

/* --- Фильтр --- */
.rv-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
}

.rv-filter {
  padding: 9px 22px;
  border-radius: 12px;
  border: 2px solid #000;
  background: #fff;
  color: #000;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
}

.rv-filter:hover {
  transform: translateY(-2px);
}

.rv-filter.active {
  background: linear-gradient(135deg, #000000 0%, #1a1a1a 50%, #333333 100%);
  color: #D4AF37;
  box-shadow: 0 6px 18px rgba(212, 175, 55, 0.35);
}

/* --- Карточки --- */
.rv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  text-align: left;
}

.rv-card {
  display: flex;
  flex-direction: column;
  padding: 24px;
  background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
  border: 1px solid #000;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.rv-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(212, 175, 55, 0.35);
}

.rv-card.rv-hidden {
  display: none;
}

.rv-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.rv-avatar {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #D4AF37;
  color: #000;
  font-weight: 800;
  font-size: 1.1rem;
}

.rv-meta {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}

.rv-author {
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rv-date {
  font-size: 0.8rem;
  color: #C9A227;
}

.rv-sources {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}

.rv-source {
  width: 30px;
  height: 30px;
  border-radius: 6px;
  display: block;
  transition: transform 0.3s ease;
}

.rv-source:hover {
  transform: scale(1.12);
}

.rv-stars {
  margin-bottom: 12px;
}

.rv-text {
  font-size: 0.98rem;
  line-height: 1.6;
  color: #f2f2f2;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.rv-card.expanded .rv-text {
  -webkit-line-clamp: unset;
  display: block;
}

.rv-more {
  display: none;
  align-self: flex-start;
  margin-top: 10px;
  padding: 0;
  background: none;
  border: none;
  color: #D4AF37;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
}

.rv-card.clamped .rv-more {
  display: inline-block;
}

#rv-show-more[hidden] {
  display: none;
}

/* --- Отзывы Yelp, встроенные кодом Yelp --- */
.rv-embeds-title {
  margin: 60px 0 25px;
  font-size: 1.5rem;
  color: #D4AF37;
}

.rv-embeds {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  justify-items: center;
}

.rv-embed {
  width: 100%;
  max-width: 420px;
}

.rv-embed a {
  color: #000;
  font-weight: 600;
}

/* --- Адаптив --- */
@media (max-width: 1024px) {
  .rv-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .rv-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .rv-badge {
    min-width: 0;
    width: 100%;
  }

  .rv-card {
    padding: 20px;
  }
}
