/* ==========================================================================
   Customer Reviews & Google Slider Styles (reviews.css)
   ========================================================================== */

.reviews-section {
  background-color: #ffffff;
  padding: 2.75rem 0 2rem 0;
  position: relative;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}
.reviews-container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
  box-sizing: border-box;
  overflow: hidden;
}
.reviews-header {
  margin-bottom: 1.5rem;
}
.reviews-eyebrow-badge {
  display: inline-block;
  background-color: #fef3c7;
  color: #d97706;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.35rem 1rem;
  border-radius: 50px;
  margin-bottom: 0.5rem;
}
.reviews-heading {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3.5vw, 2.35rem);
  font-weight: 900;
  color: #0f172a;
  line-height: 1.15;
  margin: 0;
}
.reviews-layout-fixed {
  display: flex;
  align-items: stretch;
  gap: 1.25rem;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}
.reviews-summary-card {
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 1.25rem 1rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 0 0 175px;
  min-width: 175px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
  box-sizing: border-box;
}
.reviews-carousel-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex: 1;
  min-width: 0;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}
.reviews-nav-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.07);
  color: #d97706;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  z-index: 5;
  transition: all var(--trans-fast);
}
.reviews-nav-btn:hover {
  background-color: #d97706;
  color: #ffffff;
  border-color: #d97706;
  transform: scale(1.08);
}
.reviews-carousel-track-container {
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-behavior: smooth;
  width: 100%;
  max-width: 100%;
  padding: 0.25rem 0.25rem 0.75rem 0.25rem;
  box-sizing: border-box;
  -webkit-overflow-scrolling: touch;
}
.reviews-carousel-track-container::-webkit-scrollbar {
  display: none;
}
.reviews-carousel-track {
  display: flex;
  gap: 1rem;
  align-items: stretch;
  width: max-content;
}
.google-logo-svg {
  width: 34px;
  height: 34px;
  margin-bottom: 0.45rem;
}
.stars-row-lg {
  color: #f59e0b;
  font-size: 1.1rem;
  letter-spacing: 2px;
  line-height: 1;
  margin-bottom: 0.25rem;
}
.score-num-lg {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 900;
  color: #0f172a;
  line-height: 1;
  margin-bottom: 0.25rem;
}
.reviews-count-main {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.1;
}
.reviews-count-sub {
  font-size: 0.75rem;
  font-weight: 600;
  color: #64748b;
  margin-top: 1px;
}
.review-item-card {
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 1.15rem 1.1rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 0 0 255px;
  width: 255px;
  min-width: 240px;
  box-shadow: 0 3px 14px rgba(0, 0, 0, 0.04);
  box-sizing: border-box;
  transition: transform var(--trans-fast), box-shadow var(--trans-fast);
}
.review-item-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.07);
}
.review-card-top {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.45rem;
}
.review-avatar-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: #ffffff;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.review-author-meta {
  display: flex;
  flex-direction: column;
  text-align: left;
  line-height: 1.15;
}
.review-author-name {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 1px 0;
}
.review-time-ago {
  font-size: 0.7rem;
  color: #64748b;
  font-weight: 500;
}
.review-stars-row {
  color: #f59e0b;
  font-size: 0.875rem;
  letter-spacing: 2px;
  line-height: 1;
  margin-bottom: 0.6rem;
}
.review-body-text {
  font-size: 0.8125rem;
  color: #334155;
  line-height: 1.45;
  margin: 0 0 0.85rem 0;
  flex-grow: 1;
  text-align: left;
}
.review-card-footer {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin-top: auto;
}
.google-badge-sm {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.link-reviews-google {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 800;
  color: #d97706;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-decoration: none;
  border-bottom: 2px solid #d97706;
  padding-bottom: 2px;
  margin-top: 1.5rem;
  transition: color var(--trans-fast), border-color var(--trans-fast);
}
.link-reviews-google:hover {
  color: #b45309;
  border-color: #b45309;
}

/* Responsive Rules for Reviews */
@media (max-width: 1024px) {
  .reviews-layout-fixed {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }
  .reviews-summary-card {
    flex: 0 0 auto;
    width: 100%;
    max-width: 320px;
  }
  .reviews-carousel-wrapper {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .reviews-section {
    padding: 3.5rem 0 2.5rem 0;
  }
  .reviews-header {
    margin-bottom: 2rem;
  }
  .reviews-summary-card {
    max-width: 100%;
    padding: 1.5rem 1rem;
  }
  .reviews-carousel-wrapper {
    gap: 0;
    padding: 0;
  }
  .reviews-nav-btn {
    display: none !important;
  }
  .reviews-carousel-track-container {
    scroll-snap-type: x mandatory;
    padding: 0.5rem 0 1.25rem 0;
  }
  .review-item-card {
    flex: 0 0 82vw;
    width: 82vw;
    max-width: 300px;
    min-width: 240px;
    scroll-snap-align: start;
    padding: 1.25rem 1.15rem;
  }
  .link-reviews-google {
    font-size: 0.82rem;
    margin-top: 1.5rem;
  }
}
