.footer-title {
  font-size: 1.1rem;
  font-weight: bold;
  color: #ffffff;
  border-bottom: 2px solid #E42338;
  padding-bottom: 6px;
  margin-bottom: 16px;
}
.footer-block a {
  color: #cccccc;
  text-decoration: none;
  display: block;
  margin-bottom: 8px;
  transition: all 0.3s ease;
}
.footer-block a:hover {
  color: #d74747;
  text-decoration: underline;
}
.footer-block i {
  color: #888;
}
.footer-block p {
  font-size: 0.9rem;
  color: #ccc;
}
.copyright small {
  font-size: 0.85rem;
}
.redes-sociales img {
  width: 32px;
  height: 32px;
  margin: 0 6px;
  transition: transform 0.3s ease, filter 0.3s ease;
}
.redes-sociales img:hover {
  transform: scale(1.1);
  filter: brightness(1.2);
}


/* WHATSAPP - FLOTANTE SIEMPRE ENCIMA */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999; /* Más alto que cualquier otro z-index */
    background-color: #25d366;
    border-radius: 50%;
    padding: 12px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}
.whatsapp-float img {
    width: 36px;
    height: 36px;
    display: block;
}
.whatsapp-float:hover {
    transform: scale(1.12);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
    background-color: #1ebe5d;
}


/*PUBLICIDAD FLOTANTE*/
/* === Publicidad flotante moderna === */
.popup-publicidad {
  position: fixed;
  top: 40px;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1050;
  animation: fadeIn 0.5s ease;
}
.popup-contenido {
  position: relative;
  max-width: 500px;
  width: 90%;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
  animation: scaleIn 0.4s ease;
}
.popup-imagen {
  width: 100%;
  display: block;
  height: auto;
}
.popup-cerrar {
  position: absolute;
  top: 10px;
  right: 14px;
  width: 36px;
  height: 36px;
  background: #E42338;
  border: none;
  border-radius: 50%;
  font-size: 20px;
  font-weight: bold;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
  padding: 0;
}
.popup-cerrar:hover {
  background: #a80000;
}
/* Animaciones */
@keyframes fadeIn {
  from { opacity: 0; } 
  to { opacity: 1; }
}
@keyframes scaleIn {
  from { transform: scale(0.85); opacity: 0; } 
  to { transform: scale(1); opacity: 1; }
}

/* ==============================
   RESPONSIVE PARA 1366x768
   (Escala reducida un 15%)
   ============================== */
@media (min-width: 1024px) and (max-width: 1366px) {
  .popup-contenido {
    max-width: 380px; /* Reducido de 500px (85%) */
    transform: scale(0.85); /* Escala general del 85% */
    transform-origin: center;
  }
  
  .popup-cerrar {
    width: 30px; /* Reducido de 36px */
    height: 30px; /* Reducido de 36px */
    font-size: 15px; /* Reducido de 20px */
    top: 8px; /* Ajustado proporcionalmente */
    right: 12px; /* Ajustado proporcionalmente */
  }
}

/* ==============================
   RESPONSIVE PARA MÓVILES
   ============================== */
@media (max-width: 480px) {
  .popup-publicidad {
    align-items: flex-start;   /* ya no centrado vertical */
    padding-top: 150px;         /* separación desde arriba */
  }

  .popup-contenido {
    margin-top: 0;
    max-width: 95%;
  }
  
  .popup-cerrar {
    width: 32px;
    height: 32px;
    font-size: 18px;
    top: 6px;
    right: 10px;
  }
}

/* ==============================
   RESPONSIVE PARA TABLETS
   ============================== */
@media (min-width: 481px) and (max-width: 1023px) {
  .popup-contenido {
    max-width: 450px; /* Ligeramente reducido para tablets */
  }
}