/* RukianLab — home */

:root {
  /* Charcoal palette with a green brand accent (dark theme, default) */
  --bg: #111530;
  --bg-2: #151a36;
  --surface: #191e3b;
  --surface-2: #1f2443;
  --surface-3: #282e4f;
  --line: rgba(var(--tint), .07);
  --line-2: rgba(var(--tint), .12);
  --line-3: rgba(var(--tint), .2);
  --text: #eef1f2;
  --text-2: #b3bcc1;
  --text-3: #85929a;

  /* El verde lima de la cuenta, en todo el sitio */
  --brand: #bcf477;
  --brand-rgb: 188, 244, 119;
  --brand-ink: #bcf477;
  --mint: #d6f9ab;

  --gps: #bcf477;
  --rfid: #a08cff;
  --nube: #ff9152;
  --gps-rgb: 188, 244, 119;
  --rfid-rgb: 160, 140, 255;
  --nube-rgb: 255, 145, 82;
  --geo: #4cc3ff;
  --crm: #ffc24d;
  --edu: #b7e23c;
  --obra: #ff5c47;
  --geo-rgb: 76, 195, 255;
  --crm-rgb: 255, 194, 77;
  --edu-rgb: 183, 226, 60;
  --obra-rgb: 255, 92, 71;
  --tech: #4d7cff; /* Rukian Tech (rukian.com) */
  --tech-rgb: 77, 124, 255;

  --accent: var(--gps);
  --accent-rgb: var(--gps-rgb);

  /* Theme tokens */
  --veil: 17, 21, 48;
  --glass-rgb: 25, 30, 59;
  --tint: 255, 255, 255;
  --shadow: 0, 0, 0;
  --shadow-k: 1;
  --btn-bg: #bcf477;
  --btn-fg: #12162e;
  --btn-hover: #d6f9ab;
  --app-bg: #151a36;
  --menu-bg: #191e3b;
  --viewer-a: #232947;
  --viewer-b: #111530;
  --hi: #ffffff;
  --gps-ink: var(--gps);
  --rfid-ink: var(--rfid);
  --nube-ink: var(--nube);
  --geo-ink: var(--geo);
  --crm-ink: var(--crm);
  --edu-ink: var(--edu);
  --obra-ink: var(--obra);
  --tech-ink: var(--tech);
  --accent-ink: var(--gps-ink);

  /* La barra: negra en los dos temas, para que se separe de la página azul */
  --nav-bg: #07080c;
  --nav-h: 50px; /* el alto de la barra, arriba y en píldora */

  --font: 'Geist', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --mono: 'Geist Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;
  --serif: 'Instrument Serif', Georgia, serif;

  --container: 1200px;
  --gutter: 24px;
  --radius: 12px;
  --radius-lg: 20px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: dark;
}

:root[data-theme="light"] {
  color-scheme: light;
  --bg: #ffffff;
  --bg-2: #f4f6f7;
  --surface: #ffffff;
  --surface-2: #f4f6f7;
  --surface-3: #eaeef0;
  --line: rgba(33, 37, 41, .09);
  --line-2: rgba(33, 37, 41, .14);
  --line-3: rgba(33, 37, 41, .24);
  --text: #212529;
  --text-2: #576167;
  --text-3: #8f9ca3;
  --brand-ink: #4d6a26;
  --veil: 255, 255, 255;
  --glass-rgb: 255, 255, 255;
  --tint: 33, 37, 41;
  --shadow: 33, 37, 41;
  --shadow-k: .2;
  --btn-hover: #a2ee46;
  --app-bg: #f4f6f7;
  --menu-bg: #ffffff;
  --viewer-a: #ffffff;
  --viewer-b: #f0f3f4;
  --hi: #212529;
  --gps-ink: #4d6a26;
  --rfid-ink: #6a55e0;
  --nube-ink: #dd5f1f;
  --geo-ink: #0b84c4;
  --crm-ink: #a87406;
  --edu-ink: #5f7d0e;
  --obra-ink: #c8331f;
  --tech-ink: #2450d6;
}

.is-gps { --accent: var(--gps); --accent-rgb: var(--gps-rgb); --accent-ink: var(--gps-ink); }
.is-rfid { --accent: var(--rfid); --accent-rgb: var(--rfid-rgb); --accent-ink: var(--rfid-ink); }
.is-nube { --accent: var(--nube); --accent-rgb: var(--nube-rgb); --accent-ink: var(--nube-ink); }
.is-geo { --accent: var(--geo); --accent-rgb: var(--geo-rgb); --accent-ink: var(--geo-ink); }
.is-crm { --accent: var(--crm); --accent-rgb: var(--crm-rgb); --accent-ink: var(--crm-ink); }
.is-edu { --accent: var(--edu); --accent-rgb: var(--edu-rgb); --accent-ink: var(--edu-ink); }
.is-tech { --accent: var(--tech); --accent-rgb: var(--tech-rgb); --accent-ink: var(--tech-ink); }
.is-obra { --accent: var(--obra); --accent-rgb: var(--obra-rgb); --accent-ink: var(--obra-ink); }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; letter-spacing: -.025em; line-height: 1.1; }
p { margin: 0; }
em { font-style: normal; }
/* Highlighted words take the page accent: brand green on the home, the
   product's own color on product pages. */
h1 em, h2 em, .cta h2 em {
  font-family: inherit; font-style: normal; font-weight: inherit; letter-spacing: inherit;
  color: var(--accent-ink);
}
::selection { background: rgba(var(--gps-rgb), .3); color: #fff; }
:focus-visible { outline: 2px solid var(--gps); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 46px; padding: 0 22px; border-radius: 999px;
  font-size: 15px; font-weight: 500; letter-spacing: -.01em; white-space: nowrap;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .2s var(--ease), background .2s, border-color .2s, box-shadow .2s;
}
.btn:active { transform: scale(.98); }
.btn--sm { height: 36px; padding: 0 16px; font-size: 14px; }
.btn--primary { background: var(--btn-bg); color: var(--btn-fg); }
.btn--primary:hover { background: var(--btn-hover); box-shadow: 0 0 0 4px rgba(var(--tint), .08); }
.btn--ghost { border-color: var(--line-2); background: rgba(var(--tint), .02); }
.btn--ghost:hover { border-color: var(--line-3); background: rgba(var(--tint), .05); }
.btn--accent { background: var(--accent); color: #0c1024; }
.btn--accent:hover { box-shadow: 0 0 0 4px rgba(var(--accent-rgb), .18), 0 8px 30px -8px rgba(var(--accent-rgb), .6); }

.link-arrow { font-size: 14px; font-weight: 500; color: var(--text); display: inline-flex; gap: 6px; }
.link-arrow span { transition: transform .2s var(--ease); }
.link-arrow:hover span { transform: translateX(3px); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--text-3);
}
.eyebrow:not(.eyebrow--accent)::after { content: ""; width: 32px; height: 2px; border-radius: 2px; background: var(--brand); }
.eyebrow--accent { color: var(--accent-ink); }
.eyebrow--accent i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px var(--accent); }

.glass {
  background: rgba(var(--glass-rgb), .72);
  border: 1px solid var(--line-2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  backdrop-filter: blur(14px) saturate(1.2);
}

/* Nav: the previous layout on a charcoal bar (both themes) */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--nav-h);
  /* Dónde queda la píldora: 12 px por fuera del margen de la página */
  --pildora-x: calc(max(var(--gutter), (100% - var(--container)) / 2) - 12px);
}
/* El fondo de la barra es una capa aparte: arriba cubre todo el ancho y, al bajar, se
   recorta (clip-path) hasta una píldora que flota 10 px más abajo. Solo se mueve esa capa
   y el contenido baja esos 10 px: nada cambia de ancho ni de lugar a los lados. */
.nav::before, .nav::after {
  content: ''; position: absolute; left: 0; right: 0; top: 0; height: calc(var(--nav-h) + 10px); pointer-events: none;
  transition: clip-path .55s var(--ease), opacity .4s var(--ease);
}
.nav::before {
  background: var(--nav-bg); box-shadow: inset 0 -1px rgba(255, 255, 255, .06);
  clip-path: inset(0 0 10px 0 round 0);
}
/* La sombra de la píldora, que aparece sola (el recorte se comería una sombra propia) */
.nav::after {
  top: 10px; height: var(--nav-h); left: var(--pildora-x); right: var(--pildora-x); border-radius: 999px;
  box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .07); opacity: 0; z-index: -1;
}
.nav__inner {
  /* The bar keeps a dark palette whatever the page theme. */
  --text: #ffffff; --text-2: #c7ced1; --text-3: #8f9ca3; --tint: 255, 255, 255;
  --line: rgba(255, 255, 255, .08); --line-2: rgba(255, 255, 255, .16); --line-3: rgba(255, 255, 255, .28);
  position: relative; color: var(--text);
  display: flex; align-items: center; justify-content: space-between; height: var(--nav-h); gap: 24px;
  transition: transform .55s var(--ease);
}
.nav.is-scrolled { pointer-events: none; }
.nav.is-scrolled::before { clip-path: inset(10px var(--pildora-x) 0 var(--pildora-x) round calc(var(--nav-h) / 2)); }
.nav.is-scrolled::after { opacity: 1; }
.nav.is-scrolled .nav__inner { pointer-events: auto; transform: translateY(10px); }
/* El menú de productos cuelga de la barra: negro como ella (en el tema oscuro) */
:root:not([data-theme="light"]) .mega { background: var(--nav-bg); }
.nav.is-scrolled .mega {
  pointer-events: auto; left: var(--pildora-x); right: var(--pildora-x); margin-top: 18px;
  border: 1px solid var(--line); border-radius: 22px; overflow: hidden;
}
@media (prefers-reduced-motion: reduce) {
  .nav::before, .nav::after, .nav__inner { transition: none; }
}
/* La sección en la que vas: el enlace sobre una pastilla verde que
   se desliza de un enlace al otro (la pone initNav) */
.nav__links { position: relative; }
.nav__links > :not(.nav__marca) { position: relative; z-index: 1; }
.nav__marca {
  position: absolute; left: 0; top: 0; z-index: 0; border-radius: 999px; pointer-events: none; opacity: 0;
  background: var(--btn-bg); /* el mismo verde lleno de «Ingresar» */
  transition: transform .45s var(--ease), width .45s var(--ease), height .45s var(--ease), opacity .25s;
}
.nav__marca.is-on { opacity: 1; }
/* El texto se oscurece cuando la pastilla ya casi llegó (antes quedaría oscuro sobre negro) */
.nav__links a.is-aqui { color: var(--btn-fg); transition: color .2s .22s, background .2s; }
/* Al pasar sobre el actual, el texto sigue oscuro y la pastilla se aclara, como «Ingresar» */
.nav__links a.is-aqui:hover { color: var(--btn-fg); background: transparent; }
.nav__links:has(a.is-aqui:hover) .nav__marca { background: var(--btn-hover); }
@media (prefers-reduced-motion: reduce) { .nav__marca { transition: opacity .25s; } }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand__mark { width: 28px; height: 28px; color: var(--text); }
.brand__word { font-size: 18px; font-weight: 600; letter-spacing: -.03em; }
.brand__word span { color: var(--brand); font-weight: 400; }
.nav__links { display: flex; gap: 4px; }
.nav__links a { padding: 8px 14px; border-radius: 999px; font-size: 14px; color: var(--text-2); transition: color .2s, background .2s; }
.nav__links a:hover { color: var(--text); background: rgba(var(--tint), .06); }
.nav__actions { display: flex; align-items: center; gap: 8px; }
.nav__menu-btn {
  display: inline-flex; align-items: center; gap: 4px; padding: 8px 12px 8px 14px; border-radius: 999px;
  border: 0; background: transparent; cursor: pointer; font-size: 14px; color: var(--text-2); transition: color .2s, background .2s;
}
.nav__menu-btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s var(--ease); }
.nav__menu-btn:hover, .nav__menu-btn[aria-expanded="true"] { color: var(--text); background: rgba(var(--tint), .06); }
.nav__menu-btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.nav__login { font-size: 14px; color: var(--text-2); padding: 8px 12px; transition: color .2s; }
.nav__login:hover { color: var(--text); }
.nav__login--mobile { display: none; }
/* Ingresar es el botón verde de la barra (en lugar de la lista de espera) */
.nav__login.btn { padding: 0 18px; color: var(--btn-fg); }
.nav__login.btn:hover { color: var(--btn-fg); }
.nav__toggle { display: none; width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line-2); background: transparent; cursor: pointer; position: relative; }
.nav__toggle span { position: absolute; left: 11px; right: 11px; height: 1.5px; background: var(--text); transition: transform .25s var(--ease); }
.nav__toggle span:first-child { top: 15px; }
.nav__toggle span:last-child { top: 23px; }
.nav__toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

.mega {
  position: absolute; top: 100%; left: 0; right: 0;
  background: var(--menu-bg); border-bottom: 1px solid var(--line);
  box-shadow: 0 40px 80px -20px rgba(var(--shadow), calc(.8 * var(--shadow-k)));
  animation: megaIn .25s var(--ease);
}
@keyframes megaIn { from { opacity: 0; transform: translateY(-6px); } }
.mega__inner { padding-top: 28px; padding-bottom: 24px; }
/* One column per group, with a line between groups. */
.mega__cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); row-gap: 24px; }
.mega__col { padding: 0 24px; }
.mega__col:first-child { padding-left: 0; }
.mega__col:last-child { padding-right: 0; }
.mega__col + .mega__col { border-left: 1px solid var(--line); }
.mega__col h4 { display: flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 11px; font-weight: 400; letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); margin-bottom: 10px; }
.mega__col h4 i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.mega__item { display: flex; align-items: flex-start; gap: 12px; padding: 10px; margin: 0 -10px; border-radius: 12px; transition: background .2s; position: relative; }
.mega__item:hover { background: rgba(var(--tint), .05); }
.mega__item b { display: block; font-size: 14px; font-weight: 500; }
.mega__item small { display: block; font-size: 12px; color: var(--text-3); line-height: 1.4; margin-top: 2px; }
.mega__foot { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line); }
.badge { display: inline-block; vertical-align: 1px; font-style: normal; font-weight: 400; font-family: var(--mono); font-size: 10px; padding: 1px 7px; border-radius: 999px; margin-left: 4px; }
.badge--beta { color: var(--crm-ink); background: rgba(var(--crm-rgb), .12); }
.badge--proximamente { color: var(--text-3); background: rgba(var(--tint), .06); }

/* Theme switch: moon (dark) | sun (light), the knob sits under the active mode */
.theme-switch {
  position: relative; flex: none; display: inline-flex; align-items: center;
  width: 68px; height: 36px; padding: 0 4px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--line-2); background: rgba(var(--tint), .04);
  transition: border-color .2s, background .2s;
}
.theme-switch:hover { border-color: var(--line-3); background: rgba(var(--tint), .07); }
.theme-switch__knob {
  position: absolute; top: 3px; left: 3px; width: 28px; height: 28px; border-radius: 50%;
  background: var(--btn-bg); box-shadow: 0 2px 8px rgba(var(--shadow), calc(.4 * var(--shadow-k)));
  transition: transform .35s var(--ease);
}
.theme-switch svg {
  position: relative; width: 28px; height: 16px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round;
  color: var(--text-3); transition: color .25s;
}
.theme-switch__moon { color: var(--btn-fg) !important; }
:root[data-theme="light"] .theme-switch__knob { transform: translateX(30px); }
:root[data-theme="light"] .theme-switch__moon { color: var(--text-3) !important; }
:root[data-theme="light"] .theme-switch__sun { color: var(--btn-fg); }

/* Light mode refinements */
:root[data-theme="light"] .slide__ambient { opacity: .55; filter: blur(90px) saturate(1.2); }
:root[data-theme="light"] :is(.plogo__icon, .tile__icon, .explore__icon) { --gi-drop: rgba(15, 23, 35, .2); }
:root[data-theme="light"] .tile,
:root[data-theme="light"] .feat,
:root[data-theme="light"] .plan,
:root[data-theme="light"] .step,
:root[data-theme="light"] .faq__list { background-color: var(--surface); }
:root[data-theme="light"] .window { box-shadow: 0 40px 80px -40px rgba(30, 41, 59, .35), 0 0 0 1px rgba(15, 23, 35, .04); }
:root[data-theme="light"] ::selection { background: rgba(var(--gps-rgb), .35); color: var(--text); }


/* --- Light mode: color -------------------------------------------------------- */
/* Showcase tints per product family (the 3D scenes clear to the same color). */
:root[data-theme="light"] .slide.is-gps { --veil: 235, 245, 220; }
:root[data-theme="light"] .slide.is-nube { --veil: 253, 233, 220; }
:root[data-theme="light"] .slide.is-rfid { --veil: 235, 231, 253; }
:root[data-theme="light"] .slide.is-geo { --veil: 220, 239, 251; }
:root[data-theme="light"] .slide.is-crm { --veil: 253, 241, 211; }
:root[data-theme="light"] .slide.is-edu { --veil: 241, 249, 214; }
:root[data-theme="light"] .slide.is-obra { --veil: 253, 233, 224; }
:root[data-theme="light"] .slide.is-tech { --veil: 223, 230, 251; }
:root[data-theme="light"] .slide--cover { background: radial-gradient(60% 70% at 72% 45%, rgba(var(--accent-rgb), .28), transparent 70%), rgb(var(--veil)); }
:root[data-theme="light"] .slide__ambient { opacity: .7; filter: blur(80px) saturate(1.5); }
:root[data-theme="light"] :is(.pick, .explore) { background: rgba(31, 34, 36, .94); border-color: transparent; box-shadow: 0 12px 26px -16px rgba(15, 23, 35, .7); }
:root[data-theme="light"] .pick.is-active {
  background: linear-gradient(rgba(var(--accent-rgb), .14), rgba(var(--accent-rgb), .14)), #23272a;
  border-color: rgba(var(--accent-rgb), .7); box-shadow: 0 14px 28px -14px rgba(var(--accent-rgb), .9);
}
:root[data-theme="light"] .explore { border-color: rgba(var(--accent-rgb), .55); }

/* Charcoal bands (like the nav) for contrast: account, enterprise, footer, the catalog cards
   and the floating buttons of the showcase. */
:root[data-theme="light"] :is(.ink, .tile, .pick, .explore) {
  color-scheme: dark;
  --bg: #161b38; --bg-2: #161b38; --surface: #1d2342; --surface-2: #242a4b; --surface-3: #2d3456;
  --line: rgba(255, 255, 255, .08); --line-2: rgba(255, 255, 255, .14); --line-3: rgba(255, 255, 255, .24);
  --text: #eef1f2; --text-2: #b3bcc1; --text-3: #8f9ca3;
  --tint: 255, 255, 255; --veil: 22, 27, 56; --glass-rgb: 29, 35, 66; --shadow: 0, 0, 0; --shadow-k: 1;
  --app-bg: #191e3d; --menu-bg: #1d2342; --viewer-a: #242a4b; --viewer-b: #161b38; --hi: #ffffff;
  --brand-ink: var(--brand); --gps-ink: var(--gps); --rfid-ink: var(--rfid); --nube-ink: var(--nube);
  --geo-ink: var(--geo); --crm-ink: var(--crm); --edu-ink: var(--edu); --obra-ink: var(--obra); --tech-ink: var(--tech); --accent-ink: var(--accent);
  color: var(--text);
}
:root[data-theme="light"] .section.ink {
  background:
    radial-gradient(50% 70% at 100% 0%, rgba(var(--brand-rgb), .16), transparent 60%),
    radial-gradient(40% 60% at 0% 100%, rgba(var(--rfid-rgb), .12), transparent 60%),
    #161b38;
}
:root[data-theme="light"] .enterprise.ink {
  border-color: transparent;
  background:
    radial-gradient(60% 120% at 0% 0%, rgba(var(--gps-rgb), .2), transparent 60%),
    radial-gradient(50% 120% at 100% 100%, rgba(var(--rfid-rgb), .18), transparent 60%),
    #1a2040;
}
:root[data-theme="light"] .ink .feat,
:root[data-theme="light"] .ink .step { background-color: transparent; }
:root[data-theme="light"] .ink .window { box-shadow: 0 40px 100px -40px rgba(0, 0, 0, .8), 0 30px 80px -50px rgba(var(--accent-rgb), .5); }

/* Mint band for the steps, a soft gray band for the catalog. */
:root[data-theme="light"] .section--mint { background: linear-gradient(180deg, #e7f9ee 0%, #d1f3df 100%); }
:root[data-theme="light"] .section--mint .step { background: #ffffff; border-color: transparent; box-shadow: 0 18px 40px -26px rgba(77, 106, 38, .45); }
:root[data-theme="light"] .section--catalog { background: linear-gradient(180deg, #f2f5f4 0%, #ffffff 100%); }
:root[data-theme="light"] .tile { box-shadow: 0 18px 36px -24px rgba(var(--accent-rgb), .9), 0 10px 24px -18px rgba(15, 23, 35, .5); border-color: transparent; }

/* Stronger color on product page cards. */
:root[data-theme="light"] .feat {
  background: linear-gradient(160deg, rgba(var(--accent-rgb), .2) 0%, rgba(var(--accent-rgb), .05) 55%, #ffffff 100%);
  border-color: rgba(var(--accent-rgb), .3);
}
:root[data-theme="light"] .gpsapp { --app-bg: #e8f7ee; }
:root[data-theme="light"] .rfidapp { --app-bg: #f1eefe; }
:root[data-theme="light"] .viewer { background: radial-gradient(90% 80% at 50% 40%, #fff6ef, #fbe0cf); }

/* Final call to action: solid brand green. */
:root[data-theme="light"] .cta__inner {
  border-color: transparent; color: #12162e;
  background:
    radial-gradient(50% 90% at 90% 0%, rgba(255, 255, 255, .5), transparent 60%),
    linear-gradient(120deg, #bcf477 0%, #d6f9ab 100%);
}
:root[data-theme="light"] .cta h2, :root[data-theme="light"] .cta p { color: #12162e; }
:root[data-theme="light"] .cta h2 em { color: #4d6a26; }
:root[data-theme="light"] .cta .btn--primary { background: #161b36; color: #ffffff; }
:root[data-theme="light"] .cta .btn--ghost { border-color: rgba(18, 22, 46, .3); background: rgba(255, 255, 255, .35); color: #12162e; }

/* Hero: product showcase */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.hero {
  --slide-dur: 8s;
  position: relative; overflow: hidden; isolation: isolate;
  height: min(100svh, 960px); min-height: 700px;
  background: var(--bg);
}
.slides { position: absolute; inset: 0; }
.slide {
  position: absolute; inset: 0;
  opacity: 0; visibility: hidden;
  transition: opacity .9s var(--ease), visibility 0s linear .9s;
}
.slide.is-active { opacity: 1; visibility: visible; transition: opacity .9s var(--ease), visibility 0s; z-index: 1; }
.slide__art {
  position: absolute; inset: 0; width: 100%; height: 100%;
  background: radial-gradient(55% 60% at 68% 42%, rgba(var(--accent-rgb), .14), transparent 70%), rgb(var(--veil));
}
.slide__shade {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(var(--veil), .95) 0%, rgba(var(--veil), .78) 26%, rgba(var(--veil), .1) 56%, rgba(var(--veil), 0) 70%),
    linear-gradient(0deg, rgba(var(--veil), 1) 0%, rgba(var(--veil), .7) 16%, rgba(var(--veil), 0) 38%),
    linear-gradient(180deg, rgba(var(--veil), .65) 0%, rgba(var(--veil), 0) 16%);
}
.slide--cover { background: radial-gradient(60% 70% at 72% 45%, rgba(var(--accent-rgb), .16), transparent 70%), rgb(var(--veil)); }
.slide__ambient {
  position: absolute; inset: -10%; pointer-events: none;
  background-size: cover; background-position: center;
  filter: blur(90px) saturate(1.4); opacity: .45;
}
.slide__cover {
  position: absolute; top: 46%; right: max(5vw, calc((100vw - 1200px) / 2 + 40px));
  height: min(62vh, 580px); aspect-ratio: 3 / 4;
  border-radius: 26px; overflow: hidden;
  background-size: cover; background-position: center;
  border: 1px solid rgba(var(--tint), .14);
  box-shadow: 0 60px 120px -40px rgba(var(--shadow), calc(.95 * var(--shadow-k))), 0 40px 140px -50px rgba(var(--accent-rgb), .7);
  transform: translateY(-50%) perspective(1400px) rotateY(-14deg) rotateX(3deg);
}
.slide__cover::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(115deg, rgba(255, 255, 255, .14), transparent 38%);
}
.slide.is-active .slide__cover { animation: coverIn 1.1s var(--ease) both, coverFloat 9s ease-in-out 1.1s infinite; }
@keyframes coverIn { from { opacity: 0; transform: translateY(-44%) perspective(1400px) rotateY(-24deg) rotateX(6deg); } }
@keyframes coverFloat { 50% { transform: translateY(-52%) perspective(1400px) rotateY(-10deg) rotateX(2deg); } }
.slide__status {
  display: flex; width: max-content; align-items: center; gap: 7px; margin-bottom: 18px;
  padding: 5px 12px; border-radius: 999px; border: 1px solid var(--line-2);
  font-family: var(--mono); font-size: 12px; letter-spacing: .06em; color: var(--text-2);
  background: rgba(var(--veil), .5);
}
.slide__status i { width: 6px; height: 6px; border-radius: 50%; background: var(--text-3); }
.slide__status.is-beta { color: var(--crm-ink); border-color: rgba(var(--crm-rgb), .4); }
.slide__status.is-beta i { background: var(--crm); box-shadow: 0 0 8px var(--crm); }
.slide__labels { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.tag3d { position: absolute; left: 0; top: 0; will-change: transform; transition: opacity .3s; }
.tag3d__box {
  position: relative; transform: translate(-50%, calc(-100% - 14px));
  display: flex; flex-direction: column; gap: 1px; white-space: nowrap;
  padding: 8px 12px; border-radius: 10px;
  background: rgba(var(--glass-rgb), .78); border: 1px solid rgba(var(--accent-rgb), .45);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  font-size: 12px; line-height: 1.35; color: var(--text-2);
  box-shadow: 0 10px 30px -10px rgba(var(--shadow), calc(.8 * var(--shadow-k)));
}
.tag3d__box::after {
  content: ""; position: absolute; left: 50%; top: 100%; width: 1px; height: 14px;
  background: linear-gradient(rgba(var(--accent-rgb), .7), transparent);
}
.tag3d__box b { font-size: 13px; font-weight: 500; color: var(--text); }
.tag3d__box em { font-family: var(--mono); color: var(--accent-ink); }
.tag3d--side .tag3d__box { transform: translate(18px, -50%); }
.tag3d--side .tag3d__box::after { left: -18px; top: 50%; width: 18px; height: 1px; background: linear-gradient(90deg, transparent, rgba(var(--accent-rgb), .8)); }
.tag3d--side .tag3d__box b { font-family: var(--mono); font-size: 16px; color: var(--accent-ink); }
.tag3d.is-done .tag3d__box { border-color: rgba(var(--tint), .6); }

.slide__content {
  position: absolute; left: 0; right: 0; top: 92px; bottom: 196px; container-type: inline-size;
  display: flex; flex-direction: column; align-items: flex-start; justify-content: safe flex-end;
}
.slide.is-active .slide__content > * { animation: rise .9s var(--ease) both; }
.slide.is-active .slide__content > :nth-child(2) { animation-delay: .08s; }
.slide.is-active .slide__content > :nth-child(3) { animation-delay: .16s; }
.slide.is-active .slide__content > :nth-child(4) { animation-delay: .24s; }
.slide.is-active .slide__content > :nth-child(5) { animation-delay: .32s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
.slide__eyebrow {
  display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; margin: 0 0 18px;
  font-family: var(--mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3);
}
.slide__eyebrow b { color: var(--text); font-weight: 500; }
.slide__eyebrow .slide__status { margin: 0; }
.slide__title {
  font-family: 'Barlow Condensed', var(--font); font-weight: 800; text-transform: uppercase;
  font-size: clamp(40px, 4.6vw, 70px); line-height: .94; letter-spacing: 0; margin: 22px 0 16px; max-width: 13em;
}
.slide__title .hl { color: var(--accent); }
:root[data-theme="light"] .slide__title .hl { color: var(--accent-ink); }
.slide__feats {
  list-style: none; display: flex; flex-wrap: wrap; gap: 14px 26px;
  margin: 26px 0 0; padding: 20px 0 0; border-top: 1px solid var(--line);
}
.slide__feats li { display: flex; flex-direction: column; gap: 6px; max-width: 112px; font-size: 12.5px; line-height: 1.3; color: var(--text-2); }
.sfeat__art { display: block; width: 84px; margin-left: -6px; }
.slide__tag {
  position: absolute; z-index: 1; margin: 0; pointer-events: none;
  right: max(var(--gutter), calc((100% - var(--container)) / 2 + 40px)); bottom: 232px;
  font-family: 'Caveat', cursive; font-weight: 700; font-size: clamp(32px, 3.2vw, 50px); line-height: 1;
  color: var(--accent); transform: rotate(-7deg);
  text-shadow: 0 2px 22px rgba(var(--veil), .9);
}
:root[data-theme="light"] .slide__tag { color: var(--accent-ink); }
.slide.is-active .slide__tag { animation: tagIn 1s var(--ease) .45s both; }
@keyframes tagIn { from { opacity: 0; transform: rotate(-7deg) translateY(12px); } }
.hero.is-walking .slide__tag { display: none; }
.slide__lead { font-size: clamp(16px, 1.3vw, 18px); color: var(--text-2); max-width: 500px; }
.slide__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.btn--lg { height: 54px; padding: 0 28px; font-size: 16px; }

.hero--product { height: min(88svh, 860px); min-height: 640px; }
.hero--product .slide__content { bottom: 72px; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 22px; font-size: 13px; color: var(--text-3); }
.crumbs a { color: var(--text-2); transition: color .2s; }
.crumbs a:hover { color: var(--text); }


/* Explore mode ("Explorar en 3D") */
.explore {
  position: absolute; z-index: 2; top: 92px; right: max(var(--gutter), calc((100% - var(--container)) / 2));
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 7px; text-align: left;
  border-radius: 14px; border: 1px solid rgba(var(--accent-rgb), .45); cursor: pointer;
  background: rgba(var(--glass-rgb), .72); color: var(--text);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  transition: transform .25s var(--ease), border-color .2s, box-shadow .2s;
}
.explore:hover { transform: translateY(-2px); border-color: var(--accent); box-shadow: 0 14px 30px -18px rgba(var(--accent-rgb), .9); }
.explore[hidden] { display: none; }
.explore__icon { width: 36px; height: 36px; border-radius: 10px; --gi-glow: 0 8px 12px -8px rgba(var(--accent-rgb), .95); }
.explore__icon svg { width: 20px; height: 20px; }
.explore b { display: block; font-size: 14px; font-weight: 500; line-height: 1.25; }
.explore small { display: block; font-size: 12px; color: var(--text-3); }
.slide.is-active .explore { animation: rise .9s var(--ease) .3s both; }

/* While exploring, the active scene fills the screen and the page holds still. */
body.is-walking { overflow: hidden; }
.hero.is-walking { z-index: 90; }
.hero.is-walking .slides { position: fixed; inset: 0; }
.hero.is-walking .slide__content, .hero.is-walking .slide__shade, .hero.is-walking .slide__labels,
.hero.is-walking .picker-wrap, .hero.is-walking .explore { display: none; }

.walk { position: fixed; inset: 0; z-index: 95; pointer-events: none; color: #ffffff; font-family: var(--font); }
.walk > *, .walk__top > * { pointer-events: auto; }
.walk__top { position: absolute; top: 16px; left: 16px; right: 16px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; pointer-events: none; }
.walk__title, .walk__modes, .walk__speed, .walk__exit, .walk__help, .walk__lock, .walk__run {
  background: rgba(17, 20, 21, .78); border: 1px solid rgba(255, 255, 255, .1);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.walk__title { display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 999px; font-size: 14px; font-weight: 500; }
.walk__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 10px var(--brand); }
.walk__modes { display: inline-flex; padding: 3px; border-radius: 999px; }
.walk__modes button { height: 32px; padding: 0 14px; border: 0; border-radius: 999px; background: transparent; color: #c7ced1; font-size: 13px; cursor: pointer; }
.walk__modes button[aria-pressed="true"] { background: var(--brand); color: #12162e; font-weight: 500; }
.walk__speed { height: 40px; display: inline-flex; align-items: center; padding: 0 14px; border-radius: 999px; font-family: var(--mono); font-size: 12px; color: #c7ced1; }
.walk__speed.is-run { color: #12162e; background: var(--mint); border-color: transparent; }
.walk__exit { margin-left: auto; height: 40px; display: inline-flex; align-items: center; gap: 8px; padding: 0 14px; border-radius: 999px; color: #ffffff; font-size: 14px; cursor: pointer; }
.walk__exit:hover { background: rgba(40, 45, 47, .9); }
.walk kbd {
  display: inline-block; min-width: 20px; padding: 1px 6px; border-radius: 5px; text-align: center;
  font-family: var(--mono); font-size: 11px; color: #ffffff; border: 1px solid rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .06);
}
.walk__help {
  position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%);
  display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; padding: 10px 16px; border-radius: 14px;
  font-size: 13px; color: #c7ced1; pointer-events: none; max-width: calc(100% - 32px);
}
.walk__help span { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
.walk__cross { position: absolute; left: 50%; top: 50%; width: 6px; height: 6px; margin: -3px; border-radius: 50%; background: #ffffff; box-shadow: 0 0 0 2px rgba(0, 0, 0, .35); opacity: 0; transition: opacity .2s; pointer-events: none; }
.walk.is-first .walk__cross { opacity: 1; }
.walk__lock { position: absolute; left: 50%; top: 50%; transform: translate(-50%, 48px); padding: 10px 16px; border-radius: 12px; font-size: 14px; pointer-events: none; transition: opacity .3s; }
.walk.is-locked .walk__lock { opacity: 0; }
.walk__joy, .walk__run { display: none; }
@media (pointer: coarse) {
  .walk__help, .walk__lock { display: none; }
  .walk__joy {
    display: block; position: absolute; left: 22px; bottom: 28px; width: 128px; height: 128px; border-radius: 50%;
    background: rgba(17, 20, 21, .45); border: 1px solid rgba(255, 255, 255, .25); touch-action: none;
  }
  .walk__joy i { position: absolute; left: 50%; top: 50%; width: 54px; height: 54px; margin: -27px; border-radius: 50%; background: rgba(255, 255, 255, .88); }
  .walk__run { display: block; position: absolute; right: 22px; bottom: 54px; height: 64px; width: 64px; border-radius: 50%; color: #ffffff; font-size: 13px; font-weight: 500; }
  .walk__run[aria-pressed="true"] { background: var(--brand); color: #12162e; border-color: transparent; }
}

/* Drawings (assets/js/drawings.js): flat spot illustrations tinted by the product accent */
.dw { display: block; width: 100%; height: auto; overflow: visible; --d-ink: #e6ebed; --d-paper: #2b3033; color: var(--d-ink); }
:root[data-theme="light"] .dw { --d-ink: #2b3135; --d-paper: #ffffff; }
:root[data-theme="light"] .ink .dw { --d-ink: #e6ebed; --d-paper: #2b3033; }
.dw .bg { fill: rgba(var(--accent-rgb), .14); }
.dw .a { fill: var(--accent); }
.dw .as { fill: rgba(var(--accent-rgb), .32); }
.dw .p { fill: var(--d-paper); }
.dw .k { fill: currentColor; }
.dw .o { stroke: currentColor; stroke-width: 2; stroke-linejoin: round; }
.dw .ln, .dw .lna, .dw .lns { fill: none; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2.2; }
.dw .ln { stroke: currentColor; }
.dw .lna { stroke: var(--accent); }
.dw .lns { stroke: rgba(var(--accent-rgb), .3); stroke-width: 14; }
.dw .dash { stroke-dasharray: 1 7; stroke-width: 3; }
.dw .on-a-ln { fill: none; stroke: #12162e; stroke-width: 2; }
.dw text { font-family: var(--mono); font-weight: 600; fill: currentColor; }
.dw .on-a { fill: #12162e; }
.dw .mint { fill: #d6f9ab; }
.dw .amb { fill: #ffc24d; }
.dw .org { fill: #ff9152; }
.dw .blu { fill: #4cc3ff; }
.dw .red { fill: #ff5a5a; }
.dw .s-ok, .dw .s-mid, .dw .s-hot { fill: none; stroke-width: 7; stroke-linecap: round; }
.dw .s-ok { stroke: #7cc22c; }
.dw .s-mid { stroke: #ffc24d; }
.dw .s-hot { stroke: #ff5a5a; }
.dw .rk-b { fill: #bcf477; stroke: currentColor; stroke-width: 1.6; }
.dw .rk-h { fill: #f4f2ec; stroke: currentColor; stroke-width: 1.6; }
.dw .rk-v { fill: #1b1f20; }
.dw .rk-l { fill: none; stroke: currentColor; stroke-width: 3.4; stroke-linecap: round; }

/* Product icons: the account's square (insignia) all over the site, in both themes. A
   border in the product color on a dark pane, its glow, and the sparks at the top right. */
.plogo__icon, .tile__icon, .explore__icon {
  --gi-ring: 0 0 0 0 transparent;
  position: relative; display: grid; place-items: center; flex: none; color: var(--accent);
  background: #0f1329; border: 2px solid var(--accent);
  box-shadow: var(--gi-ring), 0 0 18px -6px var(--accent);
}
.plogo__icon::after, .tile__icon::after, .explore__icon::after {
  content: ''; position: absolute; top: -24%; right: -28%; width: 46%; height: 40%; background: var(--accent);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 26'%3E%3Cpath d='M3 23l7-9 2 7zM14 12l10-10 1 8zM20 21l8-4-2 7z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 26'%3E%3Cpath d='M3 23l7-9 2 7zM14 12l10-10 1 8zM20 21l8-4-2 7z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.plogo__icon svg, .tile__icon svg, .explore__icon svg { filter: drop-shadow(0 0 5px rgba(var(--accent-rgb), .55)); }

/* Product logo */
.plogo { display: inline-flex; align-items: center; gap: 14px; }
.plogo__icon { width: 48px; height: 48px; border-radius: 14px; }
.plogo__icon svg { width: 26px; height: 26px; }
.plogo__icon--sm { width: 40px; height: 40px; border-radius: 12px; }
.plogo__icon--sm svg { width: 21px; height: 21px; }
.plogo__icon--xs { width: 32px; height: 32px; border-radius: 10px; --gi-glow: 0 7px 10px -7px rgba(var(--accent-rgb), .9); }
.plogo__icon--xs svg { width: 17px; height: 17px; }
.plogo__text { display: flex; flex-direction: column; line-height: 1; gap: 6px; }
.plogo__text small { font-family: var(--mono); font-size: 11px; letter-spacing: .34em; text-transform: uppercase; color: var(--text-2); }
.plogo__text b { font-family: 'Unbounded', var(--font); font-weight: 700; font-size: 28px; letter-spacing: -.01em; text-transform: uppercase; color: var(--text); }
.plogo--xl { gap: 14px; }
.plogo--xl .plogo__icon { width: 52px; height: 52px; border-radius: 16px; }
.plogo--xl .plogo__icon svg { width: 28px; height: 28px; }
.plogo--xl .plogo__text small { font-size: 11px; }
.plogo--xl .plogo__text b { font-size: min(clamp(28px, 2.8vw, 40px), calc((100cqi - 80px) / (var(--len, 4) * .9))); }

/* Product picker */
.picker-wrap { position: absolute; left: 0; right: 0; bottom: 28px; z-index: 2; }
.picker { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 10px; scrollbar-width: none; }
.picker::-webkit-scrollbar { display: none; }
.pick {
  position: relative; overflow: hidden; cursor: pointer; text-align: left;
  display: flex; align-items: center; gap: 10px; padding: 12px;
  border-radius: 16px; border: 1px solid var(--line-2);
  background: rgba(var(--glass-rgb), .6);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  transition: border-color .25s, background .25s, transform .25s var(--ease);
}
.pick:hover { border-color: var(--line-3); transform: translateY(-2px); }
.pick .plogo__icon { filter: saturate(.7) brightness(.78); transition: filter .25s; }
.pick.is-active { border-color: rgba(var(--accent-rgb), .55); background: rgba(var(--accent-rgb), .09); }
.pick.is-active .plogo__icon, .pick:hover .plogo__icon { filter: none; }
.pick__text { min-width: 0; }
.pick__text b, .pick__text small { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pick__text b { font-size: 14px; font-weight: 500; }
.pick__text small { font-size: 12px; color: var(--text-3); }
.pick .plogo__icon--sm { width: 36px; height: 36px; border-radius: 11px; }
.pick .plogo__icon--sm svg { width: 19px; height: 19px; }
.pick__bar { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; }
.pick__bar i { display: block; height: 100%; width: 0; background: var(--accent); }
.pick.is-active .pick__bar i { animation: fill var(--slide-dur) linear forwards; }
.hero.is-paused .pick.is-active .pick__bar i, .hero.is-off .pick.is-active .pick__bar i,
.hero.is-stopped .pick.is-active .pick__bar i { animation-play-state: paused; }
.hero__ctrl { display: flex; justify-content: flex-end; align-items: center; gap: 8px; margin-bottom: 12px; }
.hero__count { font-family: var(--mono); font-size: 12px; color: var(--text-3); margin-right: 6px; }
.hero__count b { font-weight: 500; color: var(--text); }
.ctrl {
  width: 34px; height: 34px; border-radius: 50%; padding: 0; cursor: pointer;
  display: grid; place-items: center; color: var(--text-2);
  border: 1px solid var(--line-2); background: rgba(var(--glass-rgb), .55);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  transition: color .2s, border-color .2s, background .2s;
}
.ctrl:hover { color: var(--text); border-color: var(--line-3); background: rgba(var(--tint), .06); }
.ctrl svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ctrl .ctrl__play { display: none; fill: currentColor; stroke: none; }
.ctrl.is-play .ctrl__play { display: block; }
.ctrl.is-play .ctrl__pause { display: none; }
@keyframes fill { to { width: 100%; } }

/* Sections */
.section { padding: 128px 0; position: relative; }
.section__head { max-width: 720px; margin-bottom: 56px; }
.section__head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section__head h2, .feature h2, .account h2, .faq h2 { font-size: clamp(32px, 4vw, 50px); font-weight: 700; letter-spacing: -.035em; line-height: 1.08; margin: 18px 0 18px; }
.section__head p { font-size: 18px; color: var(--text-2); max-width: 560px; }
.section__head--center p { margin: 0 auto; }

/* Product page */
.feats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.feat {
  padding: 28px 24px; border-radius: var(--radius-lg); border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(var(--accent-rgb), .07), rgba(var(--tint), .01) 70%);
}
.feat__art { margin: -10px -8px 8px; }
.feat h3 { font-size: 19px; font-weight: 600; letter-spacing: -.02em; line-height: 1.25; margin: 0 0 8px; }
.feat p { font-size: 15px; color: var(--text-2); }
.feats .reveal:nth-child(2) { transition-delay: .06s; }
.feats .reveal:nth-child(3) { transition-delay: .12s; }
.feats .reveal:nth-child(4) { transition-delay: .18s; }
.section--demo { padding-top: 0; }
.demo { max-width: 940px; margin: 0 auto; }
.notify {
  display: flex; justify-content: space-between; align-items: center; gap: 24px 40px; flex-wrap: wrap;
  padding: 40px; border-radius: var(--radius-lg); border: 1px solid rgba(var(--accent-rgb), .35);
  background: radial-gradient(70% 120% at 0% 0%, rgba(var(--accent-rgb), .12), transparent 60%), var(--surface);
}
.notify h3 { font-size: clamp(24px, 3vw, 32px); letter-spacing: -.03em; margin: 14px 0 8px; }
.notify p { color: var(--text-2); max-width: 520px; }
.catalog--row .tile:nth-child(n+5) { display: none; }

/* Price list */
.pricelist { border-top: 1px solid var(--line); }
.prow {
  display: grid; grid-template-columns: 32px minmax(0, 1.4fr) 120px minmax(0, 1.3fr) 150px;
  gap: 18px; align-items: center; padding: 18px 14px; margin: 0 -14px;
  border-bottom: 1px solid var(--line); border-radius: 12px; transition: background .2s;
}
.prow:hover { background: rgba(var(--accent-rgb), .06); }
.prow__name b { display: block; font-size: 16px; font-weight: 500; }
.prow__name small { display: block; font-size: 13px; color: var(--text-3); }
.prow__price { font-size: 15px; color: var(--text-2); }
.prow__price b { color: var(--text); font-weight: 500; }
.prow__cta { font-size: 14px; font-weight: 500; color: var(--accent-ink); white-space: nowrap; text-align: right; }
.prow__cta span { display: inline-block; transition: transform .2s var(--ease); }
.prow:hover .prow__cta span { transform: translateX(3px); }

/* Catalog */
/* Trust strip under the showcase: what backs every product. */
/* Oscura en los dos temas: sigue a la parte negra de la portada */
.trust {
  --text: #eef1f2; --text-3: #8f9ca3; --line: rgba(255, 255, 255, .08); --brand-ink: var(--brand);
  background: #0c1024; border-top: 1px solid rgba(255, 255, 255, .06); border-bottom: 1px solid var(--line);
}
.trust__list { list-style: none; margin: 0 auto; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.trust__list li { display: flex; align-items: center; gap: 14px; padding: 24px 20px; font-size: 13px; line-height: 1.4; color: var(--text-3); }
.trust__list li:first-child { padding-left: 0; }
.trust__list li + li { border-left: 1px solid var(--line); }
.trust__list b { display: block; font-size: 15px; font-weight: 600; letter-spacing: -.01em; color: var(--text); }
.trust__list svg {
  width: 40px; height: 40px; padding: 10px; flex: none; border-radius: 12px; box-sizing: border-box;
  color: var(--brand-ink); background: rgba(var(--brand-rgb), .12);
}
.section--catalog { padding-top: 96px; }
.row-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 32px; flex-wrap: wrap; }
.row-head h2 { font-size: clamp(30px, 3.6vw, 44px); font-weight: 700; letter-spacing: -.035em; display: inline-flex; align-items: center; gap: 18px; }
.row-head h2::after { content: ""; width: clamp(56px, 9vw, 140px); height: 2px; border-radius: 2px; background: var(--brand); }
.row-head__sub { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; color: var(--text-3); margin-top: 10px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.filter {
  display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px;
  border-radius: 999px; border: 1px solid var(--line-2); background: transparent; cursor: pointer;
  font-size: 14px; color: var(--text-2); transition: background .2s, color .2s, border-color .2s;
}
.filter i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.filter span { font-family: var(--mono); font-size: 12px; color: var(--text-3); }
.filter:hover { color: var(--text); border-color: var(--line-3); }
.filter[aria-pressed="true"] { background: rgba(var(--tint), .08); color: var(--text); border-color: var(--line-3); }
.catalog { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.tile {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  border-radius: 18px; border: 1px solid var(--line); background: var(--surface);
  transition: border-color .3s, transform .4s var(--ease), box-shadow .4s;
}
.tile[hidden] { display: none; }
a.tile:hover { border-color: rgba(var(--accent-rgb), .55); transform: translateY(-4px); box-shadow: 0 30px 60px -30px rgba(var(--accent-rgb), .55); }
.tile__media { position: relative; aspect-ratio: 16 / 11; overflow: hidden; background: var(--bg-2); }
.tile__art {
  position: absolute; inset: 0;
  background: radial-gradient(70% 60% at 50% 40%, rgba(var(--accent-rgb), .16), transparent 70%), var(--bg-2);
  background-size: cover; background-position: center;
  transition: transform 1s var(--ease);
}
a.tile:hover .tile__art { transform: scale(1.07); }
.tile__status, .tile__site {
  position: absolute; top: 12px; z-index: 1;
  display: inline-flex; align-items: center; gap: 7px; padding: 5px 10px; border-radius: 999px;
  background: rgba(var(--veil), .72); border: 1px solid var(--line-2);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  font-family: var(--mono); font-size: 11px; letter-spacing: .04em; color: var(--text-2);
}
.tile__status { left: 12px; }
.tile__site { right: 12px; }
.tile__status i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 8px var(--accent); }
.tile__body { position: relative; display: flex; flex-direction: column; flex: 1; padding: 36px 20px 18px; }
.tile__icon { position: absolute; top: -26px; left: 18px; width: 52px; height: 52px; border-radius: 15px; --gi-ring: 0 0 0 4px var(--surface); }
.tile__icon svg { width: 26px; height: 26px; }
.tile__name { font-size: 18px; font-weight: 600; letter-spacing: -.02em; line-height: 1.2; }
.tile__desc {
  margin-top: 8px; font-size: 14px; line-height: 1.45; color: var(--text-2);
  min-height: calc(2 * 1.45em); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.tile__meta {
  display: flex; flex-direction: column; gap: 2px; margin-top: auto; padding-top: 14px;
  border-top: 1px solid var(--line); font-size: 13px; color: var(--text-3);
}
.tile__desc + .tile__meta { margin-top: 16px; }
.tile__meta span:first-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tile__meta span:last-child { color: var(--text-2); }
.tile__meta b { color: var(--text); font-weight: 500; }
.tile.is-beta .tile__status { color: var(--crm-ink); border-color: rgba(var(--crm-rgb), .35); }
.tile.is-beta .tile__status i { background: var(--crm); box-shadow: 0 0 8px var(--crm); }
.tile.is-proximamente .tile__status { color: var(--text-3); }
.tile.is-proximamente .tile__status i { background: var(--text-3); box-shadow: none; }
.tile.is-proximamente .tile__art { filter: saturate(.35) brightness(.7); }
.tile.is-proximamente .tile__icon { filter: saturate(.4) brightness(.85); }

/* Feature sections */
.feature { overflow: hidden; }
.feature::before {
  content: ""; position: absolute; width: 900px; height: 900px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(var(--accent-rgb), .07), transparent);
  top: 50%; right: -300px; transform: translateY(-50%);
}
.feature--reverse::before { right: auto; left: -300px; }
.feature__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.25fr); gap: 72px; align-items: center; position: relative; }
.feature--reverse .feature__grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, .9fr); }
.feature--reverse .feature__text { order: 2; }
.feature__lead { font-size: 18px; color: var(--text-2); max-width: 520px; }
.checks { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 14px; }
.checks li { position: relative; padding-left: 30px; font-size: 15px; color: var(--text-2); }
.checks li b { color: var(--text); font-weight: 500; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 50%;
  background: rgba(var(--accent-rgb), .14);
}
.checks li::after {
  content: ""; position: absolute; left: 5.5px; top: 8.5px; width: 7px; height: 4px;
  border-left: 1.5px solid var(--accent); border-bottom: 1.5px solid var(--accent); transform: rotate(-45deg);
}
.feature__ctas { display: flex; align-items: center; flex-wrap: wrap; gap: 16px 20px; margin-top: 36px; }
.feature__note { font-size: 14px; color: var(--text-3); }

/* Window */
.window {
  border-radius: 18px; border: 1px solid var(--line-2); overflow: hidden;
  background: var(--surface);
  box-shadow: 0 40px 100px -40px rgba(var(--shadow), calc(.9 * var(--shadow-k))), 0 0 0 1px rgba(var(--shadow), calc(.4 * var(--shadow-k))), 0 30px 80px -50px rgba(var(--accent-rgb), .45);
}
.window__bar {
  height: 40px; display: flex; align-items: center; gap: 7px; padding: 0 14px; position: relative;
  border-bottom: 1px solid var(--line); background: var(--surface-2);
}
.window__bar span { width: 10px; height: 10px; border-radius: 50%; background: rgba(var(--tint), .1); }
.window__bar b {
  position: absolute; left: 50%; transform: translateX(-50%);
  font-family: var(--mono); font-size: 12px; font-weight: 400; color: var(--text-3);
  padding: 3px 14px; border-radius: 6px; background: rgba(var(--tint), .03); border: 1px solid var(--line);
}

/* GPS app */
.gpsapp { position: relative; aspect-ratio: 640 / 420; background: var(--app-bg); }
.gpsmap { width: 100%; height: 100%; }
.gm-bg { fill: var(--app-bg); }
.gm-block { fill: rgba(var(--tint), .045); }
.gm-park { fill: rgba(var(--gps-rgb), .1); }
.gm-ave { stroke: var(--app-bg); }
.gm-ave-line { stroke: rgba(var(--tint), .1); }
.gm-label { fill: rgba(var(--tint), .32); }
.gm-route-dim { stroke: rgba(var(--gps-rgb), .3); }
.gm-route { stroke: var(--gps-ink); }
.gm-stop { fill: var(--app-bg); stroke: var(--gps-ink); }
.gm-dot { fill: var(--gps-ink); }
.gm-stop-label { fill: var(--text-2); }
.gm-halo { fill: rgba(var(--gps-rgb), .28); }
.gm-car { fill: var(--gps); stroke: var(--app-bg); }
.gpsapp__live { position: absolute; top: 14px; left: 14px; width: 200px; padding: 14px; border-radius: 14px; }
.gpsapp__veh { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; margin-bottom: 10px; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gps); box-shadow: 0 0 0 3px rgba(var(--gps-rgb), .2); }
.kv { margin: 0; display: grid; gap: 6px; }
.kv div { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.kv dt { font-size: 12px; color: var(--text-3); }
.kv dd { margin: 0; font-family: var(--mono); font-size: 13px; color: var(--text); }
.kv__big { margin-top: 6px; padding-top: 10px; border-top: 1px solid var(--line); flex-direction: column; align-items: flex-start !important; gap: 2px !important; }
.kv__big dd { font-size: 22px; color: var(--gps-ink); letter-spacing: -.02em; }
.gpsapp__trips { position: absolute; right: 14px; bottom: 14px; width: 290px; padding: 12px 14px; border-radius: 14px; font-size: 12px; }
.gpsapp__trips-head { display: flex; justify-content: space-between; color: var(--text-3); font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 6px; }
.gpsapp__trips ul { list-style: none; margin: 0; padding: 0; }
.gpsapp__trips li, .gpsapp__trips-total { display: grid; grid-template-columns: 1fr auto 64px; gap: 10px; padding: 6px 0; border-bottom: 1px solid var(--line); color: var(--text-2); }
.gpsapp__trips li span:not(:first-child), .gpsapp__trips-total span:not(:first-child) { font-family: var(--mono); text-align: right; }
.gpsapp__trips li b { color: var(--text-3); font-weight: 400; margin-right: 4px; }
.gpsapp__trips li span:first-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gpsapp__trips-total { border-bottom: 0; color: var(--text); font-weight: 500; }
.gpsapp__trips-total span:last-child { color: var(--gps-ink); }

/* Calculator */
.calc {
  margin-top: 72px; position: relative;
  border-radius: var(--radius-lg); border: 1px solid var(--line-2);
  background: linear-gradient(180deg, rgba(var(--gps-rgb), .05), rgba(var(--tint), .01));
  padding: 32px;
}
.calc__head { display: flex; justify-content: space-between; align-items: end; gap: 12px 32px; flex-wrap: wrap; margin-bottom: 28px; }
.calc__head h3 { font-size: 24px; letter-spacing: -.02em; }
.calc__head p { color: var(--text-2); font-size: 15px; }
.calc__body { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 32px; align-items: stretch; }
.calc__fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 28px; align-content: start; }
.field { display: flex; flex-direction: column; gap: 10px; }
.field__label { display: flex; justify-content: space-between; font-size: 13px; color: var(--text-2); }
.field__label output { font-family: var(--mono); color: var(--text); }
.field__input {
  display: flex; align-items: center; gap: 6px; height: 44px; padding: 0 14px;
  border-radius: 10px; border: 1px solid var(--line-2); background: rgba(var(--shadow), calc(.25 * var(--shadow-k)));
  transition: border-color .2s;
}
.field__input:focus-within { border-color: rgba(var(--gps-rgb), .6); }
.field__input i { font-style: normal; color: var(--text-3); font-family: var(--mono); font-size: 14px; }
.field__input input {
  flex: 1; min-width: 0; background: transparent; border: 0; outline: 0; color: var(--text);
  font-family: var(--mono); font-size: 15px; -moz-appearance: textfield; appearance: textfield;
}
.field__input input::-webkit-outer-spin-button, .field__input input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 22px; background: transparent; cursor: pointer; margin: 0; }
input[type="range"]::-webkit-slider-runnable-track {
  height: 4px; border-radius: 4px;
  background: linear-gradient(90deg, var(--gps) var(--p, 50%), rgba(var(--tint), .1) var(--p, 50%));
}
input[type="range"]::-moz-range-track { height: 4px; border-radius: 4px; background: rgba(var(--tint), .1); }
input[type="range"]::-moz-range-progress { height: 4px; border-radius: 4px; background: var(--gps); }
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 18px; height: 18px; border-radius: 50%; margin-top: -7px;
  background: #fff; border: 0; box-shadow: 0 0 0 4px rgba(var(--gps-rgb), .25);
}
input[type="range"]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 0; box-shadow: 0 0 0 4px rgba(var(--gps-rgb), .25); }

.toggle { display: inline-flex; align-items: center; gap: 12px; font-size: 14px; color: var(--text-2); cursor: pointer; align-self: end; height: 44px; }
.toggle input { position: absolute; opacity: 0; pointer-events: none; }
.toggle__ui { width: 40px; height: 24px; border-radius: 999px; background: rgba(var(--tint), .1); position: relative; transition: background .2s; flex: none; }
.toggle__ui::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: transform .25s var(--ease); }
.toggle input:checked + .toggle__ui { background: var(--gps); }
.toggle input:checked + .toggle__ui::after { transform: translateX(16px); }
.toggle input:focus-visible + .toggle__ui { outline: 2px solid var(--gps); outline-offset: 3px; }

.calc__result {
  border-radius: 16px; background: rgba(var(--shadow), calc(.3 * var(--shadow-k))); border: 1px solid var(--line);
  padding: 22px; display: flex; flex-direction: column; gap: 12px;
}
.calc__result div { display: flex; justify-content: space-between; align-items: baseline; font-size: 14px; color: var(--text-2); }
.calc__result b { font-family: var(--mono); font-weight: 500; color: var(--text); }
.calc__total { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); flex-direction: column; align-items: flex-start !important; gap: 4px; }
.calc__total b { font-size: clamp(32px, 4vw, 44px); letter-spacing: -.03em; color: var(--gps-ink); line-height: 1.1; }
.calc__result small { font-family: var(--mono); font-size: 12px; color: var(--text-3); }

/* Viewer */
.viewer { position: relative; aspect-ratio: 640 / 420; background: radial-gradient(90% 80% at 50% 40%, var(--viewer-a), var(--viewer-b)); }
.viewer__canvas { width: 100%; height: 100%; }
.viewer__tools { position: absolute; top: 14px; left: 14px; display: flex; flex-direction: column; gap: 4px; padding: 6px; border-radius: 12px; }
.viewer__tools span { width: 34px; height: 34px; border-radius: 8px; display: grid; place-items: center; color: var(--text-3); }
.viewer__tools span.is-on { background: rgba(var(--nube-rgb), .16); color: var(--nube-ink); }
.viewer__tools svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.viewer__layers { position: absolute; top: 14px; right: 14px; width: 210px; padding: 12px 14px; border-radius: 14px; font-size: 12px; display: grid; gap: 8px; }
.viewer__layers-head { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); }
.viewer__layers label { display: flex; align-items: center; gap: 8px; color: var(--text-2); }
.viewer__layers label span { margin-left: auto; font-family: var(--mono); color: var(--text-3); }
.sw { width: 10px; height: 10px; border-radius: 3px; }
.sw--a { background: var(--nube); }
.sw--b { background: transparent; border: 1.5px solid var(--text-3); }
.viewer__measure { position: absolute; left: 14px; bottom: 14px; padding: 12px 16px; border-radius: 14px; display: flex; flex-direction: column; gap: 2px; }
.viewer__measure span { font-size: 12px; color: var(--text-3); }
.viewer__measure b { font-family: var(--mono); font-size: 24px; font-weight: 500; color: var(--nube-ink); letter-spacing: -.02em; line-height: 1.2; }
.viewer__measure em { font-family: var(--mono); font-size: 12px; color: var(--text-2); }

/* RFID app */
.rfidapp { padding: 16px; display: grid; gap: 14px; background: var(--app-bg); }
.rfidapp__stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.rfidapp__stats div { padding: 12px 14px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--line); }
.rfidapp__stats span { display: block; font-size: 12px; color: var(--text-3); }
.rfidapp__stats b { font-family: var(--mono); font-size: 18px; font-weight: 500; letter-spacing: -.02em; }
.rfidapp__stats b.ok { color: var(--rfid-ink); }
.rfidapp__floor { display: grid; grid-template-columns: 64px minmax(0, 1fr) 64px; gap: 10px; min-height: 200px; }
.zone {
  border-radius: 12px; border: 1px dashed var(--line-2);
  display: flex; align-items: center; justify-content: center;
}
.zone span { writing-mode: vertical-rl; transform: rotate(180deg); font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); }
.zone--out { border-color: rgba(var(--rfid-rgb), .35); background: rgba(var(--rfid-rgb), .04); }
.zone--out span { color: var(--rfid-ink); }
.racks { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.rack { border-radius: 10px; background: var(--surface-2); border: 1px solid var(--line); padding: 8px; display: flex; flex-direction: column; gap: 6px; }
.rack__label { font-family: var(--mono); font-size: 10px; letter-spacing: .1em; color: var(--text-3); }
.rack__grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 3px; flex: 1; align-content: start; }
.rack__grid i { aspect-ratio: 1; border-radius: 2px; background: rgba(var(--rfid-rgb), .22); transition: background .5s, box-shadow .5s; }
.rack__grid i.ping { background: var(--rfid); box-shadow: 0 0 8px rgba(var(--rfid-rgb), .9); transition: none; }
.rack__grid i.moved { background: var(--hi); box-shadow: 0 0 10px rgba(var(--tint), .8); }
.rfidapp__feed { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; min-height: 120px; }
.rfidapp__feed li {
  display: grid; grid-template-columns: 52px 1fr auto; gap: 10px; align-items: center;
  font-size: 12px; padding: 7px 10px; border-radius: 8px; background: var(--surface-2); border: 1px solid var(--line);
  color: var(--text-2); animation: feedIn .4s var(--ease);
}
.rfidapp__feed li time { font-family: var(--mono); color: var(--text-3); }
.rfidapp__feed li b { font-weight: 500; color: var(--text); font-family: var(--mono); }
.rfidapp__feed li em { font-family: var(--mono); font-size: 11px; color: var(--rfid-ink); }
@keyframes feedIn { from { opacity: 0; transform: translateY(-6px); } }

/* Account */
.account { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.2fr); gap: 72px; align-items: center; }
.account__text p { font-size: 18px; color: var(--text-2); max-width: 480px; }
/* El título y los puntos, como la portada: letra condensada y los íconos de la cuenta */
.cuenta__kicker { margin: 0 0 16px; font: 500 12px/1.4 var(--mono); letter-spacing: .4em; text-transform: uppercase; color: var(--text-3); }
.cuenta__titulo { display: grid; margin: 0 0 22px; font: 800 clamp(48px, 5.2vw, 82px)/.86 'Barlow Condensed', var(--font); letter-spacing: -.005em; text-transform: uppercase; }
.cuenta__titulo .hl { color: var(--brand); }
.cuenta__puntos { display: grid; gap: 18px; margin: 32px 0 0; padding: 0; list-style: none; }
.cuenta__puntos li { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 16px; align-items: center; }
.cuenta__puntos .insignia { grid-row: span 2; }
.cuenta__puntos b { font: 700 21px/1.05 'Barlow Condensed', var(--font); letter-spacing: .02em; text-transform: uppercase; color: var(--text); }
.cuenta__puntos span:not(.insignia) { font-size: 14px; color: var(--text-3); }

/* Los servicios de la cuenta, como los estandartes del Catálogo, abiertos en abanico */
.servicios { position: relative; display: flex; justify-content: center; padding: 18px 0 8px; }
.servicio {
  --c: var(--accent);
  position: relative; isolation: isolate; overflow: hidden; flex: 0 0 min(32%, 220px); aspect-ratio: 220 / 340; margin: 0 -14px;
  color: #f2f4ec; text-align: center; background: #c9ccc8;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 30px), 50% 100%, 0 calc(100% - 30px));
  transform: rotate(calc(var(--k) * 7deg)) translateY(calc(var(--k) * var(--k) * 18px)); transform-origin: 50% 110%;
  filter: drop-shadow(0 26px 30px rgba(0, 0, 0, .45)); transition: transform .45s var(--ease);
}
.servicio:nth-child(2) { z-index: 1; }
.servicios:hover .servicio { transform: rotate(calc(var(--k) * 10deg)) translateY(calc(var(--k) * var(--k) * 26px)) translateX(calc(var(--k) * 14px)); }
.servicio__rayas {
  position: absolute; inset: 0; z-index: -2;
  background: repeating-linear-gradient(-62deg, rgba(255, 255, 255, .38) 0 1.5px, transparent 1.5px 7px, rgba(0, 0, 0, .06) 7px 8.5px, transparent 8.5px 19px), var(--c);
}
/* El arte del producto (la foto de su escena), en la parte de color */
.servicio__arte { position: absolute; z-index: -1; left: 10%; right: 10%; top: 34px; aspect-ratio: 1; overflow: hidden; border-radius: 8px; border: 2px solid rgba(255, 255, 255, .9); }
.servicio__oscuro {
  position: absolute; inset: 0; z-index: 1; clip-path: polygon(0 56%, 100% 44%, 100% 100%, 0 100%);
  background: repeating-linear-gradient(-62deg, rgba(255, 255, 255, .03) 0 1.5px, transparent 1.5px 12px), #151a33;
}
.servicio__punta { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; width: 100%; height: 30px; color: var(--c); overflow: visible; }
.servicio__top {
  position: absolute; z-index: 2; top: 10px; left: 10px; right: 10px; display: flex; align-items: center; justify-content: space-between; gap: 6px;
  font: 500 9.5px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: #12162e;
}
.servicio__estado { padding: 3px 6px; background: #12162e; color: #f2f4ec; }
.servicio.is-prueba .servicio__estado { background: none; color: #12162e; border: 1.5px solid #12162e; }
.servicio__pie { position: absolute; z-index: 2; left: 0; right: 0; bottom: 40px; display: grid; justify-items: center; gap: 5px; padding: 0 12px; }
.servicio__pie .insignia { margin-bottom: 4px; }
.servicio__marca { font: 500 9px/1 var(--mono); letter-spacing: .3em; text-transform: uppercase; color: var(--c); }
.servicio__nombre { font: 800 30px/.9 'Barlow Condensed', var(--font); letter-spacing: .01em; text-transform: uppercase; }
.servicio__dato { font-size: 12.5px; color: #a9ada7; }
.servicio__dato b { font: 800 17px/1 'Barlow Condensed', var(--font); color: #f2f4ec; }
.servicio__barra { display: block; width: 70%; height: 4px; background: rgba(255, 255, 255, .12); }
.servicio__barra i { display: block; height: 100%; background: var(--c); box-shadow: 0 0 8px var(--c); }
.servicio__precio { font: 500 10.5px/1.2 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--c); }

/* Una sola factura: una franja como las de la portada, con los tres servicios */
.factura {
  position: relative; z-index: 2; display: flex; align-items: center; gap: 14px; margin: 26px auto 0; max-width: 560px; padding: 16px 22px;
  background: repeating-linear-gradient(-62deg, rgba(255, 255, 255, .03) 0 1.5px, transparent 1.5px 12px), #151a33;
  border: 1px solid var(--line-2);
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 16px 100%, 0 calc(100% - 16px));
}
.factura__iconos { display: flex; }
.factura__texto { display: grid; gap: 4px; margin-left: 6px; }
.factura__texto small { font: 500 10.5px/1.2 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); }
.factura__texto b { font: 700 18px/1 'Barlow Condensed', var(--font); letter-spacing: .02em; text-transform: uppercase; }
.factura__total { margin-left: auto; font: 800 34px/1 'Barlow Condensed', var(--font); letter-spacing: .01em; color: var(--brand); white-space: nowrap; }
.d { width: 7px; height: 7px; border-radius: 50%; background: var(--text-3); flex: none; display: inline-block; }
.d--gps { background: var(--gps); }
.d--nube { background: var(--nube); }
.d--rfid { background: var(--rfid); }
.bar { height: 4px; border-radius: 4px; background: rgba(var(--tint), .08); overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--nube); border-radius: 4px; }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; counter-reset: s; }
.step { padding: 32px 28px; border-radius: var(--radius-lg); border: 1px solid var(--line); background: rgba(var(--tint), .015); position: relative; overflow: hidden; }
.step::after { content: ""; position: absolute; left: 28px; right: 28px; top: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(var(--tint), .25), transparent); }
.step__n {
  display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px;
  font-family: var(--mono); font-size: 13px; font-weight: 500;
  color: var(--brand-ink); background: rgba(var(--brand-rgb), .14);
}
.step__art { margin: -12px -8px 10px; }
.step h3 { font-size: 21px; letter-spacing: -.02em; margin: 16px 0 10px; }
.step p { font-size: 15px; color: var(--text-2); }

/* Dark band with art behind (pricing, plans) */
.section.ink { background: radial-gradient(50% 70% at 100% 0%, rgba(var(--brand-rgb), .1), transparent 60%), var(--bg-2); }
.section--band { overflow: hidden; isolation: isolate; }
.band__art { position: absolute; inset: 0; z-index: -1; background-size: cover; background-position: center; opacity: .55; }
.band__art::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(var(--veil), .97) 0%, rgba(var(--veil), .8) 50%, rgba(var(--veil), .92) 100%),
    linear-gradient(180deg, rgba(var(--veil), 1) 0%, rgba(var(--veil), 0) 25%, rgba(var(--veil), 0) 75%, rgba(var(--veil), 1) 100%);
}
.section--band .plan { background: rgba(var(--glass-rgb), .6); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }

/* Pricing */
.pricing__controls { display: flex; justify-content: flex-start; align-items: center; gap: 16px 32px; flex-wrap: wrap; margin-bottom: 32px; }
.tabs { display: inline-flex; padding: 4px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(var(--tint), .02); }
.tabs button {
  display: inline-flex; align-items: center; gap: 8px;
  height: 38px; padding: 0 18px; border-radius: 999px; border: 0; background: transparent; cursor: pointer;
  font-size: 14px; color: var(--text-2); transition: background .2s, color .2s;
}
.tabs button i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); opacity: .5; transition: opacity .2s; }
.tabs button[aria-selected="true"] { background: rgba(var(--tint), .08); color: var(--text); }
.tabs button[aria-selected="true"] i { opacity: 1; box-shadow: 0 0 10px var(--accent); }
.billing { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; color: var(--text-3); }
.billing span.is-on { color: var(--text); }
.switch { width: 44px; height: 26px; border-radius: 999px; border: 0; background: rgba(var(--tint), .12); position: relative; cursor: pointer; transition: background .2s; padding: 0; }
.switch span { position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform .25s var(--ease); }
.switch[aria-checked="true"] { background: var(--gps); }
.switch[aria-checked="true"] span { transform: translateX(18px); }
.billing__save { font-family: var(--mono); font-size: 11px; padding: 3px 9px; border-radius: 999px; background: rgba(var(--gps-rgb), .12); color: var(--gps-ink); }

.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.plan {
  position: relative; display: flex; flex-direction: column;
  border-radius: var(--radius-lg); border: 1px solid var(--line); background: rgba(var(--tint), .015);
  padding: 28px; animation: planIn .45s var(--ease) both;
}
.plan:nth-child(2) { animation-delay: .05s; }
.plan:nth-child(3) { animation-delay: .1s; }
@keyframes planIn { from { opacity: 0; transform: translateY(10px); } }
.plan--featured, .section--band .plan--featured {
  border: 2px solid var(--accent); padding: 27px;
  background: linear-gradient(180deg, rgba(var(--accent-rgb), .14), rgba(var(--glass-rgb), .6) 60%);
  box-shadow: 0 30px 80px -40px rgba(var(--accent-rgb), .6);
}
/* "Más elegido" sits on top of the featured card like a tab. */
.plan__badge {
  position: absolute; top: -2px; left: 50%; transform: translate(-50%, -100%);
  padding: 5px 16px; border-radius: 10px 10px 0 0; white-space: nowrap;
  font-family: var(--mono); font-size: 11px; font-weight: 500; background: var(--accent); color: #12162e;
}
.plans { margin-top: 30px; }
.plan__name { font-size: 15px; font-weight: 500; }
.plan__desc { font-size: 14px; color: var(--text-3); margin-top: 4px; min-height: 44px; }
.plan__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; margin: 22px 0 4px; }
.plan__price small { font-size: 13px; color: var(--text-3); }
.plan__price b { font-size: 42px; font-weight: 700; letter-spacing: -.04em; line-height: 1; }
.plan__unit { font-size: 13px; color: var(--text-3); min-height: 20px; }
.plan__action { margin: 24px 0; }
.plan .btn { width: 100%; }
/* Before launch: the self-serve button waits, with a way to hear when it opens. */
.btn--soon { border: 1px dashed var(--line-3); background: rgba(var(--tint), .03); color: var(--text-3); cursor: not-allowed; }
.btn--soon:active { transform: none; }
.plan__notify { display: block; margin-top: 10px; text-align: center; font-size: 13px; font-weight: 500; color: var(--accent-ink); }
.plan__notify:hover { text-decoration: underline; text-underline-offset: 3px; }
.plan ul { list-style: none; margin: 0; padding: 20px 0 0; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.plan li { font-size: 14px; color: var(--text-2); padding-left: 24px; position: relative; }
.plan li::before {
  content: ""; position: absolute; left: 3px; top: 7px; width: 9px; height: 5px;
  border-left: 1.5px solid var(--accent); border-bottom: 1.5px solid var(--accent); transform: rotate(-45deg);
}
/* "Not open yet" notice above the prices. */
.sales-note {
  display: inline-flex; align-items: center; gap: 9px; margin-top: 18px; padding: 7px 14px; border-radius: 999px;
  font-size: 13px; color: var(--text); background: rgba(var(--crm-rgb), .12); border: 1px solid rgba(var(--crm-rgb), .35);
}
.sales-note[hidden] { display: none; }
.sales-note i { width: 7px; height: 7px; flex: none; border-radius: 50%; background: var(--crm); box-shadow: 0 0 8px var(--crm); }
.section__head--center .sales-note { margin-left: auto; margin-right: auto; }

/* Small notice for links to things that are not ready yet. */
.toast {
  position: fixed; left: 50%; top: 84px; z-index: 70; max-width: calc(100% - 32px);
  padding: 11px 16px; border-radius: 12px; font-size: 14px; color: #ffffff;
  background: rgba(33, 36, 37, .96); border: 1px solid rgba(255, 255, 255, .1);
  box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .6);
  opacity: 0; transform: translate(-50%, -8px); pointer-events: none;
  transition: opacity .2s, transform .25s var(--ease);
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }
.plans__note { text-align: left; font-size: 14px; color: var(--text-3); margin-top: 24px; }
.plan__save.is-empty { visibility: hidden; }
.plan__was { font-size: 16px; color: var(--text-3); text-decoration-thickness: 1.5px; }
.plan__save {
  align-self: flex-start; margin-top: 8px; padding: 3px 9px; border-radius: 999px;
  font-size: 12px; font-weight: 500; color: var(--accent-ink); background: rgba(var(--accent-rgb), .12);
}

/* Reassurance under the prices. */
.assure { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 28px; font-size: 14px; color: var(--text-2); }
.assure li { display: inline-flex; align-items: center; gap: 8px; }
.assure svg {
  width: 20px; height: 20px; padding: 4px; border-radius: 50%; flex: none; box-sizing: border-box;
  fill: none; stroke: var(--accent-ink); stroke-width: 2.8; stroke-linecap: round; stroke-linejoin: round;
  background: rgba(var(--accent-rgb), .16);
}

.enterprise {
  margin-top: 56px; padding: 36px; border-radius: var(--radius-lg);
  border: 1px solid var(--line-2);
  background:
    radial-gradient(60% 120% at 0% 0%, rgba(var(--gps-rgb), .08), transparent 60%),
    radial-gradient(50% 120% at 100% 100%, rgba(var(--rfid-rgb), .08), transparent 60%),
    var(--surface);
  display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) auto; gap: 32px 48px; align-items: center;
}
.enterprise h3 { font-size: 26px; letter-spacing: -.025em; margin: 12px 0 10px; line-height: 1.2; }
.enterprise p { font-size: 15px; color: var(--text-2); }
.enterprise__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.enterprise__list li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--text-2); }

/* FAQ */
.faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 72px; align-items: start; }
.faq__head { position: sticky; top: 110px; }
.faq__head p { color: var(--text-2); }
.faq__head a { color: var(--text); border-bottom: 1px solid var(--line-3); }
.faq__list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 40px 22px 0; position: relative;
  font-size: 17px; font-weight: 500; letter-spacing: -.01em; transition: color .2s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before, .faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 14px; height: 1.5px; background: var(--text-2);
  transition: transform .3s var(--ease);
}
.faq summary::after { transform: rotate(90deg); }
.faq details[open] summary::after { transform: rotate(0); }
.faq summary:hover { color: #fff; }
.faq details p { padding: 0 40px 24px 0; color: var(--text-2); font-size: 15px; }

/* CTA */
.cta { padding: 40px 0 128px; }
.cta__inner {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr) auto; align-items: center; gap: 24px 40px;
  min-height: 240px; padding-right: 40px; border-radius: 24px; border: 1px solid var(--line-2); text-align: left;
  background: radial-gradient(60% 120% at 100% 50%, rgba(var(--brand-rgb), .18), transparent 60%), var(--surface);
}
.cta__art {
  align-self: stretch; min-height: 240px; background-size: cover; background-position: center;
  -webkit-mask-image: linear-gradient(90deg, #000 50%, transparent); mask-image: linear-gradient(90deg, #000 50%, transparent);
}
.cta__text { padding: 36px 0; }
.cta h2 { font-size: clamp(28px, 3.2vw, 42px); font-weight: 700; letter-spacing: -.035em; line-height: 1.1; max-width: 18ch; margin: 14px 0 10px; }
.cta p { color: var(--text-2); font-size: 16px; }
.cta__actions { display: flex; flex-direction: column; gap: 10px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; position: relative; }
.hero__ctas--center { justify-content: center; }

/* Footer */
/* Footer: a single line. */
.footer { border-top: 1px solid var(--line); padding: 20px 0; background: var(--nav-bg); }
.footer__inner { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 24px; }
.footer .brand__mark { width: 24px; height: 24px; }
.footer .brand__word { font-size: 16px; }
.footer__copy { font-size: 13px; color: var(--text-3); }
.footer__links { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-left: auto; }
.footer__links a { font-size: 13px; color: var(--text-2); transition: color .2s; }
.footer__links a:hover { color: var(--text); }

/* Reveal */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.catalog .reveal:nth-child(2), .steps .reveal:nth-child(2) { transition-delay: .08s; }
.catalog .reveal:nth-child(3), .steps .reveal:nth-child(3) { transition-delay: .16s; }
.catalog .reveal:nth-child(4) { transition-delay: .24s; }

/* Responsive */
/* Legal pages: terms and privacy. */
.legal-hero { padding-top: 132px; padding-bottom: 36px; }
.legal-switch { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; border: 1px solid var(--line-2); }
.legal-switch a { padding: 7px 14px; border-radius: 999px; font-size: 13px; color: var(--text-2); transition: background .2s, color .2s; }
.legal-switch a:hover { color: var(--text); }
.legal-switch a[aria-current="page"] { background: rgba(var(--tint), .08); color: var(--text); }
.legal-hero h1 { font-size: clamp(36px, 5vw, 56px); font-weight: 700; letter-spacing: -.035em; line-height: 1.05; margin: 22px 0 14px; }
.legal-hero p { font-size: 18px; color: var(--text-2); max-width: 620px; }
.legal-meta { margin-top: 18px; font-family: var(--mono); font-size: 12px; letter-spacing: .04em; color: var(--text-3); }
.legal-kicker { font-family: var(--mono); font-size: 11px; font-weight: 400; letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); margin-bottom: 14px; }
.legal-summary { list-style: none; padding: 0; margin: 0 0 64px; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.legal-summary li { padding: 20px; border-radius: 16px; border: 1px solid var(--line); background: var(--surface); }
.legal-summary svg {
  width: 30px; height: 30px; padding: 7px; border-radius: 50%; box-sizing: border-box;
  fill: none; stroke: var(--brand-ink); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; background: rgba(var(--brand-rgb), .14);
}
.legal-summary b { display: block; margin: 14px 0 4px; font-size: 15px; font-weight: 600; color: var(--text); }
.legal-summary span { font-size: 14px; line-height: 1.5; color: var(--text-2); }
.legal-body { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 64px; padding-bottom: 120px; }
.legal-toc { position: sticky; top: 100px; align-self: start; }
.legal-toc b { display: block; margin-bottom: 12px; font-family: var(--mono); font-size: 11px; font-weight: 400; letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); }
.legal-toc ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line); }
.legal-toc a { display: block; margin-left: -1px; padding: 6px 0 6px 14px; border-left: 2px solid transparent; font-size: 13.5px; line-height: 1.35; color: var(--text-3); transition: color .2s, border-color .2s; }
.legal-toc a:hover { color: var(--text); }
.legal-toc a.is-on { color: var(--text); border-left-color: var(--brand); }
.legal-doc { max-width: 720px; }
.legal-doc section { padding-bottom: 36px; margin-bottom: 36px; border-bottom: 1px solid var(--line); scroll-margin-top: 96px; }
.legal-doc h2 { display: flex; align-items: baseline; gap: 12px; margin-bottom: 14px; font-size: 22px; font-weight: 600; letter-spacing: -.02em; }
.legal-doc h2 span { font-family: var(--mono); font-size: 13px; font-weight: 400; color: var(--brand-ink); }
.legal-doc p, .legal-doc li { font-size: 15.5px; line-height: 1.7; color: var(--text-2); }
.legal-doc p + p, .legal-doc ul + p, .legal-doc p + ul { margin-top: 12px; }
.legal-doc ul { margin: 0; padding-left: 20px; display: grid; gap: 8px; }
.legal-doc strong { font-weight: 600; color: var(--text); }
.legal-doc a { color: var(--brand-ink); text-decoration: underline; text-underline-offset: 3px; }
.legal-doc .legal-note { padding: 14px 16px; border-radius: 12px; font-size: 14.5px; color: var(--text); background: rgba(var(--brand-rgb), .08); border: 1px solid rgba(var(--brand-rgb), .25); }
.legal-contact {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding: 22px 24px; border-radius: 18px; border: 1px solid var(--line); background: var(--surface);
}
.legal-contact b { display: block; font-size: 16px; font-weight: 600; }
.legal-contact span { font-size: 14px; color: var(--text-2); }
.legal-doc .legal-contact a { color: var(--btn-fg); text-decoration: none; }
.legal-other { margin-top: 20px; }
@media (max-width: 900px) {
  .legal-hero { padding-top: 112px; }
  .legal-body { grid-template-columns: 1fr; gap: 0; }
  .legal-toc { display: none; }
}

/* 404: what Amplify serves at any address that does not exist. */
.nf { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: 120px 0 80px; }
.nf__inner { width: 100%; }
.nf__code { font-family: 'Unbounded', var(--font); font-weight: 700; font-size: clamp(88px, 16vw, 184px); line-height: .9; letter-spacing: -.04em; color: var(--brand-ink); margin-bottom: 22px; }
.nf h1 { font-size: clamp(32px, 4.4vw, 52px); font-weight: 700; letter-spacing: -.035em; line-height: 1.05; margin-bottom: 14px; }
.nf__lead { font-size: 18px; line-height: 1.55; color: var(--text-2); max-width: 560px; }
.nf__cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 44px; }
.nf__prods { display: flex; flex-wrap: wrap; gap: 8px; max-width: 760px; }
.nf__prod {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px;
  border: 1px solid var(--line-2); font-size: 14px; color: var(--text-2); transition: color .2s, border-color .2s, background .2s;
}
.nf__prod i { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.nf__prod:hover { color: var(--text); border-color: rgba(var(--accent-rgb), .55); background: rgba(var(--accent-rgb), .08); }
@media (max-width: 560px) {
  .nf { padding: 104px 0 56px; }
  .nf__cta .btn { flex: 1 1 100%; }
}

/* Buy bar: the main action follows you once the showcase scrolls away. */
.buybar {
  position: fixed; left: 50%; bottom: 18px; z-index: 40; width: min(620px, calc(100% - 24px));
  transform: translate(-50%, calc(100% + 40px)); visibility: hidden;
  transition: transform .45s var(--ease), visibility 0s linear .45s;
}
.buybar.is-on { transform: translate(-50%, 0); visibility: visible; transition: transform .45s var(--ease); }
.buybar__inner {
  /* Charcoal in both themes, like the nav. */
  --text: #ffffff; --text-2: #c7ced1; --text-3: #8f9ca3; --tint: 255, 255, 255;
  display: flex; align-items: center; gap: 12px; padding: 10px 10px 10px 12px; border-radius: 18px;
  background: rgba(33, 36, 37, .94); border: 1px solid rgba(255, 255, 255, .08); color: var(--text);
  -webkit-backdrop-filter: blur(16px) saturate(1.3); backdrop-filter: blur(16px) saturate(1.3);
  box-shadow: 0 24px 50px -18px rgba(0, 0, 0, .65);
}
.buybar__text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; line-height: 1.25; }
.buybar__text > b { font-size: 14px; font-weight: 600; }
.buybar__text small { font-size: 12px; color: var(--text-3); }
.buybar__text small b { color: var(--text); font-weight: 500; }
.buybar__text > b, .buybar__text small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.buybar .btn { flex: none; }
.buybar--mobile { display: none; }
@media (max-width: 900px) {
  .trust__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust__list li { padding: 18px 14px; gap: 12px; }
  .trust__list svg { width: 34px; height: 34px; padding: 8px; border-radius: 10px; }
  .trust__list b { font-size: 14px; }
  .trust__list li:nth-child(odd) { padding-left: 0; border-left: 0; }
  .trust__list li:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .buybar--mobile { display: block; }
  /* Room on the right for the floating WhatsApp and chat buttons. */
  .buybar {
    left: 12px; right: calc(var(--float-w, 0px) + 12px); width: auto;
    bottom: max(12px, env(safe-area-inset-bottom)); transform: translateY(calc(100% + 40px));
  }
  .buybar.is-on { transform: none; }
}
body.has-wa { --float-w: 68px; }   /* 20px margin + the 48px WhatsApp button */
body.has-chat { --float-w: 78px; } /* 20px margin + the CRM chat's 58px button */

/* WhatsApp: the same floating button as rukian.com, in WhatsApp's own green
   (people spot it by its color). With the CRM chat on the page it sits on top
   of the chat's button, centered on it. */
.wa {
  position: fixed; right: 20px; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); z-index: 45;
  display: flex; align-items: center; gap: 10px; pointer-events: none;
  opacity: 0; transform: translateY(16px) scale(.6); transition: opacity .3s, transform .45s var(--ease);
}
.wa.is-in { opacity: 1; transform: none; }
body.has-chat .wa { right: 25px; bottom: calc(90px + env(safe-area-inset-bottom, 0px)); }
.wa__fab {
  width: 48px; height: 48px; flex: none; border-radius: 50%; display: grid; place-items: center; color: #ffffff;
  background: linear-gradient(145deg, #25d366, #1da851);
  box-shadow: 0 6px 20px rgba(37, 211, 102, .42), 0 2px 6px rgba(0, 0, 0, .3);
  transition: transform .2s var(--ease);
}
.wa.is-in .wa__fab { pointer-events: auto; }
.wa:hover .wa__fab { transform: scale(1.07); }
.wa:active .wa__fab { transform: scale(.93); }
.wa__fab svg { width: 24px; height: 24px; fill: currentColor; }
.wa.is-away { opacity: 0; transform: translateY(16px) scale(.6); }
.wa.is-away .wa__fab { pointer-events: none; }
.wa__tip {
  padding: 8px 13px; border-radius: 12px; font-size: 13px; font-weight: 500; line-height: 1.3; white-space: nowrap;
  color: #fafafa; background: rgba(20, 20, 20, .92); border: 1px solid #2a2a2a; box-shadow: 0 8px 28px rgba(0, 0, 0, .55);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  opacity: 0; transform: translateX(12px) scale(.94); transition: opacity .22s, transform .22s;
}
:root[data-theme="light"] .wa__tip { color: #0a0a0a; background: rgba(255, 255, 255, .95); border-color: #e5e5e5; box-shadow: 0 8px 28px rgba(0, 0, 0, .12); }
.wa.is-hint .wa__tip { opacity: 1; transform: none; pointer-events: auto; }
@media (hover: hover) and (pointer: fine) {
  .wa:hover .wa__tip, .wa:focus-visible .wa__tip { opacity: 1; transform: none; }
}
/* Out of the way while walking the 3D scene. */
body:has(.hero.is-walking) :is(.wa, [data-chat-crm]) { display: none; }
@media (prefers-reduced-motion: reduce) { .wa, .wa__tip, .wa__fab { transition: none; } }
@media (prefers-reduced-motion: reduce) { .buybar, .buybar.is-on { transition: none; } }

@media (max-width: 1100px) {
  .feats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .picker { grid-auto-columns: 176px; overflow-x: auto; margin: 0 calc(var(--gutter) * -1); padding: 2px var(--gutter); scroll-padding: 0 var(--gutter); }
  .slide__cover { right: 4vw; height: min(46vh, 440px); }
  .catalog { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .catalog--row .tile:nth-child(4) { display: none; }
  .feature__grid, .feature--reverse .feature__grid, .account, .faq { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .feature--reverse .feature__text { order: 0; }
  .faq__head { position: static; }
  .enterprise { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .enterprise .btn { grid-column: 1 / -1; justify-self: start; }
}

@media (max-width: 900px) {
  .nav__links {
    position: fixed; top: var(--nav-h); left: 0; right: 0;
    flex-direction: column; gap: 0; padding: 8px var(--gutter) 20px;
    background: var(--nav-bg); border-bottom: 1px solid var(--line);
    box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .7);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .25s, transform .25s var(--ease), visibility .25s;
  }
  .nav__links.is-open { opacity: 1; transform: none; visibility: visible; }
  /* Con la barra en píldora, el menú también flota redondeado bajo ella */
  /* (la barra bajó 10 px con transform, así que aquí «fixed» se mide desde ella) */
  .nav.is-scrolled .nav__links { top: calc(var(--nav-h) + 8px); left: 4px; right: 4px; border: 1px solid var(--line-2); border-radius: 22px; }
  .nav__links a, .nav__menu-btn { padding: 14px 0; border-radius: 0; border-bottom: 1px solid var(--line); font-size: 16px; }
  .nav__menu-btn { justify-content: space-between; text-align: left; color: var(--text-2); }
  .nav__menu-btn svg { transform: rotate(-90deg); }
  .mega { display: none; }
  .nav__links a:hover { background: transparent; }
  /* En el menú de celular (una columna) basta el enlace en verde */
  .nav__marca { display: none; }
  .nav__links a.is-aqui { color: var(--brand); }
  /* Ingresar sigue en la barra como botón: no se repite en el menú */
  .nav__toggle { display: block; }
  .steps, .plans { grid-template-columns: minmax(0, 1fr); }
  .slide__shade {
    background:
      linear-gradient(0deg, rgba(var(--veil), 1) 0%, rgba(var(--veil), .88) 38%, rgba(var(--veil), .2) 64%, rgba(var(--veil), 0) 80%),
      linear-gradient(180deg, rgba(var(--veil), .6) 0%, rgba(var(--veil), 0) 18%);
  }
  .plans { max-width: 480px; margin: 0 auto; }
  .calc__body { grid-template-columns: minmax(0, 1fr); }
  .section { padding: 96px 0; }
}

@media (max-width: 640px) {
  :root { --gutter: 16px; }
  .hero { height: 100svh; min-height: 720px; max-height: 900px; }
  .slide__content { bottom: 112px; }
  .slide__title { margin: 14px 0 10px; font-size: 36px; }
  .slide__lead { font-size: 15px; }
  .slide__eyebrow { font-size: 10.5px; margin-bottom: 12px; }
  .slide__feats, .slide__tag { display: none; }
  .slide__ctas { margin-top: 20px; gap: 10px; }
  .slide__ctas .btn { flex: 1; height: 48px; padding: 0 16px; font-size: 15px; }
  .plogo--xl .plogo__icon { width: 44px; height: 44px; border-radius: 13px; }
  .plogo--xl .plogo__icon svg { width: 24px; height: 24px; }
  .plogo--xl .plogo__text b { font-size: min(30px, calc((100cqi - 70px) / (var(--len, 4) * .9))); }
  .picker-wrap { bottom: 16px; }
  .hero__ctrl { margin-bottom: 8px; }
  .ctrl--step { display: none; }
  .ctrl { width: 30px; height: 30px; }
  .slide__content { bottom: 172px; }
  .hero--product { height: auto; min-height: 100svh; max-height: none; }
  .hero--product .slide__content { bottom: 40px; }
  .feats { grid-template-columns: minmax(0, 1fr); }
  .feat h3 { margin-top: 20px; }
  .notify { padding: 26px; }
  .notify .btn { width: 100%; }
  .prow { grid-template-columns: 32px minmax(0, 1fr) auto; gap: 4px 14px; }
  .prow__status { display: none; }
  .prow__price { grid-column: 2; grid-row: 2; font-size: 13px; }
  .prow__cta { grid-column: 3; grid-row: 1 / span 2; }
  .prow .plogo__icon { grid-row: 1 / span 2; }
  .picker { gap: 8px; grid-auto-columns: 100px; }
  .pick { flex-direction: column; gap: 6px; padding: 10px 6px; text-align: center; border-radius: 14px; }
  .slide__cover { top: 82px; right: auto; left: 50%; height: min(25svh, 220px); transform: translateX(-50%) perspective(1000px) rotateX(5deg); }
  .slide.is-active .slide__cover { animation: none; }
  .explore { top: 80px; right: var(--gutter); padding: 6px; }
  .explore small, .explore b { display: none; }
  .walk__title { display: none; }
  .walk__speed { height: 36px; }
  .walk__exit { height: 36px; }
  .slide__status { margin-bottom: 12px; font-size: 11px; }
  .pick .plogo__icon--sm { width: 32px; height: 32px; border-radius: 10px; }
  .pick .plogo__icon--sm svg { width: 17px; height: 17px; }
  .pick__text b { font-size: 12px; }
  .pick__text small { display: none; }
  .section--catalog { padding-top: 64px; }
  .catalog { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .catalog--row .tile:nth-child(4) { display: flex; }
  .tile__body { padding: 30px 14px 14px; }
  .tile__icon { width: 44px; height: 44px; top: -22px; left: 12px; border-radius: 13px; --gi-ring: 0 0 0 3px var(--surface); }
  .tile__icon svg { width: 22px; height: 22px; }
  .tile__name { font-size: 15px; }
  .tile__desc { font-size: 13px; }
  .tile__meta { font-size: 12px; }
  .tile__site { display: none; }
  .cta__inner { grid-template-columns: minmax(0, 1fr); padding: 0 22px 26px; gap: 8px; }
  .cta__art { min-height: 150px; margin: 0 -22px; -webkit-mask-image: linear-gradient(180deg, #000 45%, transparent); mask-image: linear-gradient(180deg, #000 45%, transparent); }
  .cta__text { padding: 0; }
  .cta__actions { flex-direction: row; flex-wrap: wrap; }
  .filters { flex-wrap: nowrap; overflow-x: auto; margin: 0 calc(var(--gutter) * -1) 22px; padding: 0 var(--gutter); scrollbar-width: none; }
  .filters::-webkit-scrollbar { display: none; }
  .filter { flex: none; }
  .section { padding: 80px 0; }
  .section__head { margin-bottom: 40px; }
  .calc { padding: 22px; }
  .calc__fields { grid-template-columns: minmax(0, 1fr); }
  .gpsapp { aspect-ratio: auto; }
  .gpsmap { aspect-ratio: 640 / 420; height: auto; }
  .gpsapp__live, .gpsapp__trips { position: static; width: auto; margin: 10px; }
  .gpsapp__live { margin-bottom: 0; }
  .viewer { aspect-ratio: 4 / 5; }
  .viewer__layers { display: none; }
  .rfidapp__floor { grid-template-columns: 34px minmax(0, 1fr) 34px; gap: 6px; }
  .racks { gap: 6px; }
  .rack { padding: 6px; }
  .rfidapp__stats div { padding: 10px; }
  .rfidapp__stats span { font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .rfidapp__stats b { font-size: 14px; white-space: nowrap; }
  .rfidapp__feed li { grid-template-columns: 40px minmax(0, 1fr); row-gap: 2px; }
  .rfidapp__feed li em { grid-column: 2; }
  .rfidapp__feed li b { white-space: nowrap; }
  .enterprise { grid-template-columns: minmax(0, 1fr); padding: 26px; }
  .footer__links { margin-left: 0; width: 100%; gap: 8px 16px; }
  .tabs button { padding: 0 14px; }
  .window__bar b { font-size: 11px; }
}

@media (max-height: 820px) and (min-width: 641px) {
  .slide__content { top: 84px; bottom: 172px; }
  .hero--product .slide__content { bottom: 48px; }
  .picker-wrap { bottom: 18px; }
  .hero__ctrl { margin-bottom: 8px; }
  .slide__status { margin-bottom: 10px; }
  .crumbs { margin-bottom: 12px; }
  .plogo--xl .plogo__icon { width: 46px; height: 46px; border-radius: 14px; }
  .plogo--xl .plogo__icon svg { width: 24px; height: 24px; }
  .plogo--xl .plogo__text b { font-size: min(clamp(26px, 4.6vh, 38px), calc((100cqi - 80px) / (var(--len, 4) * .9))); }
  .slide__eyebrow { margin-bottom: 12px; }
  .slide__title { font-size: clamp(32px, 7.4vh, 64px); margin: 14px 0 10px; }
  .slide__lead { font-size: 16px; line-height: 1.5; }
  .slide__feats { display: none; }
  .slide__tag { bottom: 200px; }
  .slide__ctas { margin-top: 18px; }
  .slide__ctas .btn--lg { height: 48px; padding: 0 24px; font-size: 15px; }
  .explore { top: 84px; }
}

@media (max-height: 680px) and (min-width: 641px) {
  .slide__lead { display: none; }
}

@media (max-width: 480px) {
  .nav__actions .btn--sm:not(.nav__login) { display: none; }
}

/* --- Intro de la portada ------------------------------------------------------------
   El blanco de la ficha con «RUKIANLAB» al centro y una línea de carga; home.js la saca
   haciendo volar «RUKIAN» a su lugar en el título. Si el código no llega, igual se va sola. */
.intro {
  position: fixed; inset: 0; z-index: 200; display: grid; place-content: center; justify-items: center; gap: 26px; pointer-events: none;
  background: #e9ebe5; color: #12162e;
  transition: background-color .45s ease .4s, opacity .3s ease;
  animation: introFuera .3s ease 4.5s forwards;
}
.intro__marca { display: flex; align-items: baseline; font: 800 clamp(72px, 13vw, 210px)/.84 'Barlow Condensed', var(--font); letter-spacing: -.005em; text-transform: uppercase; }
.intro__rukian { display: block; transform-origin: 0 0; transition: transform .85s cubic-bezier(.75, 0, .2, 1); }
.intro__lab { color: var(--brand); transition: opacity .35s ease, transform .5s var(--ease); }
.intro__carga { width: min(240px, 50vw); height: 3px; overflow: hidden; background: rgba(18, 22, 46, .12); transition: opacity .2s; }
.intro__carga i { display: block; width: 0; height: 100%; background: var(--brand); animation: introCarga 2s cubic-bezier(.2, .7, .2, 1) forwards; }
.intro.is-saliendo { background-color: rgba(233, 235, 229, 0); }
.intro.is-saliendo .intro__lab { opacity: 0; transform: translateX(40px); }
.intro.is-saliendo .intro__carga { opacity: 0; }
.intro.is-fuera { opacity: 0; }
@keyframes introCarga { to { width: 100%; } }
@keyframes introFuera { to { opacity: 0; visibility: hidden; } }
@media (prefers-reduced-motion: reduce) { .intro { display: none; } }

/* --- Inicio: la ficha de cada producto -------------------------------------------
   Como la ficha de un personaje: arriba, en blanco, el nombre, qué hace y el botón;
   la ilustración cruza la diagonal hacia la parte negra, donde van sus funciones.
   Es blanca y negra en los dos temas. Las fichas se apilan en la misma celda para
   cambiar con un fundido sin alto fijo. */
.hero--ficha {
  --diag: clamp(48px, min(6.5vw, 9vh), 96px); /* lo que baja la diagonal de izquierda a derecha */
  --tinta: #12162e; --hueso: #e9ebe5; --negro: #0c1024;
  /* Lo negro: la ciudad de la cuenta (la pinta home.js en --ciudad) bajo un velo y rayas finas.
     Fija a la pantalla, así la ficha y la fila de productos calzan sin costura. */
  --ciudad: none;
  --fondo-negro:
    repeating-linear-gradient(-62deg, rgba(255, 255, 255, .03) 0 1.5px, transparent 1.5px 12px) fixed,
    linear-gradient(rgba(12, 16, 36, .9), rgba(12, 16, 36, .9)) fixed,
    var(--ciudad) center / cover no-repeat fixed,
    var(--negro);
  height: auto; min-height: 0; max-height: none; background: var(--fondo-negro);
}
.hero--ficha .slides { position: relative; display: grid; }
/* Todas miden lo mismo (comparten celda) y home.js iguala su parte negra: la diagonal no salta */
.hero--ficha .slide { position: relative; inset: auto; grid-area: 1 / 1; overflow: hidden; }
.hero--ficha .ficha {
  display: flex; flex-direction: column;
  /* El blanco no llega al borde de abajo (ahí siempre está lo negro): sin filo claro entre fichas */
  background:
    repeating-linear-gradient(-62deg, rgba(22, 23, 24, .035) 0 1px, transparent 1px 14px) top / 100% calc(100% - 60px) no-repeat,
    linear-gradient(var(--hueso), var(--hueso)) top / 100% calc(100% - 60px) no-repeat;
  color: var(--tinta);
}
/* El nombre gigante de fondo, solo el borde */
.hero--ficha .ficha::before {
  content: attr(data-eco); position: absolute; top: 56px; right: -.04em; pointer-events: none; white-space: nowrap;
  font: 800 clamp(180px, 26vw, 420px)/.8 'Barlow Condensed', var(--font); text-transform: uppercase;
  color: transparent; -webkit-text-stroke: 2px rgba(22, 23, 24, .06);
}

.ficha__claro { position: relative; flex: 1; display: flex; padding: calc(var(--nav-h) + clamp(22px, 4vh, 48px)) 0 calc(var(--diag) + 20px); }
.ficha__texto { position: relative; z-index: 2; }
.ficha__texto > * { max-width: 500px; }
.ficha__kicker { margin: 0 0 14px; font: 500 12px/1.4 var(--mono); letter-spacing: .4em; text-transform: uppercase; color: #6d726e; }
.ficha__titulo { display: flex; align-items: stretch; gap: 14px; max-width: none; }
.ficha__num {
  writing-mode: vertical-rl; text-orientation: upright; flex: none; display: grid; place-items: center;
  padding: 6px 3px; font: 500 10.5px/1 var(--mono); letter-spacing: .2em; color: var(--tinta);
  border-left: 4px solid var(--tinta); border-right: 1.5px solid var(--tinta);
}
.ficha__nombre {
  margin: 0; display: grid; font: 800 clamp(52px, min(6vw, 10vh), 98px)/.84 'Barlow Condensed', var(--font);
  letter-spacing: -.005em; text-transform: uppercase; color: var(--tinta);
}
.ficha__frase { margin: 18px 0 0; font-weight: 700; font-size: 19px; line-height: 1.3; }
.ficha__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 22px; max-width: 560px; }
/* Pantallas bajas: las funciones sin su texto, para que se vean todos los productos sin bajar */
@media (max-height: 820px) and (min-width: 761px) {
  .ficha__funciones p { display: none; }
  .ficha__funciones li { align-items: center; }
  .ficha__funciones b { align-self: center; }
  .ficha__funciones li .insignia { grid-row: auto; }
  .ficha__h { margin-bottom: 16px; }
  .hero--ficha .ficha__nombre { font-size: clamp(48px, min(6vw, 9vh), 98px); }
  .ficha__claro { padding-top: calc(var(--nav-h) + 20px); }
  .ficha__frase { margin-top: 12px; }
  .ficha__ctas { margin-top: 16px; }
  .ficha__oscuro { padding-bottom: 16px; }
  .hero--ficha .picker-wrap { padding-bottom: 12px; }
}
.ficha__btn {
  display: inline-flex; align-items: center; justify-content: center; min-width: min(340px, 100%); height: 56px; padding: 0 30px;
  border-radius: 999px; background: var(--tinta); color: #fff; font-weight: 600; font-size: 17px;
  transition: transform .25s var(--ease), box-shadow .25s;
}
.ficha__btn:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -16px rgba(0, 0, 0, .7); }
.ficha__ver { font-weight: 600; font-size: 15px; color: var(--tinta); padding-bottom: 3px; border-bottom: 2px solid var(--accent); }
.ficha__ver span { display: inline-block; transition: transform .2s; }
.ficha__ver:hover span { transform: translateX(4px); }

/* Las escenas 3D en vivo (GPS, RFID, Nubes), a la derecha, desde arriba hasta la línea. Van
   de día, sin fondo propio (se ven las rayas y el nombre de la ficha detrás) y con niebla del
   blanco hueso, así se funden con la parte blanca; el borde izquierdo se desvanece. Lo negro
   de abajo las tapa en su diagonal. */
.ficha__escena {
  position: absolute; top: 0; bottom: 0; right: 0; left: calc(max(var(--gutter), (100% - var(--container)) / 2) + 520px);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 16%); mask-image: linear-gradient(to right, transparent, #000 16%);
}
.ficha__escena .slide__art { position: absolute; inset: 0; width: 100%; height: 100%; display: block; background: none; }
.ficha__escena .slide__labels { z-index: 1; }
/* Sin manchas de color: solo la portada flotando sobre la página (sin resplandor ni fondo difuminado) */
.ficha__escena--portada .slide__ambient { display: none; }
.ficha__escena .slide__cover { top: 54%; right: max(calc(var(--gutter) + 20px), (100vw - var(--container)) / 2 + 40px); height: min(76%, 520px); box-shadow: 0 50px 90px -40px rgba(12, 16, 36, .55); }

/* Al abrir la página no hay entrada animada: la primera ficha está quieta desde el principio */
.hero--ficha.de-entrada .slide.is-active .ficha__texto > * { animation: none; }
/* Mientras llega el código, el mismo blanco y negro: sin un hueco que después salta */
.hero--ficha .slides:empty { min-height: max(calc(100svh - 130px), 560px); background: linear-gradient(176deg, var(--hueso) 0 62%, transparent 62.2%); }
.slide.is-active .ficha__texto > * { animation: rise .9s var(--ease) both; }
.slide.is-active .ficha__texto > :nth-child(2) { animation-delay: .06s; }
.slide.is-active .ficha__texto > :nth-child(3) { animation-delay: .12s; }
.slide.is-active .ficha__texto > :nth-child(4) { animation-delay: .18s; }
.slide.is-active .ficha__texto > :nth-child(n+5) { animation-delay: .24s; }

/* Abajo, en negro: lo que hace */
.ficha__oscuro {
  position: relative; z-index: 1; overflow: hidden; color: #f2f4ec;
  margin-top: calc(-1 * var(--diag)); padding: calc(var(--diag) * .4 + 8px) 0 24px;
  background: var(--fondo-negro);
  clip-path: polygon(0 0, 100% var(--diag), 100% 100%, 0 100%);
}
.ficha__oscuro::after {
  content: attr(data-eco); position: absolute; z-index: -1; right: -.03em; bottom: -.2em; pointer-events: none; white-space: nowrap;
  font: 800 clamp(140px, 19vw, 300px)/.8 'Barlow Condensed', var(--font); text-transform: uppercase;
  color: transparent; -webkit-text-stroke: 2px rgba(242, 244, 236, .05);
}
.ficha__h {
  display: flex; align-items: center; gap: 14px; margin: 0 0 22px;
  font: 800 clamp(28px, 2.8vw, 40px)/1 'Barlow Condensed', var(--font); letter-spacing: .02em; text-transform: uppercase;
}
.ficha__h i { width: 34px; height: 32px; background: repeating-linear-gradient(115deg, var(--accent) 0 4px, transparent 4px 9px); }
.ficha__funciones { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; margin: 0; padding: 0; list-style: none; }
.ficha__funciones li { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: start; gap: 6px 16px; }
.ficha__funciones li .insignia { grid-row: span 2; margin-top: 2px; }
.ficha__funciones b { align-self: end; font: 700 21px/1.05 'Barlow Condensed', var(--font); letter-spacing: .02em; text-transform: uppercase; }
.ficha__funciones p { margin: 0; font-size: 13.5px; line-height: 1.5; color: #a9ada7; }

/* El ícono de la cuenta (insignia; «caja» ya es el recuadro de ingresar): cuadro con borde del color del producto, brillo y chispas */
.insignia {
  position: relative; flex: none; display: grid; place-items: center; width: 58px; height: 58px;
  border: 2.5px solid var(--accent); background: rgba(0, 0, 0, .45); color: var(--accent);
  box-shadow: 0 0 22px -6px var(--accent);
}
.insignia > svg:first-child { width: 28px; height: 28px; filter: drop-shadow(0 0 5px rgba(var(--accent-rgb), .55)); }
.insignia__chispas { position: absolute; top: -13px; right: -15px; width: 27px; height: 23px; color: var(--accent); }
.insignia--sm { width: 46px; height: 46px; border-width: 2px; }
.insignia--sm > svg:first-child { width: 22px; height: 22px; }
.insignia--sm .insignia__chispas { top: -11px; right: -13px; width: 22px; height: 19px; }
.insignia--xs { width: 32px; height: 32px; border-width: 2px; box-shadow: 0 0 14px -5px var(--accent); }
.insignia--xs > svg:first-child { width: 16px; height: 16px; }
.insignia--xs .insignia__chispas { top: -9px; right: -10px; width: 16px; height: 14px; }
.insignia--redonda { width: 64px; height: 64px; border-radius: 50%; }
.insignia--redonda .insignia__chispas { display: none; }

/* --- Nuestros productos: las tres áreas ------------------------------------------------
   Oscura en los dos temas. Primero un estandarte por área (como los de la cuenta, con las
   portadas de sus productos en abanico); al tocarlo, su panel: las áreas a la izquierda, el
   producto al centro con su arte y la tira con los demás productos del área. */
/* La sección va en blanco hueso (tramo-hueso); los estandartes y el panel abierto, oscuros */
.section--areas :is(.area, .areas__panel) {
  --text: #eef1f2; --text-2: #b3bcc1; --text-3: #8f9ca3; --tint: 255, 255, 255;
  --line: rgba(255, 255, 255, .08); --line-2: rgba(255, 255, 255, .14); --line-3: rgba(255, 255, 255, .26);
  --glass-rgb: 22, 27, 56; --veil: 12, 16, 36; --brand-ink: var(--brand);
  --gps-ink: var(--gps); --rfid-ink: var(--rfid); --nube-ink: var(--nube); --geo-ink: var(--geo);
  --crm-ink: var(--crm); --edu-ink: var(--edu); --obra-ink: var(--obra); --tech-ink: var(--tech);
  color-scheme: dark;
}
.section--areas .areas__panel { color: var(--text); }
.areas__portada { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.areas__portada[hidden], .areas__detalle[hidden], .areas__panel[hidden] { display: none; }

.area {
  --c: var(--accent);
  position: relative; isolation: isolate; overflow: hidden; display: block; width: 100%; min-height: 560px; padding: 0;
  border: 0; cursor: pointer; text-align: center; color: #f2f4ec; font: inherit; background: #c9ccc8;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 38px), 50% 100%, 0 calc(100% - 38px));
  transition: transform .35s var(--ease);
}
.area:hover, .area:focus-visible { transform: translateY(-6px); outline: none; }
.area:focus-visible .area__ver { outline: 2px solid var(--c); outline-offset: 3px; }
.area__rayas {
  position: absolute; inset: 0; z-index: -2;
  background: repeating-linear-gradient(-62deg, rgba(255, 255, 255, .38) 0 1.5px, transparent 1.5px 7px, rgba(0, 0, 0, .06) 7px 8.5px, transparent 8.5px 19px), var(--c);
}
/* Las portadas de los productos del área, en abanico; se abren al pasar */
.area__abanico { position: absolute; z-index: -1; left: 0; right: 0; top: 46px; height: 50%; }
.area__carta {
  position: absolute; left: 28%; top: 0; width: 44%; aspect-ratio: 3 / 4; overflow: hidden;
  border-radius: 10px; border: 2px solid rgba(255, 255, 255, .9); box-shadow: 0 20px 34px -14px rgba(0, 0, 0, .6);
  transform: translateX(calc(var(--k) * 48%)) rotate(calc(var(--k) * 9deg)); transform-origin: 50% 130%;
  transition: transform .5s var(--ease);
}
.area:hover .area__carta, .area:focus-visible .area__carta { transform: translateX(calc(var(--k) * 66%)) rotate(calc(var(--k) * 13deg)) translateY(-8px); }
.area__oscuro {
  position: absolute; inset: 0; z-index: 1; clip-path: polygon(0 62%, 100% 46%, 100% 100%, 0 100%);
  background: repeating-linear-gradient(-62deg, rgba(255, 255, 255, .03) 0 1.5px, transparent 1.5px 12px), #151a33;
}
.area__punta { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; width: 100%; height: 38px; color: var(--c); overflow: visible; }
.area__top {
  position: absolute; z-index: 2; top: 14px; left: 14px; right: 14px; display: flex; align-items: center; justify-content: space-between;
  font: 500 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: #12162e;
}
.area__cuenta { padding: 3px 8px; border: 1.5px solid #12162e; }
.area__pie { position: absolute; z-index: 2; left: 0; right: 0; bottom: 58px; display: grid; justify-items: center; gap: 7px; padding: 0 24px; }
.area__pie .insignia { margin-bottom: 6px; }
.area__marca { font: 500 10.5px/1 var(--mono); letter-spacing: .3em; text-transform: uppercase; color: var(--c); }
.area__nombre { font: 800 clamp(30px, 2.6vw, 38px)/.92 'Barlow Condensed', var(--font); letter-spacing: .01em; text-transform: uppercase; }
.area__nombre small { display: block; margin-top: 4px; font-size: .5em; font-weight: 700; letter-spacing: .04em; color: var(--text-2); }
.area__desc { max-width: 300px; font-size: 13.5px; line-height: 1.45; color: #a9ada7; }
.area__ver {
  margin-top: 8px; padding: 7px 14px; border: 1.5px solid rgba(255, 255, 255, .25);
  font: 500 11.5px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; transition: border-color .2s, color .2s;
}
.area:hover .area__ver { border-color: var(--c); color: var(--c); }

/* El panel abierto */
.areas__detalle { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 28px; align-items: start; }
.areas__nav { position: sticky; top: 76px; isolation: isolate; display: grid; justify-items: center; gap: 22px; padding: 4px 0 12px; }
.areas__nav::before { content: ''; position: absolute; z-index: -1; top: 56px; bottom: 30px; left: 50%; width: 1px; background: linear-gradient(transparent, var(--line-3) 15%, var(--line-3) 85%, transparent); }
.areas__volver {
  padding: 6px 0; border: 0; background: none; cursor: pointer; color: var(--text-3);
  font: 500 11px/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; transition: color .2s;
}
.areas__volver:hover { color: var(--text); }
.areas__punto {
  display: grid; justify-items: center; gap: 8px; max-width: 150px; padding: 0; border: 0; background: none; cursor: pointer;
  color: var(--text-3); font: 600 13px/1.25 var(--font); text-align: center; transition: color .2s;
}
.areas__punto .insignia { background: #0f1329; filter: saturate(.3) brightness(.7); transition: filter .25s, box-shadow .25s; }
.areas__punto:hover .insignia { filter: none; }
.areas__punto[aria-current="true"] { color: var(--text); }
.areas__punto[aria-current="true"] .insignia { filter: none; box-shadow: 0 0 0 5px rgba(var(--accent-rgb), .16), 0 0 30px -4px var(--accent); }

.areas__panel {
  position: relative; display: grid; grid-template-rows: auto 1fr auto; overflow: hidden; border: 1px solid var(--line-2); border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(var(--accent-rgb), .1), transparent 45%),
    repeating-linear-gradient(-62deg, rgba(255, 255, 255, .025) 0 1.5px, transparent 1.5px 12px), #121734;
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .9);
}
.areas__cabeza { display: flex; align-items: center; gap: 18px; padding: 22px 28px; border-bottom: 1px solid var(--line); background: rgba(var(--accent-rgb), .07); }
.areas__kicker { display: block; font: 500 11px/1.3 var(--mono); letter-spacing: .28em; text-transform: uppercase; color: var(--accent); }
.areas__cabeza h3 { margin: 6px 0 0; font: 800 clamp(32px, 3.2vw, 46px)/.9 'Barlow Condensed', var(--font); letter-spacing: .01em; text-transform: uppercase; }
.areas__estado { margin-left: auto; padding: 4px 10px; border: 1.5px solid var(--line-3); font: 500 11px/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--text-2); }
.areas__cuerpo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 28px; align-items: center; padding: 26px 28px; }
.areas__frase { margin: 0 0 10px; font-size: 20px; font-weight: 700; line-height: 1.3; }
.areas__lead { margin: 0 0 18px; font-size: 15px; line-height: 1.6; color: var(--text-2); }
.areas__funciones { display: grid; gap: 12px; margin: 0 0 18px; padding: 0; list-style: none; }
.areas__funciones li { display: flex; align-items: center; gap: 14px; font: 700 18px/1.1 'Barlow Condensed', var(--font); letter-spacing: .02em; text-transform: uppercase; }
.areas__precio { margin: 0 0 16px; color: var(--text-2); }
.areas__precio b { color: var(--text); }
.areas__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; }
/* El arte, en una ventana cortada en diagonal */
.areas__arte {
  position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 14px;
  clip-path: polygon(9% 0, 100% 0, 100% 100%, 0 100%); box-shadow: 0 30px 60px -30px rgba(var(--accent-rgb), .7);
}
.areas__arte .tile__art { transition: transform 6s linear; }
.areas__panel:hover .areas__arte .tile__art { transform: scale(1.06); }
.areas__tira { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-top: 1px solid var(--line); background: rgba(0, 0, 0, .28); }
.areas__minis { display: flex; flex: 1; gap: 10px; overflow-x: auto; scrollbar-width: none; padding: 10px 6px 4px; }
.areas__minis::-webkit-scrollbar { display: none; }
.areas__mini {
  display: flex; flex: none; align-items: center; gap: 12px; padding: 8px 16px 8px 9px; cursor: pointer;
  border: 1px solid var(--line-2); border-radius: 4px; background: rgba(255, 255, 255, .03); color: var(--text-2);
  font: 800 19px/1 'Barlow Condensed', var(--font); letter-spacing: .01em; text-transform: uppercase; transition: border-color .2s, color .2s;
}
.areas__mini .insignia { filter: saturate(.35) brightness(.7); transition: filter .2s; }
.areas__mini:hover, .areas__mini.is-on { color: var(--text); }
.areas__mini:hover .insignia, .areas__mini.is-on .insignia { filter: none; }
.areas__mini.is-on { border-color: var(--accent); box-shadow: inset 0 -3px 0 var(--accent); }
.areas__flecha {
  flex: none; display: grid; place-items: center; width: 34px; height: 34px; padding: 0; border-radius: 50%; cursor: pointer;
  border: 1px solid var(--line-2); background: none; color: var(--text-2); transition: border-color .2s, color .2s;
}
.areas__flecha:hover { border-color: var(--line-3); color: var(--text); }
.areas__flecha svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
/* El estandarte crece hasta ser el panel (View Transitions) */
::view-transition-group(area-abierta) { animation-duration: .5s; animation-timing-function: cubic-bezier(.2, .7, .2, 1); }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .3s; }

@media (max-width: 900px) {
  /* Los estandartes se deslizan de lado */
  .areas__portada { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; margin: 0 calc(var(--gutter) * -1); padding: 4px var(--gutter) 10px; scrollbar-width: none; }
  .areas__portada::-webkit-scrollbar { display: none; }
  .area { flex: 0 0 min(78vw, 340px); min-height: 500px; scroll-snap-align: center; }
  .areas__detalle { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .areas__nav { position: static; display: flex; justify-content: flex-start; align-items: center; gap: 14px; overflow-x: auto; scrollbar-width: none; padding: 4px 0; }
  .areas__nav::before { display: none; }
  .areas__punto { display: flex; flex: none; align-items: center; gap: 8px; max-width: none; }
  .areas__punto .insignia { width: 40px; height: 40px; }
  .areas__cuerpo { grid-template-columns: minmax(0, 1fr); padding: 20px; }
  .areas__arte { order: -1; }
  .areas__cabeza { flex-wrap: wrap; padding: 18px 20px; }
  .areas__estado { margin-left: 0; }
}

/* Los productos para elegir, abajo en la parte negra: la parte de abajo de los estandartes.
   Ocupan todo el ancho, sin controles al lado (la vitrina avanza sola y se queda en el
   producto que eliges). */
.hero--ficha .picker-wrap { position: relative; inset: auto; padding: 0 0 26px; }
.hero--ficha .picker { gap: 8px; }
.hero--ficha .pick {
  flex-direction: column; justify-content: flex-end; gap: 4px; min-height: 146px; padding: 28px 6px 19px; border-radius: 0; text-align: center;
  border: 0; color: #f2f4ec; -webkit-backdrop-filter: none; backdrop-filter: none;
  background: repeating-linear-gradient(-62deg, rgba(255, 255, 255, .03) 0 1.5px, transparent 1.5px 12px), #161b34;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 12px), 50% 100%, 0 calc(100% - 12px));
}
.hero--ficha .pick::before {
  content: ''; position: absolute; inset: 0 0 auto; height: 40px; opacity: .25; transition: opacity .25s;
  background: repeating-linear-gradient(-62deg, rgba(255, 255, 255, .38) 0 1.5px, transparent 1.5px 7px), var(--accent);
  clip-path: polygon(0 0, 100% 0, 100% 30%, 0 100%);
}
.hero--ficha .pick:hover { transform: translateY(-3px); }
.hero--ficha .pick.is-active::before, .hero--ficha .pick:hover::before { opacity: 1; }
.hero--ficha .pick .insignia { filter: saturate(.35) brightness(.7); transition: filter .25s, box-shadow .25s; margin-bottom: 9px; }
.hero--ficha .pick.is-active .insignia, .hero--ficha .pick:hover .insignia { filter: none; }
.hero--ficha .pick.is-active .insignia { box-shadow: 0 0 30px -4px var(--accent); }
.insignia--pick { width: 54px; height: 54px; border-width: 2px; }
.insignia--pick > svg:first-child { width: 26px; height: 26px; }
.insignia--pick .insignia__chispas { top: -12px; right: -14px; width: 24px; height: 21px; }
.pick__marca { font: 500 10px/1.2 var(--mono); letter-spacing: .3em; text-transform: uppercase; color: var(--accent); }
.pick__nombre { font: 800 clamp(21px, 1.6vw, 25px)/.9 'Barlow Condensed', var(--font); letter-spacing: .01em; text-transform: uppercase; white-space: nowrap; }
.hero--ficha .pick__bar { bottom: 12px; left: 22%; right: 22%; height: 3px; background: rgba(242, 244, 236, .1); }
/* Pantallas bajas: los productos un poco más bajos, para que quepan en la primera vista */
@media (max-height: 820px) and (min-width: 761px) {
  .hero--ficha .pick { min-height: 0; padding-top: 20px; padding-bottom: 16px; }
  .hero--ficha .insignia--pick { width: 48px; height: 48px; }
}

@media (max-width: 1100px) {
  /* Los productos se deslizan de lado, hasta el borde derecho */
  .hero--ficha .picker { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding-top: 14px; }
  .hero--ficha .picker-wrap .picker { margin-right: calc(var(--gutter) * -1); padding-right: var(--gutter); scroll-padding-right: var(--gutter); }
  .hero--ficha .pick { flex: 0 0 132px; scroll-snap-align: center; }
}
@media (max-width: 1100px) and (min-height: 821px) {
  .ficha__funciones { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 32px; }
}
@media (max-width: 760px) {
  .hero--ficha { --diag: 64px; }
  /* angosta, la diagonal baja rápido: el título va debajo de ella entera */
  .ficha__oscuro { padding-top: calc(var(--diag) + 2px); }
  .ficha__funciones { grid-template-columns: minmax(0, 1fr); }
  .hero--ficha .ficha { min-height: 0; }
  .hero--ficha .ficha::before { top: 70px; font-size: 52vw; }
  .ficha__claro { flex-direction: column; padding-bottom: 0; }
  .ficha__nombre { font-size: clamp(52px, 16vw, 84px); }
  .ficha__btn { min-width: 0; flex: 1 1 100%; }
  /* La escena va debajo del texto, de borde a borde, hasta la línea */
  .ficha__escena { position: relative; inset: auto; height: 70vw; margin: 8px 0 calc(-1 * var(--diag)); -webkit-mask-image: linear-gradient(transparent, #000 14%); mask-image: linear-gradient(transparent, #000 14%); }
  .ficha__escena .slide__cover { right: 50%; transform: translate(50%, -50%) perspective(1400px) rotateY(-14deg) rotateX(3deg); height: 78%; animation: none; }
  .ficha__funciones { grid-template-columns: minmax(0, 1fr); gap: 22px; }
}

/* --- Tramos de la portada ------------------------------------------------------------------
   Las secciones alternan azul marino y blanco hueso, las dos con rayas finas, y cada una empieza
   con un corte en diagonal como la línea de la ficha: .corte baja hacia la derecha (igual que la
   ficha) y .corte--reves sube. El corte es un triángulo del color de la sección anterior (siempre
   la otra), así no se monta sobre lo que ella muestra. */
.section.tramo-azul, .tramo-azul {
  --veil: 12, 16, 36;
  background: repeating-linear-gradient(-62deg, rgba(255, 255, 255, .025) 0 1.5px, transparent 1.5px 12px), #0c1024;
}
.section.tramo-hueso, .tramo-hueso {
  color-scheme: light;
  --bg: #e9ebe5; --bg-2: #e1e4dd; --surface: #f6f7f3; --surface-2: #eceee8; --surface-3: #e1e4dd;
  --line: rgba(18, 22, 46, .1); --line-2: rgba(18, 22, 46, .16); --line-3: rgba(18, 22, 46, .28);
  --text: #12162e; --text-2: #4b505c; --text-3: #6d726e;
  --tint: 18, 22, 46; --veil: 233, 235, 229; --glass-rgb: 246, 247, 243; --shadow: 18, 22, 46; --shadow-k: .25; --hi: #12162e;
  --brand-ink: #4d6a26; --gps-ink: #4d6a26; --rfid-ink: #6a55e0; --nube-ink: #dd5f1f; --geo-ink: #0b84c4;
  --crm-ink: #a87406; --edu-ink: #5f7d0e; --obra-ink: #c8331f; --tech-ink: #2450d6; --accent-ink: var(--gps-ink);
  color: var(--text);
  background: repeating-linear-gradient(-62deg, rgba(18, 22, 46, .04) 0 1px, transparent 1px 14px), #e9ebe5;
}
.tramo-hueso .step { background: #f6f7f3; border-color: transparent; box-shadow: 0 18px 40px -28px rgba(18, 22, 46, .45); }
.tramo-hueso .step::after { display: none; }
.tramo-hueso .dw { --d-ink: #2b3135; --d-paper: #ffffff; }
.tramo-hueso .insignia { background-color: #12162e; }
.tramo-hueso .faq summary:hover { color: var(--brand-ink); }

.corte { --corte: clamp(44px, 5.5vw, 88px); position: relative; padding-top: calc(var(--corte) + 88px); }
.corte::before {
  content: ''; position: absolute; z-index: 1; top: -1px; left: 0; right: 0; height: calc(var(--corte) + 1px); pointer-events: none;
  clip-path: polygon(0 0, 100% 0, 100% 100%);
}
.corte--reves::before { clip-path: polygon(0 0, 100% 0, 0 100%); }
.tramo-hueso.corte::before { background: #0c1024; }
.tramo-azul.corte::before { background: #e9ebe5; }
@media (max-width: 760px) {
  .corte { padding-top: calc(var(--corte) + 56px); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* Los íconos de producto son cuadros en todas partes: gana a los radios de cada tamaño */
:is(.plogo__icon, .tile__icon, .explore__icon):not(#_) { border-radius: 2px; }

@media (max-width: 640px) {
  .servicio { margin: 0 -22px; }
  .servicio__nombre { font-size: 24px; }
  .servicio__dato, .servicio__precio { display: none; }
  .factura { flex-wrap: wrap; padding: 14px 16px; }
  .factura__total { font-size: 28px; }
}
