footer {
  background: var(--black);
  color: #fff;
  font-family: var(--font-heading);
}

.bottom-space {
  position: relative;
  height: 110px;
  padding-top: 30px;
  background: var(--white);
}

/* Cover subpixel seams that some browsers render below the SVG wave. */
.bottom-space::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  background: var(--black);
  content: "";
}

.footer-top-background-gray .bottom-space {
  background: #fafafa;
}

.wave-bottom {
  height: 80px;
  overflow: hidden;
}

.wave-bottom svg {
  display: block;
  width: 100%;
  height: 80px;
  transform: rotate(180deg);
}

.footer-wrap {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: min(90%, 1026px);
  margin: auto;
}

.footer-left,
.footer-right {
  min-width: 0;
  padding: 27px 0;
}

.footer-links {
  margin-bottom: 14px;
  text-align: center;
}

.footer-links p + p {
  margin-top: 14px;
}

.footer-link-button {
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}

.footer-link-button:hover {
  color: #fff;
}

.footer-link-button:focus-visible {
  border-radius: 3px;
  outline: 2px solid #d9b7ff;
  outline-offset: 3px;
}

.copyright {
  text-align: center;
}

.footer-right {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.social {
  margin-top: 25px;
  display: flex;
  justify-content: center;
  gap: 13px;
}

.social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  transition: box-shadow 160ms ease;
}

.social a:hover {
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.24);
}

.social a:focus-visible {
  outline: 2px solid #d9b7ff;
  outline-offset: 3px;
}

.social a img {
  width: 15px;
  height: 15px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.social .facebook {
  background: #0a66ff;
}

.social .tiktok {
  background: #f4f4f4;
}

.social .tiktok img {
  filter: none;
}

.social .instagram {
  background: linear-gradient(135deg, #6f3cff, #f5487f 55%, #ffbd43);
}

.social .youtube {
  background: #f00;
}

.social .linkedin {
  background: #0077b5;
}

@media (max-width: 767px) {
  .footer-wrap {
    grid-template-columns: 1fr;
    width: 80%;
  }

  .footer-left,
  .footer-right {
    padding: 30px 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .social a {
    transition: none;
  }

}
