.vc-reviews {
  --vc-primary: var(--green, #0f6b52);
  --vc-primary-strong: var(--green-dark, #0d3c32);
  --vc-dark: var(--ink, #17211d);
  --vc-text: var(--ink, #17211d);
  --vc-muted: var(--muted, #5b665f);
  --vc-card: var(--surface, #ffffff);
  --vc-line: var(--line, #dfe6dd);
  --vc-shadow: var(--shadow, 0 16px 36px rgba(23, 33, 29, 0.12));
  --vc-per-view: 3;
  padding: clamp(56px, 7vw, 96px) 20px;
  background: var(--surface-soft, #eef5f1);
  color: var(--vc-text);
  overflow-x: clip;
}

.vc-reviews * {
  box-sizing: border-box;
}

.vc-reviews__inner {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.vc-reviews__header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: end;
  margin-bottom: 28px;
}

.vc-reviews__eyebrow {
  margin: 0 0 8px;
  color: var(--vc-primary);
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.vc-reviews__title {
  margin: 0;
  color: var(--vc-dark);
  font-size: 2.6rem;
  line-height: 1.02;
  letter-spacing: 0;
}

.vc-reviews__intro {
  max-width: 760px;
  margin: 16px 0 0;
  color: var(--vc-muted);
  font-size: 1.06rem;
  line-height: 1.65;
}

.vc-reviews__rating {
  display: inline-flex;
  margin: 18px 0 0;
  padding: 9px 13px;
  border: 1px solid rgba(15, 118, 110, 0.18);
  border-radius: var(--radius, 8px);
  background: rgba(15, 118, 110, 0.08);
  color: var(--vc-primary-strong);
  font-weight: 800;
}

.vc-reviews__google-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border-radius: var(--radius, 8px);
  background: var(--vc-primary);
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  white-space: nowrap;
  box-shadow: 0 12px 26px rgba(15, 118, 110, 0.24);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.vc-reviews__google-link:hover {
  transform: translateY(-2px);
  background: var(--vc-primary-strong);
  box-shadow: 0 16px 30px rgba(15, 118, 110, 0.28);
}

.vc-reviews__carousel {
  position: relative;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  gap: 12px;
  align-items: center;
}

.vc-reviews__viewport {
  overflow: hidden;
  padding: 8px 2px 16px;
}

.vc-reviews__track {
  --vc-index: 0;
  display: flex;
  transform: translateX(calc(var(--vc-index) * -1 * (100% / var(--vc-per-view))));
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.vc-review-card {
  flex: 0 0 calc(100% / var(--vc-per-view));
  padding: 0 10px;
}

.vc-review-card__box {
  height: 100%;
  min-height: 310px;
  display: flex;
  flex-direction: column;
  padding: 24px;
  border: 1px solid var(--vc-line);
  border-radius: var(--radius, 8px);
  background: var(--vc-card);
  box-shadow: var(--vc-shadow);
}

.vc-review-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.vc-review-card__author {
  margin: 0;
  color: var(--vc-dark);
  font-weight: 900;
  font-size: 1.04rem;
  line-height: 1.2;
}

.vc-review-card__date {
  margin: 5px 0 0;
  color: var(--vc-muted);
  font-size: 0.9rem;
}

.vc-review-card__stars {
  color: #fbbc04;
  letter-spacing: 0;
  font-size: 1rem;
  line-height: 1;
  white-space: nowrap;
}

.vc-review-card__text {
  margin: 10px 0 0;
  color: #334155;
  line-height: 1.64;
  font-size: 0.98rem;
  white-space: pre-line;
}

.vc-review-card__text.is-clamped {
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.vc-review-card__read-more {
  align-self: flex-start;
  margin: 10px 0 0;
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--vc-primary);
  font-weight: 800;
  cursor: pointer;
}

.vc-review-card__source {
  margin: auto 0 0;
  padding-top: 18px;
  color: var(--vc-muted);
  font-size: 0.86rem;
}

.vc-reviews__nav {
  width: 44px;
  height: 44px;
  border: 1px solid var(--vc-line);
  border-radius: var(--radius, 8px);
  background: #fff;
  color: var(--vc-dark);
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.1);
  cursor: pointer;
  font-size: 2rem;
  line-height: 1;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.vc-reviews__nav:hover {
  transform: translateY(-2px);
  border-color: rgba(15, 118, 110, 0.35);
}

.vc-reviews__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
}

.vc-reviews__dot {
  width: 9px;
  height: 9px;
  border: 0;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.24);
  cursor: pointer;
  padding: 0;
}

.vc-reviews__dot.is-active {
  width: 24px;
  background: var(--vc-primary);
}

.vc-reviews__empty {
  margin: 24px 0 0;
  color: var(--vc-muted);
}

@media (max-width: 900px) {
  .vc-reviews {
    --vc-per-view: 2;
  }

  .vc-reviews__header {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .vc-reviews__google-link {
    width: fit-content;
  }

  .vc-reviews__title {
    font-size: 2.2rem;
  }
}

@media (max-width: 640px) {
  .vc-reviews {
    --vc-per-view: 1;
    padding-inline: 14px;
  }

  .vc-reviews__carousel {
    grid-template-columns: 1fr;
  }

  .vc-reviews__nav {
    position: absolute;
    z-index: 2;
    top: 50%;
    transform: translateY(-50%);
  }

  .vc-reviews__nav:hover {
    transform: translateY(-50%);
  }

  .vc-reviews__nav--prev {
    left: -4px;
  }

  .vc-reviews__nav--next {
    right: -4px;
  }

  .vc-review-card {
    padding: 0 4px;
  }

  .vc-review-card__box {
    min-height: 300px;
    padding: 22px;
  }

  .vc-reviews__title {
    font-size: 2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .vc-reviews__track,
  .vc-reviews__google-link,
  .vc-reviews__nav {
    transition: none;
  }
}


.vc-reviews__legal-note {
  max-width: 820px;
  margin: 22px auto 0;
  color: #64748b;
  font-size: 0.9rem;
  line-height: 1.55;
  text-align: center;
}

.vc-reviews__legal-note a {
  color: var(--vc-primary);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}
