/* Asistente de 111 Labs: Kiuu como único botón flotante, con WhatsApp como camino principal. */
.as { --as-wa: #25d366; --as-wa-deep: #15803d; --as-kiuu: #7c3aed; --as-kiuu-soft: #f1ebff;
  position: fixed; z-index: 70; right: 1.25rem; bottom: 1.25rem; display: flex; flex-direction: column; align-items: flex-end; gap: .75rem;
  font-family: inherit; color: var(--ink); }
.as-fab { display: inline-flex; align-items: center; gap: .6rem; }
.as-fab__label {
  padding: .55rem .95rem; border-radius: 2rem; background: #fff; color: var(--ink);
  font-size: .86rem; font-weight: 600; white-space: nowrap;
  box-shadow: 0 10px 28px -10px rgba(17, 26, 32, .3), 0 0 0 1px var(--line);
  transition: transform .3s var(--ease);
}
.as-fab:hover .as-fab__label { transform: translateX(-2px); }
.as-fab__bird {
  position: relative; display: grid; place-items: center; width: 3.9rem; height: 3.9rem; border-radius: 50%;
  background: radial-gradient(circle at 50% 35%, #fff 0%, var(--as-kiuu-soft) 100%);
  box-shadow: 0 14px 34px -10px rgba(76, 29, 149, .45), 0 0 0 1px rgba(124, 58, 237, .18);
  transition: transform .3s var(--ease), box-shadow .3s;
}
.as-fab:hover .as-fab__bird { transform: translateY(-2px); box-shadow: 0 18px 40px -10px rgba(76, 29, 149, .55), 0 0 0 1px rgba(124, 58, 237, .28); }
.as-fab__face { display: block; width: 100%; height: 100%; border-radius: 50%; overflow: hidden; }
.as-fab__bird img, .as-head__bird img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; transform: scale(1.22); transform-origin: 52% 24%; }
.as-fab__dot {
  position: absolute; top: .1rem; right: .1rem; width: .85rem; height: .85rem; border-radius: 50%;
  background: var(--as-wa); border: 2px solid #fff;
}
.as-fab__dot::after { content: ""; position: absolute; inset: -2px; border-radius: 50%; border: 2px solid rgba(37, 211, 102, .55); animation: as-ping 2.8s var(--ease) infinite; }
@keyframes as-ping { 0% { transform: scale(.8); opacity: 1; } 80%, 100% { transform: scale(2); opacity: 0; } }
@keyframes as-in { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: none; } }
.as a, .as button { -webkit-tap-highlight-color: transparent; }
.as button { border: 0; background: none; font: inherit; color: inherit; cursor: pointer; }
.as-fab:focus-visible, .as-opt:focus-visible, .as-wa:focus-visible, .as-back:focus-visible, .as-link:focus-visible, .as-head__close:focus-visible, .as-foot a:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }

.as-panel {
  width: min(23rem, calc(100vw - 2rem)); max-height: min(36rem, calc(100dvh - 7.5rem)); overflow-y: auto; overscroll-behavior: contain;
  border-radius: 1.5rem; padding: 1rem; background: #fff; text-align: left;
  box-shadow: 0 28px 70px -20px rgba(17, 26, 32, .34), 0 0 0 1px var(--line);
  animation: as-in .28s var(--ease);
}
.as-panel[hidden], .as-screen[hidden] { display: none; }
.as-head { display: flex; align-items: center; gap: .7rem; padding-bottom: .8rem; border-bottom: 1px solid var(--line); }
.as-head__bird { display: grid; place-items: center; width: 3.1rem; height: 3.1rem; border-radius: 50%; background: var(--as-kiuu-soft); flex: none; overflow: hidden; }
.as-head__txt { min-width: 0; flex: 1; }
.as-head__title { font-size: .98rem; font-weight: 700; letter-spacing: -.02em; }
.as-head__sub { font-size: .76rem; color: var(--muted); margin-top: 1px; }
.as-head__close { width: 2.4rem; height: 2.4rem; border-radius: 50%; flex: none; display: grid; place-items: center; font-size: 1.4rem; color: var(--muted); transition: background .2s, color .2s; }
.as-head__close:hover { background: var(--as-kiuu-soft); color: var(--ink); }

.as-screen { display: grid; gap: .8rem; padding-top: .9rem; }
.as-say {
  margin: 0; padding: .8rem .95rem; border-radius: 1.1rem 1.1rem 1.1rem .3rem;
  background: var(--paper, #f7f9fb); color: var(--ink); font-size: .9rem; line-height: 1.5; outline: none;
}
.as-wa {
  display: flex; align-items: center; justify-content: center; gap: .6rem; min-height: 3.1rem; padding: .55rem 1rem;
  border-radius: 3rem; color: #fff; font-size: .92rem; font-weight: 600; text-align: center; line-height: 1.25;
  background: linear-gradient(135deg, #15803d 0%, #1fb958 100%);
  box-shadow: 0 12px 28px -10px rgba(22, 163, 74, .55), inset 0 1px 0 rgba(255, 255, 255, .35);
  transition: transform .25s var(--ease), box-shadow .25s;
}
.as-wa:hover { transform: translateY(-1px); box-shadow: 0 16px 34px -10px rgba(22, 163, 74, .65), inset 0 1px 0 rgba(255, 255, 255, .35); }
.as-wa__ico { display: inline-flex; width: 1.4rem; height: 1.4rem; flex: none; }
.as-wa__ico svg { width: 100%; height: 100%; }
.as-or { display: flex; align-items: center; gap: .7rem; font-size: .74rem; color: var(--muted); }
.as-or::before, .as-or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.as-opts { display: grid; gap: .45rem; }
.as-opt {
  display: flex; align-items: center; justify-content: space-between; gap: .75rem; width: 100%;
  padding: .75rem .9rem; border-radius: 1rem; border: 1px solid var(--line); background: #fff;
  color: var(--ink); font-size: .86rem; font-weight: 600; line-height: 1.3; text-align: left;
  transition: border-color .2s, background .2s, transform .2s;
}
.as-opt { --ac: 124, 58, 237; border-left: 3px solid rgb(var(--ac)); }
.as-opt__txt { display: grid; gap: .1rem; min-width: 0; }
.as-opt__txt b { font-size: .9rem; letter-spacing: -.01em; }
.as-opt__txt small { font-size: .76rem; font-weight: 500; color: var(--muted); line-height: 1.3; }
.as-opt:hover { border-color: rgb(var(--ac)); background: rgba(var(--ac), .07); transform: translateX(2px); }
.as-opt i { font-style: normal; color: rgb(var(--ac)); flex: none; }
/* Ficha de producto: logotipo sobre fondo oscuro con el brillo de su marca, como en el sitio. */
.as-card { position: relative; overflow: hidden; display: grid; gap: .7rem; padding: 1.05rem 1rem .85rem; border-radius: 1.1rem; color: #fff;
  background: radial-gradient(120% 140% at 85% -10%, rgba(var(--ac), .55), transparent 60%), #0c1319; }
.as-card__logo { display: flex; align-items: center; gap: .45rem; height: 2.1rem; }
.as-card__logo svg { width: auto; height: 1.15rem; max-width: 100%; fill: initial; filter: drop-shadow(0 0 10px rgba(var(--ac), .7)); }
.as-card__logo svg.brand-mark { height: 1.9rem; flex: none; margin-right: .1rem; filter: none; }
.as-card__logo svg.brand-mark--cloud { height: 1.5rem; }
.as-card__logo img { width: auto; height: 2.1rem; }
.as-card__logo svg.wordmark--kiuu { height: 1.3rem; }
.as-card__chips { display: flex; flex-wrap: wrap; gap: .35rem; }
.as-card__chips span { padding: .2rem .55rem; border-radius: 2rem; font-size: .68rem; font-weight: 600; letter-spacing: .02em; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .18); }
.as-back { justify-self: start; padding: .35rem .5rem .35rem 0; font-size: .82rem; font-weight: 600; color: var(--muted); }
.as-back:hover { color: var(--ink); }
.as-list { margin: 0; padding: 0; list-style: none; display: grid; gap: .4rem; }
.as-list li { position: relative; padding-left: 1.3rem; font-size: .84rem; color: var(--muted); line-height: 1.4; }
.as-list li::before { content: "✓"; position: absolute; left: 0; color: var(--as-wa-deep); font-weight: 700; }
.as-link { justify-self: center; padding: .45rem; font-size: .84rem; font-weight: 600; color: var(--blue); }
.as-link:hover { text-decoration: underline; }
.as-foot { margin: 0; padding-top: .7rem; border-top: 1px solid var(--line); font-size: .74rem; color: var(--muted); text-align: center; line-height: 1.5; }
.as-foot a { color: var(--blue); font-weight: 600; word-break: break-all; }
.as-foot a:hover { text-decoration: underline; }

@media (max-width: 640px) {
  .as { right: .9rem; bottom: .9rem; }
  .as-fab__label { display: none; }
  .as-fab__bird { width: 3.6rem; height: 3.6rem; }
  .as-panel { width: calc(100vw - 1.8rem); max-height: calc(100dvh - 6.5rem); }
}
@media (prefers-reduced-motion: reduce) {
  .as *, .as { animation: none !important; transition: none !important; }
}
@media print { .as { display: none; } }
