footer.footer {
  background: var(--brand-primary-color-lightest);
  line-height: 1.6;
  padding: 4rem 0 1.5rem;
}

footer.footer * {
  color: var(--brand-primary-color-darker);
}

.footer-logo {
  max-width: 250px;
  max-height: 68px;
  object-fit: contain;
  margin-bottom: 1rem;
}

.footer-title {
  display: inline-block;
  font-weight: 800;
  font-size: 1.15rem;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.footer-contact,
.footer-address,
.footer-workhours {
  display: grid;
  gap: 0.5rem;
}

.footer-contact p {
  margin: 0;
}

.footer-address {
  font-style: normal;
}

.footer-navigation {
  margin-bottom: 1rem;
}

.footer-legal {
  margin-bottom: 1.5rem;
}

.footer-menu,
.footer-legal-menu,
.footer-menu .sub-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-menu{
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
}

.footer-legal-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  justify-content:end;
}

.footer-menu > li,
.footer-legal-menu > li {
  margin: 0;
}
.footer-menu > li:before,
.footer-legal-menu > li:before{
  display:none;
}

.footer-menu a,
.footer-legal-menu a {
  text-decoration: none;
  font-weight: 600;
}

.footer-legal-menu a {
  font-size: 90%;
  font-weight: 500;
  opacity: 0.9;
}

.footer-menu .sub-menu {
  margin-top: 0.35rem;
  padding-left: 1rem;
}

.footer-social {
  display: grid;
  gap: 0.65rem;
}

.footer-social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  width: fit-content;
}

.footer-social-link:hover,
.footer-social-link:focus-visible,
.footer-menu a:hover,
.footer-menu a:focus-visible,
.footer-legal-menu a:hover,
.footer-legal-menu a:focus-visible,
.footer-contact a:hover,
.footer-contact a:focus-visible {
  opacity: 0.8;
}

.footer-social-link img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  row-gap: 0.75rem;
}

.footer-copyright {
  margin: 0;
  font-size:90%;
}

@media (max-width: 767px) {
  .footer-menu {
    flex-direction: column;
    gap: 0.5rem;
  }

  .footer-bottom {
    text-align: left;
  }
  .footer-legal-menu{
    justify-content: start;
  }
  .footer-legal-menu > li:first-child {
    padding-left:0;
  }
}
