/* ========================================
   REVIEWS SECTION (Google Style)
   ======================================== */

.reviews-section {
  background-color: var(--neutral-50);
  position: relative;
  overflow: hidden;
}

.floating-stars {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.floating-star {
  position: absolute;
  color: #F59E0B;
  opacity: 0.15;
  animation: floatStar 8s ease-in-out infinite;
}

.floating-star svg {
  filter: drop-shadow(0 2px 4px rgba(245, 158, 11, 0.2));
}

.floating-star:nth-child(1) {
  left: 5%;
  top: 10%;
  width: 40px;
  height: 40px;
  animation-delay: 0s;
  animation-duration: 10s;
}

.floating-star:nth-child(2) {
  left: 10%;
  top: 60%;
  width: 30px;
  height: 30px;
  animation-delay: 2s;
  animation-duration: 12s;
}

.floating-star:nth-child(3) {
  right: 8%;
  top: 15%;
  width: 35px;
  height: 35px;
  animation-delay: 1s;
  animation-duration: 11s;
}

.floating-star:nth-child(4) {
  right: 5%;
  top: 70%;
  width: 45px;
  height: 45px;
  animation-delay: 3s;
  animation-duration: 13s;
}

.floating-star:nth-child(5) {
  left: 15%;
  top: 85%;
  width: 28px;
  height: 28px;
  animation-delay: 1.5s;
  animation-duration: 9s;
}

.floating-star:nth-child(6) {
  right: 12%;
  top: 45%;
  width: 32px;
  height: 32px;
  animation-delay: 2.5s;
  animation-duration: 10.5s;
}

@keyframes floatStar {
  0%, 100% {
    transform: translateY(0) rotate(0deg) scale(1);
    opacity: 0.15;
  }
  25% {
    transform: translateY(-20px) rotate(5deg) scale(1.05);
    opacity: 0.25;
  }
  50% {
    transform: translateY(-10px) rotate(-5deg) scale(0.95);
    opacity: 0.2;
  }
  75% {
    transform: translateY(-15px) rotate(3deg) scale(1.02);
    opacity: 0.18;
  }
}

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

.reviews-header {
  text-align: center;
  margin-bottom: 3rem;
}

.reviews-overall {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 2rem;
  background-color: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  margin: 0 auto 3rem;
  max-width: 500px;
}

.reviews-rating-number {
  font-size: 4rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1;
}

.reviews-stars-large {
  display: flex;
  gap: 0.5rem;
  color: #F59E0B;
}

.reviews-stars-large .star {
  width: 2rem;
  height: 2rem;
}

.reviews-count {
  color: var(--text-secondary);
  font-size: 1rem;
}

.reviews-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background-color: var(--neutral-100);
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-top: 0.5rem;
}

.reviews-badge img {
  height: 1rem;
  width: auto;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.reviews-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 3rem;
}

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

  .reviews-rating-number {
    font-size: 3rem;
  }

  .reviews-stars-large .star {
    width: 1.5rem;
    height: 1.5rem;
  }
}
