.container {
  width: min(1200px, calc(100% - 2rem));
  margin: 0 auto;
}

.site-footer {
  margin-top: 2.4rem;
  background:
    radial-gradient(circle at top left, rgba(14, 165, 233, 0.18), transparent 30%),
    linear-gradient(180deg, #0f172a 0%, #111827 100%);
  color: rgba(255, 255, 255, 0.9);
}

body.footer-lower .site-footer {
  margin-top: calc(2.4rem + 245px);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 2.5rem;
  padding: 2.6rem 0 1.6rem;
}

.footer-brand {
  max-width: 44rem;
  display: grid;
  gap: 0.15rem;
}

.footer-logo {
  width: auto;
  height: 34px;
  margin-bottom: 0.6rem;
}

.footer-brand p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.35;
  font-size: 0.92rem;
}

.footer-contact-list {
  display: grid;
  gap: 0;
  max-width: 44rem;
}

.footer-contact-list span {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.28;
  font-size: 0.88rem;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.footer-column h4 {
  margin: 0 0 1rem;
  color: #ffffff;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-column a {
  display: block;
  width: fit-content;
  margin-bottom: 0.85rem;
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
}

.footer-column a:hover {
  color: #ffffff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-bottom-inner {
  padding: 0.8rem 0 1rem;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.86rem;
}

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

@media (max-width: 640px) {
  .footer-grid {
    padding: 2rem 0 1.4rem;
  }

  .footer-links {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .footer-logo {
    height: 29px;
  }
}
