/* =========================================================
   Footer
   ========================================================= */

.site-footer {
  background: var(--c-dark);
  border-top: 1px solid var(--border-strong);
  margin-top: 3rem;
}

.footer-top {
  display: grid; grid-template-columns: repeat(12, 1fr); gap: 2rem;
  max-width: var(--maxw); margin-inline: auto; padding: 3rem 16px 2rem;
}
.footer-brand { grid-column: span 3; }
.footer-col { grid-column: span 3; }
.footer-col--wide { grid-column: span 3; }

.footer-brand svg { height: 30px; width: auto; margin-bottom: 12px; }
.footer-brand p { font-size: 0.84rem; color: var(--c-muted); line-height: 1.6; }

.footer-col h4 {
  font-size: 0.8rem; letter-spacing: 0.08em; margin-bottom: 0.9rem;
  color: var(--c-primary); font-family: var(--font-head); text-transform: uppercase;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 0.6rem; }
.footer-col a { color: var(--c-muted); text-decoration: none; font-size: 0.88rem; }
.footer-col a:hover { color: var(--c-primary); }

.foot-18 { display: flex; align-items: center; gap: 10px; margin-top: 14px; }
.foot-18 span { font-size: 0.8rem; color: var(--c-muted); }

.footer-legal {
  border-top: 1px solid var(--border);
}
.footer-legal__inner {
  max-width: var(--maxw); margin-inline: auto; padding: 1rem 16px;
  display: flex; flex-wrap: wrap; gap: 0.4rem 1.4rem; align-items: center;
}
.footer-legal__inner a { color: var(--c-muted); text-decoration: none; font-size: 0.8rem; }
.footer-legal__inner a:hover { color: var(--c-primary); }

.footer-bottom {
  border-top: 1px solid var(--border);
  background: #0a0a0c;
}
.footer-bottom__inner {
  max-width: var(--maxw); margin-inline: auto; padding: 1.1rem 16px;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.6rem 1.2rem;
}
.footer-bottom p { margin: 0; font-size: 0.78rem; color: var(--c-muted); line-height: 1.6; }

/* Bottom mobile bar */
.bottom-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 95;
  height: var(--bottom-h);
  display: none; align-items: center; justify-content: space-around;
  background: var(--c-dark); border-top: 1px solid var(--border-strong);
}
.bottom-bar a, .bottom-bar button {
  flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px;
  height: var(--bottom-h); justify-content: center;
  background: none; border: none; color: var(--c-muted);
  font-family: var(--font-head); font-size: 0.62rem; font-weight: 600;
  text-transform: uppercase; text-decoration: none; letter-spacing: 0.03em; cursor: pointer;
}
.bottom-bar svg { width: 20px; height: 20px; }
.bottom-bar .active { color: var(--c-primary); }

@media (max-width: 1024px) {
  .footer-top { grid-template-columns: repeat(2, 1fr); gap: 1.6rem; }
  .footer-brand { grid-column: span 2; }
  .footer-col { grid-column: span 1; }
}

@media (max-width: 600px) {
  .bottom-bar { display: flex; }
  .site-footer { margin-bottom: var(--bottom-h); }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 1.4rem; padding-top: 2.2rem; }
  .footer-brand { grid-column: span 2; }
  .footer-legal__inner { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
  .footer-bottom__inner { flex-direction: column; }
}