/* ========== TRUST V2 — Figma 61:18 (updated) ========== */

.trust-v2 {
  color: #3b3b3b;
}

.trust-v2__inner {
  width: min(100% - 40px, var(--content));
  margin: 0 auto;
}

.trust-v2__head {
  max-width: 769px;
  margin: 0 auto 48px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: center;
}

.trust-v2__head h2 {
  font-size: 40px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.8px;
  color: #3b3b3b;
}

.trust-v2__head p {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.4;
  color: #5b5b5b;
}

.trust-v2__grid {
  display: grid;
  grid-template-columns: minmax(0, 787fr) minmax(0, 557fr);
  gap: 16px;
  align-items: stretch;
}

/* --- Feature card (left) --- */
.trust-v2__feature {
  position: relative;
  min-height: 476px;
  border-radius: 12px;
  overflow: hidden;
}

.trust-v2__feature-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.trust-v2__feature-icon {
  position: absolute;
  left: 0;
  top: 0;
  width: 324px;
  max-width: 41%;
  height: auto;
  z-index: 2;
  pointer-events: none;
}

.trust-v2__feature-copy {
  position: absolute;
  left: 32px;
  bottom: 32px;
  z-index: 2;
  width: min(calc(100% - 280px), 292px);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.trust-v2__feature-copy h3 {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.24px;
  color: #12131a;
}

.trust-v2__feature-copy p {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  color: #5b5b5b;
}

.trust-v2__feature-photo {
  position: absolute;
  right: 0;
  top: 0;
  width: 492px;
  max-width: 62.5%;
  height: 100%;
  margin: 0;
  pointer-events: none;
}

.trust-v2__feature-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

/* --- Right cards --- */
.trust-v2__cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.trust-v2__card {
  flex: 1;
  padding: 8px;
  border-radius: 12px;
  background: #e9e0d2;
}

.trust-v2__card-inner {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 12px;
  min-height: 214px;
  height: 100%;
  padding: 24px 16px 24px 24px;
  border: 1px solid #d7d0c5;
  border-radius: 8px;
  background: #fff;
}

.trust-v2__card-copy {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  justify-content: flex-start;
}

.trust-v2__card-copy h3 {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.22px;
  color: #12131a;
}

.trust-v2__card-copy p {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  color: #5b5b5b;
}

.trust-v2__card-icon {
  flex-shrink: 0;
  width: 136px;
  height: 214px;
  object-fit: contain;
  object-position: center;
}

.trust-v2__card-icon--chart {
  width: 163px;
}

/* --- Stats row --- */
.trust-v2__stats {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: stretch;
  gap: 0;
  margin-top: 48px;
}

.trust-v2__stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 0 20px;
}

.trust-v2__stat:first-child {
  padding-left: 0;
}

.trust-v2__stat:last-child {
  padding-right: 0;
}

.trust-v2__stat strong {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.24px;
  color: #12131a;
}

.trust-v2__stat span {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  color: #5b5b5b;
}

.trust-v2__divider {
  width: 1px;
  align-self: stretch;
  background: #d7d0c5;
}

/* --- Responsive --- */
@media (max-width: 1200px) {
  .trust-v2__feature-copy {
    width: min(calc(100% - 48px), 320px);
  }

  .trust-v2__feature-photo {
    max-width: 55%;
  }

  .trust-v2__stats {
    grid-template-columns: 1fr auto 1fr;
    gap: 24px 0;
    row-gap: 28px;
  }

  .trust-v2__stat {
    padding: 0 16px;
  }

  .trust-v2__stat:nth-child(1),
  .trust-v2__stat:nth-child(5) {
    padding-left: 0;
  }

  .trust-v2__stat:nth-child(3),
  .trust-v2__stat:nth-child(7) {
    padding-right: 0;
  }

  .trust-v2__divider:nth-child(4) {
    display: none;
  }
}

@media (max-width: 1024px) {
  .trust-v2__grid {
    grid-template-columns: 1fr;
  }

  .trust-v2__feature {
    min-height: 420px;
  }

  .trust-v2__feature-photo {
    max-width: 50%;
  }

  .trust-v2__cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .trust-v2__head h2 {
    font-size: 32px;
    letter-spacing: -0.64px;
  }

  .trust-v2__head p {
    font-size: 18px;
  }

  .trust-v2__feature {
    min-height: 520px;
  }

  .trust-v2__feature-icon {
    left: 20px;
    width: min(55%, 260px);
  }

  .trust-v2__feature-copy {
    left: 20px;
    right: 20px;
    bottom: 20px;
    width: auto;
  }

  .trust-v2__feature-photo {
    position: relative;
    width: 100%;
    max-width: none;
    height: 280px;
  }

  .trust-v2__cards {
    grid-template-columns: 1fr;
  }

  .trust-v2__card-inner {
    flex-direction: column-reverse;
    min-height: 0;
    padding: 20px;
  }

  .trust-v2__card-icon,
  .trust-v2__card-icon--chart {
    width: 120px;
    height: 120px;
    margin: 0 auto;
  }

  .trust-v2__stats {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 32px;
  }

  .trust-v2__stat {
    padding: 0;
  }

  .trust-v2__divider {
    display: none;
  }
}
