/* The public footer (<x-publica.footer>), loaded by the component itself on every page that uses it. */

/* Footer General */
.footer {
  background-color: #1668cc; /* fondo global sólido */
  color: #ffffff; /* todo texto blanco */
  font-size: 14px;
  padding: 0;
}

/* Bloque superior: marca + navegación + políticas */
.footer-top-inner {
  display: grid;
  grid-template-columns: 1.4fr 2fr 1fr;
  gap: 32px;
  padding: 40px 0 28px;
}

.footer-col h4 {
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 14px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-nav-lists {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 24px;
}

.footer-col a {
  color: #ffffff;
  text-decoration: none;
}

.footer-col a:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* White badge so the logo reads on the blue footer. */
.footer-logo-link img {
  display: block;
  width: auto;
  max-width: min(100%, 240px);
  height: 80px;
  object-fit: contain;
  object-position: left center;
  background: #ffffff;
  border-radius: 12px;
  padding: 8px;
}

.footer-brand-name {
  margin: 12px 0 4px;
  font-weight: 600;
}

.footer-brand-contact {
  margin: 0;
  line-height: 1.6;
}

/* First-layer data protection notice (small, muted, always visible) */
.footer-privacy-notice {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding: 12px 0 18px;
  font-size: 0.75rem;
  line-height: 1.35;
  color: #dbe7f7;
}

.footer-privacy-notice .footer-privacy-title {
  margin: 0 0 4px;
  font-weight: 700;
}

.footer-privacy-notice ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-privacy-notice li {
  margin: 0 0 3px;
}

.footer-privacy-notice strong {
  color: #ffffff;
}

.footer-privacy-notice .footer-privacy-more {
  margin: 4px 0 0;
}

.footer-privacy-notice a {
  color: #ffffff;
  text-decoration: underline;
}

/* Bloque inferior */
.footer-bottom {
  background-color: #1668cc; /* mismo fondo que el footer */
  color: #ffffff;
  text-align: center;
  padding: 15px 0;
  font-size: 14px;
}

.footer-bottom p {
  margin: 0;
}

/* Responsive: en móviles las columnas se apilan */
@media (max-width: 768px) {
  .footer-top-inner {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 32px 0 20px;
  }
}
