/* Footer — tema oscuro, 5 columnas */
.footer-grid {
  display: grid;
  gap: 2rem 1.25rem;
  align-items: start;
  grid-template-columns: 1fr;
}

@media (min-width: 576px) {
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 992px) {
  .footer-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 2rem 1rem;
  }
}

.footer-grid-cell {
  min-width: 0;
}

/* Mismo fondo que .home-life-stages (inicio — “Para todos / cada etapa”) */
.site-footer {
  background: linear-gradient(180deg, #021a3d 0%, #03285f 45%, #021a3d 100%);
  color: #e8f2ff;
}

.site-footer .container {
  padding-top: 2.25rem;
  padding-bottom: 2rem;
}

.footer-logo {
  height: 44px;
  width: auto;
  filter: brightness(0) invert(1);
  display: block;
}

.footer-brand-text {
  font-size: 0.82rem;
  line-height: 1.55;
  color: rgba(232, 238, 245, 0.78);
  margin-bottom: 0;
  max-width: 17rem;
}

/* Títulos de sección: | BARRA + texto */
.footer-heading {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.footer-heading-with-icon {
  gap: 0.35rem;
}

.footer-heading-icon {
  font-size: 1rem;
  color: #4aa8e8;
}

.footer-heading-bar {
  display: inline-block;
  width: 3px;
  height: 1rem;
  border-radius: 2px;
  background: linear-gradient(180deg, #4fc3f7, #0d8ce8);
  flex-shrink: 0;
}

.footer-heading-label {
  line-height: 1.2;
}

.footer-link-list li + li {
  margin-top: 0.35rem;
}

.footer-link-list a {
  font-size: 0.82rem;
  color: rgba(232, 238, 245, 0.72);
  text-decoration: none;
  transition: color 0.18s ease;
}

.footer-link-list a:hover {
  color: #ffffff;
}

.footer-link-all {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: #4fc3f7;
  text-decoration: none;
}

.footer-link-all:hover {
  color: #7dd4ff;
}

.footer-link-all i {
  font-size: 1rem;
  vertical-align: middle;
}

/* Redes — círculos con borde */
.footer-social-v2 {
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(79, 195, 247, 0.45);
  background: rgba(255, 255, 255, 0.04);
  text-decoration: none;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.footer-social-v2:hover {
  background: rgba(79, 195, 247, 0.15);
  border-color: rgba(79, 195, 247, 0.75);
  color: #ffffff;
  transform: translateY(-2px);
}

/* Badge calidad */
.footer-cert-badge {
  margin-top: 0.25rem;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #ffffff;
  border: 1px solid rgba(79, 195, 247, 0.5);
  background: rgba(0, 40, 80, 0.45);
}

.footer-cert-badge i {
  font-size: 1.05rem;
  color: #4fc3f7;
}

/* Contacto — iconos en recuadro */
.footer-contact-blocks li + li {
  margin-top: 0.65rem;
}

.footer-contact-block {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.82rem;
  color: rgba(232, 238, 245, 0.8);
  line-height: 1.4;
}

.footer-contact-ico {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  border-radius: 0.35rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(79, 195, 247, 0.55);
  color: #4fc3f7;
  font-size: 1rem;
  background: rgba(79, 195, 247, 0.08);
}

.footer-contact-ico-wa {
  border-color: rgba(37, 211, 102, 0.65);
  color: #25d366;
  background: rgba(37, 211, 102, 0.1);
}

.footer-contact-block a {
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
  font-weight: 500;
}

.footer-contact-block a:hover {
  color: #4fc3f7;
}

/* Horario pastillas */
.footer-schedule-pill {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(79, 195, 247, 0.45);
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.78rem;
}

.footer-schedule-day {
  color: rgba(232, 238, 245, 0.88);
  font-weight: 600;
}

.footer-schedule-hours {
  color: #4fc3f7;
  font-weight: 700;
  white-space: nowrap;
}

.footer-schedule-closed {
  font-size: 0.78rem;
  color: rgba(232, 238, 245, 0.75);
  padding: 0.15rem 0.35rem;
}

.footer-schedule-muted {
  color: rgba(232, 238, 245, 0.45);
  font-weight: 600;
}

/* CTAs columna horario */
.footer-cta {
  border-radius: 999px;
  padding: 0.65rem 1rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease,
    color 0.2s ease, border-color 0.2s ease;
}

.footer-cta-primary {
  background: linear-gradient(90deg, #0d8ce8, #4fc3f7);
  color: #ffffff;
  border: none;
  box-shadow: 0 6px 20px rgba(13, 140, 232, 0.35);
}

.footer-cta-primary:hover {
  color: #ffffff;
  filter: brightness(1.08);
  transform: translateY(-1px);
  box-shadow: 0 10px 26px rgba(13, 140, 232, 0.45);
}

.footer-cta-wa {
  background: rgba(255, 255, 255, 0.04);
  color: #25d366;
  border: 1px solid rgba(37, 211, 102, 0.75);
}

.footer-cta-wa:hover {
  color: #4de68a;
  background: rgba(37, 211, 102, 0.12);
  border-color: #25d366;
  transform: translateY(-1px);
}

.footer-divider {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  opacity: 1;
}

.text-muted-footer {
  color: rgba(232, 238, 245, 0.48) !important;
  font-size: 0.78rem;
}

.footer-bottom i {
  font-size: 0.95rem;
  color: rgba(79, 195, 247, 0.65);
}

.footer-legal-links a {
  transition: color 0.15s ease, text-decoration-color 0.15s ease;
}

.footer-legal-links a:hover {
  color: rgba(255, 255, 255, 0.92) !important;
  text-decoration: underline !important;
}

/* Compatibilidad: quitar márgenes viejos si quedaran en contenido */
.site-footer hr {
  margin-top: 1.5rem !important;
  margin-bottom: 1.5rem !important;
}
