/* ============================================
   TRUST BADGES & RATINGS COMPONENTS
   ============================================ */

/* Trust Badges Section */
.trust-section {
  padding: 60px 0;
  background: linear-gradient(135deg, var(--cream) 0%, #fff 100%);
  border-top: 1px solid rgba(26, 26, 26, 0.05);
  border-bottom: 1px solid rgba(26, 26, 26, 0.05);
}

.trust-section__title {
  text-align: center;
  font-size: clamp(48px, 6vw, 64px);
  font-weight: 400;
  margin-bottom: 50px;
  color: var(--charcoal);
  font-family: 'Great Vibes', cursive;
}

.trust-badges {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
  max-width: 1400px;
  margin: 0 auto;
}

.trust-badge {
  background: white;
  padding: 25px 15px;
  border-radius: 8px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 2px solid rgba(26, 26, 26, 0.1);
}

.trust-badge:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border-color: var(--gold);
}

.trust-badge__icon {
  width: 40px;
  height: 40px;
  margin: 0 auto 15px;
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
}

.trust-badge__icon svg {
  width: 100%;
  height: 100%;
  stroke: var(--gold);
  stroke-width: 1.5;
  transition: all 0.3s ease;
}

.trust-badge:hover .trust-badge__icon svg {
  stroke: var(--charcoal);
  transform: scale(1.1);
}

.trust-badge__title {
  font-size: 16px;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.trust-badge__subtitle {
  font-size: 13px;
  color: var(--gray);
  line-height: 1.4;
}

/* Google Rating Badge (Floating) */
.google-rating-badge {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: white;
  padding: 15px 20px;
  border-radius: 50px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 999;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  text-decoration: none;
  border: 2px solid var(--gold);
}

.google-rating-badge:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.2);
}

.google-rating-badge__icon {
  width: 30px;
  height: 30px;
}

.google-rating-badge__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.google-rating-badge__stars {
  color: #FBBC04;
  font-size: 16px;
  letter-spacing: 2px;
}

.google-rating-badge__score {
  font-size: 14px;
  color: var(--charcoal);
  font-weight: 600;
}

.google-rating-badge__count {
  font-size: 11px;
  color: var(--gray);
}

/* Star Rating Display */
.star-rating {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.star-rating__stars {
  color: #FBBC04;
  font-size: 18px;
  letter-spacing: 2px;
  line-height: 1;
}

.star-rating__score {
  font-size: 16px;
  font-weight: 600;
  color: var(--charcoal);
}

.star-rating__count {
  font-size: 14px;
  color: var(--gray);
}

/* Hero Rating Badge */
.hero__rating {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 15px 25px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  z-index: 10;
}

.hero__rating-stars {
  color: #FBBC04;
  font-size: 20px;
  letter-spacing: 2px;
}

.hero__rating-text {
  font-size: 16px;
  font-weight: 600;
  color: var(--charcoal);
}

.hero__rating-text span {
  color: var(--gray);
  font-weight: 400;
  font-size: 14px;
}

/* Product Card Rating */
.product-card__rating {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 10px 0;
}

.product-card__rating-stars {
  color: #FBBC04;
  font-size: 16px;
  letter-spacing: 1px;
}

.product-card__rating-score {
  font-size: 15px;
  font-weight: 600;
  color: var(--charcoal);
}

.product-card__rating-count {
  font-size: 13px;
  color: var(--gray);
}

/* FAQ Section */
.faq-section {
  padding: 80px 0;
  background-color: var(--cream);
}

.faq-section__title {
  text-align: center;
  font-size: clamp(48px, 6vw, 64px);
  font-weight: 400;
  margin-bottom: 50px;
  color: var(--charcoal);
  font-family: 'Great Vibes', cursive;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: white;
  margin-bottom: 20px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(26, 26, 26, 0.1);
}

.faq-question {
  width: 100%;
  padding: 20px 25px;
  background: white;
  border: none;
  text-align: left;
  font-size: 18px;
  font-weight: 600;
  color: var(--charcoal);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s ease;
}

.faq-question:hover {
  background-color: var(--cream);
}

.faq-question::after {
  content: '+';
  font-size: 28px;
  font-weight: 400;
  transition: transform 0.3s ease;
  color: var(--gold);
}

.faq-question.active::after {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 25px;
  background: white;
}

.faq-answer.active {
  max-height: 500px;
  padding: 20px 25px;
}

.faq-answer p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--gray);
  margin: 0;
}

/* Service Area Section */
.service-area {
  padding: 60px 0;
  background: var(--charcoal);
  color: white;
  text-align: center;
}

.service-area__title {
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 400;
  margin-bottom: 20px;
  font-family: 'Great Vibes', cursive;
}

.service-area__locations {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.service-area__location {
  padding: 10px 25px;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid var(--gold);
  border-radius: 25px;
  font-size: 16px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.service-area__location:hover {
  background: var(--gold);
  transform: translateY(-2px);
}

/* Responsive Adjustments */
@media (max-width: 1200px) {
  .trust-badges {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .trust-badges {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
}

@media (max-width: 480px) {
  .trust-badges {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .google-rating-badge {
    bottom: 20px;
    right: 20px;
    padding: 12px 15px;
    font-size: 12px;
  }

  .google-rating-badge__icon {
    width: 24px;
    height: 24px;
  }

  .google-rating-badge__stars {
    font-size: 14px;
  }

  .hero__rating {
    position: static;
    margin: 20px auto 0;
    width: fit-content;
  }

  .trust-section {
    padding: 40px 0;
  }

  .faq-section {
    padding: 60px 0;
  }

  .faq-question {
    font-size: 16px;
    padding: 15px 20px;
  }

  .faq-answer.active {
    padding: 15px 20px;
  }

  .service-area__locations {
    gap: 10px;
  }

  .service-area__location {
    padding: 8px 20px;
    font-size: 14px;
  }
}

/* Print Styles */
@media print {
  .google-rating-badge {
    display: none;
  }
}

/* Accessibility */
.faq-question:focus,
.google-rating-badge:focus {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}
