/* ============================================================
   Footer — CABV
   ============================================================ */

.site-footer {
  background: var(--color-primary-dark);
  color: rgba(255,255,255,0.75);
  padding: 3.5rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}
@media (min-width: 640px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; }
}

/* ── Columna branding ────────────────────────────────────────── */
.footer-brand img {
  height: 52px;
  width: auto;
  margin-bottom: 1rem;
  filter: brightness(0) invert(1); /* fuerza blanco si no hay versión blanca */
  opacity: 0.92;
}
.footer-brand p {
  font-size: 0.875rem;
  line-height: 1.7;
  margin-bottom: 1.25rem;
}
.footer-social {
  display: flex;
  gap: 0.5rem;
}
.footer-social a {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.1);
  color: #fff;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  transition: background var(--transition);
}
.footer-social a:hover { background: var(--color-primary); }

/* ── Columnas de links ───────────────────────────────────────── */
.footer-col h4 {
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 1rem;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.footer-links a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.65);
  transition: color var(--transition), padding-left var(--transition);
}
.footer-links a:hover {
  color: #fff;
  padding-left: 4px;
}

/* ── Datos de contacto en footer ─────────────────────────────── */
.footer-contact-item {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.65);
  margin-bottom: 0.65rem;
}
.footer-contact-item i {
  color: rgba(255,255,255,0.45);
  width: 16px;
  flex-shrink: 0;
  margin-top: 0.15rem;
}
.footer-contact-item a { color: inherit; }
.footer-contact-item a:hover { color: #fff; }

/* ── Barra inferior ──────────────────────────────────────────── */
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 1.25rem 0;
}
.footer-bottom .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.45);
}
.footer-bottom a {
  color: rgba(255,255,255,0.6);
}
.footer-bottom a:hover { color: #fff; }
