/* ==========================================================================
   Vixels — estilos de la web pública (v3)
   Concepto: cada herramienta reemplaza un papel. Colores del logo.
   Tema claro y oscuro. Animaciones solo con transform/opacity (fluidas).
   ========================================================================== */

@font-face { font-family: "Schibsted Grotesk"; src: url("../fonts/schibsted-grotesk-latin-wght-normal.woff2") format("woff2"); font-weight: 400 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Schibsted Grotesk"; src: url("../fonts/schibsted-grotesk-latin-wght-italic.woff2") format("woff2"); font-weight: 400 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Kalam"; src: url("../fonts/kalam-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Kalam"; src: url("../fonts/kalam-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  /* Tema claro */
  --bg: #eef0ea;
  --surface: #fbfbf7;
  --surface-2: #e2e5de;
  --ink: #16202b;
  --ink-2: #4b5663;
  --ink-3: #78828e;
  --line: rgba(22, 32, 43, .13);
  --carbon: #141c25;
  --carbon-ink: #e9ecef;
  --carbon-ink-2: #b2bcc7;
  --section-warm: #f4ebc3;
  --nav-bg: rgba(238, 240, 234, .95);
  --focus: #e8752a;

  /* Constantes: el papel y las interfaces son siempre claros */
  --hoja: #fbfbf7;
  --hoja-ink: #16202b;
  --pen: #2a3f9e;
  --redpen: #b8234f;
  --print: #b0364f;
  --blue: #1f6fb0;
  --teal: #0f9a84;
  --teal-soft: #dcf2ec;
  --orange: #e8752a;
  --orange-soft: #fbe6d4;
  --rosa: #f6d9de;
  --amarillo: #f5ecc4;
  --rule: rgba(42, 63, 158, .13);

  --f-sans: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;
  --f-hand: "Kalam", "Segoe Print", "Bradley Hand", cursive;
  --wrap: 1200px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --shadow-paper: 0 1px 1px rgba(22,32,43,.08), 0 2px 4px rgba(22,32,43,.06), 0 18px 40px -18px rgba(22,32,43,.35);
  color-scheme: light;
}

:root[data-theme="dark"] {
  --bg: #0e1319;
  --surface: #151c24;
  --surface-2: #1a222c;
  --ink: #e9edf1;
  --ink-2: #a9b3be;
  --ink-3: #7f8a96;
  --line: rgba(255, 255, 255, .1);
  --carbon: #090d12;
  --section-warm: #17180f;
  --nav-bg: rgba(14, 19, 25, .95);
  --shadow-paper: 0 1px 1px rgba(0,0,0,.3), 0 18px 40px -16px rgba(0,0,0,.7);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body.vx {
  margin: 0; font-family: var(--f-sans); font-size: 1.0625rem; line-height: 1.6;
  color: var(--ink); background: var(--bg);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  transition: background-color .3s, color .3s;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
.vx-wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.vx-skip { position: absolute; left: -9999px; }
.vx-skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--ink); color: var(--bg); padding: 10px 16px; }
.vx-hand { font-family: var(--f-hand); color: var(--pen); font-weight: 400; }
.vx-ico { width: 1.1em; height: 1.1em; flex: none; vertical-align: -.15em; }

/* ---------- Tipografía ---------- */
.vx-h1 { font-size: clamp(2.5rem, 5vw, 4.4rem); line-height: .98; letter-spacing: -.04em; font-weight: 800; margin: 0 0 24px; max-width: 14ch; text-wrap: balance; }
.vx-h2 { font-size: clamp(1.9rem, 3.5vw, 2.9rem); line-height: 1.05; letter-spacing: -.03em; font-weight: 780; margin: 0 0 16px; max-width: 22ch; text-wrap: balance; }
.vx-h3 { font-size: 1.5rem; line-height: 1.15; letter-spacing: -.02em; font-weight: 750; margin: 0 0 10px; }
.vx-lead { font-size: 1.15rem; color: var(--ink-2); max-width: 58ch; margin: 0; }
.vx-link { font-weight: 700; text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 2px; text-underline-offset: 5px; }

/* ---------- Botones ---------- */
.vx-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: 650 1rem/1 var(--f-sans); padding: 16px 22px; border-radius: 10px; text-decoration: none;
  border: 2px solid transparent; cursor: pointer;
  transition: transform .2s var(--ease), background-color .2s, color .2s, box-shadow .2s;
}
.vx-btn:hover { transform: translateY(-1px); }
.vx-btn:active { transform: translateY(1px); }
.vx-btn--ink { background: var(--ink); color: var(--bg); box-shadow: 0 6px 18px -8px rgba(22,32,43,.5); }
.vx-btn--ink:hover { background: var(--pen); color: #fff; }
.vx-btn--line { border-color: var(--ink); color: var(--ink); background: transparent; }
.vx-btn--line:hover { background: var(--ink); color: var(--bg); }
.vx-btn--wa { background: #1c8f4e; color: #fff; }
.vx-btn--wa:hover { background: #157541; }
.vx-btn--sm { padding: 11px 16px; font-size: .92rem; }

/* ---------- Nav ---------- */
.vx-topbar { background: var(--ink); color: var(--bg); text-align: center; font-size: .9rem; padding: 9px 16px; }
.vx-topbar a { text-decoration: underline; text-underline-offset: 3px; }
.vx-nav { position: sticky; top: 0; z-index: 50; background: var(--nav-bg); border-bottom: 1px solid transparent; transition: border-color .2s, background-color .3s; }
.vx-nav.is-scrolled { border-bottom-color: var(--line); }
.vx-nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 72px; }
.vx-logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 1.45rem; letter-spacing: -.045em; }
.vx-mark { width: 30px; height: 30px; }
.vx-nav__links { display: flex; gap: 26px; }
.vx-nav__links a, .vx-nav__login { text-decoration: none; font-weight: 550; color: var(--ink-2); font-size: .97rem; transition: color .15s; }
.vx-nav__links a:hover, .vx-nav__login:hover { color: var(--ink); }
.vx-nav__cta { display: flex; align-items: center; gap: 16px; }
.vx-theme { width: 40px; height: 40px; border-radius: 10px; border: 1.5px solid var(--line); background: transparent; color: var(--ink); cursor: pointer; display: grid; place-items: center; transition: border-color .2s, transform .2s var(--ease); }
.vx-theme:hover { border-color: var(--ink); }
.vx-theme .vx-ico { width: 18px; height: 18px; grid-area: 1 / 1; transition: opacity .25s, transform .35s var(--ease-out); }
.vx-theme__sun { opacity: 0; transform: rotate(-60deg) scale(.6); }
[data-theme="dark"] .vx-theme__sun { opacity: 1; transform: none; }
[data-theme="dark"] .vx-theme__moon { opacity: 0; transform: rotate(60deg) scale(.6); }
.vx-burger { display: none; width: 44px; height: 44px; border: 0; background: transparent; padding: 10px; cursor: pointer; }
.vx-burger span { display: block; height: 2px; background: var(--ink); margin: 7px 0; transition: transform .2s; }
.vx-burger[aria-expanded="true"] span:first-child { transform: translateY(4.5px) rotate(45deg); }
.vx-burger[aria-expanded="true"] span:last-child { transform: translateY(-4.5px) rotate(-45deg); }
.vx-mobile { border-top: 1px solid var(--line); padding: 8px 20px 20px; }
.vx-mobile a { display: block; padding: 14px 0; font-size: 1.15rem; font-weight: 650; text-decoration: none; border-bottom: 1px solid var(--line); }

/* ==========================================================================
   INICIO: escritorio con papeles (se mueve solo y responde al toque)
   ========================================================================== */
.vx-hero { padding: clamp(36px, 6vw, 80px) 0 clamp(50px, 6vw, 80px); overflow: hidden; }
.vx-hero__grid { display: grid; grid-template-columns: 1.02fr 1fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.vx-hero__lead { font-size: 1.18rem; color: var(--ink-2); max-width: 48ch; margin: 0 0 30px; }
.vx-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.vx-garantias { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: .95rem; color: var(--ink-2); }
.vx-garantias li { display: inline-flex; align-items: center; gap: 7px; }
.vx-garantias .vx-ico { color: var(--teal); width: 18px; height: 18px; }

.vx-desk { position: relative; height: 580px; perspective: 1800px; }
.vx-sheet {
  --x: 0px; --y: 0px; --r: 0deg; --s: 1;
  position: absolute; left: 0; top: 0; width: min(400px, 80%); cursor: pointer;
  transform: translate3d(var(--x), var(--y), 0) rotate(var(--r)) scale(var(--s));
  transition: transform .9s var(--ease-out), opacity .6s var(--ease);
  outline-offset: 6px;
}
/* Posiciones del escritorio (las rota el script) */
.vx-sheet[data-pos="0"] { --x: 4%; --y: 50px; --r: -3deg; z-index: 3; }
.vx-sheet[data-pos="1"] { --x: 32%; --y: 0px; --r: 4deg; --s: .96; z-index: 2; }
.vx-sheet[data-pos="2"] { --x: 26%; --y: 120px; --r: 8deg; --s: .93; z-index: 1; }
.vx-sheet:not([data-pos]) { left: 4%; top: 50px; }
.vx-sheet[data-pos="0"]:hover { --y: 42px; }
.vx-sheet__tab {
  position: absolute; top: -15px; left: 22px; z-index: 2; color: #fff; background: var(--a, var(--ink));
  font-size: .78rem; font-weight: 700; padding: 5px 10px 6px; border-radius: 6px 6px 0 0;
}
.vx-sheet__inner { position: relative; display: block; height: 440px; transform-style: preserve-3d; transition: transform 1s var(--ease-out); }
.vx-sheet.is-flipped .vx-sheet__inner { transform: rotateY(180deg); }
.vx-face { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.vx-face--app { transform: rotateY(180deg); }
.vx-face .vx-paper { height: 100%; }
.vx-face--app .ui-wrap { height: 100%; border-radius: 16px; box-shadow: var(--shadow-paper); display: grid; place-items: center; padding: 18px; overflow: hidden;
  background:radial-gradient(120% 80% at 90% 0%, var(--a), transparent 60%), var(--a);background:radial-gradient(120% 80% at 90% 0%, color-mix(in srgb, var(--a) 32%, #fff), transparent 60%), color-mix(in srgb, var(--a) 12%, #eef0ea); }
.vx-face--app .ui--win, .vx-face--app .ui--browser { width: 100%; }
.vx-face--app .ui--phone { width: 216px; }
.vx-face--app .ui-phone { min-height: 0; max-height: 380px; }
.vx-desk__dots { position: absolute; left: 4%; bottom: 0; display: flex; gap: 8px; }
.vx-desk__dots button { width: 28px; height: 6px; border-radius: 3px; border: 0; padding: 0; cursor: pointer; background: var(--line); transition: background-color .3s, width .4s var(--ease-out); }
.vx-desk__dots button[aria-selected="true"] { width: 46px; background: var(--ink); }
.vx-desk__hint { position: absolute; left: 34%; bottom: -4px; margin: 0; font-size: 1.2rem; color: var(--redpen); transform: rotate(-3deg); }

/* Carga: los papeles caen suave sobre el escritorio */
.vx-js .vx-desk .vx-sheet { opacity: 0; transform: translate3d(var(--x), calc(var(--y) - 40px), 0) rotate(calc(var(--r) * 2)) scale(var(--s)); }
.vx-js .vx-desk.is-ready .vx-sheet { opacity: 1; transform: translate3d(var(--x), var(--y), 0) rotate(var(--r)) scale(var(--s)); }
.vx-js .vx-desk.is-ready:not(.is-settled) .vx-sheet[data-pos="2"] { transition-delay: .05s; }
.vx-js .vx-desk.is-ready:not(.is-settled) .vx-sheet[data-pos="1"] { transition-delay: .2s; }
.vx-js .vx-desk.is-ready:not(.is-settled) .vx-sheet[data-pos="0"] { transition-delay: .35s; }
.vx-js .vx-desk__hint, .vx-js .vx-desk__dots { opacity: 0; transition: opacity .6s .2s; }
.vx-js .vx-desk.is-settled .vx-desk__hint, .vx-js .vx-desk.is-settled .vx-desk__dots { opacity: 1; }

/* ==========================================================================
   PAPELES (siempre claros: son papel)
   ========================================================================== */
.vx-paper {
  position: relative; display: block; background: var(--hoja); color: var(--hoja-ink);
  border-radius: 2px; padding: 26px 24px 22px; box-shadow: var(--shadow-paper);
  font-size: 15px; line-height: 1.5; text-align: left; overflow: hidden;
}
.vx-paper ul { list-style: none; margin: 0; padding: 0; }
.vx-paper p { margin: 0; }
.vx-paper__printed { display: flex; justify-content: space-between; align-items: baseline; border-bottom: 3px double currentColor; color: var(--blue); padding-bottom: 8px; margin-bottom: 14px; font-family: var(--f-sans); }
.vx-paper__form { font-weight: 800; font-size: 1.05rem; letter-spacing: .02em; }
.vx-paper__nro { font-weight: 700; font-size: .85rem; font-variant-numeric: tabular-nums; }
.vx-paper__lbl { font-family: var(--f-sans); font-size: .72rem; font-weight: 700; color: var(--blue); margin-right: 6px; }
.vx-paper__lbl--r { margin-left: 18px; }
.vx-hand--l1 { margin-bottom: 10px !important; font-size: 1.08rem; }
.vx-paper__rows li { display: flex; justify-content: space-between; gap: 14px; padding: 7px 0; border-bottom: 1px dashed var(--rule); font-size: 1.05rem; }
.vx-paper__rows li b { font-weight: 700; white-space: nowrap; }
.vx-paper__rows--qty li { justify-content: flex-start; }
.vx-paper__rows--qty li b { min-width: 58px; }
.vx-tachado { text-decoration: line-through; text-decoration-color: var(--redpen); text-decoration-thickness: 2px; opacity: .75; }
.vx-nota { color: var(--redpen); font-size: 1.1rem; transform: rotate(-3deg); margin-top: 14px !important; }
.vx-nota--margen { position: absolute; right: 16px; bottom: 18px; transform: rotate(-8deg); }
.vx-nota--azul { color: var(--pen) !important; }
.vx-paper__total { position: relative; display: inline-block; margin-top: 16px !important; font-size: 1.3rem; padding: 4px 12px; }
.vx-paper__total b { font-weight: 700; margin-left: 8px; }
.vx-circulo { position: absolute; inset: -8px -12px; width: calc(100% + 24px); height: calc(100% + 16px); fill: none; stroke: var(--redpen); stroke-width: 2; stroke-linecap: round; }
.vx-firma { width: 130px; height: 38px; fill: none; stroke: var(--pen); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.vx-paper__retira { display: flex; align-items: flex-end; gap: 8px; margin-top: 16px; border-bottom: 1px solid var(--rule); width: fit-content; padding-right: 10px; }
.vx-paper--presu { background-image: linear-gradient(90deg, transparent 15px, rgba(184,35,79,.35) 15px, rgba(184,35,79,.35) 16px, transparent 16px), repeating-linear-gradient(180deg, transparent 0 33px, var(--rule) 33px 34px); background-position: 0 0, 0 70px; }
.vx-paper__ring { position: absolute; right: -36px; top: -40px; width: 130px; height: 130px; border-radius: 50%; background: radial-gradient(circle, transparent 54%, rgba(150,95,45,.16) 56%, rgba(150,95,45,.05) 62%, transparent 64%); pointer-events: none; }
.vx-paper--vale { background: var(--rosa); padding-top: 30px; }
.vx-paper--vale .vx-paper__printed, .vx-paper--vale .vx-paper__lbl { color: var(--print); }
.vx-paper__perfo { position: absolute; left: 0; right: 0; top: 8px; height: 6px; background: radial-gradient(circle, rgba(0,0,0,.18) 2.2px, transparent 2.6px) 0 0 / 12px 6px repeat-x; }
.vx-paper--vale .vx-paper__rows li { border-bottom-color: rgba(176,54,79,.2); }
.vx-paper--planilla .vx-paper__printed { color: var(--teal); }
.vx-grid { width: 100%; border-collapse: collapse; font-size: 1.02rem; }
.vx-grid th, .vx-grid td { border: 1px solid rgba(15,154,132,.28); padding: 6px 4px; text-align: center; }
.vx-grid tr:first-child th { font-family: var(--f-sans); font-size: .75rem; font-weight: 700; color: var(--teal); }
.vx-grid th.vx-hand { text-align: left; padding-left: 8px; font-weight: 400; }
.vx-paper--agenda { background: var(--amarillo); }
.vx-paper--agenda .vx-paper__printed { color: #8a6a12; }
.vx-paper--cuaderno { background-image: linear-gradient(var(--rule) 1px, transparent 1px), linear-gradient(90deg, var(--rule) 1px, transparent 1px); background-size: 18px 18px; }
.vx-paper--cuaderno .vx-paper__rows li { border: 0; padding: 5px 0; }
.vx-paper--recibo { background: var(--amarillo); padding-top: 30px; }
.vx-paper--recibo .vx-paper__printed, .vx-paper--recibo .vx-paper__lbl { color: #876410; }
.vx-paper--postit { background: #f6e173; }
.vx-paper--postit .vx-paper__rows li { border-bottom-color: rgba(120,90,0,.18); }
.vx-postit__t { font-size: 1.6rem !important; color: var(--redpen) !important; margin-bottom: 6px !important; }
.vx-paper--fotocopia { background-color: #efefec; }
.vx-paper--fotocopia .vx-paper__printed { color: #3c3c3c; }
.vx-paper__rows--print li { font-family: var(--f-sans); font-size: .98rem; color: #2f3337; }
.vx-paper__rows--print s { color: #8a8f94; font-weight: 500; margin-right: 6px; }
.vx-paper__rows--print em { font-style: normal; font-size: 1.12rem; color: var(--pen); }
.vx-paper--tarjeta-wrap { background: #e4e0d6; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 4px; }
.vx-tarjeta { background: #fff; width: 82%; padding: 22px 22px 18px; display: grid; gap: 3px; transform: rotate(-5deg); box-shadow: 0 16px 26px -14px rgba(0,0,0,.35); border-top: 4px solid var(--blue); margin-bottom: 16px; }
.vx-tarjeta b { font-size: 1.25rem; letter-spacing: -.02em; }
.vx-tarjeta span { color: #4b5663; font-size: .95rem; }
.vx-tarjeta small { margin-top: 8px; font-weight: 600; }
.vx-circulado { outline: 2px solid var(--redpen); outline-offset: -3px; border-radius: 50%; }
.vx-resaltado span, .vx-resaltado b { background: linear-gradient(transparent 35%, rgba(245,214,60,.75) 35%, rgba(245,214,60,.75) 88%, transparent 88%); }
.vx-paper--postits { background: #e4e0d6; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-content: start; padding-top: 30px; }
.vx-postit-mini { background: #f6e173; padding: 14px 12px; min-height: 92px; font-size: 1.1rem; line-height: 1.3; transform: rotate(var(--r, 0deg)); box-shadow: 0 10px 16px -10px rgba(0,0,0,.35); }
.vx-postit-mini:nth-child(2) { background: var(--rosa); }
.vx-postit-mini:nth-child(3) { background: #cfe8dd; }
.vx-paper--postits .vx-nota { grid-column: 1 / -1; }

/* ==========================================================================
   INTERFACES DE LAS HERRAMIENTAS (siempre claras, nítidas, sin escalar)
   ========================================================================== */
.ui-wrap { --a: #1f6fb0; position: relative; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; letter-spacing: -.005em; color: #16202b; font-size: 12px; line-height: 1.4; }
.ui { background: #fff; overflow: hidden; text-align: left; }
.ui p { margin: 0; }
.ui-i { width: 14px; height: 14px; flex: none; }
.ui-muted { color: #6b7480; }
.ui-label { font-size: 10px; font-weight: 700; color: #8a939e; margin: 0 0 6px !important; }
.ui-chip { display: inline-flex; align-items: center; gap: 4px; font-size: 10px; font-weight: 700; padding: 3px 8px; border-radius: 999px; background:var(--a);background:color-mix(in srgb, var(--a) 12%, #fff); color: var(--a); white-space: nowrap; font-style: normal; }
.ui-chip--ok { background: #dcf2ec; color: #0b6f5f; }
.ui-pos { color: #0b6f5f; font-style: normal; font-weight: 700; }
.ui-neg { color: #b8234f; font-style: normal; font-weight: 700; }
.ui-btn { display: flex; align-items: center; justify-content: center; gap: 6px; background: var(--a); color: #fff; font-weight: 700; padding: 10px; border-radius: 10px; margin-top: 10px; }
.ui-btn--wa { background: #1c8f4e; }
.ui-av { width: 26px; height: 26px; border-radius: 50%; flex: none; display: inline-grid; place-items: center; font-size: 10px; font-weight: 800; background:var(--a);background:color-mix(in srgb, var(--a) 16%, #fff); color: var(--a); }
.ui-av--2 { background: #fbe6d4; color: #9a4612; }
.ui-av--3 { background: #dcf2ec; color: #0b6f5f; }
.ui-av--me { background: #16202b; color: #fff; width: 24px; height: 24px; font-size: 9px; }
.ui-dots { display: inline-flex; gap: 5px; }
.ui-dots i { width: 9px; height: 9px; border-radius: 50%; background: #e3e5e8; }
.ui-dots i:first-child { background: #f87171; } .ui-dots i:nth-child(2) { background: #fbbf24; } .ui-dots i:nth-child(3) { background: #34d399; }

/* Ventana de escritorio */
.ui--win { border-radius: 12px; box-shadow: 0 1px 2px rgba(0,0,0,.06), 0 24px 50px -22px rgba(10,20,30,.45); border: 1px solid rgba(22,32,43,.1); display: flex; flex-direction: column; }
.ui-win__top { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-bottom: 1px solid #eceef0; background: #fafbfa; }
.ui-win__top b { font-size: 12px; margin-left: 4px; }
.ui-win__search { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; color: #9aa2ab; background: #f0f2f1; border-radius: 7px; padding: 4px 10px; font-size: 11px; min-width: 110px; }
.ui-bell { color: #8a939e; }
.ui-win__body { display: flex; min-height: 0; flex: 1; }
.ui-side { width: 44px; flex: none; background: #f6f7f6; border-right: 1px solid #eceef0; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 10px 0; }
.ui-side__logo { width: 20px; height: 20px; border-radius: 6px; background: var(--a); margin-bottom: 6px; }
.ui-side__it { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 8px; color: #8a939e; }
.ui-side__it.is-on { background:var(--a);background:color-mix(in srgb, var(--a) 14%, #fff); color: var(--a); }
.ui-main { flex: 1; min-width: 0; padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 10px; }
.ui-main__head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.ui-main__head b { font-size: 15px; letter-spacing: -.02em; }

/* Celular */
.ui--phone { width: 228px; margin-inline: auto; border-radius: 30px; padding: 7px; background: #111820; box-shadow: 0 30px 50px -24px rgba(10,20,30,.55); }
.ui-phone { background: #fff; border-radius: 24px; overflow: hidden; height: 100%; min-height: 420px; }
.ui-phone__status { display: flex; justify-content: space-between; align-items: center; padding: 8px 16px 4px; font-size: 10px; font-weight: 700; }
.ui-notch { width: 60px; height: 16px; border-radius: 10px; background: #111820; }
.ui-bat { width: 18px; height: 9px; border-radius: 2px; border: 1.5px solid #16202b; position: relative; }
.ui-bat::after { content: ""; position: absolute; inset: 1px 4px 1px 1px; background: #16202b; border-radius: 1px; }
.ui--tablet { width: 300px; border-radius: 22px; }
.ui--tablet .ui-phone { border-radius: 16px; }
.ui-app-head { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-bottom: 1px solid #eceef0; }
.ui-app-head > span:first-child { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 8px; background: var(--a); color: #fff; }
.ui-app-head b { font-size: 14px; letter-spacing: -.02em; flex: 1; }
.ui-pad { padding: 12px 14px; display: flex; flex-direction: column; gap: 8px; }
.ui-lines { display: grid; gap: 6px; }
.ui-lines div { display: flex; justify-content: space-between; gap: 8px; padding-bottom: 6px; border-bottom: 1px solid #eceef0; }
.ui-lines span { color: #4b5663; }
.ui-total { display: flex; justify-content: space-between; align-items: baseline; padding: 4px 0; }
.ui-total b { font-size: 22px; letter-spacing: -.03em; }
.ui-steps { list-style: none; margin: 0; padding: 0 0 0 4px; display: grid; gap: 7px; }
.ui-steps li { display: flex; align-items: center; gap: 8px; color: #4b5663; font-size: 11px; position: relative; }
.ui-steps li::before { content: ""; width: 9px; height: 9px; border-radius: 50%; border: 2px solid var(--a); flex: none; }
.ui-steps li.is-last::before { background: var(--a); }
.ui-steps em { margin-left: auto; font-style: normal; font-weight: 700; color: #16202b; }

.ui-week { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; padding: 10px 12px; }
.ui-week span { display: grid; justify-items: center; gap: 2px; padding: 6px 0; border-radius: 10px; font-size: 10px; color: #8a939e; font-weight: 700; }
.ui-week b { font-size: 14px; color: #16202b; }
.ui-week .is-on { background: var(--a); color: rgba(255,255,255,.8); }
.ui-week .is-on b { color: #fff; }
.ui-slots { gap: 7px; padding-top: 2px; }
.ui-slot { display: grid; grid-template-columns: 34px 1fr auto; gap: 8px; align-items: center; padding: 8px 10px; border-radius: 10px; background:var(--a);background:color-mix(in srgb, var(--a) 8%, #fff); border-left: 3px solid var(--a); }
.ui-slot em { font-style: normal; font-weight: 800; font-size: 11px; }
.ui-slot span { display: grid; font-size: 10px; color: #6b7480; }
.ui-slot span b { font-size: 12px; color: #16202b; }
.ui-slot--alt { background: repeating-linear-gradient(135deg, #f6f7f6 0 6px, #fff 6px 12px); border-left-color: #cfd4d9; }

.ui-hero-card { background:linear-gradient(135deg, var(--a), var(--a));background:linear-gradient(135deg, var(--a), color-mix(in srgb, var(--a) 65%, #0b1117)); color: #fff; border-radius: 14px; padding: 12px 12px 0; display: grid; gap: 2px; overflow: hidden; }
.ui-hero-card span { font-size: 10px; opacity: .85; }
.ui-hero-card b { font-size: 20px; letter-spacing: -.03em; }
.ui-hero-card .ui-spark { height: 34px; margin: 4px -12px 0; width: calc(100% + 24px); }
.ui-hero-card .ui-spark__a { fill: rgba(255,255,255,.18); }
.ui-hero-card .ui-spark__l { stroke: #fff; }
.ui-spark { width: 100%; height: 28px; display: block; }
.ui-spark__a { fill:var(--a);fill:color-mix(in srgb, var(--a) 14%, transparent); }
.ui-spark__l { fill: none; stroke: var(--a); stroke-width: 1.8; vector-effect: non-scaling-stroke; }
.ui-spark--neg .ui-spark__a { fill: rgba(184,35,79,.12); }
.ui-spark--neg .ui-spark__l { stroke: #b8234f; }
.ui-rows { display: grid; gap: 2px; }
.ui-rows > div { display: grid; grid-template-columns: 26px 1fr auto; gap: 8px; align-items: center; padding: 6px 0; border-bottom: 1px solid #eceef0; }
.ui-rows > div:last-child { border: 0; }
.ui-rows span:nth-child(2) { display: grid; font-size: 10px; color: #6b7480; }
.ui-rows span:nth-child(2) b { color: #16202b; font-size: 12px; }
.ui-rows em { font-style: normal; font-weight: 700; }

.ui-kanban { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.ui-kanban > div { background: #f6f7f6; border-radius: 10px; padding: 8px; display: grid; gap: 6px; align-content: start; }
.ui-kanban p { display: flex; justify-content: space-between; font-size: 10px; font-weight: 700; color: #6b7480; }
.ui-kanban p em { font-style: normal; color: var(--a); }
.ui-kcard { background: #fff; border-radius: 8px; padding: 7px 8px; display: grid; gap: 1px; box-shadow: 0 1px 2px rgba(0,0,0,.06); border-left:3px solid var(--a);border-left:3px solid color-mix(in srgb, var(--a) 40%, #fff); }
.ui-kcard span { font-size: 10px; color: #6b7480; }
.ui-kcard i { font-style: normal; font-weight: 700; font-size: 11px; color: var(--a); }
.ui-kcard--hot { border-left-color: #e8752a; }
.ui-kcard--win { border-left-color: #0f9a84; }
.ui-task { display: flex; align-items: center; gap: 8px; padding: 9px 10px; border-radius: 10px; background:var(--a);background:color-mix(in srgb, var(--a) 8%, #fff); color: var(--a); }
.ui-task span { color: #4b5663; font-size: 11px; }
.ui-task b { color: #16202b; }

.ui--chat .ui-phone { background: #efe9e0; }
.ui-chat-head { display: flex; align-items: center; gap: 8px; padding: 8px 12px; background: #1c8f4e; color: #fff; }
.ui-chat-head .ui-av { background: rgba(255,255,255,.2); color: #fff; }
.ui-chat-head span:nth-child(2) { display: grid; font-size: 10px; flex: 1; opacity: .9; }
.ui-chat-head b { font-size: 12px; }
.ui-chat { padding: 10px 10px 4px; display: grid; gap: 6px; }
.ui-bub { max-width: 82%; padding: 6px 9px 14px; border-radius: 10px; position: relative; font-size: 11px; box-shadow: 0 1px 1px rgba(0,0,0,.08); }
.ui-bub em { position: absolute; right: 8px; bottom: 3px; font-size: 8.5px; color: #8a939e; font-style: normal; }
.ui-bub--in { background: #fff; justify-self: start; border-top-left-radius: 2px; }
.ui-bub--out { background: #d9fdd3; justify-self: end; border-top-right-radius: 2px; }
.ui-bub--doc { background: #d9fdd3; justify-self: end; display: flex; align-items: center; gap: 6px; padding-bottom: 6px; font-weight: 600; color: #b8234f; }
.ui-bub--doc span { color: #16202b; }
.ui-quick { display: flex; gap: 6px; padding: 4px 10px; flex-wrap: wrap; }
.ui-quick span { background: #fff; border: 1px solid #cfe3d4; color: #1c8f4e; font-weight: 700; font-size: 10px; padding: 4px 8px; border-radius: 999px; }
.ui-compose { display: flex; align-items: center; gap: 8px; margin: 6px 10px 10px; background: #fff; border-radius: 999px; padding: 7px 7px 7px 12px; color: #8a939e; font-size: 11px; }
.ui-compose i { margin-left: auto; width: 26px; height: 26px; border-radius: 50%; background: #1c8f4e; color: #fff; display: grid; place-items: center; }

/* Navegador */
.ui--browser { border-radius: 12px; box-shadow: 0 24px 50px -22px rgba(10,20,30,.45); border: 1px solid rgba(22,32,43,.1); }
.ui-br__top { display: flex; align-items: center; gap: 10px; padding: 8px 12px; background: #f3f4f3; border-bottom: 1px solid #e5e7e8; }
.ui-br__url { flex: 1; display: inline-flex; align-items: center; gap: 6px; background: #fff; border-radius: 7px; padding: 4px 10px; font-size: 11px; color: #4b5663; }
.ui-br__url .ui-i { color: #0f9a84; width: 12px; height: 12px; }
.ui-br__body { padding: 12px; display: grid; gap: 10px; }
.ui-shop-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.ui-shop-head b { font-size: 15px; letter-spacing: -.02em; }
.ui-search { display: inline-flex; align-items: center; gap: 6px; border: 1px solid #e5e7e8; border-radius: 8px; padding: 5px 10px; color: #9aa2ab; font-size: 11px; }
.ui-tabs { display: flex; gap: 6px; }
.ui-tabs span { font-size: 11px; padding: 4px 10px; border-radius: 999px; color: #6b7480; background: #f3f4f3; font-weight: 600; }
.ui-tabs .is-on { background: var(--a); color: #fff; }
.ui-products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.ui-products > div { border: 1px solid #eceef0; border-radius: 10px; padding: 6px; display: grid; gap: 2px; }
.ui-products i { height: 54px; border-radius: 7px; background: radial-gradient(circle at 30% 30%, var(--g1), var(--g2)); margin-bottom: 4px; }
.ui-products span { font-size: 10px; color: #4b5663; }
.ui-products b { font-size: 12px; }
.ui-products em { font-style: normal; font-size: 10px; font-weight: 700; color: var(--a); }
.ui-products .is-out { opacity: .5; }
.ui-cart { display: flex; align-items: center; gap: 8px; background: #1c8f4e; color: #fff; border-radius: 10px; padding: 9px 12px; font-size: 11px; }
.ui-cart b { margin-left: auto; }
.ui-site-nav { display: flex; align-items: center; gap: 12px; font-size: 11px; color: #6b7480; }
.ui-site-nav b { margin-right: auto; color: #16202b; display: inline-flex; align-items: center; gap: 5px; font-size: 12px; }
.ui-site-nav b .ui-i { color: var(--a); }
.ui-site-hero { display: grid; grid-template-columns: 1.3fr 1fr; gap: 10px; border-radius: 12px; overflow: hidden; background:linear-gradient(120deg, var(--a), var(--a));background:linear-gradient(120deg, var(--a), color-mix(in srgb, var(--a) 55%, #0f9a84)); color: #fff; }
.ui-site-hero > div { padding: 16px 14px; display: grid; gap: 5px; align-content: center; }
.ui-site-hero b { font-size: 16px; letter-spacing: -.02em; line-height: 1.15; }
.ui-site-hero span { font-size: 10.5px; opacity: .85; }
.ui-site-hero em { font-style: normal; justify-self: start; background: #fff; color: #16202b; font-weight: 700; font-size: 11px; padding: 6px 10px; border-radius: 7px; margin-top: 4px; }
.ui-site-hero i { background: radial-gradient(circle at 60% 40%, rgba(255,255,255,.35), transparent 55%), repeating-linear-gradient(45deg, rgba(255,255,255,.08) 0 8px, transparent 8px 16px); }
.ui-site-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.ui-site-cards div { border: 1px solid #eceef0; border-radius: 10px; padding: 10px; display: grid; gap: 4px; color: var(--a); }
.ui-site-cards b { color: #16202b; font-size: 11px; }
.ui-serp { border: 1px solid #eceef0; border-radius: 10px; padding: 8px 10px; display: grid; gap: 1px; }
.ui-serp span { font-size: 9px; color: #8a939e; font-weight: 700; }
.ui-serp b { color: #1a0dab; font-size: 12px; font-weight: 600; }
.ui-serp em { color: #0f7a3e; font-style: normal; font-size: 10px; }

.ui-table { width: 100%; border-collapse: collapse; font-size: 11px; }
.ui-table th { text-align: left; font-size: 10px; font-weight: 700; color: #8a939e; padding: 0 6px 6px; border-bottom: 1px solid #eceef0; }
.ui-table td { padding: 7px 6px; border-bottom: 1px solid #f0f1f2; }
.ui-table tr.is-low td { color: #b8234f; font-weight: 700; }
.ui-bar { display: block; width: 70px; height: 6px; border-radius: 3px; background: #eef0ee; position: relative; overflow: hidden; }
.ui-bar::after { content: ""; position: absolute; inset: 0 auto 0 0; width: calc(var(--v) * 100%); background: var(--a); border-radius: 3px; }
.is-low .ui-bar::after { background: #e8752a; }
.ui-ai { display: flex; gap: 8px; align-items: flex-start; padding: 10px; border-radius: 10px; background:linear-gradient(135deg, var(--a), #fff);background:linear-gradient(135deg, color-mix(in srgb, var(--a) 10%, #fff), #fff); border:1px solid var(--a);border:1px solid color-mix(in srgb, var(--a) 22%, #fff); font-size: 11px; color: #4b5663; }
.ui-ai .ui-i { color: var(--a); margin-top: 1px; }
.ui-ai b { color: #16202b; }
.ui-split { display: grid; grid-template-columns: 1fr 1.1fr; gap: 10px; }
.ui-tlist { display: grid; gap: 6px; align-content: start; }
.ui-tlist > div { padding: 8px; border-radius: 9px; border: 1px solid #eceef0; display: grid; gap: 1px; position: relative; }
.ui-tlist > div.is-on { border-color: var(--a); background:var(--a);background:color-mix(in srgb, var(--a) 6%, #fff); }
.ui-tlist span { font-size: 10px; color: #6b7480; }
.ui-sla { position: absolute; right: 8px; top: 8px; font-style: normal; font-size: 9px; font-weight: 800; padding: 2px 6px; border-radius: 6px; background: #eef0f2; color: #6b7480; }
.ui-sla--warn { background: #fbe6d4; color: #9a4612; }
.ui-sla--ok { background: #dcf2ec; color: #0b6f5f; }
.ui-tdetail { background: #f6f7f6; border-radius: 10px; padding: 10px; display: grid; gap: 8px; align-content: start; }
.ui-tmsg { display: flex; gap: 6px; align-items: flex-start; font-size: 11px; background: #fff; padding: 7px; border-radius: 8px; }
.ui-tmsg--me { background:var(--a);background:color-mix(in srgb, var(--a) 10%, #fff); }
.ui-banner { border-radius: 12px; padding: 18px 14px; background: linear-gradient(120deg, #e8752a, var(--a)); color: #fff; display: grid; gap: 3px; }
.ui-banner b { font-size: 17px; letter-spacing: -.03em; line-height: 1.1; }
.ui-banner span { font-size: 10.5px; opacity: .9; }
.ui-channels { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.ui-channels span { display: inline-flex; align-items: center; gap: 4px; font-size: 10px; font-weight: 700; padding: 4px 8px; border-radius: 8px; border: 1px solid #e5e7e8; color: #8a939e; }
.ui-channels .is-on { border-color: var(--a); color: var(--a); }
.ui-aud { border: 1px solid #eceef0; border-radius: 12px; padding: 10px; display: grid; gap: 2px; }
.ui-aud > b { font-size: 20px; letter-spacing: -.03em; }
.ui-aud > span:not(.ui-btn) { font-size: 10px; color: #6b7480; }
.ui-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.ui-kpis > div { border: 1px solid #eceef0; border-radius: 10px; padding: 9px 9px 4px; display: grid; gap: 1px; }
.ui-kpis span { font-size: 10px; font-weight: 700; color: #8a939e; }
.ui-kpis b { font-size: 17px; letter-spacing: -.03em; }
.ui-kpis em { font-size: 10px; }
.ui-perm td { vertical-align: middle; }
.ui-perm td:first-child { display: flex; align-items: center; gap: 6px; font-weight: 600; }
.ui-perm .ui-av { width: 22px; height: 22px; }
.ui-y, .ui-n { display: inline-grid; width: 18px; height: 18px; border-radius: 5px; place-items: center; }
.ui-y { background: #dcf2ec; } .ui-y::after { content: ""; width: 8px; height: 4px; border-left: 2px solid #0b6f5f; border-bottom: 2px solid #0b6f5f; transform: rotate(-45deg) translate(1px, -1px); }
.ui-n { background: #f1f2f3; } .ui-n::after { content: ""; width: 8px; height: 2px; background: #b8bec5; }
.ui-perm em { font-style: normal; font-size: 10px; font-weight: 700; padding: 2px 7px; border-radius: 6px; background:var(--a);background:color-mix(in srgb, var(--a) 12%, #fff); color: var(--a); }
.ui-flow { display: grid; gap: 14px; position: relative; padding-left: 4px; }
.ui-flow::before { content: ""; position: absolute; left: 20px; top: 16px; bottom: 16px; width: 2px; background:repeating-linear-gradient(180deg, var(--a) 0 4px, transparent 4px 8px);background:repeating-linear-gradient(180deg, color-mix(in srgb, var(--a) 50%, #fff) 0 4px, transparent 4px 8px); }
.ui-node { position: relative; display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; border: 1px solid #e5e7e8; background: #fff; }
.ui-node > .ui-i { width: 26px; height: 26px; padding: 6px; border-radius: 8px; background:var(--a);background:color-mix(in srgb, var(--a) 12%, #fff); color: var(--a); box-sizing: border-box; }
.ui-node span { display: grid; }
.ui-node em { font-style: normal; font-size: 9.5px; font-weight: 700; color: #8a939e; }
.ui-node--trigger { border-color: var(--a); }
.ui-node--trigger > .ui-i { background: var(--a); color: #fff; }
.ui-select { display: grid; border: 1px solid #e5e7e8; border-radius: 10px; padding: 7px 10px; }
.ui-select span { font-size: 10px; color: #8a939e; font-weight: 700; }
.ui-qty { display: grid; grid-template-columns: 1fr 24px 50px 24px; align-items: center; gap: 4px; padding: 6px 0; border-bottom: 1px solid #eceef0; }
.ui-qty em { font-style: normal; width: 24px; height: 24px; border-radius: 7px; display: grid; place-items: center; background: #f1f2f3; font-weight: 800; }
.ui-qty b { text-align: center; }
.ui-sign { border: 1.5px dashed #cfd4d9; border-radius: 10px; padding: 6px 10px; display: grid; }
.ui-sign span { font-size: 9.5px; color: #8a939e; font-weight: 700; }
.ui-sign svg { height: 34px; width: 100%; fill: none; stroke: #2a3f9e; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ui-menu td { text-align: center; }
.ui-menu td:first-child { text-align: left; font-weight: 600; }
.ui-menu i { display: inline-grid; place-items: center; width: 22px; height: 20px; border-radius: 5px; font-style: normal; font-weight: 800; font-size: 10px; }
.ui-menu .m { background: #fde9d5; color: #9a4612; } .ui-menu .p { background: #e3ecfb; color: #2a3f9e; }
.ui-menu .d { background: #dcf2ec; color: #0b6f5f; } .ui-menu .f { background: #f1f2f3; color: #8a939e; }
.ui-tot td { font-weight: 800; border-bottom: 0; }

/* ---------- Franja de preguntas ---------- */
.vx-ticker { border-block: 1px solid var(--line); overflow: hidden; padding: 16px 0; background: var(--surface); }
.vx-ticker__track { display: flex; gap: 56px; width: max-content; animation: vx-ticker 60s linear infinite; will-change: transform; }
.vx-ticker span { font-size: 1.35rem; white-space: nowrap; color: var(--ink-2); }
.vx-ticker span:nth-child(3n+1) { color: var(--pen); }
.vx-ticker span:nth-child(3n+2) { color: var(--redpen); }
[data-theme="dark"] .vx-ticker span:nth-child(3n+1) { color: #8ea2ff; }
[data-theme="dark"] .vx-ticker span:nth-child(3n+2) { color: #ff8fb0; }
.vx-ticker:hover .vx-ticker__track { animation-play-state: paused; }
@keyframes vx-ticker { to { transform: translate3d(-50%, 0, 0); } }

/* ==========================================================================
   SECCIONES
   ========================================================================== */
.vx-section { padding: clamp(70px, 9vw, 120px) 0; }
.vx-section--tight { padding-bottom: clamp(40px, 6vw, 70px); }
.vx-section__head { margin-bottom: clamp(36px, 5vw, 60px); }
.vx-section__head--split { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap; }

/* Revelado al entrar en pantalla: corto y suave */
.vx-js [data-reveal] { opacity: 0; transform: translate3d(0, 16px, 0); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
.vx-js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- Selector ---------- */
.vx-picker { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(30px, 5vw, 64px); align-items: start; }
.vx-picker__chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.vx-picker__chips button {
  font: 600 .98rem/1.2 var(--f-sans); color: var(--ink); background: var(--surface); cursor: pointer;
  border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 16px; text-align: left;
  transition: border-color .2s, background-color .2s, transform .2s var(--ease), color .2s;
}
.vx-picker__chips button:hover { border-color: var(--ink); transform: translateY(-2px); }
.vx-picker__chips button[aria-checked="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.vx-picker__answer {
  position: sticky; top: 96px; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: clamp(24px, 3vw, 34px);
  box-shadow: 0 30px 60px -40px rgba(10,20,30,.45); overflow: hidden;
}
.vx-picker__answer::before { content: ""; position: absolute; inset: 0 0 auto; height: 5px; background: var(--a); transition: background-color .4s; }
.vx-picker__label { margin: 0; font-size: .9rem; font-weight: 650; color: var(--ink-3); }
.vx-picker__name { margin: 4px 0 8px; font-size: clamp(2rem, 3.4vw, 2.8rem); font-weight: 850; letter-spacing: -.045em; line-height: 1; color: var(--a); transition: color .4s; }
[data-theme="dark"] .vx-picker__name { color:var(--a);color:color-mix(in srgb, var(--a) 55%, #fff); }
.vx-picker__tag { margin: 0 0 8px; font-size: 1.15rem; font-weight: 550; }
.vx-picker__para { margin: 0 0 22px; color: var(--ink-2); }
.vx-picker__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.vx-picker__answer.is-swap [data-f] { animation: vx-swap .45s var(--ease-out); }
@keyframes vx-swap { from { opacity: 0; transform: translate3d(0, 8px, 0); } to { opacity: 1; transform: none; } }
.vx-calc { margin-top: 26px; padding-top: 22px; border-top: 1px dashed var(--line); }
.vx-calc label { font-weight: 650; display: block; margin-bottom: 10px; }
.vx-calc__row { display: flex; align-items: center; gap: 14px; }
.vx-calc input[type="range"] { flex: 1; accent-color: var(--orange); height: 28px; }
.vx-calc output { font-weight: 800; font-size: 1.2rem; min-width: 52px; text-align: right; font-variant-numeric: tabular-nums; }
.vx-calc__res { margin: 10px 0 0; color: var(--ink-2); }
.vx-calc__res b { color: var(--redpen); }
[data-theme="dark"] .vx-calc__res b { color: #ff8fb0; }

/* ---------- Filtros ---------- */
.vx-filter { display: flex; flex-wrap: wrap; gap: 8px; }
.vx-filter button { font: 600 .95rem/1 var(--f-sans); color: var(--ink); cursor: pointer; padding: 11px 14px; border-radius: 999px; border: 1.5px solid var(--line); background: transparent; display: inline-flex; gap: 8px; align-items: center; transition: background-color .2s, color .2s, border-color .2s; }
.vx-filter button span { font-size: .78rem; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.vx-filter button:hover { border-color: var(--ink); }
.vx-filter button.is-on { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.vx-filter button.is-on span { color: inherit; opacity: .7; }

/* ---------- Catálogo ---------- */
.vx-catalog { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 28px; }
.vx-card { display: flex; flex-direction: column; text-decoration: none; color: inherit; scroll-margin-top: 100px; }
.vx-card[hidden] { display: none; }
.vx-card__visual { position: relative; height: 320px; border-radius: 20px; overflow: hidden; isolation: isolate; box-shadow: inset 0 0 0 1px var(--line); }
.vx-card__body { padding: 18px 4px 0; display: flex; flex-direction: column; flex: 1; }
.vx-card__top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-bottom: 6px; }
.vx-card__name { font-size: 1.6rem; line-height: 1.05; letter-spacing: -.035em; font-weight: 820; margin: 0; }
.vx-card__tag { margin: 0 0 10px; font-size: 1.02rem; line-height: 1.45; }
.vx-card__antes { margin: 0 0 14px; font-size: .9rem; color: var(--ink-3); }
.vx-card__antes .vx-hand { color: var(--redpen); font-size: 1rem; }
[data-theme="dark"] .vx-card__antes .vx-hand { color: #ff8fb0; }
.vx-card__more { margin-top: auto; font-weight: 700; font-size: .95rem; text-decoration: underline; text-decoration-thickness: 2px; text-decoration-color: var(--a); text-underline-offset: 5px; }
.vx-card--next { position: relative; justify-content: center; padding: 34px 28px; border: 2px dashed var(--line); border-radius: 18px; }
.vx-card--next p { color: var(--ink-2); margin: 0 0 22px; }
.vx-next__note { position: absolute; top: -18px; left: 28px; margin: 0 !important; padding: 0 12px; background: var(--bg); color: var(--redpen) !important; font-size: 1.3rem; transform: rotate(-3deg); }
.vx-next__links { font-size: .9rem; color: var(--ink-3) !important; margin-bottom: 18px !important; display: flex; flex-wrap: wrap; gap: 6px 12px; }
.vx-next__links a { color: var(--ink); font-weight: 600; }
.vx-catalog--3 { grid-template-columns: repeat(3, 1fr); }

.vx-estado { display: inline-flex; align-items: center; gap: 7px; font-size: .82rem; font-weight: 650; color: var(--ink-2); white-space: nowrap; }
.vx-estado span { width: 8px; height: 8px; border-radius: 50%; background: var(--ink-3); }
.vx-estado--disponible span { background: var(--blue); box-shadow:0 0 0 3px var(--blue);box-shadow:0 0 0 3px color-mix(in srgb, var(--blue) 20%, transparent); }
.vx-estado--en_uso span { background: var(--teal); box-shadow:0 0 0 3px var(--teal);box-shadow:0 0 0 3px color-mix(in srgb, var(--teal) 22%, transparent); }
.vx-estado--piloto span { background: var(--orange); box-shadow:0 0 0 3px var(--orange);box-shadow:0 0 0 3px color-mix(in srgb, var(--orange) 22%, transparent); }

/* ---------- Cómo trabajamos ---------- */
.vx-section--carbon { background: var(--carbon); color: var(--carbon-ink); }
.vx-section--carbon .vx-lead { color: var(--carbon-ink-2); }
.vx-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 34px; counter-reset: paso; }
.vx-step { counter-increment: paso; position: relative; }
.vx-step::before { content: counter(paso); font: 800 1rem/1 var(--f-sans); color: #141c25; background: var(--orange); width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 18px; }
.vx-step h3 { font-size: 1.2rem; line-height: 1.2; margin: 0 0 8px; letter-spacing: -.015em; }
.vx-step p { margin: 0; color: var(--carbon-ink-2); font-size: 1rem; }
.vx-sketch { width: 120px; height: 90px; margin-bottom: 14px; fill: none; stroke: #dfe4ea; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.vx-sketch path, .vx-sketch circle { stroke-dasharray: 1; stroke-dashoffset: 0; }
.vx-js .vx-step .vx-sketch path, .vx-js .vx-step .vx-sketch circle { stroke-dashoffset: 1; transition: stroke-dashoffset 1.4s var(--ease-out) .2s; }
.vx-js .vx-step.is-in .vx-sketch path, .vx-js .vx-step.is-in .vx-sketch circle { stroke-dashoffset: 0; }
.vx-story { margin: clamp(56px, 7vw, 90px) 0 0; display: grid; grid-template-columns: auto 1fr; gap: 44px; align-items: center; padding-top: 50px; border-top: 1px solid rgba(255,255,255,.12); }
.vx-story:not(:has(.vx-story__photo)) { grid-template-columns: 1fr; }
.vx-story__photo { width: 320px; border-radius: 14px; overflow: hidden; box-shadow: 0 20px 40px -20px rgba(0,0,0,.6); }
.vx-story__photo img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.vx-story blockquote { margin: 0; }
.vx-story blockquote p { font-size: clamp(1.4rem, 2.6vw, 2rem); line-height: 1.3; letter-spacing: -.02em; font-weight: 500; font-style: italic; margin: 0; max-width: 36ch; color: #fff; }
.vx-story figcaption { font-family: var(--f-hand); color: var(--orange); font-size: 1.25rem; margin-top: 14px; }

/* ---------- Seguridad y tecnología ---------- */
.vx-section--trust { background: var(--surface); border-block: 1px solid var(--line); }
.vx-trust { list-style: none; margin: 0 0 clamp(40px, 6vw, 70px); padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 28px; }
.vx-trust--3 { grid-template-columns: repeat(3, 1fr); margin: 26px 0 22px; }
.vx-trust li { display: grid; align-content: start; gap: 6px; }
.vx-trust__ic { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background:var(--teal);background:color-mix(in srgb, var(--teal) 14%, transparent); color: var(--teal); margin-bottom: 8px; }
.vx-trust__ic .vx-ico { width: 24px; height: 24px; }
.vx-trust h3 { font-size: 1.05rem; margin: 0; letter-spacing: -.01em; line-height: 1.25; }
.vx-trust p { margin: 0; color: var(--ink-2); font-size: .97rem; }
.vx-stack { background: var(--carbon); color: var(--carbon-ink); border-radius: 22px; padding: clamp(26px, 4vw, 44px); }
.vx-stack__title { font-size: 1.3rem; margin: 0 0 24px; color: #fff; letter-spacing: -.02em; }
.vx-stack__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.vx-stack__grid li { display: grid; grid-template-columns: 40px 1fr; column-gap: 12px; row-gap: 2px; align-items: center; padding: 14px; border-radius: 14px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.07); transition: background-color .25s, transform .25s var(--ease); }
.vx-stack__grid li:hover { background: rgba(255,255,255,.08); transform: translate3d(0, -2px, 0); }
.vx-stack__ic { grid-row: span 2; width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: #fff; box-shadow: 0 4px 10px -4px rgba(0,0,0,.4); }
.vx-stack__ic .vx-ico { width: 22px; height: 22px; }
.vx-stack__grid b { color: #fff; font-size: .98rem; }
.vx-stack__grid span:last-child { font-size: .86rem; color: var(--carbon-ink-2); line-height: 1.4; }

/* ---------- Comparación ---------- */
.vx-compare { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(30px, 6vw, 80px); align-items: center; }
.vx-compare__sheet { display: grid; grid-template-columns: 1fr 1fr; gap: 0 30px; background: var(--hoja); color: var(--hoja-ink); padding: 34px 32px; box-shadow: var(--shadow-paper); transform: rotate(.6deg); background-image: repeating-linear-gradient(180deg, transparent 0 51px, var(--rule) 51px 52px); background-position: 0 30px; }
.vx-compare__col { list-style: none; margin: 0; padding: 0; }
.vx-compare__col li { height: 52px; display: flex; align-items: center; font-size: 1.04rem; line-height: 1.25; }
.vx-compare__col--old li { color: #78828e; }
.vx-compare__col--old span { position: relative; }
.vx-compare__col--old span::after { content: ""; position: absolute; left: -4px; right: -4px; top: 52%; height: 2.5px; background: var(--redpen); border-radius: 2px; transform: rotate(-1.5deg) scaleX(1); transform-origin: left; }
.vx-js .vx-compare__col--old span::after { transform: rotate(-1.5deg) scaleX(0); transition: transform .6s var(--ease-out); }
.vx-js .vx-compare.is-in .vx-compare__col--old span::after { transform: rotate(-1.5deg) scaleX(1); }
.vx-js .vx-compare.is-in .vx-compare__col--old li:nth-child(2) span::after { transition-delay: .2s; }
.vx-js .vx-compare.is-in .vx-compare__col--old li:nth-child(3) span::after { transition-delay: .4s; }
.vx-js .vx-compare.is-in .vx-compare__col--old li:nth-child(4) span::after { transition-delay: .6s; }
.vx-compare__col--new li { font-family: var(--f-hand); color: var(--pen); font-size: 1.22rem; }

/* ---------- A medida ---------- */
.vx-section--paper { background: var(--section-warm); }
.vx-medida { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(30px, 6vw, 80px); align-items: start; }
.vx-medida__copy .vx-lead { margin-bottom: 26px; }
.vx-polaroid { margin-top: 40px; width: 280px; background: #fff; padding: 12px 12px 14px; transform: rotate(-4deg); box-shadow: var(--shadow-paper); position: relative; }
.vx-polaroid::before { content: ""; position: absolute; top: -12px; left: 30%; width: 90px; height: 24px; background: rgba(238,240,234,.8); transform: rotate(3deg); }
.vx-polaroid__img { height: 180px; overflow: hidden; }
.vx-polaroid__img .vx-paper { box-shadow: none; height: 100%; }
.vx-polaroid p { margin: 10px 0 0; font-size: 1.2rem; color: var(--redpen); text-align: center; }
.vx-form { background: var(--surface); padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow-paper); display: grid; gap: 22px; border-radius: 14px; }
.vx-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.vx-field { display: grid; gap: 6px; }
.vx-field > span { font-size: .88rem; font-weight: 650; color: var(--ink-2); }
.vx-field input, .vx-field select, .vx-field textarea { font: 400 1.05rem/1.4 var(--f-sans); color: var(--ink); background: transparent; border: 0; border-bottom: 1.5px solid var(--line); padding: 8px 2px; border-radius: 0; width: 100%; transition: border-color .2s; }
.vx-field select { background: var(--surface); }
.vx-field textarea { resize: vertical; border: 1.5px solid var(--line); border-radius: 10px; padding: 12px; }
.vx-field input:focus, .vx-field select:focus, .vx-field textarea:focus { outline: none; border-color: var(--blue); }
.vx-form__foot { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; }
.vx-form__foot p { margin: 0; font-size: .9rem; color: var(--ink-2); display: inline-flex; gap: 8px; align-items: center; }
.vx-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.vx-alert { padding: 12px 14px; border-radius: 8px; font-weight: 600; margin: 0; }
.vx-alert--ok { background: var(--teal-soft); color: #0b6f5f; }
.vx-alert--err { background: #f8dde4; color: var(--redpen); }

/* ---------- Preguntas ---------- */
.vx-faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(30px, 6vw, 80px); align-items: start; }
.vx-faq__list { border-top: 1px solid var(--line); }
.vx-faq__item { border-bottom: 1px solid var(--line); }
.vx-faq__item summary { cursor: pointer; list-style: none; padding: 22px 44px 22px 0; position: relative; font-weight: 650; font-size: 1.1rem; letter-spacing: -.01em; }
.vx-faq__item summary::-webkit-details-marker { display: none; }
.vx-faq__item summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 14px; height: 14px; margin-top: -7px; background: linear-gradient(currentColor, currentColor) center / 14px 2px no-repeat, linear-gradient(currentColor, currentColor) center / 2px 14px no-repeat; transition: transform .3s var(--ease-out); }
.vx-faq__item[open] summary::after { transform: rotate(45deg); }
.vx-faq__item p { margin: 0 0 24px; color: var(--ink-2); max-width: 62ch; }

/* ---------- Pie ---------- */
.vx-footer { background: var(--carbon); color: #c6ced8; padding: 70px 0 30px; }
.vx-footer .vx-logo { color: #fff; margin-bottom: 14px; }
.vx-footer__grid { display: grid; grid-template-columns: 1.3fr 1.6fr 1fr 1fr; gap: 40px; }
.vx-footer__brand p { max-width: 36ch; margin: 0; font-size: .97rem; }
.vx-footer h4 { color: #fff; font-size: .95rem; margin: 6px 0 14px; }
.vx-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.vx-footer__tools { grid-template-columns: 1fr 1fr; column-gap: 20px; }
.vx-footer a { text-decoration: none; transition: color .15s; }
.vx-footer a:hover { color: #fff; }
.vx-social { display: flex !important; gap: 10px !important; margin-top: 22px !important; }
.vx-social a { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: rgba(255,255,255,.07); color: #dfe4ea; transition: background-color .2s, transform .2s var(--ease); }
.vx-social a:hover { background: rgba(255,255,255,.15); transform: translate3d(0, -2px, 0); }
.vx-social .vx-ico { width: 18px; height: 18px; }
.vx-footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-top: 56px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); font-size: .87rem; color: #8b96a3; }

/* ---------- Contacto ---------- */
.vx-contact { padding: clamp(40px, 7vw, 90px) 0 clamp(70px, 9vw, 120px); }
.vx-contact__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(30px, 6vw, 80px); align-items: start; }
.vx-contact__list { list-style: none; margin: 30px 0 0; padding: 0; display: grid; gap: 18px; }
.vx-contact__list li { padding-left: 18px; border-left: 3px solid var(--orange); }
.vx-contact__list b { display: block; }
.vx-contact__list span { color: var(--ink-2); }

/* ---------- Página de cada herramienta ---------- */
.vx-pp-hero { padding: clamp(36px, 6vw, 80px) 0 clamp(40px, 6vw, 70px); overflow: hidden; }
.vx-pp-hero__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(30px, 6vw, 80px); align-items: center; }
.vx-back { display: table; margin-bottom: 22px; font-weight: 600; color: var(--ink-2); text-decoration: none; font-size: .95rem; }
.vx-back::before { content: ""; display: inline-block; width: 8px; height: 8px; border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); margin-right: 8px; vertical-align: 1px; }
.vx-back:hover { color: var(--ink); }
.vx-crumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: .9rem; color: var(--ink-3); margin-bottom: 20px; }
.vx-crumbs a { color: var(--ink-2); text-decoration: none; font-weight: 600; }
.vx-crumbs a:hover { color: var(--ink); text-decoration: underline; }
.vx-crumbs [aria-current] { color: var(--ink); font-weight: 600; }
.vx-para-h1 { max-width: 20ch; }
.vx-para-points { list-style: none; padding: 0; margin: 30px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; max-width: 1000px; }
.vx-para-points li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; }
.vx-para-points .vx-ico { color: var(--teal); width: 20px; height: 20px; margin-top: 3px; }
.vx-para-points b { display: block; }
.vx-para-points span { color: var(--ink-2); }
.vx-para-points b { color: var(--ink); }
.vx-para-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 34px; }
.vx-para-nav a { text-decoration: none; font-weight: 600; font-size: .95rem; padding: 9px 14px; border-radius: 999px; border: 1.5px solid var(--line); }
.vx-para-nav a:hover { border-color: var(--ink); }
.vx-para-nav a[aria-current] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
@media (max-width: 900px) { .vx-para-points { grid-template-columns: 1fr; } }
.vx-pp-kw { margin: 14px 0 0; font-weight: 650; color: var(--a, var(--ink-2)); font-size: 1rem; }
[data-theme="dark"] .vx-pp-kw { color:var(--a);color:color-mix(in srgb, var(--a) 55%, #fff); }
.vx-pp-name { font-size: clamp(3rem, 7vw, 5.4rem); line-height: .95; letter-spacing: -.05em; font-weight: 850; margin: 12px 0 16px; }
.vx-pp-tag { font-size: clamp(1.25rem, 2vw, 1.55rem); line-height: 1.3; letter-spacing: -.015em; margin: 0 0 10px; max-width: 30ch; font-weight: 550; }
.vx-pp-for { color: var(--ink-2); margin: 0 0 28px; }
.vx-pp-price { margin-top: 18px; }
.vx-price { margin: 0; display: flex; flex-direction: column; gap: 2px; font-size: .95rem; color: var(--ink-2); }
.vx-price b { font-size: 1.3rem; color: var(--ink); letter-spacing: -.02em; }
.vx-pp-visual { position: relative; min-height: 540px; border-radius: 26px; isolation: isolate; background:radial-gradient(110% 80% at 90% 0%, var(--a), transparent 60%), var(--a);background:radial-gradient(110% 80% at 90% 0%, color-mix(in srgb, var(--a) 30%, transparent), transparent 60%), color-mix(in srgb, var(--a) 10%, var(--surface-2)); }
.vx-pp-visual__paper { position: absolute; left: 4%; top: 40px; width: 44%; transform: rotate(-5deg); z-index: 0; }
.vx-pp-visual__paper .vx-paper { min-height: 360px; }
.vx-pp-visual__ui { position: absolute; inset: 0; border-radius: inherit; overflow: hidden; z-index: 1; }
.vx-pp-visual .vx-show { background: none; }
.vx-pp-visual__note { z-index: 2; position: absolute; left: 7%; bottom: 18px; margin: 0; color: var(--redpen); font-size: 1.25rem; transform: rotate(-3deg); }
.vx-js .vx-pp-visual__paper { animation: vx-paper-in 1s var(--ease-out) both; }

@keyframes vx-paper-in { from { opacity: 0; transform: rotate(-10deg) translate3d(-20px, -20px, 0); } }
@keyframes vx-ui-in { from { opacity: 0; transform: translate3d(30px, 20px, 0); } }
.vx-pp-detail { padding-top: 30px; }
.vx-pp-detail__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 80px); }
.vx-product__replaces { margin: 0 0 18px; padding: 12px 16px; background: var(--surface); border-left: 3px solid var(--redpen); }
.vx-product__replaces span:first-child { display: block; font-size: .8rem; font-weight: 700; color: var(--ink-3); }
.vx-product__replaces .vx-hand { font-size: 1.2rem; line-height: 1.35; color: var(--redpen); }
[data-theme="dark"] .vx-product__replaces .vx-hand { color: #ff8fb0; }
.vx-pp-resumen { font-size: 1.3rem; line-height: 1.5; letter-spacing: -.01em; margin: 0; max-width: 40ch; }
.vx-checks { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 10px; }
.vx-checks li { position: relative; padding-left: 32px; font-size: 1.08rem; }
.vx-checks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 6px; background:var(--teal);background:color-mix(in srgb, var(--teal) 16%, transparent); }
.vx-checks li::after { content: ""; position: absolute; left: 6px; top: 9px; width: 8px; height: 4px; border-left: 2px solid var(--teal); border-bottom: 2px solid var(--teal); transform: rotate(-45deg); }
.vx-pp-photo { padding: 0 0 clamp(50px, 7vw, 90px); }
.vx-pp-photo figure { margin: 0; border-radius: 22px; overflow: hidden; background: var(--surface-2); }
.vx-pp-photo img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; }
.vx-pp-photo figcaption { padding: 14px 18px; font-size: .92rem; color: var(--ink-2); }
.vx-pp-cta { text-align: center; display: grid; justify-items: center; gap: 22px; }
.vx-pp-cta .vx-h2 { max-width: 22ch; margin: 0; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1080px) {
  .vx-catalog, .vx-catalog--3 { grid-template-columns: repeat(2, 1fr); }
  .vx-trust { grid-template-columns: repeat(3, 1fr); }
  .vx-steps { grid-template-columns: repeat(2, 1fr); gap: 44px 30px; }
  .vx-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .vx-nav__links, .vx-nav__login, .vx-nav__cta .vx-btn { display: none; }
  .vx-burger { display: block; }
  .vx-hero__grid, .vx-compare, .vx-medida, .vx-faq, .vx-contact__grid, .vx-picker, .vx-pp-hero__grid, .vx-pp-detail__grid { grid-template-columns: 1fr; }
  .vx-desk { height: 540px; max-width: 540px; width: 100%; margin-inline: auto; }
  .vx-picker__answer { position: static; }
  .vx-story { grid-template-columns: 1fr; }
  .vx-story__photo { width: 260px; }
  .vx-trust--3 { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  body.vx { font-size: 1rem; }
  .vx-catalog, .vx-catalog--3 { grid-template-columns: 1fr; }
  .vx-trust { grid-template-columns: 1fr 1fr; }
  .vx-desk { height: 500px; }
  .vx-sheet { width: 84%; }
  .vx-sheet__inner { height: 410px; }
  .vx-sheet[data-pos="0"] { --x: 0%; }
  .vx-sheet[data-pos="1"] { --x: 18%; }
  .vx-sheet[data-pos="2"] { --x: 12%; --y: 100px; }
  .vx-desk__hint { display: none; }
  .vx-paper { padding: 22px 18px 18px; font-size: 14px; }
  .vx-steps { grid-template-columns: 1fr; }
  .vx-form__row { grid-template-columns: 1fr; }
  .vx-compare__sheet { padding: 24px 18px; gap: 0 14px; }
  .vx-compare__col li { font-size: .92rem; }
  .vx-compare__col--new li { font-size: 1.05rem; }
  .vx-footer__grid { grid-template-columns: 1fr; }
  .vx-pp-visual { min-height: 460px; }
  .vx-pp-visual__paper { width: 70%; }
  
  
}

/* Movimiento reducido o animaciones apagadas desde el admin */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; transition-delay: 0s !important; animation: none !important; }
}
/* (showcase al final del archivo) */
body.vx-quiet *, body.vx-quiet *::before, body.vx-quiet *::after { transition-duration: .01ms !important; transition-delay: 0s !important; animation: none !important; }


/* ==========================================================================
   VITRINA DE CADA HERRAMIENTA: equipos realistas, escena propia y notificación
   ========================================================================== */
.vx-show { position: absolute; inset: 0; overflow: hidden; perspective: 1400px; }
.vx-show__stage { position: absolute; inset: 0; transform-style: preserve-3d; transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .7s var(--ease-out); will-change: transform; }
.vx-show__device { position: absolute; transform-style: preserve-3d; }

/* Escenas */
.vx-scene--desk { background: linear-gradient(180deg, #f1eee7, #e2ddd2); }
.vx-scene--tint { background:radial-gradient(90% 70% at 80% 10%, var(--a), transparent 70%), var(--a);background:radial-gradient(90% 70% at 80% 10%, color-mix(in srgb, var(--a) 22%, #fff), transparent 70%), color-mix(in srgb, var(--a) 13%, #f3f4f0); }
.vx-scene--dark { background:radial-gradient(80% 70% at 75% 0%, var(--a), transparent 65%), #121820;background:radial-gradient(80% 70% at 75% 0%, color-mix(in srgb, var(--a) 45%, transparent), transparent 65%), #121820; }
.vx-scene--grid { background: radial-gradient(circle, #cfd4cc 1px, transparent 1.3px) 0 0 / 18px 18px, #f5f6f2; }
[data-theme="dark"] .vx-scene--desk { background: linear-gradient(180deg, #252c35, #1a2028); }
[data-theme="dark"] .vx-scene--tint { background:radial-gradient(90% 70% at 80% 10%, var(--a), transparent 70%), var(--a);background:radial-gradient(90% 70% at 80% 10%, color-mix(in srgb, var(--a) 35%, transparent), transparent 70%), color-mix(in srgb, var(--a) 14%, #151c24); }
[data-theme="dark"] .vx-scene--grid { background: radial-gradient(circle, rgba(255,255,255,.09) 1px, transparent 1.3px) 0 0 / 18px 18px, #171e27; }

/* Laptop */
.dv-laptop { position: relative; }
.dv-laptop__lid { position: relative; background: #0d1014; border-radius: 16px 16px 0 0; padding: 12px 12px 0; box-shadow: 0 0 0 1px #2b3139, 0 40px 70px -30px rgba(5,10,20,.55); }
.dv-laptop__lid::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: linear-gradient(115deg, rgba(255,255,255,.06), transparent 35%); }
.dv-cam { position: absolute; top: 4px; left: 50%; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: #2a3440; box-shadow: inset 0 0 0 1px #3a4552; }
.dv-laptop__view { position: relative; background: #fff; border-radius: 4px 4px 0 0; overflow: hidden; }
.dv-laptop__view > .ui-wrap .ui--win, .dv-laptop__view > .ui-wrap .ui--browser { border-radius: 0; border: 0; box-shadow: none; }
.dv-laptop__base { position: relative; height: 16px; margin: 0 -9%; background: linear-gradient(180deg, #e3e6ea 0, #c3c8ce 55%, #9aa0a8 100%); border-radius: 2px 2px 16px 16px; box-shadow: 0 20px 30px -14px rgba(5,10,20,.45); }
.dv-laptop__base i { position: absolute; left: 50%; top: 0; width: 17%; height: 6px; margin-left: -8.5%; border-radius: 0 0 8px 8px; background: linear-gradient(180deg, #a9afb7, #c9ced4); }

/* Celular */
.dv-phone { position: relative; width: 240px; padding: 9px; border-radius: 42px; background: linear-gradient(150deg, #5a6068, #1b1f25 30%, #2c3138 70%, #5d636b); box-shadow: inset 0 0 0 1.5px #7b818a, inset 0 0 0 4px #15181d, 0 40px 60px -26px rgba(5,10,20,.6); }
.dv-phone__screen { position: relative; border-radius: 33px; overflow: hidden; background: #fff; }
.dv-phone__screen::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(120deg, rgba(255,255,255,.18), transparent 28%); z-index: 4; }
.dv-island { position: absolute; z-index: 5; top: 9px; left: 50%; width: 76px; height: 22px; margin-left: -38px; border-radius: 12px; background: #050607; }
.dv-phone__btn { position: absolute; width: 3px; border-radius: 2px; background: #3d434b; }
.dv-phone__btn--a { left: -2px; top: 96px; height: 26px; }
.dv-phone__btn--b { left: -2px; top: 136px; height: 44px; }
.dv-phone__btn--c { right: -2px; top: 120px; height: 60px; }
.ui--bare .ui-phone { min-height: 520px; border-radius: 0; }
.ui--bare .ui-phone__status { padding: 13px 20px 6px; justify-content: space-between; }
.ui--bare.ui--chat .ui-phone { background: #efe9e0; }
.ui--bare.ui--tablet .ui-phone { min-height: 520px; }
.dv-shot img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top center; }

/* Notificación */
.vx-show__toast {
  position: absolute; z-index: 6; left: 16px; bottom: 18px; width: min(282px, 82%);
  display: grid; grid-template-columns: 32px 1fr auto; gap: 10px; align-items: center; padding: 10px 12px;
  background: rgba(255,255,255,.97); color: #16202b; border-radius: 14px;
  font: 12px/1.35 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  box-shadow: 0 1px 2px rgba(0,0,0,.08), 0 18px 34px -14px rgba(5,10,20,.45); transform: translateZ(60px);
}
.vx-show__tic { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; color: #fff; }
.vx-show__tic .ui-i { width: 16px; height: 16px; }
.vx-show__toast b { display: block; font-weight: 650; }
.vx-show__toast em { font-style: normal; color: #6b7480; }
.vx-show__toast time { align-self: start; font-size: 10.5px; color: #8a939e; }
.vx-show--phone .vx-show__toast { left: auto; right: 14px; bottom: 26px; width: min(250px, 70%); }
.vx-show__floor { display: none; }

/* Posición dentro de la tarjeta (equipos grandes y recortados, como una foto de producto) */
.vx-show--card.vx-show--laptop .vx-show__device { left: 28px; top: 34px; width: 540px; }
.vx-show--card.vx-show--laptop .dv-laptop__view { height: 340px; }
.vx-show--card.vx-show--laptop .dv-laptop__view .ui-wrap, .vx-show--card.vx-show--laptop .dv-laptop__view .ui { height: 100%; }
.vx-show--card.vx-show--phone .vx-show__device { left: 50%; top: 26px; margin-left: -150px; }
.vx-show--card .vx-show__second { position: absolute; right: 18px; top: 70px; z-index: 5; }
.vx-show__second .dv-phone { width: 150px; padding: 6px; border-radius: 28px; }
.vx-show__second .dv-phone__screen { border-radius: 22px; }
.vx-show__second .dv-island { width: 44px; height: 13px; margin-left: -22px; top: 6px; }

/* Con captura real la laptop se muestra entera, como foto de producto */
.vx-show--card.is-real.vx-show--laptop .vx-show__device { left: 9%; width: 82%; top: 40px; }
.vx-show--card.is-real.vx-show--laptop .dv-laptop__view { height: auto; aspect-ratio: 16 / 10; }
.vx-show--card.is-real .vx-show__toast { bottom: 14px; }

/* Posición en la página de la herramienta (equipo completo) */
.vx-show--hero.vx-show--laptop .vx-show__device { right: 5%; top: 90px; width: 74%; }
.vx-show--hero.vx-show--laptop .dv-laptop__view { aspect-ratio: 16 / 10.4; }
.vx-show--hero.vx-show--laptop .dv-laptop__view .ui-wrap, .vx-show--hero.vx-show--laptop .dv-laptop__view .ui { height: 100%; }
.vx-show--hero.vx-show--phone .vx-show__device { right: 13%; top: 46px; }
.vx-show--hero .vx-show__floor { display: block; position: absolute; left: 30%; right: 4%; bottom: 46px; height: 30px; border-radius: 50%; background: radial-gradient(closest-side, rgba(5,10,20,.28), transparent); filter: blur(0); }
.vx-show--hero.vx-show--phone .vx-show__floor { left: 52%; right: 10%; bottom: 20px; }
.vx-show--hero .vx-show__toast { left: auto; right: 4%; bottom: 30px; }
.vx-show--hero.vx-show--laptop .vx-show__toast { right: auto; left: 38%; bottom: 26px; }
.vx-show--hero .vx-show__second { position: absolute; right: 2%; bottom: 20px; z-index: 5; }
.vx-show--admin .vx-show__device { left: 50%; top: 22px; width: 460px; margin-left: -230px; }
.vx-show--admin.vx-show--phone .vx-show__device { width: auto; margin-left: -120px; }
.vx-show--admin .dv-laptop__view { height: 300px; }

/* ---------- Animación de entrada (escalonada, solo transform y opacidad) ---------- */
.vx-js [data-show] .vx-show__device { opacity: 0; transform: translate3d(0, 50px, 0) rotateX(16deg); transform-origin: 50% 100%; transition: opacity .9s var(--ease-out), transform 1.2s var(--ease-out); }
.vx-js [data-show] .vx-show__second { opacity: 0; transform: translate3d(30px, 40px, 0); transition: opacity .8s var(--ease-out) .35s, transform 1.1s var(--ease-out) .35s; }
.vx-js [data-show] .vx-show__toast { opacity: 0; transform: translate3d(0, 18px, 60px) scale(.94); transition: opacity .5s var(--ease-out) 1.05s, transform .8s cubic-bezier(.34, 1.56, .64, 1) 1.05s; }
.vx-js [data-show].is-in .vx-show__device, .vx-js [data-show].is-in .vx-show__second { opacity: 1; transform: none; }
.vx-js [data-show].is-in .vx-show__toast { opacity: 1; transform: translateZ(60px); }
.vx-js [data-show] .vx-stg { opacity: 0; transform: translate3d(0, 8px, 0); transition: opacity .5s var(--ease-out), transform .6s var(--ease-out); transition-delay: calc(.5s + var(--i, 0) * 65ms); }
.vx-js [data-show].is-in .vx-stg { opacity: 1; transform: none; }
.vx-js [data-show] .ui-bar::after { transform: scaleX(0); transform-origin: left; transition: transform 1s var(--ease-out) .9s; }
.vx-js [data-show].is-in .ui-bar::after { transform: scaleX(1); }
.ui-spark__l { stroke-dasharray: 1; stroke-dashoffset: 0; }
.vx-js [data-show] .ui-spark__l { stroke-dashoffset: 1; transition: stroke-dashoffset 1.4s var(--ease-out) .8s; }
.vx-js [data-show] .ui-spark__a { opacity: 0; transition: opacity .8s ease 1.3s; }
.vx-js [data-show].is-in .ui-spark__l { stroke-dashoffset: 0; }
.vx-js [data-show].is-in .ui-spark__a { opacity: 1; }
.vx-js .vx-pp-visual .vx-show__toast { transition-delay: 1.4s; }

/* Inclinación 3D al pasar el mouse (solo con mouse) */
@media (hover: hover) and (pointer: fine) {
  .vx-card:hover .vx-show__stage { transition-duration: .25s; }
  .vx-card:hover .vx-show__toast { box-shadow: 0 1px 2px rgba(0,0,0,.08), 0 26px 40px -16px rgba(5,10,20,.5); }
}

@media (max-width: 620px) {
  .vx-card__visual { height: 290px; }
  .vx-show--card.vx-show--laptop .vx-show__device { width: 470px; left: 18px; }
  .vx-show--hero.vx-show--laptop .vx-show__device { width: 92%; right: 4%; top: 150px; }
  .vx-show--hero.vx-show--phone .vx-show__device { right: 6%; top: 110px; }
  .vx-show--hero .vx-show__toast { left: 4% !important; right: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .vx-js [data-show] .vx-show__device, .vx-js [data-show] .vx-show__toast, .vx-js [data-show] .vx-stg, .vx-js [data-show] .vx-show__second { opacity: 1 !important; transform: none !important; }
  .vx-js [data-show] .ui-bar::after { transform: none !important; }
  .vx-js [data-show] .ui-spark__l { stroke-dashoffset: 0 !important; }
  .vx-js [data-show] .ui-spark__a { opacity: 1 !important; }
}

/* Rendimiento: el navegador no dibuja lo que está lejos de la pantalla (mejor puntaje en Google) */
#como-trabajamos, #seguridad, #por-que, #a-medida, #preguntas, .vx-footer { content-visibility: auto; contain-intrinsic-size: auto 900px; }
.vx-card__visual { content-visibility: auto; contain-intrinsic-size: auto 320px; }

/* Enlaces legales del pie */
.vx-footer__legal a { color: inherit; text-decoration: none; }
.vx-footer__legal a:hover { color: #fff; text-decoration: underline; }
.vx-footer__legal b { color: #e6ecf3; font-weight: 700; }
