/* =====================================================
   LAYOUT GLOBAL PARA FOOTER ABAJO
===================================================== */

html, body {
  height: 100%;
}

body {
  display: flex;
  flex-direction: column;
}

.page {
  flex: 1;
}

/* =====================================================
   FOOTER
===================================================== */

.footer {
  font-size: 12px;
  color: #6e6e73;
  margin-top: auto; /* 🔥 empuja al fondo */
}

.footer-inner {
  max-width: 980px;
  margin: 0 auto;
  padding: 6px 16px 10px;
}

.footer-copy {
  margin-bottom: 4px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 6px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
}

.footer-links a {
  color: inherit;
  text-decoration: none;
  opacity: 0.85;
  padding-right: 8px;
}

.footer-links a:hover {
  opacity: 1;
}

.footer-links a:not(:last-child)::after {
  content: "|";
  margin-left: 8px;
  color: rgba(110,110,115,0.6);
}

.footer-locale {
  white-space: nowrap;
}

/* =====================================================
   FOOTER MOBILE
===================================================== */

@media (max-width: 768px) {

  .footer {
    margin-top: auto;
    padding-bottom: 12px;
    text-align: center;
    font-size: 10.5px;
    color: #6e6e73;
  }

  .footer-inner {
    padding: 8px 14px;
  }

  .footer-copy {
    margin-bottom: 6px;
    line-height: 1.3;
  }

  .footer-bottom {
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: center;
  }

  .footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }

  .footer-links a {
    font-size: 10.5px;
    padding: 0 4px;
  }

  .footer-links a:not(:last-child)::after {
    content: "|";
    margin-left: 4px;
    color: rgba(110,110,115,0.5);
  }

  .footer-locale {
    margin-top: 2px;
    font-size: 10px;
    opacity: 0.8;
  }
}