.company-trust {
  display: grid;
  grid-template-columns: minmax(0, 652fr) minmax(0, 674fr);
  gap: 56px;
  width: calc(100% - 40px);
  height: 520px;
  margin-inline: 20px;
  color: var(--color-light);
  background: var(--color-dark);
  border: 1px solid rgba(244, 246, 244, 0.1);
}

.company-trust__media {
  width: 100%;
  height: 520px;
  margin: -1px 0 0 -1px;
  overflow: hidden;
  background: #1b211e;
  border-radius: 18px;
}

.company-trust__media img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}

.company-trust__content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 520px;
  margin-top: -1px;
}

.company-trust__copy {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.company-trust blockquote {
  width: 100%;
  margin: 0;
  color: var(--color-light);
  font-size: 32px;
  font-weight: 500;
  line-height: 43.2px;
  letter-spacing: -0.32px;
}

.company-trust__facts {
  width: 100%;
  height: 180px;
  margin: 0;
  padding-top: 32px;
}

.company-trust__facts div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 49px;
  border-top: 1px solid rgba(244, 246, 245, 0.12);
}

.company-trust__facts div:last-child {
  border-bottom: 1px solid rgba(244, 246, 245, 0.12);
}

.company-trust__facts dt,
.company-trust__facts dd {
  margin: 0;
  line-height: normal;
  white-space: nowrap;
}

.company-trust__facts dt {
  color: rgba(244, 246, 245, 0.5);
  font-size: 14px;
  font-weight: 400;
}

.company-trust__facts dd {
  color: var(--color-light);
  font-size: 15px;
  font-weight: 600;
}

.company-trust__contacts {
  display: flex;
  gap: 12px;
  height: 52px;
}

.company-trust__contacts a {
  display: inline-flex;
  align-items: center;
  height: 52px;
  padding: 16px 24px;
  border-radius: 11px;
  font-size: 15px;
  font-weight: 600;
  line-height: normal;
  white-space: nowrap;
  transition: transform 220ms ease, border-color 220ms ease;
}

.company-trust__contacts a:active {
  transform: translateY(1px);
}

.company-trust__phone {
  color: #121614;
  background: var(--color-yellow);
  border: 1px solid var(--color-yellow);
}

.company-trust__email {
  color: var(--color-light);
  background: rgba(244, 246, 245, 0.08);
  border: 1px solid rgba(244, 246, 245, 0.2);
}

.company-trust__contacts a:focus-visible {
  outline: 2px solid var(--color-yellow);
  outline-offset: 3px;
}

@media (max-width: 1050px) {
  .company-trust {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 32px;
  }

  .company-trust blockquote {
    font-size: 27px;
    line-height: 36px;
  }
}

@media (max-width: 800px) {
  .company-trust {
    grid-template-columns: 1fr;
    height: auto;
  }

  .company-trust__media {
    height: 460px;
  }

  .company-trust__content {
    height: auto;
    gap: 42px;
  }
}

@media (max-width: 520px) {
  .company-trust {
    gap: 28px;
  }

  .company-trust__media {
    height: 360px;
  }

  .company-trust blockquote {
    font-size: 24px;
    line-height: 32px;
  }

  .company-trust__contacts {
    flex-direction: column;
    height: auto;
  }

  .company-trust__contacts a {
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .company-trust__contacts a {
    transition-duration: 1ms;
  }
}
