.reviews-page {
  background: linear-gradient(180deg, #edf5ff 0%, #e4effb 44%, #dbe9f9 100%);
}

.reviews-page .site-header {
  background: rgba(229, 241, 253, 0.94);
}

.reviews-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background-image: linear-gradient(
      115deg,
      rgba(34, 88, 136, 0.42) 0%,
      rgba(34, 88, 136, 0.28) 44%,
      rgba(34, 88, 136, 0.16) 100%
    ),
    url("../assets/images/background_review-2.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.reviews-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(238, 245, 255, 0.58) 0%, rgba(238, 245, 255, 0.26) 45%, rgba(238, 245, 255, 0.05) 100%);
  z-index: 0;
  pointer-events: none;
}

.reviews-hero .container {
  position: relative;
  z-index: 1;
}

.reviews-hero .tag,
.reviews-hero h1,
.reviews-hero .lead {
  color: #143453;
  text-shadow: 0 2px 10px rgba(255, 255, 255, 0.36);
}

.reviews-hero .tag {
  background: rgba(232, 242, 253, 0.86);
  border-color: rgba(180, 209, 236, 0.95);
}

.reviews-hero .lead {
  max-width: 62ch;
  font-weight: 400;
}

.reviews-hero-stats {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.reviews-hero-stats article {
  background: rgba(245, 250, 255, 0.82);
  border: 1px solid rgba(182, 209, 233, 0.95);
  backdrop-filter: blur(4px);
  border-radius: 14px;
  padding: 12px;
}

.reviews-hero-stats strong {
  display: block;
  color: #143453;
  font-size: 1.3rem;
  line-height: 1.2;
}

.reviews-hero-stats span {
  color: #335878;
  font-size: 0.9rem;
}

.reviews-list-section {
  background: linear-gradient(180deg, #f7fbff 0%, #edf4fd 100%);
}

.reviews-grid .review {
  border: 1px solid #cadef1;
  border-radius: 16px;
  box-shadow: 0 8px 18px rgba(12, 56, 95, 0.1);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  overflow: hidden;
}

.reviews-grid .review::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  background: linear-gradient(90deg, #2b73b3 0%, #6ea8dc 100%);
}

.reviews-grid .review:hover {
  transform: translateY(-4px);
  border-color: #93bde2;
  box-shadow: 0 14px 28px rgba(12, 56, 95, 0.16);
}

.reviews-gallery-section {
  background: linear-gradient(170deg, #1d5f97 0%, #3e84bd 55%, #77addc 100%);
}

.reviews-gallery-section .section-heading .tag,
.reviews-gallery-section .section-heading h2,
.reviews-gallery-section .section-heading p {
  color: #f3f9ff;
}

.reviews-gallery-section .section-heading .tag {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.28);
}

.reviews-photo-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.reviews-photo-card {
  margin: 0;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 14px;
  padding: 10px;
}

.reviews-photo-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 10px;
  display: block;
}

.reviews-photo-card p {
  margin: 8px 0 2px;
  text-align: center;
  color: #f1f8ff;
}

@media (max-width: 920px) {
  .reviews-hero-stats {
    grid-template-columns: 1fr;
  }

  .reviews-photo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .reviews-photo-grid {
    grid-template-columns: 1fr;
  }
}
