footer {
    background: #E1F5FE;
    color: white;
    padding: 10px;
    margin-bottom: 0;
    border-top: #ef8c30 4px solid;
    }
footer p{
    display: inline-block;
    vertical-align: middle;
    text-align: right;
    width: 90%;
    color: black;
}
/* Lo que se comenta a continuación es el logo diocesano para el footer */
/* .icons {
    bottom: 8px;
    display: inline-block;
    flex-direction: row;
    vertical-align: middle;
}
.icons .floating-icon{
gap: 25px;
}

.floating-icon img {
width: 50px;
height: 50px;
border-radius: 50%;
transition: transform 0.3s;
}

.floating-icon img:hover {
transform: scale(1.1);
} */

/* Botón circular en el centro del footer */
.btn-popup {
  width: var(--btn-size);
  height: var(--btn-size);
  background: var(--btn-bg);
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  position: relative;
  transition: background 0.3s, transform 0.3s;
}

/* Sutil “pop” al hacer hover */
.btn-popup:hover {
  background: var(--btn-hover);
  transform: translateY(-3px) scale(1.1);
}

/* Tooltip encima del botón */
.btn-popup[title]:hover::after {
  content: attr(title);
  position: absolute;
  top: 50%;
  left: calc(100% + 8px);
  transform: translateY(-50%);
  background: var(--tooltip-bg);
  color: rgb(5, 3, 125);
  padding: 4px 8px;
  border-radius: 4px;
  white-space: nowrap;
  font-size: 0.875rem;
  pointer-events: none;
  opacity: 1;
}

/* Popup container */
.popup {
  position: fixed;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  background: var(--overlay-bg);
  transform: translateY(100%);
  transition: transform 0.3s ease-out;
  z-index: 2;
  text-align: left;
}

.popup.open {
  transform: translateY(0);
}

/* Ventana emergente */
.popup-inner {
  background: var(--popup-bg);
  width: 100%;
  max-width: 800px;
  border-top-left-radius: 1rem;
  border-top-right-radius: 1rem;
  padding: 1.5rem;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  background-color: #E1F5FE;
 
}

/* Botón de cierre */
.close-btn {
  position: absolute;
  top: 0.75rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Zona para tu contenido */
.popup-content {
  margin-top: 1rem;
  text-align: right;
}
.popup-content p {
  margin-bottom: 1rem;
  color: black;
  text-align: left;
}



/* Responsive */
@media (max-width: 480px) {
  .btn-popup {
    width: 50px;
    height: 50px;
    font-size: 1.25rem;
    margin-bottom: 0;
  }

  .popup-inner {
    padding: 1rem;
  }
}
/* Código para el texto emergente de contacto */
/* Comento el siguiente código para que poder modificarlo */
/* .footer{
    display: inline-block;
    align-items: center;
    vertical-align: middle;
    margin: 12px;
    padding: 0;
}
.icono {
    font-size: 24px;
    cursor: pointer;
 
    
    }
.cerrar {
    color: #ff0000;
    cursor: pointer;
    font-weight: bold;
} */
/* .popup {
    display: none; Oculto por defecto 
    position: fixed;
    bottom: 0;
    left: 50px;
    right: 50px;
    background: radial-gradient(circle, rgb(6, 48, 112, 1) 10%, rgba(6, 55, 117, 0.9) 40%, rgba(6, 65, 117, 0.8) 90%, rgba(6, 85, 125, 0.6) 100%);
    background-color: #415075;
    color: white;
    padding: 20px;
    text-align: center;
    align-items: center;
} */


@media screen and (max-width: 768px){
.footer {
  margin-bottom: 0;
}

.icons {
    bottom: 8px;
    display: inline-block;
    flex-direction: row;
    vertical-align: middle;
}
.floating-icon img {
width: 30px;
height: 30px;
border-radius: 50%;
transition: transform 0.3s;
}
}