.site-footer {
  background: #171714;
  color: #f6f4ef;
  font-family: Inter, Helvetica Neue, Helvetica, Arial, sans-serif;
}

.site-footer__main,
.site-footer__bottom {
  padding-left: clamp(24px, 7vw, 104px);
  padding-right: clamp(24px, 7vw, 104px);
}

.site-footer__main {
  display: grid;
  grid-template-columns: minmax(260px, 1.4fr) repeat(3, minmax(150px, 0.65fr));
  gap: 72px;
  padding-top: 72px;
  padding-bottom: 66px;
}

.site-footer__brand img {
  display: block;
  width: 92px;
  height: auto;
  margin-bottom: 28px;
  filter: invert(94%) sepia(8%) saturate(179%) hue-rotate(356deg) brightness(104%) contrast(93%);
}

.site-footer__brand p {
  max-width: 340px;
  margin: 0;
  color: rgba(246, 244, 239, 0.58);
  font-size: 16px;
  line-height: 1.55;
}

.site-footer__label {
  margin: 0 0 22px;
  color: rgba(246, 244, 239, 0.34);
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-footer__nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.site-footer__nav a,
.site-footer__bottom a,
.site-footer__bottom button {
  color: rgba(246, 244, 239, 0.62);
  font: inherit;
  font-size: 15px;
  line-height: 1.35;
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-footer__nav a:hover,
.site-footer__bottom a:hover,
.site-footer__bottom button:hover {
  color: #f6f4ef;
}

.site-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 34px;
  padding-bottom: 46px;
  border-top: 1px solid rgba(246, 244, 239, 0.13);
}

.site-footer__bottom p {
  margin: 0;
  color: rgba(246, 244, 239, 0.42);
  font-size: 14px;
}

.site-footer__bottom div {
  display: flex;
  align-items: center;
  gap: 24px;
}

.site-footer__bottom button {
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

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

@media (max-width: 640px) {
  .site-footer__main,
  .site-footer__bottom {
    padding-left: 20px;
    padding-right: 20px;
  }

  .site-footer__bottom,
  .site-footer__bottom div {
    align-items: flex-start;
    flex-direction: column;
  }
}
