.site-footer-shell {
  position: sticky;
  z-index: 1;
  bottom: 0;
  width: 100%;
  background: #141414;
}

.site-footer-shell::before {
  position: absolute;
  z-index: -1;
  right: 0;
  bottom: 100%;
  left: 0;
  height: 40px;
  content: '';
  background: #141414;
}

.site-footer {
  display: flex;
  width: 100%;
  max-width: 1634px;
  min-height: 420px;
  flex-direction: column;
  justify-content: space-between;
  gap: 120px;
  margin: 0 auto;
  padding: 72px 80px 28px;
  color: #fff;
  background: #141414;
}

.site-footer__top,
.site-footer__bottom,
.site-footer__nav,
.site-footer__brand,
.site-footer__legal {
  display: flex;
}

.site-footer__top,
.site-footer__bottom {
  width: 100%;
  justify-content: space-between;
  gap: 20px;
}

.site-footer__top {
  align-items: flex-start;
}

.site-footer__brand-column {
  display: flex;
  min-width: 0;
  flex: 2 1 0;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.site-footer__brand {
  align-items: center;
  gap: 8px;
  color: #fff;
  text-decoration: none;
}

.site-footer__brand .footer-soap-mark {
  display: block;
  width: 56px;
  height: 56px;
  flex: 0 0 56px;
  color: #fff;
}

.site-footer__wordmark {
  display: flex;
  flex-direction: column;
  line-height: 0.88;
}

.site-footer__wordmark strong {
  font-size: var(--type-footer-strong-font-size);
  font-weight: var(--type-footer-strong-font-weight);
  letter-spacing: var(--type-footer-strong-letter-spacing);
}

.site-footer__wordmark span {
  margin-top: 5px;
  font-size: var(--type-body-xs-font-size);
  font-weight: var(--type-body-xs-font-weight);
  letter-spacing: -0.03em;
}

.site-footer__brand-column p {
  margin: 0;
  font-size: var(--type-body-xs-font-size);
  font-weight: var(--type-body-xs-font-weight);
  line-height: 20px;
  color: #adadad;
}

.site-footer__nav {
  flex: 1 1 0;
  align-items: flex-start;
  gap: 20px;
}

.site-footer__link-column {
  display: flex;
  min-width: 0;
  flex: 1 1 0;
  flex-direction: column;
  gap: 8px;
}

.site-footer__link-column a {
  width: fit-content;
  font-size: var(--type-footer-link-font-size);
  font-weight: var(--type-footer-link-font-weight);
  line-height: var(--type-footer-link-line-height);
  color: #fff;
  text-decoration: none;
  transition: color 180ms ease;
}

.site-footer__bottom {
  align-items: center;
  font-size: var(--type-footer-link-font-size);
  font-weight: var(--type-footer-link-font-weight);
  line-height: var(--type-footer-link-line-height);
  color: #adadad;
}

.site-footer__legal {
  width: fit-content;
  gap: 20px;
}

.site-footer__legal a {
  color: #adadad;
  text-decoration: none;
  transition: color 180ms ease;
}

.site-footer__link-column a:hover,
.site-footer__legal a:hover {
  color: #ffdeeb;
}

.site-footer a:focus-visible {
  border-radius: 4px;
  outline: 2px solid #ff98bc;
  outline-offset: 4px;
}

@media (max-width: 1199px) {

  .site-footer {
    gap: 126px;
    padding-inline: 48px;
  }

  .site-footer__brand-column {
    flex: 1 1 0;
  }

  .site-footer__nav {
    flex: 1 1 0;
  }


}

@media (max-width: 809.98px) {

  .site-footer {
    min-height: 480px;
    gap: 62px;
    padding: 84px 20px 40px;
  }

  .site-footer__top {
    flex-direction: column;
    gap: 64px;
  }

  .site-footer__brand-column,
.site-footer__nav {
    width: 100%;
    flex: none;
  }

  .site-footer__nav {
    gap: 40px;
  }

  .site-footer__bottom {
    align-items: flex-end;
  }

  .site-footer__legal {
    min-width: 0;
    gap: 24px;
  }

  .site-footer__legal a {
    flex: none;
    white-space: nowrap;
  }
}
