/* Footer Estilos con Firma Rocket Launch */
.site-footer {
  background-color: #060d1f;
  color: #e2e8f0;
  margin-top: 60px;
}

.footer-top {
  padding: 40px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.footer-brand h2 {
  color: #fff;
  font-size: 1.3rem;
  margin-bottom: 8px;
}

.footer-brand p {
  color: #94a3b8;
  font-size: 0.9rem;
}

.footer-links h4, .footer-contact h4 {
  color: #fff;
  margin-bottom: 12px;
  font-size: 1rem;
}

.footer-links ul {
  list-style: none;
}

.footer-links a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: #fff;
}

/* Firma de Créditos Obligatoria Rocket Launch */
.rocket-credits-footer {
  background-color: #030712;
  color: #94a3b8;
  text-align: center;
  padding: 14px 20px;
  font-size: 0.9rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.rocket-credits-footer a {
  color: #2663eb;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.3s ease;
}

.rocket-credits-footer a:hover {
  color: #60a5fa;
}

.rocket-heartbeat {
  display: inline-block;
  color: #e63946;
  animation: heartbeat 1.5s ease-in-out infinite;
}

@keyframes heartbeat {
  0% { transform: scale(1); }
  14% { transform: scale(1.3); }
  28% { transform: scale(1); }
  42% { transform: scale(1.3); }
  70% { transform: scale(1); }
}

/* ═══════════════════════════════════════════
   BARRA INFERIOR DEL FOOTER
   Va al final porque footer.css es la última hoja que carga el layout.
   Todo queda acotado a .site-footer .footer-bottom: la clase
   .rocket-credits-footer también se usa suelta y centrada en otras
   páginas, y ahí debe conservar su aspecto de bloque.
═══════════════════════════════════════════ */
.site-footer .footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0;
  background: transparent;
}

.site-footer .footer-bottom-inner {
  max-width: 1300px;
  margin: 0 auto;
  padding: 1.05rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  flex-wrap: wrap;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.6);
}

/* Dentro de la barra es un span en una fila flex, no un bloque
   independiente: se anulan fondo, borde y padding propios. */
.site-footer .footer-bottom .rocket-credits-footer {
  background: none;
  border: 0;
  padding: 0;
  margin: 0;
  text-align: right;
  font-size: inherit;
  line-height: inherit;
  color: inherit;
}

.site-footer .footer-bottom .rocket-credits-footer a {
  color: rgba(255, 255, 255, 0.92);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  text-decoration-color: rgba(255, 255, 255, 0.35);
  transition: color 0.25s ease, text-decoration-color 0.25s ease;
}

.site-footer .footer-bottom .rocket-credits-footer a:hover,
.site-footer .footer-bottom .rocket-credits-footer a:focus-visible {
  color: #ffffff;
  text-decoration-color: rgba(255, 255, 255, 0.9);
}

.site-footer .footer-bottom .rocket-heartbeat {
  color: #f2617a;
  font-size: 0.875em;
}

@media (max-width: 640px) {
  .site-footer .footer-bottom-inner {
    justify-content: center;
    text-align: center;
    gap: 0.5rem;
  }
  .site-footer .footer-bottom .rocket-credits-footer {
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-footer .footer-bottom .rocket-heartbeat {
    animation: none;
  }
}
