.reviews {
  padding: 3rem 1rem;
  font-family: 'Inter', sans-serif;
}
.reviews__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}
.reviews__title {
  font-size: 1.8rem;
  font-weight: 700;
}
.reviews__subtitle {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 1rem;
  color: #555;
}
.reviews__wrapper {
  position: relative;
  overflow: hidden;
}
.reviews__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 24px;
  transition: transform 0.6s ease;
}
.review-card {
  width: 700px;
  height: 300px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.05);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  aspect-ratio: 1/1;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  opacity: 0;
  transform: translateY(30px);
}
.review-card.active {
  opacity: 1;
  transform: translateY(0);
}
.review-card:hover {
  transform: scale(1.02);
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}
.review-card__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.review-card__name { font-weight: 600; }
.review-card__rating { color: #FFD700; }
.review-card__comment { color: #444; font-size: .95rem; line-height: 1.4; flex-grow: 1; }
.review-card__footer { text-align: right; font-size: .85rem; color: #888; }

/* === Управление === */
.reviews__controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
}
.reviews__button {
  background: #eee;
  border: none;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  cursor: pointer;
  transition: background .3s;
}
.reviews__button:hover { background: #ddd; }

.reviews__pagination {
  display: flex;
  gap: .5rem;
}
.reviews__pagination-dot {
  width: .6rem;
  height: .6rem;
  border-radius: 50%;
  background: #999;
  transition: background .3s;
}
.reviews__pagination-dot.active {
  background: #333;
}
@media (max-width: 1024px) {
  .review-card { 
    aspect-ratio: auto;
    width: 400px; 
    height: auto;
  }
}
@media (max-width: 900px) {
  .reviews__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .review-card { 
    aspect-ratio: auto;
    width: 300px;
    height: 300px; 
  }
}
@media (max-width: 600px) {
  .reviews__grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto auto;
  }
  .review-card { aspect-ratio: auto; }
}
@media (max-width: 424px) {
  .review-card { 
    aspect-ratio: auto;
    width: 250px; 
    height: auto;
  }
}