/* ============================================================
   footer.css
   Estilos del pie de página corporativo
   ============================================================ */

footer {
  background: var(--dark);
  padding: 3rem 5vw 2rem;
}

/* ── Fila superior: brand + columnas ── */
.ft {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

/* ── Columna brand ── */
.fb .logo { color: #fff; }

.fb p {
  font-size: .76rem;
  color: rgba(255, 255, 255, .38);
  margin-top: .6rem;
  max-width: 230px;
  line-height: 1.7;
}

/* ── Columnas de links ── */
.fc h4 {
  font-size: .67rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .45);
  margin-bottom: .9rem;
}

.fc ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .45rem;
}

.fc ul a {
  font-size: .76rem;
  color: rgba(255, 255, 255, .45);
  text-decoration: none;
  transition: color .2s;
}

.fc ul a:hover { color: #fff; }

/* ── Fila inferior: copyright ── */
.fb2 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 1.5rem;
}

.fcopy {
  font-size: .7rem;
  color: rgba(255, 255, 255, .28);
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .ft { flex-direction: column; gap: 2rem; }
  .fb2 { flex-direction: column; text-align: center; }
}

/* ── Footer logo imagen ── */
.ft-logo {
  display: inline-block;
  margin-bottom: .75rem;
  text-decoration: none;
}

.ft-logo-img {
  height: 40px;
  width: auto;
  object-fit: contain;
  display: block;
  /* Invertir si el footer es oscuro para que el logo se vea bien */
  filter: brightness(0) invert(1);
}
