.site-footer {
  position: relative;
  z-index: 2;
  padding: 32px 0 24px;
  border-top: 1px solid #a88549;
  background: #08292c;
  color: #e4eceb;
  font-size: 13px;
  line-height: 1.5;
  font-weight: 400;
  letter-spacing: 0;
}

.site-footer__inner {
  width: min(1180px, calc(100% - 48px));
  display: grid;
  grid-template-columns: .95fr 1fr 1.25fr;
  gap: 24px 36px;
  align-items: start;
  margin: 0 auto;
}

.site-footer__inner > * {
  min-width: 0;
}

.site-footer__brand strong {
  display: block;
  color: #fff;
  font-size: 20px;
  line-height: 1.2;
  font-weight: 750;
}

.site-footer__brand span {
  display: block;
  margin-top: 7px;
  color: #d8bd88;
  font-size: 12px;
}

.site-footer--main .site-footer__brand strong {
  font-size: 24px;
}

.site-footer--main .site-footer__brand span {
  font-size: 14px;
}

.site-footer__contacts {
  display: grid;
  justify-items: start;
  gap: 2px;
  margin: 0;
  font-style: normal;
  font-size: 14px;
  font-weight: 400;
}

.site-footer__contacts > span {
  margin-bottom: 4px;
}

.site-footer__contacts a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  color: #e4eceb;
  font-weight: 400;
  text-decoration: none;
  text-underline-offset: 4px;
}

.site-footer__contacts .site-footer__phone {
  color: #fff;
  font-size: inherit;
  white-space: nowrap;
}

.site-footer__contacts a:hover {
  color: #f2d29b;
  text-decoration: underline;
}

.site-footer a:focus-visible {
  outline: 2px solid #f2d29b;
  outline-offset: 4px;
  border-radius: 2px;
}

.site-footer__trust strong {
  display: block;
  margin-bottom: 6px;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
}

.site-footer__trust p {
  margin: 0;
  color: #c4d3d1;
  font-size: 13px;
  font-weight: 400;
}

.site-footer__legal {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: .95fr 2.25fr;
  gap: 16px 36px;
  align-items: start;
  padding-top: 18px;
  border-top: 1px solid #345052;
  color: #b4c6c4;
  font-size: 11px;
  line-height: 1.5;
}

.site-footer__legal p {
  margin: 0;
  font-size: inherit;
  font-weight: 400;
}

@media (max-width: 900px) {
  .site-footer__inner {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .site-footer__trust,
  .site-footer__legal {
    grid-column: 1 / -1;
  }

  .site-footer__legal {
    grid-template-columns: 1fr 2fr;
    gap: 24px;
  }
}

@media (max-width: 640px) {
  .site-footer {
    padding: 28px 0 24px;
  }

  .site-footer__inner {
    width: calc(100% - 28px);
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .site-footer__contacts a {
    min-height: 40px;
  }

  .site-footer__legal {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}
