/* assets/css/portada_fx.css — CAPA DE MOVIMIENTO PREMIUM de la portada (index.php), 16-nov-2026.
   Se carga DESPUÉS de portada.css y solo añade: luz animada del héroe, entrada escalonada,
   maqueta con profundidad, barra de vidrio, brillo del botón dorado, carrusel de logos,
   contadores, borde luminoso que sigue al mouse, barra de progreso y WhatsApp flotante.
   Sin JavaScript todo se ve completo (nada se oculta hasta que portada_fx.js marca html.fx-listo).
   Con «reducir movimiento» del sistema, las animaciones se apagan. */

/* ---------- Barra de progreso de lectura ---------- */
.fx-progreso { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 70; pointer-events: none;
    background: linear-gradient(90deg, #f6dc8b, #c9a23a 60%, #f6dc8b); transform-origin: 0 50%; transform: scaleX(0); }

/* ---------- Navegación de vidrio que se compacta ---------- */
.pt-nav { transition: background .3s, box-shadow .3s, border-color .3s; }
.pt-nav__fila { transition: height .3s ease; }
.pt-nav.is-scroll { background: rgba(255, 255, 255, .72); backdrop-filter: saturate(180%) blur(18px); -webkit-backdrop-filter: saturate(180%) blur(18px); }
.pt-nav.is-compacta .pt-nav__fila { height: 60px; }
.pt-nav__logo img { transition: height .3s ease; }
.pt-nav.is-compacta .pt-nav__logo img { height: 34px; }
.contenido .pt a.pt-nav__link { position: relative; }
.contenido .pt a.pt-nav__link::after { content: ""; position: absolute; left: .8rem; right: .8rem; bottom: .25rem; height: 2px; border-radius: 2px;
    background: var(--pt-oro-2); transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.contenido .pt a.pt-nav__link:hover::after, .contenido .pt a.pt-nav__link.is-activa::after { transform: scaleX(1); }
.contenido .pt a.pt-nav__link.is-activa { color: var(--pt-marino); }

/* ---------- Héroe: auroras de luz en movimiento ---------- */
.fx-aurora { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.fx-aurora span { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; will-change: transform; }
.fx-aurora span:nth-child(1) { width: 520px; height: 520px; left: 52%; top: -22%; background: radial-gradient(circle, rgba(227, 196, 99, .55), transparent 65%); animation: fx-flota-1 18s ease-in-out infinite alternate; }
.fx-aurora span:nth-child(2) { width: 640px; height: 640px; left: -14%; top: 30%; background: radial-gradient(circle, rgba(56, 132, 230, .6), transparent 65%); animation: fx-flota-2 22s ease-in-out infinite alternate; }
.fx-aurora span:nth-child(3) { width: 380px; height: 380px; left: 30%; top: 55%; background: radial-gradient(circle, rgba(124, 176, 245, .35), transparent 65%); animation: fx-flota-3 26s ease-in-out infinite alternate; }
@keyframes fx-flota-1 { to { transform: translate(-90px, 70px) scale(1.15); } }
@keyframes fx-flota-2 { to { transform: translate(120px, -60px) scale(.9); } }
@keyframes fx-flota-3 { to { transform: translate(-60px, -90px) scale(1.2); } }
/* Destello que cruza la rejilla del héroe */
.pt-hero::after { content: ""; position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(115deg, transparent 40%, rgba(255, 255, 255, .06) 50%, transparent 60%); background-size: 250% 100%;
    animation: fx-barrido 9s ease-in-out 1.5s infinite; }
@keyframes fx-barrido { 0% { background-position: 120% 0; } 45%, 100% { background-position: -120% 0; } }
.pt-hero__rejilla { z-index: 1; }

/* Entrada del héroe al cargar (escalonada) */
html.fx-listo .pt-hero__rejilla > div:first-child > * { animation: fx-sube .8s cubic-bezier(.2, .9, .3, 1) both; }
html.fx-listo .pt-hero__rejilla > div:first-child > *:nth-child(2) { animation-delay: .08s; }
html.fx-listo .pt-hero__rejilla > div:first-child > *:nth-child(3) { animation-delay: .16s; }
html.fx-listo .pt-hero__rejilla > div:first-child > *:nth-child(4) { animation-delay: .24s; }
html.fx-listo .pt-hero__rejilla > div:first-child > *:nth-child(5) { animation-delay: .32s; }
html.fx-listo .pt-maqueta { animation: fx-maqueta 1.1s .15s cubic-bezier(.2, .9, .3, 1) both; }
@keyframes fx-sube { from { opacity: 0; transform: translateY(22px); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes fx-maqueta { from { opacity: 0; transform: translateY(40px) scale(.96); } to { opacity: 1; transform: none; } }
/* Palabra dorada con brillo que la recorre */
.pt-hero h1 em { background: linear-gradient(100deg, #f2cf6b 0%, #fff3c4 45%, #f2cf6b 55%, #d9ae45 100%); background-size: 220% 100%;
    -webkit-background-clip: text; background-clip: text; color: transparent; animation: fx-oro 6s ease-in-out 1.2s infinite; }
@keyframes fx-oro { 0%, 100% { background-position: 100% 0; } 50% { background-position: 0 0; } }

/* Maqueta con profundidad: inclina con el mouse y flota */
.pt-maqueta { perspective: 1600px; }
.fx-inclina { transition: transform .5s cubic-bezier(.2, .9, .3, 1); transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); position: relative; }
.pt-telefono { animation: fx-flota-tel 6s ease-in-out infinite; }
@keyframes fx-flota-tel { 50% { translate: 0 -10px; } }
.pt-panel--movil .pt-telefono { animation: none; }
.pt-sellos { animation: pt-sellos-entra .7s .3s both cubic-bezier(.2, .9, .3, 1.2), fx-flota-sello 7s ease-in-out 1.2s infinite; }
@keyframes fx-flota-sello { 50% { translate: 0 8px; } }

/* ---------- Botón dorado con brillo ---------- */
.contenido .pt a.pt-btn--oro, .pt .pt-btn--oro { position: relative; overflow: hidden; isolation: isolate; }
.contenido .pt a.pt-btn--oro::before, .pt .pt-btn--oro::before { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 45%; z-index: -1;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .65), transparent); transform: skewX(-20deg); animation: fx-brillo 4.5s ease-in-out 2s infinite; }
@keyframes fx-brillo { 0% { left: -60%; } 30%, 100% { left: 130%; } }
.contenido .pt a.pt-btn--oro:hover, .pt .pt-btn--oro:hover { box-shadow: 0 16px 36px rgba(201, 162, 58, .5); }
.contenido .pt a.pt-btn, .pt .pt-btn { transition: transform .2s cubic-bezier(.2, .9, .3, 1.4), box-shadow .2s, background .2s; }
.contenido .pt a.pt-btn:active, .pt .pt-btn:active { transform: scale(.97); }

/* ---------- Cifras: tarjetas con relieve ---------- */
.pt-cifra { position: relative; overflow: hidden; transition: transform .3s cubic-bezier(.2, .9, .3, 1), box-shadow .3s; }
.pt-cifra:hover { transform: translateY(-4px); box-shadow: 0 2px 4px rgba(15, 23, 42, .05), 0 22px 44px rgba(15, 23, 42, .12); }
.pt-cifra strong { font-variant-numeric: tabular-nums; background: linear-gradient(135deg, var(--pt-marino), var(--pt-azul)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pt-cifra::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: linear-gradient(var(--pt-oro), var(--pt-oro-2));
    transform: scaleY(0); transform-origin: top; transition: transform .6s .2s cubic-bezier(.2, .9, .3, 1); }
.pt-cifra.fx-visible::before { transform: scaleY(1); }

/* ---------- Borde luminoso que sigue al mouse ---------- */
.fx-luz { position: relative; }
.fx-luz::after { content: ""; position: absolute; inset: -1px; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .3s;
    padding: 1.5px; background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(227, 196, 99, .95), rgba(30, 90, 168, .35) 45%, transparent 70%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.fx-luz:hover::after { opacity: 1; }
.pt-modulo { transition: transform .3s cubic-bezier(.2, .9, .3, 1), box-shadow .3s; }
.pt-modulo:hover { transform: translateY(-5px); box-shadow: 0 2px 4px rgba(15, 23, 42, .05), 0 24px 48px rgba(15, 23, 42, .12); }
.pt-modulo i { transition: transform .35s cubic-bezier(.2, .9, .3, 1.5); }
.pt-modulo:hover i { transform: scale(1.1) rotate(-6deg); }

/* ---------- Clientes: carrusel infinito ---------- */
.pt-clientes__logos.fx-carrusel { flex-wrap: nowrap; justify-content: flex-start; width: max-content; gap: 0; animation: fx-carrusel var(--fx-dur, 30s) linear infinite; }
.pt-clientes__logos.fx-carrusel .pt-cliente { margin: 0 2.2rem; }
.fx-carrusel-marco { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.fx-carrusel-marco:hover .fx-carrusel { animation-play-state: paused; }
@keyframes fx-carrusel { to { transform: translateX(-50%); } }

/* ---------- Entrada al hacer scroll (solo con JS listo) ---------- */
html.fx-listo .fx-entra { opacity: 0; transform: translateY(26px); transition: opacity .8s cubic-bezier(.2, .9, .3, 1), transform .8s cubic-bezier(.2, .9, .3, 1);
    transition-delay: calc(var(--fx-i, 0) * 70ms); }
html.fx-listo .fx-entra.fx-visible { opacity: 1; transform: none; }
.pt-eyebrow { display: inline-flex; align-items: center; gap: .5rem; }
.pt-cabeza .pt-eyebrow::before, .pt-cabeza .pt-eyebrow::after { content: ""; width: 0; height: 1px; background: currentColor; opacity: .5; transition: width .7s .3s ease; }
.pt-cabeza.fx-visible .pt-eyebrow::before, .pt-cabeza.fx-visible .pt-eyebrow::after { width: 22px; }

/* ---------- WhatsApp flotante premium ---------- */
.fx-wa { position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 65; display: flex; align-items: flex-end; gap: .7rem; font-family: "Plus Jakarta Sans", system-ui, sans-serif; }
.contenido .pt a.fx-wa__boton, .fx-wa__boton { position: relative; width: 62px; height: 62px; flex: none; border-radius: 50%; display: grid; place-items: center;
    background: linear-gradient(145deg, #2fe07a, #16a34a); color: #fff; font-size: 1.85rem; box-shadow: 0 14px 34px rgba(22, 163, 74, .45), inset 0 1px 0 rgba(255, 255, 255, .35);
    transition: transform .25s cubic-bezier(.2, .9, .3, 1.5), box-shadow .25s; animation: fx-wa-entra .6s 1s cubic-bezier(.2, .9, .3, 1.4) both; }
.contenido .pt a.fx-wa__boton:hover, .fx-wa__boton:hover { transform: scale(1.08) rotate(-6deg); box-shadow: 0 18px 40px rgba(22, 163, 74, .55); }
.fx-wa__boton::before, .fx-wa__boton::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #22c55e; animation: fx-wa-onda 2.8s ease-out 2s infinite; }
.fx-wa__boton::after { animation-delay: 3.4s; }
.fx-wa__punto { position: absolute; top: 3px; right: 3px; width: 14px; height: 14px; border-radius: 50%; background: #f59e0b; border: 2.5px solid #fff; }
.fx-wa.is-en-linea .fx-wa__punto { background: #22c55e; box-shadow: 0 0 0 0 rgba(34, 197, 94, .6); animation: fx-wa-latido 2s infinite; }
@keyframes fx-wa-entra { from { opacity: 0; transform: scale(.4) translateY(30px); } }
@keyframes fx-wa-onda { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.7); opacity: 0; } }
@keyframes fx-wa-latido { 70% { box-shadow: 0 0 0 7px rgba(34, 197, 94, 0); } 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); } }
.fx-wa__tarjeta { position: relative; width: 268px; margin-bottom: .35rem; padding: .95rem 1rem .95rem 1rem; border-radius: 18px 18px 6px 18px; background: #fff; color: #0f172a;
    box-shadow: 0 2px 6px rgba(15, 23, 42, .08), 0 24px 50px rgba(15, 23, 42, .2); border: 1px solid #e5eaf2;
    opacity: 0; transform: translateY(12px) scale(.96); transform-origin: bottom right; pointer-events: none; transition: opacity .35s, transform .35s cubic-bezier(.2, .9, .3, 1.3); }
.fx-wa.is-abierta .fx-wa__tarjeta { opacity: 1; transform: none; pointer-events: auto; }
.fx-wa__cab { display: flex; align-items: center; gap: .65rem; margin-bottom: .55rem; }
.fx-wa__foto { width: 40px; height: 40px; flex: none; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(145deg, #13386b, #0b1f3a);
    color: #f2cf6b; font-weight: 800; font-size: .95rem; }
.fx-wa__cab b { display: block; font-size: .92rem; }
.fx-wa__cab small { display: flex; align-items: center; gap: .3rem; font-size: .74rem; color: #64748b; }
.fx-wa__cab small::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #f59e0b; }
.fx-wa.is-en-linea .fx-wa__cab small::before { background: #22c55e; }
.fx-wa__msg { margin: 0 0 .75rem; font-size: .86rem; line-height: 1.45; color: #334155; }
.contenido .pt a.fx-wa__ir, .fx-wa__ir { display: flex; align-items: center; justify-content: center; gap: .45rem; padding: .62rem; border-radius: 12px;
    background: #16a34a; color: #fff; font-weight: 700; font-size: .88rem; transition: background .2s; }
.contenido .pt a.fx-wa__ir:hover, .fx-wa__ir:hover { background: #15803d; }
.fx-wa__cerrar { position: absolute; top: .35rem; right: .4rem; width: 28px; height: 28px; border: 0; border-radius: 50%; background: transparent; color: #94a3b8; cursor: pointer; font-size: .85rem; }
.fx-wa__cerrar:hover { background: #f1f5f9; color: #0f172a; }
/* Con el panel de inicio de sesión abierto, el WhatsApp se aparta */
.pt.login-abierto .fx-wa { opacity: 0; pointer-events: none; }
@media (max-width: 560px) {
    .fx-wa { right: .9rem; bottom: .9rem; }
    .contenido .pt a.fx-wa__boton, .fx-wa__boton { width: 56px; height: 56px; font-size: 1.65rem; }
    .fx-wa__tarjeta { width: min(250px, calc(100vw - 6rem)); }
}

/* ---------- Celular y pantallas chicas: menos efectos ---------- */
@media (max-width: 1020px) {
    .fx-aurora span { filter: blur(50px); }
    .fx-inclina { transform: none !important; }
}

/* ---------- Respeto a «reducir movimiento» ---------- */
@media (prefers-reduced-motion: reduce) {
    .fx-aurora span, .pt-hero::after, .pt-hero h1 em, .pt-telefono, .pt-sellos, .pt-btn--oro::before, .fx-wa__boton, .fx-wa__boton::before, .fx-wa__boton::after,
    .fx-wa.is-en-linea .fx-wa__punto, html.fx-listo .pt-hero__rejilla > div:first-child > *, html.fx-listo .pt-maqueta { animation: none !important; }
    .pt-clientes__logos.fx-carrusel { animation-duration: 120s; }
    html.fx-listo .fx-entra { opacity: 1; transform: none; transition: none; }
    .fx-inclina { transform: none !important; }
}

/* =====================================================================
   FASES 2-4 (16-nov-2026): secciones nuevas, mosaico con filtros y cierre
   ===================================================================== */
.fx-nav-ia { color: var(--pt-oro-2); }

/* ---------- Arranque con IA ---------- */
.fx-ia { position: relative; overflow: hidden; color: #fff;
    background: radial-gradient(700px 400px at 90% 10%, rgba(124, 58, 237, .28), transparent 60%), linear-gradient(160deg, #060f22 0%, #0b1f3a 55%, #10284d 100%); }
.fx-ia .fx-aurora span:nth-child(1) { background: radial-gradient(circle, rgba(167, 139, 250, .45), transparent 65%); }
.fx-ia__rejilla { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 3.5rem; align-items: center; }
.fx-ia__eyebrow { color: #e9d5ff; padding: .35rem .8rem; border-radius: 999px; background: rgba(167, 139, 250, .14); border: 1px solid rgba(196, 181, 253, .3); letter-spacing: .08em; }
.fx-ia h2 { font-size: clamp(1.9rem, 3.8vw, 2.9rem); line-height: 1.1; font-weight: 800; margin: .4rem 0 1rem; color: #fff; }
.fx-ia h2 em { font-style: normal; background: linear-gradient(100deg, #c4b5fd, #f2cf6b 60%, #fff3c4); -webkit-background-clip: text; background-clip: text; color: transparent; }
.fx-ia__texto > p { color: rgba(255, 255, 255, .78); font-size: 1.08rem; margin: 0 0 1.4rem; max-width: 34rem; }
.fx-ia__lista { list-style: none; margin: 0 0 1.8rem; padding: 0; display: grid; gap: .6rem; }
.fx-ia__lista li { display: flex; gap: .6rem; color: rgba(255, 255, 255, .9); }
.fx-ia__lista i { color: #c4b5fd; font-size: 1.1rem; }
.fx-ia__demo { position: relative; border-radius: 20px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14);
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: 0 40px 90px rgba(0, 0, 0, .45), inset 0 1px 0 rgba(255, 255, 255, .1); overflow: hidden; }
.fx-ia__demo::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none;
    background: conic-gradient(from var(--fx-ang, 0deg), transparent 0 70%, #c4b5fd 80%, #f2cf6b 88%, transparent 96%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: fx-giro 6s linear infinite; }
@property --fx-ang { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes fx-giro { to { --fx-ang: 360deg; } }
.fx-ia__barra { display: flex; align-items: center; gap: .4rem; padding: .75rem 1rem; border-bottom: 1px solid rgba(255, 255, 255, .1); font-size: .8rem; }
.fx-ia__barra > span { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .2); }
.fx-ia__barra b { margin-left: .6rem; font-weight: 700; color: rgba(255, 255, 255, .85); }
.fx-ia__barra b i { color: #c4b5fd; }
.fx-ia__pasos { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; margin: 0; padding: .9rem 1rem .3rem; }
.fx-ia__pasos li { padding: .25rem .65rem; border-radius: 999px; font-size: .74rem; font-weight: 700; color: rgba(255, 255, 255, .55);
    background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); transition: all .4s; }
.fx-ia__pasos li.is-hecho { color: #0b1f3a; background: linear-gradient(135deg, #f6dc8b, #c9a23a); border-color: transparent; }
.fx-ia__pasos li.is-hecho::before { content: "✓ "; }
.fx-ia__salida { display: grid; gap: .8rem; padding: .9rem 1rem 1rem; min-height: 300px; align-content: start; }
.fx-ia__bloque small { display: block; font-size: .68rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #c4b5fd; margin-bottom: .2rem; }
.fx-ia__bloque p { margin: 0; font-size: .92rem; line-height: 1.5; color: rgba(255, 255, 255, .9); }
.fx-ia__bloque { transition: opacity .4s; }
.fx-ia__bloque.is-espera { opacity: .2; }
.fx-cursor { display: inline-block; width: 2px; height: 1.05em; margin-left: 2px; vertical-align: -2px; background: #f2cf6b; animation: fx-parpadeo .8s steps(1) infinite; }
@keyframes fx-parpadeo { 50% { opacity: 0; } }
.fx-ia__pie { display: flex; justify-content: space-between; align-items: center; padding: .8rem 1rem; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .82rem; }
.fx-ia__estado { color: #86efac; font-weight: 700; transition: color .4s; } .fx-ia__tiempo { color: rgba(255, 255, 255, .55); font-variant-numeric: tabular-nums; }
.fx-ia__demo.is-trabajando .fx-ia__estado { color: rgba(255, 255, 255, .55); }

/* ---------- Implementación rápida: ruta crítica ---------- */
.fx-ruta { position: relative; margin: 0 auto 3rem; max-width: 1040px; padding: 2rem 1.5rem 1.4rem; border-radius: 22px; background: #fff; border: 1px solid var(--pt-borde); box-shadow: var(--pt-sombra); }
.fx-ruta__linea { position: absolute; left: calc(1.5rem + 8.33%); right: calc(1.5rem + 8.33%); top: calc(2rem + 21px); height: 4px; border-radius: 4px; background: #e8edf5; }
.fx-ruta__linea span { position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(90deg, var(--pt-azul), #16a34a 70%, var(--pt-oro-2)); transform-origin: left; transform: scaleX(1); }
html.fx-listo .fx-ruta .fx-ruta__linea span { transform: scaleX(0); transition: transform 2.4s cubic-bezier(.4, 0, .2, 1) .2s; }
html.fx-listo .fx-ruta.fx-visible .fx-ruta__linea span { transform: scaleX(1); }
.fx-ruta ol { position: relative; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: .5rem; text-align: center; }
.fx-ruta li { display: grid; justify-items: center; gap: .25rem; }
.fx-ruta__punto { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: #fff; background: var(--pt-marino);
    border: 4px solid #fff; box-shadow: 0 6px 16px rgba(15, 23, 42, .18); margin-bottom: .3rem; }
.fx-ruta li:last-child .fx-ruta__punto { background: linear-gradient(135deg, #f6dc8b, #c9a23a); color: #1b1405; font-size: 1.1rem; }
html.fx-listo .fx-ruta .fx-ruta__punto { transform: scale(.4); opacity: 0; transition: transform .5s cubic-bezier(.2, .9, .3, 1.6), opacity .3s; transition-delay: calc(.3s + var(--fx-h) * .38s); }
html.fx-listo .fx-ruta.fx-visible .fx-ruta__punto { transform: none; opacity: 1; }
.fx-ruta b { font-size: .92rem; } .fx-ruta small { color: var(--pt-tenue); font-size: .78rem; }
.fx-ruta__semaforo { display: flex; align-items: center; justify-content: center; gap: .5rem; margin: 1.4rem 0 0; font-size: .86rem; font-weight: 700; color: #15803d; }
.fx-ruta__semaforo span { width: 10px; height: 10px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 0 rgba(34, 197, 94, .6); animation: fx-wa-latido 2s infinite; }
.fx-rapida { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.fx-rapida__item { padding: 1.4rem; border-radius: var(--pt-radio); background: #fff; border: 1px solid var(--pt-borde); transition: transform .3s cubic-bezier(.2, .9, .3, 1), box-shadow .3s; }
.fx-rapida__item:hover { transform: translateY(-5px); box-shadow: 0 2px 4px rgba(15, 23, 42, .05), 0 24px 48px rgba(15, 23, 42, .12); }
.fx-rapida__item i { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; font-size: 1.25rem; margin-bottom: .9rem; color: var(--pt-marino);
    background: linear-gradient(135deg, #fdf3d3, #f6dc8b); }
.fx-rapida__item h3 { font-size: 1.02rem; font-weight: 800; margin: 0 0 .35rem; }
.fx-rapida__item p { margin: 0; color: var(--pt-tenue); font-size: .9rem; }

/* ---------- App Conecta con avisos ---------- */
.fx-app__rejilla { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 4rem; align-items: center; }
.fx-app h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); line-height: 1.12; font-weight: 800; margin: 0 0 .9rem; }
.fx-app__sub { color: var(--pt-tenue); font-size: 1.06rem; margin: 0 0 1.6rem; }
.fx-app__lista { list-style: none; margin: 0 0 1.8rem; padding: 0; display: grid; gap: 1rem; }
.fx-app__lista li { display: flex; gap: .9rem; align-items: flex-start; }
.fx-app__lista li > i { width: 42px; height: 42px; flex: none; border-radius: 13px; display: grid; place-items: center; color: #fff; font-size: 1.05rem;
    background: linear-gradient(135deg, var(--pt-marino), var(--pt-azul)); box-shadow: 0 8px 18px rgba(30, 90, 168, .25); }
.fx-app__lista b { display: block; font-size: 1rem; } .fx-app__lista span { color: var(--pt-tenue); font-size: .92rem; }
.fx-app__ios { margin: 1rem 0 0; font-size: .85rem; color: var(--pt-tenue); }
.fx-app__visual { position: relative; display: grid; place-items: center; min-height: 560px; }
.fx-app__halo { position: absolute; width: 440px; height: 440px; border-radius: 50%; background: radial-gradient(circle, rgba(30, 90, 168, .22), rgba(227, 196, 99, .14) 45%, transparent 70%);
    animation: fx-halo 6s ease-in-out infinite; }
@keyframes fx-halo { 50% { transform: scale(1.08); opacity: .8; } }
.pt .fx-app__tel { position: relative; right: auto; bottom: auto; width: 270px; min-width: 0; }
.fx-push { position: absolute; left: -14%; right: -14%; top: 14%; height: 86px; }
.fx-push__aviso { position: absolute; inset: 0; display: flex; gap: .7rem; align-items: center; padding: .75rem .85rem; border-radius: 18px;
    background: rgba(255, 255, 255, .9); backdrop-filter: blur(14px) saturate(160%); -webkit-backdrop-filter: blur(14px) saturate(160%);
    box-shadow: 0 18px 40px rgba(15, 23, 42, .28); border: 1px solid rgba(255, 255, 255, .7); color: var(--pt-tinta);
    opacity: 0; transform: translateY(-24px) scale(.95); transition: opacity .5s, transform .6s cubic-bezier(.2, .9, .3, 1.3); }
.fx-push__aviso.is-on { opacity: 1; transform: none; }
.fx-push__ico { width: 40px; height: 40px; flex: none; border-radius: 11px; display: grid; place-items: center; color: #f2cf6b; background: var(--pt-marino); font-size: 1.05rem; }
.fx-push__aviso small { display: block; font-size: .68rem; color: var(--pt-tenue); text-transform: uppercase; letter-spacing: .06em; font-weight: 700; }
.fx-push__aviso b { display: block; font-size: .9rem; line-height: 1.25; }
.fx-push__aviso span { display: block; font-size: .8rem; color: #475569; line-height: 1.3; }

/* ---------- Mosaico de módulos con filtros ---------- */
.fx-filtros { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin: 0 0 1.8rem; }
.fx-filtros button { display: inline-flex; align-items: center; gap: .45rem; padding: .55rem 1rem; border-radius: 999px; border: 1px solid var(--pt-borde); background: #fff;
    font: inherit; font-size: .9rem; font-weight: 700; color: #334155; cursor: pointer; transition: all .2s; }
.fx-filtros button span { font-size: .74rem; padding: .05rem .45rem; border-radius: 999px; background: var(--pt-fondo); color: var(--pt-tenue); }
.fx-filtros button:hover { border-color: var(--pt-marino); }
.fx-filtros button.is-on { background: var(--pt-marino); color: #fff; border-color: var(--pt-marino); box-shadow: 0 8px 20px rgba(11, 31, 58, .25); }
.fx-filtros button.is-on span { background: rgba(255, 255, 255, .15); color: #fff; }
.pt-modulo.fx-oculto { display: none; }
.pt-modulo.fx-filtrado { animation: fx-aparece-mod .45s cubic-bezier(.2, .9, .3, 1) both; animation-delay: calc(var(--fx-i, 0) * 35ms); }
@keyframes fx-aparece-mod { from { opacity: 0; transform: translateY(14px) scale(.97); } }
.pt-modulo--destacado:first-child { background: linear-gradient(150deg, #1e1145, #0b1f3a 55%, #13386b); }

/* ---------- Cierre ---------- */
.fx-cierre { position: relative; overflow: hidden; }
.fx-cierre .pt-ancho { position: relative; z-index: 1; }
.fx-cierre__logo { width: 64px; height: 64px; margin: 0 auto 1.4rem; padding: 10px; border-radius: 18px; background: #fff; box-shadow: 0 16px 40px rgba(0, 0, 0, .35); }
.fx-cierre h2 em { font-style: normal; color: #f2cf6b; }
.fx-cierre__sellos { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin: 0 auto 2rem; padding: 0; }
.fx-cierre__sellos li { padding: .4rem .85rem; border-radius: 999px; font-size: .84rem; font-weight: 600; color: rgba(255, 255, 255, .88);
    background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); }
.fx-cierre__sellos i { color: #f2cf6b; margin-right: .3rem; }

@media (max-width: 1020px) {
    .fx-ia__rejilla, .fx-app__rejilla { grid-template-columns: 1fr; gap: 2.5rem; }
    .fx-app__visual { min-height: 480px; order: 2; }
    .fx-rapida { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
    .fx-ruta { padding: 1.4rem 1rem; }
    .fx-ruta ol { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 1.4rem; }
    .fx-ruta b { font-size: .8rem; line-height: 1.25; overflow-wrap: anywhere; } .fx-ruta small { font-size: .72rem; }
    .fx-ruta__linea { display: none; }
    .fx-rapida { grid-template-columns: 1fr; }
    .pt .fx-app__tel { width: 230px; }
    .fx-push { left: -10%; right: -10%; }
    .fx-ia__salida { min-height: 0; }
}
@media (max-width: 420px) {
    .fx-ruta ol { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
    .fx-ia__demo::before, .fx-app__halo, .fx-ruta__semaforo span, .fx-cursor, .pt-modulo.fx-filtrado { animation: none !important; }
    html.fx-listo .fx-ruta .fx-ruta__linea span, html.fx-listo .fx-ruta .fx-ruta__punto { transform: none; opacity: 1; transition: none; }
}
