/* Small additions used by the dependency-free static version. */
[hidden] {
  display: none !important;
}

[role="region"][data-state="closed"] {
  display: none;
}

[role="region"][data-state="open"] {
  display: block;
}

.static-mobile-nav {
  animation: static-menu-in 180ms ease-out;
}

@keyframes static-menu-in {
  from {
    opacity: 0;
    transform: translateY(-0.35rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .static-mobile-nav {
    animation: none;
  }
}

@media (min-width: 1024px) {
  .desktop-nav-even {
    display: flex;
    justify-content: flex-end;
    gap: clamp(0.55rem, 1.35vw, 1.75rem);
    align-items: center;
    flex: 1 1 auto;
    margin-left: 1.5rem;
    text-align: center;
  }

  .desktop-nav-even > a:not(.btn-primary) {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.5rem;
    line-height: 1.2;
    text-align: center;
    white-space: nowrap;
  }

  .desktop-nav-even > .btn-primary {
    white-space: nowrap;
  }
}

.reviews-band {
  background: linear-gradient(
    180deg,
    var(--warm-white),
    color-mix(in oklch, var(--teal-mist) 58%, white),
    var(--warm-white)
  );
  padding: 3.5rem 0;
}

.reviews-shell {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1.25rem;
}

@media (min-width: 640px) {
  .reviews-shell {
    padding: 0 2rem;
  }
}

.reviews-intro {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.reviews-intro h2 {
  margin-top: 0.65rem;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
}

.reviews-controls {
  display: flex;
  gap: 0.5rem;
}

.reviews-controls button {
  width: 2.25rem;
  height: 2.25rem;
  border: 1px solid var(--border);
  border-radius: 9999px;
  background: color-mix(in oklch, white 82%, transparent);
  color: var(--plum);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 180ms ease, background-color 180ms ease;
}

.reviews-controls button:hover {
  background: white;
  transform: translateY(-1px);
}

.reviews-viewport {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.reviews-viewport::-webkit-scrollbar {
  display: none;
}

.reviews-track {
  display: flex;
  gap: 1rem;
}

.review-card {
  flex: 0 0 min(82vw, 21rem);
  scroll-snap-align: start;
}

@media (min-width: 768px) {
  .review-card {
    flex-basis: calc((100% - 2rem) / 3);
  }
}

.review-card-inner {
  min-height: 12.5rem;
  height: 100%;
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: color-mix(in oklch, white 88%, var(--lavender-mist));
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  box-shadow: 0 14px 36px -30px var(--plum);
}

.review-stars {
  color: var(--mimosa);
  font-size: 1rem;
  letter-spacing: 0.08em;
}

.review-quote {
  margin-top: 0.85rem;
  color: var(--foreground);
  font-size: 0.95rem;
  line-height: 1.55;
}

.review-name {
  margin-top: 1rem;
  color: var(--muted-foreground);
  font-size: 0.82rem;
  font-weight: 500;
}
