.page-footer {
  padding-block: var(--s-lg);
}

.footer-contact-address {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  font-size: max(0.8125rem, 0.5078125vw);
  text-transform: uppercase;
  line-height: 1.85714285714;
}

.footer-logo {
  width: max(6.25rem, 5.2083333333vw);
  display: flex;
  aspect-ratio: 285/150;
  mask-image: url("../img/logo.svg");
  mask-repeat: no-repeat;
  mask-size: contain;
  background-color: var(--black);
}

.page-footer-inner {
  grid-column: 4 / span 8;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.footer-nav-socials {
  font-size: max(0.875rem, 0.546875vw);
  font-weight: 500;
}

.footer-nav {
  margin-bottom: var(--s-md);
}

.footer-nav ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5em;
}

.footer-socials {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5em;
}

@media (max-width: 1399.98px) {
  .page-footer-inner {
    grid-column: 3 / span 10;
  }
}
@media (max-width: 767.98px) {
  .page-footer-inner {
    grid-column: 2 / span 12;
    grid-template-columns: 1fr;
  }

  .footer-logo {
    justify-self: center;
    margin-bottom: var(--s-md);
  }

  .footer-contact-address {
    justify-self: center;
    align-items: center;
    margin-top: var(--s-md);
  }
}
