/* ===========================
   REVIEWS — MATCH MARKET CARDS POLISHED
=========================== */

#reviews {
  background: transparent;
}

/* Swiper container */
#reviews .swiper {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  overflow: hidden;
}

/* ===========================
   HEADER
=========================== */

.rv-head {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 14px;
}

.rv-title {
  margin: 0;
  font-size: 32px;
  font-weight: 900;
  color: #fff;
}

/* Controls */
.rv-controls {
  display: flex;
  gap: 8px;
}

.rev-btn {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.2);
  background: rgba(255,255,255,.06);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: .25s;
}

.rev-btn:hover {
  border-color: #ff662e;
  background: rgba(255,102,46,.18);
}


/* ===========================
   CARD
=========================== */

.rv-card {
  position: relative;
background: linear-gradient(135deg, rgba(12, 16, 40, 0.98), rgba(6, 8, 22, 0.98));
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,.12);

  padding: 18px 20px 16px;
  height: 240px;

  color: #fff;
  display: flex;
  flex-direction: column;

  transition: .25s ease;
  overflow: hidden;
  margin-inline: auto;
}

/* top neon stripe — теперь ВНУТРИ карточки */
.rv-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 1px;
  right: 1px;
  height: 3px;
  border-radius: 20px 20px 0 0;
  background: linear-gradient(90deg,#4df3ff,#ff622e,#ffc34d);
  opacity: .9;
}

/* hover */
.rv-card:hover {
  border-color: rgba(255,255,255,.35);
  transform: translateY(-2px);
}


/* ===========================
   TOP
=========================== */

.rv-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.rv-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(255,255,255,.35);
}

.rv-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rv-meta {
  font-size: 15px;
  font-weight: 900;
}

.rv-rate {
  margin-left: auto;
  color: #ff622e;
  font-weight: 900;
}


/* ===========================
   TEXT
=========================== */

.rv-quote {
  font-size: 14px;
  line-height: 1.5;
  opacity: .92;
  margin: 8px 0 14px;
  flex-grow: 1;
}


/* ===========================
   TAGS
=========================== */

.badges {
  display: flex;
  gap: 8px;
}

.badges .pill {
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;

  color: #fff;
  border: 1px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.08);
}


/* ===========================
   RESPONSIVE
=========================== */

@media(max-width:980px){
  .rv-card{
    height:auto;
    width:92%;
  }
}

@media(max-width:640px){
  .rv-title{
    font-size:26px;
  }
}
