/* ===== GOOGLE REVIEWS WIDGET ===== */
/* Structure: star row + label + heading + text, single button to the Google reviews link.
   Same container/card look as newsletter-signup/FAQ. All colours via design tokens so the
   widget follows light/dark automatically through html[data-theme]. */

.google-reviews-section {
  padding-top: var(--space-12, 48px);
  padding-bottom: var(--space-12, 48px);
}

.google-reviews-section .container {
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

/* Inner card: same background/border treatment as .newsletter-signup-inner / .faq-section__card */
.google-reviews-inner {
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  background: var(--card-bg);
  border: 1px solid var(--line2);
  border-radius: 1.5rem;
  padding: 2rem;
}

@media (min-width: 640px) {
  .google-reviews-inner {
    padding: 3rem;
  }
}

.google-reviews-stars {
  display: flex;
  justify-content: center;
  gap: var(--space-1, 4px);
  margin-bottom: var(--space-4);
  color: var(--color-accent);
}

.google-reviews-star {
  width: 1.125rem;
  height: 1.125rem;
}

.google-reviews-header {
  margin-bottom: var(--space-8, 32px);
}

/* Small all-caps sub-label (aligned with .newsletter-signup-label / .logo-strip-label) */
.google-reviews-label {
  display: block;
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-medium, 500);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: var(--space-2);
}

.google-reviews-title {
  color: var(--color-text-primary);
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 700;
  margin-bottom: var(--space-3);
}

.google-reviews-text {
  color: var(--color-text-muted);
  font-size: 1rem;
  line-height: var(--line-height-relaxed, 1.6);
}

/* Pill-shaped link button (matches .newsletter-signup-submit's shape/weight) */
.google-reviews-button {
  display: inline-block;
  padding: var(--space-3) var(--space-8);
  border-radius: 9999px;
  border: none;
  background: var(--color-accent);
  color: var(--color-on-accent, #fff);
  font-size: var(--font-size-base);
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}

@media (prefers-reduced-motion: no-preference) {
  .google-reviews-button {
    transition: background 0.2s ease;
  }
}

/* Explicit color redeclare beats the global a:hover { color: var(--cta-hover) } rule
   (element+pseudo-class specificity), which would otherwise match the button's background
   and make the label unreadable on hover - same guard as .btn-cta:hover / widget-cta-strip__btn:hover. */
.google-reviews-button:hover,
.google-reviews-button:focus,
.google-reviews-button:active {
  background: var(--cta-hover);
  color: var(--color-on-accent, #fff);
}

.google-reviews-button:focus-visible {
  outline: 2px solid var(--focus-ring, var(--color-accent));
  outline-offset: 2px;
}
