.guest-reviews,
.guest-reviews * {
  box-sizing: border-box;
}

.guest-reviews {
  --guest-reviews-bg: #202d31;
  --guest-reviews-card: #fffdf8;
  --guest-reviews-ink: #202d31;
  --guest-reviews-accent: #ffb52f;
  --guest-reviews-gap: 16px;
  --guest-reviews-half-gap: 8px;
  width: 100%;
  max-width: 100%;
  padding: clamp(64px, 8vw, 104px) 0;
  overflow: hidden;
  background: var(--guest-reviews-bg);
  color: #fff;
  scroll-margin-top: 96px;
}

.guest-reviews__intro {
  width: min(760px, calc(100% - 40px));
  margin: 0 auto clamp(32px, 5vw, 54px);
  text-align: center;
}

.guest-reviews__eyebrow {
  margin: 0 0 12px;
  color: var(--guest-reviews-accent);
  font-family: Montserrat, Arial, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.guest-reviews h2 {
  margin: 0;
  color: #fff;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(38px, 5vw, 62px);
  font-weight: 500;
  line-height: 1.04;
}

.guest-reviews__subheading {
  max-width: 660px;
  margin: 18px auto 0;
  color: rgba(255,255,255,.78);
  font-family: Montserrat, Arial, sans-serif;
  font-size: clamp(15px, 1.7vw, 18px);
  line-height: 1.65;
}

.guest-reviews__proof {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
  padding: 10px 15px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  color: #fff;
  font-family: Montserrat, Arial, sans-serif;
  text-decoration: none;
  transition: border-color .2s ease, background-color .2s ease;
}

.guest-reviews__proof:hover,
.guest-reviews__proof:focus-visible {
  border-color: rgba(255,255,255,.45);
  background: rgba(255,255,255,.08);
}

.guest-reviews__google {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  color: #4285f4;
  font: 700 17px/1 Arial, sans-serif;
}

.guest-reviews__proof > span:last-child {
  display: grid;
  gap: 2px;
  text-align: left;
}

.guest-reviews__proof strong {
  color: #fff;
  font-size: 13px;
  line-height: 1;
}

.guest-reviews__proof small {
  color: rgba(255,255,255,.7);
  font-size: 11px;
}

.guest-reviews__stars {
  color: var(--guest-reviews-accent);
  font-family: Arial, sans-serif;
  font-size: 11px;
  letter-spacing: .05em;
  white-space: nowrap;
}

.guest-reviews__wall {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  display: grid;
  gap: var(--guest-reviews-gap);
  overflow: hidden;
}

.guest-reviews__row {
  width: 100%;
  overflow: hidden;
}

.guest-reviews__track {
  display: flex;
  width: max-content;
  gap: var(--guest-reviews-gap);
  animation: guest-reviews-left 42s linear infinite;
  will-change: transform;
}

.guest-reviews__row--right .guest-reviews__track {
  transform: translateX(calc(-50% - var(--guest-reviews-half-gap)));
  animation-name: guest-reviews-right;
  animation-duration: 48s;
}

.guest-reviews__row:hover .guest-reviews__track,
.guest-reviews__row:focus-within .guest-reviews__track {
  animation-play-state: paused;
}

.guest-reviews__group {
  display: flex;
  align-items: stretch;
  gap: var(--guest-reviews-gap);
}

.guest-review-card {
  width: clamp(292px, 30vw, 390px);
  min-height: 216px;
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  padding: 24px;
  border: 1px solid rgba(32,45,49,.1);
  border-radius: 18px;
  background: var(--guest-reviews-card);
  color: var(--guest-reviews-ink);
  box-shadow: 0 15px 40px rgba(0,0,0,.18);
}

.guest-review-card blockquote {
  margin: 0 0 22px;
  color: var(--guest-reviews-ink);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(19px, 1.55vw, 23px);
  line-height: 1.34;
}

.guest-review-card footer {
  display: grid;
  grid-template-columns: 38px minmax(0,1fr) auto;
  align-items: center;
  gap: 11px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid rgba(32,45,49,.12);
  font-family: Montserrat, Arial, sans-serif;
}

.guest-review-card__avatar {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  background: var(--guest-reviews-bg);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
}

.guest-review-card footer > span:nth-child(2) {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.guest-review-card footer strong {
  overflow: hidden;
  color: var(--guest-reviews-ink);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.guest-review-card footer small {
  color: rgba(32,45,49,.62);
  font-size: 10px;
}

@keyframes guest-reviews-left {
  to { transform: translateX(calc(-50% - var(--guest-reviews-half-gap))); }
}

@keyframes guest-reviews-right {
  to { transform: translateX(0); }
}

@media (max-width: 767px) {
  .guest-reviews {
    --guest-reviews-gap: 12px;
    --guest-reviews-half-gap: 6px;
  }

  .guest-reviews__intro {
    width: min(100% - 32px, 600px);
  }

  .guest-reviews__subheading {
    font-size: 18px;
    line-height: 1.7;
  }

  .guest-review-card {
    width: min(82vw, 326px);
    min-height: 210px;
    padding: 20px;
  }

  .guest-review-card blockquote {
    font-size: 19px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .guest-reviews__row {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
  }

  .guest-reviews__track,
  .guest-reviews__row--right .guest-reviews__track {
    transform: none;
    animation: none;
    will-change: auto;
  }

  .guest-reviews__group[aria-hidden="true"] {
    display: none;
  }

  .guest-review-card {
    scroll-snap-align: center;
  }
}
