/* ---- FOOTER ---- */
.footer {
  padding: 16px 0 8px;
  background: var(--bg-1);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}
.footer__inner {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px;
  text-align: center;
}
.footer__copy { text-align: left; font-size: 0.6rem; }
.footer__links {
  display: flex;  column-gap: 12px; row-gap: 4px; justify-content: flex-end; align-items: flex-end; flex-wrap: wrap;
  margin: 6px 0 0;
}
.footer__links a {
  color: var(--gold-2); text-decoration: underline; text-underline-offset: 3px;
  text-decoration-color: rgb(var(--gold-1-rgb) / 0.5);
  font-size: 0.6rem;
  transition: color 0.2s;
}
.footer__links a:hover { color: var(--gold-2); }
.footer__social { display: flex; gap: 16px; }
.footer__company { font-size: 0.7rem; color: var(--text-2); text-align: left; }

/* Главная: футер прилипает к низу экрана, полупрозрачный */
.landing .footer {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 900;
  background: rgb(var(--bg-1-rgb) / 0.55);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgb(var(--gold-1-rgb) / 0.15);
}



/* ---- FOOTER: ADAPTIVE ---- */
/* до 1023px: футер в потоке страницы, всё по центру */
@media (max-width: 1023px) {
  .landing .footer {
    position: static;
    background: var(--bg-1);
    backdrop-filter: none;
    border-top-color: rgba(255, 255, 255, 0.04);
  }
  .footer__inner { grid-template-columns: 1fr; gap: 12px; }
  .footer__copy { text-align: center; }
  .footer__links, .footer__social { justify-content: center; }
  .footer__company { text-align: center; }
}
