/* ══════════════════════════════════════
   Yandex Maps Rating Badge
══════════════════════════════════════ */

.reviews-platform-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

/* ── Shared badge shell ── */
.yndx-badge,
.google-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border-radius: 14px;
  padding: 12px 18px;
  box-shadow: 0 2px 12px rgba(0,0,0,.08);
  text-decoration: none;
  border: 1px solid rgba(0,0,0,.06);
  transition: box-shadow .22s ease, transform .22s ease;
  cursor: pointer;
  min-width: 220px;
}

.yndx-badge:hover,
.google-badge:hover {
  box-shadow: 0 6px 24px rgba(0,0,0,.13);
  transform: translateY(-2px);
}

/* ── Logo area ── */
.rb-logo {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.yndx-badge .rb-logo {
  background: #fc3f1d;
}

.google-badge .rb-logo {
  background: #fff;
  border: 1px solid #e8e8e8;
}

/* ── Info column ── */
.rb-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.rb-platform {
  font-size: 11px;
  font-weight: 600;
  color: #888;
  letter-spacing: .03em;
  text-transform: uppercase;
  line-height: 1;
}

/* ── Score row ── */
.rb-score-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 3px;
}

.rb-score-num {
  font-size: 1.5rem;
  font-weight: 800;
  color: #1a1a1a;
  line-height: 1;
  letter-spacing: -.02em;
  font-family: "Montserrat", sans-serif;
}

/* Stars */
.rb-stars {
  display: flex;
  gap: 2px;
  line-height: 1;
}

.rb-stars .rb-star {
  width: 14px;
  height: 14px;
}

/* Yandex stars — orange */
.yndx-badge .rb-star path {
  fill: #ffb900;
}

/* Google stars — multicolor standard */
.google-badge .rb-star path {
  fill: #fbbc04;
}

/* ── Review count ── */
.rb-count {
  font-size: 11.5px;
  color: #aaa;
  font-weight: 500;
  line-height: 1;
  margin-top: 1px;
}

/* ── Responsive ── */
@media (max-width: 540px) {
  .reviews-platform-badges {
    flex-direction: column;
    gap: 10px;
  }
  .yndx-badge,
  .google-badge {
    min-width: 0;
    width: 100%;
  }
}
