/* MDM Servers — diseño 2 "proveedor de servidores".
   Grafito + naranja señal, Archivo (ancha en títulos) + JetBrains Mono. Base clara, sin efectos
   de scroll: lo único que se mueve es lo que la persona toca (configurador, gráfica, celular). */

@font-face {
  font-family: 'Archivo';
  src: url('/assets/fonts/archivo-latin.woff2') format('woff2');
  font-weight: 100 900; font-stretch: 62% 125%; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Archivo';
  src: url('/assets/fonts/archivo-latin-ext.woff2') format('woff2');
  font-weight: 100 900; font-stretch: 62% 125%; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'JetBrains Mono';
  src: url('/assets/fonts/jetbrains-mono-latin.woff2') format('woff2');
  font-weight: 400 700; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'JetBrains Mono';
  src: url('/assets/fonts/jetbrains-mono-latin-ext.woff2') format('woff2');
  font-weight: 400 700; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --grafito: #16181d;
  --grafito-2: #2a2e36;
  --acero: #555b67;
  --gris: #8f96a1;
  --linea: #dcdfe4;
  --niebla: #f2f3f5;
  --blanco: #ffffff;
  --senal: #ff5a1f;
  --senal-hondo: #e84a10;
  --senal-suave: #ffece3;
  --error: #c0261b;

  --f-sans: 'Archivo', 'Helvetica Neue', Helvetica, sans-serif;
  --f-mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  --gx: clamp(16px, 4vw, 88px);
  --pad-l: max(var(--gx), env(safe-area-inset-left));
  --pad-r: max(var(--gx), env(safe-area-inset-right));
  --sec: clamp(64px, 7vw, 132px);
  --hdr: 68px;
  --r-btn: 3px;
  --r-box: 4px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr) + env(safe-area-inset-top) + 8px); }
body {
  margin: 0;
  font: 400 1rem/1.55 var(--f-sans);
  font-stretch: 100%;
  color: var(--grafito);
  background: var(--blanco);
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
picture img { width: 100%; height: 100%; object-fit: cover; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
.mono { font-family: var(--f-mono); font-feature-settings: 'zero' 0; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.i { width: 16px; height: 16px; flex: none; }

:focus-visible { outline: 3px solid var(--senal); outline-offset: 2px; }
.skip { position: absolute; left: 8px; top: -60px; z-index: 100; background: var(--grafito); color: var(--blanco); padding: 10px 14px; border-radius: var(--r-btn); }
.skip:focus { top: calc(8px + env(safe-area-inset-top)); }

/* ── botones ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 44px; padding: 0 18px;
  border: 1px solid transparent; border-radius: var(--r-btn);
  font-weight: 700; font-size: 0.9375rem; letter-spacing: 0.01em; text-decoration: none;
  cursor: pointer; white-space: nowrap;
  transition: background-color 0.15s, border-color 0.15s, transform 0.1s;
}
.btn:active { transform: translateY(1px); }
.btn-signal { background: var(--senal); color: var(--grafito); }
.btn-signal:hover { background: var(--senal-hondo); }
.btn-dark { background: var(--grafito); color: var(--blanco); }
.btn-dark:hover { background: var(--grafito-2); }
.btn-gray { background: var(--niebla); color: var(--grafito); border-color: var(--linea); }
.btn-gray:hover { background: #e6e8eb; }
.btn-lg { min-height: 52px; padding: 0 24px; font-size: 1rem; }

/* ── etiqueta de sección ── */
.tag {
  display: inline-flex; align-items: center; gap: 10px;
  font: 500 0.75rem/1 var(--f-mono); letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--acero);
}
.tag i { width: 10px; height: 10px; background: var(--senal); }

.sec-head { max-width: 1280px; }
.sec-head h2, .demo-copy h2, .how-copy h2, .compat-head h2, .quote-side h2 {
  margin-top: 16px;
  font-size: clamp(1.9rem, 1.2rem + 2.6vw, 3.6rem); line-height: 1.02;
  font-weight: 800; font-stretch: 112%; letter-spacing: -0.02em;
}
.sec-lead { margin-top: 16px; max-width: 62ch; color: var(--acero); font-size: clamp(1rem, 0.95rem + 0.3vw, 1.1875rem); }

/* ── encabezado (claro) ── */
.hdr {
  position: sticky; top: 0; z-index: 50;
  background: var(--blanco);
  border-bottom: 1px solid var(--linea);
  padding-top: env(safe-area-inset-top);
}
.hdr-in { height: var(--hdr); display: flex; align-items: center; gap: 28px; padding: 0 var(--pad-r) 0 var(--pad-l); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark { width: 36px; height: 36px; }
.brand-name { font-size: 1.25rem; letter-spacing: -0.01em; font-stretch: 108%; white-space: nowrap; }
.brand-name b { font-weight: 800; }
.hdr-nav { margin-left: 12px; }
.hdr-nav ul { display: flex; gap: 4px; }
.hdr-nav a { display: block; padding: 10px 12px; border-radius: var(--r-btn); text-decoration: none; font-weight: 600; font-size: 0.9375rem; color: var(--acero); }
.hdr-nav a:hover { color: var(--grafito); background: var(--niebla); }
.hdr-end { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.lang { display: flex; border: 1px solid var(--linea); border-radius: var(--r-btn); overflow: hidden; }
.lang a { display: grid; place-items: center; min-width: 44px; height: 40px; font: 600 0.8125rem/1 var(--f-mono); text-decoration: none; color: var(--acero); background: var(--blanco); }
.lang a[aria-current] { background: var(--grafito); color: var(--blanco); }
.hdr-menu { display: none; width: 44px; height: 44px; border: 0; border-radius: var(--r-btn); background: var(--grafito); color: var(--blanco); cursor: pointer; }
.hdr-menu-bars { display: grid; gap: 6px; width: 18px; margin: auto; }
.hdr-menu-bars i { display: block; height: 2px; background: currentColor; transition: transform 0.2s var(--ease); }
.hdr-menu[aria-expanded='true'] .hdr-menu-bars i:first-child { transform: translateY(4px) rotate(45deg); }
.hdr-menu[aria-expanded='true'] .hdr-menu-bars i:last-child { transform: translateY(-4px) rotate(-45deg); }
.mnav { border-top: 1px solid var(--linea); background: var(--blanco); padding: 8px var(--pad-r) calc(20px + env(safe-area-inset-bottom)) var(--pad-l); }
.mnav ul { display: grid; }
.mnav li + li { border-top: 1px solid var(--linea); }
.mnav a:not(.btn) { display: block; padding: 16px 0; font-size: 1.25rem; font-weight: 700; font-stretch: 108%; text-decoration: none; }
.mnav .btn { width: 100%; margin-top: 12px; min-height: 52px; }

/* ── hero ── */
.hero {
  display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); grid-template-areas: "copy media";
  column-gap: clamp(28px, 4vw, 80px); row-gap: clamp(20px, 2.4vw, 36px);
  padding: clamp(20px, 2.6vw, 44px) var(--pad-r) var(--sec) var(--pad-l);
  align-items: center;
}
.hero-copy { grid-area: copy; }
.hero-media { grid-area: media; }
.hero-title {
  margin-top: 18px;
  font-size: clamp(2rem, 0.5rem + 2.55vw, 3.5rem); line-height: 0.96;
  font-weight: 800; font-stretch: 104%; letter-spacing: -0.035em; text-transform: uppercase;
}
.hero-title span { display: block; }
.hero-title span:last-child { color: var(--acero); }
.hero-lead { margin-top: 16px; max-width: 58ch; font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.3125rem); color: var(--acero); }

/* configurador */
.cfg { margin-top: 0; border: 1px solid var(--grafito); border-radius: var(--r-box); background: var(--blanco); }
.cfg-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 14px 20px; border-bottom: 1px solid var(--linea); }
.cfg-title { font-size: 1.125rem; font-weight: 800; font-stretch: 110%; }
.cfg-count { display: flex; align-items: center; gap: 14px; }
.cfg-count label { font-weight: 600; color: var(--acero); font-size: 0.9375rem; }
.stepper { display: flex; border: 1px solid var(--grafito); border-radius: var(--r-btn); overflow: hidden; }
.stepper button { width: 44px; height: 48px; border: 0; background: var(--niebla); font-size: 1.375rem; font-weight: 600; cursor: pointer; }
.stepper button:hover { background: #e6e8eb; }
.stepper input { width: 88px; height: 48px; border: 0; border-left: 1px solid var(--linea); border-right: 1px solid var(--linea); text-align: center; font: 700 1.25rem/1 var(--f-mono); background: var(--blanco); }

.cfg-range { padding: 14px 20px 4px; }
.cfg-range input[type='range'] { -webkit-appearance: none; appearance: none; width: 100%; height: 44px; margin: 0; background: transparent; cursor: pointer; touch-action: pan-y; }
.cfg-range input[type='range']::-webkit-slider-runnable-track { height: 8px; border-radius: 0; background: linear-gradient(to right, var(--grafito) 0 var(--fill, 30%), var(--linea) var(--fill, 30%) 100%); }
.cfg-range input[type='range']::-moz-range-track { height: 8px; background: var(--linea); }
.cfg-range input[type='range']::-moz-range-progress { height: 8px; background: var(--grafito); }
.cfg-range input[type='range']::-webkit-slider-thumb { -webkit-appearance: none; width: 30px; height: 30px; margin-top: -11px; border: 3px solid var(--grafito); border-radius: 2px; background: var(--senal); }
.cfg-range input[type='range']::-moz-range-thumb { width: 24px; height: 24px; border: 3px solid var(--grafito); border-radius: 2px; background: var(--senal); }
.cfg-ticks { position: relative; height: 18px; margin-top: 8px; font-size: 0.75rem; color: var(--gris); }
.cfg-ticks span { position: absolute; top: 0; left: var(--at); transform: translateX(-50%); white-space: nowrap; }
.cfg-ticks span:first-child { transform: none; }
.cfg-ticks span:last-child { left: auto; right: 0; transform: none; }

.sopts { margin: 14px 0 0; padding: 0; border: 0; border-top: 1px solid var(--linea); }
.sopt {
  position: relative; display: grid; grid-template-columns: 22px minmax(70px, 0.9fr) minmax(0, 1fr) auto minmax(96px, auto); gap: 14px; align-items: center;
  min-height: 50px; padding: 8px 20px; border-bottom: 1px solid var(--linea); cursor: pointer;
  transition: background-color 0.15s, color 0.15s;
}
.sopt input { appearance: none; -webkit-appearance: none; width: 20px; height: 20px; margin: 0; border: 2px solid var(--grafito); border-radius: 50%; background: var(--blanco); display: grid; place-items: center; cursor: pointer; }
.sopt input::after { content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--senal); transform: scale(0); transition: transform 0.15s var(--ease); }
.sopt input:checked::after { transform: scale(1); }
.sopt input:focus-visible { outline: 3px solid var(--senal); outline-offset: 2px; }
.sopt-name { font-size: 1.1875rem; font-weight: 800; font-stretch: 112%; }
.sopt-spec, .sopt-range { font-size: 0.8125rem; color: var(--acero); }
.sopt-price { justify-self: end; font-size: 1.0625rem; font-weight: 700; white-space: nowrap; }
.sopt:hover { background: var(--niebla); }
.sopt.is-on { background: var(--grafito); color: var(--blanco); }
.sopt.is-on .sopt-spec, .sopt.is-on .sopt-range { color: #b9bec7; }
.sopt.is-on .sopt-price { color: var(--senal); }
.sopt.is-on input { border-color: var(--blanco); background: var(--grafito); }
.sopt.is-off { cursor: not-allowed; color: var(--gris); background: var(--blanco); }
.sopt.is-off input { border-color: var(--linea); cursor: not-allowed; }
.sopt.is-off .sopt-name { font-weight: 700; }
.sopt.is-off .sopt-price { font-size: 0.8125rem; font-weight: 500; color: var(--gris); }

.cfg-total { display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: center; padding: 12px 20px; }
.cfg-total-k { display: block; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--gris); }
.cfg-total-v { display: flex; align-items: baseline; gap: 4px; margin-top: 6px; }
.cfg-total-v .mono { font-size: 2.25rem; font-weight: 700; line-height: 1; font-variant-numeric: tabular-nums; }
.cfg-total-v small { font-size: 1rem; color: var(--acero); }
.cfg-total-side { display: grid; gap: 4px; justify-items: end; text-align: right; font-size: 0.8125rem; color: var(--acero); }
.cfg-per { font-weight: 700; color: var(--grafito); }
.cfg-act { display: flex; gap: 10px; flex-wrap: wrap; padding: 0 20px 18px; }

/* escena de la flota: el servidor manda órdenes a los equipos */
.hero-media { position: relative; }
.fleet { --u: 1cqw; position: relative; container-type: inline-size; padding: clamp(18px, calc(var(--u) * 3), 36px); }
.rack2u {
  position: relative; z-index: 2; display: grid; grid-template-columns: auto 1fr auto; gap: calc(var(--u) * 3); align-items: center;
  padding: calc(var(--u) * 2.4) calc(var(--u) * 3); background: var(--grafito); color: var(--blanco); border-radius: 4px;
}
.rack2u::before, .rack2u::after { content: ''; position: absolute; top: 18%; bottom: 18%; width: calc(var(--u) * 1.2); border: 2px solid #3a3f48; border-radius: 1px; }
.rack2u::before { left: calc(var(--u) * 0.8); } .rack2u::after { right: calc(var(--u) * 0.8); }
.r2-leds { display: grid; grid-template-columns: repeat(2, calc(var(--u) * 1.4)); gap: calc(var(--u) * 0.9); padding-left: calc(var(--u) * 1.6); }
.r2-leds i { width: calc(var(--u) * 1.4); height: calc(var(--u) * 1.4); background: var(--senal); }
.r2-leds i:nth-child(2) { animation: led 1.2s steps(1) infinite; }
.r2-leds i:nth-child(3) { background: #5a606c; }
.r2-leds i:nth-child(4) { animation: led 2.6s steps(1) infinite; }
.r2-grill { display: none; }
.r2-info { display: grid; gap: calc(var(--u) * 0.8); min-width: 0; }
.r2-host { font-size: max(11px, calc(var(--u) * 1.9)); color: #9aa0aa; }
.r2-plan { font-size: max(12px, calc(var(--u) * 2.3)); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.r2-plan b { font-size: max(15px, calc(var(--u) * 3.3)); font-weight: 800; font-stretch: 112%; margin-right: calc(var(--u) * 1); }
.r2-plan .mono { color: #cfd3da; }
.r2-stat { display: grid; gap: calc(var(--u) * 0.8); justify-items: end; font-size: max(11px, calc(var(--u) * 1.9)); color: #cfd3da; padding-right: calc(var(--u) * 1.6); white-space: nowrap; }
.r2-stat b { color: var(--blanco); font-size: max(14px, calc(var(--u) * 2.8)); }
.r2-on { color: var(--senal); text-transform: uppercase; }
.r2-on::before { content: ''; display: inline-block; width: calc(var(--u) * 1.2); height: calc(var(--u) * 1.2); margin-right: calc(var(--u) * 1); background: var(--senal); vertical-align: middle; }

.wires { position: relative; height: calc(var(--u) * 9); }
.wires i { position: absolute; background: #b9bec7; }
.w-trunk { left: 50%; top: 0; width: 2px; height: calc(var(--u) * 4.5); transform: translateX(-1px); }
.w-bus { left: calc(100% / 6); right: calc(100% / 6); top: calc(var(--u) * 4.5); height: 2px; }
.w-drop { top: calc(var(--u) * 4.5); bottom: -calc(var(--u) * 2); width: 2px; left: calc((var(--c) * 2 + 1) * 100% / 6); transform: translateX(-1px); }

.fdevs { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); row-gap: calc(var(--u) * 5); }
.fd { position: relative; display: grid; justify-items: center; align-content: end; gap: calc(var(--u) * 1.2); }
.fd:nth-child(n + 4)::before { content: ''; position: absolute; left: 50%; bottom: 100%; height: calc(var(--u) * 5); width: 2px; background: #b9bec7; transform: translate(-1px, 0); }
.fd-dev { position: relative; display: grid; place-items: end center; height: calc(var(--u) * 25); width: 100%; }
.fd-id { font-size: max(10px, calc(var(--u) * 1.7)); color: var(--acero); }
.fd-st { display: inline-flex; align-items: center; gap: calc(var(--u) * 1); font-size: max(10px, calc(var(--u) * 1.7)); color: var(--gris); transition: color 0.2s; }
.fd-st i { width: calc(var(--u) * 1.1); height: calc(var(--u) * 1.1); min-width: 5px; min-height: 5px; background: #9aa0aa; }
.fd.is-hit .fd-st { color: var(--grafito); font-weight: 700; }
.fd.is-hit .fd-st i { background: var(--senal); }
.fd-hit { position: absolute; top: calc(var(--u) * 2); right: 22%; width: calc(var(--u) * 5); height: calc(var(--u) * 5); min-width: 20px; min-height: 20px; display: grid; place-items: center; background: var(--senal); color: var(--grafito); border-radius: 50%; transform: scale(0); transition: transform 0.25s var(--ease); z-index: 2; }
.fd-hit .i { width: 60%; height: 60%; }
.fd.is-hit .fd-hit { transform: scale(1); }

.dv { position: relative; display: block; background: var(--grafito); z-index: 1; }
.dv-scr { position: absolute; overflow: hidden; background: #2a2e36; }
.dv-phone { width: calc(var(--u) * 10.5); height: calc(var(--u) * 21); border-radius: calc(var(--u) * 1.8); }
.dv-phone .dv-scr { inset: calc(var(--u) * 0.9); border-radius: calc(var(--u) * 1.1); }
.dv-rugged { width: calc(var(--u) * 12.5); height: calc(var(--u) * 21); border-radius: calc(var(--u) * 2.2); background: #3a3f48; border: calc(var(--u) * 1.2) solid var(--grafito); }
.dv-rugged .dv-scr { inset: calc(var(--u) * 3.2) calc(var(--u) * 0.6) calc(var(--u) * 1.6); border-radius: calc(var(--u) * 0.5); }
.dv-scan { position: absolute; top: calc(var(--u) * 0.9); left: 30%; right: 30%; height: calc(var(--u) * 1.2); background: var(--senal); border-radius: calc(var(--u) * 0.4); }
.dv-pos { width: calc(var(--u) * 22); height: calc(var(--u) * 14.5); border-radius: calc(var(--u) * 1.4); margin-bottom: calc(var(--u) * 6); }
.dv-pos .dv-scr { inset: calc(var(--u) * 1); border-radius: calc(var(--u) * 0.6); }
.dv-stand { position: absolute; left: 50%; top: 100%; width: calc(var(--u) * 3); height: calc(var(--u) * 4.4); transform: translateX(-50%); background: #3a3f48; }
.dv-stand::after { content: ''; position: absolute; left: 50%; bottom: -calc(var(--u) * 1.2); width: calc(var(--u) * 11); height: calc(var(--u) * 1.4); transform: translateX(-50%); background: var(--grafito); border-radius: calc(var(--u) * 0.4); }
.dv-tv { width: calc(var(--u) * 26); height: calc(var(--u) * 15); border-radius: calc(var(--u) * 0.8); margin-bottom: calc(var(--u) * 4); }
.dv-tv .dv-scr { inset: calc(var(--u) * 0.8); border-radius: calc(var(--u) * 0.2); }
.dv-legs { position: absolute; top: 100%; left: 18%; right: 18%; height: calc(var(--u) * 3.4); border-left: calc(var(--u) * 0.9) solid var(--grafito); border-right: calc(var(--u) * 0.9) solid var(--grafito); }
.dv-kiosk { width: calc(var(--u) * 12); height: calc(var(--u) * 16); border-radius: calc(var(--u) * 1.2); margin-bottom: calc(var(--u) * 8.5); }
.dv-kiosk .dv-scr { inset: calc(var(--u) * 0.9); border-radius: calc(var(--u) * 0.5); }
.dv-pole { position: absolute; left: 50%; top: 100%; width: calc(var(--u) * 1.6); height: calc(var(--u) * 7.5); transform: translateX(-50%); background: #3a3f48; }
.dv-pole::after { content: ''; position: absolute; left: 50%; bottom: -calc(var(--u) * 1); width: calc(var(--u) * 9); height: calc(var(--u) * 1.2); transform: translateX(-50%); background: var(--grafito); border-radius: calc(var(--u) * 0.4); }

/* pantallas pequeñas de los equipos */
.fs-map { background: #e9ebee; }
.fs-map::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 44%, #fff 44% 54%, transparent 54%), linear-gradient(0deg, transparent 58%, #fff 58% 66%, transparent 66%); }
.fs-map i { position: absolute; left: 50%; top: 42%; width: calc(var(--u) * 2.6); height: calc(var(--u) * 2.6); background: var(--senal); border-radius: 50% 50% 50% 0; transform: translate(-50%, -50%) rotate(-45deg); }
.fs-code { background: #f2f3f5; }
.fs-code i { position: absolute; left: 14%; right: 14%; top: 34%; height: 32%; background: repeating-linear-gradient(90deg, var(--grafito) 0 2px, transparent 2px 4px, var(--grafito) 4px 5px, transparent 5px 8px); }
.fs-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: calc(var(--u) * 0.6); padding: calc(var(--u) * 0.8); background: #f2f3f5; }
.fs-tiles i { background: #d5d9df; border-radius: calc(var(--u) * 0.3); }
.fs-tiles i:nth-child(2) { background: var(--senal); }
.fs-sign { display: grid; grid-template-columns: 1.4fr 1fr; gap: calc(var(--u) * 0.8); padding: calc(var(--u) * 1.2); background: #2a2e36; }
.fs-sign i { background: #4a505b; }
.fs-sign i:first-child { background: var(--senal); }
.fs-one { display: grid; place-items: center; background: #f2f3f5; }
.fs-one i { width: calc(var(--u) * 5); height: calc(var(--u) * 5); border-radius: calc(var(--u) * 1.2); background: var(--senal); }
.fs-lock { display: grid; place-items: center; color: var(--senal); background: #16181d; }
.fs-lock svg { width: calc(var(--u) * 5); height: calc(var(--u) * 5); }
.fd.is-hit .dv { outline: calc(var(--u) * 0.6) solid var(--senal); outline-offset: calc(var(--u) * 0.6); }

.packet { position: absolute; left: 0; top: 0; z-index: 3; width: calc(var(--u) * 1.8); height: calc(var(--u) * 1.8); min-width: 8px; min-height: 8px; margin: -calc(var(--u) * 0.9) 0 0 -calc(var(--u) * 0.9); background: var(--senal); opacity: 0; pointer-events: none; }
.w-drop-x { display: none; }



/* ── planes ── */
.plans { padding: var(--sec) var(--pad-r) var(--sec) var(--pad-l); background: var(--niebla); border-top: 1px solid var(--linea); }
.ptable-wrap { margin-top: clamp(28px, 3vw, 48px); }
.ptable { width: 100%; border-collapse: collapse; background: var(--blanco); border: 1px solid var(--grafito); }
.ptable thead th { padding: 14px 16px; text-align: left; font: 500 0.75rem/1.2 var(--f-mono); text-transform: uppercase; letter-spacing: 0.05em; color: var(--blanco); background: var(--grafito); }
.ptable td, .ptable tbody th { padding: 18px 16px; text-align: left; vertical-align: middle; border-top: 1px solid var(--linea); font-size: 0.9375rem; }
.ptable tbody th { font-weight: 400; }
.prow-name { display: block; font-size: 1.5rem; font-weight: 800; font-stretch: 112%; line-height: 1.05; }
.prow-note { display: block; margin-top: 4px; font-size: 0.8125rem; color: var(--acero); }
.prow-current { display: none; margin-top: 8px; width: max-content; padding: 4px 8px; font: 600 0.6875rem/1 var(--f-mono); text-transform: uppercase; letter-spacing: 0.05em; background: var(--senal); color: var(--grafito); border-radius: 2px; }
.prow.is-current { background: var(--senal-suave); }
.prow.is-current .prow-current { display: block; }
.prow-extra { display: block; margin-top: 4px; font-family: var(--f-sans); font-size: 0.8125rem; color: var(--acero); }
.prow-price { font-size: 1.25rem; font-weight: 700; white-space: nowrap; }
.prow-act { text-align: right !important; }
.prow-customtext { color: var(--acero); }
.prow-moves { font-size: 0.875rem; color: var(--acero); max-width: 30ch; }
.no { display: inline-flex; align-items: center; gap: 6px; color: var(--gris); font-weight: 500; }
.no .i { color: var(--gris); }
.yes { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.yes .i { color: var(--senal-hondo); }
.addon { display: inline-block; padding: 4px 8px; font: 500 0.75rem/1 var(--f-mono); background: var(--niebla); border: 1px solid var(--linea); border-radius: 2px; color: var(--acero); }

.curve { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(24px, 4vw, 72px); margin-top: clamp(40px, 5vw, 80px); align-items: center; }
.curve-copy h3 { font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2.25rem); font-weight: 800; font-stretch: 112%; letter-spacing: -0.015em; line-height: 1.05; }
.curve-rules { margin-top: 20px; border-top: 1px solid var(--grafito); }
.curve-rules > div { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--linea); }
.curve-rules dt { font-weight: 800; font-size: 1rem; font-stretch: 110%; }
.rule-team dt::before, .rule-fleet dt::before, .rule-scale dt::before { content: ''; display: inline-block; width: 14px; height: 4px; margin-right: 8px; vertical-align: middle; }
.rule-team dt::before { background: var(--gris); }
.rule-fleet dt::before { background: var(--senal); }
.rule-scale dt::before { background: var(--grafito); }
.curve-same { margin-top: 14px; font-size: 0.875rem; font-weight: 700; }
.curve-rules dd { color: var(--acero); }
.curve-hint { margin-top: 12px; font-size: 0.875rem; color: var(--gris); }
.curve-fig { background: var(--blanco); border: 1px solid var(--linea); border-radius: var(--r-box); padding: 16px 12px 12px; }
.graph { width: 100%; height: auto; touch-action: none; }
.g-hit { cursor: ew-resize; }
.g-grid { stroke: var(--linea); stroke-width: 1; }
.g-yt { font: 500 12px var(--f-mono); fill: var(--gris); text-anchor: end; }
.g-xt { font: 500 12px var(--f-mono); fill: var(--gris); }
.g-zl { font: 600 12px var(--f-mono); fill: var(--acero); text-anchor: middle; text-transform: uppercase; }
.g-tick { stroke: var(--gris); stroke-width: 1; }
.g-band { fill: #eceef1; }
.g-band.is-on { fill: var(--senal-suave); }
.g-line { fill: none; stroke-width: 3; stroke-linejoin: round; stroke-linecap: round; transition: stroke-width 0.15s; }
.g-line-team { stroke: var(--gris); }
.g-line-fleet { stroke: var(--senal); }
.g-line-scale { stroke: var(--grafito); }
.g-line.is-on { stroke-width: 5; }
.g-pl { font: 700 13px var(--f-sans); fill: var(--acero); }
.g-pl-fleet { fill: var(--senal-hondo); }
.g-pl-scale { fill: var(--grafito); }
.g-mline { stroke: var(--grafito); stroke-width: 1.5; stroke-dasharray: 4 4; }
.g-dot { fill: var(--grafito); stroke: var(--blanco); stroke-width: 3; }
.g-mark { transition: transform 0.18s var(--ease); }
.g-mark circle { transition: cy 0.18s var(--ease); }
.curve-fig figcaption { padding: 8px 8px 0; font-size: 0.8125rem; color: var(--acero); }

/* ── demo del celular ── */
.demo { padding: var(--sec) var(--pad-r) var(--sec) var(--pad-l); }
.demo-main { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(28px, 5vw, 96px); align-items: center; }
.acts { margin-top: 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.act {
  width: 100%; min-height: 84px; display: grid; gap: 4px; align-content: start; text-align: left;
  padding: 14px 16px; border: 1px solid var(--linea); border-radius: var(--r-box); background: var(--blanco); cursor: pointer;
  transition: background-color 0.15s, border-color 0.15s, color 0.15s;
}
.act:hover { border-color: var(--grafito); }
.act-name { font-weight: 800; font-size: 1.125rem; font-stretch: 110%; }
.act-text { font-size: 0.875rem; color: var(--acero); line-height: 1.4; }
.act.is-on { background: var(--grafito); border-color: var(--grafito); color: var(--blanco); }
.act.is-on .act-text { color: #c5cad2; }
.act.is-on .act-name::after { content: ''; display: inline-block; width: 8px; height: 8px; margin-left: 10px; vertical-align: middle; background: var(--senal); }

.demo-phone { display: grid; place-items: center; padding: clamp(8px, 2vw, 32px); background: var(--niebla); border-radius: var(--r-box); min-height: 100%; }
.phone { width: min(320px, 78vw); aspect-ratio: 9 / 19; padding: 12px; border-radius: 44px; background: var(--grafito); }
.phone-screen { position: relative; height: 100%; border-radius: 33px; overflow: hidden; background: #1f2229; color: var(--blanco); isolation: isolate; }
.ph-status { position: absolute; z-index: 3; top: 0; left: 0; right: 0; display: flex; justify-content: space-between; align-items: center; padding: 14px 22px 0; font: 600 0.8125rem/1 var(--f-sans); }
.ph-sig { display: flex; align-items: flex-end; gap: 2px; }
.ph-sig i { width: 3px; background: currentColor; }
.ph-sig i:nth-child(1) { height: 5px; } .ph-sig i:nth-child(2) { height: 8px; } .ph-sig i:nth-child(3) { height: 11px; }
.ph-sig b { width: 20px; height: 10px; margin-left: 6px; border: 1.5px solid currentColor; border-radius: 2px; box-sizing: border-box; background: linear-gradient(to right, currentColor 0 70%, transparent 70%); }
.ph-nav { position: absolute; z-index: 3; bottom: 8px; left: 0; right: 0; display: grid; place-items: center; }
.ph-nav i { width: 110px; height: 4px; border-radius: 2px; background: rgba(255, 255, 255, 0.7); }

.scr { position: absolute; inset: 0; padding: 56px 20px 32px; display: flex; flex-direction: column; opacity: 0; visibility: hidden; transition: opacity 0.35s var(--ease), visibility 0s linear 0.35s; }
.scr.is-on { opacity: 1; visibility: visible; transition: opacity 0.35s var(--ease); }
.scr-t { font-size: 1.25rem; font-weight: 800; font-stretch: 108%; line-height: 1.15; }
.scr-p { margin-top: 8px; font-size: 0.9375rem; line-height: 1.4; color: #d5d9df; }
.scr-m { font: 500 0.75rem/1.3 var(--f-mono); color: #aab0ba; }

.scr-lock { justify-content: center; align-items: center; text-align: center; background: #16181d; }
.scr-lock-ico { width: 72px; height: 72px; margin-bottom: 22px; display: grid; place-items: center; color: var(--senal); }
.scr-lock-ico svg { width: 56px; height: 56px; }
.scr-lock .scr-p { max-width: 22ch; }

.scr-locate { padding: 0; background: #e9ebee; color: var(--grafito); }
.scr-map { position: absolute; inset: 0; width: 100%; height: 100%; }
.scr-pulse { transform-origin: 150px 178px; animation: pulse 2s ease-out infinite; }
@keyframes pulse { from { transform: scale(0.6); opacity: 0.5; } to { transform: scale(1.6); opacity: 0; } }
.scr-locate .ph-status { color: var(--grafito); }
.scr-card { position: absolute; left: 12px; right: 12px; bottom: 28px; padding: 14px; background: var(--blanco); border-radius: 12px; }
.scr-card .scr-p { color: var(--acero); margin-top: 2px; }
.scr-card .scr-m { margin-top: 6px; color: var(--senal-hondo); }

.scr-kiosk { justify-content: center; align-items: center; text-align: center; background: #f2f3f5; color: var(--grafito); }
.scr-app { display: grid; justify-items: center; gap: 14px; }
.scr-app-ico { width: 92px; height: 92px; border-radius: 22px; background: var(--senal); position: relative; }
.scr-app-ico::before { content: ''; position: absolute; inset: 26px 22px; border: 4px solid var(--grafito); border-left-width: 0; border-right-width: 0; }
.scr-app-ico::after { content: ''; position: absolute; left: 22px; right: 22px; top: 44px; height: 4px; background: var(--grafito); }
.scr-kiosk .scr-m { margin-top: 18px; color: var(--acero); max-width: 20ch; }

.scr-apps { background: #1f2229; }
.scr-apps ul { margin-top: 18px; display: grid; gap: 14px; }
.scr-apps li { display: grid; grid-template-columns: 40px 1fr; gap: 12px; align-items: center; }
.scr-app-sm { width: 40px; height: 40px; border-radius: 10px; background: var(--senal); }
.scr-apps li:nth-child(2) .scr-app-sm { background: #d5d9df; }
.scr-apps li:nth-child(3) .scr-app-sm { background: #8f96a1; }
.scr-row { display: grid; gap: 4px; }
.scr-row b { font-size: 0.9375rem; }
.scr-bar { height: 4px; background: #3a3f48; overflow: hidden; }
.scr-bar i { display: block; height: 100%; width: 100%; background: var(--senal); transform-origin: left; transform: scaleX(1); }
.scr-done { color: var(--senal); }
.scr-apps.is-on .scr-bar i { animation: fillbar 1.4s var(--ease) both; animation-delay: calc(var(--i) * 0.35s); }
.scr-apps.is-on .scr-done { animation: showdone 0.01s both; animation-delay: calc(var(--i) * 0.35s + 1.4s); }
@keyframes fillbar { from { transform: scaleX(0); } }
@keyframes showdone { from { opacity: 0; } to { opacity: 1; } }

.scr-message { background: #2a2e36; }
.scr-note { position: relative; z-index: 2; padding: 14px; background: var(--blanco); color: var(--grafito); border-radius: 14px; }
.scr-note .scr-m { color: var(--senal-hondo); font-weight: 700; }
.scr-note .scr-p { color: var(--grafito); margin-top: 4px; }
.scr-message.is-on .scr-note { animation: drop 0.5s var(--ease) both; }
@keyframes drop { from { transform: translateY(-24px); opacity: 0; } }
.scr-grid { margin-top: auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px 14px; padding: 0 6px 18px; }
.scr-grid span { aspect-ratio: 1; border-radius: 12px; background: #3d424c; }

.scr-wipe { justify-content: center; background: #16181d; }
.scr-dialog { padding: 20px; background: #2a2e36; border-radius: 14px; }
.scr-warn { width: 36px; height: 36px; color: var(--senal); margin-bottom: 12px; }
.scr-prog { display: block; height: 4px; margin-top: 16px; background: #3a3f48; overflow: hidden; }
.scr-prog i { display: block; height: 100%; background: var(--senal); width: 64%; }
.scr-wipe.is-on .scr-prog i { animation: fillbar 2.6s linear both; }

.act-live { display: none; }
.flist { margin-top: clamp(48px, 6vw, 96px); padding-top: 28px; border-top: 1px solid var(--grafito); }
.flist-title { font-size: clamp(1.375rem, 1.1rem + 0.8vw, 1.875rem); font-weight: 800; font-stretch: 110%; }
.flist-grid { margin-top: 24px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 3vw, 48px); }
.fgroup h3 { font: 600 0.75rem/1 var(--f-mono); text-transform: uppercase; letter-spacing: 0.06em; color: var(--acero); padding-bottom: 12px; border-bottom: 1px solid var(--linea); }
.fgroup li { display: flex; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--linea); font-weight: 500; }
.fgroup li .i { margin-top: 4px; color: var(--senal-hondo); }
.fgroup sup, .flist-note sup { color: var(--senal-hondo); font-weight: 700; }
.flist-note { margin-top: 16px; font-size: 0.875rem; color: var(--acero); }

/* ── servidores ── */
.servers { padding: var(--sec) var(--pad-r) var(--sec) var(--pad-l); background: var(--niebla); border-top: 1px solid var(--linea); }
.servers-grid { margin-top: clamp(28px, 3vw, 48px); display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(28px, 4vw, 80px); align-items: start; }
.specs { border-top: 1px solid var(--grafito); }
.specs > div { display: grid; grid-template-columns: minmax(110px, 0.35fr) 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--linea); }
.specs dt { font-weight: 700; }
.specs dd { font-size: 0.9375rem; color: var(--grafito-2); }
.hw { background: var(--blanco); border: 1px solid var(--linea); border-radius: var(--r-box); padding: 20px; }
.hw h3 { font-size: 1.125rem; font-weight: 800; font-stretch: 110%; }
.hw-table { width: 100%; margin-top: 14px; border-collapse: collapse; font-size: 0.9375rem; }
.hw-table th, .hw-table td { padding: 10px 8px; text-align: left; border-bottom: 1px solid var(--linea); }
.hw-table thead th { font-size: 0.75rem; color: var(--gris); font-weight: 500; text-transform: uppercase; }
.hw-table tbody th { font-family: var(--f-sans); font-weight: 800; }
.rack { margin-top: 18px; display: grid; gap: 6px; padding: 10px; background: var(--grafito); border-radius: var(--r-btn); }
.ru { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; height: 38px; padding: 0 12px; background: var(--grafito-2); border-radius: 2px; }
.ru-scale { height: 52px; }
.ru-leds { display: flex; gap: 5px; }
.ru-leds i { width: 7px; height: 7px; background: #4a505b; }
.ru-name { font-size: 0.75rem; color: #aeb4bd; text-transform: uppercase; }
.ru-slot { width: 60px; height: 4px; background: #4a505b; }
.ru.is-on .ru-leds i { background: var(--senal); }
.ru.is-on .ru-leds i:nth-child(2) { animation: led 1.6s steps(1) infinite; }
.ru.is-on .ru-name { color: var(--blanco); }

/* ── cómo funciona ── */
.how { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 96px); padding: var(--sec) var(--pad-r) var(--sec) var(--pad-l); align-items: center; }
.how-photo { border-radius: var(--r-box); overflow: hidden; aspect-ratio: 3 / 2; background: var(--niebla); }
.how-photo picture { display: block; height: 100%; }
.steps { margin-top: 28px; counter-reset: s; border-top: 1px solid var(--grafito); }
.steps li { display: grid; grid-template-columns: 56px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--linea); }
.step-n { width: 40px; height: 40px; display: grid; place-items: center; font-size: 1.125rem; font-weight: 700; color: var(--grafito); background: var(--senal); border-radius: 2px; }
.steps h3 { font-size: 1.1875rem; font-weight: 800; font-stretch: 108%; }
.steps p { margin-top: 4px; color: var(--acero); }

/* ── casos de uso ── */
.uses { padding: var(--sec) var(--pad-r) var(--sec) var(--pad-l); border-top: 1px solid var(--linea); }
.uses-grid { margin-top: clamp(28px, 3vw, 48px); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 28px); }
.use picture { display: block; aspect-ratio: 4 / 5; border-radius: var(--r-box); overflow: hidden; background: var(--niebla); }
.use h3 { margin-top: 16px; font-size: 1.25rem; font-weight: 800; font-stretch: 110%; }
.use p { margin-top: 6px; color: var(--acero); }

/* ── compatibilidad ── */
.compat { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.9fr) minmax(0, 0.9fr); gap: clamp(28px, 4vw, 72px); padding: var(--sec) var(--pad-r) var(--sec) var(--pad-l); background: var(--niebla); border-top: 1px solid var(--linea); }
.vbar { margin-top: 28px; display: grid; grid-template-columns: repeat(10, 1fr); gap: 3px; }
.vb span { display: grid; place-items: center; height: 44px; font: 700 0.875rem/1 var(--f-mono); }
.vb-none span { background: var(--blanco); color: var(--gris); border: 1px solid var(--linea); text-decoration: line-through; }
.vb-managed span { background: #ffc3a8; color: var(--grafito); }
.vb-full span { background: var(--senal); color: var(--grafito); }
.vlegend { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 0.8125rem; color: var(--acero); }
.lg::before { content: ''; display: inline-block; width: 10px; height: 10px; margin-right: 6px; vertical-align: -1px; }
.lg-none::before { background: var(--blanco); border: 1px solid var(--linea); }
.lg-managed::before { background: #ffc3a8; }
.lg-full::before { background: var(--senal); }
.compat-yes h3, .compat-no h3 { font: 600 0.75rem/1 var(--f-mono); text-transform: uppercase; letter-spacing: 0.06em; color: var(--acero); padding-bottom: 12px; border-bottom: 1px solid var(--grafito); }
.compat-yes li, .compat-no li { display: flex; gap: 10px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--linea); font-weight: 600; }
.compat-yes .i { color: var(--senal-hondo); }
.compat-no li { font-size: 1.5rem; font-weight: 800; font-stretch: 110%; }
.compat-no .i { width: 22px; height: 22px; color: var(--error); }
.compat-no p { margin-top: 14px; color: var(--acero); }
.compat-no .caveat { font-size: 0.875rem; }

/* ── FAQ ── */
.faq { padding: var(--sec) var(--pad-r) var(--sec) var(--pad-l); }
.faq-grid { margin-top: clamp(28px, 3vw, 48px); display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(24px, 4vw, 72px); border-top: 1px solid var(--grafito); }
.faq details { border-bottom: 1px solid var(--linea); }
.faq summary { position: relative; display: block; padding: 20px 44px 20px 0; font-size: 1.125rem; font-weight: 700; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 0; top: 14px; width: 32px; height: 32px; display: grid; place-items: center; font: 500 1.25rem/1 var(--f-mono); background: var(--niebla); border-radius: 2px; }
.faq details[open] summary::after { content: '−'; background: var(--senal); }
.faq details p { padding: 0 0 20px; color: var(--acero); max-width: 62ch; }

/* ── cotización ── */
.quote { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 96px); padding: var(--sec) var(--pad-r) var(--sec) var(--pad-l); background: var(--niebla); border-top: 1px solid var(--linea); align-items: start; }
.quote-side { position: sticky; top: calc(var(--hdr) + env(safe-area-inset-top) + 24px); }
.est { margin-top: 28px; background: var(--blanco); border: 1px solid var(--grafito); border-radius: var(--r-box); }
.est h3 { padding: 14px 18px; font: 600 0.75rem/1 var(--f-mono); text-transform: uppercase; letter-spacing: 0.06em; border-bottom: 1px solid var(--linea); }
.est dl > div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 18px; border-bottom: 1px solid var(--linea); }
.est dt { color: var(--acero); }
.est dd { font-weight: 700; text-align: right; }
.est-price { background: var(--grafito); color: var(--blanco); }
.est-price dt { color: #b9bec7 !important; }
.est-price .mono { font-size: 1.75rem; color: var(--senal); }
.est-price small { color: #b9bec7; margin-left: 2px; }
.est-note { padding: 12px 18px; font-size: 0.8125rem; color: var(--acero); }

.quote-form { background: var(--blanco); border: 1px solid var(--linea); border-radius: var(--r-box); padding: clamp(18px, 2.4vw, 36px); }
.qgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.fld { display: grid; gap: 6px; align-content: start; min-width: 0; border: 0; padding: 0; margin: 0; }
.fld-wide { grid-column: 1 / -1; }
.fld label, .fld legend { font-weight: 600; font-size: 0.9375rem; padding: 0; }
.req { font-weight: 400; color: var(--gris); font-size: 0.8125rem; }
.fld input:not([type='checkbox']), .fld select, .fld textarea {
  width: 100%; min-height: 50px; padding: 12px 14px;
  font-size: 16px; background: var(--blanco); border: 1px solid #c3c8cf; border-radius: var(--r-btn);
  -webkit-appearance: none; appearance: none;
}
.fld select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2316181d' stroke-width='2'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
.fld textarea { min-height: 120px; resize: vertical; }
.fld input:focus, .fld select:focus, .fld textarea:focus { outline: none; border-color: var(--grafito); box-shadow: 0 0 0 3px var(--senal-suave); }
.fld-hint { font-size: 0.8125rem; color: var(--gris); }
.fld-err { font-size: 0.875rem; font-weight: 600; color: var(--error); }
.fld.is-bad input, .fld.is-bad select, .fld.is-bad textarea { border-color: var(--error); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border: 1px solid #c3c8cf; border-radius: var(--r-btn); background: var(--niebla); font-weight: 600; font-size: 0.9375rem; }
.chip input:checked + span { background: var(--grafito); border-color: var(--grafito); color: var(--blanco); }
.chip input:focus-visible + span { outline: 3px solid var(--senal); outline-offset: 2px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-weight: 400 !important; }
.check input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--grafito); flex: none; }
.check a { font-weight: 600; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-alert { margin-top: 18px; padding: 12px 0; font-weight: 600; color: var(--error); }
.qsubmit { margin-top: 22px; width: 100%; }
.qsubmit[disabled] { opacity: 0.7; cursor: progress; }
.qdone { padding: 8px 0; }
.qdone h3 { font-size: 1.75rem; font-weight: 800; font-stretch: 110%; }
.qdone p { margin-top: 10px; color: var(--acero); }
.qdone-ref b { color: var(--grafito); }
.qdone .btn { margin-top: 20px; }

/* ── pie (claro) ── */
.ftr { padding: clamp(48px, 5vw, 80px) var(--pad-r) calc(24px + env(safe-area-inset-bottom)) var(--pad-l); border-top: 1px solid var(--grafito); }
.ftr-in { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; }
.ftr-brand p { margin-top: 14px; color: var(--acero); max-width: 34ch; }
.ftr-col h2 { font: 600 0.75rem/1 var(--f-mono); text-transform: uppercase; letter-spacing: 0.06em; color: var(--acero); }
.ftr-col ul { margin-top: 12px; }
.ftr-col a:not(.btn) { display: inline-block; padding: 7px 0; text-decoration: none; font-weight: 600; }
.ftr-col a:not(.btn):hover { color: var(--senal-hondo); }
.ftr-col p { margin-top: 12px; color: var(--acero); }
.ftr-col .btn { margin-top: 14px; }
.ftr-legal { margin-top: 40px; padding-top: 18px; border-top: 1px solid var(--linea); font-size: 0.8125rem; color: var(--gris); }

/* ── barra inferior (celular) ── */
.qbar { display: none; }

/* ── responsive ── */
@media (max-width: 1180px) {
  .hdr-nav { display: none; }
  .flist-grid { grid-template-columns: 1fr 1fr; }
  .compat { grid-template-columns: 1fr 1fr; }
  .compat-head { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  :root { --hdr: 60px; }
  .hdr-in { gap: 12px; }
  .hdr-cta { display: none; }
  .hdr-menu { display: grid; }
  .lang a { min-width: 40px; height: 44px; }
  .brand-name { font-size: 1.125rem; }
  .brand-mark { width: 32px; height: 32px; }

  .hero { grid-template-columns: minmax(0, 1fr); grid-template-areas: "copy" "media"; padding-top: 20px; }

  .ptable, .ptable tbody, .ptable tr, .ptable th, .ptable td { display: block; width: 100%; }
  .ptable { border: 0; background: transparent; }
  .ptable thead { display: none; }
  .ptable .prow { margin-bottom: 12px; background: var(--blanco); border: 1px solid var(--grafito); border-radius: var(--r-box); }
  .ptable .prow.is-current { background: var(--senal-suave); }
  .ptable tbody th { padding: 16px 16px 10px; border-top: 0; }
  .ptable td { display: grid; grid-template-columns: 42% 1fr; gap: 12px; padding: 10px 16px; border-top: 1px solid var(--linea); }
  .ptable td::before { content: attr(data-label); font: 500 0.75rem/1.3 var(--f-mono); text-transform: uppercase; color: var(--gris); }
  .ptable td.prow-act { display: block; padding: 12px 16px 16px; }
  .ptable td.prow-act .btn { width: 100%; }
  .ptable td.prow-customtext { display: block; }
  .ptable td.prow-customtext::before { content: none; }
  .prow-price { font-size: 1.125rem; }

  .curve { grid-template-columns: 1fr; }
  .curve-rules > div { grid-template-columns: 110px 1fr; }

  .demo-main { grid-template-columns: 1fr; }
  .demo-phone { order: -1; padding: 24px 0; }
  .acts { grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 20px; }
  .act { min-height: 56px; padding: 10px; justify-items: center; text-align: center; }
  .act-text { display: none; }
  .act-name { font-size: 1rem; }
  .act.is-on .act-name::after { display: none; }
  .act-live { display: block; margin-top: 12px; min-height: 3em; color: var(--acero); }

  .servers-grid, .how { grid-template-columns: 1fr; }
  .uses-grid { grid-template-columns: 1fr 1fr; }
  .faq-grid { grid-template-columns: 1fr; }
  .quote { grid-template-columns: 1fr; }
  .quote-side { position: static; }
  .ftr-in { grid-template-columns: 1fr 1fr; }
  .ftr-brand { grid-column: 1 / -1; }

  .qbar {
    position: fixed; z-index: 40; left: 0; right: 0; bottom: 0;
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 10px var(--pad-r) calc(10px + env(safe-area-inset-bottom)) var(--pad-l);
    background: var(--blanco); border-top: 1px solid var(--grafito);
    transform: translateY(110%); transition: transform 0.25s var(--ease);
  }
  .qbar[hidden] { display: none; }
  .qbar.is-on { transform: none; }
  .qbar-est { display: flex; align-items: baseline; gap: 4px; min-width: 0; }
  .qbar-est .mono { font-size: 1.375rem; font-weight: 700; }
  .qbar-est small { color: var(--acero); }
  .qbar-plan { margin-left: 8px; font-weight: 700; color: var(--acero); }
  .qbar .btn { flex: none; }
  body.has-qbar .ftr { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
}

@media (max-width: 560px) {
  .cfg-top { padding: 16px; }
  .cfg-count { width: 100%; justify-content: space-between; }
  .stepper { flex: none; }
  .stepper input { width: 84px; }
  .cfg-range { padding: 16px 16px 4px; }
  .sopt { grid-template-columns: 22px 1fr auto; row-gap: 2px; padding: 10px 16px; }
  .sopt input { grid-row: span 2; }
  .sopt-spec { grid-column: 2; grid-row: 2; }
  .sopt-range { display: none; }
  .sopt-price { grid-column: 3; grid-row: 1 / span 2; }
  .cfg-total { grid-template-columns: 1fr; gap: 8px; padding: 14px 16px; }
  .cfg-total-side { justify-items: start; text-align: left; }
  .cfg-total-v .mono { font-size: 2.25rem; }
  .cfg-act { padding: 0 16px 16px; }
  .ptable td.prow-moves { max-width: none; }
  .cfg-act .btn { flex: 1 1 100%; }
  .hero-title { font-stretch: 112%; }
  .r2-host { display: none; }
  .fd-id { display: none; }
  .qgrid { grid-template-columns: 1fr; }
  .specs > div { grid-template-columns: 1fr; gap: 4px; }
  .curve-rules > div { grid-template-columns: 1fr; gap: 4px; }
  .compat { grid-template-columns: 1fr; }
  .uses-grid { gap: 16px 12px; }
  .use h3 { font-size: 1.0625rem; }
  .use p { font-size: 0.9375rem; }
  .vb span { height: 38px; font-size: 0.75rem; }
  .ftr-in { grid-template-columns: 1fr; }
  .flist-grid { grid-template-columns: 1fr; }
  .phone { width: min(280px, 70vw); }
  .g-xt { font-size: 28px; }
  .g-zl { display: none; }
  .g-yt { display: none; }
  .g-minor, .t-minor { display: none; }
  .g-line { stroke-width: 5; }
  .g-line.is-on { stroke-width: 8; }
  .g-pl { font-size: 26px; }
  .g-dot { r: 12; }
  .curve-fig { padding: 12px 8px 10px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}


/* ── inicio: botones y precios de entrada ── */
.hero-act { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.hero-prices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 28px; border-top: 1px solid var(--grafito); }
.hero-prices li { display: grid; gap: 4px; padding: 14px 16px 0 0; }
.hero-prices li + li { padding-left: 16px; border-left: 1px solid var(--linea); }
.hp-name { font-size: 1.125rem; font-weight: 800; font-stretch: 110%; }
.hp-price { font-size: 1rem; font-weight: 700; }
.hp-range { font-size: 0.75rem; color: var(--acero); }
@media (min-width: 901px) {
  .fleet { --u: 0.92cqw; }
}

/* ── configurador + tabla de precios ── */
.pconf { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(20px, 3vw, 48px); margin-top: clamp(28px, 3vw, 48px); align-items: start; }
.pconf .cfg { background: var(--blanco); }
.pm-wrap { background: var(--blanco); border: 1px solid var(--grafito); border-radius: var(--r-box); overflow: hidden; }
.pm-title { padding: 14px 18px; font-size: 1.125rem; font-weight: 800; font-stretch: 110%; border-bottom: 1px solid var(--linea); }
.pm { width: 100%; border-collapse: collapse; font-family: var(--f-mono); font-size: 0.9375rem; font-variant-numeric: tabular-nums; }
.pm th, .pm td { padding: 9px 18px; text-align: right; border-bottom: 1px solid var(--linea); white-space: nowrap; }
.pm thead th { font: 800 0.9375rem/1.2 var(--f-sans); font-stretch: 110%; color: var(--grafito); background: var(--niebla); }
.pm th:first-child, .pm td:first-child { text-align: left; }
.pm tbody th { font-weight: 500; color: var(--acero); }
.pm tbody tr.pm-live th, .pm tbody tr.pm-live td { background: var(--grafito); color: var(--blanco); font-weight: 700; border-bottom-color: var(--grafito); }
.pm tbody tr.pm-live td { color: var(--senal); }
.pm-live th small { font: 500 0.75rem/1 var(--f-mono); color: #b9bec7; }
.pm-flat { background: var(--senal-suave); font-weight: 700; }
.pm-na { color: #b9bec7; }
.pm tr.is-near th, .pm tr.is-near td:not(.pm-na) { color: var(--grafito); font-weight: 700; }
.pm tr.is-near th::before { content: ''; display: inline-block; width: 8px; height: 8px; margin-right: 8px; background: var(--senal); vertical-align: 1px; }
.pm-note { display: flex; align-items: center; gap: 8px; padding: 12px 18px; font-size: 0.8125rem; color: var(--acero); }
.pm-note i { width: 14px; height: 14px; background: var(--senal-suave); border: 1px solid #ffc9b2; flex: none; }

@media (max-width: 1180px) {
  .pconf { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .hero-prices { grid-template-columns: 1fr; }
  .hero-prices li { grid-template-columns: 1fr auto; padding: 12px 0; border-bottom: 1px solid var(--linea); }
  .hero-prices li + li { padding-left: 0; border-left: 0; }
  .hp-range { grid-column: 1 / -1; }
  .hero-act .btn { flex: 1 1 100%; }
  .pm th, .pm td { padding: 9px 10px; font-size: 0.875rem; }
  .pm-title, .pm-note { padding-left: 12px; padding-right: 12px; }
}


/* ── inicio: captura de producto (consola + celular) ── */
.shot { position: relative; container-type: inline-size; padding: 0 0 calc(7cqw) 9cqw; }
.win { background: var(--blanco); border: 1px solid var(--grafito); border-radius: 8px; overflow: hidden; }
.win-bar { display: flex; align-items: center; gap: 7px; height: max(28px, 5.2cqw); padding: 0 max(10px, 2cqw); background: var(--niebla); border-bottom: 1px solid var(--linea); }
.win-bar > i { width: max(8px, 1.4cqw); height: max(8px, 1.4cqw); border-radius: 50%; background: #d1d5db; }
.win-bar > i:first-child { background: var(--senal); }
.win-url { display: inline-flex; align-items: center; gap: 6px; margin: 0 auto; padding: 3px 12px; font-size: max(10px, 1.55cqw); color: var(--acero); background: var(--blanco); border: 1px solid var(--linea); border-radius: 4px; }
.win-url svg { width: max(10px, 1.6cqw); height: max(10px, 1.6cqw); color: var(--acero); }

.con { font-size: max(10px, 1.6cqw); }
.con-top { display: flex; align-items: center; gap: 2.4cqw; padding: 1.8cqw 2.6cqw; border-bottom: 1px solid var(--linea); }
.con-top img { width: max(18px, 3.2cqw); height: max(18px, 3.2cqw); }
.con-nav { display: flex; gap: 0.6cqw; }
.con-nav b { padding: 0.8cqw 1.4cqw; font-weight: 600; color: var(--acero); border-radius: 3px; white-space: nowrap; }
.con-nav b.is-on { background: var(--grafito); color: var(--blanco); }
.con-search { margin-left: auto; min-width: 20cqw; padding: 0.8cqw 1.4cqw; color: var(--gris); border: 1px solid var(--linea); border-radius: 3px; }
.con-user { display: grid; place-items: center; width: 3.8cqw; height: 3.8cqw; min-width: 20px; min-height: 20px; border-radius: 50%; background: var(--senal-suave); color: var(--senal-hondo); font-weight: 700; font-size: 0.9em; }
.con-head { display: flex; align-items: center; gap: 2.4cqw; padding: 2.2cqw 2.6cqw 1.6cqw; }
.con-title { font-size: 1.7em; font-weight: 800; font-stretch: 110%; }
.con-stats { display: flex; gap: 2cqw; color: var(--acero); font-size: 0.92em; }
.con-stats b { color: var(--grafito); }
.con-btn { margin-left: auto; padding: 0.9cqw 1.8cqw; background: var(--senal); color: var(--grafito); font-weight: 700; border-radius: 3px; white-space: nowrap; }
.con-t { width: 100%; border-collapse: collapse; }
.con-t th { padding: 1cqw 2.6cqw; text-align: left; font: 500 0.85em/1 var(--f-mono); text-transform: uppercase; letter-spacing: 0.04em; color: var(--gris); background: var(--niebla); border-top: 1px solid var(--linea); border-bottom: 1px solid var(--linea); }
.con-t td { padding: 1.25cqw 2.6cqw; border-bottom: 1px solid var(--linea); vertical-align: middle; white-space: nowrap; }
.con-t tr:last-child td { border-bottom: 0; }
.sh-id { display: block; font-weight: 700; }
.sh-model { display: block; margin-top: 0.3cqw; color: var(--gris); font-size: 0.9em; }
.sh-chip { padding: 0.35cqw 1cqw; background: var(--niebla); border: 1px solid var(--linea); border-radius: 3px; color: var(--acero); font-size: 0.92em; }
.sh-bat { display: inline-block; width: 7cqw; height: max(4px, 0.8cqw); margin-right: 1cqw; background: var(--linea); vertical-align: middle; }
.sh-bat i { display: block; height: 100%; background: var(--grafito); }
.sh-bat.is-low i { background: var(--senal); }
.sh-pct { color: var(--acero); font-size: 0.92em; }
.sh-seen { color: var(--acero); font-size: 0.92em; }
.sh-st { display: inline-flex; align-items: center; gap: 0.8cqw; font-weight: 600; }
.sh-st i { width: max(6px, 1cqw); height: max(6px, 1cqw); border-radius: 50%; background: var(--gris); }
.sh-online i { background: #16a34a; }
.sh-kiosk i { background: var(--senal); }
.sh-locked { color: var(--senal-hondo); }
.sh-locked i { background: var(--senal-hondo); border-radius: 1px; }
.sh-offline { color: var(--gris); }
.con-t tr.is-flash td { background: var(--senal-suave); transition: background-color 0.2s; }
.con-t td { transition: background-color 1.2s; }

.shot-phone { position: absolute; left: 0; bottom: 0; width: 23cqw; aspect-ratio: 9 / 18.5; padding: 1.1cqw; background: var(--grafito); border-radius: 3.6cqw; }
.sp-screen { position: relative; height: 100%; display: grid; justify-items: center; align-content: center; gap: 1.6cqw; padding: 2cqw; text-align: center; background: #f2f3f5; border-radius: 2.6cqw; }
.sp-time { position: absolute; top: 1.6cqw; left: 2.2cqw; font-size: max(9px, 1.4cqw); font-weight: 700; color: var(--grafito); }
.sp-app { width: 8cqw; height: 8cqw; border-radius: 2cqw; background: var(--senal); position: relative; }
.sp-app::before { content: ''; position: absolute; inset: 2.2cqw 1.8cqw; border-top: 0.5cqw solid var(--grafito); border-bottom: 0.5cqw solid var(--grafito); }
.sp-app::after { content: ''; position: absolute; left: 1.8cqw; right: 1.8cqw; top: calc(50% - 0.25cqw); height: 0.5cqw; background: var(--grafito); }
.sp-name { font-size: max(11px, 1.9cqw); font-weight: 800; color: var(--grafito); }
.sp-text { font-size: max(9px, 1.3cqw); color: var(--acero); line-height: 1.35; }

.shot-toast { position: absolute; right: 3cqw; bottom: 3.2cqw; display: flex; align-items: center; gap: 1.4cqw; max-width: 64cqw; padding: 1.6cqw 2.2cqw; font-size: max(11px, 1.65cqw); font-weight: 600; color: var(--blanco); background: var(--grafito); border-radius: 4px; }
.st-ico { display: grid; place-items: center; width: max(18px, 3cqw); height: max(18px, 3cqw); border-radius: 50%; background: var(--senal); color: var(--grafito); flex: none; }
.st-ico .i { width: 60%; height: 60%; }
.shot-toast.is-in { animation: toastIn 0.45s var(--ease) both; }
@keyframes toastIn { from { opacity: 0; transform: translateY(10px); } }

@media (max-width: 700px) {
  .shot { padding-left: 0; padding-bottom: 15cqw; }
  .shot-phone { display: none; }
  .con { font-size: max(9px, 2.3cqw); }
  .con-search, .con-stats span:nth-child(3), .con-t th:nth-child(2), .con-t td:nth-child(2), .con-t th:nth-child(4), .con-t td:nth-child(4) { display: none; }
  .con-nav b:nth-child(n + 4) { display: none; }
  .sh-bat { width: 10cqw; }
  .shot-toast { left: 3cqw; right: 3cqw; max-width: none; bottom: 2cqw; }
}
