/* Footer - Tactical Design System */

.footer {
  background: var(--t-surface-lowest);
  border-top: 1px solid rgba(62, 73, 73, 0.15);
  padding: 2.5rem 0;
  margin-top: auto;
}

.footer-container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.footer-brand {
  font-family: var(--font-family-heading);
  font-weight: 900;
  font-size: 1.125rem;
  color: rgba(var(--t-primary-rgb), 0.4);
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

.footer-content {
  display: flex;
  flex-flow: row wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem 2rem;
}

.footer-copyright {
  font-family: var(--font-family-body);
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(226, 226, 230, 0.55);
}

.footer-separator {
  color: rgba(62, 73, 73, 0.4);
  font-size: 0.75rem;
}

.footer-link {
  font-family: var(--font-family-body);
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(226, 226, 230, 0.70);
  text-decoration: none;
  transition: color 0.15s ease;
  padding: 0.25rem 0;
}

.footer-link:hover {
  color: var(--t-primary);
}

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

  .footer-content {
    gap: 0.5rem 1.25rem;
  }

  .footer-separator {
    display: none;
  }
}

/* Light mode — footer has light background, need dark text */
:root[data-theme="light"] .footer-brand {
  color: rgba(50, 70, 44, 0.9);
}

:root[data-theme="light"] .footer-copyright {
  color: rgba(17, 19, 22, 0.65);
}

:root[data-theme="light"] .footer-link {
  color: rgba(17, 19, 22, 0.70);
}

:root[data-theme="light"] .footer-link:hover {
  color: var(--t-primary);
}

:root[data-theme="light"] .footer-separator {
  color: rgba(17, 19, 22, 0.2);
}

/* Prominent Withdrawal button — law requires it outside the link list */
.footer-withdrawal-section {
  display: flex;
  justify-content: center;
  padding-bottom: 0.5rem;
}

.footer-withdrawal-btn {
  font-size: 0.8125rem;
  padding: 0.5rem 1.5rem;
  border: 2px solid rgba(var(--widerruf-accent-rgb, 220, 80, 60), 0.55);
  color: var(--widerruf-accent, #dc503c);
  background: transparent;
  border-radius: 0.25rem;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: background 0.15s ease, color 0.15s ease;
}

.footer-withdrawal-btn:hover {
  background: rgba(var(--widerruf-accent-rgb, 220, 80, 60), 0.12);
  color: var(--widerruf-accent, #dc503c);
}