/* Pie de página unificado para todas las páginas públicas de Gaiatech.
   Una sola fila: copyright, enlaces, ubicación e icono de WhatsApp.
   Se carga al final de la cascada para homogenizar los footers heredados. */

footer.gt-footer {
  margin: 0 !important;
  padding: 0 !important;
  border-top: 1px solid #dfe5e2 !important;
  background: #f7f9f7 !important;
  color: #627177 !important;
}

footer.gt-footer .gt-footer-inner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 16px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px 22px;
  flex-wrap: wrap;
  font-size: 12px;
  line-height: 1.6;
  color: #627177;
}

footer.gt-footer a {
  color: #5c853b !important;
  text-decoration: none;
}

footer.gt-footer a:hover {
  text-decoration: underline;
}

footer.gt-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
}

footer.gt-footer .gt-footer-wa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  color: #5c853b;
}

footer.gt-footer .gt-footer-wa svg {
  width: 19px;
  height: 19px;
  fill: currentColor;
}

@media (max-width: 640px) {
  footer.gt-footer .gt-footer-inner {
    display: grid;
    grid-template-columns: 1fr auto auto;
    justify-items: center;
    align-items: center;
    text-align: center;
    gap: 6px 14px;
    padding: 12px 0;
    font-size: 11px;
  }

  footer.gt-footer nav {
    grid-column: 1 / -1;
    justify-content: center;
    gap: 4px 12px;
  }
}

/* El mapa heredaba un margin-bottom de 8px que dejaba un hueco blanco. */
body { margin-bottom: 0 !important; }
