.site-footer {
  position: relative;
  z-index: 10;
  width: 100%;
  height: 624px;
  overflow: hidden;
  background: transparent;
  color: #fff;
  font-family: "Inter", var(--font-body);
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    rgba(16, 58, 130, 0) 0%,
    rgba(16, 58, 130, .28) 45%,
    rgba(12, 44, 104, .50) 100%
  );
}

.footer-sheet {
  position: absolute;
  inset: 48px 0 0;
  display: grid;
  grid-template-rows: 204px 264px 56px;
  width: min(calc(100% - 48px), 1280px);
  height: 576px;
  margin-inline: auto;
  padding: 52px 40px 0;
  border-radius: 20px 20px 0 0;
  background: rgba(255, 255, 255, .10);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.footer-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 72px;
  min-width: 0;
}

.footer-brand {
  flex: 0 0 280px;
}

.footer-logo {
  display: block;
  width: max-content;
}

.footer-logo img {
  width: auto;
  height: 34px;
  object-fit: contain;
  filter: drop-shadow(0 2px 5px rgba(9, 37, 91, .16));
}

.footer-brand p {
  max-width: 260px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, .85);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
}

.footer-columns {
  display: grid;
  flex: 0 1 672px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 40px;
  min-width: 0;
}

.footer-column h2 {
  margin: 0 0 14px;
  color: rgba(255, 255, 255, .60);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: .08em;
  line-height: 1.2;
  text-transform: uppercase;
}

.footer-column ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-column a {
  display: inline-block;
  width: max-content;
  max-width: 100%;
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.35;
  text-underline-offset: 3px;
}

.footer-column a:hover {
  text-decoration: underline;
}

.footer-wordmark {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
}

.footer-wordmark img {
  width: auto;
  height: 150px;
  object-fit: contain;
  opacity: .95;
  filter: drop-shadow(0 5px 12px rgba(9, 37, 91, .14));
}

.footer-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-width: 0;
  border-top: 1px solid rgba(255, 255, 255, .18);
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-socials a {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, .12);
  color: #fff;
  transition: background-color .2s ease, transform .2s ease;
}

.footer-socials a:hover {
  background: rgba(255, 255, 255, .22);
  transform: translateY(-1px);
}

.footer-socials svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
}

.footer-socials rect,
.footer-socials circle:not(.footer-social-dot) {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
}

.footer-social-dot {
  fill: currentColor;
}

.copyright {
  margin: 0;
  color: rgba(255, 255, 255, .75);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  white-space: nowrap;
}

.copyright span {
  margin-inline: 5px;
}

.copyright a {
  color: inherit;
  text-underline-offset: 3px;
}

.copyright a:hover {
  color: #fff;
  text-decoration: underline;
}

@media (max-width: 900px) {
  .site-footer {
    height: auto;
    min-height: 760px;
  }

  .footer-sheet {
    position: relative;
    inset: 40px auto auto;
    grid-template-rows: auto 210px 64px;
    height: auto;
    min-height: 720px;
    padding: 44px 28px 0;
  }

  .footer-top {
    flex-direction: column;
    gap: 36px;
  }

  .footer-brand {
    flex-basis: auto;
  }

  .footer-columns {
    flex: none;
    width: 100%;
    gap: 28px 20px;
  }

  .footer-wordmark img {
    height: 112px;
  }
}

@media (max-width: 620px) {
  .site-footer {
    min-height: 990px;
  }

  .footer-sheet {
    grid-template-rows: auto 180px 112px;
    width: calc(100% - 24px);
    min-height: 950px;
    padding-inline: 22px;
  }

  .footer-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-wordmark img {
    width: min(100%, 280px);
    height: auto;
  }

  .footer-meta {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 12px;
  }
}
