.site-footer {
  border-top: 1px solid #e6eefc;
  background: #ffffff;
  padding: 1.1rem var(--card-pad-x, 1.2rem) 1.25rem;
  font-family:
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    "Helvetica Neue",
    sans-serif;
  color: #25405a;
  margin-top: 1.5rem;
  width: 100%;
  max-width: 100%;
}

#footer-include {
  margin-top: auto;
  width: 100%;
}

.footer-container {
  max-width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 1rem;
  min-width: 0;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.footer-brand-text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.footer-logo {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: linear-gradient(135deg, #1a5cff, #0f4ad6);
  color: white;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}

.footer-company {
  font-weight: 700;
  font-size: 0.95rem;
  color: #0b1e3a;
  line-height: 1.2;
}

.footer-links-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  min-width: 0;
}

.footer-nav-group {
  min-width: 0;
}

.footer-nav-label {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #8a9fb8;
  margin: 0 0 0.45rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  min-width: 0;
}

.footer-btn {
  background: #f5f9ff;
  border: 1px solid #e3ecfa;
  padding: 0.42rem 0.72rem;
  border-radius: 999px;
  color: #1a5cff;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.78rem;
  line-height: 1.3;
  white-space: nowrap;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    transform 0.15s ease;
}

.footer-btn:hover {
  background: #eaf0ff;
  border-color: #d6e6ff;
}

.footer-btn:active {
  transform: scale(0.97);
}

@media (min-width: 360px) {
  .footer-btn {
    font-size: 0.82rem;
    padding: 0.45rem 0.8rem;
  }
}

@media (min-width: 400px) {
  .footer-links-wrap {
    flex-direction: column;
    gap: 1.25rem;
  }

  .footer-nav-group {
    flex: 1;
    min-width: 0;
  }
}

@media (min-width: 481px) {
  .site-footer {
    padding-left: 1.8rem;
    padding-right: 1.8rem;
  }
}
