.site-footer {
  border-top: 1px solid var(--border);
  background: #ffffff;
}

.footer-container {
  width: min(calc(100% - 40px), var(--container));
  margin: 0 auto;
}

.footer-main {
  min-height: 150px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 34px 0;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
}

.footer-brand-icon {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 13px;
  background:
    linear-gradient(
      135deg,
      var(--primary) 0%,
      var(--primary-dark) 58%,
      var(--primary-deep) 100%
    );
  color: #ffffff;
  font-size: 1.15rem;
  font-weight: 800;
}

.footer-brand-name,
.footer-brand-description {
  display: block;
}

.footer-brand-name {
  color: var(--text);
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.035em;
}

.footer-brand-description {
  margin-top: 1px;
  color: var(--muted);
  font-size: 0.82rem;
}

.footer-navigation {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px 25px;
}

.footer-navigation a {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 600;
  transition: color 0.2s ease;
}

.footer-navigation a:hover {
  color: var(--primary-dark);
}

.footer-bottom {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
  border-top: 1px solid var(--border);
}

.footer-bottom p {
  color: #748078;
  font-size: 0.8rem;
}

@media (max-width: 760px) {
  .footer-main {
    align-items: flex-start;
    flex-direction: column;
    gap: 28px;
  }

  .footer-navigation {
    justify-content: flex-start;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }
}

@media (max-width: 640px) {
  .footer-container {
    width: min(calc(100% - 32px), var(--container));
  }
}