/* Contenedor general */
.sticky-btn-wrapper {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Botón expandido */
.sticky-btn-expanded {
  display: flex;
  align-items: center;
  gap: 8px;
  background-color: var(--stelae-sodalite-blue);
  color: var(--stelae-white);
  padding: 12px 18px;
  border-radius: 50px;
  font-size: 16px;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

#sticky-text {
    color: var(--stelae-white) !important;
}

#sticky-text :hover{
    color: var(--stelae-white) !important;
}

/* Botón comprimido (solo icono) */
.sticky-btn-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background-color: var(--stelae-sodalite-blue);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Oculto */
.sticky-btn-icon.hidden,
.sticky-btn-expanded.hidden {
  display: none !important;
}

/* Mobile: siempre a mitad de pantalla */
@media (max-width: 992px) {
  .sticky-btn-wrapper {
    bottom: 10%;
    right: 16px;
    transform: translateY(-50%);
    flex-direction: column;
  }
  
  .sticky-btn-expanded {
    font-size: 14px;
    padding: 10px 14px;
  }
  
  .sticky-btn-icon {
    width: 50px;
    height: 50px;
    position: fixed;
    bottom: 30%;
    right: 10%;
  }
}

.sticky-btn-expanded:focus,
.sticky-btn-icon:focus {
  outline: 3px solid var(--stelae-white);
  outline-offset: 3px;
}
