.site-footer {
  --footer-bg: #0f1216;
  --footer-ink: #e7edf4;
  --footer-muted: rgba(231, 237, 244, 0.65);
  --footer-accent: #99f6e4;
  --footer-card: rgba(255, 255, 255, 0.06);
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at top right, rgba(111, 210, 255, 0.18), transparent 45%),
    radial-gradient(circle at 10% 20%, rgba(134, 255, 200, 0.12), transparent 40%),
    var(--footer-bg);
  color: var(--footer-ink);
  padding: 3.25rem 0 1.5rem;
  font-family: var(--font-sans);
  margin-top: auto;
  border-top-left-radius: 18px;
  border-top-right-radius: 18px;
}

.site-footer::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 40%);
  pointer-events: none;
  mix-blend-mode: screen;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2.4rem;
  position: relative;
  z-index: 1;
}

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

.site-footer__logo img {
  width: 126px;
  max-width: 100%;
  filter: drop-shadow(0 12px 30px rgba(0, 0, 0, 0.45));
}

.site-footer__tagline {
  margin: 0;
  color: var(--footer-muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

.site-footer__contacts {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.site-footer__contact {
  color: var(--footer-ink);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.2px;
}

.site-footer__contact:hover {
  color: var(--footer-accent);
}

.site-footer__title {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.12rem;
  margin-bottom: 0.9rem;
  color: var(--footer-accent);
}

.site-footer__link {
  display: block;
  color: var(--footer-muted);
  text-decoration: none;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.site-footer__link:hover {
  color: var(--footer-ink);
}

.site-footer__social {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.site-footer__social-link {
  width: 44px;
  height: 44px;
  border-radius: 16px;
  background: var(--footer-card);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--footer-ink);
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.site-footer__social-link svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.site-footer__social-link:hover {
  transform: translateY(-3px);
  background: rgba(111, 210, 255, 0.2);
  color: #ffffff;
}

.site-footer__legal {
  margin-top: 2.5rem;
  padding-top: 1.3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  text-align: center;
  color: var(--footer-muted);
  font-size: 0.85rem;
  position: relative;
  z-index: 1;
}

@media (max-width: 768px) {
  .site-footer {
    padding: 2.8rem 0 1.4rem;
  }

  .site-footer__grid {
    gap: 2rem;
  }
}
