/* Diseño de las páginas de solución: hero con fotos rotativas, comparador animado ("Qué es"),
   explorador ("Qué incluye"), línea de tiempo ("Cómo trabajamos") y novedades.
   Todo el movimiento respeta prefers-reduced-motion. Tokens de style.css. */

/* ---------- Aparición al hacer scroll (lo activa fx.js; sin JS todo es visible) ---------- */
html.fx [data-fx] { opacity: 0; transform: translateY(24px); transition: opacity .8s cubic-bezier(.16, 1, .3, 1), transform .8s cubic-bezier(.16, 1, .3, 1); transition-delay: calc(var(--i, 0) * 80ms); }
html.fx [data-fx].is-in { opacity: 1; transform: none; }

/* ---------- Hero: resplandores y foto rotativa ---------- */
.wu-sup-hero { position: relative; overflow: hidden; isolation: isolate; }
.fx-orb { position: absolute; z-index: -1; border-radius: 50%; filter: blur(60px); pointer-events: none; }
.fx-orb--a { width: 440px; height: 440px; top: -140px; right: 6%; background: radial-gradient(circle, rgba(255, 61, 0, .5), transparent 66%); animation: fx-float 15s ease-in-out infinite; }
.fx-orb--b { width: 400px; height: 400px; bottom: -190px; left: -80px; background: radial-gradient(circle, rgba(92, 92, 255, .45), transparent 66%); animation: fx-float 19s ease-in-out infinite reverse; }

.wu-sup-hero-portrait .hr-stack { position: relative; width: 100%; max-width: 400px; aspect-ratio: 1 / 1; border-radius: 1.5rem; overflow: hidden; border: 1px solid rgba(255, 255, 255, .18); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .6); background: var(--wu-navy-deep); }
@media (min-width: 900px) { .wu-sup-hero-portrait .hr-stack { width: 340px; } }
@media (min-width: 1200px) { .wu-sup-hero-portrait .hr-stack { width: 400px; } }
.wu-sup-hero-portrait .hr-img { position: absolute; inset: 0; width: 100%; max-width: none; height: 100%; border: 0; border-radius: 0; box-shadow: none; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity 1s ease, transform 6s ease-out; }
.wu-sup-hero-portrait .hr-img.is-on { opacity: 1; transform: scale(1); }
.hr-wrap { position: relative; }
.hr-chip { position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: .4rem; padding: .45rem .75rem; border-radius: 999px; background: rgba(255, 255, 255, .96); color: var(--wu-navy); font: 700 .74rem/1 Inter, sans-serif; box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .5); animation: fx-bob 5s ease-in-out infinite; }
.hr-chip::before { content: ""; width: .5rem; height: .5rem; border-radius: 50%; background: var(--wu-success); }
.hr-chip:nth-of-type(1) { top: 10%; left: -1.2rem; }
.hr-chip:nth-of-type(2) { top: 44%; right: -1.2rem; animation-delay: -1.6s; }
.hr-chip:nth-of-type(3) { bottom: 9%; left: 1.2rem; animation-delay: -3.1s; }

/* Todos los canales en la vista "isla" */
.silos--all { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .5rem; padding-top: 2.4rem; }
.silos--all .silo { padding: .55rem .6rem; border-radius: 12px; }
.silos--all .silo strong { margin-bottom: .45rem; font-size: .7rem; }
.silos--all .silo i { height: 5px; margin-bottom: .3rem; }
@media (max-width: 600px) { .silos--all { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---------- Comparador ("Qué es") ---------- */
.cmp-sec { padding: 5.5rem 1.5rem; background: #fff; }
.cmp { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 3.5rem; align-items: center; max-width: 72rem; margin: 0 auto; }
.cmp-title { margin: 0 0 1.25rem; font-family: 'Satoshi', 'Poppins', sans-serif; font-weight: 800; font-size: clamp(2.3rem, 5.6vw, 4.4rem); line-height: 1.02; letter-spacing: -.035em; color: var(--wu-navy); text-wrap: balance; }
.cmp-title .light { color: #a5a5b8; font-weight: 500; }
.cmp-lead { margin: 0 0 1.6rem; max-width: 34rem; font-size: 1.12rem; line-height: 1.65; color: var(--wu-text-dark-muted); }
.cmp-toggle { display: inline-flex; padding: .3rem; border-radius: 999px; background: rgba(10, 10, 110, .07); }
.cmp-toggle button { min-height: 44px; padding: .7rem 1.2rem; border: 0; border-radius: 999px; background: transparent; color: var(--wu-navy); font: 700 .88rem/1 Inter, sans-serif; cursor: pointer; transition: background .3s, color .3s, box-shadow .3s; }
.cmp-toggle button[aria-selected="true"] { background: var(--wu-navy); color: #fff; box-shadow: 0 10px 24px -10px rgba(10, 10, 110, .7); }
.cmp-toggle button:focus-visible { outline: 2px solid var(--wu-accent); outline-offset: 2px; }
.cmp-note { margin: 1.4rem 0 0; max-width: 34rem; font-size: .84rem; line-height: 1.55; color: var(--wu-text-dark-muted); }
.cmp-note a { color: var(--wu-navy); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }

.cmp-stage { position: relative; min-height: 400px; padding: 1.4rem; border-radius: 28px; overflow: hidden; color: #fff; background: radial-gradient(70% 60% at 85% 0%, rgba(255, 61, 0, .26), transparent 60%), linear-gradient(150deg, var(--wu-navy) 0%, var(--wu-navy-deep) 100%); box-shadow: 0 50px 90px -50px rgba(10, 10, 110, .75); }
.cmp-stage::before { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px); background-size: 34px 34px; -webkit-mask-image: radial-gradient(75% 75% at 50% 50%, #000, transparent); mask-image: radial-gradient(75% 75% at 50% 50%, #000, transparent); }
.cmp-view { position: relative; display: none; min-height: 330px; }
.cmp-view.is-on { display: block; animation: fx-view .7s cubic-bezier(.16, 1, .3, 1); }
.cmp-caption { position: relative; margin: 1rem 0 0; font-size: .9rem; line-height: 1.5; color: rgba(255, 255, 255, .82); text-align: center; min-height: 2.7em; }
.cmp-tag { position: absolute; top: 0; left: 0; z-index: 2; padding: .35rem .7rem; border-radius: 999px; font: 700 .7rem/1 Inter, sans-serif; letter-spacing: .06em; text-transform: uppercase; background: rgba(255, 255, 255, .12); color: #fff; }
.cmp-tag--ok { background: var(--wu-accent); }

/* Vista "isla": cada canal por su lado */
.silos { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; padding-top: 2.2rem; }
.silo { padding: .9rem; border-radius: 16px; border: 1px dashed rgba(255, 255, 255, .32); background: rgba(255, 255, 255, .05); }
.silo strong { display: block; margin-bottom: .6rem; font: 700 .86rem/1 Inter, sans-serif; }
.silo i { display: block; height: 7px; margin-bottom: .4rem; border-radius: 4px; background: rgba(255, 255, 255, .18); }
.silo i:nth-of-type(2) { width: 72%; }
.silo i:nth-of-type(3) { width: 48%; }
.silo small { display: block; margin-top: .6rem; font-size: .7rem; color: rgba(255, 255, 255, .6); }
.hop { position: absolute; z-index: 2; display: flex; align-items: center; gap: .5rem; top: 14%; left: 18%; animation: fx-hop 8s ease-in-out infinite; }
.hop-av { display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 50%; background: var(--wu-accent); font: 800 .8rem/1 Inter, sans-serif; box-shadow: 0 10px 24px -8px rgba(255, 61, 0, .8); }
.hop-b { padding: .4rem .65rem; border-radius: 12px 12px 12px 3px; background: #fff; color: #111; font: 600 .72rem/1.2 Inter, sans-serif; white-space: nowrap; }

/* Vista "centro": todo converge (SVG) */
.hub { display: block; width: 100%; height: auto; max-height: 340px; }
.hub text { font-family: Inter, sans-serif; fill: #fff; }
.hub-line { fill: none; stroke: rgba(255, 255, 255, .42); stroke-width: 2; stroke-dasharray: 6 8; animation: fx-dash 1.4s linear infinite; }
.hub-node rect { fill: rgba(255, 255, 255, .1); stroke: rgba(255, 255, 255, .35); }
.hub-node text { font-size: 14px; font-weight: 700; text-anchor: middle; }
.hub-core circle.c { fill: var(--wu-accent); }
.hub-core circle.r { fill: none; stroke: rgba(255, 61, 0, .7); stroke-width: 2; transform-box: fill-box; transform-origin: center; animation: fx-ring 2.6s ease-out infinite; }
.hub-core text { text-anchor: middle; font-weight: 800; }

/* Vista "un teléfono" (WhatsApp) */
.solo { position: relative; display: grid; grid-template-columns: auto 1fr; gap: 1.4rem; align-items: center; padding-top: 2.2rem; }
.solo-phone { position: relative; width: 150px; height: 280px; border: 6px solid rgba(255, 255, 255, .85); border-radius: 26px; background: rgba(255, 255, 255, .06); overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; gap: .35rem; padding: .6rem; }
.solo-phone span { align-self: flex-start; padding: .35rem .55rem; border-radius: 10px 10px 10px 3px; background: #fff; color: #111; font: 600 .66rem/1.2 Inter, sans-serif; opacity: 0; animation: fx-pile 7s ease-out infinite; animation-delay: calc(var(--i) * .8s); }
.solo-copy strong { display: block; margin-bottom: .4rem; font: 800 1.15rem/1.15 Satoshi, Inter, sans-serif; }
.solo-copy p { margin: 0; font-size: .86rem; line-height: 1.5; color: rgba(255, 255, 255, .75); }

/* Vista "bot de menú" frente a "agente" (IA) */
.chat-duo { position: relative; display: flex; flex-direction: column; gap: .55rem; padding-top: 2.2rem; }
.cb { max-width: 86%; padding: .55rem .8rem; border-radius: 14px; font: 500 .84rem/1.35 Inter, sans-serif; }
.cb--me { align-self: flex-end; background: var(--wu-accent); color: #fff; border-bottom-right-radius: 3px; }
.cb--bot { align-self: flex-start; background: #fff; color: #111; border-bottom-left-radius: 3px; }
.menu-pills { display: flex; flex-wrap: wrap; gap: .4rem; }
.menu-pills span { padding: .4rem .7rem; border-radius: 8px; border: 1px solid rgba(255, 255, 255, .35); font: 600 .74rem/1 Inter, sans-serif; animation: fx-lit 4s ease-in-out infinite; animation-delay: calc(var(--i) * .8s); }
.ai-flow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .4rem; }
.ai-flow span { padding: .6rem .5rem; border-radius: 10px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .22); font: 700 .7rem/1.25 Inter, sans-serif; text-align: center; opacity: .3; animation: fx-step 6s ease-in-out infinite; animation-delay: calc(var(--i) * .9s); }
.cb--ok { opacity: 0; animation: fx-final 6s ease-in-out infinite; }

/* ---------- Explorador ("Qué incluye") ---------- */
.inc-sec { padding: 5rem 1.5rem; background: var(--wu-bg-tint, #f6f7fc); }
.inc-head { max-width: 72rem; margin: 0 auto 2.4rem; }
.inc { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 2rem; max-width: 72rem; margin: 0 auto; }
.inc-list { display: flex; flex-direction: column; gap: .35rem; }
.inc-tab { display: flex; align-items: center; gap: .75rem; width: 100%; min-height: 48px; padding: .7rem .9rem; border: 1px solid transparent; border-radius: 14px; background: transparent; color: var(--wu-navy); font: 700 .92rem/1.2 Inter, sans-serif; text-align: left; cursor: pointer; transition: background .25s, border-color .25s, transform .25s; }
.inc-tab:hover { background: rgba(10, 10, 110, .05); }
.inc-tab .ic { display: grid; place-items: center; width: 2.1rem; height: 2.1rem; border-radius: 10px; background: rgba(10, 10, 110, .08); flex: none; transition: background .25s, color .25s; }
.inc-tab[aria-selected="true"] { background: #fff; border-color: rgba(10, 10, 110, .14); box-shadow: 0 16px 36px -22px rgba(10, 10, 110, .5); transform: translateX(4px); }
.inc-tab[aria-selected="true"] .ic { background: var(--wu-accent); color: #fff; }
.inc-tab:focus-visible { outline: 2px solid var(--wu-accent); outline-offset: 2px; }
.inc-panel { position: relative; min-height: 340px; padding: 2.2rem; border-radius: 28px; background: #fff; border: 1px solid rgba(10, 10, 110, .1); box-shadow: 0 40px 80px -50px rgba(10, 10, 110, .4); overflow: hidden; }
.inc-panel[hidden] { display: none; }
.inc-panel.is-on { animation: fx-view .55s cubic-bezier(.16, 1, .3, 1); }
.inc-panel::after { content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 61, 0, .14), transparent 68%); pointer-events: none; }
.inc-panel h3 { margin: 0 0 1.4rem; font: 800 clamp(1.5rem, 3vw, 2.1rem)/1.1 Satoshi, Inter, sans-serif; letter-spacing: -.02em; color: var(--wu-navy); }
.inc-items { position: relative; z-index: 1; margin: 0; padding: 0; list-style: none; display: grid; gap: .9rem; }
.inc-items li { display: grid; grid-template-columns: 1.6rem 1fr; gap: .7rem; align-items: start; font-size: 1.05rem; line-height: 1.45; color: var(--wu-text-dark); opacity: 0; animation: fx-item .5s cubic-bezier(.16, 1, .3, 1) forwards; animation-delay: calc(var(--i) * 90ms + 120ms); }
.inc-items li::before { content: ""; width: 1.4rem; height: 1.4rem; margin-top: .05rem; border-radius: 50%; background: var(--wu-accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 70% no-repeat; }

.inc-next { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: .45rem; min-height: 44px; margin-top: 1.8rem; padding: .6rem 1.05rem; border-radius: 999px; border: 1px solid rgba(10, 10, 110, .16); background: #fff; color: var(--wu-navy); font: 600 .86rem/1 Inter, sans-serif; cursor: pointer; transition: border-color .25s, transform .25s cubic-bezier(.16, 1, .3, 1); }
.inc-next:hover { border-color: var(--wu-navy); transform: translateX(3px); }
.inc-next:focus-visible { outline: 2px solid var(--wu-accent); outline-offset: 2px; }
.inc-next span { color: var(--wu-accent); font-weight: 800; }
.inc-panel .inc-wm { position: absolute; right: 1.8rem; bottom: 1.4rem; width: 8rem; height: 8rem; color: var(--wu-navy); opacity: .06; stroke-width: 1.4; pointer-events: none; }

/* Títulos del hero sin palabras sueltas */
.wu-sup-title { text-wrap: balance; }

/* Etiquetas del diagrama en móvil (las genera fx.js a partir del SVG) */
.hub-chips { display: none; }
@media (max-width: 600px) {
    .hub .hub-node, .hub .hub-line { display: none; }
    .hub { max-height: 170px; }
    .hub-chips { position: relative; display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem; margin: .4rem 0 0; padding: 0; list-style: none; }
    .hub-chips li { padding: .4rem .7rem; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .35); background: rgba(255, 255, 255, .08); font: 700 .74rem/1 Inter, sans-serif; opacity: 0; animation: fx-item .45s cubic-bezier(.16, 1, .3, 1) forwards; animation-delay: calc(var(--i) * 50ms); }
    .cmp-view { min-height: 0; }
    .cmp-stage { min-height: 0; }
}
@media (max-width: 600px) and (prefers-reduced-motion: reduce) { .hub-chips li { opacity: 1; animation: none; } }

/* Pestañas de «Qué incluye» en móvil: se deslizan sin barra visible */
@media (max-width: 900px) {
    .inc-list { scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
    .inc-list::-webkit-scrollbar { display: none; }
    .om-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .5rem; }
    .om-card { padding: .65rem; font-size: .76rem; }
}

/* Rejilla de canales pareja: 15 canales = 3 filas de 5 */
@media (min-width: 900px) { .om-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }

/* ---------- Línea de tiempo ("Cómo trabajamos") ---------- */
.tl-sec { padding: 5rem 1.5rem; background: #fff; }
.tl-head { max-width: 72rem; margin: 0 auto 3rem; }
.tl { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; max-width: 72rem; margin: 0 auto; padding: 0; list-style: none; }
.tl::before, .tl::after { content: ""; position: absolute; top: 1.3rem; left: 1.3rem; height: 3px; border-radius: 2px; }
.tl::before { right: 0; background: rgba(10, 10, 110, .1); }
.tl::after { right: 0; background: var(--wu-accent); transform: scaleX(0); transform-origin: left center; transition: transform 1.8s cubic-bezier(.16, 1, .3, 1) .2s; }
.tl.is-in::after { transform: scaleX(1); }
.tl li { position: relative; padding-top: 3.8rem; padding-right: .5rem; }
.tl .n { position: absolute; top: 0; left: 0; z-index: 1; display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 50%; background: #fff; border: 3px solid var(--wu-accent); color: var(--wu-navy); font: 800 .95rem/1 Satoshi, Inter, sans-serif; box-shadow: 0 8px 18px -10px rgba(255, 61, 0, .7); transition: background .4s, color .4s; }
.tl.is-in .n { background: var(--wu-accent); color: #fff; }

/* Botón secundario sobre fondo claro y accesos relacionados del cierre */
.wu-sup-cta.fx-ghost { background: #fff; color: var(--wu-navy); border: 1px solid rgba(10, 10, 110, .2); box-shadow: none; }
.wu-sup-cta.fx-ghost:hover { border-color: var(--wu-navy); box-shadow: 0 12px 26px -16px rgba(10, 10, 110, .6); }
.fx-related { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .8rem; max-width: 60rem; margin: 2.4rem auto 0; text-align: left; }
.fx-rel { display: flex; align-items: center; gap: .8rem; min-height: 64px; padding: .9rem 1rem; border-radius: 16px; background: #fff; border: 1px solid rgba(10, 10, 110, .12); color: var(--wu-navy); text-decoration: none; transition: transform .3s cubic-bezier(.16, 1, .3, 1), box-shadow .3s, border-color .3s; }
.fx-rel:hover { transform: translateY(-2px); border-color: rgba(10, 10, 110, .3); box-shadow: 0 18px 34px -22px rgba(10, 10, 110, .55); }
.fx-rel:focus-visible { outline: 2px solid var(--wu-accent); outline-offset: 2px; }
.fx-rel-ic { display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 12px; background: rgba(255, 61, 0, .1); color: var(--wu-accent); flex: none; }
.fx-rel-tx { flex: 1; min-width: 0; }
.fx-rel-tx strong { display: block; font: 700 .92rem/1.25 Inter, sans-serif; }
.fx-rel-tx small { display: block; margin-top: .15rem; font-size: .78rem; color: var(--wu-text-dark-muted); }
.tl h3 { margin: 0 0 .5rem; font: 800 1.35rem/1.15 Satoshi, Inter, sans-serif; letter-spacing: -.02em; color: var(--wu-navy); }
.tl p { margin: 0; font-size: .95rem; line-height: 1.55; color: var(--wu-text-dark-muted); }

/* ---------- Novedades ---------- */
.nv-bar { display: flex; flex-wrap: wrap; gap: .5rem; max-width: 72rem; margin: 0 auto 2rem; }
.nv-chip { min-height: 44px; padding: .55rem 1rem; border-radius: 999px; border: 1px solid rgba(10, 10, 110, .2); background: #fff; color: var(--wu-navy); font: 700 .84rem/1 Inter, sans-serif; cursor: pointer; transition: background .25s, color .25s; }
.nv-chip[aria-pressed="true"] { background: var(--wu-navy); border-color: var(--wu-navy); color: #fff; }
.nv-chip:focus-visible { outline: 2px solid var(--wu-accent); outline-offset: 2px; }
.nv-feed { position: relative; max-width: 72rem; margin: 0 auto; display: grid; gap: 1.2rem; }
.nv-item { display: grid; grid-template-columns: 9rem minmax(0, 1fr); gap: 1.6rem; padding: 1.6rem; border-radius: 24px; background: #fff; border: 1px solid rgba(10, 10, 110, .1); box-shadow: 0 30px 60px -44px rgba(10, 10, 110, .45); transition: transform .35s cubic-bezier(.16, 1, .3, 1), box-shadow .35s; }
.nv-item:hover { transform: translateY(-3px); box-shadow: 0 40px 70px -40px rgba(10, 10, 110, .55); }
.nv-item[hidden] { display: none; }
.nv-date b { display: block; font: 800 3rem/.95 Satoshi, Inter, sans-serif; letter-spacing: -.04em; color: var(--wu-navy); }
.nv-date span { display: block; margin-top: .3rem; font: 700 .76rem/1.2 Inter, sans-serif; letter-spacing: .08em; text-transform: uppercase; color: var(--wu-text-dark-muted); }
.nv-new { display: inline-block; margin-top: .6rem; padding: .25rem .55rem; border-radius: 999px; background: var(--wu-accent); color: #fff; font: 800 .64rem/1 Inter, sans-serif; letter-spacing: .08em; text-transform: uppercase; }
.nv-body h3 { margin: 0 0 .7rem; font: 800 1.35rem/1.2 Satoshi, Inter, sans-serif; letter-spacing: -.02em; color: var(--wu-navy); }
.nv-body ul { margin: 0 0 1rem; padding: 0; list-style: none; display: grid; gap: .55rem; }
.nv-body li { position: relative; padding-left: 1.1rem; font-size: .95rem; line-height: 1.5; color: var(--wu-text-dark); }
.nv-body li::before { content: ""; position: absolute; left: 0; top: .55em; width: 7px; height: 7px; border-radius: 50%; background: var(--wu-accent); }
.nv-tags { display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; }
.nv-links { margin-left: auto; display: flex; flex-wrap: wrap; gap: .4rem 1.1rem; }
.nv-tags a { color: var(--wu-navy); font-weight: 700; font-size: .84rem; text-decoration: underline; text-underline-offset: 2px; }

/* ---------- Corrección: leyenda de la demo sin franja lateral de color ---------- */
.wa-cap { border-left: 0; border-radius: 12px; border: 1px solid rgba(255, 61, 0, .25); background: rgba(255, 61, 0, .06); }

/* ---------- Movimiento ---------- */
@keyframes fx-float { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(26px, 22px); } }
@keyframes fx-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes fx-dash { to { stroke-dashoffset: -28; } }
@keyframes fx-ring { 0% { transform: scale(.85); opacity: .9; } 100% { transform: scale(1.7); opacity: 0; } }
@keyframes fx-view { from { opacity: 0; transform: translateY(14px) scale(.985); } to { opacity: 1; transform: none; } }
@keyframes fx-item { from { opacity: 0; transform: translateX(-12px); } to { opacity: 1; transform: none; } }
@keyframes fx-hop { 0%, 100% { top: 14%; left: 18%; } 25% { top: 14%; left: 58%; } 50% { top: 58%; left: 58%; } 75% { top: 58%; left: 18%; } }
@keyframes fx-pile { 0% { opacity: 0; transform: translateY(14px); } 12%, 85% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes fx-lit { 0%, 100% { background: transparent; color: #fff; } 20%, 40% { background: rgba(255, 255, 255, .22); } }
@keyframes fx-step { 0%, 100% { opacity: .3; } 12%, 40% { opacity: 1; background: rgba(255, 61, 0, .35); border-color: var(--wu-accent); } }
@keyframes fx-final { 0%, 60% { opacity: 0; transform: translateY(10px); } 75%, 95% { opacity: 1; transform: none; } 100% { opacity: 0; } }

@keyframes fx-hop-m { 0%, 100% { top: 14%; left: 5%; } 25% { top: 14%; left: 36%; } 50% { top: 58%; left: 36%; } 75% { top: 58%; left: 5%; } }
@media (max-width: 900px) {
    .hop { animation-name: fx-hop-m; }
    .hop-b { font-size: .66rem; padding: .35rem .5rem; }
    .cmp { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
    .cmp-sec, .inc-sec, .tl-sec { padding: 3.5rem 1.25rem; }
    .inc { grid-template-columns: minmax(0, 1fr); }
    .inc-list { flex-direction: row; overflow-x: auto; scroll-snap-type: x proximity; padding-bottom: .4rem; margin: 0 -1.25rem; padding-inline: 1.25rem; }
    .inc-tab { width: auto; flex: none; scroll-snap-align: start; border-color: rgba(10, 10, 110, .14); background: #fff; }
    .inc-tab[aria-selected="true"] { transform: none; }
    .inc-panel { padding: 1.5rem; }
    .tl { grid-template-columns: minmax(0, 1fr); gap: 1.8rem; }
    .tl::before, .tl::after { top: 1.3rem; bottom: 1rem; left: 1.2rem; right: auto; width: 3px; height: auto; }
    .tl::after { width: 3px; transform: scaleY(0); transform-origin: center top; }
    .tl.is-in::after { transform: scaleY(1); }
    .tl li { padding: .35rem 0 0 3.6rem; }
    .fx-related { grid-template-columns: minmax(0, 1fr); }
    .nv-item { grid-template-columns: minmax(0, 1fr); gap: .9rem; }
    .nv-date b { font-size: 2.2rem; }
    .hr-chip:nth-of-type(1) { left: -.4rem; }
    .hr-chip:nth-of-type(2) { right: -.4rem; }
    .silos { grid-template-columns: 1fr 1fr; }
    .solo { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; }
    .ai-flow { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) {
    html.fx [data-fx] { opacity: 1; transform: none; transition: none; }
    .fx-orb, .hr-chip, .hub-line, .hub-core circle.r, .hop, .solo-phone span, .menu-pills span, .ai-flow span, .cb--ok { animation: none; }
    .solo-phone span, .cb--ok, .ai-flow span { opacity: 1; }
    .hop { top: 14%; left: 18%; }
    .cmp-view.is-on, .inc-panel.is-on { animation: none; }
    .hop-b { white-space: normal; }
    .inc-items li { opacity: 1; animation: none; }
    .tl::after { transition: none; }
    .wu-sup-hero-portrait .hr-img { transition: opacity .3s; transform: none; }
}

/* Celular: menos aire en las secciones propias y en el diseñador de ejemplo */
@media (max-width: 640px) {
    .cmp-sec, .inc-sec, .tl-sec { padding-top: 2.75rem; padding-bottom: 2.75rem; }
    .inc-head, .tl-head { margin-bottom: 1.5rem; }
    .af-flow { min-height: 0; }
    .af-flow:empty::before { content: "El flujo aparecerá aquí."; display: block; padding: .8rem; border-radius: 10px; border: 1px dashed rgba(10, 10, 110, .2); color: var(--wu-text-dark-muted); font-size: .84rem; }
    .fx-related { margin-top: 1.6rem; }
}

/* Celular: el contenido nunca depende de una animación para verse (ahorro de batería las pausa) */
@media (max-width: 900px) {
    .cmp-view.is-on, .inc-panel.is-on { animation: none; }
    .inc-items li, .hub-chips li, .solo-phone span, .cb--ok { opacity: 1; animation: none; }
    .ai-flow span { opacity: 1; }
}
