/* === Секция отзывов === */
.reviews-section {
  background-color: #A3D2F4;
  padding: 60px 0;
}

/* Grid: 2 колонки → 1 на мобилках */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
@media (max-width: 768px) {
  .reviews-grid {
    grid-template-columns: 1fr;
  }
}

/* Карточка-обёртка */
.review-card {
  display: flex;
  flex-direction: column;
  background-color: #D6EDFF;
  border-radius: 32px;
  padding: 24px;
  text-decoration: none;
  color: inherit;
  position: relative;
  transition: transform .2s, box-shadow .2s;
}
.review-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}
.review-card__a {
  text-decoration: none;
  color: #000;
}
/* Звёздочки */
.review-card__stars {
  position: absolute;
  top: 16px;
  right: 16px;
}
.review-card__stars .star {
  font-size: 24px;
  color: #F285BE;
  margin-left: 2px;
}
.review-card__stars .star:first-child {
  margin-left: 0;
}

/* Шапка: аватар + имя */
.review-card__header {
  display: flex;
  align-items: center;
  margin-bottom: 16px;
  margin-top: 40px;
}
.review-card__avatar {
  width: 90px;
  height: 90px;
  flex-shrink: 0;
  border-radius: 50%;
  overflow: hidden;
  background-color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 12px;
}
.review-card__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.review-card__name {
  margin: 0;
}

/* Текст отзыва */
.review-card__text {
  flex-grow: 1;
  margin-bottom: 24px;
}

/* Источник */
.review-card__source {
  text-align: right;
  margin-top: auto;
}

/* Убираем outline на фокусе */
.review-card:focus {
  outline: none;
}
.review-card__text p {
  margin: 0 0 12px;
  padding: 0;
  background: none;
  border: none;
}
.review-card__text p:last-child {
  margin-bottom: 0;
}

