.site-footer {
  background: var(--bg-primary, #0b0f17);
  border-top: 1px solid var(--border-color, #243044);
  color: var(--text-primary, #e2e8f0);
  font-family: Inter, -apple-system, BlinkMacSystemFont, sans-serif;
  padding: 3.5rem 2rem 1.5rem;
}

.site-footer-inner {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 2.5rem;
  margin: 0 auto;
  max-width: 1160px;
}

.site-footer-brand {
  color: var(--text-secondary, #94a3b8);
  max-width: 300px;
}

.site-footer-logo {
  align-items: center;
  color: var(--text-primary, #e2e8f0);
  display: inline-flex;
  font-size: 1.1rem;
  font-weight: 700;
  gap: 0.55rem;
  margin-bottom: 1rem;
  text-decoration: none;
}

.site-footer-logo img {
  border-radius: 6px;
}

.site-footer-brand p {
  font-size: 0.86rem;
  line-height: 1.6;
}

.site-footer-company {
  color: var(--text-secondary, #94a3b8);
  margin-top: 0.85rem;
}

.site-footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.site-footer-col h4 {
  color: var(--text-primary, #e2e8f0);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  margin: 0 0 0.5rem;
  text-transform: uppercase;
}

.site-footer-col a {
  color: var(--text-secondary, #94a3b8);
  font-size: 0.86rem;
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-footer-col a:hover {
  color: var(--text-primary, #e2e8f0);
}

.site-footer-legal {
  border-top: 1px solid var(--border-color, #243044);
  color: var(--text-secondary, #94a3b8);
  font-size: 12.5px;
  line-height: 1.6;
  margin: 2.5rem auto 0;
  max-width: 1160px;
  padding-top: 1.25rem;
  text-align: center;
}

.site-footer-legal p + p {
  margin-top: 0.35rem;
}

@media (max-width: 900px) {
  .site-footer-inner {
    grid-template-columns: repeat(2, 1fr);
  }

  .site-footer-brand {
    grid-column: 1 / -1;
    max-width: 520px;
  }
}

@media (max-width: 560px) {
  .site-footer {
    padding: 2.75rem 1.25rem 1.25rem;
  }

  .site-footer-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .site-footer-brand {
    grid-column: auto;
  }
}
