footer {
  background-color: var(--color-bg-secondary);
  border-top: 1px solid var(--color-border);
  padding: var(--space-xl) var(--space-md);
  margin-top: var(--space-3xl);
}

.footer-container {
  max-width: var(--container-max);
  margin: 0 auto;
  text-align: center;
}

.footer-brand {
  display: block;
  font-size: clamp(1rem, 2.5vw, 1.125rem);
  font-weight: 700;
  margin-bottom: var(--space-md);
  color: var(--color-text-primary);
  letter-spacing: 0.05em;
}

.footer-qr-container {
  width: clamp(80px, 20vw, 120px);
  height: clamp(80px, 20vw, 120px);
  margin: 0 auto var(--space-lg) auto;
}

.footer-qr-image {
  border-radius: 0;
  box-shadow: none;
  width: 100%;
  height: 100%;
}

.footer-navigation {
  margin-bottom: var(--space-lg);
}

.footer-navigation-list {
  display: flex;
  justify-content: center;
  gap: var(--space-md);
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-navigation-list li {
  padding: 0;
  margin: 0;
}

.footer-navigation-list li::before {
  content: none;
}

.footer-navigation-link {
  font-weight: 500;
  text-decoration: none;
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-sm);
  transition: background-color var(--transition-fast);
  display: inline-block;
  min-height: var(--touch-min);
  display: inline-flex;
  align-items: center;
}

.footer-navigation-link:hover {
  background-color: var(--color-bg-primary);
}

.footer-copyright {
  font-size: clamp(0.75rem, 1.5vw, 0.875rem);
  color: var(--color-text-muted);
  margin: 0;
  max-width: 100%;
  line-height: 1.5;
}

@media (max-width: 240px) {
  footer {
    padding: var(--space-lg) var(--space-sm);
  }
  
  .footer-qr-container {
    width: 60px;
    height: 60px;
  }
  
  .footer-navigation-list {
    flex-direction: column;
    gap: var(--space-xs);
  }
  
  .footer-copyright {
    font-size: 0.625rem;
  }
}

@media (max-width: 425px) {
  .footer-navigation-list {
    gap: var(--space-sm);
  }
}

@media (min-width: 768px) {
  footer {
    padding: var(--space-2xl) var(--space-md);
  }
  
  .footer-navigation-list {
    gap: var(--space-lg);
  }
}
