/* Ambos flotantes, arriba del layout sin romper clicks */
.wf-wa, .wf-yt{
  position: fixed;
  right: 16px;
  z-index: 999999;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #fff;
  font-family: Roboto, Arial, sans-serif;
}

/* posiciones */
.wf-wa{ bottom: 16px; }
.wf-yt{ bottom: 84px; }

/* iconos */
.wf-wa__icon, .wf-yt__icon{
  width: 52px;
  height: 52px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 22px rgba(0,0,0,.22);
}

.wf-wa__icon{ background:#22c55e; } /* verde */
.wf-yt__icon{ background:#dc2626; } /* rojo */

/* burbuja */
.wf-wa__bubble, .wf-yt__bubble{
  min-width: 170px;
  max-width: 240px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(15,23,42,.92);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 10px 22px rgba(0,0,0,.22);
  transform-origin: right center;

  opacity: 0;
  transform: translateX(12px) scale(.98);
  pointer-events: none;
}

.wf-wa__t1, .wf-yt__t1{
  display:block;
  font-weight: 900;
  letter-spacing: .6px;
  font-size: 12px;
  opacity: .92;
}
.wf-wa__t2, .wf-yt__t2{
  display:block;
  font-weight: 700;
  font-size: 13px;
  margin-top: 2px;
}

/* mostrar burbuja */
.wf-wa.is-open .wf-wa__bubble,
.wf-yt.is-open .wf-yt__bubble{
  opacity: 1;
  transform: translateX(0) scale(1);
  transition: all .18s ease;
}

/* movimiento */
.wf-wa.is-ping .wf-wa__icon,
.wf-yt.is-ping .wf-yt__icon{
  animation: wfPing 1.6s ease-in-out infinite;
}
@keyframes wfPing{
  0%,100%{ transform: translateY(0) scale(1); }
  50%{ transform: translateY(-2px) scale(1.04); }
}
/* móvil: HORIZONTAL */
@media (max-width: 520px){
  .wf-wa__bubble,
  .wf-yt__bubble{
    display:none;
  }

  /* ambos al mismo nivel */
  .wf-wa,
  .wf-yt{
    bottom: 12px;
    right: auto;
  }

  /* contenedor horizontal */
  .wf-wa{
    right: 12px;
  }

  .wf-yt{
    right: 72px; /* separación horizontal */
  }
}
