/* Home page Reviews section. Scoped to .reviews-section. */
.reviews-section {
  --teal: #0B3937;
  --gold: #E6BD7A;
  --muted: #3F5F5C;
  --font-display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --font-body: "DM Sans", "Segoe UI", system-ui, sans-serif;

  font-family: var(--font-body);
  color: var(--teal);
  background: #fff;
  padding: 80px 0;
}
.reviews-section *, .reviews-section *::before, .reviews-section *::after { box-sizing: border-box; }
.reviews-section .container { max-width: 1240px; padding: 0 28px; }

.reviews-head { text-align: center; max-width: 620px; margin: 0 auto 40px; }
.reviews-head h2 {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(1.8rem, 3.6vw, 2.6rem); line-height: 1.1; letter-spacing: -.03em;
  margin: 0 0 12px;
}
.reviews-head p { margin: 0; color: var(--muted); font-size: 1.05rem; }

.reviews-carousel { position: relative; }
.reviews-grid {
  --gap: 20px; --per-view: 3;
  list-style: none; margin: 0; padding: 4px 0 12px;
  display: flex; gap: var(--gap);
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.reviews-grid::-webkit-scrollbar { display: none; }
.reviews-grid > li { flex: 0 0 calc((100% - var(--gap) * (var(--per-view) - 1)) / var(--per-view)); scroll-snap-align: start; }

.reviews-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--teal); color: #fff; border: 0; cursor: pointer;
  display: grid; place-items: center;
  box-shadow: 0 8px 20px rgba(11, 57, 55, .25);
  transition: background .15s ease, opacity .15s ease, transform .15s ease;
}
.reviews-arrow svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.reviews-arrow:hover:not(:disabled) { background: #14504d; }
.reviews-arrow:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.reviews-arrow:disabled { opacity: .35; cursor: default; }
.reviews-prev { left: -23px; }
.reviews-next { right: -23px; }
.review-card {
  position: relative; height: 100%; margin: 0;
  display: flex; flex-direction: column;
  padding: 28px 24px 24px;
  background: #F6FBFA; border: 1px solid rgba(11, 57, 55, .1); border-radius: 16px;
}
.review-card::before {
  content: "\201C"; position: absolute; top: 6px; right: 20px;
  font-family: var(--font-display); font-weight: 800; font-size: 5rem; line-height: 1; color: var(--gold); opacity: .6;
}
.review-stars { color: var(--gold); letter-spacing: 3px; font-size: 1.1rem; margin-bottom: 14px; }
.review-card blockquote { margin: 0 0 22px; font-size: 1rem; line-height: 1.6; flex: 1; }
.review-who { display: flex; align-items: center; gap: 12px; }
.review-avatar { flex: none; width: 42px; height: 42px; border-radius: 50%; background: #A5DDD4; color: var(--teal); display: grid; place-items: center; font: 700 .85rem var(--font-body); }
.reviews-grid > li:nth-child(3n+2) .review-avatar { background: var(--gold); }
.reviews-grid > li:nth-child(3n+3) .review-avatar { background: #CBEBE5; }
.review-who b { display: block; font-size: .95rem; line-height: 1.2; }
.review-who small { display: block; font-size: .8rem; color: var(--muted); }

@media (max-width: 1000px) {
  .reviews-grid { --per-view: 2; }
  .reviews-prev { left: -10px; }
  .reviews-next { right: -10px; }
}
@media (max-width: 600px) {
  .reviews-section { padding: 56px 0; }
  .reviews-section .container { padding: 0 16px; }
  .reviews-grid { --per-view: 1; }
  .reviews-arrow { width: 40px; height: 40px; }
  .reviews-prev { left: -8px; }
  .reviews-next { right: -8px; }
}
@media (prefers-reduced-motion: reduce) {
  .reviews-grid { scroll-behavior: auto; }
  .reviews-arrow { transition: none; }
}

/* Equal-height cards */
.reviews-grid { align-items: stretch; }
.reviews-grid > li { display: flex; }
.review-card { flex: 1 1 auto; height: auto; min-height: 100%; }
.review-card blockquote { flex: 1 1 auto; }

/* Reviews page: static grid instead of the carousel */
.reviews-page .reviews-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); overflow: visible; scroll-snap-type: none; padding: 4px 0 0; }
.reviews-page .reviews-grid > li { flex: none; }
@media (max-width: 1000px) { .reviews-page .reviews-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .reviews-page .reviews-grid { grid-template-columns: 1fr; } }

/* Reviews page extras */
.rv-eyebrow { margin: 0 0 8px; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #137A5F; }
.rv-google { background: #fff; padding: 64px 0 24px; text-align: center; }
.rv-google h2, .rv-leave h2 { margin: 0 0 24px; font-family: "Bricolage Grotesque", system-ui, sans-serif; font-size: clamp(1.6rem, 3vw, 2.1rem); color: #0B3937; letter-spacing: -.02em; }
.rv-card { max-width: 420px; margin: 0 auto; padding: 28px 28px 30px; background: #fff; border: 1px solid #DDEBE8; border-radius: 18px; box-shadow: 0 16px 36px rgba(11,57,55,.1); }
.rv-card-label { margin: 0 0 8px; font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #137A5F; }
.rv-card p { color: #3F5F5C; }
.rv-stars { color: #E6BD7A; letter-spacing: 4px; font-size: 1.4rem; margin: 6px 0 10px; }
.rv-card .sp-btn { margin-top: 8px; width: 100%; justify-content: center; }
.reviews-head .rv-eyebrow { text-align: center; }
.rv-all { text-align: center; margin: 28px 0 0; }
.rv-all a { color: #137A5F; font-weight: 700; text-decoration: none; }
.rv-all a:hover { text-decoration: underline; }
.rv-leave { background: #F6FBFA; padding: 64px 0; text-align: center; }
.rv-leave .container { max-width: 680px; }
.rv-leave p:not(.rv-eyebrow) { margin: 0 0 24px; color: #3F5F5C; line-height: 1.6; }
.rv-leave h2 { margin-bottom: 14px; }