:root {
  --footer-bg: #0d1a2a;
  --footer-border: rgba(255, 255, 255, 0.08);
  --footer-text: rgba(230, 238, 248, 0.82);
  --footer-text-muted: rgba(230, 238, 248, 0.62);
}

.site-footer {
  background: var(--footer-bg);
  color: var(--footer-text);
  margin: 3rem 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.92rem;
}

.site-footer__main {
  padding: 3rem 1.5rem 2.5rem;
}

.site-footer__inner {
  max-width: var(--max-width, 1100px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2rem;
}

.site-footer__identity {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.site-footer__logo {
  width: 64px;
  height: auto;
  opacity: 0.78;
}

.site-footer__description {
  margin: 0;
  color: var(--footer-text-muted);
  line-height: 1.6;
}

.site-footer__title {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin: 0 0 0.85rem;
  color: rgba(255, 255, 255, 0.85);
}

.site-footer__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.5rem;
  color: var(--footer-text-muted);
}

.site-footer__list a {
  color: var(--footer-text-muted);
  text-decoration: none;
  transition: color 150ms ease;
}

.site-footer__list a:hover,
.site-footer__bottom-links a:hover {
  color: var(--accent, #41c8f4);
}

.site-footer__note {
  color: var(--footer-text);
}

.site-footer__bottom {
  border-top: 1px solid var(--footer-border);
  padding: 1.1rem 1.5rem 1.4rem;
}

.site-footer__bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-footer__bottom-links {
  display: flex;
  gap: 1.5rem;
}

.site-footer__bottom-links a {
  color: var(--footer-text-muted);
  text-decoration: none;
  transition: color 150ms ease;
}

@media (max-width: 960px) {
  .site-footer__inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .site-footer__inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .site-footer__bottom-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

footer.site-footer {
  padding: 0;
  border-top: none;
}
