.homepage-trust {
  width: 100%;
  padding: 7rem 3.2rem;
  background: #f7f9fc;
  color: #17233c;
}

.homepage-trust__container {
  width: min(100%, 116rem);
  margin: 0 auto;
}

.homepage-trust__header {
  max-width: 72rem;
  margin: 0 auto 4rem;
  text-align: center;
}

.homepage-trust__eyebrow {
  display: inline-block;
  margin-bottom: 1.2rem;
  color: #cf2340;
  font-size: 1.5rem;
  font-weight: 700;
}

.homepage-trust__header h2 {
  margin: 0;
  color: #17233c;
  font-size: clamp(2.8rem, 3vw, 4rem);
  font-weight: 800;
  line-height: 1.45;
}

.homepage-trust__header p {
  margin: 1.6rem auto 0;
  color: #526078;
  font-size: 1.7rem;
  line-height: 2;
}

.homepage-trust__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.8rem;
}

.homepage-trust__card {
  display: flex;
  min-height: 29rem;
  padding: 2.8rem 2.4rem;
  flex-direction: column;
  align-items: flex-start;
  border: 1px solid #e0e6ef;
  border-radius: 1.6rem;
  background: #fff;
  box-shadow: 0 1.2rem 3rem rgba(23, 35, 60, 0.05);
}

.homepage-trust__card--official {
  border-color: rgba(207, 35, 64, 0.3);
}

.homepage-trust__number {
  display: grid;
  width: 4.8rem;
  height: 4.8rem;
  margin-bottom: 2.2rem;
  place-items: center;
  border-radius: 50%;
  background: #eef2f8;
  color: #29436f;
  direction: ltr;
  font-size: 1.5rem;
  font-weight: 800;
}

.homepage-trust__card--official .homepage-trust__number {
  background: #fff0f3;
  color: #cf2340;
}

.homepage-trust__card h3 {
  margin: 0 0 1.2rem;
  color: #17233c;
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.6;
}

.homepage-trust__card p {
  margin: 0 0 2rem;
  color: #5a667b;
  font-size: 1.5rem;
  line-height: 1.95;
}

.homepage-trust__card a {
  display: inline-flex;
  margin-top: auto;
  gap: 0.7rem;
  align-items: center;
  color: #b71f38;
  font-size: 1.5rem;
  font-weight: 800;
  text-decoration: none;
}

.homepage-trust__card a:hover,
.homepage-trust__card a:focus-visible {
  color: #811629;
  text-decoration: underline;
}

.homepage-trust__verification {
  display: flex;
  margin-top: 2.4rem;
  padding: 2.8rem 3.2rem;
  gap: 3rem;
  align-items: center;
  justify-content: space-between;
  border-radius: 1.6rem;
  background: #172d50;
  color: #fff;
}

.homepage-trust__verification h3 {
  margin: 0 0 0.8rem;
  color: #fff;
  font-size: 2.1rem;
  font-weight: 800;
}

.homepage-trust__verification p {
  max-width: 63rem;
  margin: 0;
  color: #dce5f4;
  font-size: 1.5rem;
  line-height: 1.9;
}

.homepage-trust__verification-actions {
  display: flex;
  gap: 1.2rem;
  flex: 0 0 auto;
}

.homepage-trust__button {
  display: inline-flex;
  min-height: 4.8rem;
  padding: 1rem 2rem;
  align-items: center;
  justify-content: center;
  border: 1px solid #cf2340;
  border-radius: 0.9rem;
  background: #cf2340;
  color: #fff;
  font-size: 1.45rem;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.homepage-trust__button--outline {
  border-color: rgba(255, 255, 255, 0.55);
  background: transparent;
}

.homepage-trust__button:hover,
.homepage-trust__button:focus-visible {
  border-color: #fff;
  background: #fff;
  color: #172d50;
  text-decoration: none;
}

@media (max-width: 991.98px) {
  .homepage-trust {
    padding: 5.5rem 2.4rem;
  }

  .homepage-trust__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .homepage-trust__verification {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 575.98px) {
  .homepage-trust {
    padding: 4.5rem 1.6rem;
  }

  .homepage-trust__header {
    margin-bottom: 3rem;
  }

  .homepage-trust__grid {
    grid-template-columns: 1fr;
  }

  .homepage-trust__card {
    min-height: 0;
  }

  .homepage-trust__verification {
    padding: 2.4rem 2rem;
  }

  .homepage-trust__verification-actions {
    width: 100%;
    align-items: stretch;
    flex-direction: column;
  }

  .homepage-trust__button {
    width: 100%;
  }
}
