.proof-section {
  overflow: hidden;
  padding: 84px 0 72px;
  color: #101a38;
  background:
    radial-gradient(circle at 8% 15%, rgba(255, 216, 67, .17), transparent 24%),
    radial-gradient(circle at 92% 80%, rgba(103, 87, 245, .13), transparent 26%),
    #f8f9fd;
}

.proof-section--inside {
  width: calc(100% + 80px);
  margin: 28px -40px 0;
  padding: 54px 0 46px;
  border-top: 1px solid #e2e7f1;
  border-bottom: 1px solid #e2e7f1;
}

.proof-heading {
  max-width: 780px;
  margin-bottom: 30px;
  text-align: center;
}

.proof-section--inside .proof-heading,
.proof-section--inside .proof-footer {
  width: min(780px, calc(100% - 48px));
  margin-right: auto;
  margin-left: auto;
}

.proof-heading h2 {
  margin: 8px 0 12px;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.03;
  letter-spacing: -.05em;
}

.proof-section--inside .proof-heading h2 {
  font-size: clamp(28px, 3.4vw, 42px);
}

.proof-heading > p:last-child {
  margin: 0 auto;
  max-width: 650px;
  color: #65718c;
  font-size: 14px;
  line-height: 1.65;
}

.proof-viewport {
  position: relative;
  width: 100%;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scrollbar-width: none;
  cursor: grab;
  touch-action: pan-x pan-y;
}

.proof-viewport::-webkit-scrollbar { display: none; }
.proof-viewport:active { cursor: grabbing; }
.proof-viewport:focus-visible { outline: 3px solid rgba(103, 87, 245, .35); outline-offset: -3px; }

.proof-track {
  display: flex;
  align-items: stretch;
  gap: 18px;
  width: max-content;
  padding: 8px 18px 18px;
}

.proof-card {
  position: relative;
  display: flex;
  overflow: hidden;
  flex: 0 0 clamp(260px, 25vw, 340px);
  flex-direction: column;
  min-width: 0;
  padding: 0;
  border: 1px solid #dce3ef;
  border-radius: 22px;
  color: #101a38;
  background: #fff;
  box-shadow: 0 18px 48px rgba(30, 43, 79, .11);
  text-align: left;
  cursor: zoom-in;
  appearance: none;
  transition: transform .25s ease, box-shadow .25s ease;
}

.proof-card:hover,
.proof-card:focus-visible {
  transform: translateY(-5px);
  box-shadow: 0 24px 58px rgba(30, 43, 79, .17);
}

.proof-card:focus-visible { outline: 3px solid rgba(103, 87, 245, .42); outline-offset: 3px; }

.proof-card img {
  display: block;
  width: 100%;
  height: 430px;
  object-fit: cover;
  object-position: top center;
  background: #f3f4f8;
}

.proof-card > span {
  display: flex;
  gap: 4px;
  flex-direction: column;
  padding: 16px 18px 18px;
}

.proof-card strong { font-size: 15px; }
.proof-card small { color: #6d7891; font-size: 11px; line-height: 1.4; }

.proof-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 18px;
}

.proof-footer > span {
  flex: 0 0 auto;
  padding: 8px 12px;
  border: 1px solid #dbe2ef;
  border-radius: 999px;
  color: #5d6881;
  background: rgba(255,255,255,.8);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.proof-footer p {
  margin: 0;
  color: #7a849b;
  font-size: 10px;
  line-height: 1.55;
  text-align: right;
}

.proof-dialog {
  width: min(92vw, 560px);
  max-height: 90vh;
  padding: 46px 12px 14px;
  border: 0;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 30px 90px rgba(3, 8, 25, .35);
}

.proof-dialog::backdrop { background: rgba(7, 12, 28, .78); backdrop-filter: blur(5px); }
.proof-dialog img { display: block; width: 100%; max-height: 76vh; object-fit: contain; border-radius: 13px; }
.proof-dialog p { margin: 11px 4px 0; color: #34405b; font-size: 12px; font-weight: 800; }
.proof-dialog button { position: absolute; top: 12px; right: 12px; padding: 7px 11px; border: 0; border-radius: 999px; color: #fff; background: #101a38; font-size: 11px; font-weight: 800; cursor: pointer; }

@media (max-width: 700px) {
  .proof-section { padding: 60px 0 52px; }
  .proof-section--inside { width: calc(100% + 32px); margin-right: -16px; margin-left: -16px; padding: 46px 0 42px; }
  .proof-heading { width: calc(100% - 40px); margin-right: auto; margin-left: auto; }
  .proof-heading h2 { font-size: 34px; }
  .proof-track { gap: 12px; padding-right: 14px; padding-left: 14px; }
  .proof-card { flex-basis: min(78vw, 310px); border-radius: 18px; }
  .proof-card img { height: 390px; }
  .proof-footer { align-items: flex-start; flex-direction: column; width: calc(100% - 40px); gap: 10px; }
  .proof-footer p { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  .proof-card { transition: none; }
}
