.site-footer {
  display: block;
  min-height: 0;
  padding: 0;
  background:
    linear-gradient(90deg, rgba(18, 64, 88, 0.16), transparent 42%),
    #050708;
  color: #fff;
  border-top: 1px solid rgba(177, 207, 221, 0.22);
}

.site-footer .footer-shell {
  display: block;
  width: min(100%, 1680px);
  margin: 0 auto;
  padding: 0 clamp(28px, 5vw, 96px);
  color: inherit;
  font-size: inherit;
  gap: 0;
}

.site-footer .footer-shell div {
  margin-left: 0;
}

.site-footer .footer-primary,
.site-footer .footer-meta {
  align-items: center;
  justify-content: space-between;
}

.site-footer .footer-primary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(48px, 7vw, 120px);
  min-height: 0;
  padding: 44px 0 38px;
  border-bottom: 1px solid rgba(177, 207, 221, 0.15);
}

.site-footer .footer-brand {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: clamp(22px, 3vw, 44px);
}

.site-footer .footer-primary .wordmark img {
  display: block;
  width: 140px;
}

.site-footer .footer-brand p {
  max-width: 360px;
  margin: 0;
  padding-left: clamp(22px, 3vw, 44px);
  border-left: 1px solid rgba(177, 207, 221, 0.22);
  color: #9aacb6;
  font-size: 13px;
  line-height: 1.55;
}

.site-footer .footer-contact {
  display: grid;
  justify-items: start;
  gap: 9px;
  min-width: 280px;
}

.site-footer .footer-contact span {
  font: 500 10px/1.2 "DM Mono", monospace;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: #91b2c5;
}

.site-footer .footer-contact a {
  width: max-content;
  font-size: clamp(20px, 1.45vw, 25px);
  font-weight: 600;
  letter-spacing: -0.035em;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.34);
  padding-bottom: 3px;
}

.site-footer .footer-meta {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  min-height: 0;
  padding: 19px 0 22px;
}

.site-footer .footer-meta > p {
  margin: 0;
  color: #718089;
  font: 500 9px/1.2 "DM Mono", monospace;
  letter-spacing: 0.1em;
}

.site-footer .footer-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(20px, 2.2vw, 34px);
  margin: 0;
  white-space: nowrap;
  color: #b8c3c8;
  font-size: 11px;
  font-weight: 500;
}

.site-footer .footer-nav a,
.site-footer .footer-contact a {
  transition: color 160ms ease, opacity 160ms ease;
}

.site-footer .footer-nav a:hover,
.site-footer .footer-contact a:hover {
  color: #a9d2e5;
  opacity: 1;
}

.catalog-product-email {
  margin: 18px 0 0;
  color: #b8cbd5;
  font-size: 13px;
}

.catalog-product-email a {
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.45);
}

@media (max-width: 900px) {
  .site-footer .footer-shell {
    padding-right: 86px;
  }

  .site-footer .footer-primary {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 36px 0 31px;
  }

  .site-footer .footer-contact {
    min-width: 0;
  }

  .site-footer .footer-meta {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 24px 0 30px;
  }

  .site-footer .footer-nav {
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 12px 18px;
    white-space: normal;
  }
}

@media (max-width: 560px) {
  .site-footer .footer-shell {
    padding-left: 22px;
    padding-right: 78px;
  }

  .site-footer .footer-brand {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }

  .site-footer .footer-brand p {
    max-width: 300px;
    padding: 0;
    border-left: 0;
  }

  .site-footer .footer-primary .wordmark img {
    width: 132px;
  }

  .site-footer .footer-contact a {
    font-size: 19px;
  }

  .site-footer .footer-nav {
    display: grid;
    grid-template-columns: 1fr;
    gap: 13px;
  }
}
