/* AXELIA · /sectores/banca/ — «El asiento». One operation, one entry, the same figure everywhere.
   Everything pinned or animated is under .mov (motion on). Without it the page reads complete and in order:
   the ledger is whole, the banking day is drawn in its last state with its five steps listed, the two lists are matched and corrected. */

/* 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)); }
.ba-vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.ba-seccion { padding-inline: max(22px, calc((100% - 1240px) / 2)); }

/* =============================================================== 1. hero: the headline, and a ledger drawn as an object */
#ba-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 #ba-hero { position: sticky; top: 0; height: 100vh; height: 100svh; display: grid; align-content: center; padding-block: clamp(84px, 11vh, 108px) clamp(30px, 5vh, 52px); }
.ba-hero-dentro { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(20px, 2.4vw, 32px); row-gap: clamp(16px, 3.2vh, 32px); align-items: end; transform-origin: 50% 30%; }
.mov .ba-hero-dentro { transform: scale(calc(1 - var(--cubre, 0) * .05)); opacity: calc(1 - var(--cubre, 0) * .6); }
.mov #ba-hero.cubierto, .mov #ba-hero.cubierto .hueco { visibility: hidden; }     /* the shared sheet keeps contact buttons visible on inner pages, so the hero's one is hidden by name */
.ba-hero-cab { grid-column: 1 / -1; }
.ba-hero-lado { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px 40px; }
.ba-ceja { margin-bottom: 12px; font-weight: 600; font-size: clamp(17px, 1.5vw, 21px); line-height: 1.19; letter-spacing: .011em; color: var(--hero-gris); }
.ba-hero h1 { max-width: 15em; font-weight: 700; font-size: clamp(2.5rem, min(5.5vw, 8.4vh), 5.2rem); line-height: 1.03; letter-spacing: -.036em; text-wrap: balance; }
.ba-sub { 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; }
.ba-sub b { font-weight: 600; color: var(--hero-ink); }
.ba-hero .acciones { justify-content: flex-start; margin-top: 0; }

.ba-libro { grid-column: 1 / -1; margin: 0; display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 24px; row-gap: 10px; align-items: start; }
.ba-libro .ba-hoja { grid-column: 1 / -1; }
.ba-aval { margin: 0; max-width: none; }
@media (min-width: 821px) { .ba-hero h1 .ba-l { display: block; white-space: nowrap; } }
.ba-libro figcaption { text-align: right; font-size: 12px; line-height: 1.3; color: var(--hero-gris); white-space: nowrap; }
.ba-hoja { position: relative; border-radius: 12px; background: #FFFFFF; padding: 0 clamp(18px, 2.2vw, 34px); 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); }
.ba-tabla { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.ba-tabla :is(th, td) { box-sizing: border-box; padding: 0; text-align: left; font-weight: 500; vertical-align: middle; }
.ba-tabla thead th { height: clamp(30px, 4.4vh, 40px); font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #86868B; border-bottom: 1px solid #D2D2D7; }
.ba-tabla .n { text-align: right; width: 21%; font-family: var(--f-mono); }
.ba-tabla thead .n { padding-right: 0; }
.ba-tabla td.n { border-left: 1px solid #E5E5EA; padding-right: clamp(14px, 2vw, 28px); }
.ba-tabla thead .n { border-left: 1px solid #E5E5EA; padding-right: clamp(14px, 2vw, 28px); }
.ba-th-no { width: 25%; }
.ba-no { width: 25%; vertical-align: middle; }
.ba-ref { display: none; }
.ba-no b { display: block; font-family: var(--f-mono); font-weight: 500; font-size: clamp(15px, 1.3vw, 18px); letter-spacing: -.02em; color: #1D1D1F; }
.ba-no span { display: block; margin-top: 1px; font-size: 12.5px; line-height: 1.25; color: #86868B; }
.ba-as { border-top: 1px solid #E5E5EA; transition: opacity .35s var(--ease); }
.ba-as td { height: clamp(28px, 4.2vh, 40px); font-size: clamp(14px, 1.2vw, 17px); color: #1D1D1F; }
.ba-as td.n { font-size: clamp(14px, 1.25vw, 18px); }
.ba-as .ba-a { padding-left: 22px; color: #6E6E73; }
.ba-as .ba-a::before { content: "a"; margin-right: 12px; font-family: var(--f-mono); color: #86868B; }
.ba-as tr:first-child td { padding-top: 6px; height: clamp(32px, 4.7vh, 44px); }
.ba-as tr:last-child td { padding-bottom: 6px; height: clamp(32px, 4.7vh, 44px); }
.ba-sumas th, .ba-sumas td { border-top: 1px solid #1D1D1F; padding-top: clamp(10px, 1.8vh, 18px); padding-bottom: clamp(12px, 2vh, 20px); }
.ba-sumas th { vertical-align: middle; }
.ba-sumas-t { display: block; font-size: 15px; font-weight: 600; color: #1D1D1F; }
.ba-dif { display: block; margin-top: 2px; font-family: var(--f-mono); font-size: 13px; color: #86868B; }
.ba-dif b { font-weight: 600; color: var(--acento); }
.ba-sumas td.n { position: relative; }
.ba-suma { display: block; font-weight: 600; font-size: clamp(1.4rem, min(2.5vw, 4.6vh), 2.3rem); line-height: 1.05; letter-spacing: -.05em; color: #1D1D1F; }
.ba-sumas td.n::after { content: ""; position: absolute; left: 0; right: 0; bottom: 6px; height: 4px; border-top: 1px solid var(--acento); border-bottom: 1px solid var(--acento); }
.ba-igual { position: absolute; left: 0; top: 50%; width: clamp(28px, 2.4vw, 34px); aspect-ratio: 1; border-radius: 50%; background: var(--acento); color: #FFFFFF; display: grid; place-items: center; font: 600 clamp(18px, 1.7vw, 23px)/1 var(--f-mono); transform: translate(-50%, -58%); }
@media (hover: hover) {
  .ba-libro:has(.ba-as:hover) .ba-as:not(:hover) { opacity: .42; }
  .ba-as:hover td.n { color: var(--acento); }
}
/* it arrives as it is written: entries post one after another, then the sums count up and the two meet */
.mov #ba-hero:not(.listo) :is(.ba-as, .ba-sumas) { opacity: 0; }
.mov #ba-hero :is(.ba-as, .ba-sumas) { transition: opacity .7s var(--ease) calc(var(--i, 3) * 160ms + 300ms); }
.mov #ba-hero .ba-as { transition: opacity .7s var(--ease) calc(var(--i, 3) * 160ms + 300ms), opacity .35s var(--ease); }
.mov #ba-hero:not(.cuadra) .ba-igual { opacity: 0; scale: .5; }
.mov #ba-hero:not(.cuadra) .ba-dif { opacity: 0; }
.mov #ba-hero .ba-igual { transition: opacity .5s var(--ease), scale .6s cubic-bezier(.3, 1.3, .5, 1); }
.mov #ba-hero .ba-dif { transition: opacity .6s var(--ease) .1s; }
.mov #ba-hero:not(.cuadra) .ba-sumas td.n::after { transform: scaleX(0); }
.mov #ba-hero .ba-sumas td.n::after { transform-origin: 0 50%; transition: transform .7s cubic-bezier(.4, 0, .2, 1); }

/* =============================================================== 2. the banking day: a black stage that rises over the pinned hero */
#ba-dia { z-index: 2; background: var(--oscuro); }
.ba-dia .fijo { background: var(--oscuro); color: var(--oscuro-ink); padding: clamp(84px, 11vh, 108px) max(22px, calc((100% - 1392px) / 2)) clamp(56px, 9vh, 96px); }
.ba-eti { font-weight: 600; font-size: 17px; line-height: 1.19; color: var(--acento-oscuro); }
.ba-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; }
.ba-reloj { display: none; }
.ba-lienzo { position: relative; margin-top: clamp(20px, 4vh, 40px); }
.ba-rail { display: none; }

/* the drawing: one SVG, five lanes, one 24-hour band */
.ba-svg { display: block; width: 100%; height: auto; overflow: visible; --ink: var(--oscuro-ink); --gr: var(--oscuro-gris); --ac: var(--acento-oscuro); }
.ba-svg text { font-family: var(--f); letter-spacing: -.005em; }
.ba-svg .ax { font-family: var(--f-mono); font-size: 12.5px; fill: var(--gr); }
.ba-svg path { fill: none; }
.ba-svg .g-hr, .ba-svg .g-h3, .ba-svg .g-h6, .ba-svg .g-sep, .ba-svg .g-base { stroke-width: 1; }
.ba-svg .g-hr { stroke: color-mix(in srgb, var(--ink) 6%, transparent); }
.ba-svg .g-h3 { stroke: color-mix(in srgb, var(--ink) 11%, transparent); }
.ba-svg .g-h6 { stroke: color-mix(in srgb, var(--ink) 20%, transparent); }
.ba-svg .g-sep { stroke: color-mix(in srgb, var(--ink) 22%, transparent); }
.ba-svg .g-base { stroke: color-mix(in srgb, var(--ink) 26%, transparent); }
.ba-svg .g-noche { fill: color-mix(in srgb, var(--ink) 3.5%, transparent); }
.ba-svg .rl-n { font-family: var(--f-mono); font-size: 12.5px; fill: var(--ac); }
.ba-svg .rl-t { font-size: 17px; font-weight: 600; fill: var(--ink); letter-spacing: -.012em; }
.ba-svg .rl-s { font-size: 12.5px; fill: var(--gr); }
.ba-svg .rail-bg, .ba-svg .rail-ln { fill: none; stroke: none; }
.ba-svg .tk { fill: color-mix(in srgb, var(--ink) 13%, transparent); }
.ba-svg .tk.rep { fill: color-mix(in srgb, var(--ac) 38%, transparent); }
.ba-svg .tkm { fill: color-mix(in srgb, var(--ink) 40%, transparent); }
.ba-svg .tkl { font-family: var(--f-mono); font-size: 11.5px; fill: color-mix(in srgb, var(--ink) 66%, transparent); }
.ba-svg .hb { fill: color-mix(in srgb, var(--ink) 30%, transparent); }
.ba-svg .hb.on { fill: var(--ac); }
.ba-svg .eod { fill: url(#ba-ray); stroke: color-mix(in srgb, var(--ink) 34%, transparent); stroke-width: 1; }
.ba-svg #ba-ray rect { fill: color-mix(in srgb, var(--ink) 34%, transparent); }
.ba-svg .gt { fill: none; stroke: color-mix(in srgb, var(--ink) 40%, transparent); stroke-width: 1.3; }
.ba-svg .gt.on { stroke: var(--ac); fill: color-mix(in srgb, var(--ac) 13%, transparent); }
.ba-svg .gtl { font-family: var(--f-mono); font-size: 11.5px; fill: var(--gr); }
.ba-svg .gtl.on { fill: var(--ac); }
.ba-svg .cb { fill: var(--oscuro); stroke: color-mix(in srgb, var(--ink) 30%, transparent); stroke-width: 1.2; }
.ba-svg .ca { fill: none; stroke: var(--ac); stroke-width: 1.6; opacity: var(--lit, 0); }
.ba-svg .c1 { font-size: 12.5px; font-weight: 500; fill: var(--gr); }
.ba-svg .c2 { font-family: var(--f-mono); font-size: 17px; font-weight: 600; fill: var(--ink); letter-spacing: -.02em; }
.ba-svg .c3 { font-family: var(--f); font-size: 13px; font-weight: 500; fill: var(--gr); }
.ba-svg .pt, .ba-svg .seg, .ba-svg .ret-p { fill: var(--ac); }
.ba-svg .ret { stroke: var(--ac); stroke-width: 1.5; stroke-dasharray: 3 3; }
.ba-svg .bdg { fill: var(--oscuro); stroke: var(--ac); stroke-width: 1.5; }
.ba-svg .bdg-v { stroke: var(--ac); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ba-svg .tp { fill: color-mix(in srgb, var(--ink) 56%, transparent); }
.ba-svg .ta { fill: var(--ac); }
.ba-svg .c-l { font-size: 13px; font-weight: 500; fill: var(--ink); }
.ba-svg .c-r { fill: var(--ac); font-weight: 600; }
.ba-svg .dot-p { fill: color-mix(in srgb, var(--ink) 56%, transparent); }
.ba-svg .dot-a { fill: var(--ac); }
.ba-svg .bd-pasado rect { fill: color-mix(in srgb, var(--ink) 3.6%, transparent); }
.ba-svg .ph-l, .ba-svg .ph-p { fill: var(--ac); }
.ba-svg .fr-l { stroke: var(--ac); stroke-width: 1.5; stroke-dasharray: 5 5; }
/* the markers of time only exist when the page moves */
.ba-svg :is(.bd-pasado, .bd-ph, .bd-frente) { display: none; }

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

/* ---------- motion on ---------- */
.mov #ba-dia { --g: calc(var(--s, 1) * 5);      /* position in the stage measured in steps: 0 to 5, a step resting at k + .5 */
  --c0: clamp(0, var(--g) * 2, 1); --c2: clamp(0, var(--g) - 1.5, 1); --c3: clamp(0, var(--g) - 2.5, 1); --c4: clamp(0, (var(--g) - 3.5) * 2, 1);
  --h: calc(7 + 3.7 * var(--c0) + 2.3 * var(--c2) + 9.5 * var(--c3) + 1.5 * var(--c4));        /* hour of the playhead: 07:00, 10:42, 13:00, 22:30, 24:00 */
  --r: calc(24 * clamp(0, (var(--g) - 4) * 2, 1)); }                                           /* the replica front sweeps the whole day in the last step */
.mov #ba-dia .fijo { display: grid; 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(76px, 10vh, 92px) max(22px, calc((100% - 1392px) / 2)) 98px; 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 .ba-cab-t { grid-area: cab; display: grid; justify-items: end; align-content: start; text-align: right; }
.mov .ba-h2 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.mov .ba-reloj { display: block; margin-top: 4px; }
.ba-hora { display: block; font-family: var(--f-mono); font-weight: 500; font-size: clamp(3rem, min(5.4vw, 9vh), 5.2rem); line-height: .95; letter-spacing: -.05em; color: var(--oscuro-ink); }
.ba-reloj small { display: block; margin-top: 6px; font-size: 13px; color: var(--oscuro-gris); }
.mov .ba-lienzo { grid-area: lienzo; display: grid; align-items: center; margin-top: 0; min-height: 0; }
.mov .ba-ventana { display: grid; justify-items: center; }
.mov .ba-svg { width: min(100%, calc((100vh - 366px) * 2.667)); width: min(100%, calc((100svh - 366px) * 2.667)); }
.mov .ba-svg :is(.bd-pasado, .bd-ph, .bd-frente) { display: inline; }
.mov .ba-svg .bd-pasado rect { transform-box: fill-box; transform-origin: 0 50%; transform: scaleX(calc(var(--h) / 24)); }
.mov .ba-svg .bd-ph { transform: translateX(calc(var(--h) * 50px)); opacity: calc(1 - clamp(0, (var(--g) - 3.9) * 5, 1)); will-change: transform; }
.mov .ba-svg .bd-frente { transform: translateX(calc(var(--r) * 50px)); opacity: clamp(0, (var(--g) - 3.95) * 10, 1); }
/* a lane is lit while its step is told (--lit), and everything told so far stays; the rest waits dimmed */
.mov .ba-svg .lane { --lit: clamp(0, min((var(--g) - var(--k) + .1) / .6, (var(--k) + 1.1 - var(--g)) / .6), 1); --visto: clamp(0, calc((var(--g) - var(--k) + .3) / .5), 1); opacity: calc(.36 + .28 * var(--visto) + .36 * var(--lit)); }
.mov .ba-svg .rv { --u: clamp(0, calc((var(--g) - var(--t)) / var(--d, .2)), 1); opacity: var(--u); }
.mov .ba-svg g.rv, .mov .ba-svg rect.rv:not(.tp, .ta, .hb), .mov .ba-svg circle.rv { translate: 0 calc((1 - var(--u)) * 7px); }
.mov .ba-svg .seg { --u: clamp(0, calc((var(--g) - var(--t)) / var(--d)), 1); transform-box: fill-box; }
.mov .ba-svg .seg.sy { transform-origin: 50% 0; transform: scaleY(var(--u)); }
.mov .ba-svg .seg.sx { transform-origin: 0 50%; transform: scaleX(var(--u)); }

.mov #ba-dia::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); }

/* the step's text, at the top left, one at a time */
.mov .ba-pasos { grid-area: pasos; display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; margin: 0; align-self: start; }
.mov .ba-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 .ba-pt small { grid-column: 1 / -1; font-size: 16px; }
.mov .ba-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 .ba-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 .ba-pt .ba-reg { margin-top: 10px; padding-top: 8px; border-top: 1px solid var(--oscuro-linea); font-weight: 500; font-size: 13px; }
.mov .ba-pt .ba-reg span { display: inline; margin-right: 8px; }
.mov #ba-dia[data-paso="0"] .ba-pt[data-k="0"], .mov #ba-dia[data-paso="1"] .ba-pt[data-k="1"], .mov #ba-dia[data-paso="2"] .ba-pt[data-k="2"], .mov #ba-dia[data-paso="3"] .ba-pt[data-k="3"], .mov #ba-dia[data-paso="4"] .ba-pt[data-k="4"] { opacity: 1; visibility: visible; translate: 0 0; pointer-events: auto; }

/* ---------- up to 1080px: the day is wider than the screen and slides past, following the playhead; lane names stay put at the left ---------- */
@media (max-width: 1080px) {
  .mov #ba-dia { --m: .8611; --R: 78px; --sh: calc(540px * var(--m)); --wh: var(--sh);
    --pan: calc((var(--sh) - var(--wh)) * (.6 * clamp(0, var(--g) - 1.5, 1) + .4 * clamp(0, var(--g) - 2.5, 1)));     /* camera down the lanes: top for steps 1 and 2, then the clearing, then the books and the centres */
    --T: clamp(calc(100vw - 1428px * var(--m)), calc(var(--R) + (100vw - var(--R)) / 2 - (200px + 50px * var(--h)) * var(--m)), calc(var(--R) - 192px * var(--m))); }
  .mov #ba-dia .fijo { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto minmax(0, 1fr); grid-template-areas: "cab" "lienzo" "pasos"; row-gap: 8px; padding-top: 68px; padding-bottom: 100px; }
  .mov .ba-cab-t { display: flex; align-items: baseline; justify-content: space-between; text-align: left; }
  .mov .ba-reloj { margin-top: 0; text-align: right; }
  .mov .ba-hora { font-size: 2.6rem; }
  .mov .ba-reloj small { display: none; }
  .mov .ba-lienzo { display: block; }
  .mov .ba-ventana { position: relative; display: block; width: 100vw; margin-inline: calc(50% - 50vw); height: var(--wh); overflow: hidden; }
  .mov .ba-ventana .ba-svg { position: absolute; left: 0; top: 0; width: calc(1440px * var(--m)); height: var(--sh); max-width: none; transform: translateX(var(--T)); translate: 0 calc(var(--pan) * -1); will-change: transform; }
  .mov .ba-svg .bd-rail { display: none; }
  .mov .ba-rail { display: block; list-style: none; margin: 0; padding: 0; position: absolute; inset: 0 auto 0 0; width: calc(var(--R) + 26px); background: linear-gradient(90deg, var(--oscuro) calc(100% - 26px), transparent); pointer-events: none; }
  .mov .ba-rail li { --lit: clamp(0, min((var(--g) - var(--k) + .1) / .6, (var(--k) + 1.1 - var(--g)) / .6), 1); position: absolute; left: 12px; top: calc(var(--yu) * 1px * var(--m)); translate: 0 calc(var(--pan) * -1); opacity: calc(.42 + .58 * var(--lit)); }
  .mov .ba-rail small { display: block; font-family: var(--f-mono); font-size: 11px; line-height: 1.2; color: var(--acento-oscuro); }
  .mov .ba-rail b { display: block; font-weight: 600; font-size: 12.5px; line-height: 1.12; letter-spacing: -.01em; }
  .mov .ba-pt { grid-template-columns: minmax(0, 1fr); gap: 6px 0; }
  .mov .ba-pt h3 { font-size: 1.65rem; }
  .mov .ba-pt p { font-size: 1.0625rem; line-height: 1.28; }
  .mov .ba-pt .ba-reg { display: none; }
  .ba-pasos { grid-template-columns: minmax(0, 1fr); }
  #pagina:not(.mov) .ba-ventana { overflow-x: auto; margin-inline: -22px; padding-inline: 22px; scrollbar-width: none; }
  #pagina:not(.mov) .ba-ventana .ba-svg { width: 1240px; max-width: none; }
}

/* =============================================================== 3. Conciliación: two lists, line by line, one that does not match */
#ba-conc { z-index: 3; }
#ba-conc .fijo { background: var(--alt); color: var(--ink); padding: clamp(84px, 11vh, 112px) max(22px, calc((100% - 1240px) / 2)) clamp(48px, 7vh, 80px); }
.bc-dentro { display: grid; grid-template-columns: minmax(0, .74fr) minmax(0, 1.26fr); gap: 32px clamp(36px, 5.4vw, 88px); align-items: stretch; }
.bc-texto { display: flex; flex-direction: column; justify-content: space-between; gap: 28px; }
.bc-cab .titulo { margin-top: 8px; max-width: 9em; font-size: clamp(2.1rem, min(3.7vw, 6.2vh), 3.5rem); }
.bc-pasos { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.bc-pt h3 { font-weight: 700; font-size: clamp(1.4rem, 2vw, 1.8rem); line-height: 1.1; letter-spacing: -.025em; }
.bc-pt p { margin-top: 8px; max-width: 26em; font-weight: 600; font-size: clamp(1.05rem, 1.35vw, 1.25rem); line-height: 1.28; letter-spacing: -.012em; color: #6E6E73; }
.bc-pt .bc-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; }
.bc-pt .bc-reg span { display: block; margin-bottom: 2px; }
.bc-listas { --rh: 58px; font-variant-numeric: tabular-nums; }
.bc-cols, .bc-par, .bc-sumas { display: grid; grid-template-columns: minmax(0, 1fr) 84px minmax(0, 1fr); }
.bc-cols { align-items: end; height: 34px; padding: 0 4px 10px; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--gris); }
.bc-pares { list-style: none; margin: 0; padding: 0; }
.bc-par { position: relative; height: var(--rh); align-items: center; }
.bc-fila { position: relative; display: flex; align-items: center; gap: 12px; height: calc(var(--rh) - 8px); padding: 0 18px; border-radius: 14px; background: var(--pagina); box-shadow: inset 0 0 0 1px var(--linea); font-size: 15.5px; }
.bc-fila .h { flex: none; font-family: var(--f-mono); font-size: 13px; color: var(--gris); }
.bc-fila .c { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 500; }
.bc-fila .v { flex: none; font-family: var(--f-mono); font-weight: 600; font-size: 15.5px; letter-spacing: -.02em; }
.vv { display: grid; }
.vv > i { grid-area: 1 / 1; font-style: normal; text-align: right; }
.bc-med { position: relative; display: grid; place-items: center; height: 100%; }
.bc-med::before { content: ""; position: absolute; left: -1px; right: -1px; top: 50%; height: 1.5px; background: color-mix(in srgb, var(--gris) 70%, transparent); }
.bc-med b { position: relative; z-index: 1; grid-area: 1 / 1; padding: 0 7px; background: var(--alt); font-family: var(--f-mono); font-weight: 500; font-size: 20px; line-height: 1; color: var(--gris); }
.bc-med .m-no { color: var(--acento); font-weight: 600; font-size: 24px; }
.bc-med .m-dif { position: absolute; z-index: 1; left: 0; right: 0; top: calc(50% + 14px); font-style: normal; text-align: center; font-family: var(--f-mono); font-weight: 600; font-size: 11.5px; color: var(--acento); }
.bc-par:not(.bc-mal) .m-no { display: none; }
.bc-mal .m-dif { display: none; }
.bc-mal .bc-may::after { content: ""; position: absolute; inset: 0; border-radius: 14px; box-shadow: inset 0 0 0 1.5px var(--acento); pointer-events: none; }
.bc-mal .m-si, .bc-mal .m-no { grid-area: 1 / 1; }
.bc-sumas { position: relative; align-items: center; margin-top: 12px; padding-top: 14px; border-top: 1px solid var(--ink); row-gap: 4px; }
.bc-suma { padding: 0 4px; }
.bc-suma small { display: block; font-size: 13px; font-weight: 600; color: var(--gris); }
.bc-suma b { display: block; font-family: var(--f-mono); font-weight: 600; font-size: clamp(1.5rem, min(2.4vw, 4.4vh), 2.1rem); line-height: 1.1; letter-spacing: -.045em; }
.bc-suma b.vv { display: grid; }
.bc-res { display: grid; place-items: center; }
.bc-res b { grid-area: 1 / 1; font-family: var(--f-mono); font-weight: 600; font-size: 26px; line-height: 1; color: var(--acento); }
.bc-dif { grid-column: 1 / -1; display: grid; justify-items: center; font-size: 15px; font-weight: 600; }
.bc-dif > span { grid-area: 1 / 1; color: #6E6E73; }
.bc-dif b { font-family: var(--f-mono); color: var(--acento); }

/* no motion: the final state, matched and corrected */
.v-mal, .m-no, .d-mal { display: none; }
.vv > .v-bien { display: block; }

/* motion on: the pinned stage; its own progress (--s) drives the lining up (--p) and the correction (--q) */
.mov #ba-conc { --p: clamp(0, calc((var(--s, 1) - .17) / .31), 1); --q: clamp(0, calc((var(--s, 1) - .55) / .22), 1); --pe: calc(var(--p) * var(--p) * (3 - 2 * var(--p))); }
.mov #ba-conc .fijo { display: grid; align-content: center; padding-bottom: 104px; 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 .bc-dentro { width: 100%; }
.mov .bc-pasos { display: grid; }
.mov .bc-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 #ba-conc[data-paso="0"] .bc-pt[data-k="0"], .mov #ba-conc[data-paso="1"] .bc-pt[data-k="1"], .mov #ba-conc[data-paso="2"] .bc-pt[data-k="2"] { opacity: 1; visibility: visible; translate: 0 0; }
.mov .bc-may { transform: translateY(calc(var(--o) * var(--rh) * (1 - var(--pe)))); will-change: transform; }
.mov .bc-med::before, .mov .bc-med b, .mov .bc-med .m-dif { opacity: clamp(0, calc((var(--p) - .8) * 5), 1); }
.mov .v-mal, .mov .m-no, .mov .d-mal { display: block; }
.mov .v-mal { color: color-mix(in srgb, var(--acento) calc(clamp(0, (var(--p) - .9) * 10, 1) * 100%), var(--ink)); opacity: clamp(0, calc(1 - var(--q) * 2), 1); }
.mov .v-bien { opacity: clamp(0, calc((var(--q) - .5) * 2.5), 1); }
.mov .bc-med .m-si { opacity: clamp(0, calc((var(--p) - .8) * 5), 1); }
.mov .bc-mal .bc-med .m-no { opacity: calc(clamp(0, (var(--p) - .8) * 5, 1) * clamp(0, 1 - var(--q) * 2.2, 1)); }
.mov .bc-mal .bc-med .m-si { opacity: calc(clamp(0, (var(--q) - .5) * 2.2, 1)); color: var(--acento); }
.mov .bc-res .m-si { opacity: clamp(0, calc((var(--q) - .5) * 2.2), 1); }
.mov .bc-res .m-no { opacity: clamp(0, calc(1 - var(--q) * 2.2), 1); }
.mov .bc-mal .m-dif { display: block; opacity: calc(clamp(0, (var(--p) - .9) * 10, 1) * clamp(0, 1 - var(--q) * 2.2, 1)); }
.mov .bc-mal .bc-may::after { opacity: calc(clamp(0, (var(--p) - .9) * 10, 1) * clamp(0, 1 - var(--q) * 1.6, 1)); }
.mov .bc-sumas .v-mal { opacity: clamp(0, calc(1 - var(--q) * 2), 1); color: inherit; }
.mov .d-mal { opacity: clamp(0, calc(1 - var(--q) * 2.4), 1); }
.mov .d-bien { opacity: clamp(0, calc((var(--q) - .5) * 2.4), 1); }

/* =============================================================== 4. three things that repeat: three panels, no cards */
.ba-dol, .ba-serv, .ba-preg { position: relative; box-sizing: border-box; padding-block: clamp(96px, 13vh, 130px) clamp(96px, 12vh, 140px); }
.ba-dol { z-index: 4; background: var(--oscuro); color: var(--oscuro-ink); border-radius: 32px 32px 0 0; box-shadow: 0 -30px 60px -30px rgba(0, 0, 0, 0.5); }
.ba-serv { z-index: 5; margin-top: -32px; background: var(--pagina); color: var(--ink); border-radius: 32px 32px 0 0; box-shadow: 0 -22px 44px -30px rgba(0, 0, 0, 0.3); }
.ba-preg { z-index: 6; margin-top: -32px; background: var(--alt); 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 .ba-dol, .mov .ba-serv, .mov .ba-preg { min-height: 100vh; min-height: 100svh; display: grid; grid-template-columns: minmax(0, 1fr); align-content: center; }
.mov .ba-dol, .mov .ba-serv { min-height: calc(100vh + 32px); min-height: calc(100svh + 32px); padding-bottom: 150px; }   /* the next sheet covers the last 32px */
.ba-dol-cab { padding-inline: max(22px, calc((100% - 1240px) / 2)); }
.ba-dol-cab .titulo, .ba-seccion .titulo { margin: 10px 0 clamp(24px, 4.4vh, 48px); max-width: 15em; font-size: clamp(2rem, min(3.8vw, 6.2vh), 3.4rem); }
.ba-carril.carril { overflow: visible; scroll-snap-type: none; }
.ba-carril .fila { width: auto; max-width: 1240px; margin-inline: auto; padding-inline: 22px; box-sizing: border-box; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; }
.ba-panel { --e: clamp(0, calc(var(--v, 1) * 2.4 - var(--i, 0) * .25), 1); display: flex; flex-direction: column; justify-content: space-between; gap: 22px; padding: 4px clamp(20px, 2.6vw, 40px) 4px; border-left: 1px solid var(--oscuro-linea); opacity: var(--e); transform: translateY(calc((1 - var(--e)) * 40px)); }
.ba-panel:first-child { padding-left: 0; border-left: 0; }
.ba-panel:last-child { padding-right: 0; }
.ba-dib { display: block; width: 100%; height: auto; }
.ba-pn small { display: block; font-size: 15px; font-weight: 600; color: var(--acento-oscuro); }
.ba-pn p { margin-top: 8px; font-weight: 600; font-size: clamp(1.2rem, 1.75vw, 1.6rem); line-height: 1.18; letter-spacing: -.022em; }
.ba-dib { --ink-l: color-mix(in srgb, var(--oscuro-ink) 40%, transparent); }
.ba-dib .ln { fill: none; stroke: var(--ink-l); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.ba-dib .dash { stroke-dasharray: 4 4; }
.ba-dib .ac-s { fill: none; stroke: var(--acento-oscuro); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.ba-dib .ac-f, .ba-dib .ac-t { fill: var(--acento-oscuro); }
.ba-dib .fl { fill: color-mix(in srgb, var(--oscuro-ink) 6%, var(--oscuro)); stroke: color-mix(in srgb, var(--oscuro-ink) 36%, transparent); stroke-width: 1.4; stroke-linejoin: round; }
.ba-dib .pn { fill: color-mix(in srgb, var(--oscuro-ink) 8%, var(--oscuro)); stroke: color-mix(in srgb, var(--oscuro-ink) 28%, transparent); stroke-width: 1.2; }
.ba-dib .pn.ac-s { stroke: var(--acento-oscuro); stroke-width: 1.4; }
.ba-dib .hoja { fill: color-mix(in srgb, var(--oscuro-ink) 7%, var(--oscuro)); stroke: color-mix(in srgb, var(--oscuro-ink) 26%, transparent); stroke-width: 1.2; }
.ba-dib .bl { fill: color-mix(in srgb, var(--oscuro-ink) 24%, transparent); }
.ba-dib .resalte { fill: color-mix(in srgb, var(--acento-oscuro) 14%, transparent); stroke: var(--acento-oscuro); stroke-width: 1.2; }
.ba-dib .tx { fill: var(--oscuro-ink); font-weight: 600; letter-spacing: -.01em; }
.ba-dib .tg { fill: var(--oscuro-gris); font-weight: 500; }
.ba-dib .cp { fill: var(--oscuro-gris); font-size: 12.5px; font-weight: 600; letter-spacing: .09em; }
.ba-dib .tm { font-family: var(--f-mono); fill: var(--oscuro-ink); font-weight: 500; }
.ba-dib .tm.tg { fill: var(--oscuro-gris); }
.ba-dib .tb { font-weight: 600; }

/* =============================================================== 5. services: an index, each with the drawing of what it does here */
.ba-indice { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--linea); }
.ba-ix { --e: clamp(0, calc(var(--v, 1) * 2.4 - var(--i, 0) * .25), 1); border-top: 1px solid var(--linea); opacity: var(--e); transform: translateY(calc((1 - var(--e)) * 36px)); }
.ba-ix a { display: grid; grid-template-columns: 56px minmax(0, 1fr) minmax(0, 330px) 52px; align-items: center; gap: 0 clamp(18px, 2.6vw, 44px); padding: clamp(14px, 2.5vh, 26px) 0; color: inherit; text-decoration: none; }
.ba-ix-n { align-self: start; padding-top: 10px; font-family: var(--f-mono); font-size: 15px; color: var(--gris); }
.ba-ix-t b { display: block; font-weight: 700; font-size: clamp(1.6rem, min(2.9vw, 4.8vh), 2.6rem); line-height: 1.05; letter-spacing: -.03em; transition: color .3s var(--ease); }
.ba-ix-t > span { display: block; margin-top: 8px; max-width: 33em; font-size: clamp(1rem, 1.3vw, 1.15rem); line-height: 1.36; color: #6E6E73; }
.ba-sd { display: block; width: 100%; height: auto; }
.ba-sd .ln { fill: none; stroke: #86868B; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.ba-sd .dash { stroke-dasharray: 4 4; }
.ba-sd .bx { fill: var(--alt); stroke: var(--linea); stroke-width: 1.2; }
.ba-sd .bx.dash { fill: none; stroke: #86868B; }
.ba-sd .bx.ac { stroke: var(--acento); stroke-width: 1.5; }
.ba-sd .chp { fill: #FFFFFF; stroke: var(--linea); stroke-width: 1.2; }
.ba-sd .tx { fill: var(--ink); font-weight: 600; letter-spacing: -.01em; }
.ba-sd .tg { fill: var(--gris); font-weight: 500; }
.ba-sd .tm { font-family: var(--f-mono); font-weight: 500; }
.ba-sd .tb { font-weight: 600; }
.ba-sd .ac-s { fill: none; stroke: var(--acento); stroke-width: 1.6; stroke-linecap: round; }
.ba-sd .ac-f, .ba-sd .ac-t { fill: var(--acento); }
.ba-ix-f { display: grid; place-items: center; justify-self: end; width: 44px; height: 44px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--linea); transition: background-color .3s var(--ease), box-shadow .3s var(--ease), translate .3s var(--ease); }
.ba-ix-f::before { content: ""; width: 9px; height: 9px; margin-right: 3px; border-top: 1.8px solid currentColor; border-right: 1.8px solid currentColor; transform: rotate(45deg); }
@media (hover: hover) {
  .ba-ix a:hover .ba-ix-t b { color: var(--acento); }
  .ba-ix a:hover .ba-ix-f { background: var(--acento); box-shadow: none; color: #FFFFFF; translate: 4px 0; }
}
.ba-ix a:focus-visible { outline-offset: -2px; border-radius: 12px; }

/* =============================================================== 6. questions: a ledger of two entries, question and answer */
.bp-dentro { display: grid; gap: clamp(26px, 4.6vh, 52px); padding-inline: max(22px, calc((100% - 1240px) / 2)); }
.bp-cab .titulo { margin-top: 10px; max-width: 12em; font-size: clamp(2.2rem, min(4.6vw, 7.4vh), 4.2rem); line-height: 1.04; }
.bp-cols, .bp-as { display: grid; grid-template-columns: 64px minmax(0, 1fr) minmax(0, 1fr); }
.bp-cols { padding: 0 0 12px; border-bottom: 1px solid var(--ink); font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--gris); }
.bp-cols span:first-child { grid-column: 2; }
.bp-cols span:last-child { padding-left: clamp(24px, 3.4vw, 52px); }
.bp-as { --e: clamp(0, calc(var(--v, 1) * 2.4 - var(--i, 0) * .25), 1); border-bottom: 1px solid var(--linea); opacity: var(--e); transform: translateY(calc((1 - var(--e)) * 36px)); }
.bp-n { padding-top: calc(clamp(22px, 4vh, 40px) + .5em); font-family: var(--f-mono); font-size: 15px; color: var(--acento); }
.bp-as h3 { padding-block: clamp(22px, 4vh, 40px); padding-right: clamp(24px, 3.4vw, 52px); font-weight: 700; font-size: clamp(1.5rem, min(2.5vw, 4.2vh), 2.3rem); line-height: 1.1; letter-spacing: -.026em; text-wrap: balance; }
.bp-r { padding-block: clamp(22px, 4vh, 40px); padding-left: clamp(24px, 3.4vw, 52px); border-left: 1px solid var(--linea); font-size: clamp(1.05rem, 1.5vw, 1.3rem); line-height: 1.4; color: #6E6E73; }
.mov .serv-cierre { position: sticky; bottom: 0; z-index: 0; }

/* =============================================================== phones */
@media (max-width: 820px) {
  /* hero */
  #ba-hero { padding-top: clamp(84px, 11vh, 98px); }
  .ba-tabla { table-layout: fixed; }
  .ba-hero .enlace { display: none; }
  .ba-no, .ba-th-no { width: 0; padding: 0; border: 0; font-size: 0; overflow: hidden; }   /* the asiento column keeps its place (the sums row spans it) but has no width */
  .ba-no b, .ba-no span, .ba-th-no::before { display: none; }
  .ba-tabla thead .ba-th-no { font-size: 0; letter-spacing: 0; line-height: 0; }
  .ba-ref { display: block; margin-top: 1px; font-family: var(--f-mono); font-size: 9.5px; line-height: 1.2; letter-spacing: -.02em; color: #86868B; }
  .ba-cta { display: none; }
  .ba-hero-dentro { grid-template-columns: minmax(0, 1fr); gap: 10px; align-items: start; }
  .ba-hero-cab, .ba-hero-lado { grid-column: 1; padding: 0; }
  .ba-hero-lado { flex-direction: column; align-items: flex-start; gap: 10px; }
  .ba-libro { grid-template-columns: minmax(0, 1fr); }
  .ba-libro figcaption { text-align: left; }
  .ba-libro { row-gap: 6px; }
  .ba-hero h1 { max-width: none; font-size: clamp(2.2rem, 10.4vw, 2.7rem); }
  .ba-ceja { margin-bottom: 8px; font-size: 16px; }
  .ba-sub { font-size: 1.05rem; line-height: 1.24; }
  .ba-hero .acciones { margin-top: 12px; gap: 4px 20px; }
  .ba-aval { display: none; }
  .mov #ba-hero { display: block; height: 100vh; height: 100svh; padding-top: 84px; }
  .ba-hoja { padding: 0 14px; border-radius: 10px; }
  .ba-tabla thead th { height: 28px; font-size: 10.5px; letter-spacing: .06em; }
  .ba-tabla .n { width: 29%; }
  .ba-tabla td.n { padding-right: 10px; }
  .ba-tabla thead .n { padding-right: 10px; }
  .ba-as td { height: 28px; font-size: 12px; line-height: 1.15; }
  .ba-as td.n { font-size: 12.5px; letter-spacing: -.04em; vertical-align: top; padding-top: 10px; }
  .ba-as tr:first-child td { height: 40px; padding-top: 5px; vertical-align: top; }
  .ba-as tr:first-child td.n { padding-top: 6px; }
  .ba-as tr:last-child td { height: 30px; padding-bottom: 6px; }
  .ba-as tr:last-child td.n { padding-top: 4px; }
  .ba-as .ba-a { padding-left: 12px; }
  .ba-as .ba-a::before { margin-right: 6px; }
  .ba-sumas-t { font-size: 12px; }
  .ba-dif { font-size: 10.5px; }
  .ba-suma { font-size: .94rem; letter-spacing: -.06em; }
  .ba-sumas td.n { padding-right: 8px; }
  .ba-igual { top: 7px; width: 20px; font-size: 14px; transform: translate(-50%, 0); }
  .ba-libro figcaption { margin-top: 6px; font-size: 11px; }
  /* the day */
  .ba-pt h3 { font-size: 1.5rem; }
  /* conciliación */
  .bc-dentro { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .mov #ba-conc .fijo { align-content: start; padding-top: 70px; padding-bottom: 100px; }
  .bc-texto { display: contents; }
  .bc-cab { order: 0; }
  .bc-listas { order: 1; --rh: 52px; }
  .bc-pasos { order: 2; }
  #ba-conc .etiqueta { font-size: 17px; }
  .bc-cab .titulo { margin-top: 4px; max-width: none; font-size: 1.75rem; line-height: 1.06; }
  .bc-cols, .bc-par, .bc-sumas { grid-template-columns: minmax(0, 1fr) 26px minmax(0, 1fr); }
  .bc-cols { height: 24px; padding-bottom: 6px; font-size: 10px; letter-spacing: .06em; }
  .bc-cols span:nth-child(3) { text-align: left; }
  .bc-fila { display: grid; align-content: center; gap: 0; padding: 0 10px; border-radius: 11px; }
  .bc-fila .h { display: none; }
  .bc-fila .c { font-size: 11.5px; color: var(--gris); }
  .bc-fila .v { font-size: 14px; }
  .bc-mal .bc-may::after { border-radius: 11px; }
  .bc-med b { padding: 0 1px; font-size: 14px; }
  .bc-med .m-no { font-size: 16px; }
  .bc-med .m-dif { display: none !important; }
  .bc-sumas { margin-top: 8px; padding-top: 10px; }
  .bc-suma { padding: 0 2px; }
  .bc-suma small { font-size: 11px; }
  .bc-suma b { font-size: 1.15rem; letter-spacing: -.06em; }
  .bc-res b { font-size: 18px; }
  .bc-dif { font-size: 12.5px; }
  .bc-pt h3 { font-size: 1.35rem; }
  .bc-pt p { font-size: 1rem; line-height: 1.28; }
  .bc-pt .bc-reg { display: none; }
  /* three panels as cards you swipe through */
  .ba-dol-cab .titulo, .ba-seccion .titulo { font-size: 2rem; }
  .ba-carril.carril { overflow-x: auto; scroll-snap-type: x mandatory; }
  .ba-carril .fila { display: flex; width: max-content; max-width: none; gap: 12px; padding-inline: 22px; margin-inline: 0; }
  .ba-panel, .ba-panel:first-child, .ba-panel:last-child { flex: none; width: min(80vw, 330px); scroll-snap-align: start; scroll-margin-inline: 22px; padding: 18px 18px 22px; border: 1px solid var(--oscuro-linea); border-radius: 24px; }
  .ba-pn p { font-size: 1.15rem; }
  /* services: cards you swipe through, the drawing first */
  .ba-indice.carril { display: flex; gap: 12px; margin-inline: -22px; padding-inline: 22px; border-bottom: 0; overflow-x: auto; scroll-snap-type: x mandatory; }
  .ba-ix { flex: none; width: min(80vw, 330px); scroll-snap-align: start; scroll-margin-inline: 22px; border: 1px solid var(--linea); border-radius: 24px; background: var(--alt); }
  .ba-ix a { grid-template-columns: minmax(0, 1fr) 40px; gap: 14px 10px; padding: 18px 18px 20px; align-items: start; }
  .ba-ix-n { display: none; }
  .ba-ix .ba-sd { grid-column: 1 / -1; grid-row: 1; }
  .ba-ix-t { grid-column: 1; grid-row: 2; }
  .ba-ix-t b { font-size: 1.4rem; }
  .ba-ix-t > span { font-size: .95rem; margin-top: 6px; }
  .ba-ix-f { grid-column: 2; grid-row: 2; width: 40px; height: 40px; }
  /* questions */
  .bp-cols { grid-template-columns: minmax(0, 1fr); }
  .bp-cols span:first-child { grid-column: 1; }
  .bp-cols span:last-child { display: none; }
  .bp-as { grid-template-columns: 34px minmax(0, 1fr); gap: 0; }
  .bp-n { padding-top: calc(20px + .35em); font-size: 13px; }
  .bp-as h3 { padding-block: 20px 8px; font-size: 1.3rem; padding-right: 0; }
  .bp-r { grid-column: 2; padding-block: 0 20px; padding-left: 0; border-left: 0; font-size: 1.0625rem; }
  .bp-cab .titulo { font-size: 2.3rem; }
  .ba-dol, .ba-serv, .ba-preg { padding-block: 92px 84px; }
}
/* short laptop screens: the index of services keeps its three rows inside one screen */
@media (min-width: 821px) and (max-height: 780px) {
  .mov .ba-serv { padding-top: 84px; }
  .ba-ix a { padding-block: 9px; }
  .ba-ix-t > span { margin-top: 4px; }
  .ba-ix a { grid-template-columns: 56px minmax(0, 1fr) minmax(0, 270px) 52px; }
  .ba-seccion .titulo { margin-bottom: 18px; }
}
@media (max-height: 640px) { .ba-hero .avales { display: none; } }
@media (prefers-reduced-motion: reduce) { .ba-svg *, .ba-panel, .ba-ix { transition: none !important; } }

/* =============================================================== phones whose screen is shorter than the glass
   Safari gives the page about 700px of an 844px phone (739 with its bars away). Everything here is a continuous function of 100svh,
   so it equals the 844px layout at 844 and tightens below it, with no height threshold that could flip while the bars slide.
   The stage keeps its drawing at the same legible scale and pans down the lanes instead of shrinking. */
@supports (height: 100svh) {
  @media (max-width: 1080px) {
    .mov #ba-dia { --wh: clamp(300px, calc(100svh - 380px), var(--sh)); --borde: clamp(0px, calc(var(--sh) - var(--wh)), 20px); }
    .mov .ba-ventana { -webkit-mask-image: linear-gradient(180deg, transparent, #000 calc(var(--borde) * .4), #000 calc(100% - var(--borde)), transparent); mask-image: linear-gradient(180deg, transparent, #000 calc(var(--borde) * .4), #000 calc(100% - var(--borde)), transparent); }
    .mov #ba-dia .fijo { padding-top: clamp(58px, calc(68px + (100svh - 844px) * .07), 68px); row-gap: clamp(4px, calc(8px + (100svh - 844px) * .03), 8px); }
    .mov .ba-hora { font-size: clamp(2rem, calc(2.6rem + (100svh - 844px) * .0042), 2.6rem); }
    .mov .ba-pt h3 { font-size: clamp(1.35rem, calc(1.65rem + (100svh - 844px) * .002), 1.65rem); }
    .mov .ba-pt p { font-size: clamp(.95rem, calc(1.0625rem + (100svh - 844px) * .0008), 1.0625rem); }
  }
  @media (max-width: 820px) {
    /* hero: the whole ledger, with the two sums, stays on screen */
    .mov #ba-hero { padding-top: clamp(60px, calc(84px + (100svh - 844px) * .17), 84px); }
    .ba-hero h1 { font-size: clamp(2.2rem, min(10.4vw, calc(2.54rem + (100svh - 844px) * .0024)), 2.7rem); }
    .ba-sub { font-size: clamp(.95rem, calc(1.05rem + (100svh - 844px) * .0007), 1.05rem); }
    .ba-hero-dentro { gap: clamp(6px, calc(10px + (100svh - 844px) * .03), 10px); }
    .ba-as tr:first-child td { height: clamp(32px, calc(32px + (100svh - 700px) * .111), 48px); }
    .ba-as tr:last-child td { height: clamp(28px, calc(28px + (100svh - 700px) * .055), 36px); }
    /* conciliación: rows, title and text tighten so the closing sentence clears the contact button */
    .mov #ba-conc .fijo { padding-top: clamp(58px, calc(70px + (100svh - 844px) * .08), 70px); }
    .bc-dentro { gap: clamp(8px, calc(14px + (100svh - 844px) * .04), 14px); }
    .bc-listas { --rh: clamp(40px, calc(52px + (100svh - 844px) * .083), 52px); }
    .bc-cab .titulo { font-size: clamp(1.4rem, calc(1.75rem + (100svh - 844px) * .0024), 1.75rem); }
    .bc-fila .c, .bc-fila .v { line-height: 1.15; }
    .bc-pt h3 { font-size: clamp(1.2rem, calc(1.35rem + (100svh - 844px) * .001), 1.35rem); }
    .bc-pt p { font-size: clamp(.92rem, calc(1rem + (100svh - 844px) * .0006), 1rem); }
  }
}
/* the closing block keeps clear of the top bar on a short phone: less padding underneath moves its content down */
@media (max-width: 820px) { .serv-cierre { padding-bottom: clamp(64px, 10vh, 110px); } }
