/* AXELIA · /inteligencia-artificial-aplicada/ — «Del dato a la decisión».
   One decision (how many reels of one cable to buy next week) carried from a tidy table to a proposal inside the ERP.
   Everything pinned or animated is under .mov (motion on). Without it the page reads complete and in order:
   the table is whole, the chart shows its final state with the ERP card under it, the four feeds of «No antes» are all drawn. */

/* the top bar takes this page's wider column, so its name lines up with the page's text */
.barra.ancho { padding-inline: max(22px, calc((100% - 1240px) / 2)); }
.ia-vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* a step-driven element: it appears at --t (in steps) and may leave at --o. --g is set on each pinned stage. */
.mov .ev { opacity: calc(clamp(0, calc((var(--g, 9) - var(--t, -9)) / var(--d, .2)), 1) * (1 - clamp(0, calc((var(--g, 9) - var(--o, 99)) / var(--e, .2)), 1))); }
.mov .seg { transform: scale(clamp(0, calc((var(--g, 9) - var(--t, -9)) / var(--d, .2)), 1)); }
#pagina:not(.mov) :is(.dup, .tmp) { display: none; }

/* =============================================================== 1. hero: the headline and a table with presence */
.ia-cab { position: relative; }
#ia-hero { position: relative; z-index: 1; box-sizing: border-box; background: var(--hero); color: var(--hero-ink); padding: clamp(96px, 13vh, 124px) max(22px, calc((100% - 1240px) / 2)) clamp(36px, 6vh, 60px); overflow: hidden; }
.mov .ia-cab { height: 200vh; height: 200svh; }
.mov #ia-hero { position: sticky; top: 0; height: 100vh; height: 100svh; display: grid; align-content: center; padding-block: clamp(76px, 10vh, 96px) clamp(22px, 4vh, 40px); }
.mov .ia-etapa { margin-top: -100vh; margin-top: -100svh; }       /* the black stage rises over the pinned hero */
.ia-hero-dentro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 520px); column-gap: clamp(32px, 4.4vw, 64px); align-items: center; }
.mov .ia-hero-dentro { --cubre: clamp(0, calc((var(--a, 0) - .3333) * 3), 1); transform-origin: 50% 40%; transform: scale(calc(1 - var(--cubre) * .05)); opacity: calc(1 - var(--cubre) * .6); }
.ia-ceja { margin-bottom: 14px; font-weight: 600; font-size: clamp(17px, 1.5vw, 21px); line-height: 1.19; letter-spacing: .011em; color: var(--hero-gris); }
.ia-hero h1 { max-width: 9.6em; font-weight: 700; font-size: clamp(2.3rem, min(4.8vw, 8.6vh), 4.8rem); line-height: 1.03; letter-spacing: -.036em; text-wrap: balance; }
.ia-sub { margin-top: clamp(14px, 2.6vh, 26px); max-width: 25em; font-weight: 600; font-size: clamp(1.1rem, min(1.55vw, 2.7vh), 1.45rem); line-height: 1.22; letter-spacing: -.01em; color: var(--hero-gris); text-wrap: balance; }
.ia-sub b { font-weight: 600; color: var(--hero-ink); }
.ia-hero .acciones { justify-content: flex-start; margin-top: clamp(14px, 2.6vh, 24px); }
.ia-hero .pildora { background: var(--boton); color: var(--boton-ink); }
.ia-aval { margin-top: clamp(8px, 2vh, 18px); max-width: 32em; }

.ia-libro { margin: 0; display: grid; gap: 10px; }
.ia-libro figcaption { font-size: 12px; line-height: 1.3; color: var(--hero-gris); }
.ia-hoja { --rh: clamp(21px, 4.1vh, 35px); position: relative; border-radius: 14px; background: #FFFFFF; padding: clamp(14px, 2.2vh, 22px) clamp(16px, 2vw, 26px) 6px; box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04), 0 34px 60px -32px rgba(0, 0, 0, 0.34), 0 10px 22px -14px rgba(0, 0, 0, 0.14), inset 0 0 0 1px rgba(0, 0, 0, 0.05); }
.ia-hh { display: flex; align-items: baseline; justify-content: space-between; gap: 6px 14px; flex-wrap: wrap; }
.ia-hp { display: flex; align-items: baseline; gap: 10px; min-width: 0; }
.ia-cod { flex: none; padding: 2px 8px; border-radius: 6px; background: #1D1D1F; color: #FFFFFF; font-family: var(--f-mono); font-size: 12.5px; letter-spacing: -.01em; }
.ia-hp b { font-weight: 600; font-size: clamp(14px, 1.1vw, 16px); letter-spacing: -.012em; }
.ia-hq { font-size: 12px; color: #86868B; white-space: nowrap; }
.ia-spark { display: block; width: 100%; height: auto; max-height: clamp(38px, 7.4vh, 58px); margin: clamp(6px, 1.4vh, 12px) 0 clamp(2px, .8vh, 8px); overflow: visible; }
.ia-spark .sp-a { fill: color-mix(in srgb, #1D1D1F 5%, transparent); stroke: none; }
.ia-spark .sp-l { fill: none; stroke: #1D1D1F; stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; }
.ia-spark .sp-p { fill: #86868B; }
.ia-spark .sp-pr { fill: var(--acento); }
.ia-spark .sp-v { stroke: var(--acento); stroke-width: 1; opacity: .5; transform: translateX(var(--mx, 0px)); transition: transform .3s var(--ease); }
.ia-spark .sp-c { fill: var(--acento); stroke: #FFFFFF; stroke-width: 2.4; transform: translate(var(--mx, 0px), var(--my, 0px)); transition: transform .3s var(--ease); }

.ia-tabla { width: 100%; table-layout: fixed; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.ia-tabla :is(th, td) { box-sizing: border-box; padding: 0; text-align: left; font-weight: 500; vertical-align: middle; }
.ia-tabla thead th { height: clamp(26px, 4vh, 32px); font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #86868B; border-bottom: 1px solid #D2D2D7; white-space: nowrap; }
.ia-tabla thead th:first-child, .ia-tabla tbody th { width: 27%; }
.ia-tabla .n { text-align: right; font-family: var(--f-mono); }
.ia-tabla thead .n { padding-right: 0; }
.ia-tabla .st { padding-right: 4px; color: #6E6E73; font-size: 13px; }
.ia-tabla .pr { width: 21%; text-align: right; }
.ia-tabla tbody tr { height: var(--rh); border-top: 1px solid #EEEEF1; transition: background-color .25s var(--ease); }
.ia-tabla tbody tr:first-child { border-top: 0; }
.ia-tabla tbody th b { font-family: var(--f-mono); font-weight: 500; font-size: 13.5px; letter-spacing: -.02em; color: #1D1D1F; }
.ia-tabla tbody th span { margin-left: 8px; font-family: var(--f-mono); font-size: 11.5px; font-weight: 400; color: #86868B; }
.ia-tabla td.u { position: relative; padding-right: 10px; }
.ia-tabla td.u > b { position: relative; font-weight: 600; font-size: 14px; letter-spacing: -.02em; transition: color .25s var(--ease); }
.ia-bb { position: absolute; left: 4px; top: 50%; width: 46%; height: 7px; margin-top: -3.5px; border-radius: 2px; background: #DADADF; transform: scaleX(var(--w, 1)); transform-origin: 0 50%; transition: background-color .25s var(--ease); }
.ia-rp .ia-bb { background: color-mix(in srgb, var(--acento) 55%, #DADADF); }
.ia-tabla em { display: inline-block; padding: 1px 8px; border-radius: 10px; border: 1px solid color-mix(in srgb, var(--acento) 55%, transparent); font-style: normal; font-size: 11px; font-weight: 600; letter-spacing: .01em; color: var(--acento); }
.ia-tabla tfoot th, .ia-tabla tfoot td { padding-top: clamp(6px, 1.4vh, 12px); padding-bottom: clamp(8px, 1.6vh, 14px); border-top: 1px solid #1D1D1F; }
.ia-tabla tfoot th { font-size: 13.5px; font-weight: 600; letter-spacing: -.01em; }
.ia-tabla tfoot td.u > b { font-size: clamp(1.1rem, 1.5vw, 1.3rem); letter-spacing: -.04em; }
.ia-fm { padding-left: 14px !important; font-size: 12.5px; color: #6E6E73; }
.ia-fm b { font-family: var(--f-mono); font-weight: 600; color: #1D1D1F; }
@media (hover: hover) {
  .ia-tabla tbody tr:hover { background: color-mix(in srgb, var(--acento) 7%, transparent); }
}
.ia-tabla tbody tr.on { background: color-mix(in srgb, var(--acento) 7%, transparent); }
.ia-tabla tbody tr.on td.u > b { color: var(--acento); }
.ia-tabla tbody tr.on .ia-bb { background: var(--acento); }
.ia-tabla tbody tr:focus-visible { outline: 2px solid var(--acento); outline-offset: -2px; border-radius: 6px; }
/* it arrives as it is read: the rows fall into place one after another */
@keyframes ia-fila { from { opacity: 0; transform: translateY(8px); } }
@keyframes ia-vela { from { opacity: 0; } }
.mov .ia-r { animation: ia-fila .6s var(--ease) both; animation-delay: calc(.3s + var(--i, 0) * 70ms); }
.mov .ia-spark :is(.sp-a, .sp-l, .sp-p) { animation: ia-vela .9s var(--ease) .5s both; }

/* =============================================================== 2. the stage: a chart, drawn step by step, in black */
#ia-etapa { z-index: 2; background: var(--oscuro); }
.ia-etapa .fijo { background: var(--oscuro); color: var(--oscuro-ink); padding: clamp(84px, 11vh, 108px) max(22px, calc((100% - 1240px) / 2)) clamp(56px, 9vh, 96px); display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; grid-template-areas: "cab" "lienzo" "pasos"; }
.ia-cab-t { grid-area: cab; }
.ia-lienzo { grid-area: lienzo; }
.ia-pasos { grid-area: pasos; }
.ia-eti { font-weight: 600; font-size: 17px; line-height: 1.19; color: var(--acento-oscuro); }
.ia-h2 { margin-top: 6px; font-weight: 700; font-size: clamp(1.8rem, min(2.8vw, 4.7vh), 2.6rem); line-height: 1.08; letter-spacing: -.03em; text-wrap: balance; }
.ia-prod { margin-top: 12px; font-size: 14px; color: var(--oscuro-gris); }
.ia-prod b { margin-right: 8px; font-family: var(--f-mono); font-weight: 500; color: var(--oscuro-ink); }
.ia-ley { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: 13px; color: var(--oscuro-gris); }
.ia-ley li { display: flex; align-items: center; gap: 8px; }
.ia-ley svg { width: 30px; height: 12px; overflow: visible; }
.ia-ley .l-v { stroke: var(--oscuro-ink); stroke-width: 2; fill: none; }
.ia-ley .l-vp { fill: var(--oscuro); stroke: var(--oscuro-ink); stroke-width: 1.6; }
.ia-ley .l-mb { fill: color-mix(in srgb, var(--acento-oscuro) 22%, transparent); }
.ia-ley .l-m { stroke: var(--acento-oscuro); stroke-width: 2.2; fill: none; }
.ia-ley .l-o { stroke: color-mix(in srgb, var(--oscuro-ink) 55%, transparent); stroke-width: 1.5; stroke-dasharray: 4 3; fill: none; }
.ia-ley .l-op { fill: var(--oscuro); stroke: color-mix(in srgb, var(--oscuro-ink) 65%, transparent); stroke-width: 1.4; }
.ia-plano { position: relative; width: 100%; max-width: 1240px; margin-inline: auto; }
.ia-nota { margin-top: 10px; font-size: 12px; color: var(--oscuro-gris); }

.ia-svg { display: block; width: 100%; height: auto; overflow: visible; --ink: var(--oscuro-ink); --gr: var(--oscuro-gris); --ac: var(--acento-oscuro); }
.ia-svg text { font-family: var(--f); letter-spacing: -.005em; }
.ia-svg :is(path, polygon, rect, circle) { fill: none; }
.ia-mv, .ia-pn-w { display: none; }
.c-gh, .c-gv, .c-rs, .c-tk, .c-st { stroke-width: 1; }
.c-gh { stroke: color-mix(in srgb, var(--ink) 11%, transparent); }
.c-g0 { stroke: color-mix(in srgb, var(--ink) 40%, transparent); }
.c-gv { stroke: color-mix(in srgb, var(--ink) 5%, transparent); }
.c-tk { stroke: color-mix(in srgb, var(--ink) 40%, transparent); }
.c-rs { stroke: color-mix(in srgb, var(--ink) 14%, transparent); }
.c-yl, .c-xd, .c-yt, .c-n, .c-qs, .c-qm, .c-fs, .c-br text, .c-vda, .c-vdm { font-family: var(--f-mono) !important; }
.c-yl, .c-xd, .c-yt { font-size: 12px; fill: var(--gr); }
.c-xl { font-family: var(--f-mono) !important; font-size: 13px; font-weight: 500; fill: var(--ink); }
.c-xd { font-size: 11px; }
.c-rl { font-size: 12px; fill: var(--gr); }
.c-n { font-size: 14px; fill: var(--ink); }
.c-n2 { fill: var(--gr); }
.c-ea { fill: var(--gr); }
.c-em { fill: var(--ac); font-weight: 600; }
.c-q rect { fill: color-mix(in srgb, var(--ac) 7%, transparent); stroke: color-mix(in srgb, var(--ac) 55%, transparent); stroke-width: 1.2; stroke-dasharray: 5 5; }
.c-qs { font-size: 13px; fill: var(--ac); }
.c-qq { font-size: 70px; font-weight: 600; fill: var(--ac); }
.c-qm { font-size: 13px; letter-spacing: .08em !important; fill: var(--ac); }
.c-qh { font-size: 54px; font-weight: 700; letter-spacing: -.034em !important; fill: var(--ink); }
.c-qa { stroke: var(--ac); stroke-width: 1.5; stroke-dasharray: 4 5; }
.c-qf { fill: var(--ac) !important; }
.c-qn { font-size: 13px; fill: var(--gr); }
.c-st { stroke: color-mix(in srgb, var(--ink) 17%, transparent); }
.c-sg { stroke: var(--ink); stroke-width: 2.4; stroke-linecap: round; }
.c-pt { fill: var(--oscuro) !important; stroke: var(--ink); stroke-width: 2; }
.c-pr { stroke: var(--ac); stroke-width: 1.5; }
.c-prt { font-size: 11.5px; font-weight: 600; fill: var(--ac); }
.c-sh { fill: color-mix(in srgb, var(--ink) 4.5%, transparent) !important; }
.c-br path { stroke: color-mix(in srgb, var(--ink) 42%, transparent); stroke-width: 1.2; }
.c-br text { font-size: 12px; fill: var(--gr); }
.c-md { fill: color-mix(in srgb, var(--ac) 17%, transparent) !important; }
.c-ml { stroke: var(--ac); stroke-width: 2.6; stroke-linecap: round; }
.c-mp { fill: var(--ac) !important; }
.c-ol { stroke: color-mix(in srgb, var(--ink) 58%, transparent); stroke-width: 1.6; stroke-dasharray: 5 5; }
.c-op { fill: var(--oscuro) !important; stroke: color-mix(in srgb, var(--ink) 66%, transparent); stroke-width: 1.6; }
.c-eo { stroke: color-mix(in srgb, var(--ink) 52%, transparent); stroke-width: 2; }
.c-es { stroke: var(--ac); stroke-width: 2; }
.c-fw { stroke: var(--ac); stroke-width: 2; }
.c-fp { fill: var(--ac) !important; stroke: var(--oscuro); stroke-width: 2.4; }
.c-ft { font-family: var(--f-mono) !important; font-size: 24px; font-weight: 600; fill: var(--ac); letter-spacing: -.03em !important; }
.c-fs { font-size: 12.5px; fill: var(--gr); }
.c-fl { stroke: var(--ac); stroke-width: 1.4; stroke-dasharray: 3 4; }
.c-fd { fill: var(--ac) !important; }
.c-pl { stroke: color-mix(in srgb, var(--ac) 70%, transparent); stroke-width: 1.2; }
.c-plt { font-size: 11px; font-weight: 600; fill: var(--ac); }
.c-vdb { fill: var(--oscuro) !important; stroke: color-mix(in srgb, var(--ink) 24%, transparent); stroke-width: 1.2; }
.c-vdl { font-size: 12px; fill: var(--gr); }
.c-vda, .c-vdm { font-size: 42px; font-weight: 600; letter-spacing: -.05em !important; fill: var(--ink); }
.c-vdm, .c-vdo { fill: var(--ac) !important; }
.c-vds { stroke: color-mix(in srgb, var(--ink) 20%, transparent); }
.c-vdn { font-size: 12.5px; fill: var(--ink); }

/* the ERP card: a real window, light, so it reads as the screen where people work */
.ia-cardw { margin-top: 18px; width: min(100%, 370px); }
.ia-card { --ac: var(--acento); }
.ia-card :is(path, rect, circle) { fill: none; }
.ia-card text { font-family: var(--f); }
.k-win { fill: #F5F5F7 !important; }
.k-bar { fill: #E4E4E9 !important; }
.k-dot { fill: #C7C7CD !important; }
.k-bc { fill: #6E6E73; font-size: 12.5px; font-weight: 500; }
.k-mo { fill: #86868B; font-family: var(--f-mono) !important; font-size: 12px; }
.k-pe { stroke: var(--acento); stroke-width: 1.2; }
.k-pe2 { fill: color-mix(in srgb, var(--acento) 14%, #F5F5F7) !important; }
.k-pet { fill: var(--acento); font-size: 12px; font-weight: 600; }
.k-pr { fill: #1D1D1F; font-size: 13.5px; font-weight: 500; }
.k-cod { font-family: var(--f-mono); font-weight: 700; }
.k-ln { stroke: #D2D2D7; stroke-width: 1; }
.k-ln2 { stroke: #1D1D1F; }
.k-l { fill: #6E6E73; font-size: 13.5px; }
.k-lb { fill: #1D1D1F; font-weight: 600; }
.k-v { fill: #1D1D1F; font-family: var(--f-mono) !important; font-size: 16px; font-weight: 600; letter-spacing: -.02em; }
.k-s { fill: #86868B; font-size: 12px; }
.k-big { fill: #1D1D1F; font-family: var(--f-mono) !important; font-size: 48px; font-weight: 600; letter-spacing: -.05em; }
.k-u { font-size: 18px; fill: #6E6E73; font-weight: 500; letter-spacing: 0; }
.k-sub { fill: var(--acento) !important; }
.k-b1 { fill: #1D1D1F !important; }
.k-b1t { fill: #FFFFFF; font-size: 15px; font-weight: 600; }
.k-b2 { stroke: #1D1D1F; stroke-width: 1.4; }
.k-b2t { fill: #1D1D1F; font-size: 15px; font-weight: 600; }
.k-ok { fill: color-mix(in srgb, var(--acento) 12%, #F5F5F7) !important; stroke: var(--acento); stroke-width: 1.2; }
.k-okv { stroke: var(--acento); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.k-okt { fill: #1D1D1F; font-size: 15px; font-weight: 600; }
.k-ft { fill: #86868B; font-size: 12px; }
#pagina:not(.mov) .k-acep { display: none; }

/* the step texts: all four listed without motion */
.ia-pasos { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 24px; }
.ia-pt { padding-top: 16px; border-top: 1px solid var(--oscuro-linea); }
.ia-pt small { display: block; font-size: 14px; font-weight: 600; color: var(--acento-oscuro); }
.ia-pt h3 { margin-top: 6px; font-weight: 700; font-size: 1.3rem; line-height: 1.12; letter-spacing: -.02em; }
.ia-pt p { margin-top: 8px; font-size: 15px; line-height: 1.35; color: var(--oscuro-gris); }
.ia-pt .ia-reg { font-family: var(--f-mono); font-size: 12.5px; line-height: 1.4; color: color-mix(in srgb, var(--oscuro-ink) 70%, transparent); }
.ia-pt .ia-reg span { display: block; margin-bottom: 2px; color: var(--oscuro-gris); }

/* ---------- motion on ---------- */
.mov #ia-etapa { --g: calc(var(--s, 1) * 4); --pan: clamp(0, calc((var(--g) - 2.7) / .6), 1); --acep: clamp(0, calc((var(--g) - 3.62) / .2), 1); }
.mov #ia-etapa .fijo { grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto minmax(0, 1fr); grid-template-areas: "pasos cab" "lienzo lienzo"; column-gap: clamp(24px, 3vw, 48px); row-gap: clamp(6px, 1.4vh, 14px); align-content: start;
  padding: clamp(74px, 10vh, 90px) max(22px, calc((100% - 1240px) / 2)) 96px; border-radius: calc((1 - var(--entra, 1)) * 36px) calc((1 - var(--entra, 1)) * 36px) 0 0;
  transform-origin: 50% 100%; transform: translateY(calc(var(--sale, 0) * 100vh)) scale(calc(1 - var(--sale, 0) * .05)); opacity: calc(1 - var(--sale, 0) * .6); will-change: transform; }
.mov .ia-cab-t { display: grid; justify-items: end; align-content: start; text-align: right; max-width: 22.5rem; }
.mov .ia-h2 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.mov .ia-prod { margin-top: 4px; }
.mov .ia-ley { flex-direction: column; align-items: flex-end; gap: 4px; margin-top: 8px; }
.mov .ia-ley li { flex-direction: row-reverse; }
.mov .ia-lienzo { display: grid; align-items: center; min-height: 0; }
.mov .ia-plano { width: min(100%, calc((100vh - 330px) * 2.562)); width: min(100%, calc((100svh - 330px) * 2.562)); }
.mov .ia-ia { margin: 0; }
.mov .ia-nota { position: absolute; right: 0; bottom: -2px; margin: 0; }
.mov .ia-ia-pan, .mov .ia-pan { transform: translateX(calc(var(--pan) * -320px)); will-change: transform; }
.mov .ia-cardw { position: absolute; left: 70.16%; top: 4.96%; width: 29.84%; margin: 0; translate: calc((1 - clamp(0, calc((var(--g) - 3) / .4), 1)) * 28px) 0; }
.mov .k-pend { opacity: calc(1 - var(--acep)); }
.mov .k-acep { opacity: var(--acep); }
.mov #ia-etapa::before { content: ""; position: absolute; left: 0; right: 0; top: -80px; height: 80px; z-index: 1; pointer-events: none; background: linear-gradient(to top, rgba(0, 0, 0, 0.38), transparent); opacity: clamp(0, min(var(--entra, 1) * 4, (1 - var(--entra, 1)) * 2.4), 1); }

.mov .ia-pasos { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; margin: 0; align-self: start; }
.mov .ia-pt { grid-area: 1 / 1; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 4px clamp(24px, 3.4vw, 56px); align-content: start; padding-top: 0; border-top: 0; opacity: 0; visibility: hidden; translate: 0 14px; pointer-events: none; transition: opacity .45s var(--ease), translate .6s cubic-bezier(.4, 0, .2, 1), visibility .45s; }
.mov .ia-pt small { grid-column: 1 / -1; font-size: 16px; }
.mov .ia-pt h3 { margin-top: 0; font-size: clamp(1.65rem, min(2.5vw, 4.4vh), 2.35rem); line-height: 1.04; letter-spacing: -.03em; text-wrap: balance; }
.mov .ia-pt p { margin-top: 0; max-width: 29em; font-weight: 600; font-size: clamp(1rem, min(1.3vw, 2.4vh), 1.2rem); line-height: 1.26; letter-spacing: -.012em; }
.mov .ia-pt .ia-reg { margin-top: 10px; padding-top: 8px; border-top: 1px solid var(--oscuro-linea); font-weight: 500; font-size: 13px; }
.mov .ia-pt .ia-reg span { display: inline; margin-right: 8px; }
.mov #ia-etapa[data-paso="0"] .ia-pt[data-k="0"], .mov #ia-etapa[data-paso="1"] .ia-pt[data-k="1"], .mov #ia-etapa[data-paso="2"] .ia-pt[data-k="2"], .mov #ia-etapa[data-paso="3"] .ia-pt[data-k="3"] { opacity: 1; visibility: visible; translate: 0 0; pointer-events: auto; }

/* =============================================================== 3. «No antes»: the same model, four feeds, four answers */
#ia-no { z-index: 3; }
#ia-no .fijo { background: var(--alt); color: var(--ink); padding: clamp(84px, 11vh, 108px) max(22px, calc((100% - 1240px) / 2)) clamp(48px, 7vh, 80px); }
.no-dentro { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px clamp(32px, 4vw, 60px); align-items: center; }
.no-cab .titulo { margin-top: 8px; max-width: 8em; font-size: clamp(2.1rem, min(3.7vw, 6.2vh), 3.5rem); }
.no-q { margin-top: clamp(14px, 3vh, 26px); padding-top: 12px; border-top: 1px solid var(--linea); max-width: 22em; }
.no-q span { display: block; font-family: var(--f-mono); font-size: 12px; color: var(--gris); }
.no-q b { display: block; margin-top: 4px; font-weight: 600; font-size: clamp(1.05rem, 1.35vw, 1.25rem); line-height: 1.22; letter-spacing: -.015em; }
.no-pasos { list-style: none; margin: clamp(16px, 3.4vh, 30px) 0 0; padding: 0; display: grid; gap: 22px; }
.no-pt h3 { font-weight: 700; font-size: clamp(1.4rem, 2vw, 1.8rem); line-height: 1.1; letter-spacing: -.025em; }
.no-pt p { margin-top: 8px; max-width: 26em; font-weight: 600; font-size: clamp(1rem, 1.25vw, 1.15rem); line-height: 1.28; letter-spacing: -.012em; color: #6E6E73; }
.no-pt .no-reg { margin-top: 12px; padding-top: 9px; border-top: 1px solid var(--linea); font-family: var(--f-mono); font-weight: 500; font-size: 12.5px; line-height: 1.4; color: #86868B; }
.no-pt .no-reg span { display: block; margin-bottom: 2px; }
.no-nota { margin-top: 16px; font-size: 12px; color: var(--gris); }

.no-hoja { --S: clamp(300px, calc(((100vh - 252px) / 4 - 34px) * 5.09), 560px); --S: clamp(300px, calc(((100svh - 252px) / 4 - 34px) * 5.09), 560px);
  box-sizing: content-box; width: calc(var(--S) + 224px); padding: clamp(14px, 2.4vh, 22px) clamp(18px, 2vw, 28px) clamp(6px, 1.4vh, 12px); border-radius: 20px; background: #FFFFFF;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04), 0 34px 60px -34px rgba(0, 0, 0, 0.3), inset 0 0 0 1px rgba(0, 0, 0, 0.05); font-variant-numeric: tabular-nums; }
.no-sem { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); width: var(--S); margin-bottom: 4px; font-family: var(--f-mono); font-size: 11px; text-align: center; color: var(--gris); }
.no-fila { display: grid; grid-template-columns: var(--S) 200px; grid-template-areas: "et et" "strip res"; column-gap: 24px; row-gap: 2px; padding-block: 8px 6px; border-top: 1px solid var(--linea); }
.no-et { grid-area: et; display: flex; align-items: baseline; gap: 10px; font-size: 14px; }
.no-et small { font-family: var(--f-mono); font-size: 11.5px; color: var(--acento); white-space: nowrap; }
.no-et b { font-weight: 600; letter-spacing: -.012em; }
.no-strip { grid-area: strip; min-width: 0; }
.no-svg { display: block; width: 100%; height: auto; overflow: visible; }
.no-mv { display: none; }
.no-svg text { font-family: var(--f); }
.sb-g { fill: #1D1D1F; }
.sb-o { fill: color-mix(in srgb, var(--acento) 28%, #FFFFFF); stroke: var(--acento); stroke-width: 1.3; stroke-dasharray: 4 3; }
.sb-m { fill: none; stroke: #86868B; stroke-width: 1.3; stroke-dasharray: 4 4; }
.sb-n { font-family: var(--f-mono) !important; font-size: 15px; font-weight: 500; fill: #1D1D1F; text-anchor: middle; }
.sb-nm { fill: #86868B; }
.sb-l { fill: none; stroke: var(--acento); stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; }
.sb-gap { fill: none; stroke: var(--acento); stroke-width: 1.6; stroke-dasharray: 2 5; stroke-linecap: round; }
.sb-q { font-size: 14px; font-weight: 600; fill: var(--acento); }
.sb-br { fill: none; stroke: var(--acento); stroke-width: 1.3; }
.sb-0 { fill: none; stroke: #86868B; stroke-width: 1; }
.sb-w { font-family: var(--f-mono) !important; font-size: 17px; fill: #86868B; }
.no-res { grid-area: res; align-self: end; padding-bottom: 6px; }
.no-pedir { font-weight: 600; font-size: 14px; color: #6E6E73; }
.no-pedir b { margin: 0 2px; font-family: var(--f-mono); font-weight: 600; font-size: clamp(2rem, min(3vw, 5.2vh), 2.9rem); line-height: 1; letter-spacing: -.06em; color: var(--ink); }
.no-cap { margin-top: 4px; font-family: var(--f-mono); font-size: 11.5px; line-height: 1.4; color: #86868B; }
.no-barra { position: relative; margin-top: 20px; height: 7px; border-radius: 2px; background: #EDEDF0; }
.no-barra i { position: absolute; inset: 0 auto 0 0; width: calc(var(--w, 0) * 100%); border-radius: 2px; background: #1D1D1F; }
.no-fila[data-k="3"] .no-barra i { background: var(--acento); }
.no-ref { position: absolute; left: 36.667%; top: -5px; bottom: -5px; width: 1.5px; background: var(--acento); }
.no-ref::after { content: "110"; position: absolute; left: 50%; top: -14px; transform: translateX(-50%); font-family: var(--f-mono); font-size: 10.5px; line-height: 1; color: var(--acento); text-decoration: none; }

/* motion: the stage's own progress (--g) lights the feeds one after another */
.mov #ia-no { --g: calc(var(--s, 1) * 4); }
.mov #ia-no .fijo { display: grid; align-content: center; padding-bottom: 100px; border-radius: calc((1 - var(--entra, 1)) * 32px) calc((1 - var(--entra, 1)) * 32px) 0 0; box-shadow: 0 -30px 60px -30px rgba(0, 0, 0, 0.5); transform: translateY(calc(var(--sale, 0) * 100vh)); }
.mov .no-pasos { display: grid; }
.mov .no-pt { grid-area: 1 / 1; opacity: 0; visibility: hidden; translate: 0 14px; transition: opacity .45s var(--ease), translate .6s cubic-bezier(.4, 0, .2, 1), visibility .45s; }
.mov #ia-no[data-paso="0"] .no-pt[data-k="0"], .mov #ia-no[data-paso="1"] .no-pt[data-k="1"], .mov #ia-no[data-paso="2"] .no-pt[data-k="2"], .mov #ia-no[data-paso="3"] .no-pt[data-k="3"] { opacity: 1; visibility: visible; translate: 0 0; }
.mov .no-fila { opacity: calc(.3 + .7 * clamp(0, calc((var(--g) - var(--k) + .35) / .5), 1)); }
.mov .no-svg .b { transform-box: fill-box; transform-origin: 50% 100%; transform: scaleY(clamp(0, calc((var(--g) - var(--t)) / .12), 1)); }
.mov .no-pedir.ev, .mov .no-cap.ev { translate: 0 calc((1 - clamp(0, calc((var(--g) - var(--t)) / var(--d)), 1)) * 8px); }
.mov .no-ref { opacity: clamp(0, calc((var(--g) - 3.0) / .3), 1); }
.mov .no-fila[data-k="3"] .no-ref { opacity: clamp(0, calc((var(--g) - 3.1) / .3), 1); }

/* =============================================================== 4. three signs it is too early: a black stage, one drawing at a time */
#ia-sin { z-index: 4; }
#ia-sin .fijo { background: var(--oscuro); color: var(--oscuro-ink); padding: clamp(84px, 11vh, 108px) max(22px, calc((100% - 1240px) / 2)) clamp(56px, 9vh, 96px); }
.sin-dentro { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; }
.sin-eti { font-weight: 600; font-size: 17px; line-height: 1.19; color: var(--acento-oscuro); }
.sin-h2 { margin-top: 6px; font-weight: 700; font-size: clamp(1.8rem, min(2.8vw, 4.7vh), 2.6rem); line-height: 1.08; letter-spacing: -.03em; text-wrap: balance; }
.sin-pasos { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 26px; }
.sin-pt small { display: block; font-family: var(--f-mono); font-size: 13px; color: var(--acento-oscuro); }
.sin-pt h3 { margin-top: 6px; font-weight: 700; font-size: clamp(1.6rem, 2.6vw, 2.4rem); line-height: 1.08; letter-spacing: -.03em; text-wrap: balance; }
.sin-pt p { margin-top: 10px; max-width: 24em; font-weight: 600; font-size: 1.1rem; line-height: 1.3; letter-spacing: -.012em; color: var(--oscuro-gris); }
.sin-dib { display: grid; gap: 22px; }
.sin-svg { display: block; width: 100%; height: auto; overflow: visible; --ink: var(--oscuro-ink); --gr: var(--oscuro-gris); --ac: var(--acento-oscuro); }
.sin-svg text { font-family: var(--f); }
.sin-svg :is(path, rect, circle) { fill: none; }
.s-gh { stroke: color-mix(in srgb, var(--ink) 12%, transparent); stroke-width: 1; }
.s-g0 { stroke: color-mix(in srgb, var(--ink) 42%, transparent); }
.s-yl, .s-xl { font-family: var(--f-mono) !important; font-size: 12.5px; fill: var(--gr); }
.s-yt { font-size: 13px; fill: var(--gr); }
.s-bar { fill: var(--ink) !important; }
.s-pole { stroke: color-mix(in srgb, var(--ink) 45%, transparent); stroke-width: 1.4; stroke-dasharray: 3 4; }
.s-flag { fill: color-mix(in srgb, var(--ac) 16%, transparent) !important; stroke: var(--ac); stroke-width: 1.5; stroke-linejoin: round; }
.s-ft { font-size: 14px; font-weight: 600; fill: var(--ac); }
.s-nota { font-size: 15px; font-weight: 600; fill: var(--gr); }
.s-nota2 { fill: var(--ink); }
.s-fn { font-size: 17px; font-weight: 600; fill: var(--ink); }
.s-fs { font-size: 13px; fill: var(--gr); }
.s-fb { fill: color-mix(in srgb, var(--ink) 86%, transparent) !important; }
.s-fv { font-family: var(--f-mono) !important; font-size: 22px; font-weight: 600; fill: var(--ink); letter-spacing: -.03em; }
.s-sep { stroke: color-mix(in srgb, var(--ink) 22%, transparent); stroke-width: 1; }
.s-fq { stroke: var(--ac); stroke-width: 1.5; stroke-dasharray: 5 5; }
.s-qv { font-size: 16px; font-weight: 600; fill: var(--ac); }
.s-hoja { fill: color-mix(in srgb, var(--ink) 6%, var(--oscuro)) !important; stroke: color-mix(in srgb, var(--ink) 26%, transparent); stroke-width: 1.2; }
.s-ht { font-size: 22px; font-weight: 700; fill: var(--ink); letter-spacing: -.02em; }
.s-hm { font-family: var(--f-mono) !important; font-size: 13px; fill: var(--gr); }
.s-cl { font-size: 15px; font-weight: 600; fill: var(--ink); }
.s-cu { stroke: color-mix(in srgb, var(--ink) 40%, transparent); stroke-width: 1.2; stroke-dasharray: 2 5; stroke-linecap: round; }
.s-cq { font-size: 22px; font-weight: 600; fill: var(--ac); }
.s-sello { stroke: var(--ac); stroke-width: 1.8; }
.s-selt { font-size: 12.5px; font-weight: 700; letter-spacing: .08em !important; fill: var(--ac); }

.mov #ia-sin { --g: calc(var(--s, 1) * 3); }
.mov #ia-sin .fijo { display: grid; align-content: center; padding-bottom: 100px; border-radius: calc((1 - var(--entra, 1)) * 36px) calc((1 - var(--entra, 1)) * 36px) 0 0;
  transform-origin: 50% 100%; transform: translateY(calc(var(--sale, 0) * 100vh)) scale(calc(1 - var(--sale, 0) * .05)); opacity: calc(1 - var(--sale, 0) * .6); will-change: transform; }
.mov .sin-dentro { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.mov .sin-h2 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.mov .sin-pasos { display: grid; margin-top: 18px; }
.mov .sin-pt { grid-area: 1 / 1; opacity: 0; visibility: hidden; translate: 0 14px; transition: opacity .45s var(--ease), translate .6s cubic-bezier(.4, 0, .2, 1), visibility .45s; }
.mov .sin-pt h3 { font-size: clamp(1.9rem, min(3.1vw, 5.4vh), 3rem); line-height: 1.05; }
.mov .sin-pt p { font-size: clamp(1.05rem, 1.4vw, 1.25rem); }
.mov #ia-sin[data-paso="0"] .sin-pt[data-k="0"], .mov #ia-sin[data-paso="1"] .sin-pt[data-k="1"], .mov #ia-sin[data-paso="2"] .sin-pt[data-k="2"] { opacity: 1; visibility: visible; translate: 0 0; }
.mov .sin-dib { grid-template-columns: minmax(0, 1fr); }
.mov .sin-d { grid-area: 1 / 1; opacity: 0; visibility: hidden; translate: 24px 0; transition: opacity .5s var(--ease), translate .7s cubic-bezier(.4, 0, .2, 1), visibility .5s; }
.mov #ia-sin[data-paso="0"] .sin-d[data-k="0"], .mov #ia-sin[data-paso="1"] .sin-d[data-k="1"], .mov #ia-sin[data-paso="2"] .sin-d[data-k="2"] { opacity: 1; visibility: visible; translate: 0 0; }
.mov .sin-dib { grid-template-rows: minmax(0, 1fr); }
.mov .sin-svg { max-height: calc(100vh - 250px); max-height: calc(100svh - 250px); }
.sin-mv { display: none; }

/* =============================================================== 5. the order of things: a staircase, and the model on the top step */
.ia-rail, .ia-ent, .ia-preg { position: relative; box-sizing: border-box; padding-block: clamp(96px, 13vh, 130px) clamp(96px, 12vh, 140px); }
.ia-rail { z-index: 5; background: var(--pagina); color: var(--ink); border-radius: 32px 32px 0 0; box-shadow: 0 -30px 60px -30px rgba(0, 0, 0, 0.5); }
.ia-ent { z-index: 6; margin-top: -32px; background: var(--alt); color: var(--ink); border-radius: 32px 32px 0 0; box-shadow: 0 -22px 44px -30px rgba(0, 0, 0, 0.3); }
.ia-preg { z-index: 7; margin-top: -32px; background: var(--pagina); color: var(--ink); border-radius: 32px; box-shadow: 0 -30px 60px -30px rgba(0, 0, 0, 0.35), 0 34px 60px -30px rgba(0, 0, 0, 0.5); }
.mov .ia-rail, .mov .ia-ent, .mov .ia-preg { min-height: 100vh; min-height: 100svh; display: grid; grid-template-columns: minmax(0, 1fr); align-content: center; }
.mov .ia-rail, .mov .ia-ent { min-height: calc(100vh + 96px); min-height: calc(100svh + 96px); padding-bottom: 190px; }   /* the next sheet covers the last 32px; the rest keeps its shadow below the screen */
.ri-dentro, .en-dentro, .pr-dentro { padding-inline: max(22px, calc((100% - 1240px) / 2)); }
.ri-cab .titulo, .en-cab .titulo { margin: 10px 0 clamp(24px, 4.6vh, 52px); max-width: 15em; font-size: clamp(2rem, min(3.8vw, 6.2vh), 3.4rem); }
.ri-esc { --H: clamp(170px, 32vh, 300px); list-style: none; margin: 0; padding: 0; position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 clamp(12px, 1.6vw, 24px); }
.ri-esc::after { content: ""; position: absolute; left: 0; right: 0; top: var(--H); height: 1px; background: var(--ink); }
.ri-c { --e: clamp(0, calc(var(--v, 1) * 2.4 - var(--i, 0) * .3), 1); display: grid; grid-template-rows: var(--H) auto; align-content: start; }
.ri-b { align-self: end; box-sizing: border-box; height: calc(var(--h) * var(--H) / 100); padding: 14px 16px; border-radius: 16px 16px 0 0; background: var(--alt); box-shadow: inset 0 0 0 1px var(--linea); opacity: var(--e); translate: 0 calc((1 - var(--e)) * 50px); }
.ri-b small { display: block; font-family: var(--f-mono); font-size: 12px; color: var(--gris); }
.ri-b b { display: block; margin-top: 4px; font-weight: 700; font-size: clamp(1.3rem, 2.1vw, 2rem); line-height: 1.05; letter-spacing: -.03em; }
.ri-ia .ri-b { background: var(--acento); box-shadow: none; color: #FFFFFF; }
.ri-ia .ri-b small { color: rgba(255, 255, 255, 0.85); }
.ri-c p { margin-top: 16px; padding-right: 8px; font-size: clamp(1rem, 1.25vw, 1.12rem); line-height: 1.36; color: #6E6E73; opacity: var(--e); }
.ri-c .enlace { min-height: 36px; margin-top: 6px; font-weight: 600; font-size: 15px; color: var(--acento); opacity: var(--e); }

/* =============================================================== 6. what you take away: three tiles */
.en-malla.carril { overflow: visible; scroll-snap-type: none; }
.en-malla .fila { width: auto; max-width: none; margin-inline: 0; padding-inline: 0; box-sizing: border-box; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; height: clamp(420px, calc(100vh - 400px), 560px); height: clamp(420px, calc(100svh - 400px), 560px); }
.en-t { --e: clamp(0, calc(var(--v, 1) * 2.4 - var(--i, 0) * .25), 1); position: relative; box-sizing: border-box; min-height: 0; overflow: hidden; border-radius: 28px; padding: clamp(16px, 2.4vh, 24px) clamp(20px, 2.2vw, 30px); background: #FFFFFF; box-shadow: inset 0 0 0 1px var(--linea); opacity: var(--e); transform: translateY(calc((1 - var(--e)) * 40px)); }
.en-a { grid-column: 1 / span 5; grid-row: 1 / span 2; display: flex; flex-direction: column; justify-content: space-between; gap: 14px; }
.en-b, .en-c { grid-column: 6 / span 7; display: grid; grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr); gap: 18px clamp(16px, 2vw, 28px); align-items: center; }
.en-b { background: var(--oscuro); color: var(--oscuro-ink); box-shadow: none; }
.en-tt small { display: block; font-family: var(--f-mono); font-size: 13px; color: var(--acento); }
.en-b .en-tt small { color: var(--acento-oscuro); }
.en-tt h3 { margin-top: 6px; font-weight: 700; font-size: clamp(1.2rem, min(1.75vw, 3.2vh), 1.7rem); line-height: 1.1; letter-spacing: -.026em; text-wrap: balance; }
.en-ficha { margin: 0; display: grid; }
.en-ficha > div { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 12px; padding-block: clamp(6px, 1.2vh, 11px); border-top: 1px solid var(--linea); }
.en-ficha dt { padding-top: 3px; font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .04em; text-transform: uppercase; color: var(--gris); }
.en-ficha dd { margin: 0; font-weight: 600; font-size: clamp(.95rem, 1.2vw, 1.08rem); line-height: 1.25; letter-spacing: -.012em; }
.en-sello { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 6px 14px 6px 10px; border-radius: 980px; border: 1.5px solid var(--acento); font-weight: 600; font-size: 13.5px; color: var(--acento); }
.en-sello svg { width: 16px; height: 16px; fill: none; stroke: var(--acento); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.en-erp { min-width: 0; align-self: stretch; display: grid; grid-template-rows: auto minmax(0, 1fr); border-radius: 12px; overflow: hidden; background: #0C0C0D; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16); font-size: 12px; }
.en-erp-bar { display: flex; align-items: center; gap: 5px; padding: 7px 10px; background: #1B1B1D; }
.en-erp-bar i { width: 8px; height: 8px; border-radius: 50%; background: #4A4A4E; }
.en-erp-bar span { margin-left: 8px; font-family: var(--f-mono); font-size: 11px; color: var(--oscuro-gris); }
.en-erp-cu { display: grid; grid-template-columns: 42% minmax(0, 1fr); min-height: 0; }
.en-menu { list-style: none; margin: 0; padding: 6px 0; border-right: 1px solid rgba(255, 255, 255, 0.12); }
.en-menu li { padding: 5px 12px; color: var(--oscuro-gris); white-space: nowrap; }
.en-menu .m-ab { color: var(--oscuro-ink); font-weight: 600; }
.en-menu .m-sub { padding-left: 20px; font-size: 11px; }
.en-menu .m-nu { position: relative; color: var(--acento-oscuro); font-weight: 600; background: color-mix(in srgb, var(--acento-oscuro) 14%, transparent); }
.en-menu .m-nu::before { content: ""; position: absolute; left: 13px; top: 50%; width: 5px; height: 5px; margin-top: -2.5px; border-radius: 50%; background: var(--acento-oscuro); }
.en-pane { padding: 10px 12px; display: grid; align-content: start; gap: 6px; }
.en-pane-t { font-size: 11px; color: var(--oscuro-gris); }
.en-pr { display: grid; grid-template-columns: auto auto minmax(0, 1fr); gap: 10px; align-items: center; padding: 6px 8px; border-radius: 6px; background: rgba(255, 255, 255, 0.06); }
.en-pr span { font-family: var(--f-mono); color: var(--oscuro-gris); }
.en-pr b { font-family: var(--f-mono); font-weight: 600; color: var(--oscuro-ink); }
.en-pr em { font-style: normal; font-size: 10.5px; text-align: right; white-space: nowrap; color: var(--oscuro-gris); }
.en-pr b { white-space: nowrap; }
.en-pr1 { box-shadow: inset 2px 0 0 var(--acento-oscuro); background: color-mix(in srgb, var(--acento-oscuro) 14%, transparent); }
.en-pr1 em { color: var(--acento-oscuro); }
.en-ctrl { min-width: 0; align-self: stretch; display: grid; grid-template-rows: minmax(0, 1fr) auto; gap: 6px; }
.cc-svg { display: block; width: 100%; height: 100%; min-height: 0; overflow: visible; }
.cc-svg text { font-family: var(--f); }
.cc-svg :is(path, circle) { fill: none; }
.cc-gh { stroke: #E5E5EA; stroke-width: 1; }
.cc-yl, .cc-xl { font-family: var(--f-mono) !important; font-size: 11px; fill: #86868B; }
.cc-yt { font-size: 11.5px; fill: #6E6E73; }
.cc-lim { stroke: var(--acento); stroke-width: 1.4; stroke-dasharray: 5 4; }
.cc-limt { font-size: 11.5px; font-weight: 600; fill: var(--acento); }
.cc-l { stroke: #1D1D1F; stroke-width: 1.8; stroke-linejoin: round; }
.cc-p { fill: #FFFFFF !important; stroke: #1D1D1F; stroke-width: 2; }
.cc-m { fill: var(--acento) !important; stroke: var(--acento); }
.cc-n { font-family: var(--f-mono) !important; font-size: 12px; font-weight: 600; fill: #1D1D1F; }
.cc-nm { fill: var(--acento); }
.cc-flag { font-size: 12px; font-weight: 700; fill: var(--acento); }
.en-resp { font-size: 12.5px; color: #6E6E73; }
.en-resp b { font-weight: 600; color: var(--ink); }

/* =============================================================== 7. questions: three rows, each with its own small mark */
.pr-dentro { display: grid; gap: clamp(22px, 4.2vh, 48px); }
.pr-cab .titulo { margin-top: 10px; max-width: 12em; font-size: clamp(2.2rem, min(4.6vw, 7.4vh), 4.2rem); line-height: 1.04; }
.pr-lista { border-top: 1px solid var(--ink); }
.pr-q { --e: clamp(0, calc(var(--v, 1) * 2.4 - var(--i, 0) * .25), 1); display: grid; grid-template-columns: 64px minmax(0, 5fr) minmax(0, 6fr); align-items: start; border-bottom: 1px solid var(--linea); opacity: var(--e); transform: translateY(calc((1 - var(--e)) * 36px)); }
.pr-n { padding-top: calc(clamp(18px, 3.4vh, 34px) + .45em); font-family: var(--f-mono); font-size: 15px; color: var(--acento); }
.pr-q h3 { padding-block: clamp(18px, 3.4vh, 34px); padding-right: clamp(20px, 3vw, 44px); font-weight: 700; font-size: clamp(1.4rem, min(2.3vw, 4vh), 2.1rem); line-height: 1.1; letter-spacing: -.026em; text-wrap: balance; }
.pr-r { display: grid; grid-template-columns: minmax(0, 1fr) 200px; gap: 20px; align-items: center; padding: clamp(18px, 3.4vh, 34px) 0 clamp(18px, 3.4vh, 34px) clamp(20px, 3vw, 44px); border-left: 1px solid var(--linea); }
.pr-r p { font-size: clamp(1rem, 1.3vw, 1.15rem); line-height: 1.4; color: #6E6E73; }
.q-svg { display: block; width: 100%; height: auto; overflow: visible; }
.q-svg text { font-family: var(--f); }
.q-pill { fill: #FFFFFF; stroke: var(--linea); stroke-width: 1.2; }
.q-ac { fill: color-mix(in srgb, var(--acento) 9%, #FFFFFF); stroke: var(--acento); }
.q-da { stroke-dasharray: 3 3; }
.q-t { font-size: 12px; font-weight: 500; fill: var(--ink); }
.q-tac { fill: var(--acento); font-weight: 600; }
.q-ln { fill: none; stroke: #86868B; stroke-width: 1.2; stroke-linejoin: round; }
.q-ok { fill: none; stroke: #1D1D1F; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.q-no { fill: none; stroke: var(--acento); stroke-width: 2.2; stroke-linecap: round; }
.q-nt { font-size: 11px; font-weight: 600; fill: var(--acento); }
.q-seg { fill: #FFFFFF; stroke: var(--linea); stroke-width: 1.2; }
.q-ac2 { fill: var(--acento); stroke: none; }
.q-st { font-family: var(--f-mono) !important; font-size: 14px; fill: #6E6E73; }
.q-stw { fill: #FFFFFF; }
.mov .serv-cierre { position: sticky; bottom: 0; z-index: 0; }

/* =============================================================== phones: one column, a drawing built for the width */
@media (max-width: 1080px) {
  .ia-pasos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
  /* hero */
  .ia-hero-dentro { grid-template-columns: minmax(0, 1fr); gap: 14px; align-items: start; }
  .ia-hero h1 { max-width: none; font-size: clamp(2rem, 9.4vw, 2.4rem); }
  .ia-ceja { margin-bottom: 8px; font-size: 16px; }
  .ia-sub { margin-top: 8px; font-size: 1rem; line-height: 1.24; }
  .ia-hs { display: none; }
  .ia-hero .acciones { margin-top: 12px; gap: 4px 20px; }
  .ia-hero .enlace, .ia-aval { display: none; }
  .mov #ia-hero { display: block; padding-top: 84px; }
  .ia-hoja { --rh: 21px; padding: 10px 14px 2px; border-radius: 12px; }
  .ia-libro { gap: 6px; }
  .ia-hh { gap: 2px 10px; }
  .ia-hp b { font-size: 13.5px; }
  .ia-hq { display: none; }
  .ia-spark { max-height: 34px; margin-block: 4px 0; }
  .ia-tabla thead th { height: 24px; font-size: 9.5px; letter-spacing: .05em; }
  .ia-tabla tbody th b { font-size: 12.5px; }
  .ia-tabla tbody th span { font-size: 10.5px; margin-left: 6px; }
  .ia-tabla td.u > b { font-size: 13px; }
  .ia-tabla .st { font-size: 12px; }
  .ia-tabla em { font-size: 10px; padding: 0 6px; }
  .ia-tabla tfoot th { font-size: 12px; }
  .ia-tabla tfoot th, .ia-tabla tfoot td { padding-block: 6px 8px; }
  .ia-tabla tfoot td.u > b { font-size: 1rem; }
  .ia-fm { font-size: 10.5px; }
  .ia-libro figcaption { font-size: 11px; }
  /* the stage */
  .ia-pc, .ia-cardw { display: none; }
  .ia-mv, .ia-pn-w { display: block; }
  .ia-pasos { grid-template-columns: minmax(0, 1fr); }
  .ia-plano, .mov .ia-plano { width: 100%; }
  .mov #ia-etapa .fijo { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto auto minmax(0, 1fr); grid-template-areas: "cab" "lienzo" "pasos"; row-gap: 8px; align-content: start; padding-top: 66px; padding-bottom: 100px; }
  .mov .ia-cab-t { display: flex; align-items: baseline; justify-content: space-between; max-width: none; text-align: left; }
  .mov .ia-prod { margin: 0; font-size: 12.5px; }
  .ia-prod span { display: none; }
  .mov .ia-eti { white-space: nowrap; }
  .mov .ia-ley { display: none; }
  .mov .ia-lienzo { display: block; }
  .ia-pn-w { margin-top: 6px; }
  .ia-pn .pn { opacity: 0; }
  .mov .ia-pn .pn { opacity: calc(clamp(0, calc((var(--g) - var(--a0)) / .25), 1) * (1 - clamp(0, calc((var(--g) - var(--a1)) / .25), 1))); }
  .mov .ia-pn .pn0 { --a0: -9; --a1: .85; }
  .mov .ia-pn .pn1 { --a0: .85; --a1: 1.85; }
  .mov .ia-pn .pn2 { --a0: 1.85; --a1: 2.85; }
  .mov .ia-pn .pn3 { --a0: 2.85; --a1: 99; }
  .ia-pn .pn3 { opacity: 1; }
  .ia-pn .pn:not(.pn3) { display: none; }
  .mov .ia-pn .pn:not(.pn3) { display: inline; }
  .ia-pn :is(path, rect, circle) { fill: none; }
  .ia-pn text { font-family: var(--f); }
  .ia-pn { --ink: var(--oscuro-ink); --gr: var(--oscuro-gris); --ac: var(--acento-oscuro); }
  .p-bg { fill: color-mix(in srgb, var(--ink) 7%, transparent) !important; stroke: color-mix(in srgb, var(--ink) 16%, transparent); stroke-width: 1; }
  .p-mo { font-family: var(--f-mono) !important; font-size: 11px; letter-spacing: .06em !important; fill: var(--ac); }
  .p-h { font-size: 22px; font-weight: 700; letter-spacing: -.03em !important; fill: var(--ink); }
  .p-t { font-size: 14.5px; font-weight: 600; fill: var(--ink); }
  .p-g { font-size: 13px; fill: var(--gr); }
  .p-ln { stroke: color-mix(in srgb, var(--ink) 18%, transparent); stroke-width: 1; }
  .p-sm { font-family: var(--f-mono) !important; font-size: 11.5px; fill: var(--gr); }
  .p-nu { font-family: var(--f-mono) !important; font-size: 13px; font-weight: 600; fill: var(--ink); }
  .p-pr { fill: var(--ac) !important; }
  .p-dp { fill: var(--ac) !important; }
  .p-big { font-family: var(--f-mono) !important; font-size: 56px; font-weight: 600; letter-spacing: -.06em !important; fill: var(--ink); }
  .p-or { fill: var(--ac) !important; }
  .ia-pn .k-win { fill: #F5F5F7 !important; }
  .mov .ia-pn .k-pend { opacity: calc(1 - var(--acep)); }
  .mov .ia-pn .k-acep { opacity: var(--acep); }
  .ia-pn .k-big { font-size: 40px; }
  .ia-pn .k-pr, .ia-pn .k-l { font-size: 12.5px; }
  .ia-pn .k-v { font-size: 13.5px; }
  .ia-pt h3 { font-size: 1.5rem; }
  .mov .ia-pt { grid-template-columns: minmax(0, 1fr); gap: 6px 0; }
  .mov .ia-pt h3 { font-size: 1.55rem; }
  .mov .ia-pt p { font-size: 1.02rem; line-height: 1.26; }
  .mov .ia-pt .ia-reg { display: none; }
  .ia-svg.ia-mv text { letter-spacing: 0; }
  .ia-mv .c-yl, .ia-mv .c-xl { font-size: 10.5px; }
  .ia-mv .c-yt { font-size: 10.5px; }
  .ia-mv .c-qh { font-size: 26px; }
  .ia-mv .c-qq { font-size: 50px; }
  .ia-mv .c-prt { font-size: 9.5px; }
  .ia-mv .c-ft { font-size: 20px; }
  .ia-mv .c-sg { stroke-width: 2; }
  .ia-mv .c-ml { stroke-width: 2.2; }
  .ia-mv .c-fw { stroke-width: 1.6; }
  .ia-mv .c-eo, .ia-mv .c-es { stroke-width: 1.6; }
  .ia-nota { font-size: 11px; }
  .mov .ia-nota { position: static; margin-top: 4px; }
  /* «No antes» */
  .no-dentro { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .mov #ia-no .fijo { align-content: start; padding-top: 68px; padding-bottom: 100px; }
  .no-cab .titulo { max-width: none; font-size: 1.7rem; line-height: 1.06; margin-top: 4px; }
  #ia-no .etiqueta { font-size: 17px; }
  .no-q { margin-top: 8px; padding-top: 8px; max-width: none; }
  .no-q span { display: none; }
  .no-q b { margin-top: 0; font-size: .98rem; }
  .no-pasos { margin-top: 0; }
  .no-texto { display: contents; }
  .no-cab { order: 0; }
  .no-hoja { order: 1; --S: 250px; box-sizing: border-box; width: 100%; padding: 8px 12px 4px; border-radius: 16px; }
  .no-pasos { order: 2; }
  .no-sem { display: none; }
  .no-fila { grid-template-columns: minmax(0, 1fr) 76px; grid-template-areas: "et et" "strip res"; column-gap: 8px; padding-block: 5px 4px; }
  .no-et { font-size: 12.5px; gap: 6px; }
  .no-et small { font-size: 10.5px; }
  .no-pc { display: none; }
  .no-mv { display: block; }
  .no-pedir { font-size: 11px; }
  .no-pedir b { font-size: 1.7rem; }
  .no-cap { display: none; }
  .no-barra { margin-top: 4px; height: 5px; }
  .no-ref::after { top: -13px; font-size: 9.5px; }
  .no-pt h3 { font-size: 1.3rem; }
  .no-pt p { font-size: .98rem; line-height: 1.28; margin-top: 4px; }
  .no-pt .no-reg { display: none; }
  .no-nota { display: none; }
  /* signs */
  .mov .sin-dentro { grid-template-columns: minmax(0, 1fr); gap: 14px; align-items: start; }
  .mov #ia-sin .fijo { align-content: start; padding-top: 70px; padding-bottom: 100px; }
  .mov .sin-pt h3 { font-size: 1.6rem; }
  .mov .sin-pt p { font-size: 1rem; }
  .mov .sin-texto { display: contents; }
  .mov .sin-eti { order: 0; }
  .mov .sin-dib { order: 1; }
  .mov .sin-pasos { order: 2; }
  .sin-pc { display: none; }
  .sin-mv { display: block; }
  .mov .sin-svg { max-height: 38vh; }
  /* staircase */
  .ri-cab .titulo, .en-cab .titulo { font-size: 2rem; margin-bottom: 20px; }
  .ri-esc { --H: 0px; grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .ri-esc::after { display: none; }
  .ri-c { grid-template-rows: auto auto auto; grid-template-columns: minmax(0, 1fr); }
  .ri-b { height: auto; width: calc(36% + var(--h) * .6%); min-height: 46px; padding: 8px 14px; border-radius: 12px; display: flex; align-items: baseline; gap: 10px; }
  .ri-b small { font-size: 11px; }
  .ri-b b { margin-top: 0; font-size: 1.3rem; }
  .ri-c p { margin-top: 6px; font-size: .98rem; line-height: 1.3; }
  .ri-c .enlace { min-height: 30px; margin-top: 0; font-size: 14px; }
  /* tiles you swipe through */
  .en-malla.carril { overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: -22px; }
  .en-malla .fila { display: flex; width: max-content; max-width: none; gap: 12px; padding-inline: 22px; margin-inline: 0; height: auto; }
  .en-t, .en-a, .en-b, .en-c { flex: none; width: min(82vw, 340px); display: flex; flex-direction: column; justify-content: flex-start; gap: 14px; scroll-snap-align: start; scroll-margin-inline: 22px; padding: 18px 18px 20px; border-radius: 24px; }
  .en-tt h3 { font-size: 1.2rem; }
  .en-ficha > div { grid-template-columns: 78px minmax(0, 1fr); padding-block: 6px; }
  .en-ficha dd { font-size: .95rem; }
  .en-erp { align-self: auto; }
  .en-ctrl { align-self: auto; }
  .cc-svg { height: auto; }
  /* questions */
  .pr-q { grid-template-columns: 34px minmax(0, 1fr); }
  .pr-n { padding-top: calc(14px + .35em); font-size: 13px; }
  .pr-q h3 { padding-block: 14px 6px; padding-right: 0; font-size: 1.2rem; }
  .pr-r { grid-column: 2; grid-template-columns: minmax(0, 1fr); gap: 0; padding: 0 0 14px; border-left: 0; }
  .pr-r p { font-size: .98rem; line-height: 1.34; }
  .q-svg { display: none; }
  .pr-cab .titulo { font-size: 2rem; margin-top: 4px; }
  .pr-dentro { gap: 18px; }
  .ia-rail, .ia-ent, .ia-preg { padding-block: 92px 84px; }
}
/* short laptop screens */
@media (min-width: 821px) and (max-height: 780px) {
  .no-hoja { --S: clamp(300px, calc(((100vh - 262px) / 4 - 28px) * 5.09), 560px); --S: clamp(300px, calc(((100svh - 262px) / 4 - 28px) * 5.09), 560px); padding-top: 8px; padding-bottom: 4px; }
  .no-fila { padding-block: 4px 2px; }
  .no-et { font-size: 13px; }
  .en-malla .fila { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: minmax(0, 1fr); height: clamp(340px, calc(100svh - 330px), 420px); }
  .en-a, .en-b, .en-c { grid-column: auto; grid-row: auto; display: flex; flex-direction: column; justify-content: flex-start; align-items: stretch; gap: 12px; }
  .en-erp, .en-ctrl { flex: 1; min-height: 0; }
  .en-ficha > div { padding-block: 5px; }
  .en-ficha > div:nth-child(4) { display: none; }
  .en-ficha dd { font-size: .92rem; }
  .mov .ia-ent { padding-top: 84px; }
  .mov .ia-rail { padding-top: 84px; }
  .ri-cab .titulo, .en-cab .titulo { margin-bottom: 14px; }
  .pr-q h3, .pr-r { padding-block: 14px; }
  .pr-n { padding-top: calc(14px + .45em); }
}
@media (max-width: 820px) and (max-height: 780px) { .ia-hero .ia-sub { display: none; } }
/* a phone with its bars showing (about 390×700): every resting place still composed */
@media (max-width: 820px) and (max-height: 780px) {
  .ia-hero h1 { font-size: 2rem; }
  .ia-ceja { margin-bottom: 4px; }
  .mov #ia-hero { padding-top: 72px; }
  .ia-spark { display: none; }
  .ia-hoja { --rh: 19px; }
  .ia-libro figcaption { display: none; }
  .ia-hh { padding-bottom: 4px; }
  .mov #ia-etapa .fijo { padding-top: 58px; padding-bottom: 92px; row-gap: 4px; }
  .ia-mv { max-height: 190px; }
  .ia-pn-w { margin-top: 2px; }
  .ia-pn { max-height: 184px; }
  .ia-nota { display: none; }
  .mov .ia-pt h3 { font-size: 1.4rem; }
  .mov .ia-pt p { font-size: .95rem; line-height: 1.24; }
  .mov #ia-no .fijo { padding-top: 58px; padding-bottom: 92px; }
  .no-dentro { gap: 8px; }
  .no-cab .titulo { font-size: 1.45rem; }
  #ia-no .etiqueta { font-size: 15px; }
  .no-q { margin-top: 4px; padding-top: 6px; }
  .no-q b { font-size: .88rem; }
  .no-hoja { padding-top: 4px; }
  .no-svg.no-mv { max-height: 52px; }
  .no-pt h3 { font-size: 1.15rem; }
  .no-pt p { font-size: .9rem; line-height: 1.25; margin-top: 2px; }
  .mov #ia-sin .fijo { padding-top: 60px; padding-bottom: 92px; }
  .mov .sin-svg { max-height: 31vh; }
  .mov .sin-pt h3 { font-size: 1.35rem; }
  .mov .sin-pt p { font-size: .92rem; margin-top: 6px; }
  .ri-cab .titulo, .en-cab .titulo { font-size: 1.7rem; margin-bottom: 12px; }
  .ri-b { min-height: 38px; padding: 6px 12px; }
  .ri-b b { font-size: 1.15rem; }
  .ri-esc { gap: 8px; }
  .ri-c p { font-size: .9rem; margin-top: 4px; }
  .ia-rail, .ia-ent, .ia-preg { padding-block: 80px 76px; }
  .en-t, .en-a, .en-b, .en-c { padding: 14px 16px 16px; gap: 10px; }
  .en-ficha > div { padding-block: 4px; }
  .en-ficha dd { font-size: .88rem; }
  .en-tt h3 { font-size: 1.1rem; }
  .pr-cab .titulo { font-size: 1.7rem; }
  .pr-q h3 { font-size: 1.1rem; padding-block: 10px 4px; }
  .pr-r { padding-bottom: 10px; }
  .pr-r p { font-size: .9rem; line-height: 1.3; }
  .pr-n { padding-top: calc(10px + .35em); }
}
@media (prefers-reduced-motion: reduce) { .ia-svg *, .ia-spark *, .en-t, .pr-q { transition: none !important; animation: none !important; } }
