/* Reviews page — oknaminsk24 */
:root {
  --rv-ink: #152029;
  --rv-muted: #5d6b78;
  --rv-steel: #1f3a52;
  --rv-green: #19b27f;
  --rv-green-deep: #149a74;
  --rv-accent: #e07a1f;
  --rv-star: #f0b429;
  --rv-font: "Manrope", system-ui, sans-serif;
  --rv-max: 1380px;
}

* { box-sizing: border-box; }

body.reviews-page {
  margin: 0;
  font-family: var(--rv-font);
  color: var(--rv-ink);
  background:
    radial-gradient(900px 420px at 12% -8%, rgba(25, 178, 127, 0.12), transparent 55%),
    radial-gradient(700px 360px at 100% 8%, rgba(224, 122, 31, 0.1), transparent 50%),
    linear-gradient(180deg, #f7f3ec 0%, #eef2f6 55%, #f5f1ea 100%);
  min-height: 100vh;
}

.rv-wrap {
  width: min(var(--rv-max), calc(100% - 2rem));
  margin: 0 auto;
}

.rv-crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0 0 0.85rem;
  font-size: 0.86rem;
  color: var(--rv-muted);
}

.rv-crumbs a {
  color: var(--rv-muted);
  text-decoration: none;
}

.rv-crumbs a:hover { color: var(--rv-green-deep); }

.rv-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0 0 0.75rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(25, 178, 127, 0.12);
  color: var(--rv-green-deep);
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.rv-kicker::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--rv-green);
}

.rv-btn {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 48px;
  padding: 0.75rem 1.15rem;
  border-radius: 12px;
  border: 0;
  font: inherit;
  font-size: 0.94rem;
  font-weight: 750;
  text-decoration: none !important;
  cursor: pointer;
  transition: transform 0.15s, filter 0.15s;
}

.rv-btn:hover { transform: translateY(-1px); }

.rv-btn--green {
  background: linear-gradient(90deg, #31a375, #19b27f);
  color: #fff !important;
  box-shadow: 0 10px 22px rgba(25, 178, 127, 0.28);
}

.rv-btn--ghost {
  background: rgba(255, 255, 255, 0.8);
  color: var(--rv-ink) !important;
  border: 1px solid rgba(25, 178, 127, 0.35);
}

.rv-btn--orange {
  background: linear-gradient(135deg, #e9923a, #e07a1f);
  color: #fff !important;
  box-shadow: 0 10px 22px rgba(224, 122, 31, 0.28);
}

/* Hero */
.rv-hero {
  padding: 1.1rem 0 2rem;
}

.rv-hero__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.4rem;
  align-items: center;
}

.rv-hero h1 {
  margin: 0 0 0.7rem;
  font-size: clamp(2.1rem, 4.5vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 800;
  color: var(--rv-steel);
}

.rv-hero__lead {
  margin: 0 0 1.2rem;
  max-width: 34rem;
  color: var(--rv-muted);
  font-size: 1.05rem;
  line-height: 1.5;
}

.rv-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.rv-score {
  padding: 1.35rem 1.3rem;
  border-radius: 24px;
  background: linear-gradient(145deg, #12181f 0%, #1c2a38 55%, #16352c 100%);
  color: #fff;
  box-shadow: 0 22px 48px rgba(10, 18, 28, 0.2);
}

.rv-score__num {
  font-size: clamp(2.8rem, 5vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: #7de0b8;
}

.rv-score__stars {
  margin: 0.45rem 0 0.55rem;
  color: var(--rv-star);
  letter-spacing: 0.12em;
  font-size: 1.15rem;
}

.rv-score p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.45;
  font-size: 0.95rem;
}

.rv-score__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 1rem;
}

.rv-score__meta span {
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.78rem;
  font-weight: 700;
}

/* Filters */
.rv-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0 0 1.35rem;
  padding: 0.4rem;
  width: fit-content;
  max-width: 100%;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(28, 52, 72, 0.08);
}

.rv-filters button {
  appearance: none;
  border: 0;
  background: transparent;
  border-radius: 12px;
  padding: 0.65rem 0.95rem;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 750;
  color: var(--rv-muted);
  cursor: pointer;
}

.rv-filters button.is-active,
.rv-filters button:hover {
  background: rgba(25, 178, 127, 0.12);
  color: var(--rv-green-deep);
}

/* Grid */
.rv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.rv-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.15rem 1.15rem 1.2rem;
  border-radius: 22px;
  background: #fff;
  border: 1px solid rgba(28, 52, 72, 0.08);
  box-shadow: 0 14px 34px rgba(16, 32, 48, 0.06);
  transform: translateY(16px);
  opacity: 0;
  transition: transform 0.45s ease, opacity 0.45s ease, box-shadow 0.2s;
}

.rv-card.is-in {
  transform: none;
  opacity: 1;
}

.rv-card:hover {
  box-shadow: 0 20px 42px rgba(16, 32, 48, 0.11);
}

.rv-card.is-in:hover {
  transform: translateY(-3px);
}

.rv-card[hidden] { display: none !important; }

.rv-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}

.rv-avatar {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  flex: none;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(145deg, #31a375, #1f3a52);
  font-size: 0.95rem;
}

.rv-user {
  flex: 1;
  min-width: 0;
}

.rv-user strong {
  display: block;
  font-size: 1rem;
  color: var(--rv-steel);
}

.rv-user span {
  display: block;
  font-size: 0.82rem;
  color: var(--rv-muted);
  font-weight: 600;
}

.rv-date {
  flex: none;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--rv-muted);
  white-space: nowrap;
}

.rv-stars {
  color: var(--rv-star);
  letter-spacing: 0.08em;
  font-size: 0.95rem;
}

.rv-text {
  margin: 0;
  color: var(--rv-muted);
  line-height: 1.5;
  font-size: 0.95rem;
  flex: 1;
}

/* Leave review */
.rv-leave {
  margin: 0 0 2.75rem;
  padding: 1.6rem 1.4rem;
  border-radius: 28px;
  background:
    radial-gradient(500px 240px at 90% 0%, rgba(224, 122, 31, 0.2), transparent 60%),
    linear-gradient(145deg, #10161d 0%, #182230 100%);
  color: #fff;
}

.rv-leave h2 {
  margin: 0 0 0.4rem;
  font-size: clamp(1.4rem, 2.8vw, 1.85rem);
}

.rv-leave > p {
  margin: 0 0 1.15rem;
  color: rgba(255, 255, 255, 0.72);
  max-width: 36rem;
  line-height: 1.45;
}

.rv-leave__row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.rv-leave__row a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 46px;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff !important;
  text-decoration: none !important;
  font-weight: 750;
  font-size: 0.9rem;
  transition: background 0.15s, transform 0.15s;
}

.rv-leave__row a:hover {
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-2px);
}

.rv-leave__ico {
  width: 28px;
  height: 28px;
  border-radius: 9px;
  display: grid;
  place-items: center;
}

.rv-leave__ico svg {
  width: 15px;
  height: 15px;
  fill: #fff;
}

.rv-leave__ico--tg { background: #229ed9; }
.rv-leave__ico--vb { background: #7360f2; }
.rv-leave__ico--mail { background: var(--rv-accent); }

.rv-cta {
  margin: 0 0 2.75rem;
  padding: 1.45rem;
  border-radius: 24px;
  background: linear-gradient(120deg, rgba(31, 58, 82, 0.96), rgba(25, 178, 127, 0.88));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.rv-cta h2 {
  margin: 0 0 0.35rem;
  font-size: clamp(1.25rem, 2.4vw, 1.65rem);
}

.rv-cta p {
  margin: 0;
  opacity: 0.9;
  max-width: 34rem;
  line-height: 1.45;
}

.rv-foot {
  border-top: 1px solid rgba(28, 52, 72, 0.08);
  padding: 1.5rem 0 2rem;
  color: var(--rv-muted);
  font-size: 0.88rem;
}

.rv-foot__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  justify-content: space-between;
}

.rv-foot a {
  color: var(--rv-green-deep);
  font-weight: 700;
  text-decoration: none;
}

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

@media (max-width: 720px) {
  .rv-hero__grid,
  .rv-grid {
    grid-template-columns: 1fr;
  }

  .rv-cta {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .rv-card {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
