/* Escenas animadas de la página de FIXYOUROFFIX. Lienzo de 800×600 que se escala con --s (lo pone escenas-fix.js). */
.fx { position: relative; aspect-ratio: 4 / 3; border-radius: 24px; overflow: hidden; background: radial-gradient(120% 90% at 20% 0%, #eaf0ff 0%, #f4f6fb 55%, #eef1f7 100%); --azul: #2f55d4; --tinta: #0f172a; --gris: #64748b; --linea: #e5e8ee; --verde: #16a34a; }
.fx__lienzo { position: absolute; left: 0; top: 0; width: 800px; height: 600px; transform: scale(var(--s, .6)); transform-origin: 0 0; font-family: Geist, -apple-system, system-ui, sans-serif; color: var(--tinta); letter-spacing: -.01em; text-align: left; }
.fx svg { width: 15px; height: 15px; flex: none; }
.fx small { font-size: 11.5px; font-weight: 500; color: var(--gris); letter-spacing: 0; }
.fx h4 { font-size: 19px; font-weight: 600; letter-spacing: -.03em; margin: 2px 0 0; }
.fx p { margin: 0; }

/* ventana de la app */
.fx__ventana { position: absolute; left: 44px; top: 42px; width: 712px; height: 516px; border-radius: 16px; background: #fff; box-shadow: 0 24px 60px rgba(30, 50, 110, .14), 0 0 0 1px rgba(15, 23, 42, .05); display: flex; overflow: hidden; }
.fx__lado { width: 196px; flex: none; background: #f6f7f9; border-right: 1px solid var(--linea); padding: 16px 10px; }
.fx__negocio { display: flex; align-items: center; gap: 8px; padding: 2px 8px 14px; font-size: 13px; }
.fx__negocio > i { width: 18px; height: 18px; border-radius: 5px; background: linear-gradient(135deg, #6e9bf8, #2f55d4); }
.fx__negocio b { position: relative; font-weight: 600; height: 17px; flex: 1; }
.fx__negocio b span { position: absolute; left: 0; top: 0; white-space: nowrap; opacity: 0; transform: translateY(6px); transition: opacity .45s ease, transform .5s cubic-bezier(.22, 1, .36, 1); }
.fx__item { display: flex; align-items: center; gap: 9px; height: 0; padding: 0 9px; border-radius: 8px; font-size: 13px; font-weight: 500; color: #475569; opacity: 0; overflow: hidden; transform: translateX(-8px); transition: height .5s cubic-bezier(.22, 1, .36, 1), opacity .4s ease, transform .5s cubic-bezier(.22, 1, .36, 1); }
.fx__item.on { height: 31px; opacity: 1; transform: none; background: #e6ecfb; color: var(--azul); }
.fx__cuerpo { flex: 1; padding: 26px 30px; min-width: 0; }
.fx__cuerpo > p { margin-top: 3px; font-size: 12.5px; color: var(--gris); }
.fx__lista { margin-top: 14px; border: 1px solid var(--linea); border-radius: 12px; overflow: hidden; }
.fx__mod { display: flex; align-items: center; justify-content: space-between; padding: 0 16px; height: 46.5px; }
.fx__mod + .fx__mod { border-top: 1px solid var(--linea); }
.fx__mod b { display: block; font-size: 13px; font-weight: 600; }
.fx__mod span { font-size: 11.5px; color: var(--gris); }
.fx__sw { position: relative; width: 34px; height: 20px; border-radius: 999px; background: #d5dae3; flex: none; transition: background .35s ease; }
.fx__sw::after { content: ""; position: absolute; left: 2px; top: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); transition: transform .4s cubic-bezier(.34, 1.4, .5, 1); }
/* giro A (paso 0) y giro B (paso 1) */
.fx1[data-paso="0"] .fx__negocio .a, .fx1[data-paso="1"] .fx__negocio .b { opacity: 1; transform: none; }
.fx1[data-paso="0"] .fx__item.a, .fx1[data-paso="1"] .fx__item.b { height: 31px; opacity: 1; transform: none; }
.fx1[data-paso="0"] .fx__mod.a .fx__sw, .fx1[data-paso="1"] .fx__mod.b .fx__sw { background: var(--azul); }
.fx1[data-paso="0"] .fx__mod.a .fx__sw::after, .fx1[data-paso="1"] .fx__mod.b .fx__sw::after { transform: translateX(14px); }
.fx__mod:nth-child(2) .fx__sw, .fx__mod:nth-child(2) .fx__sw::after { transition-delay: .08s; } .fx__mod:nth-child(3) .fx__sw, .fx__mod:nth-child(3) .fx__sw::after { transition-delay: .16s; }
.fx__mod:nth-child(4) .fx__sw, .fx__mod:nth-child(4) .fx__sw::after { transition-delay: .24s; } .fx__mod:nth-child(5) .fx__sw, .fx__mod:nth-child(5) .fx__sw::after { transition-delay: .32s; }
.fx__mod:nth-child(6) .fx__sw, .fx__mod:nth-child(6) .fx__sw::after { transition-delay: .4s; } .fx__mod:nth-child(7) .fx__sw, .fx__mod:nth-child(7) .fx__sw::after { transition-delay: .48s; }

/* 2 · venta → factura → finanzas */
.fx__flujo { position: absolute; left: 40px; right: 40px; top: 150px; display: flex; align-items: center; }
.fx__tarjeta { position: relative; width: 208px; height: 232px; flex: none; border-radius: 16px; background: #fff; box-shadow: 0 18px 44px rgba(30, 50, 110, .13), 0 0 0 1px rgba(15, 23, 42, .05); padding: 20px; display: flex; flex-direction: column; opacity: .35; transform: translateY(10px) scale(.97); transition: opacity .5s ease, transform .6s cubic-bezier(.22, 1, .36, 1); }
.fx__tarjeta > b { margin-top: 8px; font-size: 30px; font-weight: 600; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.fx__tarjeta > span { margin-top: 6px; font-size: 12px; color: var(--gris); line-height: 1.35; }
.fx__linea { flex: 1; height: 2px; background: #d9deea; position: relative; margin: 0 6px; border-radius: 2px; overflow: hidden; }
.fx__linea i { position: absolute; inset: 0; background: var(--azul); transform: scaleX(0); transform-origin: 0 50%; transition: transform .7s cubic-bezier(.6, 0, .3, 1); }
.fx__estado { margin-top: auto; font-style: normal; position: relative; height: 30px; }
.fx__estado i { position: absolute; left: 0; bottom: 0; display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border-radius: 999px; font-style: normal; font-size: 12px; font-weight: 600; transition: opacity .35s ease, transform .45s cubic-bezier(.22, 1, .36, 1); }
.fx__estado .e0 { background: #eef1f6; color: var(--gris); }
.fx__estado .e1 { background: #e7f7ec; color: var(--verde); opacity: 0; transform: scale(.85); }
.fx__hoja { margin-top: 14px; display: grid; gap: 7px; }
.fx__hoja i { height: 7px; border-radius: 4px; background: #e9ecf2; } .fx__hoja i:nth-child(2) { width: 78%; } .fx__hoja i:nth-child(3) { width: 58%; } .fx__hoja i.c { width: 44px; height: 44px; border-radius: 6px; margin-top: 4px; background: repeating-conic-gradient(#cfd5e1 0 25%, #f3f5f9 0 50%) 0 0 / 11px 11px; }
.fx__sello { position: absolute; right: 16px; bottom: 54px; padding: 6px 12px; border: 2px solid var(--verde); border-radius: 8px; color: var(--verde); font-style: normal; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; transform: rotate(-12deg) scale(2.2); opacity: 0; transition: transform .4s cubic-bezier(.3, 1.6, .5, 1), opacity .2s ease; }
.fx__fin u { text-decoration: none; color: var(--verde); font-weight: 600; opacity: 0; transition: opacity .4s ease; }
.fx__barra { margin-top: auto; height: 8px; border-radius: 8px; background: #e9ecf2; overflow: hidden; }
.fx__barra i { display: block; height: 100%; width: 100%; border-radius: inherit; background: linear-gradient(90deg, #6e9bf8, var(--azul)); transform: scaleX(.62); transform-origin: 0 50%; transition: transform 1.1s cubic-bezier(.22, 1, .36, 1); }
.fx__pie { position: absolute; left: 0; right: 0; top: 434px; text-align: center; font-size: 15px; font-weight: 500; color: var(--gris); }
.fx2 .fx__venta { opacity: 1; transform: none; }
.fx2:not([data-paso="0"]) .fx__estado .e0 { opacity: 0; transform: scale(.85); }
.fx2:not([data-paso="0"]) .fx__estado .e1 { opacity: 1; transform: none; }
.fx2:not([data-paso="0"]) .l1 i { transform: none; }
.fx2[data-paso="2"] .fx__factura, .fx2[data-paso="3"] .fx__factura { opacity: 1; transform: none; }
.fx2[data-paso="2"] .fx__sello, .fx2[data-paso="3"] .fx__sello { opacity: 1; transform: rotate(-12deg) scale(1); transition-delay: .45s; }
.fx2[data-paso="3"] .l2 i { transform: none; }
.fx2[data-paso="3"] .fx__fin { opacity: 1; transform: none; transition-delay: .45s; }
.fx2[data-paso="3"] .fx__fin u { opacity: 1; transition-delay: .8s; }
.fx2[data-paso="3"] .fx__barra i { transform: scaleX(.8); transition-delay: .7s; }

/* 3 · Fixer por WhatsApp */
.fx__cel { position: absolute; left: 236px; top: 34px; width: 328px; height: 532px; border-radius: 34px; background: #efeae2; box-shadow: 0 26px 60px rgba(20, 40, 90, .2), 0 0 0 9px #111418, 0 0 0 10px #2a2f37; overflow: hidden; display: flex; flex-direction: column; }
.fx__cel header { display: flex; align-items: center; gap: 10px; padding: 16px 16px 12px; background: #f6f6f6; border-bottom: 1px solid rgba(0, 0, 0, .06); }
.fx__avatar { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, #6e9bf8, #2f55d4); color: #fff; font-style: normal; font-weight: 700; font-size: 16px; }
.fx__cel header b { display: block; font-size: 15px; font-weight: 600; } .fx__cel header span { font-size: 11.5px; color: var(--gris); }
.fx__chat { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; padding: 14px 12px; overflow: hidden; }
.fx__chat p { max-width: 80%; padding: 8px 11px; border-radius: 12px; font-size: 13.5px; line-height: 1.32; box-shadow: 0 1px 1px rgba(0, 0, 0, .08); display: none; }
.fx__chat p.yo { align-self: flex-end; background: #d9fdd3; border-top-right-radius: 4px; }
.fx__chat p.f, .fx__chat p.escribe { align-self: flex-start; background: #fff; border-top-left-radius: 4px; }
.fx__chat p.ver { display: block; animation: fxSube .4s cubic-bezier(.22, 1, .36, 1) both; }
@keyframes fxSube { from { opacity: 0; transform: translateY(10px) scale(.96); } }
.fx__palomas { display: inline-block; width: 15px; height: 9px; margin-left: 7px; background: linear-gradient(#53bdeb, #53bdeb) 0 8px / 100% 0 no-repeat; position: relative; top: 1px; }
.fx__palomas::before, .fx__palomas::after { content: ""; position: absolute; top: -1px; width: 8px; height: 4.500px; border-left: 1.600px solid #53bdeb; border-bottom: 1.600px solid #53bdeb; transform: rotate(-45deg); } .fx__palomas::before { left: 0; } .fx__palomas::after { left: 5px; }
.fx__chat p.escribe { display: none; padding: 11px 13px; } .fx__chat p.escribe.ver { display: flex; gap: 4px; }
.fx__chat p.escribe i { width: 6px; height: 6px; border-radius: 50%; background: #9aa4b2; animation: fxPunto 1s infinite; } .fx__chat p.escribe i:nth-child(2) { animation-delay: .15s; } .fx__chat p.escribe i:nth-child(3) { animation-delay: .3s; }
@keyframes fxPunto { 0%, 60%, 100% { transform: none; opacity: .5; } 30% { transform: translateY(-3px); opacity: 1; } }
.fx__cel footer { display: flex; align-items: center; gap: 8px; padding: 10px 12px 16px; }
.fx__cel footer span { flex: 1; height: 34px; border-radius: 999px; background: #fff; padding: 0 14px; font-size: 13px; line-height: 34px; color: #9aa4b2; }
.fx__cel footer i { width: 34px; height: 34px; border-radius: 50%; background: #1daa61; }
.fx__nota { position: absolute; left: 590px; top: 250px; width: 170px; font-size: 13px; line-height: 1.35; color: var(--gris); opacity: 0; transform: translateX(-10px); transition: opacity .5s ease, transform .6s cubic-bezier(.22, 1, .36, 1); }
.fx__nota b { display: block; color: var(--tinta); font-weight: 600; margin-bottom: 4px; }
.fx3[data-paso="4"] .fx__nota, .fx3[data-paso="5"] .fx__nota, .fx3[data-paso="6"] .fx__nota { opacity: 1; transform: none; }

/* 4 · tablero de tarjetas */
.fx__ventana--tablero { display: block; padding: 22px 24px; }
.fx__arriba { display: flex; justify-content: space-between; align-items: flex-end; }
.fx__boton { height: 30px; padding: 0 13px; border-radius: 8px; border: 1px solid var(--linea); font-size: 12px; font-weight: 600; line-height: 28px; color: var(--azul); }
.fx__tablero { position: relative; margin-top: 18px; height: 400px; }
.fx__widget { position: absolute; left: 0; top: 0; width: 212px; height: 192px; border-radius: 14px; border: 1px solid var(--linea); background: #fff; padding: 16px; display: flex; flex-direction: column; transform: translate(calc(var(--x) * 226px), calc(var(--y) * 206px)); transition: transform .9s cubic-bezier(.3, 1.2, .4, 1), box-shadow .3s ease; }
.fx__widget.arriba { z-index: 3; box-shadow: 0 22px 44px rgba(30, 50, 110, .22); transform: translate(calc(var(--x) * 226px), calc(var(--y) * 206px)) scale(1.05) rotate(-1.5deg); }
.fx__widget b { margin-top: 6px; font-size: 27px; font-weight: 600; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.fx__widget span { margin-top: auto; font-size: 11.5px; color: var(--gris); }
.fx__widget.verde b { color: var(--verde); }
.fx__meta { margin-top: 14px; height: 9px; border-radius: 9px; background: #e9ecf2; overflow: hidden; } .fx__meta i { display: block; height: 100%; width: 72%; border-radius: inherit; background: linear-gradient(90deg, #6e9bf8, var(--azul)); }
.fx__barras { margin-top: auto; height: 70px; display: flex; align-items: flex-end; gap: 7px; } .fx__barras i { flex: 1; height: var(--h); border-radius: 4px 4px 2px 2px; background: #cfdcfb; } .fx__barras i:nth-child(6) { background: var(--azul); }
.fx__mano { position: absolute; left: 0; top: 0; width: 22px; height: 22px; border-radius: 50%; background: rgba(47, 85, 212, .22); box-shadow: 0 0 0 2px rgba(47, 85, 212, .55); transform: translate(calc(var(--mx, 400) * 1px * var(--s, .6)), calc(var(--my, 300) * 1px * var(--s, .6))); transition: transform .9s cubic-bezier(.3, 1.2, .4, 1), opacity .3s ease; opacity: 0; pointer-events: none; z-index: 4; }
.fx4.moviendo .fx__mano { opacity: 1; }
@media (prefers-reduced-motion: reduce) and (max-width: 0px) /* 19-nov: nunca se quita el movimiento */ { .fx * { transition: none !important; animation: none !important; } }

/* ajustes: el sello no pisa el texto y el flujo va centrado */
.fx__sello { right: 16px; bottom: 18px; }
.fx__flujo { top: 172px; }
.fx__pie { top: 452px; }

/* ===== piezas reutilizables para los demás proyectos (el color de la marca llega en --azul) ===== */
.fx__tarjeta > b.txt { font-size: 23px; line-height: 1.1; letter-spacing: -.035em; }
.fx__estado .e1 { background: color-mix(in srgb, var(--azul) 12%, #fff); color: var(--azul); }
.fx__sello { border-color: var(--azul); color: var(--azul); }
.fx__barra i, .fx__meta i { background: var(--azul); }
.fx__avatar { background: var(--azul); }
.fx__nota--fija { opacity: 1; transform: none; }
/* ventana con renglones */
.fx__ventana--lista { display: block; left: 110px; top: 70px; width: 580px; height: 460px; padding: 30px 34px; }
.fx__filas { margin-top: 20px; border: 1px solid var(--linea); border-radius: 14px; overflow: hidden; }
.fx__fila { display: flex; align-items: center; gap: 14px; height: 74px; padding: 0 18px; opacity: .38; transition: opacity .45s ease, background .45s ease; }
.fx__fila + .fx__fila { border-top: 1px solid var(--linea); }
.fx__fila > div { flex: 1; min-width: 0; } .fx__fila b { display: block; font-size: 15px; font-weight: 600; } .fx__fila span { font-size: 12.5px; color: var(--gris); }
.fx__marca { width: 24px; height: 24px; border-radius: 50%; border: 1.500px solid #cfd5e1; display: grid; place-items: center; color: #fff; flex: none; transition: background .35s ease, border-color .35s ease, transform .45s cubic-bezier(.3, 1.6, .5, 1); }
.fx__marca svg { width: 13px; height: 13px; opacity: 0; transition: opacity .3s ease; }
.fx__fila em { font-style: normal; font-size: 12px; font-weight: 600; padding: 5px 11px; border-radius: 999px; background: #eef1f6; color: var(--gris); opacity: 0; transform: translateX(8px); transition: opacity .4s ease, transform .5s cubic-bezier(.22, 1, .36, 1); white-space: nowrap; }
.fx__fila.ver { opacity: 1; }
.fx__fila.ver .fx__marca { background: var(--azul); border-color: var(--azul); transform: scale(1.08); } .fx__fila.ver .fx__marca svg { opacity: 1; }
.fx__fila.ver em { opacity: 1; transform: none; background: color-mix(in srgb, var(--azul) 12%, #fff); color: var(--azul); }
.fx__fila.mal.ver { background: #fdf3f3; } .fx__fila.mal.ver .fx__marca { background: #d14343; border-color: #d14343; } .fx__fila.mal.ver em { background: #fbe4e4; color: #b42323; }
.fx__filas:has(.fx__fila:nth-child(3):last-child) .fx__fila { height: 92px; }
/* manual de marca */
.fx__colores { margin-top: 22px; display: flex; gap: 14px; }
.fx__colores > div { flex: 1; } .fx__colores i { display: block; height: 92px; border-radius: 12px; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .06); }
.fx__colores b { display: block; margin-top: 8px; font-size: 13px; font-weight: 600; } .fx__colores span { font-size: 11.5px; color: var(--gris); text-transform: uppercase; }
.fx__letra { margin-top: 22px; display: flex; align-items: center; gap: 18px; padding: 16px 18px; border: 1px solid var(--linea); border-radius: 12px; }
.fx__letra > b { font-size: 46px; font-weight: 600; letter-spacing: -.05em; line-height: 1; color: var(--azul); } .fx__letra div b { display: block; font-size: 15px; } .fx__letra span { font-size: 12.5px; color: var(--gris); }
.fx__tono { margin-top: 18px !important; font-size: 15px; font-weight: 500; color: var(--gris); }
/* premio */
.fx__premio { position: absolute; left: 150px; top: 120px; width: 500px; height: 360px; border-radius: 22px; background: #fff; box-shadow: 0 24px 60px rgba(30, 50, 110, .14), 0 0 0 1px rgba(15, 23, 42, .05); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.fx__logos { display: flex; align-items: center; gap: 30px; margin-bottom: 30px; } .fx__logos img { height: 46px; width: auto; }
.fx__premio > b { margin-top: 6px; font-size: 40px; font-weight: 600; letter-spacing: -.045em; } .fx__premio > span { margin-top: 6px; font-size: 17px; font-weight: 500; color: var(--azul); }
/* material real en un marco */
.fxm { position: relative; aspect-ratio: 4 / 3; border-radius: 24px; overflow: hidden; background: #0d0d0f; display: flex; flex-direction: column; }
.fxm__pantalla { flex: 1; min-height: 0; position: relative; }
.fxm__pantalla video, .fxm__pantalla img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.fxm__barra { flex: none; height: 42px; display: flex; align-items: center; gap: 7px; padding: 0 16px; background: #f1f1f3; }
.fxm__barra i { width: 11px; height: 11px; border-radius: 50%; background: #d4d4d8; }
.fxm__barra span { margin: 0 auto; transform: translateX(-27px); height: 26px; padding: 0 18px; border-radius: 8px; background: #fff; font: 500 13px/26px Geist, system-ui, sans-serif; color: #52525b; }
/* varias piezas juntas */
.fxc { aspect-ratio: 4 / 3; border-radius: 24px; overflow: hidden; background: color-mix(in srgb, var(--azul) 10%, #f4f6fb); display: grid; grid-template-columns: 1.6fr .9fr; grid-template-rows: 1fr 1fr; gap: 10px; padding: 10px; }
.fxc i { border-radius: 14px; overflow: hidden; position: relative; } .fxc i.alta { grid-row: span 2; }
.fxc:has(i.alta:first-child) { grid-template-columns: .9fr 1.6fr; }
.fxc:has(i.alta:nth-child(3)) { grid-template-columns: .8fr 1.5fr .8fr; }
.fxc img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ===== Patrimonista ===== */
.fx10 { background: radial-gradient(120% 90% at 80% 0%, #e9e6ff 0%, #f4f4fb 55%, #eef0f7 100%); }
.fx__hojaapp { position: absolute; left: 90px; top: 96px; width: 620px; margin: 0; border-radius: 14px; overflow: hidden; background: #fff; box-shadow: 0 26px 60px rgba(40, 30, 120, .2), 0 0 0 1px rgba(15, 23, 42, .06); transform: translate(calc(var(--k, 0) * 26px), calc(var(--k, 0) * -24px)) scale(calc(1 - var(--k, 0) * .05)); opacity: calc(1 - var(--k, 0) * .22); z-index: calc(10 - var(--k, 0)); transition: transform .9s cubic-bezier(.22, 1, .36, 1), opacity .7s ease; }
.fx__hojaapp img { display: block; width: 100%; height: 390px; object-fit: cover; object-position: 0 0; }
.fx__cromo { height: 34px; display: flex; align-items: center; gap: 6px; padding: 0 12px; background: #f3f3f6; border-bottom: 1px solid #e5e8ee; }
.fx__cromo i { width: 9px; height: 9px; border-radius: 50%; background: #d4d4d8; } .fx__cromo span { margin-left: 10px; font-size: 12px; font-weight: 600; color: #52525b; }
.fx11 { background: #f1f0f7; }
.fx__lamina { position: absolute; inset: 40px 44px; border-radius: 16px; background: #fff; box-shadow: 0 24px 60px rgba(40, 30, 120, .14), 0 0 0 1px rgba(15, 23, 42, .05); padding: 26px 30px; display: grid; grid-template-columns: 1.15fr 1fr 1fr; grid-template-rows: auto 1fr 1fr; gap: 16px 20px; }
.fx__lamina header { grid-column: 1 / -1; } .fx__lamina header b { display: block; font-size: 24px; font-weight: 600; letter-spacing: -.035em; }
.lm { border: 1px solid #e5e8ee; border-radius: 12px; padding: 12px 14px; display: flex; flex-direction: column; gap: 10px; min-height: 0; color: var(--azul); }
.lm--curva { grid-row: span 2; } .lm--curva svg { width: 100%; height: auto; flex: 1; overflow: visible; }
.lm__bola { fill: var(--azul); offset-path: path('M10 140 C 60 140, 90 12, 290 10'); animation: lmBola 2.600s cubic-bezier(.22, 1, .36, 1) infinite; }
@keyframes lmBola { 0% { offset-distance: 0%; opacity: 0; } 8% { opacity: 1; } 70%, 92% { offset-distance: 100%; opacity: 1; } 100% { offset-distance: 100%; opacity: 0; } }
.lm--color div { display: flex; gap: 8px; flex: 1; } .lm--color i { flex: 1; border-radius: 9px; animation: lmSube .9s cubic-bezier(.22, 1, .36, 1) both; } .lm--color i:nth-child(2) { animation-delay: .1s; } .lm--color i:nth-child(3) { animation-delay: .2s; } .lm--color i:nth-child(4) { animation-delay: .3s; }
@keyframes lmSube { from { transform: scaleY(.2); opacity: 0; } }
.lm--ritmo div { display: flex; align-items: flex-end; gap: 6px; flex: 1; } .lm--ritmo i { flex: 1; height: 100%; border-radius: 4px; background: var(--azul); transform-origin: 50% 100%; animation: lmGolpe 2.400s ease-in-out infinite; animation-delay: calc(var(--n) * .3s); opacity: .25; }
@keyframes lmGolpe { 0%, 100% { transform: scaleY(.25); opacity: .25; } 12% { transform: scaleY(1); opacity: 1; } 40% { transform: scaleY(.25); opacity: .25; } }
.lm--titulo p { position: relative; flex: 1; font-size: 30px; font-weight: 700; letter-spacing: -.04em; text-transform: uppercase; overflow: hidden; }
.lm--titulo span { position: absolute; left: 0; bottom: 4px; opacity: 0; animation: lmPalabra 6s cubic-bezier(.22, 1, .36, 1) infinite; } .lm--titulo span:nth-child(2) { animation-delay: 2s; } .lm--titulo span:nth-child(3) { animation-delay: 4s; }
@keyframes lmPalabra { 0% { opacity: 0; transform: translateY(26px); } 6%, 28% { opacity: 1; transform: none; } 34%, 100% { opacity: 0; transform: translateY(-22px); } }
.lm--marco div { flex: 1; border-radius: 8px; background: #f1f0f7; position: relative; } .lm--marco div i { position: absolute; inset: 14% 12%; border: 1.500px dashed var(--azul); border-radius: 6px; animation: lmMarco 3s ease-in-out infinite; }
@keyframes lmMarco { 50% { inset: 8% 7%; } }
/* tira de campañas */
.fxt { aspect-ratio: 4 / 3; border-radius: 24px; overflow: hidden; background: #0b0b14; display: flex; align-items: center; container-type: size; }
.fxt__pista { display: flex; gap: 2.200cqw; padding-left: 2.200cqw; width: max-content; animation: fxtCorre 38s linear infinite; }
.fxt i { height: 62cqh; border-radius: 2.400cqw; overflow: hidden; flex: none; box-shadow: 0 2cqh 5cqh rgba(0, 0, 0, .5); } .fxt i.alta { aspect-ratio: 9 / 16; } .fxt i.ancha { aspect-ratio: 16 / 9; }
.fxt i:nth-child(odd) { transform: translateY(-3cqh); } .fxt i:nth-child(even) { transform: translateY(3cqh); }
.fxt img { width: 100%; height: 100%; object-fit: cover; display: block; }
@keyframes fxtCorre { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) and (max-width: 0px) /* 19-nov: nunca se quita el movimiento */ { .fxt__pista { animation: none; } }

.fxt i { height: 48cqh; }

/* figura suelta: sin recuadro ni fondo, cuadrada (más grande) */
.fxm--suelto { aspect-ratio: 1 / 1; background: none; border-radius: 0; overflow: visible; }
/* el video suelto se funde en las orillas, para que nunca se note su borde contra el fondo de la página */
.fxm--suelto .fxm__pantalla { -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent), linear-gradient(180deg, transparent, #000 5%, #000 95%, transparent); -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent), linear-gradient(180deg, transparent, #000 5%, #000 95%, transparent); mask-composite: intersect; }
