﻿/* =============================
   FOOTER CATABUM - VERSION PURPURA
============================= */
.catabum-footer {
  width: 100%;
  background: linear-gradient(135deg, #40026d, #9c11a8);
  color: #fff;
  padding: 28px 15px;
  text-align: center;
  font-size: 14px;
  letter-spacing: 0.3px;
  margin-top: auto; /* permite que un contenedor flex lo empuje al fondo */
  border-top: 0;    /* elimina la linea visible sobre el footer */
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.18);
  position: relative;
  z-index: 5;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.footer-logo {
  width: 100px;
  margin-bottom: 8px;
  filter: drop-shadow(0 3px 8px rgba(255, 255, 255, 0.2));
  transition: transform 0.3s ease;
}

.footer-logo:hover {
  transform: scale(1.05);
}

.footer-brand p {
  font-size: 13px;
  opacity: 0.9;
  margin: 0;
}

.footer-social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 2px;
}

.footer-social a {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.footer-social a:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.45);
}

.footer-social img {
  width: 17px;
  height: 17px;
  display: block;
  filter: brightness(0) invert(1);
}

.footer-links {
  display: flex;
  gap: 20px;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  font-size: 14px;
}

.footer-links a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  position: relative;
  padding: 0 12px;
}

.footer-links a:hover {
  color: #ffe082;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.footer-links a + a::before {
  content: "|";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, 0.55);
  font-weight: 400;
}

/* Responsive */
@media (max-width: 600px) {
  .footer-social {
    gap: 12px;
  }

  .footer-social a {
    width: 32px;
    height: 32px;
  }

  .footer-social img {
    width: 16px;
    height: 16px;
  }

  .footer-links {
    flex-wrap: wrap;
    gap: 10px 18px;
    font-size: 13px;
  }

  .footer-links a {
    font-size: 13px;
    padding: 0;
    flex: 1 1 45%;
    text-align: center;
  }

  .footer-links a + a::before {
    display: none;
  }

  .footer-links a:last-child {
    flex-basis: 100%;
    margin-top: 2px;
  }
}
