.social-proof {
  position: relative;
  padding: 104px 24px 96px;
  background:
    linear-gradient(180deg, #fbfdff 0%, #f3f7fb 48%, #edf4fa 100%);
  overflow: hidden;
}

.social-proof::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.76) 0%, rgba(255, 255, 255, 0) 28%, rgba(255, 255, 255, 0.58) 100%),
    linear-gradient(180deg, rgba(13, 27, 62, 0.04) 0%, rgba(13, 27, 62, 0) 38%);
}

.social-proof::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: min(1120px, calc(100% - 48px));
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(146, 169, 196, 0.72), transparent);
}

.social-proof__container {
  position: relative;
  z-index: 1;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.social-proof__intro {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.social-proof__title {
  margin: 0;
  color: #0d1b3e;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.social-proof__description {
  margin: 18px auto 0;
  max-width: 42rem;
  color: #61738d;
  font-size: 1rem;
  line-height: 1.8;
}

.social-proof__gallery {
  margin-top: 38px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
  perspective: 1400px;
}

.social-proof__card {
  position: relative;
  isolation: isolate;
  min-height: 100%;
  padding: 26px;
  border-radius: 20px;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 251, 255, 0.96) 52%, rgba(238, 245, 252, 0.94) 100%);
  border: 1px solid rgba(204, 219, 236, 0.88);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    0 28px 58px rgba(18, 35, 64, 0.1),
    0 10px 24px rgba(93, 137, 178, 0.08);
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease,
    border-color 0.28s ease;
}

.social-proof__card::before {
  content: "";
  position: absolute;
  inset: 1px;
  z-index: -1;
  border-radius: 19px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0) 36%),
    linear-gradient(315deg, rgba(242, 189, 36, 0.12), rgba(242, 189, 36, 0) 42%);
}

.social-proof__card::after {
  content: "\201C";
  position: absolute;
  right: 20px;
  bottom: -28px;
  z-index: -1;
  color: rgba(13, 27, 62, 0.06);
  font-size: 8rem;
  font-weight: 800;
  line-height: 1;
}

.social-proof__card:hover {
  transform: translateY(-6px);
  border-color: rgba(242, 189, 36, 0.58);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.98),
    0 38px 72px rgba(18, 35, 64, 0.14),
    0 16px 34px rgba(242, 189, 36, 0.1);
}

.social-proof__card--featured {
  transform: translateY(-10px);
}

.social-proof__card--compact {
  min-height: 260px;
}

.social-proof__rating {
  color: #f2bd24;
  font-size: 1.18rem;
  letter-spacing: 0.08em;
  line-height: 1;
  text-shadow: 0 8px 20px rgba(242, 189, 36, 0.24);
}

.social-proof__quote {
  margin: 0;
  color: #18243a;
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.62;
}

.social-proof__meta {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid rgba(204, 219, 236, 0.84);
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.social-proof__name {
  color: #0d1b3e;
  font-size: 0.96rem;
  font-weight: 800;
  letter-spacing: 0;
}

.social-proof__cta-wrap {
  margin-top: 28px;
  display: flex;
  justify-content: center;
}

.social-proof__cta {
  min-height: 54px;
  padding: 0 30px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #ffffff;
  background: linear-gradient(180deg, #161921 0%, #090b11 100%);
  box-shadow: 0 18px 34px rgba(9, 11, 17, 0.18);
  font-size: 0.98rem;
  font-weight: 700;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.social-proof__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 40px rgba(9, 11, 17, 0.24);
}
