.site-footer {
  display: block;
  padding: 0 5vw;
  color: var(--paper);
  background: #05070a;
  border-top: 1px solid var(--line);
}

.footer-main {
  display: grid;
  grid-template-columns: 1.5fr 1fr .8fr 1fr;
  gap: clamp(2rem, 5vw, 6rem);
  padding: 72px 0 68px;
}

.footer-brand > p {
  max-width: 22rem;
  margin: 28px 0 0;
  color: #ffffff8f;
  font-size: .92rem;
  line-height: 1.7;
}

.footer-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 11px;
}

.footer-column a,
.footer-column > p:not(.footer-label) {
  margin: 0;
  color: #ffffffb8;
  font-size: .86rem;
}

.footer-column a {
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
  transition: color .2s ease, border-color .2s ease;
}

.footer-column a:hover,
.footer-column a:focus-visible {
  color: #fff;
  border-color: #ffffff85;
}

.footer-label {
  margin: 0 0 15px;
  color: #d8bd84;
  font-size: clamp(.92rem,1.25vw,1.08rem);
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  padding: 24px 0 28px;
  border-top: 1px solid var(--line);
}

.footer-bottom p {
  margin: 0;
  color: #777e89;
  font-size: .7rem;
  letter-spacing: .04em;
}

@media (max-width: 900px) {
  .footer-main {
    grid-template-columns: 1.4fr 1fr;
  }
}

@media (max-width: 620px) {
  .site-footer {
    padding: 0 22px;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding: 54px 0 46px;
  }

  .footer-brand > p {
    margin-top: 20px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: .7rem;
  }
}
