/* ═══════════════════════════════════════════════════════════════════════════
   FOOTER.CSS — Global Footer
   ═══════════════════════════════════════════════════════════════════════════ */

.ev-footer {
  border-top: 1px solid var(--border);
  padding: 36px 0 0;
}

.ev-footer__inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 48px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px 28px;
}

/* ── Brand ─────────────────────────────────────────────────────────────── */
.ev-footer__brand {
  max-width: 240px;
  flex-shrink: 0;
}

.ev-footer__logo {
  display: block;
  font: 800 16px/1 var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text);
  margin-bottom: 10px;
}

.ev-footer__logo span {
  color: var(--accent);
}

.ev-footer__brand p {
  font: 400 10px/1.7 var(--font-mono);
  color: var(--text-muted);
  letter-spacing: 0.06em;
}

.ev-footer__data {
  margin-top: 8px;
}

.ev-footer__data a {
  color: var(--text-muted);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color var(--transition);
}

.ev-footer__data a:hover {
  color: var(--accent);
}

/* ── Link columns ──────────────────────────────────────────────────────── */
.ev-footer__cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  flex: 1;
}

.ev-footer__col h4 {
  font: 500 9px/1 var(--font-mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.ev-footer__col a {
  display: flex;
  justify-content: space-between;
  font: 400 10px/1 var(--font-mono);
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 7px;
  transition: color var(--transition);
}

.ev-footer__col a:hover {
  color: var(--text);
}

.ev-footer__col a span {
  font-size: 9px;
  color: var(--faint);
}

/* ── Bottom bar ────────────────────────────────────────────────────────── */
.ev-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 18px 40px;
  border-top: 1px solid var(--border);
  font: 400 10px/1 var(--font-mono);
  color: var(--text-muted);
}

.ev-footer__legal {
  display: flex;
  gap: 16px;
}

.ev-footer__legal a {
  color: var(--text-muted);
  transition: color var(--transition);
}

.ev-footer__legal a:hover {
  color: var(--text);
}

/* ── Responsive ────────────────────────────────────────────────────────── */
@media (max-width: 1023px) {
  .ev-footer__inner {
    flex-direction: column;
    gap: 32px;
  }

  .ev-footer__brand {
    max-width: 100%;
  }

  .ev-footer__cols {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 479px) {
  .ev-footer__cols {
    grid-template-columns: 1fr;
  }

  .ev-footer__bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .ev-footer__inner {
    padding: 0 16px 20px;
  }

  .ev-footer__bottom {
    padding: 14px 16px;
  }
}
