/* Lobiax · web pública (lobiax.com) · Diseño: Digital Line
   Marca: tinta #0E0D1F · índigo #333157 · carmesí #A71E3B · vino #742D49 · tipografía Poppins (alojada en la propia web)
   Lenguaje visual: jerarquía y proporciones Apple HIG, vidrio líquido (blur 20px + saturate 180%), bento, esquinas squircle,
   bordes finos, sombras ambientales y transiciones con física de muelle. Degradados vivos solo en palabras clave y botones.
   Sin estilos en línea: compatible con Content-Security-Policy estricta. Animaciones en assets/js/site.js. */
@font-face { font-family: "Poppins"; font-style: normal; font-display: swap; font-weight: 400; src: url(/assets/fonts/poppins-latin-400-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Poppins"; font-style: normal; font-display: swap; font-weight: 400; src: url(/assets/fonts/poppins-latin-ext-400-normal.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Poppins"; font-style: normal; font-display: swap; font-weight: 500; src: url(/assets/fonts/poppins-latin-500-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Poppins"; font-style: normal; font-display: swap; font-weight: 500; src: url(/assets/fonts/poppins-latin-ext-500-normal.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Poppins"; font-style: normal; font-display: swap; font-weight: 600; src: url(/assets/fonts/poppins-latin-600-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Poppins"; font-style: normal; font-display: swap; font-weight: 600; src: url(/assets/fonts/poppins-latin-ext-600-normal.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Poppins"; font-style: normal; font-display: swap; font-weight: 700; src: url(/assets/fonts/poppins-latin-700-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Poppins"; font-style: normal; font-display: swap; font-weight: 700; src: url(/assets/fonts/poppins-latin-ext-700-normal.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Poppins"; font-style: normal; font-display: swap; font-weight: 800; src: url(/assets/fonts/poppins-latin-800-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ── Sistema: proporciones Apple HIG, vidrio líquido, bento, esquinas squircle, sombras ambientales, física de muelle ── */
:root {
  --ink: #0E0D1F; --ink2: #17162E; --indigo: #333157; --violet: #5C5A9E; --crimson: #A71E3B; --crimson2: #C42A4B; --wine: #742D49; --rose: #FF6B8B; --lav: #A9A3FF;
  --paper: #F5F5F7; --card: #FFFFFF; --text: #1D1C2E; --muted: #6B6982; --line: rgba(14, 13, 31, .08); --ok: #34C759; --ok2: #1E9E4A;
  --on-dark: #F5F5F7; --on-dark2: #A9A7C2;
  --hair: rgba(255, 255, 255, .15); --hair2: rgba(255, 255, 255, .24);
  --glass: linear-gradient(180deg, rgba(255, 255, 255, .11), rgba(255, 255, 255, .04));
  --glass-l: linear-gradient(180deg, rgba(255, 255, 255, .86), rgba(255, 255, 255, .66));
  --blur: blur(20px) saturate(180%);
  --grad: linear-gradient(115deg, #C42A4B 0%, #A71E3B 40%, #742D49 100%);
  --kw: linear-gradient(100deg, #FF6B8B 0%, #E0456A 35%, #B78CFF 100%);
  --kw-l: linear-gradient(100deg, #C42A4B 0%, #A71E3B 45%, #5C5A9E 100%);
  --r-xl: 32px; --r: 28px; --r-m: 22px; --r-s: 18px;
  --wrap: 1180px; --pad: clamp(20px, 5vw, 44px); --nav-h: 52px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --spring: cubic-bezier(.34, 1.45, .64, 1);
  --sh: 0 1px 2px rgba(14, 13, 31, .04), 0 10px 30px -14px rgba(14, 13, 31, .14), 0 40px 80px -40px rgba(14, 13, 31, .16);
  --sh-up: 0 1px 2px rgba(14, 13, 31, .05), 0 20px 46px -16px rgba(14, 13, 31, .2), 0 60px 110px -50px rgba(14, 13, 31, .24);
  --sh-dark: 0 50px 120px -30px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 255, 255, .06);
  --sh-glass: inset 0 1px 0 rgba(255, 255, 255, .16), 0 24px 60px -24px rgba(0, 0, 0, .55);
}
@supports (transition-timing-function: linear(0, 1)) {
  :root { --spring: linear(0, .189 2.5%, .39 5%, .582 7.5%, .753 10%, .893 12.5%, 1.001 15%, 1.077 17.5%, 1.124 20%, 1.147 22.5%, 1.151 25%, 1.141 27.5%, 1.122 30%, 1.099 32.5%, 1.074 35%, 1.05 37.5%, 1.029 40%, 1.012 42.5%, .999 45%, .99 47.5%, .984 50%, .981 55%, .985 60%, .991 65%, .996 70%, 1 75%, 1.002 85%, 1); }
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 20px); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body { margin: 0; font: 400 17px/1.55 "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif; color: var(--text); background: var(--paper); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, video, svg { display: block; max-width: 100%; }
img, video { height: auto; }
a { color: inherit; }
button { font: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.07; letter-spacing: -.03em; font-weight: 700; }
p { margin: 0; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 100; background: #fff; color: var(--ink); padding: 10px 16px; border-radius: 12px; font-weight: 600; transition: top .2s; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid rgba(196, 42, 75, .55); outline-offset: 3px; border-radius: 10px; }
.wrap { width: 100%; max-width: calc(var(--wrap) + var(--pad) * 2); margin: 0 auto; padding: 0 var(--pad); }
.ic { flex-shrink: 0; }
.glass { background: var(--glass); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); border: 1px solid var(--hair); box-shadow: var(--sh-glass); }

/* ── Tipografía de sección (jerarquía HIG: titular grande, subtítulo gris, aire generoso) ── */
.kicker { font-size: clamp(15px, 1.3vw, 17px); font-weight: 600; letter-spacing: -.01em; color: var(--crimson); margin-bottom: 12px; }
.h2 { font-size: clamp(2.1rem, 5vw, 4rem); letter-spacing: -.035em; max-width: 20ch; }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.3rem); line-height: 1.5; color: var(--muted); max-width: 54ch; margin-top: 20px; }
.kw { font-style: normal; background: var(--kw-l); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sec-h { text-align: center; display: flex; flex-direction: column; align-items: center; margin-bottom: clamp(48px, 7vw, 88px); }
.sec-h .h2 { margin-inline: auto; }
.sec-h .lead { margin-left: auto; margin-right: auto; }
.sec-h.left { text-align: left; align-items: flex-start; }
.sec-h.left .h2 { margin-inline: 0; }

/* ── Botones píldora ── */
.btn { --b: transparent; display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 44px; padding: 12px 24px; border-radius: 9999px; font-weight: 600; font-size: 15.5px; letter-spacing: -.01em; text-decoration: none; border: 1px solid var(--b); cursor: pointer; transition: transform .6s var(--spring), filter .3s, box-shadow .4s var(--ease), background .3s; white-space: nowrap; }
.btn:hover { transform: scale(1.03); filter: brightness(1.07); }
.btn:active { transform: scale(.97); transition-duration: .15s; }
.btn-p { color: #fff; background: var(--grad); box-shadow: 0 10px 28px -10px rgba(167, 30, 59, .7), inset 0 1px 0 rgba(255, 255, 255, .22); }
.btn-glass { color: var(--on-dark); background: var(--glass); --b: var(--hair); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14); }
.btn-glass .ic { color: #3ADB76; }
.btn-lg { min-height: 54px; padding: 15px 30px; font-size: 16.5px; }
.btn-sm { min-height: 34px; padding: 7px 16px; font-size: 13.5px; }
.btn-full { width: 100%; }

/* ── Barra de navegación fina y translúcida ── */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--nav-h); background: rgba(14, 13, 31, .58); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); border-bottom: 1px solid rgba(255, 255, 255, .08); color: var(--on-dark); transition: transform .55s var(--ease), background .4s; }
.nav.hide { transform: translateY(-100%); }
.nav.solid { background: rgba(14, 13, 31, .78); }
.nav-in { max-width: calc(var(--wrap) + var(--pad) * 2); margin: 0 auto; padding: 0 var(--pad); height: 100%; display: flex; align-items: center; gap: 18px; }
.brand img { height: 26px; width: auto; }
.nav-links { display: flex; gap: 2px; margin-left: 14px; }
.nav-links a { padding: 6px 12px; border-radius: 9999px; font-size: 13.5px; font-weight: 500; text-decoration: none; color: var(--on-dark2); transition: color .2s, background .2s; }
.nav-links a:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.nav-r { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.lang { display: flex; align-items: center; gap: 2px; padding: 2px 3px 2px 9px; border-radius: 9999px; background: rgba(255, 255, 255, .07); color: var(--on-dark2); }
.lang a { display: inline-flex; align-items: center; min-height: 32px; font-size: 12px; font-weight: 600; text-decoration: none; padding: 0 10px; border-radius: 9999px; letter-spacing: .03em; }
.lang a[aria-current] { background: rgba(255, 255, 255, .92); color: var(--ink); }
.lang a:not([aria-current]):hover { color: #fff; }
.nav-login { font-size: 13.5px; font-weight: 500; text-decoration: none; color: var(--on-dark2); padding: 6px 10px; }
.nav-login:hover { color: #fff; }
.burger { display: none; background: none; border: 0; color: #fff; padding: 6px; min-height: 40px; border-radius: 9999px; cursor: pointer; }
.mnav { position: absolute; left: 10px; right: 10px; top: calc(var(--nav-h) + 8px); padding: 12px; border-radius: var(--r-m); background: rgba(14, 13, 31, .9); border: 1px solid var(--hair); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); display: grid; gap: 2px; box-shadow: var(--sh-dark); }
.mnav[hidden] { display: none; }
.mnav a:not(.btn) { color: var(--on-dark); text-decoration: none; padding: 13px 14px; border-radius: 14px; font-weight: 500; }
.mnav a:not(.btn):hover { background: rgba(255, 255, 255, .07); }
.mnav .btn { margin-top: 8px; }

/* ── Hero: capas en parallax, pantalla 3D y el tablero «tareas → trabajo hecho» ── */
.hero { position: relative; height: 240vh; background: var(--ink); color: var(--on-dark); }
.hero-pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; isolation: isolate; }
.h-bg { position: absolute; inset: -10% 0 -30%; z-index: 0; }
/* Fondo igual que la pantalla de entrada de la app (lobiax.vercel.app): manchas de luz que flotan, aurora que gira y destellos */
.orb { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; animation: blob 18s ease-in-out infinite alternate; }
.o1 { width: 52vmax; height: 52vmax; left: -14vmax; top: -18vmax; background: radial-gradient(circle, rgba(226, 72, 107, .7), transparent 65%); }
.o2 { width: 46vmax; height: 46vmax; right: -16vmax; top: 20vh; background: radial-gradient(circle, rgba(92, 90, 158, .85), transparent 65%); animation-duration: 22s; animation-delay: -6s; }
.o3 { width: 30vmax; height: 30vmax; left: 38%; top: 36%; background: radial-gradient(circle, rgba(116, 45, 73, .9), transparent 65%); opacity: .45; animation-duration: 26s; animation-delay: -12s; }
@keyframes blob { 0% { transform: translate(0, 0) scale(1); } 50% { transform: translate(6vmax, 4vmax) scale(1.12); } 100% { transform: translate(-4vmax, 7vmax) scale(.94); } }
.aurora { position: absolute; left: 50%; top: 40%; width: 150vmax; height: 150vmax; margin: -75vmax 0 0 -75vmax; background: conic-gradient(from 0deg, transparent 0deg, rgba(226, 72, 107, .24) 50deg, transparent 110deg, rgba(186, 183, 238, .2) 190deg, transparent 250deg, rgba(217, 140, 173, .18) 310deg, transparent 360deg); filter: blur(80px); opacity: .6; animation: aurora 48s linear infinite; -webkit-mask-image: radial-gradient(circle, #000 0, #000 30%, transparent 62%); mask-image: radial-gradient(circle, #000 0, #000 30%, transparent 62%); }
@keyframes aurora { to { transform: rotate(360deg); } }
.stars { position: absolute; inset: 0; background: radial-gradient(circle at 20% 30%, rgba(255, 255, 255, .35) 0 2px, transparent 3px), radial-gradient(circle at 70% 20%, rgba(255, 255, 255, .25) 0 1.5px, transparent 2.5px), radial-gradient(circle at 85% 70%, rgba(255, 255, 255, .3) 0 2px, transparent 3px), radial-gradient(circle at 35% 80%, rgba(255, 255, 255, .22) 0 1.5px, transparent 2.5px), radial-gradient(circle at 55% 55%, rgba(255, 255, 255, .2) 0 1px, transparent 2px), radial-gradient(circle at 10% 65%, rgba(255, 255, 255, .25) 0 1.5px, transparent 2.5px), radial-gradient(circle at 92% 38%, rgba(255, 255, 255, .22) 0 1px, transparent 2px); animation: drift 30s ease-in-out infinite alternate; opacity: .8; }
@keyframes drift { to { transform: translate(-2.5vmax, -3vmax); } }
.h-x { position: absolute; z-index: 1; width: min(78vw, 980px); right: -14vw; top: 4vh; opacity: .2; }
.h-copy { position: relative; z-index: 3; padding-top: calc(var(--nav-h) + clamp(34px, 7vh, 84px)); text-align: center; display: flex; flex-direction: column; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: 9999px; background: var(--glass); border: 1px solid var(--hair); font-size: 14px; font-weight: 500; color: var(--on-dark); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(52, 199, 89, .2); flex-shrink: 0; }
.h-title { font-size: clamp(2.45rem, 5.3vw, 5rem); line-height: 1.02; letter-spacing: -.045em; margin-top: 24px; font-weight: 800; max-width: 17ch; }
.h-title .ln { display: block; overflow: hidden; padding-bottom: .07em; }
.h-title .ln > span { display: inline-block; }
.grad > span { background: var(--kw); -webkit-background-clip: text; background-clip: text; color: transparent; }
.h-lead { max-width: 600px; margin-top: 22px; font-size: clamp(1.02rem, 1.45vw, 1.2rem); color: var(--on-dark2); }
.h-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; }
.h-micro { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; font-size: 13.5px; color: var(--on-dark2); }
.h-micro li { display: inline-flex; align-items: center; gap: 6px; }
.h-micro .ic { color: var(--ok); }
.h-stage { position: relative; z-index: 2; width: min(1080px, 88vw); margin: clamp(48px, 8vh, 92px) auto 0; perspective: 1800px; }
.h-screen { transform-origin: 50% 0; transform: rotateX(24deg) scale(.92); will-change: transform; }
.win { border-radius: 16px; overflow: hidden; background: #fff; box-shadow: var(--sh-dark); }
.win-bar { display: flex; align-items: center; gap: 7px; height: 30px; padding: 0 12px; background: #F2F2F5; border-bottom: 1px solid #E5E5EA; }
.win-bar i { width: 10px; height: 10px; border-radius: 50%; background: #E3E1EC; }
.win-bar i:nth-child(1) { background: #FF5F57; } .win-bar i:nth-child(2) { background: #FEBC2E; } .win-bar i:nth-child(3) { background: #28C840; }
.win-bar span { margin: 0 auto; font-size: 11.5px; color: #8E8E93; padding: 2px 36px; border-radius: 7px; background: #fff; transform: translateX(-20px); }
.win-body img, .win-body video { width: 100%; height: auto; display: block; }
.h-ticket { position: absolute; margin: 0; width: clamp(96px, 13vw, 190px); right: -4%; top: -10%; transform: rotate(8deg); border-radius: 12px; overflow: hidden; box-shadow: var(--sh-dark); will-change: transform; }
.h-board { position: absolute; z-index: 3; left: -5%; top: -8%; width: min(410px, 40%); padding: 16px 16px 10px; border-radius: var(--r); background: linear-gradient(180deg, rgba(34, 32, 64, .62), rgba(20, 19, 40, .5)); color: var(--on-dark); will-change: transform; }
.bd-h { display: flex; justify-content: space-between; gap: 10px; padding: 2px 4px 12px; font-size: 12.5px; font-weight: 600; border-bottom: 1px solid rgba(255, 255, 255, .1); margin-bottom: 6px; }
.bd-l0 { color: var(--on-dark2); transition: color .4s, opacity .4s; }
.bd-l1 { opacity: .35; transition: opacity .5s; background: var(--kw); -webkit-background-clip: text; background-clip: text; color: transparent; }
.h-board.all .bd-l0 { opacity: .4; text-decoration: line-through; }
.h-board.all .bd-l1 { opacity: 1; }
.bd-l { list-style: none; margin: 0; padding: 0; }
.bd-row { position: relative; height: 44px; perspective: 700px; }
.bd-f, .bd-b { position: absolute; inset: 0; display: flex; align-items: center; gap: 11px; padding: 0 4px; font-size: 14px; backface-visibility: hidden; -webkit-backface-visibility: hidden; transition: transform .9s var(--spring), opacity .5s var(--ease); transform-origin: 50% 50% -22px; }
.bd-f { color: var(--on-dark2); }
.bd-b { color: #fff; font-weight: 500; transform: rotateX(-100deg); opacity: 0; }
.bd-row.done .bd-f { transform: rotateX(100deg); opacity: 0; }
.bd-row.done .bd-b { transform: none; opacity: 1; }
.bd-o { width: 18px; height: 18px; flex-shrink: 0; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .3); }
.bd-t { background: linear-gradient(currentColor, currentColor) 0 55% / 0% 1.5px no-repeat; transition: background-size .5s var(--ease); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bd-row.x .bd-t { background-size: 100% 1.5px; }
.bd-ok { width: 20px; height: 20px; flex-shrink: 0; border-radius: 50%; display: grid; place-items: center; color: #fff; background: var(--ok); box-shadow: 0 0 0 4px rgba(52, 199, 89, .18); }
.bd-b span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.h-fade { position: absolute; inset: auto 0 0; height: 24vh; z-index: 4; background: linear-gradient(to bottom, transparent, var(--ink)); pointer-events: none; }
.h-scroll { position: absolute; z-index: 5; left: 50%; bottom: 22px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 12px; color: var(--on-dark2); }
.h-scroll span { width: 22px; height: 34px; border-radius: 12px; border: 1.5px solid rgba(255, 255, 255, .35); position: relative; }
.h-scroll span::after { content: ""; position: absolute; left: 50%; top: 7px; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 2px; background: #fff; animation: wheel 1.8s infinite var(--ease); }
@keyframes wheel { 0% { opacity: 0; transform: translateY(-3px); } 30% { opacity: 1; } 80%, 100% { opacity: 0; transform: translateY(10px); } }

/* ── Qué resuelve: bento de diferenciales, cada uno con su mini-interfaz ── */
.solves { padding: clamp(96px, 13vw, 170px) 0 clamp(80px, 11vw, 150px); background: var(--paper); }
.bx { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.tile { position: relative; grid-column: span 4; display: flex; flex-direction: column; gap: 26px; padding: clamp(24px, 2.6vw, 34px); border-radius: var(--r); background: var(--card); border: 1px solid var(--line); box-shadow: var(--sh); overflow: hidden; transition: transform .7s var(--spring), box-shadow .5s var(--ease); }
.tile:hover { transform: scale(1.02); box-shadow: var(--sh-up); }
.tile-ui { flex: 1; display: flex; flex-direction: column; justify-content: center; }
.tile-tx h3 { font-size: clamp(1.25rem, 1.9vw, 1.55rem); letter-spacing: -.025em; }
.tile-tx p { color: var(--muted); font-size: 15.5px; margin-top: 8px; max-width: 46ch; }
.t-traza { grid-column: span 7; }
.t-albaran { grid-column: span 5; }
.t-sector { grid-column: span 8; }
.t-multi, .t-pay { grid-column: span 6; }
.t-traza, .t-pack { background: radial-gradient(120% 90% at 100% 0%, rgba(167, 30, 59, .35), transparent 60%), radial-gradient(90% 80% at 0% 100%, rgba(92, 90, 158, .35), transparent 60%), var(--ink); color: var(--on-dark); border-color: rgba(255, 255, 255, .06); }
.t-traza .tile-tx p, .t-pack .tile-tx p { color: var(--on-dark2); }
/* trazabilidad */
.ui-rec { padding: 18px; border-radius: var(--r-m); background: var(--glass); border: 1px solid var(--hair); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); box-shadow: var(--sh-glass); max-width: 520px; }
.rec-h { display: flex; align-items: center; gap: 14px; padding-bottom: 14px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.rec-h img { width: 42px; height: 58px; object-fit: cover; object-position: top; border-radius: 8px; }
.rec-h b { display: block; font-size: 15px; }
.rec-h small { display: block; font-size: 26px; font-weight: 700; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.rec-l { list-style: none; margin: 10px 0 0; padding: 0; position: relative; }
.rec-l::before { content: ""; position: absolute; left: 10px; top: 14px; bottom: 14px; width: 1.5px; background: linear-gradient(var(--ok), rgba(255, 255, 255, .15)); }
.rec-l li { position: relative; display: grid; grid-template-columns: 22px 110px 1fr; align-items: center; gap: 12px; padding: 7px 0; font-size: 14px; }
.rec-dot { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: var(--ok); box-shadow: 0 0 0 4px var(--ink); }
.rec-l li:last-child .rec-dot { background: var(--violet); }
.rec-k { color: var(--on-dark2); }
.rec-l b { font-weight: 500; text-align: right; }
/* albarán → factura */
.ui-alb { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; }
.alb-doc, .alb-inv { position: relative; padding: 16px 14px 14px; border-radius: var(--r-s); background: var(--paper); border: 1px solid var(--line); display: grid; gap: 7px; min-height: 172px; align-content: start; }
.alb-inv { background: #fff; box-shadow: var(--sh); }
.alb-n { font-size: 12.5px; font-weight: 600; }
.alb-doc i, .alb-inv i { display: block; height: 6px; border-radius: 6px; background: #E4E3EC; }
.alb-doc i.s, .alb-inv i.s { width: 60%; }
.sig { width: 100%; height: 38px; }
.sig path { fill: none; stroke: var(--indigo); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 420; stroke-dashoffset: 0; }
.tile.in .sig path { animation: sign 2.2s var(--ease) both .3s; }
@keyframes sign { from { stroke-dashoffset: 420; } }
.alb-doc small { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; color: var(--ok2); font-weight: 500; }
.alb-go { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: var(--grad); box-shadow: 0 10px 24px -10px rgba(167, 30, 59, .8); }
.pill-ok { justify-self: start; margin-top: 8px; display: inline-flex; align-items: center; gap: 5px; padding: 5px 10px; border-radius: 9999px; font-size: 12px; color: var(--ok2); background: rgba(52, 199, 89, .12); }
/* series */
.ui-ser { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ui-ser li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 11px 14px; border-radius: 14px; background: var(--paper); font-size: 14px; }
.ui-ser b { font-variant-numeric: tabular-nums; font-weight: 600; color: var(--crimson); }
.ui-ser span { color: var(--muted); }
/* sectores */
.ui-sec { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.ui-sec li { padding: 18px; border-radius: var(--r-m); background: var(--paper); }
.sec-ic { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; color: #fff; background: var(--grad); margin-bottom: 14px; }
.ui-sec li:nth-child(2) .sec-ic { background: linear-gradient(135deg, #7A78C9, #333157); }
.ui-sec li:nth-child(3) .sec-ic { background: linear-gradient(135deg, #3A3857, #0E0D1F); }
.ui-sec b { font-size: 15px; }
.ui-sec p { font-size: 13.5px; color: var(--muted); margin-top: 6px; line-height: 1.5; }
/* duplicados */
.ui-dup { position: relative; height: 170px; }
.ui-dup img { position: absolute; width: 92px; top: 0; border-radius: 10px; box-shadow: var(--sh-up); }
.ui-dup img:first-child { left: calc(50% - 90px); transform: rotate(-7deg); }
.ui-dup img:nth-child(2) { left: calc(50% - 20px); top: 10px; transform: rotate(6deg); filter: grayscale(.4); opacity: .9; }
.dup-b { position: absolute; left: 50%; bottom: 6px; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 6px; padding: 7px 13px; border-radius: 9999px; font-size: 12.5px; font-weight: 600; color: #fff; background: #E5484D; box-shadow: 0 10px 24px -10px rgba(229, 72, 77, .9); white-space: nowrap; }
.dup-b .ic { width: 13px; height: 13px; }
/* paquete */
.ui-pack ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.ui-pack li { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--on-dark2); padding: 8px 12px; border-radius: 12px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .07); }
.pack-z { margin-top: 12px; display: inline-flex; align-items: center; gap: 9px; padding: 10px 16px; border-radius: 9999px; background: var(--grad); color: #fff; font-size: 14px; font-weight: 600; box-shadow: 0 12px 28px -12px rgba(167, 30, 59, .9); }
/* radar */
.ui-rad { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.ui-rad li { display: grid; grid-template-columns: 74px 1fr auto; align-items: center; gap: 12px; font-size: 13.5px; }
.ui-rad span { color: var(--muted); font-weight: 500; }
.ui-rad i { height: 10px; border-radius: 10px; background: var(--paper); overflow: hidden; }
.ui-rad em { display: block; height: 100%; border-radius: inherit; background: var(--kw-l); transform-origin: 0 50%; transform: scaleX(0); transition: transform 1.3s var(--spring) .2s; }
.ui-rad .w72 { width: 72%; } .ui-rad .w50 { width: 50%; } .ui-rad .w20 { width: 20%; }
.tile.in .ui-rad em { transform: none; }
.ui-rad b { font-variant-numeric: tabular-nums; font-weight: 600; }
/* multipaís */
.ui-mul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ui-mul li { padding: 10px 16px; border-radius: 9999px; background: var(--paper); border: 1px solid var(--line); font-size: 14px; font-weight: 500; }
.ui-mul li:nth-child(n+4) { background: #fff; color: var(--indigo); }
/* a la carta */
.ui-pay { list-style: none; margin: 0; padding: 4px 16px; border-radius: var(--r-m); background: var(--paper); }
.ui-pay li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 0; font-size: 14.5px; }
.ui-pay li + li { border-top: 1px solid var(--line); }
.sw { position: relative; width: 44px; height: 26px; border-radius: 9999px; background: #D9D8E2; transition: background .4s; flex-shrink: 0; }
.sw::after { content: ""; position: absolute; top: 2px; left: 2px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, .2); transition: transform .7s var(--spring); }
.sw.on { background: var(--ok); }
.sw.on::after { transform: translateX(18px); }

/* ── Cómo trabaja: departamentos → Lobiax → resultados ── */
.flow { position: relative; background: var(--ink); color: var(--on-dark); }
.flow::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 50% at 50% 55%, rgba(92, 90, 158, .28), transparent 70%), radial-gradient(40% 40% at 85% 20%, rgba(167, 30, 59, .22), transparent 70%); pointer-events: none; }
.flow-pin { position: relative; padding: clamp(90px, 12vw, 140px) 0; }
.flow .kicker { color: var(--rose); }
.flow .lead { color: var(--on-dark2); }
.flow .kw, .gallery .kw, .acc .kw, .trial .kw { background: var(--kw); -webkit-background-clip: text; background-clip: text; }
.flow .sec-h { margin-bottom: clamp(36px, 5vw, 60px); }
.flow.pinned .flow-pin { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: calc(var(--nav-h) + 16px) 0 20px; }
.flow.pinned .flow-pin > .wrap { width: 100%; }
.flow.pinned .h2 { font-size: clamp(2rem, 3.6vw, 3.3rem); }
.flow.pinned .lead { margin-top: 12px; }
.flow.pinned .sec-h { margin-bottom: clamp(24px, 3.5vh, 44px); }
.flow.pinned .fw-end { margin-top: clamp(20px, 3.5vh, 44px); }
.fw { position: relative; display: grid; grid-template-columns: 1fr 200px 1fr; gap: clamp(50px, 8vw, 110px); align-items: center; }
.fw-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; z-index: 0; }
.fw-p { fill: none; stroke: url(#fwg); stroke-width: 1.5; stroke-linecap: round; opacity: .85; }
.fw-d { fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-dasharray: 2 14; opacity: 0; transition: opacity .6s; animation: flowdash 1.2s linear infinite; }
.fw-d.on { opacity: .55; }
@keyframes flowdash { to { stroke-dashoffset: -32; } }
.fw-col { position: relative; z-index: 1; display: grid; gap: 10px; }
.fw-lab { font-size: 13px; font-weight: 600; color: var(--on-dark2); margin-bottom: 4px; }
.fw-out .fw-lab { text-align: left; }
.fw-node { display: flex; align-items: center; gap: 12px; padding: 10px 16px 10px 10px; border-radius: var(--r-s); opacity: .38; transition: opacity .5s var(--ease), transform .8s var(--spring), border-color .5s; }
.fw-node.on { opacity: 1; transform: translateX(6px); border-color: var(--hair2); }
.fw-ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 255, 255, .08); transition: background .5s; }
.fw-node.on .fw-ic { background: var(--grad); }
.fw-node b { display: block; font-size: 14.5px; font-weight: 600; }
.fw-node small { display: block; font-size: 12.5px; color: var(--on-dark2); }
.fw-hub { position: relative; z-index: 1; display: grid; justify-items: center; gap: 16px; }
.hub-core { position: relative; width: 168px; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; align-content: center; gap: 8px; background: radial-gradient(circle at 50% 30%, rgba(255, 255, 255, .14), rgba(255, 255, 255, .03)); border: 1px solid var(--hair2); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 30px 80px -20px rgba(167, 30, 59, .55); transition: transform .9s var(--spring); }
.hub-core::after { content: ""; position: absolute; inset: -14px; border-radius: 50%; border: 1px solid rgba(255, 107, 139, .35); opacity: 0; }
.fw-hub.on .hub-core { transform: scale(1.06); }
.fw-hub.on .hub-core::after { animation: ring 2.4s var(--ease) infinite; }
@keyframes ring { 0% { opacity: .9; transform: scale(.9); } 100% { opacity: 0; transform: scale(1.35); } }
.hub-core svg { width: 54px; height: 54px; }
.hub-core b { font-size: 15px; letter-spacing: -.01em; }
.hub-v { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; max-width: 220px; }
.hub-v li { padding: 5px 11px; border-radius: 9999px; font-size: 12px; font-weight: 500; color: var(--on-dark2); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .08); transition: background .4s, color .4s, transform .6s var(--spring); }
.hub-v li.on { color: #fff; background: var(--grad); border-color: transparent; transform: scale(1.06); }
.fw-o { display: flex; align-items: center; gap: 12px; padding: 13px 16px 13px 12px; border-radius: var(--r-s); opacity: 0; transform: translateX(-16px) scale(.96); transition: opacity .5s var(--ease), transform .9s var(--spring); }
.fw-o.on { opacity: 1; transform: none; }
.fw-ok { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: var(--ok); flex-shrink: 0; box-shadow: 0 0 0 4px rgba(52, 199, 89, .16); }
.fw-o b { font-size: 14.5px; font-weight: 500; }
.fw-end { position: relative; text-align: center; margin-top: clamp(40px, 6vw, 70px); font-size: clamp(1.6rem, 3.4vw, 2.6rem); font-weight: 700; letter-spacing: -.035em; background: var(--kw); -webkit-background-clip: text; background-clip: text; color: transparent; opacity: .15; transition: opacity .8s var(--ease); }
.fw-end.on { opacity: 1; }

/* ── Galería «Hero Parallax»: filas de capturas reales que se enderezan en 3D ── */
.gallery { background: var(--ink); color: var(--on-dark); padding: clamp(30px, 6vw, 80px) 0 clamp(80px, 12vw, 160px); overflow: hidden; position: relative; }
.gal-head { text-align: center; display: flex; flex-direction: column; align-items: center; position: relative; z-index: 2; margin-bottom: clamp(40px, 8vw, 110px); }
.gal-head .kicker { color: var(--rose); }
.gal-head .lead { color: var(--on-dark2); }
.gal-3d { perspective: 1000px; transform-style: preserve-3d; }
.gal-row { display: flex; gap: clamp(16px, 3vw, 40px); margin-bottom: clamp(16px, 3vw, 40px); width: max-content; will-change: transform; margin-left: -34vw; }
.gal-row.rev { margin-left: -52vw; }
.gal-card { margin: 0; width: clamp(260px, 34vw, 520px); flex-shrink: 0; border-radius: var(--r-s); overflow: hidden; box-shadow: var(--sh-dark); background: #fff; transition: transform .7s var(--spring); }
.gal-card:hover { transform: scale(1.03); }
.gal-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; }

/* ── Lo que te entrega: tarjetas de producto con la captura saliendo por el borde ── */
.features { padding: clamp(96px, 13vw, 170px) 0; background: var(--paper); }
.prod { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.pt { display: flex; flex-direction: column; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); box-shadow: var(--sh); overflow: hidden; transition: transform .7s var(--spring), box-shadow .5s var(--ease); }
.pt:hover { transform: scale(1.02); box-shadow: var(--sh-up); }
.pt-tx { padding: clamp(26px, 3vw, 38px) clamp(26px, 3vw, 38px) 26px; }
.pt-tx h3 { font-size: clamp(1.3rem, 2vw, 1.7rem); letter-spacing: -.028em; }
.pt-tx p { color: var(--muted); font-size: 15.5px; margin-top: 8px; max-width: 44ch; }
.pt-m { margin-top: auto; padding: 0 clamp(26px, 3vw, 38px); }
.pt-m .win { border-radius: 14px 14px 0 0; box-shadow: 0 -1px 0 var(--line), 0 30px 60px -20px rgba(14, 13, 31, .28); }
.pt-m .win-body { aspect-ratio: 16 / 10; overflow: hidden; }
.pt-m .win-body img, .pt-m .win-body video { width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.pt-w { grid-column: 1 / -1; display: grid; grid-template-columns: 5fr 7fr; align-items: center; background: radial-gradient(80% 120% at 100% 100%, rgba(167, 30, 59, .1), transparent 60%), var(--card); }
.pt-w .pt-tx { padding: clamp(30px, 4vw, 56px); }
.pt-w .pt-tx h3 { font-size: clamp(1.6rem, 3vw, 2.5rem); }
.pt-w .pt-m { align-self: end; padding: clamp(30px, 4vw, 56px) 0 0; }
.pt-w .pt-m .win { border-radius: 16px 0 0 0; }

/* ── A la carta ── */
.pick { padding: 0 0 clamp(80px, 12vw, 150px); background: var(--paper); }
.pick-in { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(30px, 5vw, 70px); align-items: center; padding: clamp(32px, 5vw, 64px); border-radius: var(--r-xl); background: var(--ink); color: var(--on-dark); position: relative; overflow: hidden; box-shadow: var(--sh-up); }
.pick-in::before { content: ""; position: absolute; width: 60%; aspect-ratio: 1; right: -20%; top: -40%; border-radius: 50%; background: radial-gradient(circle, rgba(167, 30, 59, .5), transparent 65%); filter: blur(30px); }
.pick-in > * { position: relative; }
.pick .kicker { color: var(--rose); }
.pick .lead { color: var(--on-dark2); }
.pick-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 10px 16px; border-radius: 9999px; background: var(--glass); border: 1px solid var(--hair); color: var(--on-dark); cursor: pointer; font-size: 14.5px; font-weight: 500; -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); transition: background .3s, border-color .3s, transform .6s var(--spring); }
.chip .ic { transition: transform .6s var(--spring); }
.chip:hover { transform: scale(1.04); border-color: var(--hair2); }
.chip[aria-pressed="true"] { background: #fff; color: var(--ink); border-color: #fff; }
.chip[aria-pressed="true"] .ic { transform: rotate(45deg); color: var(--crimson); }
.pick-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 26px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .12); color: var(--on-dark2); font-size: 14.5px; }

/* ── Casos (tarjetas apiladas) ── */
.cases { padding: clamp(80px, 12vw, 150px) 0; background: #fff; }
.cs-stack { display: grid; gap: 24px; }
.cs { position: sticky; top: calc(var(--nav-h) + 40px); padding: clamp(26px, 4vw, 48px); border-radius: var(--r-xl); background: var(--paper); border: 1px solid var(--line); box-shadow: var(--sh); transform-origin: 50% 0; will-change: transform; }
.cs:nth-child(2) { top: calc(var(--nav-h) + 60px); } .cs:nth-child(3) { top: calc(var(--nav-h) + 80px); } .cs:nth-child(4) { top: calc(var(--nav-h) + 100px); }
.cs:nth-child(1) { background: linear-gradient(135deg, #fff, #FBF3F5); } .cs:nth-child(2) { background: linear-gradient(135deg, #fff, #F3F3FB); } .cs:nth-child(3) { background: linear-gradient(135deg, #fff, #F4F4F7); } .cs:nth-child(4) { background: linear-gradient(135deg, #fff, #F8F3F6); }
.cs-top { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.cs-mono { width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center; font-weight: 700; font-size: 20px; color: #fff; background: var(--grad); }
.cs:nth-child(2) .cs-mono { background: linear-gradient(135deg, #5C5A9E, #333157); } .cs:nth-child(3) .cs-mono { background: linear-gradient(135deg, #3A3857, #0E0D1F); } .cs:nth-child(4) .cs-mono { background: linear-gradient(135deg, #742D49, #333157); }
.cs-top h3 { font-size: 1.55rem; }
.cs-top p { color: var(--muted); font-size: 14.5px; }
.cs-tag { margin-left: auto; padding: 7px 14px; border-radius: 9999px; background: rgba(51, 49, 87, .07); font-size: 12.5px; font-weight: 600; color: var(--indigo); }
.cs-g { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin-top: 28px; }
.cs-g h4 { font-size: 14px; letter-spacing: -.01em; color: var(--crimson); margin-bottom: 8px; font-weight: 600; }
.cs-g div:first-child h4 { color: var(--muted); }
.cs-g p { font-size: 16px; }

/* ── Gestorías ── */
.acc { background: var(--ink); color: var(--on-dark); padding: clamp(80px, 12vw, 160px) 0; position: relative; overflow: hidden; }
.acc::before { content: ""; position: absolute; width: 70vw; aspect-ratio: 1; left: -30vw; bottom: -40vw; border-radius: 50%; background: radial-gradient(circle, rgba(92, 90, 158, .45), transparent 65%); filter: blur(40px); }
.acc-g { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(30px, 6vw, 90px); align-items: center; }
.acc .kicker { color: var(--rose); }
.acc .lead { color: var(--on-dark2); }
.ticks { list-style: none; padding: 0; margin: 28px 0 34px; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; }
.ticks .ic { color: var(--ok); margin-top: 3px; }
.acc-vid { position: relative; border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--sh-dark); aspect-ratio: 1; background: #000; }
.acc-vid video { width: 100%; height: 100%; object-fit: cover; }
.snd { position: absolute; right: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 8px 14px; border-radius: 9999px; border: 1px solid var(--hair); background: rgba(14, 13, 31, .45); color: #fff; cursor: pointer; -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); font-size: 13.5px; font-weight: 500; transition: transform .6s var(--spring); }
.snd:hover { transform: scale(1.04); }

/* ── Seguridad ── */
.sec { padding: clamp(80px, 12vw, 150px) 0; background: var(--paper); }
.sec-g { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.sc { padding: 30px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); box-shadow: var(--sh); transition: transform .7s var(--spring), box-shadow .5s; }
.sc:hover { transform: scale(1.02); box-shadow: var(--sh-up); }
.sc-ic { width: 48px; height: 48px; border-radius: 15px; display: grid; place-items: center; color: var(--crimson); background: rgba(167, 30, 59, .08); margin-bottom: 20px; }
.sc h3 { font-size: 1.15rem; letter-spacing: -.02em; }
.sc p { color: var(--muted); font-size: 15px; margin-top: 8px; }
.sc-note { text-align: center; margin-top: 30px; color: var(--muted); font-size: 14.5px; }
.sc-note a { color: var(--crimson); font-weight: 500; }

/* ── Precio ── */
.price { padding: 0 0 clamp(80px, 12vw, 150px); background: var(--paper); }
.price-g { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 90px); align-items: center; }
.price-g .btn { margin-top: 30px; }
.price-l { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.price-l li { display: flex; gap: 16px; padding: 22px 24px; border-radius: var(--r-m); background: var(--card); border: 1px solid var(--line); box-shadow: var(--sh); transition: transform .7s var(--spring); }
.price-l li:hover { transform: scale(1.02); }
.price-l li > span { width: 34px; height: 34px; flex-shrink: 0; border-radius: 50%; display: grid; place-items: center; color: #fff; background: var(--ok); }
.price-l b { font-size: 1.05rem; }
.price-l p { color: var(--muted); font-size: 14.5px; margin-top: 2px; }

/* ── Preguntas ── */
.faq { padding: clamp(80px, 12vw, 150px) 0; background: #fff; }
.faq-g { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(30px, 6vw, 90px); align-items: start; }
.faq-g .sec-h { position: sticky; top: calc(var(--nav-h) + 40px); }
.faq-l { display: grid; gap: 10px; }
details { border-radius: var(--r-m); border: 1px solid var(--line); background: var(--paper); transition: background .3s, box-shadow .4s; }
details[open] { background: #fff; box-shadow: var(--sh); }
summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; cursor: pointer; }
summary::-webkit-details-marker { display: none; }
summary h3 { font-size: 1.05rem; font-weight: 600; letter-spacing: -.015em; line-height: 1.35; }
summary .ic { transition: transform .6s var(--spring); color: var(--crimson); }
details[open] summary .ic { transform: rotate(45deg); }
details p { padding: 0 24px 22px; color: var(--muted); }

/* ── Prueba gratis (formulario) ── */
.trial { background: var(--ink); color: var(--on-dark); padding: clamp(80px, 12vw, 150px) 0; position: relative; overflow: hidden; }
.trial::before { content: ""; position: absolute; width: 80vw; aspect-ratio: 1; right: -30vw; top: -30vw; border-radius: 50%; background: radial-gradient(circle, rgba(167, 30, 59, .45), transparent 62%); filter: blur(40px); }
.trial-g { position: relative; display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(30px, 6vw, 80px); align-items: start; }
.trial .kicker { color: var(--rose); }
.trial .lead { color: var(--on-dark2); }
.trial-steps { list-style: none; counter-reset: s; padding: 0; margin: 30px 0; display: grid; gap: 14px; }
.trial-steps li { counter-increment: s; display: flex; gap: 14px; align-items: center; }
.trial-steps li::before { content: counter(s); width: 34px; height: 34px; flex-shrink: 0; border-radius: 50%; display: grid; place-items: center; font-weight: 600; font-size: 14px; background: var(--glass); border: 1px solid var(--hair); }
.trial-alt { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 14.5px; color: var(--on-dark2); }
.trial-alt b { color: var(--on-dark); width: 100%; }
.trial-alt a { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; color: var(--on-dark); }
.trial-alt a .ic { color: #3ADB76; }
.trial-alt a:hover { color: var(--rose); }
.form { position: relative; padding: clamp(24px, 3.5vw, 40px); border-radius: var(--r-xl); background: #fff; color: var(--text); box-shadow: var(--sh-dark); display: grid; gap: 18px; }
.fg2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fl { display: grid; gap: 6px; font-size: 13.5px; font-weight: 600; color: var(--muted); }
.fl input, .fl select, .fl textarea { font: 400 16px "Poppins", system-ui, sans-serif; color: var(--text); width: 100%; padding: 13px 14px; border-radius: 14px; border: 1px solid var(--line); background: var(--paper); transition: border-color .2s, box-shadow .2s, background .2s; }
.fl textarea { resize: vertical; }
.fl input:focus, .fl select:focus, .fl textarea:focus { outline: none; border-color: var(--crimson); background: #fff; box-shadow: 0 0 0 4px rgba(167, 30, 59, .12); }
.fl input[aria-invalid="true"] { border-color: #D3324A; background: #FFF6F7; }
.fs { border: 0; padding: 0; margin: 0; }
.fs legend { font-size: 13.5px; font-weight: 600; color: var(--muted); margin-bottom: 8px; }
.seg { display: flex; flex-wrap: wrap; gap: 6px; }
.seg label, .need { cursor: pointer; }
.seg input, .need input { position: absolute; opacity: 0; pointer-events: none; }
.seg span, .need span { display: inline-flex; align-items: center; padding: 9px 14px; border-radius: 9999px; border: 1px solid var(--line); background: var(--paper); font-size: 14px; transition: all .25s; }
.seg input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.needs { display: flex; flex-wrap: wrap; gap: 6px; }
.need input:checked + span { background: rgba(167, 30, 59, .08); border-color: var(--crimson); color: var(--crimson); font-weight: 500; }
.seg input:focus-visible + span, .need input:focus-visible + span { outline: 3px solid rgba(196, 42, 75, .45); outline-offset: 2px; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 13.5px; color: var(--muted); cursor: pointer; }
.consent input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--crimson); flex-shrink: 0; }
.consent a { color: var(--crimson); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { min-height: 1.2em; font-size: 14px; color: #C2283F; text-align: center; }
.form-ok { position: absolute; inset: 0; border-radius: inherit; background: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 14px; padding: 40px; }
.form-ok[hidden] { display: none; }
.form-ok p { color: var(--muted); max-width: 40ch; }
.form-ok .btn-glass { color: var(--ink); background: var(--paper); --b: var(--line); }
.ok-ic { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: var(--ok); box-shadow: 0 20px 40px -15px rgba(52, 199, 89, .7); }

/* ── Pie ── */
.foot { background: #0A0918; color: var(--on-dark2); padding: 72px 0 30px; font-size: 14.5px; }
.foot-g { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; }
.foot-b img { height: 40px; width: auto; }
.foot-b p { margin-top: 14px; max-width: 30ch; }
.foot-soc { display: flex; gap: 10px; margin-top: 18px; }
.foot-soc a { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .08); color: var(--on-dark); transition: background .2s, transform .6s var(--spring); }
.foot-soc a:hover { background: rgba(255, 255, 255, .14); transform: scale(1.06); }
.foot h3 { color: var(--on-dark); font-size: 14px; letter-spacing: -.005em; margin-bottom: 14px; }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.foot ul a { text-decoration: none; word-break: break-word; }
.foot ul a:hover { color: #fff; }
.foot-l { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 50px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: 13px; }
.made a { color: var(--on-dark2); text-decoration: none; }
.made b { color: var(--on-dark); font-weight: 600; }
.made a:hover, .made a:hover b { color: var(--rose); }

/* ── WhatsApp: botón de vidrio que no rompe la estética ── */
.wa-fab { position: fixed; right: 18px; bottom: 18px; z-index: 40; display: flex; align-items: center; gap: 0; height: 54px; padding: 5px; border-radius: 9999px; color: #fff; text-decoration: none; font-weight: 600; font-size: 14.5px; background: linear-gradient(180deg, rgba(40, 38, 70, .55), rgba(20, 19, 40, .45)); border: 1px solid var(--hair2); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 18px 40px -16px rgba(0, 0, 0, .55); transition: transform .7s var(--spring), opacity .35s, gap .5s var(--ease); }
.wa-ic { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; color: #3ADB76; background: rgba(58, 219, 118, .14); border: 1px solid rgba(58, 219, 118, .25); }
.wa-t { max-width: 0; overflow: hidden; white-space: nowrap; transition: max-width .55s var(--ease), padding .55s var(--ease); }
.wa-fab:hover { transform: scale(1.04); }
.wa-fab:hover .wa-t, .wa-fab:focus-visible .wa-t { max-width: 260px; padding: 0 12px 0 10px; }
.wa-fab.away { opacity: 0; pointer-events: none; transform: translateY(20px) scale(.9); }

/* ── Páginas legales ── */
.legal { background: #fff; }
.legal .nav { background: rgba(14, 13, 31, .92); }
.lg { padding: calc(var(--nav-h) + 70px) 0 90px; }
.lg-w { max-width: 860px; }
.crumbs { display: flex; gap: 8px; font-size: 13.5px; color: var(--muted); margin-bottom: 16px; }
.crumbs a { color: var(--crimson); text-decoration: none; }
.lg h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
.lg-body { margin-top: 20px; font-size: 16px; color: #2C2B45; }
.lg-body h2 { font-size: 1.35rem; margin: 40px 0 12px; letter-spacing: -.015em; }
.lg-body p, .lg-body ul { margin: 0 0 14px; }
.lg-body ul { padding-left: 22px; }
.lg-body li { margin-bottom: 6px; }
.lg-body a { color: var(--crimson); }
.lg-upd { color: var(--muted); font-size: 14px; }
.lg-id { list-style: none; padding: 20px 22px !important; border-radius: 18px; background: var(--paper); border: 1px solid var(--line); }
.lg-t { width: 100%; border-collapse: collapse; margin: 6px 0 18px; font-size: 14.5px; display: block; overflow-x: auto; }
.lg-t th, .lg-t td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--line); min-width: 180px; }
.lg-t th { background: var(--paper); font-weight: 600; }
.lg-links { margin-top: 50px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.lg-links a { color: var(--crimson); }
code { font-size: .92em; background: var(--soft); padding: 2px 6px; border-radius: 6px; }

/* ── Responsive: tablet ── */
@media (max-width: 1100px) {
  .nav-links { display: none; }
  .burger { display: inline-flex; }
  .sec-g { grid-template-columns: repeat(2, 1fr); }
  .foot-g { grid-template-columns: 1fr 1fr; }
  .t-traza, .t-albaran, .t-sector, .t-multi, .t-pay { grid-column: span 6; }
  .t-series, .t-dup, .t-pack, .t-radar { grid-column: span 6; }
  .t-sector { grid-column: 1 / -1; }
  .fw { grid-template-columns: 1fr 170px 1fr; gap: 50px; }
  .hub-core { width: 140px; }
}
@media (max-width: 900px) {
  .acc-g, .price-g, .faq-g, .trial-g, .pick-in { grid-template-columns: 1fr; }
  .faq-g .sec-h { position: static; }
  .t-traza, .t-albaran { grid-column: 1 / -1; }
  .prod { grid-template-columns: 1fr; }
  .pt-w { grid-template-columns: 1fr; }
  .pt-w .pt-m { padding: 0 0 0 clamp(26px, 5vw, 56px); }
  .acc-vid { max-width: 520px; }
  .h-board { left: -2%; top: -14%; width: min(400px, 52%); }
  /* flujo en vertical: equipo → Lobiax → resultados */
  .fw { grid-template-columns: 1fr; gap: 56px; }
  .fw-in, .fw-out { grid-template-columns: 1fr 1fr; }
  .fw-lab { grid-column: 1 / -1; text-align: center; }
  .fw-out .fw-lab { text-align: center; }
  .fw-node.on { transform: none; }
  .fw-o { transform: translateY(12px) scale(.96); }
}
/* ── Responsive: móvil ── */
@media (max-width: 640px) {
  :root { --r: 24px; --r-xl: 28px; --nav-h: 54px; }
  body { font-size: 16px; }
  .nav-login, .nav-r > .btn-sm { display: none; }
  .lang .ic { display: none; }
  .brand img { height: 24px; }
  .hero { height: 200vh; }
  .h-copy { padding-top: calc(var(--nav-h) + 26px); }
  .eyebrow { font-size: 12.5px; padding: 7px 13px; text-align: left; line-height: 1.35; max-width: 100%; }
  .h-title { font-size: clamp(2.35rem, 10.6vw, 3rem); margin-top: 18px; }
  .h-cta { flex-direction: column; width: 100%; }
  .h-cta .btn { width: 100%; white-space: normal; }
  .h-micro { gap: 6px 14px; font-size: 12.5px; }
  .h-stage { width: calc(100% - 28px); margin-top: 38px; display: flex; flex-direction: column; }
  .h-board { position: relative; order: -1; left: auto; top: auto; width: 100%; margin-bottom: -46px; padding: 14px 12px 8px; }
  .bd-f, .bd-b { font-size: 13.5px; gap: 9px; }
  .h-screen { margin: 0 -6px; }
  .h-ticket { width: 72px; right: -2%; top: auto; bottom: 18%; }
  .h-scroll { display: none; }
  .tile, .t-traza, .t-albaran, .t-sector, .t-series, .t-dup, .t-pack, .t-radar, .t-multi, .t-pay { grid-column: 1 / -1; }
  .tile { gap: 22px; }
  .tile:hover, .pt:hover, .sc:hover { transform: none; }
  .ui-sec { grid-template-columns: 1fr; }
  .rec-l li { grid-template-columns: 22px 92px 1fr; font-size: 13px; }
  .ui-alb { gap: 8px; }
  .alb-doc, .alb-inv { min-height: 150px; padding: 12px 10px; }
  .alb-go { width: 32px; height: 32px; }
  .fw-in, .fw-out { grid-template-columns: 1fr; }
  .fw { gap: 44px; }
  .fw-node { opacity: .5; }
  .sec-g { grid-template-columns: 1fr; }
  .cs-g, .fg2 { grid-template-columns: 1fr; }
  .cs { position: relative; top: 0 !important; }
  .cs-tag { margin-left: 0; }
  .foot-g { grid-template-columns: 1fr; }
  .wa-fab { right: 14px; bottom: 14px; height: 52px; }
  .gal-card { width: 72vw; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .hero { height: auto; }
  .hero-pin { position: relative; height: auto; min-height: 100svh; padding-bottom: 50vh; }
  .h-screen { transform: none; }
  .fw-node, .fw-o, .fw-end { opacity: 1; transform: none; }
  .ui-rad em { transform: none; }
}
