.sb-social-proof {
  --sb-social-shell: min(1824px, calc(100% - 224px));

  padding: 96px 0;
  color: #111827;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg-white);
}

.sb-social-proof .container {
  width: var(--sb-social-shell);
  max-width: none;
}

.sb-social-proof-symbols {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.sb-social-proof-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 56px;
  align-items: end;
  margin-bottom: 66px;
}

.sb-social-proof-copy {
  max-width: 900px;
}

.sb-social-proof-copy span {
  display: block;
  margin-bottom: 22px;
  color: #1572e8;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
}

.sb-social-proof h2 {
  max-width: 860px;
  margin: 0 0 22px;
  color: #111827;
  font-size: 54px;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: 0;
}

.sb-social-proof-copy p {
  max-width: 780px;
  margin: 0;
  color: #4b5563;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.68;
}

.sb-social-proof-rating {
  min-width: 236px;
  display: grid;
  gap: 10px;
  justify-items: end;
  color: #111827;
  text-decoration: none;
}

.sb-social-proof-score {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.sb-social-proof-score strong {
  color: #111827;
  font-size: 44px;
  font-weight: 600;
  line-height: 1;
}

.sb-social-proof-score span,
.sb-social-proof-stars {
  color: #e7711b;
  letter-spacing: 2px;
}

.sb-social-proof-score span {
  font-size: 22px;
  line-height: 1;
}

.sb-social-proof-powered {
  color: #6b7280;
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
}

.sb-social-proof-powered b {
  margin-left: 4px;
  font-weight: 600;
}

.sb-social-proof-powered i {
  font-style: normal;
}

.sb-social-proof-powered i:nth-child(1),
.sb-social-proof-powered i:nth-child(4) {
  color: #4285f4;
}

.sb-social-proof-powered i:nth-child(2),
.sb-social-proof-powered i:nth-child(6) {
  color: #ea4335;
}

.sb-social-proof-powered i:nth-child(3) {
  color: #fbbc05;
}

.sb-social-proof-powered i:nth-child(5) {
  color: #34a853;
}

.sb-social-proof-reviews {
  position: relative;
  overflow: hidden;
  --sb-social-bleed: 34px;
  --sb-social-card-gap: 18px;
  --sb-social-card-width: calc((100% - (var(--sb-social-card-gap) * 3)) / 4);
  --sb-social-card-step: calc(var(--sb-social-card-width) + var(--sb-social-card-gap));
  --sb-social-card-step-1: calc(0px - var(--sb-social-card-step));
  --sb-social-card-step-2: calc(var(--sb-social-card-step-1) - var(--sb-social-card-step));
  --sb-social-card-step-3: calc(var(--sb-social-card-step-2) - var(--sb-social-card-step));
  --sb-social-card-step-4: calc(var(--sb-social-card-step-3) - var(--sb-social-card-step));

  width: calc(100% + (var(--sb-social-bleed) * 2));
  margin-left: calc(var(--sb-social-bleed) * -1);
  padding: 18px var(--sb-social-bleed) 30px;
  background: transparent;
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
}

.sb-social-proof-reviews::before,
.sb-social-proof-reviews::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 2;
  width: 42px;
  pointer-events: none;
}

.sb-social-proof-reviews::before {
  left: 0;
  background: linear-gradient(90deg, #ffffff 0%, rgba(255, 255, 255, 0.98) 46%, rgba(255, 255, 255, 0) 100%);
}

.sb-social-proof-reviews::after {
  right: 0;
  background: linear-gradient(270deg, #ffffff 0%, rgba(255, 255, 255, 0.98) 46%, rgba(255, 255, 255, 0) 100%);
}

.sb-social-proof-track {
  display: flex;
  gap: var(--sb-social-card-gap);
  width: 100%;
  animation: sb-social-proof-step 20s infinite;
  will-change: transform;
}

.sb-social-proof-reviews:hover .sb-social-proof-track {
  animation-play-state: paused;
}

.sb-social-proof-reviews.is-controlled .sb-social-proof-track {
  animation: none;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.sb-social-proof-reviews.is-dragging {
  cursor: grabbing;
}

.sb-social-proof-reviews.is-dragging .sb-social-proof-track {
  transition: none;
}

.sb-social-proof-reviews.is-dragging a {
  pointer-events: none;
}

.sb-social-proof-card {
  width: var(--sb-social-card-width);
  min-height: 294px;
  flex: 0 0 auto;
}

.sb-social-proof-card a {
  height: 100%;
  display: block;
  padding: 24px;
  border: 1px solid rgba(217, 226, 239, 0.74);
  border-radius: 24px;
  color: #111827;
  background: #ffffff;
  box-shadow: 0 10px 22px rgba(17, 24, 39, 0.035);
  text-decoration: none;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.sb-social-proof-card a:hover,
.sb-social-proof-card a:focus {
  transform: translateY(-2px);
  border-color: rgba(21, 114, 232, 0.30);
  box-shadow: 0 16px 32px rgba(17, 24, 39, 0.06);
  text-decoration: none;
}

.sb-social-proof-card-top {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 22px;
  gap: 12px;
  align-items: center;
}

.sb-social-proof-card-top img {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  object-fit: cover;
}

.sb-social-proof-card-top strong,
.sb-social-proof-card-top span {
  display: block;
}

.sb-social-proof-card-top strong {
  color: #111827;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.25;
}

.sb-social-proof-card-top span {
  margin-top: 3px;
  color: #6b7280;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
}

.sb-social-proof-google {
  width: 22px;
  height: 22px;
  display: block;
}

.sb-social-proof-stars {
  margin-top: 18px;
  font-size: 18px;
  line-height: 1;
}

.sb-social-proof-card p {
  margin: 22px 0 0;
  color: #4b5563;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.62;
}

.sb-social-proof-footer {
  display: flex;
  justify-content: center;
  margin-top: 38px;
}

.sb-social-proof-footer a {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(90deg, #073fb8 0 50%, #1572e8 50% 100%);
  background-size: 200% 100%;
  background-position: 100% 0;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: background-position 0.34s ease, color 0.18s ease;
}

.sb-social-proof-footer a:hover,
.sb-social-proof-footer a:focus {
  color: #ffffff;
  background-position: 0 0;
  text-decoration: none;
}

@keyframes sb-social-proof-step {
  0%,
  17% {
    transform: translate3d(0, 0, 0);
  }

  22%,
  39% {
    transform: translate3d(var(--sb-social-card-step-1), 0, 0);
  }

  44%,
  61% {
    transform: translate3d(var(--sb-social-card-step-2), 0, 0);
  }

  66%,
  83% {
    transform: translate3d(var(--sb-social-card-step-3), 0, 0);
  }

  88%,
  100% {
    transform: translate3d(var(--sb-social-card-step-4), 0, 0);
  }
}

@media (max-width: 1499.98px) {
  .sb-social-proof {
    --sb-social-shell: min(1520px, calc(100% - 120px));
  }
}

@media (max-width: 1099.98px) {
  .sb-social-proof {
    --sb-social-shell: calc(100% - 56px);
    padding: 96px 0;
  }

  .sb-social-proof-heading {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .sb-social-proof h2 {
    max-width: 820px;
    font-size: 44px;
    line-height: 1.14;
  }

  .sb-social-proof-copy p {
    font-size: 18px;
  }

  .sb-social-proof-rating {
    justify-items: start;
  }

  .sb-social-proof-score {
    justify-content: flex-start;
  }

  .sb-social-proof-reviews {
    --sb-social-bleed: 28px;
    --sb-social-card-width: calc((100% - var(--sb-social-card-gap)) / 2);
  }
}

@media (max-width: 767.98px) {
  .sb-social-proof {
    --sb-social-shell: calc(100% - 24px);
    padding: 72px 0;
  }

  .sb-social-proof-heading {
    margin-bottom: 34px;
  }

  .sb-social-proof-copy span {
    margin-bottom: 18px;
  }

  .sb-social-proof h2 {
    font-size: 36px;
    line-height: 1.18;
  }

  .sb-social-proof-copy p {
    font-size: 16px;
    line-height: 1.72;
  }

  .sb-social-proof-score strong {
    font-size: 36px;
  }

  .sb-social-proof-score span {
    font-size: 18px;
  }

  .sb-social-proof-reviews {
    --sb-social-bleed: 24px;
    --sb-social-card-gap: 14px;
    --sb-social-card-width: calc(100vw - (var(--sb-social-bleed) * 2));
    width: 100vw;
    margin-left: calc(50% - 50vw);
    padding: 14px var(--sb-social-bleed) 24px;
  }

  .sb-social-proof-reviews::before,
  .sb-social-proof-reviews::after {
    width: 24px;
  }

  .sb-social-proof-track {
    animation-duration: 18s;
  }

  .sb-social-proof-card {
    min-height: 286px;
  }

  .sb-social-proof-card a {
    padding: 22px;
    border-radius: 22px;
  }

  .sb-social-proof-card-top {
    grid-template-columns: 48px minmax(0, 1fr) 22px;
    gap: 12px;
  }

  .sb-social-proof-card-top img {
    width: 48px;
    height: 48px;
  }

  .sb-social-proof-card p {
    font-size: 16px;
    line-height: 1.65;
  }

  .sb-social-proof-footer {
    justify-content: stretch;
  }

  .sb-social-proof-footer a {
    width: 100%;
  }
}
