/* ===== Reviews — Neon Nova Clean theme ===== */
#reviews {
  --brand:    #28e0ff;                            
  --brand-2:  #ff4fa3;                            
  --ink:      var(--ink);                         
  --muted:    var(--muted);                       
  --paper:    rgba(5, 7, 24, 0.96);               
  --line:     rgba(40, 224, 255, 0.25);           
  --glass-brd:rgba(40, 224, 255, 0.18);
  --glass-bg:
    radial-gradient(circle at 0 0, rgba(40, 224, 255, 0.08), transparent 55%),
    radial-gradient(circle at 100% 100%, rgba(255, 79, 163, 0.08), transparent 55%),
    rgba(5, 7, 24, 0.96);
  --accent:   #28e0ff;
  --accent-2: #ff4fa3;
}

/* контейнер секции */
#reviews .swiper {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 10px 20px 0;
  overflow: hidden;
}
.rv-wrap {
  padding: 45px 0;
}

/* шапка */
.rv-head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
}
.rv-kicker {
  grid-column: 1 / -1;
  color: var(--brand);
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
}
.rv-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand);
  display: inline-block;
}
.rv-title {
  text-align: start;
  margin: 0;
}

/* кнопки навигации */
.rev-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--glass-brd);
  background: var(--glass-bg);
  color: var(--ink);
  display: grid;
  place-items: center;
  backdrop-filter: blur(10px) saturate(130%);
  -webkit-backdrop-filter: blur(10px) saturate(130%);
  cursor: pointer;
  transition:
    transform 0.25s,
    border-color 0.25s,
    background 0.25s,
    color 0.25s;
}
.rev-btn:hover {
  transform: translateY(-1px);
  background:
    radial-gradient(circle at 0 0, rgba(40, 224, 255, 0.12), transparent 55%),
    rgba(5, 8, 30, 0.96);
  border-color: rgba(40, 224, 255, 0.35);
  color: var(--ink);
}

/* Swiper slides */
#reviews .swiper {
  padding: 10px 0;
}
#reviews .swiper-slide {
  transition: transform 0.3s ease, opacity 0.3s ease;
  z-index: 1;
  opacity: 0.9;
}

/* активная */
#reviews .swiper-slide-active {
  transform: scale(1.03);
  z-index: 3;
  opacity: 1;
}

/* карточка отзыва — мягкое стекло без свечения */
.rv-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-brd);
  border-radius: 20px;
  padding: 16px;
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  color: var(--ink);
  position: relative;
  overflow: hidden;
  transition:
    border-color 0.3s ease,
    background 0.3s ease;
}
#reviews .swiper-slide-active .rv-card {
  border-color: rgba(40, 224, 255, 0.4);
  background:
    radial-gradient(circle at 0 0, rgba(40, 224, 255, 0.1), transparent 55%),
    radial-gradient(circle at 100% 100%, rgba(255, 79, 163, 0.1), transparent 55%),
    rgba(5, 7, 24, 0.97);
}

/* верх карточки */
.rv-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.rv-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(40, 224, 255, 0.08);
}
.rv-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  display: block;
  object-fit: cover;
}
.rv-meta {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.rv-meta strong {
  color: var(--ink);
}
.rv-meta span {
  font-size: 12px;
  color: var(--muted);
}
.rv-rate {
  margin-left: auto;
  color: #ffd166;
  font-weight: 900;
}

/* текст и теги */
.rv-quote {
  line-height: 1.5;
  margin: 6px 0 10px;
  text-align: left;
}
.rv-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.rv-tags span {
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(40, 224, 255, 0.04);
  color: var(--muted);
  border: 1px solid rgba(40, 224, 255, 0.25);
}

/* контролы */
.rv-controls {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

/* адаптив */
@media (max-width: 980px) {
  .rv-card {
    width: 95%;
  }
  #reviews .swiper {
    padding-left: 20px !important;
  }
}

/* ===== Compact neon labels ===== */
.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0b0d10;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  border: 1px solid rgba(40, 224, 255, 0.3);
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.pill:hover {
  transform: translateY(-1px);
  border-color: rgba(40, 224, 255, 0.5);
}



/* === Equal height fix for review cards === */
.rv-card {
  min-height: 190px; /* базовая высота на десктопе */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* ограничим текст, если слишком длинный */
.rv-quote {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 5; /* показываем не более 5 строк */
  -webkit-box-orient: vertical;
}

/* адаптив — чуть ниже на мобильных */
@media (max-width: 980px) {
  .rv-card {
    min-height: 190px;
  }
}
@media (max-width: 600px) {
  .rv-card {
    min-height: 180px;
  }
}
