/* Páginas de casos: se apoyan en /styles.css y suman sólo lo propio. */

/* La barra no espera a la intro de la home. */
.anim body.sub .bar .wrap { opacity: 1; }
.sub .bar nav a[aria-current="page"] { color: var(--ink); }

.c-section { position: relative; padding: clamp(80px, 9vw, 130px) 0; }
.c-section .h2 { font-size: clamp(2.4rem, 5.6vw, 4.8rem); }
.c-head { max-width: 760px; }
.c-head.center { margin-inline: auto; }
.c-head .lead { max-width: 46ch; margin-top: 24px; }
.c-head.center .lead { margin-inline: auto; }

/* Migas */
.crumbs ol { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0; padding: 0; color: var(--faint); font-size: .8rem; list-style: none; }
.crumbs li { display: flex; align-items: center; gap: 8px; }
.crumbs li + li::before { content: "/"; color: #3a414c; }
.crumbs a { color: var(--muted); transition: color 200ms; }
.crumbs a:hover { color: var(--ink); }
.crumbs [aria-current] { color: #c6cdd7; }

/* Hero del caso */
.c-hero { position: relative; display: grid; align-content: center; min-height: 100vh; min-height: 100svh; padding: 96px 0 48px; text-align: center; }
.c-hero h1 { display: grid; justify-items: center; gap: 22px; margin-top: clamp(22px, 4vh, 40px); }
.c-hero__kicker { color: var(--blue-2); font-size: .74rem; font-weight: 700; letter-spacing: .2em; line-height: 1.6; text-transform: uppercase; text-wrap: balance; }
.c-hero__big { display: block; font-size: clamp(3rem, 7.4vw, 6.8rem); letter-spacing: -.055em; line-height: .96; text-shadow: 0 0 60px rgba(5, 7, 10, .85), 0 0 18px rgba(5, 7, 10, .6); }
.c-hero .lead { max-width: 46ch; margin: 26px auto 0; text-shadow: 0 0 24px rgba(5, 7, 10, .95); }
.c-hero .actions { margin-top: 26px; }
.c-by { margin: 22px 0 0; color: var(--faint); font-size: .84rem; }
.c-by b { color: var(--muted); font-weight: 700; }

/* Ficha del caso */
.c-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: 1000px; margin: clamp(36px, 6vh, 64px) auto 0; padding: 0; border: 1px solid var(--line); border-radius: 22px; background: rgba(13, 17, 23, .72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); text-align: left; }
.c-facts > div { padding: 20px 24px; border-left: 1px solid var(--line); }
.c-facts > div:first-child { border-left: 0; }
.c-facts dt { color: var(--faint); font-size: .7rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.c-facts dd { margin: 8px 0 0; color: var(--ink); font-size: 1rem; font-weight: 700; letter-spacing: -.01em; line-height: 1.3; }
.c-facts dd small { display: block; margin-top: 2px; color: var(--muted); font-size: .84rem; font-weight: 400; }

/* Prueba en el hero: el resultado de las facturas */
.c-proof { display: inline-flex; align-items: center; gap: 16px; margin: 28px auto 0; padding: 9px 24px 9px 9px; border: 1px solid rgba(138, 168, 255, .28); border-radius: 999px; background: rgba(12, 18, 31, .74); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 24px 60px -30px rgba(74, 122, 255, .65); text-align: left; transition: border-color 300ms; }
.c-proof:hover { border-color: rgba(138, 168, 255, .6); }
.c-proof__tag { display: inline-flex; align-items: center; gap: 7px; padding: 9px 14px; border-radius: 999px; background: var(--blue-soft); color: #dbe4ff; font-size: .78rem; font-weight: 700; white-space: nowrap; }
.c-proof__tag i { color: var(--blue-2); font-size: 1rem; }
.c-proof small { display: block; margin-bottom: 3px; color: var(--faint); font-size: .58rem; font-weight: 700; letter-spacing: .16em; line-height: 1.2; text-transform: uppercase; }
.c-proof__was s { color: #7d8592; font-size: 1rem; font-weight: 700; text-decoration-color: rgba(255, 120, 100, .75); text-decoration-thickness: 2px; white-space: nowrap; }
.c-proof__arrow { color: var(--blue-2); font-size: 1.1rem; }
.c-proof__now { color: #fff; font-size: 1.55rem; font-weight: 700; letter-spacing: -.045em; line-height: 1; }
.c-proof__now small { letter-spacing: .16em; }

/* Módulos del sistema */
.c-mods { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 20px); margin: clamp(48px, 7vw, 80px) 0 0; padding: 0; list-style: none; }
.c-mod { position: relative; display: grid; grid-template-rows: auto auto 1fr; padding: 12px 12px 22px; border: 1px solid var(--line); border-radius: 24px; background: linear-gradient(180deg, #0f141b, #0a0d12); transition: border-color 400ms, translate 500ms var(--ease); }
.c-mod:hover { border-color: rgba(138, 168, 255, .3); translate: 0 -4px; }
.c-mod--ai { border-color: rgba(74, 122, 255, .36); background: radial-gradient(90% 60% at 50% 0%, rgba(74, 122, 255, .16), transparent 70%), linear-gradient(180deg, #101829, #0a0f19); box-shadow: 0 30px 80px -50px rgba(74, 122, 255, .6); }
.c-mod__vis { display: grid; align-content: center; gap: 7px; height: 152px; padding: 14px; overflow: hidden; border: 1px solid rgba(255, 255, 255, .06); border-radius: 16px; background: #080b10; color: #c6cdd7; font-size: .74rem; font-variant-numeric: tabular-nums; }
.c-mod h3 { display: flex; align-items: center; gap: 10px; margin: 20px 8px 0; font-size: 1.16rem; letter-spacing: -.025em; line-height: 1.15; }
.c-mod h3 > i { flex: none; color: var(--blue-2); font-size: 1.25rem; }
.c-mod p { margin: 8px 8px 0; color: var(--muted); font-size: .9rem; line-height: 1.5; }
.c-mod__ai { position: relative; z-index: 3; margin-left: auto; padding: 3px 9px; border: 1px solid rgba(90, 212, 137, .35); border-radius: 999px; color: var(--ok); font-size: .64rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; transition: background 300ms; }
.c-mod__ai:hover { background: rgba(90, 212, 137, .12); }

.m-row { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.m-row span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.m-row b { color: var(--ink); font-weight: 700; white-space: nowrap; }
.m-row em { color: var(--faint); font-style: normal; }
.m-pos .m-row { padding-bottom: 8px; border-bottom: 1px dashed #1e252e; }
.m-pos__tot { display: flex; align-items: center; gap: 8px; margin-top: 4px; }
.m-pos__tot span { color: var(--faint); font-size: .6rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.m-pos__tot b { font-size: 1.05rem; letter-spacing: -.02em; }
.m-pos__tot i { margin-left: auto; padding: 6px 13px; border-radius: 999px; background: var(--blue); color: #fff; font-size: .72rem; font-style: normal; font-weight: 700; box-shadow: 0 8px 20px rgba(74, 122, 255, .35); }
.m-cajas { grid-template-columns: 1fr 1fr; gap: 8px; }
.m-cajas span { display: grid; gap: 4px; padding: 10px 11px; border: 1px solid #1b222b; border-radius: 11px; background: #0d1117; }
.m-cajas em { color: var(--faint); font-size: .6rem; font-style: normal; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.m-cajas b { display: flex; align-items: center; gap: 7px; color: #c6f3d8; font-size: .8rem; }
.m-cajas b::before { width: 7px; height: 7px; flex: none; content: ""; border-radius: 50%; background: var(--ok); animation: livepulse 2s infinite; }
.m-cajas .is-closing b { color: #ffd59a; }
.m-cajas .is-closing b::before { background: #ffb547; animation: none; }
@keyframes livepulse { 0% { box-shadow: 0 0 0 0 rgba(90, 212, 137, .55); } 70%, 100% { box-shadow: 0 0 0 7px rgba(90, 212, 137, 0); } }
.m-stock small { color: var(--faint); font-size: .6rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.m-stock div { display: grid; grid-template-columns: 40px 1fr 22px; align-items: center; gap: 10px; color: var(--muted); }
.m-stock i { position: relative; height: 7px; border-radius: 4px; background: #161c25; }
.m-stock i::after { position: absolute; inset: 0; content: ""; border-radius: inherit; background: linear-gradient(90deg, var(--blue), var(--blue-2)); box-shadow: 0 0 10px rgba(74, 122, 255, .45); transform: scaleX(var(--v)); transform-origin: left; }
.m-stock b { color: var(--ink); text-align: right; }
.m-flow { gap: 8px; }
.m-flow span { display: flex; align-items: center; gap: 9px; padding: 9px 11px; border: 1px solid #1b222b; border-radius: 11px; background: #0d1117; font-size: .78rem; white-space: nowrap; }
.m-flow span i { display: grid; place-items: center; width: 18px; height: 18px; flex: none; border-radius: 50%; background: rgba(90, 212, 137, .14); color: var(--ok); font-size: .7rem; }
.m-flow .is-ai { border-color: rgba(74, 122, 255, .42); background: var(--blue-soft); color: #dbe4ff; }
.m-flow .is-ai i { background: rgba(138, 168, 255, .18); color: var(--blue-2); }
.m-cc .m-row { padding-bottom: 8px; border-bottom: 1px solid #161c24; }
.m-cc .m-neg { color: #9fe3bb; }
.m-cc .m-row--tot { padding: 2px 0 0; border-bottom: 0; }
.m-row--tot span { display: flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 700; }
.m-row--tot em { display: inline-flex; align-items: center; gap: 4px; padding: 2px 7px; border: 1px solid rgba(255, 181, 71, .3); border-radius: 999px; color: #ffd59a; font-size: .62rem; font-weight: 700; }
.m-row--tot b { font-size: .95rem; }
.m-price div { display: grid; grid-template-columns: 44px 1fr auto 1fr; align-items: center; gap: 8px; padding: 9px 11px; border: 1px solid #1b222b; border-radius: 11px; background: #0d1117; }
.m-price span { color: var(--faint); font-size: .6rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.m-price s { color: #6b7380; text-align: right; }
.m-price div i { color: var(--blue-2); }
.m-price b { color: var(--ink); }
.m-price em { display: inline-flex; justify-self: start; align-items: center; gap: 6px; margin-top: 2px; padding: 6px 12px; border-radius: 999px; background: var(--blue); color: #fff; font-size: .72rem; font-style: normal; font-weight: 700; box-shadow: 0 8px 20px rgba(74, 122, 255, .35); }
.m-label { place-items: center; }
.m-label__tag { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; width: min(210px, 100%); padding: 12px 14px 12px 20px; overflow: hidden; border-radius: 8px; background: linear-gradient(180deg, #fbf7e6, #efe9d2); color: #14181f; box-shadow: 0 18px 40px -16px rgba(0, 0, 0, .95); rotate: -2deg; }
.m-label__tag::before { position: absolute; inset: 0 auto 0 0; width: 6px; content: ""; background: var(--blue); }
.m-label__tag small { grid-column: 1 / -1; font-size: .62rem; font-weight: 700; letter-spacing: .08em; }
.m-label__tag span { grid-column: 1; grid-row: 2; color: #5a6270; font-size: .66rem; }
.m-label__tag b { grid-column: 2; grid-row: 2 / 4; align-self: end; font-size: 1.7rem; letter-spacing: -.045em; line-height: 1; }
.m-label__tag sup { font-size: .5em; vertical-align: .7em; }
.m-label__bars { grid-column: 1; grid-row: 3; height: 20px; background: repeating-linear-gradient(90deg, #14181f 0 2px, transparent 2px 4px, #14181f 4px 5px, transparent 5px 8px, #14181f 8px 11px, transparent 11px 12px); }
.m-acc { gap: 0; }
.m-acc .m-row { justify-content: flex-start; padding: 7px 0; border-bottom: 1px solid #161c24; }
.m-acc .m-row:last-child { border-bottom: 0; }
.m-acc .m-row:last-child span { padding-left: 14px; }
.m-acc .m-row b { margin-left: auto; }
.m-acc .m-row em { width: 14px; color: var(--blue-2); font-weight: 700; text-align: center; }

.c-more { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 16px; margin-top: clamp(28px, 4vw, 44px); }
.c-more > span { color: var(--faint); font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.c-more .mods { justify-content: center; margin: 0; }
.c-mods__hint { display: none; }
.c-mods__note { margin: 18px 0 0; color: var(--faint); font-size: .78rem; text-align: center; }

/* Destacado: facturas con IA */
.c-ai::before { position: absolute; top: 0; left: 50%; width: min(1100px, 90%); height: 1px; content: ""; background: linear-gradient(90deg, transparent, rgba(138, 168, 255, .45), transparent); translate: -50% 0; }
.c-ai__tag { display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 7px 14px; border: 1px solid rgba(138, 168, 255, .3); border-radius: 999px; background: var(--blue-soft); color: #dbe4ff; font-size: .74rem; font-weight: 700; letter-spacing: .06em; }
.c-ai__tag i { color: var(--blue-2); font-size: 1rem; }
.c-ai .h2 { margin-top: 22px; }
.c-section--tight { padding-top: clamp(40px, 5vw, 70px); }

/* Antes y ahora */
.c-vs { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(18px, 2.4vw, 32px); margin-top: clamp(48px, 7vw, 80px); }
.c-side { position: relative; display: grid; grid-template-rows: auto 1fr; gap: 34px; padding: clamp(26px, 3.4vw, 44px); overflow: hidden; border: 1px solid var(--line); border-radius: 30px; background: linear-gradient(170deg, #10141b, #0a0d12); }
.c-side--now { border-color: rgba(74, 122, 255, .32); background: radial-gradient(90% 70% at 85% 0%, rgba(74, 122, 255, .16), transparent 62%), linear-gradient(170deg, #101829, #0a0f19); box-shadow: 0 40px 100px -50px rgba(74, 122, 255, .45); }
.c-tag { justify-self: start; display: inline-flex; align-items: center; gap: 7px; padding: 5px 11px; border: 1px solid rgba(255, 120, 100, .25); border-radius: 999px; background: #2a1414; color: #ff9b8a; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.c-side--now .c-tag { border-color: rgba(90, 212, 137, .3); background: rgba(90, 212, 137, .1); color: var(--ok); }
.c-side h3 { margin-top: 18px; font-size: clamp(2.6rem, 5.4vw, 4.6rem); letter-spacing: -.055em; }
.c-side--before h3 { color: #c3c9d2; }
.c-side p { max-width: 34ch; margin: 16px 0 0; color: var(--muted); font-size: 1.05rem; }

/* Antes: carga manual, renglón por renglón */
.old { align-self: end; padding: 0 0 16px; overflow: hidden; border: 1px solid #232a33; border-radius: 16px; background: #0c0f13; filter: saturate(.3); }
.old__bar { display: flex; align-items: center; gap: 6px; padding: 11px 14px; border-bottom: 1px solid #1d232b; }
.old__bar i { width: 8px; height: 8px; border-radius: 50%; background: #2b323c; }
.old__bar span { margin-left: 8px; color: var(--faint); font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.old__grid { display: grid; grid-template-columns: 2.6fr 1fr 1.2fr; gap: 9px 12px; padding: 14px 16px 4px; }
.old__h { color: var(--faint); font-size: .62rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.old__c { height: 22px; border: 1px solid #222932; border-radius: 6px; background: #11151b; }
.old__c > i { display: block; width: var(--w, 70%); height: 6px; margin: 7px 8px; border-radius: 3px; background: #343c47; }
.old__c--typing { border-color: #48505c; }
.old__c--typing > i { position: relative; width: 0; animation: typeline 4.6s steps(14) infinite; }
.old__c--typing > i::after { position: absolute; top: -4px; right: -4px; width: 1.5px; height: 14px; content: ""; background: #c3c9d2; animation: caret 1s steps(1) infinite; }
.old__c--empty { border-style: dashed; background: transparent; }
@keyframes typeline { 0% { width: 0; } 70%, 100% { width: 64%; } }
@keyframes caret { 50% { opacity: 0; } }
.old__foot { display: flex; align-items: center; gap: 8px; margin: 12px 16px 0; padding-top: 12px; border-top: 1px dashed #262d36; color: #8c94a0; font-size: .82rem; }
.old__foot i { font-size: 1.05rem; }

/* Ahora: borrador listo para validar */
.new { align-self: end; overflow: hidden; border: 1px solid rgba(138, 168, 255, .22); border-radius: 16px; background: linear-gradient(180deg, #111a2c, #0b111c); }
.new__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 16px; border-bottom: 1px solid rgba(138, 168, 255, .14); }
.new__top span:first-child { display: flex; align-items: center; gap: 7px; color: var(--muted); font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.new__top span:first-child i { color: var(--blue-2); font-size: 1rem; }
.new__pill { padding: 3px 9px; border: 1px solid rgba(90, 212, 137, .3); border-radius: 999px; color: var(--ok); font-size: .68rem; font-weight: 700; white-space: nowrap; }
.new__row { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid rgba(138, 168, 255, .1); font-size: .9rem; }
.new__row:last-child { border-bottom: 0; }
.new__row span { color: var(--muted); }
.new__row b { margin-left: auto; font-weight: 700; }
.new__row i { color: var(--ok); font-size: 1.1rem; }

/* Cómo funciona */
.c-steps { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 1.8vw, 24px); margin: clamp(56px, 7vw, 90px) 0 0; padding: 0; list-style: none; --fill: 1; }
.c-steps::before, .c-steps::after { position: absolute; top: 27px; left: 28px; right: 28px; height: 2px; content: ""; border-radius: 2px; background: var(--line); }
.c-steps::after { background: linear-gradient(90deg, var(--blue), var(--blue-2)); box-shadow: 0 0 14px rgba(74, 122, 255, .7); transform: scaleX(var(--fill)); transform-origin: left; }
.c-step { position: relative; z-index: 1; display: grid; grid-template-rows: auto auto 1fr; }
.c-step__num { display: grid; place-items: center; width: 56px; height: 56px; border: 1px solid rgba(138, 168, 255, .35); border-radius: 50%; background: radial-gradient(circle at 50% 38%, #1c2c5c, #0a0f1e 72%); color: #fff; font-size: 1.35rem; box-shadow: 0 0 0 8px var(--page), 0 0 40px rgba(74, 122, 255, .35); transition: border-color 400ms, box-shadow 400ms, color 400ms, background 400ms; }
.c-step__body { margin-top: 28px; }
.c-step__body small { color: var(--blue-2); font-size: .72rem; font-weight: 700; letter-spacing: .16em; }
.c-step h3 { margin-top: 10px; font-size: clamp(1.4rem, 2vw, 1.85rem); letter-spacing: -.035em; line-height: 1.05; }
.c-step p { margin: 12px 0 0; color: var(--muted); font-size: .98rem; }
.c-step__vis { align-self: end; align-content: center; min-height: 116px; margin-top: 26px; padding: 16px; border: 1px solid var(--line); border-radius: 18px; background: linear-gradient(180deg, #10151d, #0b0f14); transition: border-color 400ms, opacity 400ms; }
.anim .c-step:not(.is-on) .c-step__num { border-color: var(--line); background: #0b0f14; color: var(--faint); box-shadow: 0 0 0 8px var(--page); }
.anim .c-step:not(.is-on) .c-step__vis { opacity: .45; }
.c-step.is-on .c-step__vis { border-color: rgba(138, 168, 255, .22); }

.v-chips { display: flex; flex-wrap: wrap; gap: 7px; }
.v-chips span { display: inline-flex; align-items: center; gap: 6px; padding: 7px 11px 7px 8px; border: 1px solid color-mix(in srgb, var(--ic) 24%, transparent); border-radius: 999px; background: color-mix(in srgb, var(--ic) 7%, #0b0f14); color: #c6cdd7; font-size: .8rem; }
.v-chips i { color: var(--ic); font-size: 1rem; }
.v-doc { display: grid; gap: 7px; }
.v-doc em { color: var(--faint); font-size: .62rem; font-style: normal; font-weight: 700; letter-spacing: .14em; }
.v-doc b { font-size: .92rem; font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.v-found { display: flex; align-items: center; gap: 7px; margin-top: 4px; padding: 7px 10px; border: 1px solid rgba(74, 122, 255, .35); border-radius: 10px; background: var(--blue-soft); color: #dbe4ff; font-size: .82rem; }
.v-found i { color: var(--ok); font-size: 1rem; }
.v-confirm { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.v-confirm span { color: var(--muted); font-size: .82rem; line-height: 1.35; }
.v-confirm b { position: relative; flex: none; padding: 9px 14px; border-radius: 999px; background: var(--blue); color: #fff; font-size: .8rem; box-shadow: 0 10px 26px rgba(74, 122, 255, .35); }
.v-confirm b i { position: absolute; right: -10px; bottom: -14px; color: #fff; font-size: 1.3rem; filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .6)); }
.v-outs { display: grid; gap: 6px; }
.v-outs span { display: flex; align-items: center; gap: 8px; color: #c6cdd7; font-size: .84rem; }
.v-outs span i:first-child { color: var(--blue-2); font-size: 1rem; }
.v-outs span i:last-child { margin-left: auto; color: var(--ok); font-size: 1rem; }

/* El borrador, en grande */
.c-draft { max-width: 1080px; margin: clamp(48px, 7vw, 80px) auto 0; }
.c-draft__win { position: relative; overflow: hidden; border: 1px solid rgba(138, 168, 255, .2); border-radius: 28px; background: radial-gradient(80% 60% at 50% 0%, rgba(74, 122, 255, .1), transparent 70%), linear-gradient(180deg, #0f141c, #090c11); box-shadow: 0 60px 140px -50px rgba(0, 0, 0, .95), inset 0 1px 0 rgba(255, 255, 255, .05); }
.c-draft__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 15px 22px; border-bottom: 1px solid var(--line); }
.c-draft__body { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 8fr); gap: clamp(20px, 3vw, 40px); padding: clamp(20px, 3vw, 36px); }
.c-draft figcaption { margin-top: 18px; color: var(--faint); font-size: .8rem; text-align: center; }

.c-paper { position: relative; align-self: start; padding: 24px 22px 26px; overflow: hidden; border-radius: 12px; background: linear-gradient(180deg, #f3f5f8, #e6eaf0); color: #1b212a; box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .9); }
.c-paper__top { display: flex; align-items: start; justify-content: space-between; padding-bottom: 14px; border-bottom: 1px solid #cfd6df; }
.c-paper__top span { font-size: .62rem; font-weight: 700; letter-spacing: .14em; }
.c-paper__top b { font-size: 1.8rem; line-height: .9; }
.c-paper__f { position: relative; display: grid; gap: 3px; margin-top: 14px; }
.c-paper__f em { color: #7a8594; font-size: .54rem; font-style: normal; font-weight: 700; letter-spacing: .14em; }
.c-paper__f b { font-size: .8rem; letter-spacing: -.01em; }
.c-paper__lines { display: grid; gap: 7px; margin-top: 18px; }
.c-paper__lines i { height: 6px; border-radius: 3px; background: #cfd6df; }
.c-paper__lines i:nth-child(2n) { width: 84%; }
.c-paper__lines i:nth-child(3n) { width: 92%; }
.c-paper__f--total { margin-top: 20px; padding-top: 10px; border-top: 2px solid #1b212a; text-align: right; }
.c-paper__f--total b { font-size: 1.05rem; font-variant-numeric: tabular-nums; }
.c-paper .hl { inset: -5px -7px; }
.c-paper .stamp { right: 12%; bottom: 34%; }

.c-form { display: grid; align-content: start; gap: 18px; min-width: 0; }
.c-form__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 10px 16px; }
.c-form small { display: block; color: var(--faint); font-size: .66rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.c-form__head b { display: block; margin-top: 5px; font-size: 1.2rem; letter-spacing: -.02em; }
.c-badge { display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; border: 1px solid rgba(74, 122, 255, .4); border-radius: 999px; background: var(--blue-soft); color: #dbe4ff; font-size: .8rem; font-weight: 700; white-space: nowrap; }
.c-badge i { color: var(--ok); font-size: 1.05rem; }
.c-form__meta { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 10px; }
.c-form__meta > div { padding: 11px 13px; border: 1px solid var(--line); border-radius: 12px; background: #0b0f14; }
.c-form__meta b { display: block; margin-top: 4px; font-size: .88rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.c-lines { width: 100%; border-collapse: collapse; font-size: .86rem; font-variant-numeric: tabular-nums; }
.c-lines th { padding: 0 10px 9px; color: var(--faint); font-size: .64rem; font-weight: 700; letter-spacing: .14em; text-align: right; text-transform: uppercase; }
.c-lines td { padding: 10px; border-top: 1px solid var(--line); color: #d5dbe3; text-align: right; white-space: nowrap; }
.c-lines th:first-child, .c-lines td:first-child { padding-left: 0; text-align: left; }
.c-lines td:first-child { color: var(--ink); }
.c-lines td:last-child { color: var(--ink); font-weight: 700; }
.c-lines td i { margin-left: 6px; color: var(--ok); vertical-align: -2px; }
.c-sum { display: grid; grid-template-columns: repeat(5, auto); justify-content: space-between; gap: 6px 14px; margin: 0; padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; background: #0b0f14; font-variant-numeric: tabular-nums; }
.c-sum dt { color: var(--faint); font-size: .64rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.c-sum dd { margin: 4px 0 0; font-size: .9rem; font-weight: 700; white-space: nowrap; }
.c-sum div:last-child dd { color: #fff; font-size: 1.02rem; }
.c-form__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.c-ok { display: inline-flex; align-items: center; gap: 8px; color: #b9f0cf; font-size: .86rem; }
.c-ok i { color: var(--ok); font-size: 1.15rem; }
.c-form__foot .btn { pointer-events: none; }


/* Multisucursal */
.c-multi { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.c-multi .h2 { font-size: clamp(2.3rem, 4.4vw, 4rem); }
.c-multi .lead { margin-top: 24px; max-width: 38ch; }
.c-multi .mods { margin-top: 28px; }
.c-multi .screen > img { opacity: 1; transform: none; }
.c-multi .sys__caption { margin-top: 22px; }

/* Preguntas */
.c-faq { max-width: 820px; margin: clamp(40px, 6vw, 64px) auto 0; border-top: 1px solid var(--line); }
.c-faq details { border-bottom: 1px solid var(--line); }
.c-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 26px 4px; cursor: pointer; list-style: none; }
.c-faq summary::-webkit-details-marker { display: none; }
.c-faq summary h3 { font-size: clamp(1.15rem, 1.8vw, 1.45rem); letter-spacing: -.025em; line-height: 1.2; }
.c-faq summary i { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 50%; color: var(--blue-2); font-size: 1rem; transition: rotate 400ms var(--ease), background 300ms, border-color 300ms; }
.c-faq summary:hover i { border-color: rgba(138, 168, 255, .4); }
.c-faq details[open] summary i { rotate: 45deg; background: var(--blue-soft); border-color: rgba(138, 168, 255, .4); }
.c-faq details p { max-width: 62ch; margin: -8px 0 0; padding: 0 60px 28px 4px; color: var(--muted); font-size: 1.04rem; }

/* Cierre */
.c-quote { padding: clamp(70px, 10vw, 130px) 0 0; text-align: center; }
.c-quote blockquote { max-width: 24ch; margin: 0 auto; color: var(--ink); font-size: clamp(1.6rem, 3.2vw, 2.7rem); font-weight: 700; letter-spacing: -.04em; line-height: 1.12; text-wrap: balance; }
.c-quote .founder__name { margin: 20px 0 0; font-size: .92rem; }
.c-final { position: relative; display: grid; min-height: 100vh; min-height: 100svh; align-content: end; justify-items: center; padding: 0 0 10vh; text-align: center; }
.c-final h2 { font-size: clamp(2.8rem, 7vw, 6.4rem); letter-spacing: -.055em; }
.c-final .lead { max-width: 34ch; margin: 26px auto 38px; }
.c-final__more { margin: 34px 0 0; color: var(--muted); font-size: .92rem; }
.c-final__more a { display: inline-flex; align-items: center; gap: 8px; border-bottom: 1px solid rgba(138, 168, 255, .35); padding-bottom: 2px; transition: color 200ms, border-color 200ms; }
.c-final__more a:hover { color: var(--ink); border-color: var(--blue-2); }
.c-final__more + .c-final__more { margin-top: 14px; }

/* Hub /casos */
.h-hero { padding: 150px 0 0; text-align: center; }
.h-hero h1 { margin-top: 40px; font-size: clamp(3.2rem, 9vw, 8rem); letter-spacing: -.055em; }
.h-hero .lead { max-width: 44ch; margin: 28px auto 0; }
.h-list { padding: clamp(60px, 9vw, 110px) 0 clamp(40px, 6vw, 80px); }
.h-card { position: relative; display: grid; grid-template-columns: 7fr 5fr; gap: clamp(28px, 4vw, 60px); align-items: center; padding: clamp(28px, 4vw, 56px); overflow: hidden; border: 1px solid var(--line); border-radius: 34px; background: radial-gradient(80% 80% at 95% 10%, rgba(74, 122, 255, .14), transparent 60%), linear-gradient(160deg, #10151d, #080b10); transition: border-color 400ms; }
.h-card:hover { border-color: rgba(138, 168, 255, .35); }
.h-card__who { display: flex; align-items: center; gap: 14px; }
.h-card__who img { width: 48px; height: 48px; padding: 5px; border-radius: 12px; background: #fff; object-fit: contain; }
.h-card__who span { color: var(--muted); font-size: .9rem; }
.h-card__who b { display: block; color: var(--ink); font-size: 1rem; }
.h-card h2 { max-width: 18ch; margin-top: 30px; font-size: clamp(2rem, 3.8vw, 3.4rem); letter-spacing: -.045em; line-height: 1.02; }
.h-card h2 a::after { position: absolute; inset: 0; z-index: 3; content: ""; border-radius: inherit; }
.h-card p { max-width: 50ch; margin: 18px 0 0; color: var(--muted); font-size: 1.05rem; }
.h-card__go { display: inline-flex; align-items: center; gap: 10px; margin-top: 30px; color: var(--blue-2); font-weight: 700; }
.h-card__go i { transition: translate 400ms var(--ease); }
.h-card:hover .h-card__go i { translate: 6px 0; }
.h-sys { display: grid; gap: 16px; padding: 26px; border: 1px solid rgba(138, 168, 255, .18); border-radius: 24px; background: rgba(5, 7, 10, .55); }
.h-sys small { color: var(--faint); font-size: .7rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.h-sys ul { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 0; padding: 0; list-style: none; }
.h-sys li { display: flex; align-items: center; gap: 9px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: #0b0f14; color: #c6cdd7; font-size: .84rem; white-space: nowrap; }
.h-sys li i { color: var(--blue-2); font-size: 1.05rem; }
.h-sys li.is-ai { border-color: rgba(74, 122, 255, .42); background: var(--blue-soft); color: #dbe4ff; }
.h-sys__proof { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding-top: 16px; border-top: 1px solid var(--line); }
.h-sys__proof span { color: var(--faint); font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.h-sys__proof s { color: #7d8592; font-weight: 700; text-decoration-color: rgba(255, 120, 100, .75); text-decoration-thickness: 2px; }
.h-sys__proof i { color: var(--blue-2); }
.h-sys__proof b { font-size: 1.5rem; letter-spacing: -.045em; line-height: 1; }
.h-final { min-height: 0; padding: clamp(80px, 12vw, 150px) 0 clamp(80px, 12vw, 140px); }
.h-sys__proof--flow b { font-size: 1.2rem; }
.h-card + .h-card { margin-top: clamp(20px, 3vw, 32px); }

/* Hero sin antes y ahora: el recorrido del módulo destacado */
.c-proof__flow { display: flex; align-items: center; gap: 10px; color: #c6cdd7; font-size: .98rem; font-weight: 700; white-space: nowrap; }
.c-proof__flow i { color: var(--blue-2); font-size: .95rem; }
.c-proof__flow b { color: #fff; font-size: 1.3rem; letter-spacing: -.04em; line-height: 1; }

/* Más maquetas de módulos */
.m-list { gap: 7px; }
.m-list > span { display: flex; align-items: center; gap: 9px; min-width: 0; padding: 8px 11px; border: 1px solid #1b222b; border-radius: 11px; background: #0d1117; font-size: .76rem; white-space: nowrap; }
.m-list > span > i { flex: none; color: var(--blue-2); font-size: .95rem; }
.m-list > span > em { min-width: 0; overflow: hidden; font-style: normal; text-overflow: ellipsis; }
.m-list > span > b { flex: none; margin-left: auto; padding: 2px 8px; border-radius: 999px; background: rgba(90, 212, 137, .12); color: var(--ok); font-size: .62rem; font-weight: 700; }
.m-list > .is-wait > b { background: rgba(255, 181, 71, .12); color: #ffd59a; }
.m-list > .is-blue > b { background: var(--blue-soft); color: #dbe4ff; }
.m-scale { justify-items: center; text-align: center; }
.m-scale small { color: var(--faint); font-size: .6rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.m-scale > b { padding: 8px 18px; border: 1px solid rgba(90, 212, 137, .22); border-radius: 12px; background: #050806; color: #c6f3d8; font-size: 1.9rem; letter-spacing: .02em; line-height: 1; text-shadow: 0 0 18px rgba(90, 212, 137, .45); }
.m-scale > b em { color: var(--muted); font-size: .5em; font-style: normal; }
.m-scale > span { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: .72rem; }
.m-scale > span i { color: var(--ok); }
.m-plan { gap: 7px; }
.m-plan div { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding: 9px 11px; border: 1px solid #1b222b; border-radius: 11px; background: #0d1117; }
.m-plan span { color: var(--faint); font-size: .6rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.m-plan b { color: var(--ink); white-space: nowrap; }
.m-plan .is-on { border-color: rgba(74, 122, 255, .45); background: var(--blue-soft); }
.m-plan .is-on span { color: #dbe4ff; }
.m-chart small { color: var(--faint); font-size: .6rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.m-chart__bars { display: grid; grid-template-columns: repeat(7, 1fr); align-items: end; gap: 7px; height: 76px; padding-bottom: 6px; border-bottom: 1px solid #1e252e; }
.m-chart__bars i { height: 100%; border-radius: 4px 4px 1px 1px; background: linear-gradient(180deg, var(--blue-2), var(--blue)); box-shadow: 0 0 10px rgba(74, 122, 255, .35); transform: scaleY(var(--v)); transform-origin: bottom; }
.m-chart__days { display: grid; grid-template-columns: repeat(7, 1fr); color: var(--faint); font-size: .58rem; text-align: center; }
.m-cat { gap: 8px; }
.m-cat > div { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 8px 10px 8px 8px; border: 1px solid #1b222b; border-radius: 12px; background: #0d1117; }
.m-cat__img { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; background: linear-gradient(150deg, #1d2633, #10151d); color: var(--blue-2); font-size: 1rem; }
.m-cat__name { display: grid; min-width: 0; gap: 2px; }
.m-cat__name span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.m-cat__name small { color: var(--faint); font-size: .62rem; }
.m-cat__add { padding: 5px 10px; border-radius: 999px; background: var(--blue); color: #fff; font-size: .66rem; font-style: normal; font-weight: 700; box-shadow: 0 8px 20px rgba(74, 122, 255, .35); }

/* Mapa de reparto */
.c-map { position: relative; align-self: start; aspect-ratio: 4 / 3.4; overflow: hidden; border: 1px solid rgba(138, 168, 255, .16); border-radius: 16px; background: linear-gradient(rgba(138, 168, 255, .045) 1px, transparent 1px) 0 0 / 28px 28px, linear-gradient(90deg, rgba(138, 168, 255, .045) 1px, transparent 1px) 0 0 / 28px 28px, #080c13; }
.c-map svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.c-map__street { fill: none; stroke: #18202b; stroke-linecap: round; stroke-width: 10; }
.c-map__route { fill: none; stroke: var(--blue); stroke-dasharray: 8 7; stroke-linecap: round; stroke-linejoin: round; stroke-width: 3.5; filter: drop-shadow(0 0 6px rgba(74, 122, 255, .7)); }
.c-map__done { fill: none; stroke: var(--ok); stroke-linecap: round; stroke-linejoin: round; stroke-width: 3.5; }
.c-map__stop circle { fill: #0b111c; stroke: var(--blue-2); stroke-width: 2; }
.c-map__stop.is-done circle { fill: rgba(90, 212, 137, .2); stroke: var(--ok); }
.c-map__stop text { fill: #dbe4ff; font-size: 11px; font-weight: 700; text-anchor: middle; dominant-baseline: central; }
.c-map__truck { fill: var(--blue); stroke: #fff; stroke-width: 2.5; }
.c-map__pulse { fill: rgba(74, 122, 255, .3); transform-box: fill-box; transform-origin: center; animation: mappulse 2s infinite; }
@keyframes mappulse { 0% { opacity: .9; transform: scale(.6); } 100% { opacity: 0; transform: scale(2.4); } }
.c-map__chip { position: absolute; top: 12px; left: 12px; display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; border: 1px solid rgba(74, 122, 255, .4); border-radius: 999px; background: rgba(12, 18, 31, .9); color: #dbe4ff; font-size: .76rem; font-weight: 700; }
.c-map__chip i { color: var(--blue-2); font-size: 1rem; }

/* Catálogo del portal */
.c-cat { display: grid; align-content: start; gap: 10px; min-width: 0; }
.c-cat__search { display: flex; align-items: center; gap: 9px; padding: 11px 14px; border: 1px solid var(--line); border-radius: 12px; background: #0b0f14; color: var(--faint); font-size: .84rem; }
.c-cat__item { display: grid; grid-template-columns: 46px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 10px 12px 10px 10px; border: 1px solid var(--line); border-radius: 14px; background: #0b0f14; font-variant-numeric: tabular-nums; }
.c-cat__item .m-cat__img { width: 46px; height: 46px; border-radius: 11px; font-size: 1.3rem; }
.c-cat__item b { display: block; overflow: hidden; font-size: .88rem; text-overflow: ellipsis; white-space: nowrap; }
.c-cat__item small { display: block; margin-top: 3px; color: var(--faint); font-size: .7rem; }
.c-cat__price { text-align: right; }
.c-cat__price em { display: block; color: var(--faint); font-size: .58rem; font-style: normal; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.c-cat__price span { display: block; margin-top: 2px; font-size: .92rem; font-weight: 700; white-space: nowrap; }
.c-cat__stock { display: inline-block; margin-top: 4px; padding: 1px 7px; border-radius: 999px; background: rgba(90, 212, 137, .12); color: var(--ok); font-size: .62rem; font-weight: 700; }

/* Meta semanal de cobranzas */
.c-goal { display: grid; align-self: start; gap: 14px; padding: 22px; border: 1px solid rgba(90, 212, 137, .22); border-radius: 16px; background: radial-gradient(90% 70% at 50% 0%, rgba(90, 212, 137, .1), transparent 70%), #0b0f14; font-variant-numeric: tabular-nums; }
.c-goal small { color: var(--faint); font-size: .66rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.c-goal > b { font-size: clamp(2.6rem, 5vw, 3.6rem); letter-spacing: -.05em; line-height: 1; }
.c-goal__bar { height: 9px; border-radius: 5px; background: #161c25; }
.c-goal__bar i { display: block; width: calc(var(--v) * 100%); height: 100%; border-radius: inherit; background: linear-gradient(90deg, #2fae66, var(--ok)); box-shadow: 0 0 12px rgba(90, 212, 137, .5); }
.c-goal__row { display: flex; justify-content: space-between; gap: 10px; padding-top: 10px; border-top: 1px solid var(--line); color: var(--muted); font-size: .86rem; }
.c-goal__row b { color: var(--ink); }
.c-lines td i.is-warn { color: #ffb547; }
.c-warn { display: inline-flex; align-items: center; gap: 8px; color: #ffd59a; font-size: .86rem; }
.c-warn i { color: #ffb547; font-size: 1.15rem; }
.c-sum--3 { grid-template-columns: repeat(3, auto); }

/* Panel del día */
.c-day__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding: clamp(16px, 2.4vw, 26px); font-variant-numeric: tabular-nums; }
.c-day__card { display: grid; align-content: start; gap: 8px; min-width: 0; padding: 18px; border: 1px solid var(--line); border-radius: 16px; background: #0b0f14; }
.c-day__card small { color: var(--faint); font-size: .62rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.c-day__card > b { font-size: clamp(1.3rem, 2.2vw, 1.75rem); letter-spacing: -.035em; line-height: 1.1; white-space: nowrap; }
.c-day__card > span { color: var(--muted); font-size: .8rem; }
.c-day__card.is-ok { border-color: rgba(90, 212, 137, .25); }
.c-day__card.is-ok > b { color: #c6f3d8; }
.c-day__card.is-blue { border-color: rgba(138, 168, 255, .28); }
.c-day__card.is-warn { grid-column: 1 / -1; border-color: rgba(255, 181, 71, .3); }
.c-day__card.is-warn > b { color: #ffd59a; }
.c-day__bar { height: 7px; margin-top: 4px; border-radius: 4px; background: #161c25; }
.c-day__bar i { display: block; width: calc(var(--v) * 100%); height: 100%; border-radius: inherit; background: var(--ok); }
.c-day__card em { color: var(--muted); font-size: .74rem; font-style: normal; }
.c-day__cajas { display: grid; gap: 6px; margin: 4px 0 0; padding: 0; list-style: none; }
.c-day__cajas li { display: flex; justify-content: space-between; gap: 10px; padding: 7px 11px; border: 1px solid #1b222b; border-radius: 10px; color: var(--muted); font-size: .76rem; }
.c-day__cajas b { color: var(--ink); }
.c-day__todo { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-top: 4px; }
.c-day__todo span { display: grid; gap: 4px; padding: 10px 12px; border: 1px solid rgba(255, 181, 71, .18); border-radius: 12px; color: var(--ink); font-size: 1rem; font-weight: 700; }
.c-day__todo em { color: var(--muted); font-size: .7rem; font-weight: 400; }
.c-dayfig figcaption { margin-top: 18px; color: var(--faint); font-size: .8rem; text-align: center; }

@media (max-width: 1099px) {
  .c-mods { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 899px) {
  .c-facts { grid-template-columns: 1fr 1fr; }
  .c-facts > div:nth-child(3) { border-left: 0; }
  .c-facts > div:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .c-vs { grid-template-columns: minmax(0, 1fr); }
  .c-steps { grid-template-columns: minmax(0, 1fr); gap: 40px; max-width: 560px; margin-inline: auto; }
  .c-steps::before, .c-steps::after { top: 28px; bottom: 28px; left: 27px; right: auto; width: 2px; height: auto; }
  .c-steps::after { transform: scaleY(var(--fill)); transform-origin: top; background: linear-gradient(180deg, var(--blue), var(--blue-2)); }
  .c-step { grid-template-columns: 56px minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 22px; }
  .c-step__body { margin-top: 4px; }
  .c-step__vis { grid-column: 2; margin-top: 18px; }
  .c-draft__body { grid-template-columns: minmax(0, 1fr); }
  .c-paper { justify-self: center; width: min(340px, 100%); }
  .c-multi { grid-template-columns: minmax(0, 1fr); }
  .c-multi .base { margin: 0 -3%; height: 12px; }
  .h-card { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 699px) {
  .c-section { padding: 9vh 0; }
  .c-hero { min-height: 0; padding: 104px 0 40px; }
  .c-hero h1 { gap: 20px; margin-top: 30px; }
  .c-hero__kicker { max-width: 30ch; font-size: .68rem; }
  .c-hero__big { font-size: clamp(2.7rem, 13vw, 3.6rem); }
  .c-hero .lead { margin-top: 22px; }
  .c-hero .actions { flex-direction: column; align-items: stretch; margin-top: 24px; }
  .c-proof { display: grid; grid-template-columns: auto auto auto; justify-content: center; gap: 12px 14px; margin-top: 24px; padding: 12px 18px 16px; border-radius: 24px; }
  .c-proof__tag { grid-column: 1 / -1; justify-self: center; }
  .c-proof__now { font-size: 1.4rem; }
  /* En el celular los módulos se deslizan de costado, con el siguiente asomando. */
  .c-mods { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 80%; gap: 12px; margin-inline: calc(var(--pad) * -1); padding: 0 var(--pad) 6px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--pad); scrollbar-width: none; }
  .c-mods::-webkit-scrollbar { display: none; }
  .c-mod { scroll-snap-align: start; }
  .c-mod:hover { translate: none; }
  .c-mod__vis { height: 146px; }
  .c-mods__hint { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 16px 0 0; color: var(--faint); font-size: .8rem; }
  .c-mods__hint i { color: var(--blue-2); }
  .c-more { gap: 12px; }
  .c-facts { margin-top: 40px; }
  .c-facts > div { padding: 16px 18px; }
  .c-facts dd { font-size: .94rem; }
  .c-side { gap: 26px; padding: 26px 22px 22px; border-radius: 26px; }
  .old__grid { grid-template-columns: 2fr 1fr 1fr; padding-inline: 12px; }
  .c-step h3 { font-size: 1.45rem; }
  .c-draft__win { border-radius: 22px; }
  .c-draft__bar { padding: 13px 16px; }
  .c-draft__body { padding: 16px; }
  .c-paper { display: none; }
  .c-form__meta { grid-template-columns: 1fr 1fr; }
  .c-form__meta > div:first-child { grid-column: 1 / -1; }
  .c-lines { font-size: .8rem; }
  .c-lines th, .c-lines td { padding-inline: 6px; }
  .c-lines .c-hide { display: none; }
  .c-sum { grid-template-columns: 1fr 1fr; }
  .c-sum div:last-child { grid-column: 1 / -1; padding-top: 8px; border-top: 1px solid var(--line); }
  .c-form__foot .btn { width: 100%; }
  .c-step__vis { min-height: 0; }
  .c-multi .lid { padding: 5px; border-radius: 20px; }
  .c-multi .lid::before, .c-multi .base { display: none; }
  .c-multi .screen { aspect-ratio: 10 / 11; border-radius: 15px; }
  .c-multi .screen img { object-position: 10% 0; }
  .c-faq summary { padding: 22px 0; }
  .c-faq details p { padding: 0 0 24px; }
  .c-quote { padding-top: 8vh; }
  .c-final { min-height: 86vh; min-height: 86svh; padding-bottom: 8vh; }
  .h-final { min-height: 0; padding: 10vh 0; }
  .h-hero { padding-top: 110px; }
  .h-hero h1 { margin-top: 30px; }
  .h-card { padding: 26px 22px; border-radius: 28px; }
  .h-sys { padding: 18px; }
  .h-sys li { gap: 7px; padding: 9px 10px; font-size: .78rem; white-space: normal; }
}

@media (max-width: 899px) {
  .c-map { width: 100%; aspect-ratio: 4 / 3; }
  .c-goal { grid-template-columns: 1fr 1fr; align-items: end; }
  .c-goal > small, .c-goal__bar, .c-goal__row { grid-column: 1 / -1; }
}

@media (max-width: 699px) {
  .c-proof--flow { grid-template-columns: minmax(0, 1fr); }
  .c-proof__flow { flex-wrap: wrap; justify-content: center; gap: 6px 8px; font-size: .9rem; }
  .c-proof__flow b { font-size: 1.15rem; }
  .c-cat__item { grid-template-columns: 40px minmax(0, 1fr) auto; gap: 10px; }
  .c-cat__item .m-cat__img { width: 40px; height: 40px; }
  .c-day__grid { grid-template-columns: minmax(0, 1fr); }
  .c-day__todo { grid-template-columns: 1fr 1fr; }
  .c-goal { grid-template-columns: minmax(0, 1fr); }
}

/* Landings: /sistemas/distribuidoras y /sistemas-de-gestion-tucuman */
.l-hero .c-hero__kicker { display: block; margin: clamp(22px, 4vh, 40px) auto 0; }
.l-hero h1 { margin-top: 20px; }
.l-hero .c-hero__big { font-size: clamp(2.8rem, 6.6vw, 6.2rem); }
.l-hero .lead { max-width: 52ch; }
.l-sub { margin: 22px 0 0; color: #dbe4ff; font-size: clamp(1.15rem, 2vw, 1.6rem); font-weight: 700; letter-spacing: -.025em; line-height: 1.2; text-shadow: 0 0 24px rgba(5, 7, 10, .95); text-wrap: balance; }
.l-note { max-width: 60ch; margin: clamp(28px, 4vw, 44px) auto 0; color: var(--muted); font-size: 1rem; text-align: center; }
.l-note a, .l-link { color: var(--blue-2); border-bottom: 1px solid rgba(138, 168, 255, .35); transition: color 200ms, border-color 200ms; }
.l-note a:hover, .l-link:hover { color: var(--ink); border-color: var(--blue-2); }
.l-note b { color: var(--ink); }

/* El día a día, en tarjetas */
.l-pains { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 20px); margin: clamp(48px, 7vw, 80px) 0 0; padding: 0; list-style: none; }
.l-pain { display: grid; align-content: start; gap: 14px; padding: 24px; border: 1px solid var(--line); border-radius: 24px; background: linear-gradient(180deg, #0f141b, #0a0d12); }
.l-pain__chip { justify-self: start; display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px 7px 9px; border: 1px solid color-mix(in srgb, var(--ic) 26%, transparent); border-radius: 999px; background: color-mix(in srgb, var(--ic) 8%, #0b0f14); color: #c6cdd7; font-size: .8rem; rotate: var(--r, 0deg); }
.l-pain__chip i { color: var(--ic); font-size: 1rem; }
.l-pain h3 { font-size: 1.3rem; letter-spacing: -.03em; line-height: 1.15; }
.l-pain p { margin: 0; color: var(--muted); font-size: .95rem; }
.l-pain--now { border-color: rgba(74, 122, 255, .36); background: radial-gradient(90% 70% at 85% 0%, rgba(74, 122, 255, .18), transparent 62%), linear-gradient(170deg, #101829, #0a0f19); box-shadow: 0 30px 80px -50px rgba(74, 122, 255, .6); }
.l-pain--now .l-pain__chip { --ic: #5ad489; }
.l-route { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 9px; color: #dbe4ff; font-size: 1.05rem; font-weight: 700; }
.l-route i { color: var(--blue-2); font-size: .9rem; }

/* Consejos numerados */
.l-tips { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 20px); margin: clamp(48px, 7vw, 80px) 0 0; padding: 0; list-style: none; counter-reset: tip; }
.l-tip { position: relative; display: grid; grid-template-rows: auto auto 1fr auto; gap: 10px; padding: 26px 24px 22px; border-top: 1px solid rgba(138, 168, 255, .3); counter-increment: tip; }
.l-tip::before { color: var(--blue-2); content: "0" counter(tip); font-size: .78rem; font-weight: 700; letter-spacing: .16em; }
.l-tip h3 { font-size: 1.3rem; letter-spacing: -.03em; line-height: 1.15; }
.l-tip p { margin: 0; color: var(--muted); font-size: .95rem; }
.l-tip a { justify-self: start; display: inline-flex; align-items: center; gap: 7px; margin-top: 6px; color: var(--blue-2); font-size: .86rem; font-weight: 700; }
.l-tip a i { transition: translate 400ms var(--ease); }
.l-tip a:hover i { translate: 4px 0; }

/* Módulos: dos destacados ocupan dos columnas */
.c-mod--wide { grid-column: span 2; }
.c-mod p a { color: var(--blue-2); border-bottom: 1px solid rgba(138, 168, 255, .35); }
.c-mod[id] { scroll-margin-top: 90px; }

/* Estados de una entrega */
.l-st { display: inline-flex; align-items: center; padding: 3px 9px; border-radius: 999px; background: rgba(90, 212, 137, .12); color: var(--ok); font-size: .72rem; font-weight: 700; }
.l-st.is-wait { background: rgba(255, 181, 71, .12); color: #ffd59a; }
.l-st.is-blue { background: var(--blue-soft); color: #dbe4ff; }
.l-st.is-bad { background: rgba(255, 120, 100, .12); color: #ff9b8a; }
.l-cash .c-goal__row:first-of-type { margin-top: 4px; }

/* Tarjetas simples (IA, alcance) */
.l-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 20px); margin: clamp(48px, 7vw, 80px) 0 0; padding: 0; list-style: none; }
.l-cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.l-card { display: grid; grid-template-rows: auto auto 1fr auto; gap: 12px; padding: 26px 24px; border: 1px solid var(--line); border-radius: 24px; background: linear-gradient(180deg, #0f141b, #0a0d12); }
.l-card > i { display: grid; place-items: center; width: 46px; height: 46px; border: 1px solid rgba(138, 168, 255, .3); border-radius: 14px; background: var(--blue-soft); color: var(--blue-2); font-size: 1.35rem; }
.l-card h3 { margin-top: 8px; font-size: 1.3rem; letter-spacing: -.03em; line-height: 1.15; }
.l-card p { margin: 0; color: var(--muted); font-size: .95rem; }
.l-card .l-link { justify-self: start; margin-top: 6px; font-size: .86rem; font-weight: 700; }

/* Antes y ahora, sólo texto */
.l-ba { display: grid; gap: 10px; margin-top: 28px; }
.l-ba > div { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding: 14px 18px; border: 1px solid var(--line); border-radius: 16px; background: #0b0f14; }
.l-ba b { font-size: 1.15rem; letter-spacing: -.02em; }
.l-ba .is-before b { color: #9aa2ad; }
.l-ba .is-now { border-color: rgba(74, 122, 255, .32); background: var(--blue-soft); }
.l-ba .is-now .c-tag { border-color: rgba(90, 212, 137, .3); background: rgba(90, 212, 137, .1); color: var(--ok); }
.c-multi .actions { justify-content: flex-start; margin-top: 30px; }

/* A medida o enlatado */
.l-vs { max-width: 1000px; margin: clamp(48px, 7vw, 80px) auto 0; overflow: hidden; border: 1px solid var(--line); border-radius: 26px; background: linear-gradient(180deg, #0f141b, #0a0d12); }
.l-table { width: 100%; border-collapse: collapse; text-align: left; }
.l-table th, .l-table td { padding: 20px 24px; border-top: 1px solid var(--line); vertical-align: top; }
.l-table thead th { border-top: 0; color: var(--faint); font-size: .7rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.l-table thead th:last-child { color: #dbe4ff; }
.l-table tbody th { width: 22%; color: var(--ink); font-size: .98rem; font-weight: 700; }
.l-table td { color: var(--muted); font-size: .98rem; }
.l-table td:last-child { background: rgba(74, 122, 255, .07); color: #e3e9f5; }
.l-table thead th:last-child { background: rgba(74, 122, 255, .1); }
.l-honest { max-width: 62ch; margin: 28px auto 0; color: var(--muted); font-size: 1.02rem; text-align: center; }

/* Pasos (3) */
@media (min-width: 900px) {
  .c-steps--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* Contacto visible */
.l-nap { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; max-width: 980px; margin: 30px auto 0; padding: 0; color: var(--muted); font-size: .9rem; list-style: none; }
.l-nap li { display: inline-flex; align-items: center; gap: 7px; }
.l-nap i { color: var(--blue-2); font-size: 1rem; }
.l-nap a { transition: color 200ms; }
.l-nap a:hover { color: var(--ink); }

/* Tucumán: quién está detrás */
.l-split { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(36px, 6vw, 90px); align-items: center; }
.l-split .h2 { font-size: clamp(2.3rem, 4.4vw, 4rem); }
.l-split .lead { max-width: 44ch; margin-top: 24px; }
.l-split .mods { margin-top: 28px; }
.l-founder { position: relative; display: grid; gap: 22px; padding: clamp(28px, 3.4vw, 42px); overflow: hidden; border: 1px solid rgba(74, 122, 255, .32); border-radius: 30px; background: radial-gradient(90% 70% at 85% 0%, rgba(74, 122, 255, .16), transparent 62%), linear-gradient(170deg, #101829, #0a0f19); box-shadow: 0 40px 100px -50px rgba(74, 122, 255, .45); }
.l-founder > i { color: var(--blue-2); font-size: 2rem; }
.l-founder blockquote { margin: 0; color: var(--ink); font-size: clamp(1.4rem, 2.4vw, 2rem); font-weight: 700; letter-spacing: -.035em; line-height: 1.15; text-wrap: balance; }
.l-founder p { margin: 0; color: var(--muted); font-size: .92rem; }
.l-founder p b { color: var(--ink); }

/* Tucumán: rubros */
.l-rubros { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 20px); margin: clamp(48px, 7vw, 80px) 0 0; padding: 0; list-style: none; }
.l-rubro { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 18px; padding: 26px; border: 1px solid var(--line); border-radius: 24px; background: linear-gradient(180deg, #0f141b, #0a0d12); }
.l-rubro > i { grid-row: span 3; display: grid; place-items: center; width: 50px; height: 50px; border: 1px solid rgba(138, 168, 255, .3); border-radius: 15px; background: var(--blue-soft); color: var(--blue-2); font-size: 1.45rem; }
.l-rubro h3 { font-size: 1.35rem; letter-spacing: -.03em; line-height: 1.15; }
.l-rubro p { margin: 6px 0 0; color: var(--muted); font-size: .95rem; }
.l-rubro__go { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 12px; font-size: .86rem; font-weight: 700; }
.l-rubro__go a { display: inline-flex; align-items: center; gap: 7px; color: var(--blue-2); }
.l-rubro__go a i { transition: translate 400ms var(--ease); }
.l-rubro__go a:hover i { translate: 4px 0; }
.l-cases .h-card { margin-top: clamp(48px, 7vw, 80px); }
.h-card__title { max-width: 18ch; margin-top: 30px; font-size: clamp(1.9rem, 3.4vw, 3rem); letter-spacing: -.045em; line-height: 1.02; }
.h-card__title a::after { position: absolute; inset: 0; z-index: 3; content: ""; border-radius: inherit; }

/* Hub: enlace secundario dentro de una tarjeta que ya es un enlace */
.h-card__also { position: relative; z-index: 4; display: flex; width: fit-content; align-items: center; gap: 8px; margin: 14px 0 0; color: var(--muted); font-size: .9rem; border-bottom: 1px solid rgba(138, 168, 255, .3); transition: color 200ms, border-color 200ms; }
.h-card__also:hover { color: var(--ink); border-color: var(--blue-2); }

@media (max-width: 1099px) {
  .l-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .l-cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 899px) {
  .l-pains, .l-tips { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .l-cards--3 { grid-template-columns: minmax(0, 1fr); max-width: 560px; margin-inline: auto; }
  .l-split { grid-template-columns: minmax(0, 1fr); }
  .l-rubros { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 699px) {
  .l-hero .c-hero__big { font-size: clamp(2.3rem, 10.6vw, 3rem); }
  .l-sub { margin-top: 18px; }
  .l-pains, .l-tips, .l-cards { grid-template-columns: minmax(0, 1fr); }
  .l-pain, .l-card { padding: 22px 20px; }
  .l-tip { padding: 22px 4px 18px; }
  .c-mod--wide { grid-column: auto; }
  .l-vs { border-radius: 22px; }
  .l-table thead { display: none; }
  .l-table, .l-table tbody, .l-table tr, .l-table th, .l-table td { display: block; width: auto; }
  .l-table tr { padding: 18px 18px 6px; border-top: 1px solid var(--line); }
  .l-table tbody tr:first-child { border-top: 0; }
  .l-table th, .l-table td { padding: 0; border-top: 0; }
  .l-table tbody th { width: auto; margin-bottom: 12px; font-size: 1.05rem; }
  .l-table td { margin-bottom: 12px; padding: 12px 14px; border-radius: 12px; background: #0b0f14; font-size: .94rem; }
  .l-table td::before { display: block; margin-bottom: 4px; color: var(--faint); content: attr(data-label); font-size: .64rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
  .l-table td:last-child::before { color: var(--blue-2); }
  .l-rubro { grid-template-columns: minmax(0, 1fr); padding: 22px 20px; }
  .l-rubro > i { grid-row: auto; margin-bottom: 10px; }
  .l-nap { flex-direction: column; align-items: center; gap: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  .c-map__pulse { animation: none; }
  .old__c--typing > i { width: 64%; animation: none; }
  .old__c--typing > i::after { animation: none; }
  .m-cajas b::before { animation: none; }
}
