* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  width: 100%;
  font-family: 'Poppins', sans-serif;
  color: white;
  overflow: hidden;
  background: url("../images/Fondo_Inicio_2.png") no-repeat center center fixed;
  background-size: cover;
}

/* Header superior */
.header-construccion {
  position: fixed;
  top: 0;
  width: 100%;
  display: flex;
  justify-content: flex-end;
  padding: 1rem 2rem;
  z-index: 10;
}

.portal-btn {
  background: linear-gradient(90deg, #009de0, #006c9b);
  border: none;
  color: white;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 8px;
  padding: 0.75rem 1.5rem;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
  transition: transform 0.2s ease;
}

.portal-btn:hover {
  transform: scale(1.05);
}

/* Contenido principal */
.contenedor {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100vh;
  text-align: center;
  padding: 1rem;
  backdrop-filter: brightness(1.05);
}

.logo {
  width: 16rem;
  margin-bottom: 2rem;

}

h1 {
  font-size: 2.5rem;
  font-weight: 400;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.direccion {
  font-size: 1.5rem;
  font-weight: 600;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

/* Botón flotante WhatsApp */
/* .whatsapp-btn {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background-color: #25D366;
  border-radius: 50%;
  padding: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
  transition: transform 0.3s ease;
} */

.whatsapp-btn:hover {
  transform: scale(1.1);
}

.whatsapp-btn img {
  width: 38px;
  height: 38px;
}

/* ================================ */
/* Burbuja animada sobre WhatsApp   */
/* ================================ */
.whatsapp-bubble {
  position: fixed;
  bottom: 105px; /* encima del botón */
  right: 20px;
  background: rgb(234, 231, 198);
  color: #006c9b;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
  border-radius: 25px;
  padding: 10px 18px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  animation: aparecerDesaparecer 20s ease-in-out infinite;
  opacity: 0;
  font-size: 0.95rem;
  white-space: nowrap;
}

.whatsapp-bubble::after {
  content: "";
  position: absolute;
  bottom: -16px;
  right: 25px;
  border-width: 8px;
  border-style: solid;
  border-color: rgb(234, 231, 198) transparent transparent transparent;
}



.whatsapp-btn {
  position: fixed;
  bottom: 64px;   /* antes ~25px */
  right: 32px;
  background-color: #25D366;
  border-radius: 50%;
  padding: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
  transition: transform 0.3s ease;
  z-index: 9999; /* asegura que quede por encima de todo */
}

/* Burbuja */
.whatsapp-bubble {
  position: fixed;
  bottom: 140px;  /* 64 + ~76 */
  right: 28px; 
  background: rgb(234, 231, 198);
  color: #006c9b;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
  border-radius: 25px;
  padding: 10px 18px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  animation: aparecerDesaparecer 20s ease-in-out infinite;
  opacity: 0;
  font-size: 0.95rem;
  white-space: nowrap;
  z-index: 9998;
}



@keyframes aparecerDesaparecer {
  0%, 80%, 100% {
    opacity: 0;
    transform: translateY(10px);
  }
  10%, 60% {
    opacity: 1;
    transform: translateY(0);
  }
}



/* Responsividad */
@media (max-width: 768px) {
  h1 {
    font-size: 1.8rem;
  }
  .direccion {
    font-size: 1rem;
  }
  .portal-btn {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
  }
  .whatsapp-btn img {
    width: 34px;
    height: 34px;
    bottom: 120px;
    right: 30px;
  }
  .logo {
  width: 15.25rem;
  margin-bottom: 2rem;
}

  .whatsapp-btn {
    bottom: 96px;  /* antes 20px/25px */
    right: 28px; 
  }

  .whatsapp-bubble {
    bottom: 170px; /* 96 + ~74 */
    right: 24px;
    animation: none;
  }


}
