/* =================== hc-rev.css =================== */
/* hc-rev - premium reviews grid (home + PDP). Each card has stars, body text,
 * a "who" footer with avatar (initials gold-on-dark), name + role/date,
 * verified-badge (Yandex/manual moderation). Strictly .hc-rev / .hc-rev__*. */

.hc-rev__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 1.4vw, 22px);
}

.hc-rev__card {
  position: relative;
  display: grid;
  gap: 14px;
  padding: clamp(20px, 2.2vw, 28px);
  background: var(--hc-paper, #ffffff);
  border: 0.5px solid rgba(141, 109, 71, 0.16);
  border-radius: 18px;
  box-shadow:
    0 1px 2px rgba(40, 30, 15, 0.03),
    0 14px 32px -18px rgba(40, 30, 15, 0.10);
  transition: transform 0.28s cubic-bezier(0.22, 1.2, 0.36, 1), border-color 0.22s ease, box-shadow 0.32s ease;
}
.hc-rev__card:hover {
  transform: translateY(-4px);
  border-color: var(--hc-gold-border, rgba(212, 184, 150, 0.55));
  box-shadow:
    0 2px 4px rgba(40, 30, 15, 0.04),
    0 28px 56px -22px rgba(184, 154, 111, 0.32);
}
.hc-rev__card::before {
  content: "\201C";
  position: absolute;
  top: -16px;
  right: 18px;
  font-family: var(--hc-serif, "Playfair Display", Georgia, serif);
  font-size: 100px;
  line-height: 1;
  color: rgba(212, 184, 150, 0.32);
  pointer-events: none;
  user-select: none;
}

.hc-rev__stars {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  font-size: 16px;
  letter-spacing: 3px;
  color: var(--hc-gold, #d4b896);
  text-shadow: 0 1px 0 rgba(184, 154, 111, 0.32);
}

.hc-rev__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--hc-ink-2, #3a3128);
}

.hc-rev__who {
  display: grid;
  grid-template-columns: 44px 1fr;
  align-items: center;
  gap: 12px;
  padding-top: 14px;
  border-top: 0.5px dashed rgba(141, 109, 71, 0.22);
}
.hc-rev__who > div {
  display: grid;
  gap: 2px;
  min-width: 0;
}
.hc-rev__av {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--hc-gold, #d4b896), var(--hc-accent, #8b7355));
  color: #2a2018;
  border-radius: 50%;
  font-family: var(--hc-serif, "Playfair Display", Georgia, serif);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  box-shadow: 0 4px 10px -2px rgba(139, 115, 85, 0.42);
  text-transform: uppercase;
}
.hc-rev__name {
  font-family: var(--hc-serif);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--hc-ink, #1a1714);
}
.hc-rev__date {
  font-size: 11.5px;
  line-height: 1.4;
  color: var(--hc-ink-mid, rgba(26, 23, 20, 0.55));
}
.hc-rev__verified {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  background: linear-gradient(135deg, rgba(61, 107, 79, 0.16), rgba(107, 164, 128, 0.10));
  border: 0.5px solid rgba(61, 107, 79, 0.32);
  border-radius: var(--hc-r-pill, 999px);
  font-family: var(--hc-mono);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--hc-success, #3d6b4f);
  align-self: center;
  white-space: nowrap;
}
.hc-rev__verified::before {
  content: "";
  width: 10px;
  height: 10px;
  background-color: currentColor;
  -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
          mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
  -webkit-mask-position: center;
          mask-position: center;
  -webkit-mask-size: contain;
          mask-size: contain;
}

@media (max-width: 1024px) {
  .hc-rev__grid { grid-template-columns: 1fr; }
}
