.site-footer {
  position: relative;
  display: block;
  width: 100%;
  min-height: 270px;
  padding: 0;
  color: #aeb4bc;
  background: #202020;
}

.footer-main {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) auto;
  gap: 28px;
  align-items: start;
  width: min(1280px, calc(100% - 64px));
  min-height: 185px;
  margin: 0 auto;
  padding: 45px 0 34px;
}

.footer-brand {
  display: block;
  width: 150px;
}

.footer-brand img {
  display: block;
  width: 100%;
  height: auto;
  filter: grayscale(1) brightness(0) invert(1);
  opacity: .9;
}

.footer-content {
  padding-top: 3px;
}

.footer-company,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.footer-company {
  gap: 8px 0;
  font-size: 14px;
}

.footer-company strong {
  color: #d8dce1;
  font-weight: 600;
}

.footer-company span,
.footer-links a {
  position: relative;
  margin-left: 13px;
  padding-left: 14px;
}

.footer-company span::before,
.footer-links a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 1px;
  height: 12px;
  background: #62666c;
  transform: translateY(-50%);
}

.footer-links {
  margin-top: 13px;
  font-size: 13px;
}

.footer-links a {
  color: #aeb4bc;
  text-decoration: none;
}

.footer-links a:first-child {
  margin-left: 0;
  padding-left: 0;
  color: #fff;
  font-weight: 700;
}

.footer-links a:first-child::before {
  display: none;
}

.footer-links a:hover {
  color: #fff;
}

.footer-social {
  display: flex;
  gap: 10px;
  align-items: center;
  padding-top: 1px;
}

.footer-social-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid #55585d;
  border-radius: 50%;
}

.footer-social-icon img {
  width: 16px;
  height: 16px;
  filter: brightness(0) invert(1);
  opacity: .78;
}

.footer-bottom {
  border-top: 1px solid #353535;
}

.footer-bottom p {
  width: min(1280px, calc(100% - 64px));
  margin: 0 auto;
  padding: 28px 0;
  color: #858b93;
  font-size: 12px;
}

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

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .footer-main {
    grid-template-columns: 1fr;
    width: calc(100% - 40px);
    padding: 36px 0 28px;
  }

  .footer-company,
  .footer-links {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .footer-company span,
  .footer-links a {
    margin-left: 0;
    padding-left: 0;
  }

  .footer-company span::before,
  .footer-links a::before {
    display: none;
  }

  .footer-social {
    margin-top: 4px;
  }

  .footer-bottom p {
    width: calc(100% - 40px);
  }
}
