/* Orbit: personaje 3D que asoma abajo a la derecha y invita a enviar sugerencias por mensaje directo de Instagram. */
  .orbit {
    position: fixed;
    right: 14px;
    bottom: 0;
    z-index: 90; /* por debajo de la barra de navegación (100) */
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    pointer-events: none;
    font-family: var(--font, system-ui, sans-serif);
  }
  .orbit__buddy {
    pointer-events: auto;
    width: 168px;
    height: 184px;
    margin: 0 0 -22px; /* el personaje se corta con el borde inferior: asoma desde fuera de la pantalla */
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
    transform: translateY(110%);
    transition: transform 0.9s cubic-bezier(0.2, 0.9, 0.25, 1.15);
  }
  /* Oculto bajo el borde de la pantalla hasta que el visitante hace scroll. */
  .orbit.is-live.is-shown .orbit__buddy { transform: translateY(0); }
  .orbit:not(.is-shown) .orbit__bubble { display: none; }
  .orbit__buddy:focus-visible { outline: 2px solid #c4b5fd; outline-offset: -6px; border-radius: 18px; }
  .orbit__canvas { display: block; width: 100%; height: 100%; }
  .orbit__icon { display: none; }
  /* Sin WebGL: un botón redondo de WhatsApp en lugar del personaje. */
  .orbit.is-static .orbit__canvas { display: none; }
  .orbit.is-static .orbit__buddy { width: 56px; height: 56px; margin: 0 6px 16px 0; border-radius: 50%; background: linear-gradient(135deg, #8b5cf6, #d6409f 60%, #f5a04a); color: #fff; }
  .orbit.is-static .orbit__icon { display: grid; place-items: center; }
  .orbit__bubble {
    pointer-events: auto;
    position: relative;
    width: min(250px, calc(100vw - 40px));
    margin: 0 8px 4px 0;
    padding: 14px 16px 14px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 16px 16px 4px 16px;
    background: rgba(16, 16, 26, 0.94);
    backdrop-filter: blur(8px);
    color: #e9e9ec;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
    animation: orbitPop 0.35s ease-out;
  }
  .orbit__bubble[hidden] { display: none; }
  .orbit__text { margin: 0 18px 10px 0; font-size: 14px; line-height: 1.45; }
  .orbit__close {
    position: absolute;
    top: 6px;
    right: 8px;
    width: 26px;
    height: 26px;
    border: 0;
    background: none;
    color: #abadb3;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
  }
  .orbit__cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 14px;
    border-radius: 999px;
    background: linear-gradient(135deg, #8b5cf6, #d6409f 60%, #f5a04a);
    color: #fff !important;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none !important;
  }
  .orbit__cta:hover { filter: brightness(1.12); }
  .orbit__cta:focus-visible, .orbit__close:focus-visible { outline: 2px solid #c4b5fd; outline-offset: 3px; }
  @keyframes orbitPop { from { opacity: 0; transform: translateY(8px) scale(0.96); } to { opacity: 1; transform: none; } }
  @media (max-width: 781px) {
    .orbit { right: 6px; }
    .orbit__buddy { width: 118px; height: 130px; margin-bottom: -16px; }
  }
  @media (prefers-reduced-motion: reduce) {
    .orbit__buddy { transition: none; }
    .orbit__bubble { animation: none; }
  }
