/* ========================================
   FOOTER.CSS
======================================== */

footer {
  position: relative;
  background: #080808;
  padding: 5rem var(--pad-x) 3rem;
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,0.05);
}

/* ── Textura sutil ── */
footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.03;
  pointer-events: none;
}

/* ── Línea cinematic superior ── */
footer::after {
  content: '';
  position: absolute;
  top: 0; left: 10%; right: 10%;
  height: 1px;
  background: linear-gradient(90deg,
    transparent,
    rgba(255,255,255,0.12),
    transparent
  );
}

/* ── Grid ── */
.footer-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 3rem;
  margin-bottom: 4rem;
}

/* ── Logo + tagline ── */
.footer-left {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.footer-logo img { height: 36px; width: auto; }
.footer-tagline {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.2);
  font-weight: 300;
  letter-spacing: 0.06em;
}

/* ── Centro — tagline grande ── */
.footer-center {
  text-align: center;
}
.footer-big {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.8rem);
  font-weight: 800;
  color: rgba(255,255,255,0.06);
  letter-spacing: -0.04em;
  white-space: nowrap;
}

/* ── Derecha — socials ── */
.footer-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1rem;
}
.footer-socials {
  display: flex;
  gap: 1rem;
}
.footer-socials a {
  color: #fff;
  opacity: 0.2;
  transition: opacity 0.3s;
  display: flex;
}
.footer-socials a:hover { opacity: 0.8; }
.footer-socials svg { width: 18px; height: 18px; }

/* ── Bottom bar ── */
.footer-bottom {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.04);
}
.footer-copy {
  font-size: 0.68rem;
  color: rgba(255,255,255,0.12);
  letter-spacing: 0.08em;
}
.footer-nav {
  display: flex;
  gap: 2rem;
}
.footer-nav a {
  font-size: 0.68rem;
  color: rgba(255,255,255,0.18);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.3s;
}
.footer-nav a:hover { color: rgba(255,255,255,0.6); }

/* ── Responsive ── */
@media (max-width: 768px) {
  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }
  .footer-right { align-items: center; }
  .footer-center { display: none; }
  footer { padding: 4rem var(--pad-x-sm) 2.5rem; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
}