.trust-footer-section,
.trust-footer-section * {
  box-sizing: border-box;
}

.trust-footer-section {
  width: 100%;
  background: #000;
  color: #fff;
  padding: clamp(38px, 4vw, 56px) 24px;
}

.trust-footer-grid {
  width: min(980px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(180px, 0.7fr) minmax(0, 1fr);
  grid-template-areas: "payment brand security";
  align-items: stretch;
  gap: clamp(22px, 3vw, 40px);
}

.trust-footer-item {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.trust-footer-title {
  margin: 0 0 22px;
  color: #fff;
  font-family: inherit;
  font-size: clamp(22px, 2vw, 30px);
  font-weight: 400;
  line-height: 1.2;
}

.trust-footer-payment-item {
  grid-area: payment;
}

.trust-footer-brand-item {
  grid-area: brand;
  justify-content: center;
}

.trust-footer-security-item {
  grid-area: security;
}

.trust-footer-image {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 auto;
}

.trust-footer-payment {
  max-width: 420px;
}

.trust-footer-security {
  max-width: 320px;
  margin-top: 4px;
}

.trust-footer-brand {
  max-width: 210px;
}

@media (max-width: 767px) {
  .trust-footer-section {
    padding: 28px 10px 32px;
  }

  .trust-footer-grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.7fr) minmax(0, 1fr);
    grid-template-areas: "payment brand security";
    align-items: stretch;
    gap: 8px;
  }

  .trust-footer-title {
    margin-bottom: 10px;
    font-size: clamp(11px, 3.2vw, 14px);
    line-height: 1.15;
  }

  .trust-footer-payment {
    max-width: 92%;
  }

  .trust-footer-security {
    max-width: 85%;
    margin-top: 0;
  }

  .trust-footer-brand {
    max-width: 88%;
  }
}
