/* =========================
   Footer (Bajo Tierra)
   ========================= */

.footer {
  background-color: #0f0f0f;
  color: #fff;
  padding-top: 3rem;
  padding-bottom: 2rem;
  font-family:  "Roboto", sans-serif;
}

/* Contenedor principal del footer */
.footer__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  text-align: center;
  gap: 2rem;
  padding: 2rem;
}

@media screen and (min-width: 768px) {
  .footer__content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    align-items: start;
    text-align: left;
  }
}

/* Ítems individuales */
.footer__item h2 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
}

.footer__item p,
.footer__item a {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #ddd;
}

.footer__item a:hover {
  color: var(--rojo-aldo, #e63946);
}

/* =========================
   Partners
   ========================= */

.footer-partners-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.footer-partners-logo img {
  display: block;
  height: 50px;
  width: auto;
  transition: transform 0.2s ease;
}

.footer-partners-logo:hover img {
  transform: translateY(-2px);
}

@media (min-width: 768px) {
  .footer-partners-logo img {
    height: 80px;
  }
}

/* =========================
   Copy & créditos
   ========================= */

.footer__copy {
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
  color: #aaa;
}

.footer a {
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.footer a:hover {
  color: var(--rojo-aldo, #e63946);
  border-color: var(--rojo-aldo, #e63946);
}

/* =========================
   Layout responsive inferior
   ========================= */

.footer>.flex {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  text-align: center;
  margin-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1rem;
}

@media (min-width: 768px) {
  .footer>.flex {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .footer-partners-logos {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

}