/* ---------- Testimonial section ---------- */
.review-section {
  position: relative;
}

/* ---------- Testimonial cards ---------- */
.review-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  height: 100%;
  box-shadow: 0 14px 40px rgba(20, 20, 20, 0.06);
  transition:
    transform .45s cubic-bezier(.2, .8, .2, 1),
    box-shadow .45s ease;
}

.review-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 26px 54px rgba(20, 20, 20, 0.12);
}

.review-photo {
  height: 210px;
  overflow: hidden;
  position: relative;
}

.review-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s cubic-bezier(.2, .8, .2, 1);
}

.review-card:hover .review-photo img {
  transform: scale(1.09);
}


.review-stars {
  color: #e8b23d;
  letter-spacing: 2px;
  font-size: 0.95rem;
}

.review-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
}

/* ---------- Rating card ---------- */
.review-rating-card {
  background: radial-gradient(
    circle at 30% 20%,
    #b8202f 0%,
    #8f1424 70%
  );
  border-radius: 16px;
  color: #fff;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 20px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(143, 20, 36, 0.35);
  transition: transform .5s cubic-bezier(.2, .8, .2, 1);
}

.review-rating-card:hover {
  transform: translateY(-8px);
}

.review-rating-number {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 3.6rem;
  line-height: 1;
}

.review-rating-number sub {
  font-size: 1.4rem;
  bottom: 0;
}

.review-rating-stars {
  color: #f4c94b;
  font-size: 1.2rem;
  letter-spacing: 4px;
  margin: 14px 0 18px;
}

.review-rating-sub {
  font-size: 0.88rem;
  opacity: .92;
  line-height: 1.5;
}

.review-crab-deco {
  position: absolute;
  bottom: -18px;
  right: -10px;
  width: 150px;
  height: 150px;
  opacity: 0.16;
}

/* ---------- Feature strip ---------- */
.review-feature-strip {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(20, 20, 20, 0.06);
  padding: 28px 10px;
}

.review-feature-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.review-feature-icon {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #faf3e9;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #a3182b;
  transition:
    background .35s ease,
    transform .35s ease;
}

.review-feature-item:hover .review-feature-icon {
  background: #a3182b;
  transform: rotate(-8deg) scale(1.08);
}

.review-feature-item:hover .review-feature-icon svg * {
  stroke: #fff;
}

.review-feature-icon svg {
  width: 22px;
  height: 22px;
}

.review-feature-icon svg * {
  stroke: #a3182b;
  transition: stroke .35s ease;
}

.review-feature-title {
  font-weight: 700;
  font-size: 0.88rem;
  color: #1c2b45;
  margin-bottom: 2px;
}

.review-feature-desc {
  font-size: 0.78rem;
  color: #9a9a9a;
  margin: 0;
}

/* ---------- Decorative shape ---------- */
.review-shape-blob {
  position: absolute;
  border-radius: 45% 55% 60% 40% / 50% 45% 55% 50%;
  background: radial-gradient(
    circle,
    rgba(163, 24, 43, 0.06),
    rgba(163, 24, 43, 0) 70%
  );
  filter: blur(2px);
  z-index: 0;
  animation: review-morph 12s ease-in-out infinite;
}

@keyframes review-morph {
  0%,
  100% {
    border-radius: 45% 55% 60% 40% / 50% 45% 55% 50%;
  }

  50% {
    border-radius: 60% 40% 45% 55% / 45% 55% 40% 60%;
  }
}

/* ---------- Accessibility ---------- */
@media (prefers-reduced-motion: reduce) {
  .review-section *,
  .review-reveal,
  .review-shape-blob {
    animation: none !important;
    transition: none !important;
  }
}

.review-section a:focus-visible,
.review-section button:focus-visible {
  outline: 3px solid #a3182b;
  outline-offset: 2px;
}