/* ═══════════════════════════════════════════════════════════════════
   css/footer.css
   Footer global de la aplicación y páginas legales.
   ═══════════════════════════════════════════════════════════════════ */

.app-footer {
  background: #0f172a;
  color: #cbd5e1;
  padding: 48px 24px 24px;
  margin-top: 80px;
  font-family: system-ui, -apple-system, sans-serif;
}

.app-footer .footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}

.app-footer .footer-col h4 {
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 16px;
  letter-spacing: 0.02em;
}

.app-footer .footer-col p {
  font-size: 14px;
  line-height: 1.65;
  margin: 0;
  color: #94a3b8;
}

.app-footer .footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.app-footer .footer-col ul li {
  margin-bottom: 10px;
}

.app-footer .footer-col a {
  color: #cbd5e1;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.15s ease;
}

.app-footer .footer-col a:hover {
  color: #60a5fa;
  text-decoration: underline;
}

.app-footer .footer-bottom {
  max-width: 1200px;
  margin: 48px auto 0;
  padding-top: 24px;
  border-top: 1px solid #1e293b;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: #64748b;
}

.app-footer .footer-bottom a {
  color: #64748b;
  text-decoration: none;
}

.app-footer .footer-bottom a:hover {
  color: #94a3b8;
}

/* Enlace inline "¿No sabes qué formato usar?" en la toolbar */
.csv-template-hint {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  color: #64748b;
  text-decoration: none;
}

.csv-template-hint:hover {
  color: #3b82f6;
  text-decoration: underline;
}

@media (max-width: 768px) {
  .app-footer {
    padding: 36px 18px 20px;
    margin-top: 48px;
  }
  .app-footer .footer-content {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .app-footer .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

.footer-brand-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;              /* un pelín menos que el header */
  margin: 0 0 12px 0;    /* respeta el espacio inferior que ya tenía */
}

.footer-logo {
  width: 24px;
  height: 24px;
  border-radius: 6px;    /* proporcional al tamaño (24px → radio 6) */
  flex-shrink: 0;
  display: block;
}