/* ============================================================
   REVIEWS.CSS — стили страницы «Отзывы»
   Подключается после style.css и mobile.css
   ============================================================ */


/* ============================================================
   KEYFRAMES
   ============================================================ */
@keyframes card-float {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-7px); }
}

@keyframes btn-float {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}

@keyframes btn-glow {
  0%,100% { box-shadow: 0 4px 20px rgba(200,150,80,.25); }
  50%      { box-shadow: 0 8px 36px rgba(200,150,80,.5); }
}

@keyframes border-pulse {
  0%,100% { border-color: rgba(200,150,80,.4); }
  50%      { border-color: rgba(200,150,80,.9); }
}

@keyframes card-shimmer {
  0%    { left: -70%; }
  45%   { left: 130%; }
  100%  { left: 130%; }
}

@keyframes dot-glow {
  0%,100% { box-shadow: 0 0 4px currentColor; }
  50%      { box-shadow: 0 0 14px currentColor, 0 0 26px rgba(200,150,80,.4); }
}

@keyframes badge-shine {
  0%   { left: -75%; }
  40%  { left: 130%; }
  100% { left: 130%; }
}

@keyframes dot-breath {
  0%,100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.6; transform: scale(0.8); }
}

@keyframes bar-grow {
  from { width: 0; }
}

@keyframes twBlink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

@keyframes twFadeOut {
  to { opacity: 0; }
}


/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.will-animate {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .55s ease, transform .55s ease;
}
.will-animate.revealed {
  opacity: 1;
  transform: translateY(0);
}


/* ============================================================
   NAVBAR — активная ссылка
   ============================================================ */
.navbar__link--active {
  color: #199812 !important;
  pointer-events: none;
  cursor: default;
  opacity: 0.65;
}
.navbar__link--active:hover {
  color: #199812 !important;
}


/* ============================================================
   BREADCRUMB
   ============================================================ */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 28px;
}
.breadcrumb a { color: var(--accent); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }



/* ============================================================
   HERO
   ============================================================ */

/* ── Двухколоночный грид ── */
.reviews-hero__inner {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 60px;
  align-items: center; /* центр по вертикали */
}

/* ── Правая колонка: виджет ── */
.reviews-hero__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 420px;
  margin-top: 0;
}


/* ══════════════════════════════════════════════════════════
   КОЛЬЦО ПРОГРЕССА
══════════════════════════════════════════════════════════ */
.rhv-ring-wrap {
  position: relative;
  width: 200px;
  height: 200px;
  flex-shrink: 0;
  z-index: 2;
  cursor: pointer;
  transition: transform .4s cubic-bezier(.34,1.56,.64,1);
}

.rhv-ring-wrap:hover {
  transform: scale(1.08);
}

/* Дуга ускоряет свечение */
.rhv-ring-wrap:hover .rhv-ring__fill {
  animation: ring-glow-intense .5s ease-in-out infinite;
}

@keyframes ring-glow-intense {
  0%,100% { filter: drop-shadow(0 0 8px rgba(200,150,80,.7)); }
  50%      { filter: drop-shadow(0 0 22px rgba(200,150,80,1)); }
}

/* Цифра подпрыгивает */
.rhv-ring-wrap:hover .rhv-ring__pct {
  animation: pct-bounce .5s cubic-bezier(.34,1.56,.64,1) forwards;
}

@keyframes pct-bounce {
  0%   { transform: scale(1);    }
  50%  { transform: scale(1.25) translateY(-4px); }
  100% { transform: scale(1.15); }
}

/* Подпись исчезает, появляется «★★★★★» */
.rhv-ring-wrap:hover .rhv-ring__label {
  opacity: 0;
  transform: translateY(4px);
  transition: opacity .2s, transform .2s;
}

.rhv-ring__label {
  transition: opacity .3s, transform .3s;
}

.rhv-ring {
  transform: rotate(-90deg);
  filter: drop-shadow(0 0 18px rgba(200,150,80,.3));
}

.rhv-ring__bg {
  fill: none;
  stroke: rgba(200,150,80,.12);
  stroke-width: 10;
}

.rhv-ring__fill {
  fill: none;
  stroke: var(--accent);
  stroke-width: 10;
  stroke-linecap: round;
  transition: stroke-dashoffset 1.8s cubic-bezier(.34,1.06,.64,1);
  animation: ring-glow 2.5s ease-in-out infinite;
}

@keyframes ring-glow {
  0%,100% { filter: drop-shadow(0 0 4px rgba(200,150,80,.4)); }
  50%      { filter: drop-shadow(0 0 14px rgba(200,150,80,.85)); }
}

.rhv-ring__center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.rhv-ring__pct {
  font-size: 38px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  animation: score-sway 3s ease-in-out infinite;
}

.rhv-ring__label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-light);
  opacity: .6;
  margin-top: 5px;
}


/* ══════════════════════════════════════════════════════════
   ОРБИТАЛЬНЫЕ АВАТАРЫ
══════════════════════════════════════════════════════════ */
.rhv-orbits {
  position: absolute;
  inset: 0;
  pointer-events: none; /* орбитальные кольца не перехватывают мышь */
}

.rhv-orbit {
  position: absolute;
  top: 50%; left: 50%;
  border-radius: 50%;
  border: 1px dashed rgba(200,150,80,.2);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  transform-origin: center center;
  pointer-events: none; /* само кольцо прозрачно для мыши */
}

.rhv-avatar {
  pointer-events: all; /* только аватар ловит hover */
}

.rhv-orbit {
  position: absolute;
  top: 50%; left: 50%;
  border-radius: 50%;
  border: 1px dashed rgba(200,150,80,.2);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  transform-origin: center center;
}

.rhv-orbit--1 { width: 260px; height: 260px; margin: -130px 0 0 -130px; animation: orbit-cw  14s linear infinite; }
.rhv-orbit--2 { width: 310px; height: 310px; margin: -155px 0 0 -155px; animation: orbit-ccw 18s linear infinite; }
.rhv-orbit--3 { width: 360px; height: 360px; margin: -180px 0 0 -180px; animation: orbit-cw  22s linear infinite; }
.rhv-orbit--4 { width: 260px; height: 260px; margin: -130px 0 0 -130px; animation: orbit-ccw 16s linear infinite 3s; }
.rhv-orbit--5 { width: 310px; height: 310px; margin: -155px 0 0 -155px; animation: orbit-cw  20s linear infinite 5s; }
.rhv-orbit--6 { width: 360px; height: 360px; margin: -180px 0 0 -180px; animation: orbit-ccw 25s linear infinite 2s; }

@keyframes orbit-cw  { from { transform: rotate(0deg);   } to { transform: rotate(360deg);  } }
@keyframes orbit-ccw { from { transform: rotate(0deg);   } to { transform: rotate(-360deg); } }

.rhv-avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--av, var(--accent));
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2.5px solid var(--white);
  box-shadow: 0 4px 14px rgba(0,0,0,.15);
  margin-top: -19px;
  flex-shrink: 0;
  cursor: pointer;
  /* Контр-вращение задаём явно — НЕ через inherit */
  animation: avatar-counter 20s linear infinite;
  transition: box-shadow .25s ease, border-color .25s ease;
}

/* Контр-вращение по умолчанию (нейтрализует орбиту, текст прямо) */
@keyframes avatar-counter {
  from { transform: rotate(0deg)   scale(1); }
  to   { transform: rotate(-360deg) scale(1); }
}

/* Орбита тормозит при наведении на аватар */
.rhv-orbit:has(.rhv-avatar:hover) {
  animation-play-state: paused;
}

/* Аватар крутится, вырастает, золотая рамка */
.rhv-avatar:hover {
  animation: avatar-spin-hover .65s cubic-bezier(.34,1.56,.64,1) forwards;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(200,150,80,.3), 0 8px 24px rgba(200,150,80,.4);
}

@keyframes avatar-spin-hover {
  0%   { transform: rotate(0deg)   scale(1);   }
  40%  { transform: rotate(200deg) scale(1.45); }
  70%  { transform: rotate(320deg) scale(1.4);  }
  100% { transform: rotate(360deg) scale(1.35); }
}


/* ══════════════════════════════════════════════════════════
   ПЛАВАЮЩИЕ БЕЙДЖИ
══════════════════════════════════════════════════════════ */
.rhv-badge {
  position: absolute;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 40px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  box-shadow: 0 4px 18px rgba(0,0,0,.08);
  white-space: nowrap;
  z-index: 3;
}

.rhv-badge--stars {
  top: 22px; right: 10px;
  color: var(--accent);
  animation: badge-float-a 3.2s ease-in-out infinite;
}
.rhv-badge--stars span {
  color: var(--text);
  font-weight: 700;
  margin-left: 4px;
}

.rhv-badge--count {
  bottom: 30px; left: 0;
  animation: badge-float-b 3.8s ease-in-out infinite .6s;
}

@keyframes badge-float-a {
  0%,100% { transform: translateY(0)    rotate(-2deg); }
  50%      { transform: translateY(-8px) rotate(1deg);  }
}
@keyframes badge-float-b {
  0%,100% { transform: translateY(0)    rotate(1deg);   }
  50%      { transform: translateY(-6px) rotate(-1.5deg); }
}


.reviews-hero {
  padding: 110px 0 80px;
  background: var(--white);
  position: relative;
  overflow: hidden;
}

.reviews-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(200,150,80,.10);
  color: var(--accent-dark);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
}

.reviews-hero__badge::after {
  content: '';
  position: absolute;
  top: 0; left: -75%; width: 50%; height: 100%;
  background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,0) 30%, rgba(255,255,255,0.75) 50%, rgba(255,255,255,0) 70%, transparent 100%);
  transform: skewX(-20deg);
  animation: badge-shine 3.5s ease-in-out infinite;
}

.reviews-hero__badge-dot {
  display: inline-block;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #43C97E;
  flex-shrink: 0;
  animation: dot-breath 1.8s ease-in-out infinite;
}

.reviews-hero__title {
  font-size: 52px;
  font-weight: 700;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 24px;
  min-height: 2.5em;
}

.reviews-hero__title em {
  font-style: italic;
  color: var(--accent);
}

.reviews-hero__title .typewriter-line {
  opacity: 0;
  visibility: hidden;
}
.reviews-hero__title .typewriter-line[data-typed] {
  opacity: 1;
  visibility: visible;
}

.typewriter-cursor {
  display: inline-block;
  color: var(--accent);
  font-weight: 300;
  animation: twBlink 0.75s step-end infinite;
  margin-left: 2px;
  opacity: 0;
}
.typewriter-cursor.active { opacity: 1; }
.typewriter-cursor.done { animation: twFadeOut 0.4s ease 1.5s forwards; }

.reviews-hero__lead {
  font-size: 17px;
  color: var(--text-light);
  line-height: 1.75;
  max-width: 600px;
  margin-bottom: 36px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .6s ease, transform .6s ease;
}
.reviews-hero__lead.lead-visible {
  opacity: 1;
  transform: translateY(0);
}

.reviews-hero__stats {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: 0;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .6s ease .2s, transform .6s ease .2s;
}
.reviews-hero__stats.stats-visible {
  opacity: 1;
  transform: translateY(0);
}

.stat-item {
  display: flex;
  flex-direction: column;
}
.stat-num {
  font-size: 34px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}
.stat-label {
  font-size: 12px;
  color: var(--text-light);
  margin-top: 4px;
}

.reviews-hero__buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 62px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .6s ease .1s, transform .6s ease .1s;
}
.reviews-hero__buttons.buttons-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Hero кнопки */
.btn-rv {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: 50px;
  cursor: pointer;
  border: 2px solid transparent;
  text-decoration: none;
  transition: all .25s ease;
  letter-spacing: .02em;
}

.btn-rv--primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  animation: btn-float 2.8s ease-in-out infinite,
             btn-glow  3.5s ease-in-out infinite;
}
.btn-rv--primary:hover {
  animation: none;
  border-radius: 4px;
  background: linear-gradient(to top, var(--accent-dark) 0%, var(--accent) 100%);
  transform: translateY(-2px);
}

.btn-rv--outline {
  background: transparent;
  color: var(--accent);
  border-color: rgba(200,150,80,.4);
  animation: btn-float  2.8s ease-in-out infinite .7s,
             border-pulse 2.8s ease-in-out infinite;
}
.btn-rv--outline:hover {
  animation: none;
  border-radius: 4px;
  background: rgba(200,150,80,.06);
  border-color: var(--accent);
}


/* ============================================================
   SECTION — базовые отступы
   ============================================================ */
.rv-rating-section,
.rv-cards-section,
.rv-screenshots-section,
.rv-faq-section {
  padding: 0px 0 72px;
}

.rv-rating-section  { background: var(--white); }
.rv-cards-section   { background: #f7f8fa; }
.rv-screenshots-section { background: var(--white); }
.rv-faq-section     { background: #f7f8fa; }


/* ============================================================
   RATING SECTION
   ============================================================ */
.rv-rating-wrap {
  display: grid;
  grid-template-columns: 220px 1fr 1fr;
  gap: 48px;
  align-items: start;
  margin-top: 48px;
}

/* Большой рейтинг */
.rv-rating-main {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
  animation: card-float 4s ease-in-out infinite,
             rating-border-glow 3s ease-in-out infinite;
  transition: transform .4s cubic-bezier(.34,1.56,.64,1), box-shadow .4s;
}

/* Мягкое мерцание рамки */
@keyframes rating-border-glow {
  0%,100% {
    border-color: rgba(200,150,80,.25);
    box-shadow: 0 4px 24px rgba(200,150,80,.08);
  }
  50% {
    border-color: rgba(200,150,80,.65);
    box-shadow: 0 8px 36px rgba(200,150,80,.22);
  }
}

/* Shimmer-блик поверх блока */
.rv-rating-main::after {
  content: '';
  position: absolute;
  top: 0; left: -70%; width: 40%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,.6), transparent);
  transform: skewX(-15deg);
  animation: card-shimmer 4s ease-in-out infinite;
  pointer-events: none;
}

/* Декоративное золотое кольцо за цифрой */
.rv-rating-main::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -60%);
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200,150,80,.12) 0%, transparent 70%);
  animation: rating-pulse 2.5s ease-in-out infinite;
  pointer-events: none;
}

@keyframes rating-pulse {
  0%,100% { transform: translate(-50%, -60%) scale(1);   opacity: .7; }
  50%      { transform: translate(-50%, -60%) scale(1.3); opacity: 1; }
}

.rv-rating-main:hover {
  animation: none;
  transform: translateY(-6px) scale(1.03);
  border-color: rgba(200,150,80,.6);
  box-shadow: 0 20px 48px rgba(200,150,80,.18);
}

.rv-rating-score {
  font-size: 72px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  position: relative;
  z-index: 1;
  /* Лёгкое покачивание цифры */
  animation: score-sway 3.5s ease-in-out infinite;
}

@keyframes score-sway {
  0%,100% { transform: scale(1); }
  50%      { transform: scale(1.06); }
}

.rv-rating-stars {
  font-size: 24px;
  color: var(--accent);
  letter-spacing: 4px;
  margin: 10px 0 8px;
  position: relative;
  z-index: 1;
}

.rv-rating-count {
  font-size: 12px;
  color: var(--text-light);
  opacity: .6;
  position: relative;
  z-index: 1;
}

/* Платформы */
.rv-platforms {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.rv-platform-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  transition: all .25s ease;
  position: relative;
  overflow: hidden;
  animation: card-float 4s ease-in-out infinite;
}
.rv-platform-card:nth-child(2) { animation-delay: .6s; }
.rv-platform-card:nth-child(3) { animation-delay: 1.2s; }
.rv-platform-card:nth-child(4) { animation-delay: 1.8s; }

.rv-platform-card::after {
  content: '';
  position: absolute;
  top: 0; left: -70%; width: 40%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,.5), transparent);
  transform: skewX(-15deg);
  animation: card-shimmer 5s ease-in-out infinite;
  pointer-events: none;
}
.rv-platform-card:nth-child(2)::after { animation-delay: .8s; }
.rv-platform-card:nth-child(3)::after { animation-delay: 1.6s; }

.rv-platform-card:hover {
  animation: none;
  transform: translateY(-4px) scale(1.01);
  border-color: rgba(200,150,80,.5);
  box-shadow: 0 12px 32px rgba(200,150,80,.12);
}

.rv-platform-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}
.rv-platform-icon--yandex  { background: #FC3F1D; }
.rv-platform-icon--kwork    { background: #00C853; }
.rv-platform-icon--avito   { background: #00AAFF; }
.rv-platform-icon--tg      { background: #229ED9; }
.rv-platform-icon--personal { background: var(--accent); }

.rv-platform-info { flex: 1; }
.rv-platform-name  { font-size: 13px; font-weight: 600; color: var(--text); }
.rv-platform-stars { font-size: 12px; color: var(--accent); letter-spacing: 2px; }
.rv-platform-count { font-size: 11px; color: var(--text-light); margin-top: 2px; }

.rv-platform-link {
  color: var(--accent);
  font-weight: 700;
  font-size: 16px;
  opacity: .7;
  transition: opacity .2s;
}
.rv-platform-link:hover { opacity: 1; }

/* Карточка платформы без ссылки — выравнивание */
.rv-platform-card:not(:has(.rv-platform-link)) {
  padding-right: 18px;
}

/* Прогресс-бары */
.rv-criteria {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.rv-criterion {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 16px;
}

.rv-criterion__label {
  font-size: 14px;
  color: var(--text);
  font-weight: 500;
}

.rv-criterion__bar {
  width: 160px;
  height: 7px;
  background: rgba(200,150,80,.15);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}

.rv-criterion__fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent-dark), var(--accent));
  border-radius: 4px;
  width: 0;
  transition: width 1.4s cubic-bezier(.34,1.06,.64,1);
  position: relative;
  overflow: hidden;
}

/* Блик бежит по полоске после заполнения */
.rv-criterion__fill::after {
  content: '';
  position: absolute;
  top: 0; left: -60%;
  width: 40%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.55), transparent);
  border-radius: 4px;
  animation: bar-shimmer-run 2.4s ease-in-out infinite 1.5s;
}

@keyframes bar-shimmer-run {
  0%   { left: -60%; opacity: 0; }
  10%  { opacity: 1; }
  80%  { opacity: 1; }
  100% { left: 110%; opacity: 0; }
}

/* Мягкое пульсирование яркости полоски */
.rv-criterion__fill.bar-filled {
  animation: bar-pulse 2.8s ease-in-out infinite 1.8s;
}

@keyframes bar-pulse {
  0%,100% { filter: brightness(1); }
  50%      { filter: brightness(1.2) drop-shadow(0 0 3px rgba(200,150,80,.5)); }
}

.rv-criterion__score {
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
  min-width: 28px;
  text-align: right;
}


/* ============================================================
   CARDS SECTION — фильтр
   ============================================================ */
.rv-filter-nav {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.rv-filter-btn {
  font-size: 13px;
  font-weight: 600;
  padding: 9px 20px;
  border-radius: 50px;
  border: 1.5px solid var(--border);
  background: var(--white);
  color: var(--text-light);
  cursor: pointer;
  transition: all .22s ease;
  letter-spacing: .02em;
}

.rv-filter-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.rv-filter-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}


/* ============================================================
   CARDS GRID
   ============================================================ */
.rv-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.rv-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  overflow: hidden;
  animation: card-float 4s ease-in-out infinite;
  transition: transform .4s cubic-bezier(.34,1.56,.64,1), box-shadow .4s, border-color .3s;
}
.rv-card:nth-child(2) { animation-delay: .6s; }
.rv-card:nth-child(3) { animation-delay: 1.2s; }
.rv-card:nth-child(4) { animation-delay: 1.8s; }
.rv-card:nth-child(5) { animation-delay: 2.4s; }
.rv-card:nth-child(6) { animation-delay: 3.0s; }

.rv-card::after {
  content: '';
  position: absolute;
  top: 0; left: -70%; width: 40%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,.5), transparent);
  transform: skewX(-15deg);
  animation: card-shimmer 5s ease-in-out infinite;
  pointer-events: none;
}
.rv-card:nth-child(2)::after { animation-delay: .8s; }
.rv-card:nth-child(3)::after { animation-delay: 1.6s; }
.rv-card:nth-child(4)::after { animation-delay: 2.4s; }
.rv-card:nth-child(5)::after { animation-delay: 3.2s; }
.rv-card:nth-child(6)::after { animation-delay: 4.0s; }

.rv-card:hover {
  animation: none;
  transform: translateY(-10px) scale(1.02);
  border-color: rgba(200,150,80,.55);
  box-shadow: 0 24px 56px rgba(200,150,80,.2);
}

/* Аватар крутится при hover на карточку */
.rv-card:hover .rv-card__avatar {
  animation: card-avatar-spin .55s cubic-bezier(.34,1.56,.64,1) forwards;
  border: 2px solid rgba(200,150,80,.5);
  box-shadow: 0 0 0 4px rgba(200,150,80,.12);
}

@keyframes card-avatar-spin {
  0%   { transform: rotate(0deg)   scale(1); }
  45%  { transform: rotate(200deg) scale(1.2); }
  75%  { transform: rotate(330deg) scale(1.15); }
  100% { transform: rotate(360deg) scale(1.1); }
}

/* Звёзды — волна по одной */
.rv-card:hover .rv-card__stars {
  animation: stars-wave .6s ease forwards;
}

@keyframes stars-wave {
  0%   { letter-spacing: 4px;  color: var(--accent); }
  40%  { letter-spacing: 8px;  color: #e8a830; filter: drop-shadow(0 0 6px rgba(200,150,80,.7)); }
  100% { letter-spacing: 6px;  color: var(--accent); filter: drop-shadow(0 0 3px rgba(200,150,80,.4)); }
}

/* Тег — золотая заливка */
.rv-card:hover .rv-card__tag {
  background: var(--accent);
  color: #fff;
  transform: scale(1.05);
}

/* Текст отзыва — чуть ярче */
.rv-card:hover .rv-card__text {
  color: var(--text);
  opacity: 1;
}

/* Платформа — подсветка */
.rv-card:hover .rv-card__platform {
  transform: scale(1.05);
  box-shadow: 0 2px 8px rgba(0,0,0,.1);
}

/* Скрытые карточки при фильтрации */
.rv-card.rv-hidden {
  display: none;
}

.rv-card__header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.rv-card__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--av-color, var(--accent));
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: box-shadow .3s ease;
}

.rv-card__meta { flex: 1; }
.rv-card__name    { font-size: 14px; font-weight: 600; color: var(--text); }
.rv-card__project { font-size: 12px; color: var(--text-light); margin-top: 2px; }

.rv-card__tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent-dark);
  background: rgba(200,150,80,.1);
  padding: 3px 10px;
  border-radius: 20px;
  white-space: nowrap;
  transition: background .25s ease, color .25s ease, transform .25s cubic-bezier(.34,1.56,.64,1);
}

.rv-card__stars {
  font-size: 15px;
  color: var(--accent);
  letter-spacing: 2px;
}

.rv-card__text {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.7;
  flex: 1;
  margin: 0;
  padding: 0;
  border: none;
  font-style: normal;
}

.rv-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.rv-card__platform {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
  letter-spacing: .04em;
  transition: transform .25s cubic-bezier(.34,1.56,.64,1), box-shadow .25s ease;
}
.rv-card__platform--yandex  { background: rgba(252,63,29,.1);  color: #FC3F1D; }
.rv-card__platform--avito   { background: rgba(0,170,255,.1);  color: #0085C8; }
.rv-card__platform--tg      { background: rgba(34,158,217,.1); color: #229ED9; }
.rv-card__platform--personal { background: rgba(200,150,80,.1); color: var(--accent-dark); }

.rv-card__date {
  font-size: 11px;
  color: var(--text-light);
  opacity: .6;
}


/* ============================================================
   SCREENSHOTS SECTION
   ============================================================ */
/* ── Обёртка с маской по краям ── */
.rv-screenshots-track-wrap {
  position: relative;
  overflow: hidden;
  /* Плавное затухание по краям */
  mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
}

/* ── Бесконечный бегущий трек ── */
.rv-screenshots-track {
  display: flex;
  gap: 20px;
  padding: 12px 0 20px;
  width: max-content;
  animation: screenshots-scroll 32s linear infinite;
  will-change: transform;
}

/* Пауза при наведении на трек */
.rv-screenshots-track:hover {
  animation-play-state: paused;
}

@keyframes screenshots-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Кнопки больше не нужны — скрываем */
.rv-scroll-btn { display: none; }

/* ── Карточка-скриншот ── */
.rv-screenshot-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  min-width: 320px;
  max-width: 340px;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
  animation: card-float 4s ease-in-out infinite;
  transition: transform .4s cubic-bezier(.34,1.56,.64,1), box-shadow .4s, border-color .3s;
}
.rv-screenshot-card:nth-child(2) { animation-delay: .6s; }
.rv-screenshot-card:nth-child(3) { animation-delay: 1.2s; }
.rv-screenshot-card:nth-child(4) { animation-delay: 1.8s; }
.rv-screenshot-card:nth-child(5) { animation-delay: 2.4s; }

.rv-screenshot-card:hover {
  animation: none;
  transform: translateY(-6px) scale(1.01);
  border-color: rgba(200,150,80,.5);
  box-shadow: 0 16px 40px rgba(200,150,80,.14);
}

.rv-screenshot-header {
  background: #f0ece6;
  border-bottom: 1px solid var(--border);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 7px;
}

.rv-screenshot-header__dot {
  width: 11px; height: 11px;
  border-radius: 50%;
}

.rv-screenshot-header__title {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-light);
  opacity: .5;
  margin-left: auto;
  letter-spacing: .05em;
}

.rv-screenshot-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: #f5f5f5;
  min-height: 180px;
}

/* Сообщения */
.rv-msg { display: flex; flex-direction: column; }
.rv-msg--them { align-items: flex-start; }
.rv-msg--me   { align-items: flex-end; }

.rv-msg__bubble {
  max-width: 85%;
  padding: 10px 14px;
  border-radius: 18px;
  font-size: 13px;
  line-height: 1.55;
}

.rv-msg--them .rv-msg__bubble {
  background: var(--white);
  color: var(--text);
  border-bottom-left-radius: 4px;
  box-shadow: 0 1px 4px rgba(0,0,0,.08);
}

.rv-msg--me .rv-msg__bubble {
  background: #d9fdd3;
  color: #1c1c1e;
  border-bottom-right-radius: 4px;
}

.rv-msg__meta {
  font-size: 10px;
  color: rgba(0,0,0,.35);
  margin-top: 3px;
  padding: 0 4px;
}

/* Email-скриншот */
.rv-screenshot-body--email {
  background: var(--white);
  gap: 0;
  padding: 16px 18px;
}

.rv-email-row {
  display: flex;
  gap: 8px;
  font-size: 12px;
  padding: 4px 0;
  color: var(--text);
}
.rv-email-label {
  font-weight: 600;
  color: var(--text-light);
  min-width: 65px;
  flex-shrink: 0;
}

.rv-email-divider {
  height: 1px;
  background: var(--border);
  margin: 10px 0;
}

.rv-email-body {
  font-size: 12.5px;
  color: var(--text);
  line-height: 1.65;
}


/* ============================================================
   FAQ SECTION
   ============================================================ */
.rv-faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.rv-faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color .25s;
}

.rv-faq-item.open {
  border-color: rgba(200,150,80,.4);
}

.rv-faq-item__q {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 20px 24px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: color .2s;
}

.rv-faq-item__q:hover { color: var(--accent); }

.rv-faq-arrow {
  flex-shrink: 0;
  transition: transform .3s ease;
  color: var(--text-light);
}

.rv-faq-item.open .rv-faq-arrow {
  transform: rotate(180deg);
  color: var(--accent);
}

.rv-faq-item__a {
  max-height: 0;
  overflow: hidden;
  padding: 0 24px;
  font-size: 14.5px;
  color: var(--text-light);
  line-height: 1.75;
  transition: max-height .4s ease, padding .3s ease;
}

.rv-faq-item.open .rv-faq-item__a {
  max-height: 300px;
  padding: 0 24px 20px;
}


/* ============================================================
   CTA SECTION
   ============================================================ */
.contact-cta-section {
  padding: 100px 0 80px;
  background: var(--white);
  text-align: center;
}

.contact-cta-section h2 {
  font-size: 36px;
  margin-bottom: 16px;
}

.cta-sub {
  font-size: 17px;
  color: var(--text-light);
  max-width: 500px;
  margin: 0 auto 28px;
  line-height: 1.7;
}

.cta-contacts {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.cta-contact-link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  transition: color .2s;
}
.cta-contact-link:hover { color: var(--accent); }
.cta-contact-link__icon { font-size: 18px; }

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  max-width: 560px;
  margin: 0 auto 24px;
}

.form-input, .form-textarea {
  width: 100%;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  font-size: 15px;
  color: var(--text);
  font-family: inherit;
  transition: border-color .2s, box-shadow .2s;
  outline: none;
}
.form-input:focus, .form-textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(200,150,80,.12);
}
.form-textarea {
  resize: vertical;
  min-height: 110px;
}

.contact-form__full { grid-column: 1 / -1; }

.contact-form__submit {
  width: 100%;
  padding: 16px;
  font-size: 16px;
  border-radius: var(--radius-md);
  animation: btn-float 2.8s ease-in-out infinite,
             btn-glow  3.5s ease-in-out infinite;
}
.contact-form__submit:hover {
  animation: none;
  transform: translateY(-2px);
}

.cta-tg-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: 1.5px solid var(--border);
  border-radius: 50px;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  text-decoration: none;
  transition: all .22s ease;
  animation: border-pulse 2.8s ease-in-out infinite;
  margin-bottom: 20px;
}
.cta-tg-btn:hover {
  animation: none;
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(200,150,80,.05);
}

.cta-note {
  font-size: 13px;
  color: var(--text-light);
  opacity: .7;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.cta-online-dot {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #43C97E;
  animation: dot-breath 1.8s ease-in-out infinite;
}

/* Текущий пункт меню в футере */
.footer__link--current {
  color: #199812;
  cursor: default;
  pointer-events: none;
  font-size: 14px;

}