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

html,
body {
  min-height: 100%;
}

body {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

body > main {
  flex: 1 0 auto;
}

[data-site-footer] {
  margin-top: auto;
  flex: 0 0 auto;
}

.site-footer {
  background: #0e0e0e;
  overflow: hidden;
  width: 100%;
}

.site-footer__container {
  width: min(calc(100vw - 80px), 1360px);
  margin: 0 auto;
  padding: 80px 0 30px;
  border-top: 1px solid #1d1d1d;
}

.site-footer__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 56px;
  align-items: start;
}

.site-footer__title {
  color: #ffffff;
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -1px;
  line-height: 122%;
  margin-bottom: 24px;
}

.site-footer__text {
  color: #b0b0b0;
  font-size: 16px;
  line-height: 150%;
  max-width: 520px;
}

.site-footer__nav {
  display: flex;
  gap: 56px;
  align-items: flex-start;
}

.site-footer__col {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 120px;
}

.site-footer__col-title {
  color: #8b8b8b;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.14px;
  line-height: 142%;
  margin-bottom: 2px;
}

.site-footer__link {
  color: #ffffff;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.14px;
  line-height: 142%;
  text-decoration: none;
  transition: color 0.25s ease;
}

.site-footer__link:hover {
  color: #b0b0b0;
}

.site-footer__bottom {
  margin-top: 64px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  color: #333333;
  font-size: 14px;
  line-height: 142%;
}

@media (max-width: 767px) {
  .site-footer__container {
    width: calc(100vw - 32px);
    padding: 32px 0 24px;
  }

  .site-footer__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .site-footer__title {
    font-size: 24px;
    line-height: 133%;
    margin-bottom: 16px;
  }

  .site-footer__text {
    font-size: 14px;
  }

  .site-footer__nav {
    flex-wrap: wrap;
    gap: 32px;
  }

  .site-footer__bottom {
    flex-direction: column;
    gap: 8px;
    margin-top: 32px;
  }
}
