.brand {
  height: 64px;
  overflow: hidden;
}

.site-logo {
  display: block;
  height: auto;
}

.site-logo--header {
  width: 300px;
  max-width: 36vw;
  transform: translateY(-8px);
}

.site-footer {
  display: block;
  padding: 54px clamp(24px, 7vw, 120px) 24px;
  background: #172c24;
  color: #d9e1dd;
}

.site-footer__main,
.site-footer__bottom {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
}

.site-footer__main {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(150px, .7fr) minmax(190px, .8fr);
  gap: clamp(36px, 6vw, 86px);
  align-items: start;
}

.site-footer__brand-link {
  display: block;
  width: min(100%, 390px);
  line-height: 0;
  text-decoration: none;
}

.site-logo--footer {
  width: 100%;
  height: auto;
}

.site-footer__brand p {
  max-width: 470px;
  margin: 18px 0 0;
  color: #aebdb6;
  font-size: 15px;
  line-height: 1.7;
}

.site-footer h2 {
  margin: 2px 0 18px;
  color: #fff;
  font: 750 12px/1.3 "Segoe UI", Arial, sans-serif;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.site-footer__nav {
  display: grid;
  gap: 11px;
}

.site-footer__nav a,
.site-footer__author a {
  width: fit-content;
  color: #c7d3cd;
  font-size: 15px;
  line-height: 1.45;
  text-decoration: none;
  text-underline-offset: 4px;
  transition: color .16s ease, text-decoration-color .16s ease;
}

.site-footer__nav a:hover,
.site-footer__author a:hover {
  color: #f3b387;
  text-decoration: underline;
}

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

.site-footer__bottom {
  display: flex;
  margin-top: 42px;
  padding-top: 20px;
  align-items: center;
  gap: 10px;
  border-top: 1px solid rgba(255, 255, 255, .13);
  color: #91a49b;
  font-size: 13px;
  line-height: 1.5;
}

@media (max-width: 760px) {
  .brand {
    height: 56px;
  }

  .site-logo--header {
    width: 240px;
    max-width: 61vw;
  }

  .site-footer {
    padding-top: 44px;
  }

  .site-footer__main {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .site-footer__brand p {
    max-width: 520px;
  }

  .site-footer__bottom {
    margin-top: 36px;
    align-items: flex-start;
    flex-wrap: wrap;
  }
}
