.footer {
  background-color: hsl(0, 0%, 11%);
  color: #989898;
  padding: 45px 90px;
  font-size: 0.9em;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  margin: 0 auto;
}

.footer-logo {
  flex: 1 1 30%;
  margin: 1em;
}
.footer-logo img {
  width: 380px;
}

.footer-links {
  display: flex;
  flex: 2 1 33%;
  justify-content: space-between;
}

.footer-column {
  flex: 1;
  font-size: 12px;
  line-height: 24px;
  font-family: var(--font-family-primary);
}

.footer-column h4 {
  color: #989898;
  margin-bottom: 0.5em;
  font-weight: bold;
}

.footer-column ul {
  list-style: none;
  padding: 0;
}

.footer-column ul li {
  margin-bottom: 0.3em;
}

.footer-column ul li a {
  text-decoration: none;
  color: #989898;
  transition: color 0.3s;
  text-wrap: nowrap;
}

.footer-column ul li a:hover {
  color: #fff;
}

.footer-column.craftsmanship {
  font-weight: bold;
  font-size: 14px;
  line-height: 28px;
  flex-shrink: 1;
}

.footer-social {
  display: flex;
  flex-direction: row;
  flex: 1 1 20%;
  gap: 16px;
  justify-content: flex-end;
}

.footer-social img:hover {
  filter: invert(82%) sepia(33%) saturate(300%) hue-rotate(183deg)
    brightness(95%) contrast(86%);
}

.social-link {
  display: inline-block;
  margin: 0 0.5em;
  text-decoration: none;
  color: #989898;
  font-size: 1.2em;
  transition: color 0.3s;
}

.social-link:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid #333;
  text-align: center;
  margin-top: 2em;
  padding-top: 45px;
  font-family: var(--font-family-primary);
  font-size: 12px;
}

.footer-bottom a {
  color: #989898;
  text-decoration: none;
  transition: color 0.3s;
}

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

@media (max-width: 1440px) {
  .footer {
    padding: 32px 26px;
  }
  .footer-links {
    order: 3;
    flex-basis: 100%;
    flex-wrap: wrap;
    row-gap: 30px;
    column-gap: 12px;
  }
  .footer-social {
    flex-basis: 50%;
  }
  .footer-logo img {
    width: 130px;
  }
  .footer-logo {
    margin-bottom: 24px;
  }
  .footer-column * {
    font-size: 10px;
    line-height: 20px;
  }
}
