/* ===== FOOTER – FITBYDIANA ===== */

.footer-two {
  background: #040507;
  color: #e5e7eb !important;
  padding-top: 3.5rem;
  padding-bottom: 2.5rem;
  font-size: 0.95rem;
  position: relative;
  z-index: 1;
}

.footer-two a {
  color: inherit;
  text-decoration: none;
}

.footer-two a:hover {
  color: var(--challenge-primary);
}

/* Top section */

.footer-top {
  border-bottom: 1px solid rgba(148, 163, 184, 0.25);
  padding-bottom: 2.5rem;
  margin-bottom: 2.5rem;
}

.footer-brand {
  max-width: 360px;
}

.footer-logo img {
  max-height: 38px;
  width: auto;
  margin-bottom: 1.25rem;
}

.footer-tagline {
  margin: 0;
  color: #9ca3af;
  line-height: 1.5;
}

/* Nav limpia, sin pastillas */

.footer-nav-wrapper {
  display: flex;
  justify-content: center;
}

.footer-nav {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.75rem;
  justify-content: center;
}

.footer-nav li a {
  font-weight: 500;
  color: #e5e7eb;
  position: relative;
  padding-bottom: 0.2rem;
}

.footer-nav li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    var(--challenge-primary),
    var(--challenge-accent)
  );
  transition: width 0.22s ease-out;
}

.footer-nav li a:hover::after {
  width: 100%;
}

/* CTA WhatsApp */

.footer-cta {
  background: radial-gradient(
      circle at top left,
      rgba(139, 92, 246, 0.35),
      transparent 55%
    ),
    #020617;
  border-radius: 18px;
  padding: 1.4rem 1.5rem;
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.8);
}

.footer-cta-title {
  font-weight: 600;
  color: #f9fafb;
  margin-bottom: 0.25rem;
}

.footer-cta-text {
  color: #9ca3af;
  font-size: 0.9rem;
  margin-bottom: 0.9rem;
}

.footer-whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.6rem 1.4rem;
  border-radius: 999px;
  background: linear-gradient(
    135deg,
    var(--challenge-primary),
    var(--challenge-accent)
  );
  color: #f9fafb;
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: 0 16px 30px rgba(37, 99, 235, 0.6);
  border: none;
}

.footer-whatsapp-btn i {
  font-size: 1.05rem;
}

.footer-whatsapp-btn:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

/* Info blocks */

.footer-info {
  margin-bottom: 1.5rem;
}

.footer-block {
  max-width: 360px;
}

.footer-heading {
  font-size: 1rem;
  font-weight: 600;
  color: #f9fafb;
  margin-bottom: 0.9rem;
}

.footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-list li {
  color: #9ca3af;
  margin-bottom: 0.35rem;
}

.footer-list li:last-child {
  margin-bottom: 0;
}

.footer-list a {
  color: #e5e7eb;
}

.footer-list a:hover {
  color: var(--challenge-primary);
}

/* Social */

.footer-text {
  color: #9ca3af;
  margin-bottom: 0.75rem;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-social a {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.55);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 23, 42, 0.85);
}

.footer-social i {
  font-size: 1rem;
}

/* Bottom */

.footer-bottom {
  border-top: 1px solid rgba(148, 163, 184, 0.25);
  margin-top: 0.5rem;
  padding-top: 1.1rem;
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-copy {
  margin: 0;
  color: #6b7280;
  font-size: 0.85rem;
}

/* Created by */

.footer-created-by {
  display: flex;
  align-items: center;
}

.created-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: #9ca3af;
}

.created-link:hover {
  color: var(--challenge-accent);
}

.created-text {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 500;
}

.created-name {
  font-weight: 600;
  color: #e5e7eb;
}

.created-avatar {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  object-fit: cover;
}

/* Responsive */

@media (max-width: 991.98px) {
  .footer-top {
    text-align: center;
  }

  .footer-nav-wrapper {
    justify-content: center;
    margin-top: 1rem;
    margin-bottom: 1rem;
  }

  .footer-cta {
    margin: 0 auto;
    max-width: 320px;
  }

  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 575.98px) {
  .footer-nav {
    gap: 0.6rem 1rem;
  }

  .footer-two {
    padding-top: 2.5rem;
  }
}
/* ================================
   RESET de overlay que bloquea clics
   ================================ */
.footer-bottom::before {
    content: none !important;
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* ================================
   NAV DEL FOOTER (Inicio / Planes / Blog...)
   Recto, minimal, elegante
   ================================ */
.footer-nav li a {
    background: transparent !important;
    border: 1px solid rgba(255,255,255,0.18) !important;
    border-radius: 0 !important; /* SIN BORDES REDONDEADOS */
    padding: 8px 16px !important;
    font-size: 15px !important;
    display: inline-block;
    color: #E5E7EB !important;
    transition: 0.25s ease;
}

.footer-nav li a:hover {
    background: rgba(255,255,255,0.06) !important;
    color: #FFFFFF !important;
    border-color: rgba(255,255,255,0.4) !important;
}

/* ================================
   CTA WHATSAPP – ESTÉTICO, SIMPLE
   ================================ */
.footer-whatsapp-box {
    background: rgba(255,255,255,0.03) !important;
    border: 1px solid rgba(255,255,255,0.12) !important;
    padding: 20px !important;
    border-radius: 0 !important;
    max-width: 280px;
}

.footer-whatsapp-box h4 {
    color: #FFFFFF !important;
    font-size: 17px !important;
    margin-bottom: 10px !important;
}

.footer-whatsapp-box p {
    color: #9CA3AF !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
    margin-bottom: 18px !important;
}

.footer-whatsapp-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #4C6FFF !important;
    color: #FFFFFF !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    padding: 12px 18px !important;
    border-radius: 0 !important;
    cursor: pointer !important;
    border: none !important;
    transition: 0.25s ease !important;
}

.footer-whatsapp-btn:hover {
    background: #3248b5 !important;
}

.footer-whatsapp-btn i {
    margin-right: 8px !important;
    font-size: 18px !important;
}

/* Asegurar clics */
.footer-whatsapp-box,
.footer-whatsapp-btn {
    position: relative;
    z-index: 10 !important;
    pointer-events: all !important;
}
