/* Footer staged visual polish. Scope: footer only, keeps existing copy and links. */
.site-footer {
  border-top: 1px solid rgba(244, 241, 234, 0.1);
  background:
    linear-gradient(180deg, rgba(16, 24, 32, 0.98), #07111c 56%),
    #07111c;
  color: rgba(244, 241, 234, 0.82);
}

.site-footer__inner {
  grid-template-columns: minmax(0, 1.34fr) minmax(180px, 0.84fr) minmax(160px, 0.72fr);
  gap: clamp(34px, 6vw, 88px);
  padding: 48px 0 54px;
  align-items: start;
}

.site-footer__inner > div {
  min-width: 0;
}

.site-footer__inner > div:first-child p {
  max-width: 430px;
}

.site-footer p,
.footer-list li {
  margin-top: 0;
  color: rgba(244, 241, 234, 0.82);
  line-height: 1.58;
}

.site-footer p {
  margin-bottom: 14px;
}

.footer-title {
  position: relative;
  margin-bottom: 16px;
  padding-bottom: 12px;
  color: #fffaf0;
  font-size: 1rem;
  line-height: 1.2;
}

.footer-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 32px;
  height: 2px;
  border-radius: 99px;
  background: rgba(184, 164, 111, 0.88);
}

.footer-list li {
  margin: 10px 0 0;
}

.site-footer a {
  color: rgba(244, 241, 234, 0.9);
  text-decoration-color: rgba(184, 164, 111, 0.42);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  transition: color 160ms ease, text-decoration-color 160ms ease;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: #f3d98d;
  text-decoration-color: rgba(243, 217, 141, 0.9);
  outline: none;
}

.site-footer a:focus-visible {
  box-shadow: 0 0 0 3px rgba(184, 164, 111, 0.22);
  border-radius: 4px;
}

@media (max-width: 880px) {
  .site-footer__inner {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 42px 0 132px;
  }

  .site-footer__inner > div {
    padding: 0 0 26px;
  }

  .site-footer__inner > div + div {
    padding-top: 24px;
    border-top: 1px solid rgba(244, 241, 234, 0.12);
  }

  .site-footer__inner > div:last-child {
    padding-bottom: 0;
  }

  .site-footer__inner > div:first-child p {
    max-width: 100%;
  }

  .footer-title {
    margin-bottom: 14px;
  }

  .footer-list li {
    margin-top: 9px;
  }
}
