/* =========================================================
   Helix · Home (segunda vuelta, 25-09-2026). Hoja propia de la página de inicio.
   Movimiento: solo transform y opacity; todo se apaga con «reducir movimiento».
   ========================================================= */

/* ---------- 1 · Hero ---------- */
.hx-hero2 { position: relative; padding: clamp(28px, 6vh, 64px) 0 clamp(36px, 6vh, 64px); }
.hx-hero2::before { content: ''; position: absolute; inset: -10% 0 0; pointer-events: none; z-index: 0; opacity: .9;
  background: radial-gradient(640px circle at var(--hx-cx, 72%) var(--hx-cy, 36%), color-mix(in srgb, var(--v5-acc) 18%, transparent), transparent 60%);
  -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent); mask-image: linear-gradient(180deg, #000 55%, transparent); }
.hx-hero2 { overflow-x: clip; }
.hx-hero2 > .wrap { position: relative; z-index: 1; }
.hx-hero2-cab { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.hx-h1 { font-size: clamp(36px, 5.5vw, 76px); line-height: .98; letter-spacing: -0.052em; font-weight: 650; max-width: none; }
@media (max-width: 760px) { .hx-h1 br { display: none; } }
.hx-h1 .hx-w { display: inline-block; }
.js-motion .hx-h1 .hx-w { animation: hx-sube 1s var(--hx-muelle-suave) both; animation-delay: calc(var(--i, 0) * 55ms); }
@keyframes hx-sube { from { transform: translateY(.42em) rotate(2deg); filter: blur(10px); } to { transform: none; filter: blur(0); } }
.hx-hero2-grid { display: grid; grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr); gap: clamp(28px, 4vw, 64px); align-items: end; margin-top: clamp(22px, 3.2vw, 40px); }
.hx-hero2-texto { display: flex; flex-direction: column; gap: 22px; padding-bottom: 8px; }
.hx-hero2-texto > p:first-child { max-width: 34ch; font-size: clamp(17px, 1.5vw, 20px); color: var(--v5-t2); }
.js-motion .hx-hero2-texto > * { animation: hx-entra-pesada .9s var(--v5-eo) both; }
.js-motion .hx-hero2-texto > *:nth-child(1) { animation-delay: .35s; } .js-motion .hx-hero2-texto > *:nth-child(2) { animation-delay: .45s; }
.js-motion .hx-hero2-texto > *:nth-child(3) { animation-delay: .55s; }

/* Escenario: la portada fundida con la pared, inclinable con el cursor */
.hx-escena { position: relative; perspective: 1400px; }
.js-motion .hx-escena { animation: hx-escena-entra 1.3s var(--hx-muelle-suave) .15s both; }
@keyframes hx-escena-entra { from { transform: translateY(40px) rotateX(10deg) scale(.96); } to { transform: none; } }
.hx-escena-marco { position: relative; aspect-ratio: 2400 / 1340; margin: -7% -12% -7% -6%;
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform 1.1s var(--hx-muelle-suave);
  /* bordes difuminados (rectángulo con pluma): la imagen se funde con la pared sin recortar el panel ni las mascotas */
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 16%, #000 86%, transparent), linear-gradient(180deg, transparent, #000 18%, #000 80%, transparent);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent, #000 16%, #000 86%, transparent), linear-gradient(180deg, transparent, #000 18%, #000 80%, transparent);
  mask-composite: intersect; }
.hx-escena-marco img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.js-motion .hx-escena-marco img { animation: hx-flota-escena 9s ease-in-out infinite alternate; }
@keyframes hx-flota-escena { from { transform: translateY(0) scale(1.01); } to { transform: translateY(-10px) scale(1.03); } }

/* Sello del vídeo: aro de texto que gira y, dentro, una ventana redonda con el avance mudo corriendo */
.hx-reel { --tam: 136px; position: absolute; right: 0; top: -14%; z-index: 3; width: var(--tam); height: var(--tam); padding: 0; border: 0; border-radius: 50%;
  cursor: pointer; color: #fff; background: rgba(20, 17, 21, .55); backdrop-filter: blur(18px) saturate(160%); -webkit-backdrop-filter: blur(18px) saturate(160%);
  box-shadow: 0 0 0 .5px rgba(255, 255, 255, .2), inset 0 1px 0 rgba(255, 255, 255, .14), 0 24px 50px -18px rgba(0, 0, 0, .75), 0 10px 30px -12px color-mix(in srgb, var(--v5-acc) 55%, transparent);
  transition: transform .6s var(--hx-muelle-suave); }
[data-theme="light"] .hx-reel { color: #1A1618; background: rgba(255, 255, 255, .78);
  box-shadow: 0 0 0 .5px rgba(60, 30, 20, .1), inset 0 1px 0 #fff, 0 24px 50px -18px rgba(90, 30, 15, .35), 0 10px 30px -12px color-mix(in srgb, var(--v5-acc) 40%, transparent); }
[data-theme="light"] .hx-reel-aro text { fill: #2A2426; }
[data-theme="light"] .hx-reel:focus-visible { outline-color: #1A1618; }
.js-motion .hx-reel { animation: hx-reel-entra 1s var(--hx-muelle-suave) .9s both; }
@keyframes hx-reel-entra { from { transform: scale(.6) rotate(-40deg); opacity: 0; } to { transform: none; opacity: 1; } }
.hx-reel:hover { transform: scale(1.06); }
.hx-reel:active { transform: scale(.97); }
.hx-reel:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
.hx-reel-aro { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; animation: hx-gira-aro 22s linear infinite; }
.hx-reel-aro text { font-size: 8.6px; font-weight: 650; letter-spacing: .06em; fill: rgba(255, 255, 255, .9); }
@keyframes hx-gira-aro { to { transform: rotate(360deg); } }
.hx-reel-ventana { position: absolute; inset: 21%; border-radius: 50%; overflow: hidden; background: #141115; box-shadow: 0 0 0 1px rgba(255, 255, 255, .14), inset 0 0 0 1px rgba(0, 0, 0, .3); }
.hx-reel-ventana img, .hx-reel-ventana video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.25); }
.hx-reel-ventana video { opacity: 0; transition: opacity .8s var(--hx-muelle-suave); }
.hx-escena.is-video .hx-reel-ventana video { opacity: 1; }
.hx-reel-ventana::after { content: ''; position: absolute; inset: 0; background: radial-gradient(circle, rgba(12, 10, 13, .15), rgba(12, 10, 13, .55)); }
.hx-reel-play { position: absolute; left: 50%; top: 50%; z-index: 1; width: 40px; height: 40px; margin: -20px 0 0 -20px; border-radius: 50%; display: grid; place-items: center;
  background: var(--hx-btn); box-shadow: 0 8px 22px -6px color-mix(in srgb, var(--hx-btn) 80%, transparent), inset 0 1px 0 rgba(255, 255, 255, .25); transition: transform .5s var(--hx-muelle-suave); }
.hx-reel-play svg { width: 15px; height: 15px; fill: #fff; margin-left: 2px; }
.hx-reel:hover .hx-reel-play { transform: scale(1.14); }
.hx-reel-play::after { content: ''; position: absolute; inset: -5px; border-radius: 50%; border: 1.5px solid color-mix(in srgb, #FF8F87 80%, transparent); animation: hx-onda 2.4s var(--hx-muelle-suave) infinite; }
@keyframes hx-onda { from { transform: scale(.86); opacity: .95; } to { transform: scale(1.6); opacity: 0; } }

/* Vídeo con sonido en un diálogo nativo (Esc y el velo lo cierran) */
.hx-video-modal { margin: auto; padding: 0; border: 0; background: transparent; color: #fff; width: min(92vw, 1280px, calc((100dvh - 150px) * 16 / 9)); max-width: none; max-height: none; overflow: visible; }
.hx-video-modal::backdrop { background: rgba(10, 8, 11, .74); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.hx-video-modal[open] { animation: hx-modal-entra .55s var(--hx-muelle-suave) both; }
.hx-video-modal[open]::backdrop { animation: hx-velo .4s ease both; }
@keyframes hx-modal-entra { from { opacity: 0; transform: translateY(18px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes hx-velo { from { opacity: 0; } to { opacity: 1; } }
.hx-video-modal video { display: block; width: 100%; aspect-ratio: 16 / 9; border-radius: clamp(14px, 1.6vw, 22px); background: #000; box-shadow: 0 40px 120px -30px rgba(0, 0, 0, .9); }
/* Oferta de lanzamiento en el hero, pegada al sello del vídeo. Entra y se mueve como los botones del hero (entrada
   pesada, imán, flecha que empuja); el código sale tapado con un candado y la flecha señala al vídeo. Al verlo, se destapa. */
.hx-oferta { position: absolute; z-index: 3; right: calc(136px + 12px); top: calc(-14% + 30px); }
.js-motion .hx-oferta { animation: hx-entra-pesada .9s var(--v5-eo) 1.05s both; }
.hx-oferta-abrir, .hx-oferta-codigo { display: flex; align-items: center; gap: 12px; padding: 9px 22px 9px 9px; border: 0; border-radius: 20px; text-align: left;
  color: #fff; background: linear-gradient(135deg, #FF6A4D, #D9362C 60%, #B82A22); font: inherit;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 0 0 .5px rgba(255, 255, 255, .16), 0 16px 34px -12px color-mix(in srgb, #D9362C 95%, transparent);
  transition: box-shadow .3s var(--hx-muelle-suave), transform .5s var(--hx-muelle-suave); }
.hx-oferta-abrir { cursor: pointer; }
.hx-oferta-abrir:hover { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .26), 0 0 0 .5px rgba(255, 255, 255, .2), 0 20px 42px -12px color-mix(in srgb, #D9362C 100%, transparent); }
.hx-oferta-abrir:active { transform: scale(.97); }
.hx-oferta-abrir:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.hx-oferta-codigo[hidden], .hx-oferta-abrir[hidden] { display: none; }
.hx-oferta-pct { flex: none; display: grid; place-items: center; min-width: 58px; height: 48px; padding: 0 8px; border-radius: 13px;
  font-weight: 800; font-size: 19px; letter-spacing: -.02em; color: #D9362C; background: #fff; }
.hx-oferta-txt { display: grid; gap: 3px; line-height: 1.2; white-space: nowrap; }
.hx-oferta-txt b { font-size: 14.5px; font-weight: 700; }
.hx-oferta-txt small { font-size: 12.5px; color: rgba(255, 255, 255, .9); }
.hx-oferta-tapado { display: inline-flex; align-items: center; gap: 6px; }
.hx-oferta-tapado code { font: 700 12.5px/1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .08em; padding: 4px 7px; border-radius: 7px;
  background: rgba(255, 255, 255, .16); filter: blur(3.5px); user-select: none; }
.hx-oferta-candado { width: 14px; height: 14px; fill: none; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; flex: none; }
/* la flecha señala al vídeo: empuja hacia él como la de «Pruébalo gratis», y además late sola para llamar la atención */
.hx-oferta-flecha { flex: none; width: 34px; height: 34px; margin: 0 -10px 0 2px; border-radius: 999px; display: grid; place-items: center;
  background: rgba(255, 255, 255, .2); transition: transform .5s var(--hx-muelle-suave), background .3s; }
.hx-oferta-flecha .icon { width: 16px; height: 16px; stroke: #fff; stroke-width: 2.2; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.js-motion .hx-oferta-flecha .icon { animation: hx-oferta-senala 1.6s var(--hx-muelle-suave) infinite; }
@keyframes hx-oferta-senala { 0%, 55%, 100% { transform: translateX(0); } 70% { transform: translateX(5px); } 85% { transform: translateX(1px); } }
.hx-oferta-abrir:hover .hx-oferta-flecha { transform: translateX(3px) scale(1.06); background: rgba(255, 255, 255, .3); }
/* destapado */
.hx-oferta-codigo { padding-right: 9px; animation: hx-oferta-destapa .7s var(--hx-muelle-suave) both; }
@keyframes hx-oferta-destapa { from { filter: blur(8px); transform: scale(.94); } to { filter: blur(0); transform: none; } }
.hx-oferta-cod { display: flex; align-items: center; gap: 6px; margin-left: 4px; }
.hx-oferta-cod code { font: 700 13px/1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .05em; padding: 8px 10px; border-radius: 10px;
  border: 1px dashed rgba(255, 255, 255, .75); }
.hx-oferta-cod button { border: 0; cursor: pointer; font: 600 12.5px/1 inherit; padding: 9px 11px; border-radius: 10px; color: #D9362C; background: #fff; }
@media (max-width: 1023px) { .hx-oferta { right: calc(136px + 14px); top: 26px; } }
@media (max-width: 600px) {
  .hx-oferta { right: 104px; top: calc(-6% + 10px); }
  .hx-oferta-abrir, .hx-oferta-codigo { gap: 9px; padding: 8px 16px 8px 13px; border-radius: 16px; }
  .hx-oferta-abrir .hx-oferta-pct { display: none; }
  .hx-oferta-txt b { font-size: 13px; } .hx-oferta-txt small { font-size: 11.5px; }
  .hx-oferta-abrir .hx-oferta-txt b::before { content: '−10 % · '; }
  .hx-oferta-flecha { width: 28px; height: 28px; margin-right: -6px; }
  .hx-oferta-codigo .hx-oferta-txt, .hx-oferta-codigo .hx-oferta-pct { display: none; }
  .hx-oferta-codigo { padding: 7px; }
}
@media (prefers-reduced-motion: reduce) { .hx-oferta, .hx-oferta-flecha .icon, .hx-oferta-codigo { animation: none !important; } }

/* Promo de lanzamiento: sale al final del vídeo (encima, en escritorio; debajo, en móvil) y queda como píldora en la home */
.hx-video-caja { position: relative; }
.hx-promo { position: absolute; left: 0; right: 0; margin-inline: auto; bottom: clamp(16px, 4%, 40px); width: min(460px, calc(100% - 32px));
  padding: 22px 22px 20px; border-radius: 20px; text-align: center; color: #fff; background: rgba(20, 17, 21, .86);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); box-shadow: 0 0 0 .5px rgba(255, 255, 255, .14), 0 30px 80px -24px rgba(0, 0, 0, .9);
  animation: hx-entra .5s var(--v5-eo) both; }
.hx-promo[hidden], .hx-promo-pildora[hidden] { display: none; }
.hx-promo-eti { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #FF8A84; }
.hx-promo-tit { font-size: clamp(22px, 2.4vw, 28px); font-weight: 700; line-height: 1.15; margin-top: 6px; }
.hx-promo-txt { font-size: 14px; line-height: 1.45; color: rgba(255, 255, 255, .74); margin-top: 8px; }
.hx-promo-cod { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 16px 0 14px; flex-wrap: wrap; }
.hx-promo code { font: 700 17px/1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .06em; padding: 10px 14px;
  border-radius: 12px; border: 1px dashed rgba(255, 138, 132, .6); background: rgba(255, 94, 87, .1); color: #fff; }
.hx-promo-pildora code { font: 700 13px/1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .05em; padding: 5px 8px; border-radius: 8px; margin-left: 2px;
  border: 1px dashed var(--hx-acc-text); color: var(--v5-t1); }
.hx-promo [data-promo-copiar] { border: 0; cursor: pointer; font: 600 14px/1 inherit; padding: 11px 14px; border-radius: 12px; color: #fff; background: rgba(255, 255, 255, .12); }
.hx-promo-pildora [data-promo-copiar] { border: 0; cursor: pointer; font: 600 13px/1 inherit; padding: 8px 11px; border-radius: 999px; color: var(--v5-t1); background: var(--v5-card2); }
.hx-promo [data-promo-copiar]:hover { background: rgba(255, 255, 255, .2); }
.hx-promo .hw-btn { width: 100%; justify-content: center; }
.hx-promo-pildora { position: fixed; left: 16px; bottom: max(16px, env(safe-area-inset-bottom)); z-index: 44; display: flex; align-items: center; gap: 10px;
  max-width: calc(100vw - 32px); padding: 8px 8px 8px 16px; border-radius: 999px; font-size: 13.5px; color: var(--v5-t1); background: var(--v5-card);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); box-shadow: 0 0 0 .5px rgba(255, 255, 255, .14), 0 18px 40px -16px rgba(0, 0, 0, .7);
  animation: hx-entra .5s var(--v5-eo) both; }
.hx-promo-pildora a { font-weight: 600; color: #fff; background: var(--hx-btn); padding: 8px 13px; border-radius: 999px; text-decoration: none; }
.hx-promo-pildora a:hover { background: var(--hx-btn-hover); }
.hx-promo-cerrar { border: 0; background: transparent; color: var(--v5-t2); cursor: pointer; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; }
.hx-promo-cerrar:hover { background: var(--v5-card2); }
.hx-promo-cerrar .icon { width: 16px; height: 16px; }
.hx-promo-pildora span i { font-style: normal; }
@media (max-width: 900px) { .hx-promo-pildora { bottom: calc(max(12px, env(safe-area-inset-bottom)) + 72px); left: 12px; right: 12px; } }
@media (max-width: 640px) {
  .hx-promo { position: static; width: 100%; margin-top: 12px; }
  .hx-promo-pildora span b, .hx-promo-pildora span i { display: none; }
  .hx-promo-pildora { justify-content: space-between; }
}
.hx-video-cerrar { position: absolute; top: -54px; right: 0; width: 44px; height: 44px; border: 0; border-radius: 50%; display: grid; place-items: center; cursor: pointer; color: #fff;
  background: rgba(255, 255, 255, .12); box-shadow: inset 0 0 0 .5px rgba(255, 255, 255, .2); transition: background-color .25s ease, transform .4s var(--hx-muelle-suave); }
.hx-video-cerrar:hover { background: rgba(255, 255, 255, .22); transform: rotate(90deg); }
.hx-video-cerrar:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.hx-video-cerrar .icon { width: 20px; height: 20px; }
.hx-marca { fill: currentColor; }
.hx-grados { font-weight: 700; font-size: 13px; letter-spacing: -0.02em; background: var(--hx-grados-hot); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }

/* Avisos en vivo del hero: pila con profundidad, el nuevo entra con muelle y empuja al anterior hacia atrás */
.hx-avisos { list-style: none; position: absolute; left: clamp(-40px, -2.5vw, -12px); bottom: 7%; width: 336px; height: 96px; z-index: 3; pointer-events: none; perspective: 900px; }
.hx-aviso { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: 12px; padding: 14px 16px 14px 14px; border-radius: 22px;
  background: linear-gradient(180deg, color-mix(in srgb, var(--v5-card) 88%, #fff 6%), color-mix(in srgb, var(--v5-card) 94%, transparent));
  backdrop-filter: blur(22px) saturate(170%); -webkit-backdrop-filter: blur(22px) saturate(170%);
  box-shadow: 0 0 0 .5px var(--v5-edge), inset 0 1px 0 color-mix(in srgb, #fff 14%, transparent), 0 26px 46px -18px rgba(0, 0, 0, .75), 0 10px 22px -12px rgba(0, 0, 0, .5);
  transform-origin: 50% 100%; will-change: transform, opacity, filter;
  transition: transform .75s cubic-bezier(.2, 1.25, .35, 1), opacity .45s var(--hx-muelle-suave); overflow: hidden; }
.hx-aviso > * { transition: opacity .35s var(--hx-muelle-suave); }
.hx-aviso:not(:first-child) > * { opacity: 0; }
[data-theme="light"] .hx-aviso { background: rgba(255, 255, 255, .88); box-shadow: 0 0 0 .5px rgba(60, 30, 20, .08), inset 0 1px 0 #fff, 0 24px 44px -18px rgba(90, 30, 15, .32); }
.hx-aviso::after { content: ''; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; pointer-events: none;
  background: linear-gradient(100deg, transparent, color-mix(in srgb, #fff 16%, transparent), transparent); transform: skewX(-18deg); opacity: 0; }
.hx-aviso:nth-child(1) { transform: translate3d(0, 0, 0); opacity: 1; z-index: 4; }
.hx-aviso:nth-child(2) { transform: translate3d(0, -14px, -40px) scale(.94); opacity: .9; z-index: 3; }
.hx-aviso:nth-child(3) { transform: translate3d(0, -26px, -80px) scale(.88); opacity: .55; z-index: 2; }
.hx-aviso:nth-child(n+4) { transform: translate3d(0, -34px, -120px) scale(.82); opacity: 0; z-index: 1; }
.hx-aviso.is-nuevo { animation: hx-aviso-llega .8s cubic-bezier(.2, 1.3, .35, 1) both; }
.hx-aviso.is-nuevo::after { animation: hx-aviso-brillo 1.1s var(--hx-muelle-suave) .2s both; }
@keyframes hx-aviso-llega { from { transform: translate3d(0, 34px, 30px) scale(.9); opacity: 0; } 55% { opacity: 1; } to { transform: none; opacity: 1; } }
@keyframes hx-aviso-brillo { from { left: -60%; opacity: 1; } to { left: 130%; opacity: 1; } }
.hx-aviso-ic { position: relative; width: 38px; height: 38px; border-radius: 13px; display: grid; place-items: center; flex: 0 0 auto; background: var(--v5-card2); color: var(--v5-t1); }
.hx-aviso-ic::after { content: ''; position: absolute; inset: -6px; border-radius: 16px; background: currentColor; opacity: .18; filter: blur(10px); z-index: -1; }
.hx-aviso-ic .hx-marca, .hx-aviso-ic .icon { width: 19px; height: 19px; }
.hx-aviso:first-child .hx-aviso-ic { animation: hx-aviso-late 1.6s ease-in-out .3s 2; }
@keyframes hx-aviso-late { 50% { transform: scale(1.08); } }
.hx-aviso-txt { min-width: 0; flex: 1; }
.hx-aviso b { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; font-size: 13.5px; font-weight: 620; letter-spacing: -0.01em; color: var(--v5-t1); }
.hx-aviso b em { font-style: normal; font-size: 11px; font-weight: 500; color: var(--hx-t3-aa); white-space: nowrap; }
.hx-aviso small { display: block; font-size: 12px; color: var(--v5-t2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hx-aviso:not(.hx-aviso--bot):not(.hx-aviso--ok):not(.hx-aviso--caliente) .hx-aviso-ic { color: #3B8BFF; }
.hx-aviso--bot .hx-aviso-ic { background: color-mix(in srgb, #25D366 16%, transparent); color: #25D366; }
.hx-aviso--ok .hx-aviso-ic { background: var(--hx-ok-bg); color: var(--hx-ok); }
.hx-aviso--caliente .hx-aviso-ic { background: var(--hx-caliente-bg); color: var(--hx-caliente); }

@media (max-width: 1023px) {
  .hx-hero2-grid { grid-template-columns: 1fr; } .hx-reel { right: 4px; top: 0; }
  .hx-avisos { left: 12px; bottom: 4%; width: min(320px, calc(100% - 24px)); height: 90px; }
}
@media (max-width: 600px) {
  .hx-hero2-texto .hw-btn-row .hw-btn { width: 100%; }
  .hx-escena-marco { margin: -8% -10%; }
  .hx-reel { --tam: 100px; top: -6%; right: -2px; } .hx-reel-aro text { font-size: 9.4px; }
  .hx-reel-play { width: 34px; height: 34px; margin: -17px 0 0 -17px; } .hx-reel-play svg { width: 13px; height: 13px; }
  .hx-video-cerrar { top: -52px; }
}

/* ---------- 2 · Banda de prueba ---------- */
.hx-prueba { padding: 0 0 clamp(40px, 7vh, 72px); }
.hx-prueba-banda { display: grid; grid-template-columns: repeat(4, 1fr); border-radius: 28px; overflow: hidden; background: var(--v5-card);
  box-shadow: 0 0 0 6px color-mix(in srgb, var(--v5-t1) 3.5%, transparent), 0 0 0 6.5px var(--v5-edge), var(--v5-sh1); }
.hx-prueba-banda > div { padding: clamp(20px, 2.4vw, 30px); }
.hx-prueba-banda > div + div { box-shadow: inset 1px 0 0 var(--v5-line); }
.hx-prueba-banda .kpi-n { font-size: clamp(34px, 3.8vw, 52px); letter-spacing: -0.05em; font-weight: 650; }
.hx-kpi-brasa { background: var(--hx-brasa-texto); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.hx-prueba-fuente { text-align: center; margin: 14px auto 0; max-width: none; }
@media (max-width: 760px) { .hx-prueba-banda { grid-template-columns: 1fr 1fr; } .hx-prueba-banda > div:nth-child(3) { box-shadow: inset 0 1px 0 var(--v5-line); } .hx-prueba-banda > div:nth-child(4) { box-shadow: inset 1px 0 0 var(--v5-line), inset 0 1px 0 var(--v5-line); } }

/* ---------- 3 · El problema: la curva del interés ---------- */
.hx-problema h2 { max-width: 20ch; }
.hx-curva { position: relative; margin-top: clamp(28px, 4vw, 48px); padding-top: 44px; }
.hx-curva svg { display: block; width: 100%; height: clamp(160px, 20vw, 250px); overflow: visible; }
.hx-curva-linea, .hx-curva-helix { stroke-dasharray: 100; stroke-dashoffset: 100; }
.hx-curva-area { opacity: 0; }
.hx-curva.is-in .hx-curva-linea, html:not(.js-motion) .hx-curva-linea { animation: hx-traza 2.4s cubic-bezier(.5, 0, .2, 1) .2s forwards; }
.hx-curva.is-in .hx-curva-helix, html:not(.js-motion) .hx-curva-helix { animation: hx-traza 1.8s cubic-bezier(.3, 0, .2, 1) 1.1s forwards; }
.hx-curva.is-in .hx-curva-area, html:not(.js-motion) .hx-curva-area { animation: hx-aparece 1.4s ease 1.3s forwards; }
@keyframes hx-traza { to { stroke-dashoffset: 0; } }
@keyframes hx-aparece { to { opacity: 1; } }
/* El punto recorre la curva de caída una y otra vez (CSS offset-path sobre el mismo trazado, en el tamaño real) */
.hx-curva-punto { position: absolute; top: 0; left: 0; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: #FF5E57; opacity: 0;
  box-shadow: 0 0 0 4px color-mix(in srgb, #FF5E57 25%, transparent), 0 0 18px #FF5E57; }
.hx-curva-marca { position: absolute; font-size: 12.5px; font-weight: 600; padding: 6px 10px; border-radius: 999px; white-space: nowrap; opacity: 0; transform: translateY(8px);
  transition: opacity .6s var(--hx-muelle-suave), transform .7s var(--hx-muelle-suave); }
.hx-curva-marca--1 { left: 38%; top: calc(44px + clamp(160px, 20vw, 250px) * .22); background: var(--hx-ok-bg); color: var(--hx-ok); }
.hx-curva-marca--2 { right: 2%; top: calc(44px + clamp(160px, 20vw, 250px) * .7); background: var(--hx-acc-bg); color: var(--hx-acc-text); }
.hx-curva.is-in .hx-curva-marca--1 { opacity: 1; transform: none; transition-delay: 2.4s; }
.hx-curva.is-in .hx-curva-marca--2 { opacity: 1; transform: none; transition-delay: 2.8s; }
.hx-curva-leyendas { position: absolute; top: 0; right: 0; display: flex; gap: 16px; font-size: 12.5px; color: var(--v5-t2); }
.hx-ley { display: inline-flex; align-items: center; gap: 7px; }
.hx-ley::before { content: ''; width: 18px; height: 3px; border-radius: 3px; background: #30D158; }
.hx-ley--tarde::before { background: linear-gradient(90deg, #FF8A52, #FF5E57); }
.hx-curva-marcas { display: flex; justify-content: space-between; margin-top: 12px; font-size: 13px; color: var(--hx-t3-aa); font-variant-numeric: tabular-nums; }
.hx-curva-leyenda { position: absolute; top: 0; left: 0; font-size: 13px; font-weight: 600; color: var(--hx-acc-text); }
@media (max-width: 760px) { .hx-curva-leyendas { position: static; margin: 0 0 14px; flex-wrap: wrap; } .hx-curva { padding-top: 30px; } .hx-curva-marca { display: none; } }
.hx-dolores { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 40px); margin-top: clamp(32px, 5vw, 56px); }
.hx-dolores p { padding-top: 18px; box-shadow: inset 0 1px 0 var(--v5-line); color: var(--v5-t2); font-size: 15.5px; line-height: 1.6; }
.hx-dolores b { display: block; color: var(--v5-t1); font-size: 18px; letter-spacing: -0.02em; font-weight: 620; margin-bottom: 6px; }
@media (max-width: 760px) { .hx-dolores { grid-template-columns: 1fr; } }

/* ---------- 4 · La historia de un lead ---------- */
.hx-historia { padding: clamp(56px, 10vh, 112px) 0; }
.hx-historia-cab { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; max-width: 760px; margin-bottom: clamp(20px, 4vh, 40px); }
.hx-historia-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); }
.hx-movil-sitio { position: sticky; top: calc(50vh - 320px); height: 660px; display: flex; justify-content: center; align-items: flex-start; }
.hx-movil { position: relative; width: 320px; height: 650px; border-radius: 52px; padding: 11px; background: #0E0C11; color: #ECECF1;
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .08), 0 0 0 7px #1D1A21, 0 0 0 8px rgba(255, 255, 255, .1),
              0 70px 120px -50px rgba(0, 0, 0, .9), 0 50px 110px -50px color-mix(in srgb, var(--v5-acc) 75%, transparent); }
.hx-movil::after { content: ''; position: absolute; inset: 11px; border-radius: 42px; pointer-events: none; z-index: 5;
  background: linear-gradient(160deg, rgba(255, 255, 255, .06), transparent 30%); }
.hx-movil-isla { position: absolute; top: 20px; left: 50%; width: 96px; height: 28px; margin-left: -48px; border-radius: 20px; background: #000; z-index: 4; }
.hx-movil-cab { position: absolute; top: 11px; left: 11px; right: 11px; height: 104px; padding: 58px 16px 0; display: flex; align-items: center; gap: 10px; z-index: 3;
  border-radius: 42px 42px 0 0; background: rgba(22, 20, 26, .92); box-shadow: inset 0 -1px 0 rgba(255, 255, 255, .06); transition: opacity .5s; }
.hx-movil-av { width: 34px; height: 34px; border-radius: 999px; display: grid; place-items: center; font-size: 12px; font-weight: 700; background: #3A2A33; color: #FFB4A8; }
.hx-movil-cab b { display: block; font-size: 14px; font-weight: 620; }
.hx-movil-cab small { display: flex; align-items: center; gap: 4px; font-size: 11px; color: #9A9AA4; }
.hx-movil-cab small .hx-marca { width: 11px; height: 11px; color: #25D366; }
.hx-movil-grados { margin-left: auto; font-size: 20px; transition: opacity .4s; }
.hx-movil-pantalla { position: absolute; inset: 11px; border-radius: 42px; overflow: hidden;
  background: radial-gradient(120% 60% at 100% 0%, rgba(255, 94, 87, .14), transparent 60%), #121016; }
.hx-m-escena { position: absolute; inset: 104px 12px 16px; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px;
  opacity: 0; transform: translateY(16px) scale(.985); transition: opacity .55s var(--hx-muelle-suave), transform .7s var(--hx-muelle-suave); pointer-events: none; }
.hx-m-escena[data-escena="1"], .hx-m-escena[data-escena="6"] { inset: 20px 12px 16px; }
.hx-movil[data-escena-activa="1"] [data-escena="1"], .hx-movil[data-escena-activa="2"] [data-escena="2"],
.hx-movil[data-escena-activa="3"] [data-escena="3"], .hx-movil[data-escena-activa="4"] [data-escena="4"],
.hx-movil[data-escena-activa="5"] [data-escena="5"], .hx-movil[data-escena-activa="6"] [data-escena="6"] { opacity: 1; transform: none; }
.hx-movil[data-escena-activa="1"] .hx-movil-cab, .hx-movil[data-escena-activa="6"] .hx-movil-cab { opacity: 0; }
.hx-m-chat { display: flex; flex-direction: column; gap: 7px; }
.hx-m-b { max-width: 84%; padding: 8px 11px 7px; border-radius: 17px; font-size: 13px; line-height: 1.36; position: relative; }
.hx-m-lead { align-self: flex-start; background: #26232B; border-bottom-left-radius: 5px; }
.hx-m-bot { align-self: flex-end; background: #D9362C; color: #fff; border-bottom-right-radius: 5px; box-shadow: 0 10px 20px -12px rgba(255, 94, 87, .9); }
.hx-m-hora { display: block; text-align: right; font-size: 9.5px; opacity: .72; margin-top: 2px; }
.hx-m-escribe { display: inline-flex; gap: 4px; padding: 11px 13px; }
.hx-m-escribe i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255, 255, 255, .85); animation: hx-punto 1.2s ease-in-out infinite; }
.hx-m-escribe i:nth-child(2) { animation-delay: .15s; } .hx-m-escribe i:nth-child(3) { animation-delay: .3s; }
/* Las burbujas de la escena activa entran una tras otra */
.hx-m-chat > * { opacity: 0; transform: translateY(10px) scale(.96); transition: opacity .45s var(--hx-muelle-suave), transform .55s var(--hx-muelle-suave); }
.hx-movil[data-escena-activa="2"] [data-escena="2"] .hx-m-chat > *, .hx-movil[data-escena-activa="3"] [data-escena="3"] .hx-m-chat > *,
.hx-movil[data-escena-activa="4"] [data-escena="4"] .hx-m-chat > *, .hx-movil[data-escena-activa="5"] [data-escena="5"] .hx-m-chat > * { opacity: 1; transform: none; }
.hx-movil [data-escena] .hx-m-chat > *:nth-child(2) { transition-delay: .35s; } .hx-movil [data-escena] .hx-m-chat > *:nth-child(3) { transition-delay: .7s; }
.hx-movil [data-escena] .hx-m-chat > *:nth-child(4) { transition-delay: 1.05s; } .hx-movil [data-escena] .hx-m-chat > *:nth-child(5) { transition-delay: 1.4s; }
.hx-m-bloqueo { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 10px; padding-top: 60px; }
.hx-m-reloj { font-size: 64px; font-weight: 600; letter-spacing: -0.05em; color: #fff; margin-bottom: 26px; }
.hx-m-noti { width: 100%; display: flex; gap: 10px; align-items: center; padding: 11px 12px; border-radius: 18px; background: rgba(255, 255, 255, .1);
  transform: translateY(-14px); opacity: 0; transition: transform .7s var(--hx-muelle-suave), opacity .5s; }
.hx-m-noti .hx-marca, .hx-m-noti .hx-logo { width: 26px; height: 26px; flex: 0 0 auto; color: #fff; }
.hx-m-noti b { display: block; font-size: 12.5px; } .hx-m-noti small { display: block; font-size: 11.5px; color: #C8C8D0; line-height: 1.35; }
.hx-movil[data-escena-activa="1"] .hx-m-noti { transform: none; opacity: 1; }
.hx-movil[data-escena-activa="1"] .hx-m-noti--2 { transition-delay: .6s; }
.hx-m-ficha { margin-top: 8px; padding: 12px 13px; border-radius: 18px; background: rgba(255, 255, 255, .07); box-shadow: inset 0 0 0 .5px rgba(255, 255, 255, .1);
  transform: translateY(20px); opacity: 0; transition: transform .7s var(--hx-muelle-suave), opacity .5s; }
.hx-movil[data-escena-activa="3"] .hx-m-ficha { transform: none; opacity: 1; transition-delay: .8s; }
.hx-m-ficha-cab { display: flex; justify-content: space-between; align-items: baseline; font-size: 12px; font-weight: 600; color: #C8C8D0; margin-bottom: 6px; }
.hx-m-ficha-cab .hx-grados { font-size: 26px; }
.hx-m-ficha dl > div { display: flex; justify-content: space-between; gap: 10px; padding: 6px 0; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06); font-size: 11.5px; }
.hx-m-ficha dt { color: #9A9AA4; } .hx-m-ficha dd { text-align: right; }
.hx-m-huecos { display: flex; gap: 6px; align-self: flex-end; }
.hx-m-hueco { padding: 6px 11px; border-radius: 999px; font-size: 12px; font-weight: 600; background: rgba(255, 255, 255, .08); }
.hx-m-hueco.is-elegido { background: #fff; color: #D9362C; }
.hx-m-reserva { align-self: center; display: flex; align-items: center; gap: 9px; padding: 9px 13px; border-radius: 16px; background: rgba(48, 209, 88, .14); color: #30D158; margin-top: 4px; }
.hx-m-reserva .icon { width: 16px; height: 16px; stroke-width: 2.4; }
.hx-m-reserva b { display: block; font-size: 12.5px; color: #fff; } .hx-m-reserva small { display: block; font-size: 11px; color: #BFE9CB; }
.hx-m-dia { align-self: center; font-size: 10.5px; font-weight: 600; color: #9A9AA4; padding: 3px 9px; border-radius: 999px; background: rgba(255, 255, 255, .06); }
.hx-m-panel { flex: 1; display: flex; flex-direction: column; gap: 14px; padding-top: 44px; }
.hx-m-panel-t { font-size: 22px; font-weight: 650; letter-spacing: -0.03em; }
.hx-m-kanban { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.hx-m-kanban > div { display: flex; flex-direction: column; gap: 6px; padding: 8px 6px; border-radius: 14px; background: rgba(255, 255, 255, .05); min-height: 190px; }
.hx-m-kanban span { font-size: 10.5px; font-weight: 600; color: #9A9AA4; padding: 0 3px; }
.hx-m-k { display: block; height: 34px; border-radius: 10px; background: rgba(255, 255, 255, .08); font-style: normal; }
.hx-m-k--marta { height: auto; padding: 7px 8px; font-size: 11px; font-weight: 650; background: #D9362C; color: #fff; box-shadow: 0 12px 24px -12px rgba(255, 94, 87, .9);
  transform: translateX(-140%); opacity: 0; transition: transform 1s var(--hx-muelle-suave), opacity .4s; }
.hx-m-k--marta small { display: block; font-size: 10px; font-weight: 500; opacity: .85; }
.hx-movil[data-escena-activa="6"] .hx-m-k--marta { transform: none; opacity: 1; transition-delay: .3s; }
.hx-m-meta { display: flex; gap: 10px; align-items: center; padding: 11px 12px; border-radius: 16px; background: rgba(0, 129, 251, .12);
  transform: translateY(16px); opacity: 0; transition: transform .7s var(--hx-muelle-suave), opacity .5s; }
.hx-movil[data-escena-activa="6"] .hx-m-meta { transform: none; opacity: 1; transition-delay: 1.1s; }
.hx-m-meta .hx-marca { width: 22px; height: 22px; color: #3B8BFF; flex: 0 0 auto; }
.hx-m-meta b { display: block; font-size: 12.5px; } .hx-m-meta small { display: block; font-size: 11px; color: #C8C8D0; }

.hx-pasos { padding: 0 0 20vh; }
.hx-paso { min-height: 76vh; display: flex; flex-direction: column; justify-content: center; gap: 14px; opacity: .22; transition: opacity .6s var(--hx-muelle-suave); }
.hx-paso.is-activo { opacity: 1; }
html:not(.js-motion) .hx-paso { opacity: 1; }
.hx-paso p { max-width: 36ch; }
.hx-dato { display: flex; align-items: baseline; gap: 10px; font-size: 15px; color: var(--v5-t2); margin-top: 6px; }
.hx-dato span { white-space: nowrap; font-size: 40px; font-weight: 650; letter-spacing: -0.05em; background: var(--hx-brasa-texto); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
@media (max-width: 900px) {
  .hx-historia-grid { display: block; }
  .hx-movil-sitio { top: 74px; height: 520px; z-index: 0; }
  .hx-movil { transform: scale(.78); transform-origin: top center; }
  .hx-pasos { position: relative; z-index: 2; margin-top: -8vh; padding-bottom: 8vh; }
  .hx-paso { min-height: 0; margin: 0 0 58vh; padding: 20px 20px 22px; border-radius: 24px; opacity: 1;
    background: var(--v5-sheet); backdrop-filter: blur(24px) saturate(160%); -webkit-backdrop-filter: blur(24px) saturate(160%);
    box-shadow: 0 0 0 .5px var(--v5-edge), var(--v5-sheetsh); }
  .hx-paso h3 { font-size: 24px; }
  .hx-paso:last-child { margin-bottom: 0; }
}

/* ---------- 5 · Bento con demos en vivo ---------- */
.hx-bento2 { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px;
  grid-template-areas: "b b b b b b b a a a a a" "b b b b b b b c c c c c" "u u u u v v v v m m m m" "p p p p p p p p p p p p"; }
.hx-b { padding: clamp(22px, 2.6vw, 32px); overflow: hidden; display: flex; flex-direction: column; gap: 10px; border-radius: 26px; }
.hx-b--bandeja { grid-area: b; padding-bottom: 0; background: radial-gradient(90% 60% at 100% 100%, color-mix(in srgb, var(--v5-acc) 16%, transparent), transparent 70%), var(--v5-card); }
.hx-b--agente { grid-area: a; }
.hx-b--agenda { grid-area: c; }
.hx-b--auto { grid-area: u; } .hx-b--voz { grid-area: v; } .hx-b--meta { grid-area: m; }
.hx-b--abre { grid-area: p; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 20px clamp(24px, 4vw, 56px); align-items: center; }
.hx-abre { display: flex; flex-direction: column; gap: 14px; }
.hx-abre .hx-senal { margin-top: 0; }
.hx-abre .hx-senal-nodo--wa { background: color-mix(in srgb, #25D366 14%, transparent); color: var(--v5-t1); }
.hx-abre .hx-senal-nodo--wa .hx-marca { color: #25D366; }
.hx-senal-nodo .icon { width: 15px; height: 15px; color: var(--v5-t2); }
.hx-b--abre.is-in .hx-senal-linea i { animation: hx-viaja 2.4s var(--hx-muelle-suave) infinite; }
.hx-b--abre.is-in .hx-senal + .hx-senal .hx-senal-linea i { animation-delay: 1.2s; }
.hx-b-texto { max-width: 46ch; display: flex; flex-direction: column; gap: 10px; }
.hx-b-captura { margin: 26px -8px 0 0; padding-top: 0; transform: translateY(10px); transition: transform .9s var(--hx-muelle-suave); }
.hx-b--bandeja:hover .hx-b-captura { transform: translateY(0) scale(1.015); }
.hx-b-captura img { width: 100%; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .45)); }

[data-theme="light"] .hx-b-captura img { filter: drop-shadow(0 26px 34px rgba(90, 30, 15, .18)); }
.hx-b-mascota { display: block; width: 96px; height: 96px; margin: -6px 0 4px -6px; }
.hx-b-propone { margin-top: auto; padding: 14px; border-radius: 18px; background: var(--hx-tarjeta-cristal); box-shadow: 0 0 0 .5px var(--v5-edge), var(--v5-shg); }
.hx-b-propone p { font-size: 13.5px; line-height: 1.45; color: var(--v5-t1); max-width: none; }
.hx-b-propone b { display: block; font-size: 12px; margin-bottom: 3px; }
.hx-b-botones { display: flex; justify-content: flex-end; gap: 6px; margin-top: 10px; }
.hx-b-botones span { font-size: 12px; font-weight: 600; padding: 6px 12px; border-radius: 999px; background: var(--v5-card2); }
.hx-b-botones .is-ok { background: var(--hx-btn); color: #fff; }
/* Agenda: la reserva de Marta aparece sola en su hueco */
.hx-cal { margin-top: auto; }
.hx-cal-dias, .hx-cal-rejilla { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.hx-cal-dias span { text-align: center; font-size: 11px; font-weight: 600; color: var(--hx-t3-aa); padding-bottom: 6px; }
.hx-cal-rejilla i { height: 34px; border-radius: 9px; background: var(--v5-card2); position: relative; font-style: normal; }
[data-theme="light"] .hx-cal-rejilla i { background: #F1ECEA; }
.hx-cal-rejilla i.is-ocu { background: repeating-linear-gradient(-45deg, var(--v5-card2) 0 4px, transparent 4px 8px); }
.hx-cal-rejilla i.is-reserva b { position: absolute; inset: 0; border-radius: inherit; display: grid; place-items: center; font-size: 11px; font-weight: 650; color: #fff;
  background: var(--hx-btn); transform: scale(.4); opacity: 0; box-shadow: 0 12px 22px -10px color-mix(in srgb, var(--v5-acc) 90%, transparent); }
.hx-b--agenda.is-in .hx-cal-rejilla i.is-reserva b { animation: hx-reserva 6s var(--hx-muelle-suave) .6s infinite; }
@keyframes hx-reserva { 0%, 12% { transform: scale(.4); opacity: 0; } 22%, 82% { transform: none; opacity: 1; } 92%, 100% { transform: scale(.6); opacity: 0; } }
.hx-cal-rejilla i.is-reserva::after { content: ''; position: absolute; inset: -3px; border-radius: 12px; box-shadow: 0 0 0 2px var(--v5-acc); opacity: 0; }
.hx-b--agenda.is-in .hx-cal-rejilla i.is-reserva::after { animation: hx-pulso 6s ease .6s infinite; }
@keyframes hx-pulso { 0%, 6% { opacity: 0; transform: scale(1.3); } 14% { opacity: .9; transform: none; } 24%, 100% { opacity: 0; } }
/* Automatizaciones: la tarjeta de Marta cruza el embudo */
.hx-kan { position: relative; margin-top: auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.hx-kan > div { display: flex; flex-direction: column; gap: 6px; padding: 8px 6px; border-radius: 12px; background: var(--v5-col); min-height: 118px; }
.hx-kan span { font-size: 10.5px; font-weight: 600; color: var(--hx-t3-aa); padding: 0 3px; }
.hx-kan i { display: block; height: 26px; border-radius: 8px; background: var(--v5-card2); }
[data-theme="light"] .hx-kan i { background: #F1ECEA; }
.hx-kan-mueve { position: absolute; top: 34px; left: 6px; width: calc((100% - 12px) / 3 - 12px); padding: 6px 8px; border-radius: 9px; font-size: 11px; font-weight: 650;
  background: var(--hx-btn); color: #fff; box-shadow: 0 12px 22px -10px color-mix(in srgb, var(--v5-acc) 90%, transparent); }
.hx-b--auto.is-in .hx-kan-mueve { animation: hx-cruza 7s var(--hx-muelle-suave) .5s infinite; }
@keyframes hx-cruza { 0%, 14% { transform: translateX(0); } 28%, 50% { transform: translateX(calc(100% + 18px)); } 64%, 86% { transform: translateX(calc(200% + 36px)); } 100% { transform: translateX(0); } }
/* Tu voz: el mensaje de robot se tacha y aparece el tuyo */
.hx-voz { margin-top: auto; display: flex; flex-direction: column; gap: 8px; }
.hx-voz p { max-width: none; font-size: 13px; line-height: 1.4; padding: 9px 12px; border-radius: 15px; }
.hx-voz-antes { background: var(--v5-card2); color: var(--v5-t2); position: relative; }
[data-theme="light"] .hx-voz-antes { background: #F1ECEA; }
.hx-voz-antes::after { content: ''; position: absolute; left: 12px; right: 12px; top: 50%; height: 1.5px; background: var(--v5-acc); transform: scaleX(0); transform-origin: 0 50%; }
.hx-voz-despues { align-self: flex-end; background: var(--hx-btn); color: #fff; border-bottom-right-radius: 5px; clip-path: inset(0 100% 0 0 round 15px); }
.hx-b--voz.is-in .hx-voz-antes::after { animation: hx-tacha 6s var(--hx-muelle-suave) .6s infinite; }
.hx-b--voz.is-in .hx-voz-despues { animation: hx-teclea 6s steps(22, end) .6s infinite; }
@keyframes hx-tacha { 0%, 8% { transform: scaleX(0); } 22%, 88% { transform: scaleX(1); } 100% { transform: scaleX(0); } }
@keyframes hx-teclea { 0%, 26% { clip-path: inset(0 100% 0 0 round 15px); } 56%, 88% { clip-path: inset(0 0 0 0 round 15px); } 100% { clip-path: inset(0 100% 0 0 round 15px); } }
/* Meta: la señal viaja de la cita al anuncio */
.hx-senal { margin-top: auto; display: flex; align-items: center; gap: 10px; }
.hx-senal-nodo { display: inline-flex; align-items: center; gap: 6px; padding: 7px 11px; border-radius: 999px; font-size: 12px; font-weight: 600; white-space: nowrap;
  background: var(--hx-acc-bg); color: var(--hx-acc-text); }
.hx-senal-nodo--meta { background: color-mix(in srgb, #0081FB 14%, transparent); color: var(--v5-t1); }
.hx-senal-nodo .hx-marca { width: 15px; height: 15px; color: #0081FB; }
.hx-senal-linea { flex: 1; height: 2px; border-radius: 2px; background: var(--v5-track); position: relative; }
.hx-senal-linea i { position: absolute; top: -3px; left: 0; width: 8px; height: 8px; border-radius: 50%; background: var(--v5-acc); box-shadow: 0 0 12px var(--v5-acc); opacity: 0; }
.hx-b--meta.is-in .hx-senal-linea i { animation: hx-viaja 2.4s var(--hx-muelle-suave) infinite; }
@keyframes hx-viaja { from { left: 0; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } to { left: calc(100% - 8px); opacity: 0; } }
@media (max-width: 1023px) {
  .hx-bento2 { grid-template-columns: 1fr 1fr; grid-template-areas: "b b" "a c" "u v" "m m" "p p"; }
}
@media (max-width: 640px) { .hx-bento2 { grid-template-columns: 1fr; grid-template-areas: "b" "a" "c" "u" "v" "m" "p"; } .hx-b--abre { grid-template-columns: 1fr; } .hx-abre .hx-senal-nodo { white-space: normal; } }

/* ---------- 6 · Sectores (la única cinta de la página) y encaje ---------- */
.hx-cinta { overflow: hidden; padding: clamp(18px, 3vh, 30px) 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.hx-cinta-pista { display: flex; gap: clamp(28px, 4vw, 56px); width: max-content; animation: hx-cinta 42s linear infinite; }
.hx-cinta-pista span { font-size: clamp(36px, 6vw, 84px); font-weight: 650; letter-spacing: -0.05em; white-space: nowrap; color: transparent; -webkit-text-stroke: 1px color-mix(in srgb, var(--v5-t1) 34%, transparent); }
.hx-cinta-pista span:nth-child(3n+1) { color: var(--v5-t1); -webkit-text-stroke: 0; }
@keyframes hx-cinta { to { transform: translateX(-50%); } }
.hx-encaje-sec h2 { margin-bottom: clamp(24px, 4vw, 44px); }
.hx-encaje { display: grid; grid-template-columns: 1.15fr .85fr; gap: 16px; align-items: start; }
.hx-encaje-no { padding: clamp(22px, 3vw, 34px); border-radius: 26px; box-shadow: inset 0 0 0 1px var(--v5-line); }
@media (max-width: 860px) { .hx-encaje { grid-template-columns: 1fr; } }

/* ---------- 7 · Conexiones: la órbita ---------- */
/* la órbita gira y sus logos rozan el borde en anchos intermedios: se recorta la sección, no la órbita */
.hx-conex-seccion { overflow-x: clip; }
.hx-conexiones { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.hx-conexiones .t-body-l { margin-top: 16px; }
.hx-conex-lista { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 26px; }
.hx-conex-lista li { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 18px; background: var(--v5-card); box-shadow: 0 0 0 .5px var(--v5-edge), var(--v5-sh1); }
.hx-conex-lista li > .hx-marca, .hx-conex-lista li > .icon { width: 22px; height: 22px; color: var(--hx-acc-text); flex: 0 0 auto; }
.hx-conex-lista li > span { display: flex; flex-direction: column; font-size: 12.5px; color: var(--v5-t2); line-height: 1.35; }
.hx-conex-lista b { font-size: 14px; font-weight: 620; color: var(--v5-t1); }
.hx-orbita { position: relative; width: min(100%, 460px); aspect-ratio: 1; margin: 0 auto; --radio: 190px; }
.hx-orbita-aro { position: absolute; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--v5-line); }
.hx-orbita-aro--1 { inset: 8%; } .hx-orbita-aro--2 { inset: 28%; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--v5-acc) 30%, transparent); }
.hx-orbita-centro { position: absolute; left: 50%; top: 50%; width: 118px; height: 118px; margin: -59px 0 0 -59px; border-radius: 36px; display: grid; place-items: center;
  background: #141115; color: #EFE8E4; box-shadow: 0 0 0 6px color-mix(in srgb, #fff 4%, transparent), 0 0 0 6.5px var(--v5-edge), 0 30px 80px -20px color-mix(in srgb, var(--v5-acc) 80%, transparent); }
.hx-orbita-centro .hx-logo { color: #EFE8E4; }
.hx-orbita-anillo { list-style: none; position: absolute; inset: 0; animation: hx-gira-orbita 60s linear infinite; }
.hx-orbita-anillo li { position: absolute; left: 50%; top: 50%; width: 0; height: 0; transform: rotate(calc(var(--i) * 60deg)) translateY(calc(-1 * var(--radio))); }
.hx-orb-item { position: absolute; left: -34px; top: -34px; width: 68px; height: 68px; border-radius: 22px; display: grid; place-items: center;
  background: var(--v5-card); box-shadow: 0 0 0 .5px var(--v5-edge), var(--v5-sh1); rotate: calc(var(--i) * -60deg); animation: hx-contragira 60s linear infinite; }
.hx-orb-item .hx-marca { width: 30px; height: 30px; }
.hx-orbita-anillo li:nth-child(1) .hx-marca { color: #25D366; } .hx-orbita-anillo li:nth-child(2) .hx-marca { color: #E4405F; }
.hx-orbita-anillo li:nth-child(3) .hx-marca { color: #0081FB; } .hx-orbita-anillo li:nth-child(4) .hx-marca { color: #4285F4; }
.hx-orbita-anillo li:nth-child(5) .hx-marca { color: #006BFF; }
@keyframes hx-gira-orbita { to { transform: rotate(360deg); } }
@keyframes hx-contragira { to { transform: rotate(-360deg); } }
@media (max-width: 900px) { .hx-conexiones { grid-template-columns: 1fr; } .hx-orbita { width: min(100%, 360px); --radio: 148px; } }
@media (max-width: 420px) { .hx-conex-lista { grid-template-columns: 1fr; } .hx-orbita { --radio: 126px; } }
@media (max-width: 900px) { .hx-orbita { contain: paint; } }

/* ---------- 8 · Planes en corto ---------- */
.hx-planes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; max-width: 1000px; margin: 0 auto; align-items: stretch; }
.hx-plan-corto { display: flex; flex-direction: column; gap: 6px; padding: 26px; border-radius: 24px; transition: transform .6s var(--hx-muelle-suave); }
.hx-plan-corto:hover { transform: translateY(-6px); }
.hx-plan-corto .hw-btn { margin-top: auto; align-self: stretch; }
.hx-plan-corto .hx-precio { margin: 10px 0 6px; }
.hx-plan-corto .hx-precio span { font-size: 44px; letter-spacing: -0.05em; }
.hx-plan-corto p.t-body-s:last-of-type { margin-bottom: 14px; }
@media (min-width: 861px) { .hx-plan-corto--pro { transform: translateY(-10px); } .hx-plan-corto--pro:hover { transform: translateY(-16px); } }
@media (max-width: 860px) { .hx-planes { grid-template-columns: 1fr; } }

/* ---------- 9 · Editorial y comparativas ---------- */
.hx-editorial { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 80px); padding: clamp(28px, 5vw, 56px) 0; box-shadow: inset 0 1px 0 var(--v5-line); }
.hx-editorial > div { display: flex; flex-direction: column; gap: 14px; }
@media (max-width: 860px) { .hx-editorial { grid-template-columns: 1fr; } }
.hx-comparando { padding: clamp(22px, 3vw, 36px); border-radius: 26px; background: var(--v5-card); box-shadow: 0 0 0 6px color-mix(in srgb, var(--v5-t1) 3.5%, transparent), 0 0 0 6.5px var(--v5-edge), var(--v5-sh1);
  display: flex; flex-direction: column; gap: 10px; margin-top: 8px; }

/* ---------- 10 · Cierre inmersivo ---------- */
.hx-final { padding: clamp(48px, 9vh, 96px) 0 0; }
.hx-final-caja { position: relative; border-radius: 36px; overflow: hidden; isolation: isolate; min-height: clamp(520px, 70vh, 680px); display: grid; place-items: center; text-align: center;
  box-shadow: 0 0 0 6px color-mix(in srgb, #fff 4%, transparent), 0 0 0 6.5px var(--v5-edge), 0 60px 120px -50px rgba(0, 0, 0, .8); color: #ECECF1; }
.hx-final-fondo { position: absolute; inset: 0; z-index: -1; }
.hx-final-fondo img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); }
@supports (animation-timeline: view()) {
  .hx-final-fondo img { animation: hx-acerca linear both; animation-timeline: view(); animation-range: entry 0% cover 60%; }
  @keyframes hx-acerca { from { transform: scale(1.3); } to { transform: scale(1.02); } }
}
.hx-final-fondo::after { content: ''; position: absolute; inset: 0;
  background: radial-gradient(70% 70% at 50% 45%, rgba(14, 12, 17, .55), rgba(14, 12, 17, .88) 70%), linear-gradient(180deg, rgba(14, 12, 17, .2), rgba(14, 12, 17, .9)); }
.hx-final-contenido { max-width: 760px; padding: clamp(40px, 6vw, 72px) clamp(20px, 4vw, 48px); display: flex; flex-direction: column; align-items: center; gap: 16px; }
.hx-final-contenido .t-body-l, .hx-final-contenido .hx-riesgo, .hx-final-alt { color: #C8C8D0; }
.hx-final-alt a { color: #FF8F87 !important; }
.hx-final-mascota { display: block; width: 120px; height: 120px; margin-bottom: 4px; }

/* ---------- Movimiento reducido ---------- */
@media (prefers-reduced-motion: reduce) {
  .hx-h1 .hx-w, .hx-hero2-texto > *, .hx-escena, .hx-reel, .hx-reel-aro, .hx-reel-play::after { animation: none !important; }
  .hx-aviso.is-nuevo, .hx-aviso.is-nuevo::after, .hx-aviso-ic { animation: none !important; }
  .hx-escena-marco { transform: none !important; } .hx-escena-marco img { animation: none !important; }
  .hx-cinta-pista, .hx-orbita-anillo, .hx-orb-item { animation: none !important; }
  .hx-m-escena, .hx-m-chat > *, .hx-m-ficha, .hx-m-k--marta, .hx-m-meta, .hx-m-noti { transition: none !important; }
  .hx-curva-linea, .hx-curva-helix { stroke-dashoffset: 0 !important; animation: none !important; } .hx-curva-area, .hx-curva-marca { opacity: 1 !important; animation: none !important; transform: none !important; } .hx-curva-punto { display: none; }
  .hx-b--agenda .hx-cal-rejilla i.is-reserva b { animation: none !important; transform: none; opacity: 1; }
  .hx-kan-mueve { animation: none !important; transform: translateX(calc(100% + 18px)); }
  .hx-voz-antes::after { animation: none !important; transform: scaleX(1); } .hx-voz-despues { animation: none !important; clip-path: none; }
  .hx-senal-linea i { animation: none !important; left: 50%; opacity: 1; }
  .hx-final-fondo img { animation: none !important; transform: none; }
}
