/* ==========================================================================
   TIMY GONZÁLEZ | FOOTER STYLES (css/footer.css)
   Site Footer, Navigation Links, Back-to-Top Button & Responsive Layout
   ========================================================================== */

.site-footer {
  padding: 60px 0 40px 0;
  border-top: 1px solid var(--border-subtle);
  background: #04060a;
}

.footer-top-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 40px;
}

.footer-nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 24px;
  list-style: none;
}

.footer-nav-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
  padding: 6px 4px;
  display: inline-block;
}

.footer-nav-links a:hover {
  color: #ffffff;
}

.footer-bottom-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border-subtle);
  padding-top: 24px;
  color: var(--text-muted);
  font-size: 0.85rem;
  flex-wrap: wrap;
  gap: 16px;
}

.back-to-top-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.back-to-top-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: var(--border-light);
}

/* Responsive */
@media (max-width: 900px) {
  .footer-top-grid,
  .footer-bottom-row {
    flex-direction: column;
    text-align: center;
  }

  .footer-nav-links {
    justify-content: center;
  }
}
