.site-footer {
  background: #171610;
  color: #bdb6a6;
  font-family: "DM Sans", sans-serif;
  font-size: 13px;
  padding: 42px 0 28px;
}

.site-footer *,
.site-footer *::before,
.site-footer *::after {
  box-sizing: border-box;
}

.site-footer__shell {
  margin: 0 auto;
  max-width: 1400px;
  padding: 0 24px;
  width: calc(100% - 64px);
}

.site-footer__top {
  align-items: start;
  border-bottom: 1px solid rgba(199, 164, 63, 0.22);
  display: grid;
  gap: 72px;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.8fr);
  padding: 0 28px 34px;
}

.site-footer__brand > .site-footer__logo {
  display: inline-block;
  padding: 16px 20px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid #e7dfca;
  max-width: 100%;
}

.site-footer__brand img {
  display: block;
  height: auto;
  max-width: 100%;
  width: 340px;
}

.site-footer__brand p {
  color: #d3cbbb;
  font-size: 15px;
  line-height: 1.65;
  margin: 18px 0 0;
  max-width: 480px;
}

.site-footer__contact h2 {
  color: #fffaf0;
  font-size: 17px;
  font-weight: 600;
  margin: 0 0 15px;
}

.site-footer__contact-list {
  display: grid;
  gap: 12px;
}

.site-footer__contact-item {
  align-items: center;
  color: #d3cbbb;
  display: flex;
  font-size: 14px;
  gap: 12px;
  line-height: 1.5;
}

.site-footer__contact-item svg {
  color: #c7a43f;
  flex: 0 0 16px;
  height: 16px;
  width: 16px;
}

.site-footer a {
  color: inherit;
  text-underline-offset: 3px;
}

.site-footer__legal {
  color: #b5ad9d;
  margin: 0 auto;
  max-width: 1120px;
  padding: 20px 20px 0;
  text-align: center;
}

.site-footer__legal-links {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  justify-content: center;
  margin-bottom: 14px;
}

.site-footer__legal-links a {
  color: #e9d8ae;
  font-size: 13px;
}

.site-footer__legal-links span {
  color: #8e7c4c;
}

.site-footer__legal p {
  font-size: 12px;
  line-height: 1.55;
  margin: 0 auto 14px;
  max-width: 1060px;
}

.site-footer__copyright {
  color: #c8bda5;
  letter-spacing: 0.01em;
  margin: 16px auto 0 !important;
}

.site-footer a:hover {
  color: #e7c65d;
}

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

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

  .site-footer__shell {
    padding: 0;
    width: calc(100% - 40px);
  }

  .site-footer__top {
    gap: 32px;
    grid-template-columns: 1fr;
    padding: 0 0 28px;
  }

  .site-footer__brand img {
    width: min(300px, 100%);
  }

  .site-footer__brand p {
    font-size: 14px;
  }

  .site-footer__contact h2 {
    margin-bottom: 12px;
  }

  .site-footer__legal {
    padding: 18px 0 0;
  }

  .site-footer__legal-links {
    gap: 8px;
    margin-bottom: 16px;
  }

  .site-footer__legal p {
    font-size: 11px;
    margin-bottom: 14px;
  }
}
