/* Keep Bin Clean verified Google review carousel — Baseline 35. */
.kbc-testimonials {
  overflow: hidden;
  padding: 68px 0 64px;
  background:
    radial-gradient(circle at 8% 0%, rgba(37, 171, 56, .10), transparent 31%),
    linear-gradient(180deg, #f8fbfd 0%, #f1f6f9 100%);
}

.kbc-testimonials__inner {
  width: min(1180px, 90%);
  margin: 0 auto;
}

.kbc-testimonials__head {
  max-width: 700px;
  margin: 0 auto 1.5rem;
  text-align: center;
}

.kbc-testimonials__eyebrow {
  display: inline-block;
  margin-bottom: .55rem;
  color: #0e7d30;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.kbc-testimonials__head h2 {
  margin: 0 0 .7rem;
  color: #0a1628;
  font-family: 'Bebas Neue', Impact, 'Arial Narrow', sans-serif;
  font-size: clamp(2rem, 4.2vw, 3rem);
  line-height: 1;
  letter-spacing: .025em;
}

.kbc-testimonials__head p {
  margin: 0;
  color: #506174;
  font-size: .96rem;
  line-height: 1.7;
}

.kbc-testimonials__summary {
  display: flex;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto 1.75rem;
  padding: .7rem 1rem;
  align-items: center;
  gap: .7rem;
  border: 1px solid rgba(10, 22, 40, .12);
  border-radius: 999px;
  background: #fff;
  color: #263548;
  box-shadow: 0 8px 26px rgba(10, 22, 40, .08);
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
}

.kbc-testimonials__summary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(10, 22, 40, .12);
}

.kbc-testimonials__summary-copy {
  display: flex;
  min-width: 0;
  align-items: baseline;
  flex-wrap: wrap;
  gap: .2rem .45rem;
  font-size: .84rem;
  line-height: 1.25;
}

.kbc-testimonials__summary-copy strong {
  color: #0a1628;
  font-size: .94rem;
}

.kbc-testimonials__summary-stars,
.kbc-review-card__stars {
  color: #fbbc05;
  letter-spacing: .08em;
}

.kbc-testimonials__stage {
  position: relative;
}

.kbc-testimonials__viewport {
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.kbc-testimonials__viewport::-webkit-scrollbar {
  display: none;
}

.kbc-testimonials__track {
  display: flex;
  align-items: stretch;
  gap: 18px;
}

.kbc-review-card {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 490px;
  flex: 0 0 calc((100% - 36px) / 3);
  flex-direction: column;
  padding: 1.55rem;
  overflow: hidden;
  scroll-snap-align: start;
  border: 1px solid rgba(10, 22, 40, .10);
  border-top: 4px solid #25ab38;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 8px 26px rgba(10, 22, 40, .07);
}

.kbc-review-card__media {
  position: relative;
  height: 170px;
  flex: 0 0 170px;
  margin: -1.55rem -1.55rem 1.2rem;
  overflow: hidden;
  background: #dbe7ee;
}

.kbc-review-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease;
}

.kbc-review-card:hover .kbc-review-card__media img {
  transform: scale(1.025);
}

.kbc-review-card__media-label {
  position: absolute;
  right: .7rem;
  bottom: .65rem;
  padding: .28rem .52rem;
  border-radius: 999px;
  background: rgba(10, 22, 40, .76);
  color: #fff;
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.kbc-review-card__top {
  display: flex;
  margin-bottom: 1rem;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
}

.kbc-review-card__avatar {
  display: inline-flex;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #0e7d30, #25ab38);
  color: #fff;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .04em;
}

.kbc-review-card__quote {
  width: 34px;
  height: 34px;
  color: rgba(14, 125, 48, .25);
  font-family: Georgia, serif;
  font-size: 3rem;
  line-height: .85;
  text-align: center;
}

.kbc-review-card blockquote {
  margin: 0 0 1.35rem;
  color: #2f4052;
  font-size: .93rem;
  line-height: 1.72;
}

.kbc-review-card__footer {
  display: flex;
  margin-top: auto;
  align-items: flex-end;
  justify-content: space-between;
  gap: .75rem;
}

.kbc-review-card__name {
  display: block;
  margin-bottom: .25rem;
  color: #0a1628;
  font-size: .88rem;
  font-weight: 800;
}

.kbc-review-card__source {
  color: #647386;
  font-size: .72rem;
}

.kbc-review-card__stars {
  flex: 0 0 auto;
  font-size: .82rem;
  white-space: nowrap;
}

.kbc-testimonials__arrow {
  position: absolute;
  z-index: 2;
  top: 50%;
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  transform: translateY(-50%);
  border: 1px solid rgba(10, 22, 40, .15);
  border-radius: 50%;
  background: #fff;
  color: #0e7d30;
  font-size: 1.25rem;
  font-weight: 900;
  box-shadow: 0 6px 20px rgba(10, 22, 40, .13);
  cursor: pointer;
}

.kbc-testimonials__arrow--prev { left: -22px; }
.kbc-testimonials__arrow--next { right: -22px; }
.kbc-testimonials__arrow:disabled { opacity: .38; cursor: default; }
.kbc-testimonials__arrow:focus-visible,
.kbc-testimonials__dot:focus-visible,
.kbc-testimonials__viewport:focus-visible {
  outline: 3px solid rgba(10, 116, 185, .42);
  outline-offset: 3px;
}

.kbc-testimonials__dots {
  display: flex;
  min-height: 36px;
  margin-top: 1rem;
  align-items: center;
  justify-content: center;
  gap: .5rem;
}

.kbc-testimonials__dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #b8c3ce;
  cursor: pointer;
  transition: width .2s ease, border-radius .2s ease, background .2s ease;
}

.kbc-testimonials__dot[aria-current='true'] {
  width: 25px;
  border-radius: 999px;
  background: #0e7d30;
}

.kbc-testimonials__status {
  display: none;
  margin-top: 1rem;
  color: #526477;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-align: center;
}

.kbc-testimonials__actions {
  display: flex;
  margin-top: .7rem;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: .8rem;
}

.kbc-testimonials__source-note {
  margin: .9rem 0 0;
  color: #718096;
  font-size: .68rem;
  line-height: 1.5;
  text-align: center;
}

@media (max-width: 960px) {
  .kbc-review-card { flex-basis: calc((100% - 18px) / 2); }
}

@media (max-width: 640px) {
  .kbc-testimonials { padding: 50px 0 48px; }
  .kbc-testimonials__inner { width: 100%; }
  .kbc-testimonials__head,
  .kbc-testimonials__summary,
  .kbc-testimonials__actions,
  .kbc-testimonials__source-note { margin-left: 5%; margin-right: 5%; }
  .kbc-testimonials__head { margin-bottom: 1.25rem; }
  .kbc-testimonials__summary {
    width: 90%;
    justify-content: center;
    border-radius: 16px;
  }
  .kbc-testimonials__summary-copy { justify-content: center; }
  .kbc-testimonials__viewport {
    padding: 0 5%;
    scroll-padding-inline: 5%;
  }
  .kbc-testimonials__track { gap: 14px; }
  .kbc-review-card {
    min-height: 515px;
    flex-basis: min(84vw, 345px);
    padding: 1.35rem;
  }
  .kbc-review-card__media {
    height: 182px;
    flex-basis: 182px;
    margin: -1.35rem -1.35rem 1.15rem;
  }
  .kbc-testimonials__arrow { display: none; }
  .kbc-testimonials__dots { display: none; }
  .kbc-testimonials__status { display: block; }
  .kbc-testimonials__actions {
    flex-direction: column;
    align-items: stretch;
  }
  .kbc-testimonials__actions .kbc-gbtn { justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  .kbc-testimonials__viewport { scroll-behavior: auto; }
  .kbc-testimonials__summary,
  .kbc-testimonials__dot,
  .kbc-review-card__media img { transition: none; }
}
