.site-footer {
  margin-top: auto;
  width: 100%;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: linear-gradient(180deg, rgba(8, 8, 10, 0.95), rgba(6, 6, 8, 0.99));
}

.site-footer-inner {
  width: min(1200px, 92vw);
  margin: 0 auto;
  padding: 3rem 0 1.25rem;
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(280px, 2.1fr) repeat(2, minmax(140px, 1fr));
  gap: 2.2rem;
  padding-bottom: 2rem;
}

.footer-brand-block {
  max-width: 620px;
}

.footer-logo-row {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.footer-logo {
  width: clamp(1.8rem, 3.5vw, 2.2rem);
  height: clamp(1.8rem, 3.5vw, 2.2rem);
  object-fit: contain;
  border-radius: 0;
  box-shadow: none;
}

.footer-wordmark {
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.footer-level-glow {
  color: #ffffff;
  text-shadow:
    0 0 8px rgba(255, 255, 255, 0.5),
    0 0 20px rgba(255, 255, 255, 0.25);
}

.footer-description {
  margin: 0.9rem 0 0;
  max-width: 64ch;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.6;
  font-size: 0.88rem;
  font-weight: 400;
}

.footer-column {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-column h2 {
  margin: 0 0 0.45rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.footer-link {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.45;
  transition: color 180ms ease;
}

.footer-link:hover,
.footer-link:focus-visible {
  color: rgba(255, 255, 255, 0.9);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  margin-top: 0.2rem;
  padding-top: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.footer-bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.32);
  font-size: 0.84rem;
  font-weight: 500;
}

.footer-bottom .footer-slogan {
  color: rgba(255, 255, 255, 0.45);
}

@media (max-width: 980px) {
  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 1.7rem;
  }

  .footer-brand-block {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .site-footer-inner {
    width: 94vw;
    padding-top: 2rem;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 1.4rem;
    padding-bottom: 1.4rem;
  }

  .footer-wordmark {
    font-size: 1.3rem;
  }

  .footer-description,
  .footer-link,
  .footer-bottom p {
    font-size: 0.86rem;
  }
}
