/* ==========================================================================
   FOOTER
   ========================================================================== */

.footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  padding: 3.25rem 0 1.75rem;
}
:root.dark .footer {
  background: rgba(255, 255, 255, 0.015);
  backdrop-filter: blur(16px);
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}
@media (max-width: 760px) {
  .footer__inner { grid-template-columns: 1fr; gap: 2rem; }
}

/* ── Marca ────────────────────────────────────────────── */
.footer__brand-row {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1rem;
}
.footer__brand-row img {
  width: 38px; height: 38px;
  object-fit: contain;
}
:root.dark .footer__brand-row img { filter: brightness(0) invert(1); }

.footer__brand-row strong {
  display: block;
  font-size: 1rem;
  color: var(--text);
  line-height: 1.3;
}
.footer__brand-row small {
  font-size: 0.76rem;
  color: var(--text-muted);
}

.footer__about {
  font-size: 0.86rem;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 42ch;
  margin: 0;
}

/* ── Columnas de enlaces ──────────────────────────────── */
.footer__col h3 {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.footer__links a,
.footer__links span {
  color: var(--text-soft);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s, transform 0.2s;
  width: fit-content;
}
.footer__links a:hover {
  color: var(--primary);
  transform: translateX(3px);
}
:root.dark .footer__links a:hover { color: var(--primary-lite); }

/* ── Base ─────────────────────────────────────────────── */
.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-top: 1.6rem;
  border-top: 1px solid var(--border);
}

.footer__copy {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 0;
}

.footer__tech {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
}
.footer__tech iconify-icon {
  font-size: 0.95rem;
  color: var(--primary);
  opacity: 0.9;
}
:root.dark .footer__tech iconify-icon { color: var(--primary-lite); }

@media (max-width: 600px) {
  .footer__bottom { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
}
