/* ─────────────────────────────────────────
   Footer — Dark Premium
───────────────────────────────────────── */

.dpope-footer {
  background-color: var(--color-dark-alt);
  color: var(--color-texto-cream);
  padding: var(--sp-80) 0 var(--sp-32);
  border-top: 2px solid var(--color-primario);
}

.dpope-footer a {
  color: var(--color-texto-muted);
  transition: color 0.2s ease;
  opacity: 1;
}

.dpope-footer a:hover {
  color: var(--color-oro);
  opacity: 1;
}

.dpope-footer__container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--sp-24);
}

.dpope-footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: var(--sp-64);
  margin-bottom: var(--sp-64);
}

.dpope-footer__section h3 {
  font-family: var(--font-serif);
  font-size: var(--fs-18);
  font-weight: var(--fw-bold);
  color: var(--color-texto-cream);
  margin-bottom: var(--sp-24);
  padding-bottom: var(--sp-12);
  border-bottom: 1px solid var(--color-primario);
}

.dpope-footer__section ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.dpope-footer__section li {
  margin-bottom: var(--sp-12);
  font-size: var(--fs-14);
}

.dpope-footer__contact {
  display: flex;
  flex-direction: column;
  gap: var(--sp-16);
  font-size: var(--fs-14);
  color: var(--color-texto-muted);
  line-height: 1.65;
}

.dpope-footer__contact p { margin-bottom: 0; }

.dpope-footer__contact strong {
  display: block;
  font-family: var(--font-sans);
  font-size: var(--fs-11);
  font-weight: var(--fw-bold);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-texto-cream);
  margin-bottom: 3px;
}

/* ─── Social icons ─── */
.dpope-footer__social {
  display: flex;
  gap: var(--sp-12);
  margin-top: var(--sp-24);
}

.dpope-footer__social a {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.15);
  font-size: var(--fs-14);
  color: var(--color-texto-muted);
  transition: var(--transition-base);
  text-decoration: none;
}

.dpope-footer__social a:hover {
  border-color: var(--color-primario);
  background-color: var(--color-primario);
  color: white;
  opacity: 1;
}

/* ─── Bottom bar ─── */
.dpope-footer__bottom {
  padding-top: var(--sp-24);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
}

.dpope-footer__copyright {
  font-size: var(--fs-12);
  color: var(--color-texto-muted);
  margin-bottom: 0;
  letter-spacing: 0.06em;
  text-align: center;
}

/* ─── WhatsApp floating button ─── */
.dpope-whatsapp-btn {
  position: fixed;
  bottom: var(--sp-24);
  right: var(--sp-24);
  width: 58px;
  height: 58px;
  background-color: var(--color-exito);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 800;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35);
  transition: transform 0.25s var(--ease-out-quart), box-shadow 0.25s ease;
  animation: wa-pulse 2.5s ease-in-out infinite;
}

.dpope-whatsapp-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.55);
  opacity: 1;
}

.dpope-whatsapp-btn svg {
  width: 28px;
  height: 28px;
  fill: white;
}

@keyframes wa-pulse {
  0%, 100% {
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35),
                0 0 0 0 rgba(37, 211, 102, 0.5);
  }
  50% {
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35),
                0 0 0 14px rgba(37, 211, 102, 0);
  }
}

/* ─── Responsive ─── */
@media (max-width: 768px) {
  .dpope-footer { padding-top: var(--sp-48); }

  .dpope-footer__grid {
    grid-template-columns: 1fr;
    gap: var(--sp-32);
  }

  .dpope-footer__bottom { flex-direction: column; text-align: center; }

  .dpope-whatsapp-btn {
    width: 50px;
    height: 50px;
    bottom: var(--sp-16);
    right: var(--sp-16);
  }

  .dpope-whatsapp-btn svg { width: 24px; height: 24px; }
}
