:root {
  --trust-deep: #071a36;
  --trust-ink: #0b1f3a;
  --trust-blue: #155eef;
  --trust-line: #d9e5f5;
  --trust-soft: #f5f8fe;
}

.desktop-nav { gap: 32px; }

.trust-section {
  position: relative;
  padding: 108px 0;
  scroll-margin-top: 32px;
}

.trust-shell {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.trust-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 480px);
  align-items: end;
  gap: 54px;
  margin-bottom: 34px;
}

.trust-heading p,
.certificate-copy > p {
  margin: 0 0 13px;
  color: var(--trust-blue);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .18em;
}

.trust-heading h2,
.certificate-copy h2 {
  margin: 0;
  color: var(--trust-ink);
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.12;
  letter-spacing: -.04em;
}

.trust-heading > span,
.certificate-copy > span {
  color: #60738e;
  font-size: 16px;
  line-height: 1.8;
}

.testimonials-section {
  background:
    radial-gradient(circle at 8% 0%, rgba(21, 94, 239, .09), transparent 28%),
    radial-gradient(circle at 92% 88%, rgba(120, 87, 237, .08), transparent 25%),
    #f7faff;
}

.trust-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 30px;
  border: 1px solid rgba(203, 218, 242, .9);
  border-radius: 17px;
  background: rgba(255, 255, 255, .76);
  box-shadow: 0 14px 38px rgba(34, 75, 142, .07);
  overflow: hidden;
}

.trust-metrics span {
  min-height: 86px;
  padding: 20px 26px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #657892;
  font-size: 14px;
}

.trust-metrics span + span { border-left: 1px solid #e2eaf6; }
.trust-metrics b { color: var(--trust-blue); font-size: 23px; }

.media-carousel { position: relative; }

.media-track {
  display: flex;
  gap: 20px;
  padding: 3px 3px 18px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.media-track::-webkit-scrollbar { display: none; }

.review-card {
  position: relative;
  flex: 0 0 348px;
  margin: 0;
  border: 1px solid #dce7f5;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(25, 68, 131, .1);
  overflow: hidden;
  scroll-snap-align: start;
  cursor: zoom-in;
  transition: transform .2s ease, box-shadow .2s ease;
}

.review-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 26px 55px rgba(25, 68, 131, .15);
}

.review-card img {
  width: 100%;
  height: 335px;
  display: block;
  object-fit: contain;
  object-position: center;
  background: #eef0f4;
}

.review-card figcaption {
  min-height: 96px;
  padding: 18px 20px;
  display: grid;
  align-content: center;
  gap: 7px;
}

.review-card figcaption span {
  color: var(--trust-blue);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
}

.review-card figcaption b {
  color: var(--trust-ink);
  font-size: 16px;
  line-height: 1.45;
}

.carousel-control {
  position: absolute;
  z-index: 4;
  top: 50%;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(21, 94, 239, .2);
  border-radius: 50%;
  color: var(--trust-blue);
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 10px 26px rgba(25, 68, 131, .16);
  cursor: pointer;
  transform: translateY(-50%);
  transition: transform .18s ease, background .18s ease;
}

.carousel-control:hover { background: #eef4ff; transform: translateY(-50%) scale(1.06); }
.carousel-control.previous { left: -23px; }
.carousel-control.next { right: -23px; }

.privacy-note,
.partners-note {
  margin: 13px 0 0;
  color: #8192a8;
  font-size: 12px;
}

.certificate-section {
  color: #fff;
  background:
    radial-gradient(circle at 80% 10%, rgba(75, 134, 255, .26), transparent 31%),
    linear-gradient(130deg, #06152e, #0b2854 63%, #102f64);
}

.certificate-shell {
  display: grid;
  grid-template-columns: 292px minmax(0, 1fr);
  align-items: center;
  gap: 60px;
}

.certificate-copy > p { color: #79a8ff; }
.certificate-copy h2 { color: #fff; font-size: clamp(36px, 4.1vw, 54px); }
.certificate-copy > span { display: block; margin-top: 22px; color: rgba(255, 255, 255, .68); }
.certificate-copy > small { display: block; margin-top: 16px; color: rgba(255, 255, 255, .5); }

.certificate-stats {
  margin-top: 34px;
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.certificate-stats b {
  color: #8db5ff;
  font-size: 64px;
  line-height: 1;
  letter-spacing: -.06em;
}

.certificate-stats span { color: rgba(255, 255, 255, .78); font-size: 14px; }

.certificate-grid {
  display: grid;
  grid-auto-flow: column;
  grid-template-rows: repeat(2, 294px);
  grid-auto-columns: 184px;
  gap: 18px;
  padding: 8px 4px 16px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scrollbar-color: rgba(255, 255, 255, .28) transparent;
}

.certificate-grid figure {
  position: relative;
  margin: 0;
  padding: 10px 10px 12px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 13px;
  background: rgba(255, 255, 255, .08);
  cursor: zoom-in;
  overflow: hidden;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.certificate-grid figure:hover {
  transform: translateY(-4px);
  border-color: rgba(141, 181, 255, .7);
  background: rgba(255, 255, 255, .12);
}

.certificate-grid img {
  width: 100%;
  height: 226px;
  display: block;
  border-radius: 7px;
  object-fit: cover;
  object-position: center top;
  background: #fff;
}

.certificate-grid figcaption {
  margin-top: 9px;
  color: rgba(255, 255, 255, .76);
  font-size: 11px;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.partners-section {
  background:
    linear-gradient(180deg, rgba(244, 248, 254, .7), #fff 25%, #fff 76%, rgba(244, 248, 254, .8));
  overflow: hidden;
}

.partners-heading { margin-bottom: 44px; }

.partner-marquee {
  position: relative;
  display: grid;
  gap: 16px;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.partner-track {
  display: flex;
  width: max-content;
  gap: 16px;
  animation: partnerMove 48s linear infinite;
}

.partner-track.reverse { animation-name: partnerMoveReverse; animation-duration: 52s; }
.partner-marquee:hover .partner-track { animation-play-state: paused; }

.partner-set {
  display: flex;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.partner-set li {
  width: 232px;
  min-height: 114px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 15px;
  border: 1px solid #e0e8f4;
  border-radius: 15px;
  background: rgba(255, 255, 255, .95);
  box-shadow: 0 10px 28px rgba(29, 71, 130, .07);
}

.partner-set img {
  width: 78px;
  height: 78px;
  flex: 0 0 auto;
  display: block;
  border-radius: 12px;
  object-fit: contain;
  object-position: 50% 50%;
  background: #fff;
  image-rendering: auto;
}

.partner-set span {
  color: #263e60;
  font-size: 15px;
  font-weight: 750;
  line-height: 1.35;
}

.partners-note { text-align: center; margin-top: 24px; }

@keyframes partnerMove { to { transform: translateX(calc(-50% - 8px)); } }
@keyframes partnerMoveReverse { from { transform: translateX(calc(-50% - 8px)); } to { transform: translateX(0); } }

.media-lightbox[hidden] { display: none; }

.media-lightbox {
  position: fixed;
  inset: 0;
  z-index: 3000;
  padding: 56px;
  display: grid;
  place-items: center;
  background: rgba(4, 16, 34, .86);
  backdrop-filter: blur(9px);
}

.media-lightbox figure {
  max-width: min(1120px, calc(100vw - 112px));
  max-height: calc(100vh - 112px);
  margin: 0;
  padding: 13px;
  display: grid;
  gap: 10px;
  border-radius: 17px;
  background: #fff;
  box-shadow: 0 34px 110px rgba(0, 0, 0, .45);
}

.media-lightbox img {
  max-width: 100%;
  max-height: calc(100vh - 190px);
  display: block;
  margin: auto;
  border-radius: 10px;
  object-fit: contain;
}

.media-lightbox figcaption {
  padding: 2px 7px 4px;
  color: #405675;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
}

.media-lightbox-close {
  position: fixed;
  top: 20px;
  right: 24px;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, .5);
  border-radius: 50%;
  color: #fff;
  background: rgba(255, 255, 255, .1);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

@media (max-width: 1180px) {
  .desktop-nav { gap: 20px; font-size: 13px; }
  .certificate-shell { grid-template-columns: 250px minmax(0, 1fr); gap: 38px; }
}

@media (max-width: 860px) {
  .trust-section { padding: 76px 0; }
  .trust-shell { width: min(100% - 32px, 720px); }
  .trust-heading { grid-template-columns: 1fr; gap: 16px; }
  .trust-heading > span { max-width: 620px; }
  .trust-metrics { grid-template-columns: 1fr; }
  .trust-metrics span { min-height: 64px; padding: 15px 20px; }
  .trust-metrics span + span { border-left: 0; border-top: 1px solid #e2eaf6; }
  .carousel-control { display: none; }
  .review-card { flex-basis: min(82vw, 348px); }
  .certificate-shell { grid-template-columns: 1fr; gap: 34px; }
  .certificate-copy { max-width: 640px; }
  .certificate-copy > span { margin-top: 16px; }
  .certificate-stats { margin-top: 24px; }
  .certificate-grid { grid-template-rows: 294px; }
  .partner-marquee {
    margin-inline: -16px;
    mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
  }
  .partner-set li { width: 214px; min-height: 104px; }
}

@media (max-width: 560px) {
  .trust-section { padding: 62px 0; }
  .trust-heading h2,
  .certificate-copy h2 { font-size: 34px; }
  .review-card img { height: 300px; }
  .certificate-stats b { font-size: 54px; }
  .certificate-grid { grid-auto-columns: 174px; }
  .partner-set li { width: 204px; min-height: 100px; padding: 12px 14px; }
  .partner-set img { width: 68px; height: 68px; }
  .media-lightbox { padding: 50px 14px 18px; }
  .media-lightbox figure { max-width: calc(100vw - 28px); max-height: calc(100vh - 68px); }
  .media-lightbox img { max-height: calc(100vh - 145px); }
}

@media (prefers-reduced-motion: reduce) {
  .partner-track,
  .partner-track.reverse { animation: none; transform: none; }
  .partner-marquee { overflow-x: auto; mask-image: none; -webkit-mask-image: none; }
}
