/* Aeromec footer — marca; alineación en bloques JSON; padding vía presets (FSE import no serializa spacing) */

.aeromec-footer {
  margin-top: 3rem;
  padding-top: var(--wp--preset--spacing--aeromec-home-y);
  padding-bottom: var(--wp--preset--spacing--aeromec-home-y-sm);
  padding-inline: var(--wp--preset--spacing--aeromec-gutter);
  background:
    radial-gradient(ellipse 60% 80% at 20% 100%, rgba(49, 200, 162, 0.18), transparent 55%),
    radial-gradient(ellipse 50% 60% at 90% 0%, rgba(16, 14, 79, 0.35), transparent 50%),
    linear-gradient(180deg, #100e4f 0%, #0a0c3a 100%);
  background-color: #100e4f;
  color: rgba(255, 255, 255, 0.82);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.aeromec-footer-brand .wp-block-heading,
.aeromec-footer-brand p,
.aeromec-footer-nav-col .wp-block-heading,
.aeromec-footer-nav-col p,
.aeromec-footer__copy {
  color: rgba(255, 255, 255, 0.82) !important;
  margin-top: 0;
  overflow-wrap: break-word;
}

.aeromec-footer__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.aeromec-footer__grid > * {
  min-width: 0;
  max-width: 100%;
}

.aeromec-footer-brand > *,
.aeromec-footer-nav-col > * {
  max-width: 100%;
}

.aeromec-footer .wp-block-buttons {
  max-width: 100%;
}

.aeromec-footer__logo img,
.aeromec-footer-logo-badge img {
  display: block;
  max-width: min(200px, 100%);
  height: auto;
  margin-inline: auto;
}

.aeromec-footer-logo-badge {
  margin-inline: auto;
  width: fit-content;
  max-width: 100%;
}

.aeromec-footer-nav .wp-block-button__link {
  background: rgba(255, 255, 255, 0.14) !important;
  background-color: rgba(30, 41, 59, 0.85) !important;
  backdrop-filter: blur(8px);
  color: #f8fafc !important;
  font-size: 0.85rem !important;
  padding: 0.4rem 0.85rem !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 999px !important;
  overflow-wrap: break-word;
}

.aeromec-footer-nav .wp-block-button__link:hover {
  background: rgba(255, 255, 255, 0.12) !important;
  color: var(--aeromec-white) !important;
}

.aeromec-footer-legal .wp-block-button__link {
  font-size: 0.78rem !important;
  padding: 0.35rem 0.75rem !important;
  overflow-wrap: break-word;
}

.aeromec-footer__copy {
  margin-top: 1.5rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.78) !important;
}

@media (max-width: 781px) {
  .aeromec-footer__grid {
    grid-template-columns: 1fr;
  }
}
