/* ==========================================================================
   BRAMUlab Web · prototipo visual local
   Mobile first. Sin frameworks. Paleta e identidad: docs/BRAMUlab/Identidad_Visual
   ========================================================================== */

@font-face {
  font-family: "Inter";
  src: url("../assets/fonts/Inter-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink-0: #03070D;
  --ink-1: #050A12;
  --ink-2: #09131F;
  --ink-3: #0D1A2A;
  --ink-4: #112238;
  --ink-5: #152B43;

  --lime: #95FF19;
  --lime-deep: #66B30F;
  --blue: #199FFF;
  --blue-deep: #0D6FCC;
  --white: #F8FAFC;
  --text-2: #9AA7B5;
  --text-3: #7B8896;
  --edge: #B7D3EB;
  --line: rgba(183, 211, 235, .14);
  --line-strong: rgba(183, 211, 235, .26);

  --gutter: 22px;
  --max: 1200px;
  --radius: 16px;
  --ease: cubic-bezier(.22, .8, .24, 1);
  --header-h: 60px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); }
body {
  margin: 0;
  background: var(--ink-1);
  color: var(--white);
  font: 400 16px/1.55 "Inter", system-ui, -apple-system, "SF Pro Text", "Segoe UI", sans-serif;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul, ol { margin: 0; padding: 0; }
ul, ol { list-style: none; }
button { font: inherit; }
em { font-style: normal; }

:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: max(var(--gutter), env(safe-area-inset-left)); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--lime); color: var(--ink-1); padding: 10px 14px; border-radius: 10px; font-weight: 700; }
.skip:focus { left: 8px; }

/* ---------- Tipografía base ---------- */
.eyebrow {
  font-size: 11.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--lime); margin-bottom: 16px;
  display: flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.eyebrow--dim { color: var(--text-2); }

.h2 { font-size: clamp(27px, 7.4vw, 48px); line-height: 1.06; font-weight: 800; letter-spacing: -.025em; text-wrap: balance; }
.h2--xl { font-size: clamp(31px, 8.4vw, 68px); letter-spacing: -.03em; line-height: 1.02; }
.h2--lines span { display: block; }
.h2--lines { font-size: clamp(23px, 6.3vw, 46px); }
.flow .section-head { margin-bottom: 18px; }
.h3 { font-size: clamp(18px, 4.8vw, 25px); line-height: 1.18; font-weight: 700; letter-spacing: -.015em; }
.h3--lg { font-size: clamp(24px, 6.4vw, 36px); font-weight: 800; letter-spacing: -.025em; }
.accent { color: var(--lime); }
.lead { font-size: clamp(16px, 4vw, 19px); line-height: 1.55; color: #C9D3DE; max-width: 36em; margin-top: 18px; }
.lead--c { margin-inline: auto; text-align: center; }
.demo-note { margin-top: 12px; font-size: 12.5px; line-height: 1.4; letter-spacing: .01em; color: var(--text-3); }
.note { font-size: 14.5px; line-height: 1.5; color: var(--text-2); margin-top: 20px; max-width: 34em; padding-left: 14px; border-left: 2px solid var(--line-strong); }

.section-head { margin-bottom: 30px; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 26px; border-radius: 14px;
  font-weight: 800; font-size: 14px; letter-spacing: .08em; text-transform: uppercase;
  border: 1.5px solid transparent; cursor: pointer; white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .2s, border-color .2s;
  -webkit-tap-highlight-color: transparent;
}
.btn--primary { background: var(--lime); color: var(--ink-1); box-shadow: 0 8px 30px -8px rgba(149, 255, 25, .55); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 14px 36px -8px rgba(149, 255, 25, .6); }
.btn--primary:active { transform: translateY(0) scale(.98); }
.btn--ghost { background: rgba(5, 10, 18, .35); color: var(--white); border-color: var(--line-strong); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.btn--ghost:hover { border-color: var(--white); transform: translateY(-2px); }
.btn--ghost:active { transform: scale(.98); }

.pill {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px; border-radius: 999px;
  font-size: 13px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  border: 1.5px solid var(--line-strong); background: rgba(5, 10, 18, .4);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  transition: border-color .2s, background-color .2s, color .2s;
}
.pill:hover { border-color: var(--lime); color: var(--lime); }
.pill:active { transform: scale(.97); border-color: var(--lime); color: var(--lime); transition-duration: .08s; }

/* ---------- Barra de progreso + encabezado ---------- */
.progress { position: fixed; inset: 0 0 auto 0; height: 2px; z-index: 60; pointer-events: none; }
.progress span { display: block; height: 100%; width: 100%; background: var(--lime); transform-origin: 0 50%; transform: scaleX(0); box-shadow: 0 0 12px rgba(149, 255, 25, .6); }

.topbar { position: fixed; inset: 0 0 auto 0; z-index: 50; height: calc(var(--header-h) + env(safe-area-inset-top)); padding-top: env(safe-area-inset-top); transition: background-color .35s, border-color .35s; border-bottom: 1px solid transparent; }
.topbar::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; background: rgba(5, 10, 18, .72); -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2); transition: opacity .35s; }
.topbar.is-solid::before { opacity: 1; }
.topbar.is-solid { border-bottom-color: var(--line); }
.topbar__in { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 20px; width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: max(var(--gutter), env(safe-area-inset-left)); }
.topbar__logo { display: block; opacity: 0; transform: translateY(6px); transition: opacity .35s, transform .35s var(--ease); pointer-events: none; }
.topbar.is-solid .topbar__logo { opacity: 1; transform: none; pointer-events: auto; }
.topbar__logo img { height: 17px; width: auto; }
.topbar__nav { display: none; }
.topbar__in .pill { margin-left: auto; }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; overflow: hidden; isolation: isolate; background: var(--ink-0); }
.hero__media { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.hero__img { position: absolute; inset: -4% 0 0 0; width: 100%; height: 108%; object-fit: cover; object-position: 50% 60%; filter: brightness(1.18) saturate(1.1); transform: scale(1.06); will-change: transform; animation: hero-in 1.6s var(--ease) backwards; }
@keyframes hero-in { from { opacity: 0; } to { opacity: 1; } }
.hero__shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(to bottom, rgba(3, 7, 13, .85) 0%, rgba(3, 7, 13, .35) 22%, rgba(3, 7, 13, 0) 40%),
    linear-gradient(to top, var(--ink-1) 0%, rgba(5, 10, 18, .86) 20%, rgba(5, 10, 18, .5) 44%, rgba(5, 10, 18, 0) 70%);
}
/* líneas de cancha sutiles que se cruzan sobre la foto */
.hero__lines { position: absolute; inset: 0; opacity: .5; background:
  linear-gradient(115deg, transparent 0 62%, rgba(183, 211, 235, .10) 62.1% 62.4%, transparent 62.5%),
  linear-gradient(115deg, transparent 0 78%, rgba(149, 255, 25, .14) 78.1% 78.35%, transparent 78.4%); }

.hero__in { display: flex; flex-direction: column; justify-content: space-between; gap: 40px; padding-top: calc(var(--header-h) + 34px + env(safe-area-inset-top)); padding-bottom: max(34px, env(safe-area-inset-bottom)); }
.hero__brand { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.hero__logo { width: min(64vw, 250px); height: auto; filter: drop-shadow(0 6px 24px rgba(0, 0, 0, .5)); animation: rise .9s .15s var(--ease) both; }
/* Mismo tratamiento que .welcome-claim de la app: Inter 600, tracking .05em, blanco al 88 %, centrado, sombra suave. */
.hero__claim { margin: 0; font-size: 14.5px; font-weight: 600; line-height: 1.25; letter-spacing: .05em; color: rgba(248, 250, 252, .88); text-align: center; text-shadow: 0 1px 12px rgba(3, 7, 13, .9); animation: rise .9s .35s var(--ease) both; }
.hero__copy { max-width: 640px; }
.hero__title { font-size: clamp(38px, 11.2vw, 76px); line-height: 1.02; font-weight: 800; letter-spacing: -.035em; text-wrap: balance; }
.hero__title em { color: var(--lime); }
.hero__lead { margin-top: 20px; font-size: clamp(17px, 4.5vw, 21px); line-height: 1.5; color: #D5DEE8; max-width: 30em; }
.hero__actions { display: flex; flex-direction: column; align-items: center; gap: 16px; width: 100%; max-width: 420px; margin-top: 28px; }
.hero__cta { display: flex; width: 100%; }
.hero__cta .btn { width: 100%; }
.hero__more { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 10px; font-size: 15px; font-weight: 600; color: var(--white); opacity: .9; }
.hero__more:active { opacity: 1; transform: scale(.98); }
.hero__more svg { animation: nudge 2.2s ease-in-out infinite; color: var(--lime); }
@keyframes nudge { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(5px); } }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* Entrada de palabras del titular (solo con JS) */
.js [data-split] .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.js [data-split] .w > span { display: inline-block; transform: translateY(105%); transition: transform .9s var(--ease); transition-delay: calc(.35s + var(--i) * 70ms); }
.js [data-split].is-in .w > span { transform: none; }
.js [data-rise] { opacity: 0; transform: translateY(16px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(.9s + var(--ri, 0) * 120ms); }
.js .is-loaded [data-rise], .js [data-rise].is-in { opacity: 1; transform: none; }

/* ==========================================================================
   CÓMO FUNCIONA — scroll natural.
   Escritorio: la escena (cancha / captura) queda pegada a un lado mientras los tres textos pasan al lado, cada uno en un
   bloque de la altura de la escena (la escena y su texto siempre quedan centrados entre sí); al terminar el grid, la escena
   sale con el último texto. Móvil: sin elementos fijos; la escena abre el recorrido y cada paso trae su propia captura.
   El paso activo (solo escritorio) es el bloque de texto más cercano al centro de la escena: función pura de la posición.
   ========================================================================== */
.flow { --stage-h: clamp(300px, 42svh, 380px); position: relative; padding: 40px 0 8px; background: var(--ink-2); }
.flow::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 160px; background: linear-gradient(to bottom, var(--ink-1), var(--ink-2)); pointer-events: none; }
.flow .wrap { position: relative; }
.flow__grid { position: relative; }
.stage { position: relative; width: 100%; max-width: 390px; margin-inline: auto; aspect-ratio: 390 / 600; border-radius: 28px; background: none; border: 0; overflow: visible; box-shadow: none; }

/* La escena contiene las demostraciones de la interfaz (css/demos.css); js/main.js decide cuál corre según el paso. */

/* pasos */
.flow__steps { margin-top: 28px; }
.step { padding: 0 0 40px; }
.step + .step { padding-top: 40px; border-top: 1px solid var(--line); }   /* separa cada paso: la captura queda pegada a SU texto */
.step:last-child { padding-bottom: 8px; }
.step__n { display: block; font-size: 14px; font-weight: 800; letter-spacing: .14em; color: var(--lime); margin-bottom: 10px; }
.step p { margin-top: 10px; color: #C9D3DE; max-width: 30em; }
/* móvil: cada paso trae su captura (la misma imagen de la escena de escritorio) */

/* ==========================================================================
   BANDA
   ========================================================================== */
.marquee { overflow: hidden; padding: 30px 0; background: var(--ink-1); border-block: 1px solid var(--line); }
.marquee__track { display: flex; align-items: center; gap: 28px; width: max-content; animation: marquee 48s linear infinite; }
.marquee span { font-size: clamp(36px, 10vw, 84px); font-weight: 900; letter-spacing: -.03em; line-height: 1; text-transform: uppercase; color: var(--white); }
.marquee span.o { color: transparent; -webkit-text-stroke: 1.5px rgba(248, 250, 252, .55); }
.marquee b { flex: none; width: 12px; height: 12px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 14px rgba(149, 255, 25, .7); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ==========================================================================
   QUÉ OBTENÉS — lista compacta (ícono + título + descripción) junto al Home de BRAMUlab en un teléfono.
   Escritorio: escena fija CORTA, el foco avanza con el scroll vertical y con el mouse. Móvil: scroll vertical natural; las categorías son un carrusel horizontal
   (swipe + avance automático) que enfoca la tarjeta correspondiente del Home.
   js/main.js calcula el zoom y el aro; js/demos.js anima cada tarjeta del Home.
   ========================================================================== */
.get { --get-step: 12svh; padding: 64px 0 0; background: radial-gradient(700px 400px at 0% 20%, rgba(25, 159, 255, .12), transparent 70%), var(--ink-1); }
.get__grid { display: grid; gap: 8px; }
.get__head { margin-bottom: 0; }
.get__grid > *, .get__scroll, .get__pin, .get__list { min-width: 0; }
.get__scroll { position: relative; }
.get__pin { display: flex; flex-direction: column; gap: 22px; padding-bottom: 8px; }
.get__phone-wrap { order: -1; display: flex; flex-direction: column; align-items: center; }
.phone { position: relative; width: min(82vw, 300px); height: clamp(300px, 42svh, 390px); padding: 5px 5px 0; border-radius: 40px 40px 0 0;
  background: linear-gradient(160deg, #1D3350, #0B1626); border: 1px solid var(--line-strong); border-bottom: 0;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .9), 0 0 70px -24px rgba(25, 159, 255, .28); }
.phone__screen { position: relative; width: 100%; height: 100%; overflow: hidden; border-radius: 35px 35px 0 0; background: #01050E; }

/* el teléfono recortado de móvil no muestra la barra inferior */
.get .phone__nav { display: none; }
/* móvil: carrusel horizontal de categorías, con la siguiente tarjeta asomando; el scroll vertical de la página queda libre */
.get__items { position: relative; display: flex; gap: 12px; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch;
  margin-inline: calc(-1 * var(--gutter)); padding: 4px var(--gutter) 6px; scroll-padding-inline: var(--gutter); scrollbar-width: none; touch-action: pan-x pan-y; }
.get__items::-webkit-scrollbar { display: none; }
.get__item { flex: 0 0 80%; max-width: 340px; scroll-snap-align: start; display: flex; align-items: flex-start; gap: 14px; padding: 16px; border-radius: 18px; border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(17, 34, 56, .75), rgba(9, 19, 31, .75)); opacity: .55; transition: opacity .4s var(--ease), border-color .3s, box-shadow .3s; }
.get__item.is-active { opacity: 1; border-color: rgba(149, 255, 25, .45); }
.get__item.is-active .get__ico { border-color: rgba(149, 255, 25, .6); box-shadow: 0 0 18px rgba(149, 255, 25, .22); }
.get__ico { flex: none; width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; color: var(--lime);
  background: linear-gradient(145deg, var(--ink-3), var(--ink-2)); border: 1px solid var(--line-strong); transition: border-color .3s, box-shadow .3s; }
.get__ico svg { width: 22px; height: 22px; }
.get__item .h3 { font-size: 20px; }
.get__item p { color: #C9D3DE; margin-top: 4px; max-width: 30em; font-size: 15.5px; line-height: 1.45; }
.get__dots { display: flex; justify-content: center; gap: 8px; margin-top: 2px; }
.get__dots i { display: block; width: 8px; height: 8px; border-radius: 8px; background: var(--line-strong); transition: background-color .3s, width .35s var(--ease); }
.get__dots i.is-on { width: 26px; background: var(--lime); }
.get__note { display: none; }
/* sin JavaScript: teléfono y todas las categorías en lista */
html:not(.js) .get__items { display: block; overflow: visible; margin-inline: 0; padding-inline: 0; }
html:not(.js) .get__item { max-width: none; opacity: 1; margin-bottom: 12px; }
html:not(.js) .get__dots { display: none; }

/* ==========================================================================
   INTELLIGENCE
   ========================================================================== */
.intel { position: relative; padding: 88px 0; overflow: hidden; isolation: isolate; background: var(--ink-0); text-align: center; }
.intel__glow { position: absolute; inset: -20% -10% auto; height: 80%; z-index: -1; background: radial-gradient(closest-side, rgba(149, 255, 25, .13), transparent 70%); filter: blur(10px); }
.intel .eyebrow { justify-content: center; }
.intel .eyebrow::before { display: none; }
.intel__mark { display: flex; flex-direction: column; align-items: center; gap: 8px; margin-bottom: 20px; }
.intel__mark .eyebrow { margin: 0; }
.intel__icon { position: relative; width: 76px; height: 76px; border-radius: 22px; display: grid; place-items: center; color: var(--lime); background: linear-gradient(160deg, rgba(21, 43, 67, .9), rgba(9, 19, 31, .9)); border: 1px solid rgba(149, 255, 25, .35); box-shadow: 0 0 0 6px rgba(149, 255, 25, .05), 0 0 42px rgba(149, 255, 25, .22); }
.intel__icon svg { width: 40px; height: 40px; }
.intel__icon::after { content: ""; position: absolute; inset: -10px; border-radius: 30px; border: 1px solid rgba(149, 255, 25, .16); animation: intel-halo 3.6s ease-in-out infinite; }
.intel__sub { font-size: 14px; color: var(--muted, #9FB0C2); letter-spacing: .01em; }
@keyframes intel-halo { 0%, 100% { opacity: .35; transform: scale(.96); } 50% { opacity: 1; transform: scale(1.04); } }
@media (prefers-reduced-motion: reduce) { .intel__icon::after { animation: none; opacity: .6; } }
.intel__cards { display: grid; gap: 14px; margin-top: 48px; text-align: left; }
.insight { padding: 22px 22px 24px; border-radius: 18px; background: linear-gradient(160deg, rgba(17, 34, 56, .75), rgba(9, 19, 31, .75)); border: 1px solid var(--line); position: relative; overflow: hidden; }
.insight::before { content: ""; position: absolute; left: 0; top: 18px; bottom: 18px; width: 3px; border-radius: 3px; background: var(--lime); }
.insight__tag { display: block; font-size: 13px; font-weight: 800; letter-spacing: .04em; color: var(--lime); margin-bottom: 8px; padding-left: 8px; }
.insight p { color: #C9D3DE; padding-left: 8px; font-size: 15px; line-height: 1.5; }

/* ==========================================================================
   NIVEL (discreto)
   ========================================================================== */
.level { padding: 56px 0; background: var(--ink-1); border-bottom: 1px solid var(--line); }
.level__in { display: grid; gap: 26px; max-width: 880px; }
.level__line { height: 2px; background: var(--line); border-radius: 2px; position: relative; overflow: hidden; }
.level__line span { position: absolute; inset: 0; background: linear-gradient(90deg, var(--lime-deep), var(--lime)); transform-origin: 0 50%; transform: scaleX(.18); transition: transform 1.6s var(--ease); }
.level__in.is-in .level__line span { transform: scaleX(.62); }
.level__p { margin-top: 12px; color: var(--text-2); max-width: 34em; font-size: 16px; }

/* ==========================================================================
   EMPEZAR
   ========================================================================== */
.start { padding: 76px 0 60px; background: radial-gradient(800px 500px at 100% 0%, rgba(13, 111, 204, .18), transparent 65%), linear-gradient(to bottom, var(--ink-1), var(--ink-2)); }
.install { display: grid; gap: 16px; margin-top: 8px; }
.install__col { padding: 26px 22px; border-radius: 20px; background: linear-gradient(160deg, rgba(17, 34, 56, .6), rgba(9, 19, 31, .6)); border: 1px solid var(--line); }
.steps-mini { margin-top: 18px; display: grid; gap: 16px; }
.steps-mini li { display: grid; grid-template-columns: 30px 1fr; gap: 14px; align-items: start; color: #C9D3DE; font-size: 15px; line-height: 1.5; }
.steps-mini li b { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 800; background: var(--lime); color: var(--ink-1); }
.steps-mini strong { color: var(--white); font-weight: 700; }
.steps-mini svg { display: inline-block; vertical-align: -3px; color: var(--lime); margin-inline: 2px; }

.faq { margin-top: 56px; max-width: 820px; }
.faq__title { margin-bottom: 14px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-of-type { border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 2px; font-weight: 700; font-size: 16px; -webkit-tap-highlight-color: transparent; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover, .faq summary:active { color: var(--lime); }
.faq summary:active { background: rgba(149, 255, 25, .05); }
.chev { flex: none; width: 22px; height: 22px; position: relative; }
.chev::before, .chev::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: var(--lime); border-radius: 2px; transform: translate(-50%, -50%); transition: transform .35s var(--ease); }
.chev::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq details[open] .chev::after { transform: translate(-50%, -50%) rotate(0); }
.faq__link { color: var(--lime); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.faq details p { padding: 0 2px 22px; color: var(--text-2); max-width: 38em; animation: faq .45s var(--ease); }
@keyframes faq { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ==========================================================================
   QUIÉN ESTÁ DETRÁS
   ========================================================================== */
.about { padding: 76px 0; background: var(--ink-2); border-top: 1px solid var(--line); }
.about__in { max-width: 820px; }
.about__text { margin-top: 24px; display: grid; gap: 16px; font-size: clamp(17px, 4.2vw, 21px); line-height: 1.55; color: #D5DEE8; }
.about__text p:last-child { color: var(--white); font-weight: 600; }

/* ==========================================================================
   CIERRE
   ========================================================================== */
.final { position: relative; padding: 96px 0 104px; overflow: hidden; isolation: isolate; text-align: center; background: var(--ink-0); }
.final__media { position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(to bottom, var(--ink-2), rgba(3, 7, 13, .55) 30%, rgba(3, 7, 13, .8)),
  url("../assets/img/hero-desktop.jpg") center 62% / cover no-repeat; opacity: .9; }
.final__cta { display: flex; flex-direction: column; gap: 12px; margin: 38px auto 0; max-width: 380px; }

/* ---------- Pie ---------- */
.foot { padding: 52px 0 calc(40px + env(safe-area-inset-bottom)); background: var(--ink-0); border-top: 1px solid var(--line); }
.foot__in { display: grid; gap: 18px; justify-items: start; }
.foot__logo { height: 22px; width: auto; }
.foot__claim { color: var(--text-2); font-size: 15px; }
.foot__links { display: flex; flex-wrap: wrap; gap: 0 24px; font-size: 14px; font-weight: 600; }
.foot__links a { color: #C9D3DE; display: inline-flex; align-items: center; min-height: 44px; }
.foot__links a:active { color: var(--lime); }
.foot__links a:hover { color: var(--lime); }
.foot__ig { gap: 8px; }
.foot__ig svg { flex: none; }
.foot__small { font-size: 13px; color: var(--text-3); }

/* ---------- Reveal genérico (solo con JS) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ==========================================================================
   TABLET / ESCRITORIO
   ========================================================================== */
@media (min-width: 700px) {
  :root { --gutter: 32px; }
  body { font-size: 17px; }
  .final__cta { flex-direction: row; max-width: none; }
  .final__cta .btn { min-width: 240px; }
  .hero__actions { width: fit-content; max-width: none; }
  .hero__cta .btn { min-width: 260px; }
  .final__cta { justify-content: center; }
  .install { grid-template-columns: 1fr 1fr; }
  .intel__cards { grid-template-columns: repeat(3, 1fr); }
}

/* Escritorio / notebooks de 13–15": proporciones contenidas; los monitores grandes se amplían más abajo. */
@media (min-width: 900px) {
  :root { --gutter: 40px; --header-h: 64px; }
  .h2 { font-size: clamp(30px, 3.3vw, 46px); }
  .h2--xl { font-size: clamp(36px, 4.6vw, 62px); }
  .lead { font-size: 18px; margin-top: 16px; }
  .section-head { margin-bottom: 36px; }
  .topbar__nav { display: flex; gap: 28px; margin-inline: auto; font-size: 14px; font-weight: 600; color: #C9D3DE; }
  .topbar__nav a { padding: 8px 0; position: relative; transition: color .2s; }
  .topbar__nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; background: var(--lime); transform: scaleX(0); transform-origin: 0 50%; transition: transform .35s var(--ease); }
  .topbar__nav a:hover { color: var(--white); }
  .topbar__nav a:hover::after { transform: scaleX(1); }
  .topbar__in .pill { margin-left: 0; }
  .topbar__logo img { height: 18px; }

  .hero__img { object-position: 50% 50%; }
  .hero__shade { background:
    linear-gradient(to right, rgba(3, 7, 13, .92) 0%, rgba(3, 7, 13, .7) 34%, rgba(3, 7, 13, .1) 68%, rgba(3, 7, 13, 0) 100%),
    linear-gradient(to top, var(--ink-1) 0%, rgba(5, 10, 18, .6) 16%, rgba(5, 10, 18, 0) 40%),
    linear-gradient(to bottom, rgba(3, 7, 13, .6), rgba(3, 7, 13, 0) 24%); }
  .hero__in { justify-content: center; padding-top: calc(var(--header-h) + 24px); padding-bottom: 64px; gap: 30px; }
  .hero__brand { align-items: flex-start; gap: 10px; padding-bottom: 22px; position: relative; }
  .hero__brand::after { content: ""; position: absolute; left: 0; bottom: 0; width: 44px; height: 2px; border-radius: 2px; background: var(--lime); box-shadow: 0 0 14px rgba(149, 255, 25, .55); }
  .hero__logo { width: 270px; }
  .hero__claim { font-size: 16px; text-align: left; }
  .hero__copy { max-width: 600px; }
  .hero__title { font-size: clamp(40px, min(4.4vw, 8.2vh), 68px); line-height: 1.04; }
  .hero__lead { font-size: 18px; margin-top: 16px; max-width: 28em; }
  .hero__actions { margin-top: 26px; gap: 14px; }

  /* Título + escena + primer paso caben juntos en una pantalla de notebook (≈700 px útiles en adelante). */
  .flow { --stage-h: clamp(360px, calc(100svh - var(--header-h) - 238px), 520px); padding: 28px 0 8px; }
  .h2--lines { font-size: clamp(30px, 3.3vw, 46px); }
  .flow .section-head { margin-bottom: 22px; }
  .flow__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 56px; align-items: start; }
  .flow__stage-wrap { position: sticky; top: calc(var(--header-h) + (100svh - var(--header-h) - var(--stage-h)) / 2); }
  .stage { max-width: none; aspect-ratio: auto; height: var(--stage-h); border-radius: 20px; overflow: hidden; border: 1px solid var(--line);
    background: radial-gradient(260px 200px at 50% 45%, rgba(25, 159, 255, .10), transparent 70%), linear-gradient(to bottom, var(--ink-3), var(--ink-2)); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8); }
  .flow__steps { margin-top: 0; }
  .step, .step + .step { min-height: var(--stage-h); padding: 0; border-top: 0; display: flex; flex-direction: column; justify-content: center; }
  .step:last-child { padding-bottom: 0; }
  .step__demo { display: none; }
  .js .step { opacity: .28; transition: opacity .4s var(--ease); }
  .js .step.is-active { opacity: 1; }
  .step p { font-size: 17px; }

  .get { --get-step: 9svh; padding: 88px 0 56px; --phone-h: clamp(440px, calc(100svh - var(--header-h) - 96px), 650px); }
  .get__grid { gap: 12px; }
  .get__scroll { height: calc(100svh - var(--header-h) + 5 * var(--get-step)); }
  .get__pin { position: sticky; top: var(--header-h); height: calc(100svh - var(--header-h)); padding-bottom: 0; display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 96px; align-items: center; }
  .get__phone-wrap { order: 0; }
  .phone { height: var(--phone-h); width: calc(var(--phone-h) * .49); padding: 5px; border-radius: 46px; border-bottom: 1px solid var(--line-strong); }
  .phone__screen { border-radius: 41px; }
  .get .phone__nav { display: flex; }
  .get__items { display: grid; gap: 6px; overflow: visible; margin-inline: 0; padding: 0; scroll-snap-type: none; touch-action: auto; }
  .get__item { flex: none; max-width: none; background: none; scroll-snap-align: none; align-items: center; padding: 14px 18px; border-radius: 16px; border: 1px solid transparent; cursor: default; pointer-events: auto; opacity: .6; }
  .get__item .h3 { font-size: 19px; }
  .get__item p { font-size: 15px; margin-top: 2px; }
  .get__item:hover { opacity: .9; }
  .get__item.is-active { opacity: 1; background: rgba(149, 255, 25, .06); border-color: rgba(149, 255, 25, .28); }
  .get__item.is-active .get__ico { border-color: rgba(149, 255, 25, .6); box-shadow: 0 0 18px rgba(149, 255, 25, .22); }
  .get__dots { display: none; }
  .get__note { display: block; margin-top: 18px; font-size: 13.5px; }



  .intel { padding: 120px 0; }
  .intel__cards { gap: 16px; margin-top: 52px; }
  .insight { padding: 24px 24px 26px; }

  .level { padding: 72px 0; }
  .level__in { grid-template-columns: 200px 1fr; gap: 48px; align-items: center; margin-inline: auto; }

  .start { padding: 96px 0 72px; }
  .install__col { padding: 28px 28px; }
  .faq { margin-top: 44px; }

  .about { padding: 96px 0; }
  .final { padding: 120px 0 128px; }
  .final__cta { margin-top: 30px; }
  .foot__in { grid-template-columns: 1fr auto; align-items: center; }
  .foot__logo { grid-column: 1; } .foot__claim { grid-column: 1; margin-top: -8px; }
  .foot__links { grid-column: 2; grid-row: 1 / span 2; }
  .foot__small { grid-column: 1 / -1; }
}

/* Monitores grandes: más ancho útil y títulos con más presencia. */
@media (min-width: 1700px) {
  :root { --max: 1360px; }
  body { font-size: 18px; }
  .hero__logo { width: 320px; }
  .hero__copy { max-width: 700px; }
  .hero__title { font-size: clamp(60px, min(4.2vw, 8.4vh), 84px); }
  .hero__lead { font-size: 20px; }
  .h2 { font-size: clamp(42px, 2.9vw, 54px); }
  .h2--xl { font-size: clamp(56px, 4vw, 72px); }
  .lead { font-size: 20px; }
  .flow { --stage-h: clamp(420px, calc(100svh - var(--header-h) - 238px), 580px); }
  .step p { font-size: 18px; }
}

/* Pantallas bajas en horizontal */
@media (max-height: 520px) and (orientation: landscape) {
  .hero { min-height: 560px; }
}

/* ---------- Movimiento reducido: sin desplazamientos ni bucles; los cambios de estado se resuelven con fundidos cortos ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-property: opacity, color, background-color, border-color !important; transition-duration: .3s !important; transition-delay: 0s !important; }
  .js [data-reveal], .js [data-rise] { opacity: 0; transform: none; }
  .js [data-reveal].is-in, .js .is-loaded [data-rise], .js [data-rise].is-in { opacity: 1; }
  .js [data-split] .w > span { transform: none; opacity: 0; }
  .js [data-split].is-in .w > span { opacity: 1; }
  .marquee__track { animation: none; transform: none; }
  .hero__img { transform: scale(1.02) !important; animation: none; }
  .step { transform: none; }
  .level__line span { transform: scaleX(.62); }
}

/* ---------- Transparencia y contraste reducidos: superficies sólidas y bordes más marcados ---------- */
@media (prefers-reduced-transparency: reduce) {
  .topbar::before { background: rgba(5, 10, 18, .98); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .pill, .btn--ghost { background: var(--ink-3); -webkit-backdrop-filter: none; backdrop-filter: none; }
}
@media (prefers-contrast: more) {
  :root { --line: rgba(183, 211, 235, .42); --line-strong: rgba(183, 211, 235, .66); --text-2: #C9D3DE; --text-3: #A9B5C2; }
  .topbar::before { background: var(--ink-1); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .pill, .btn--ghost { background: var(--ink-3); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .js .step { opacity: 1; }
  .get__item { opacity: 1; }
  .hero__shade { background: linear-gradient(to top, var(--ink-1) 0%, rgba(5, 10, 18, .92) 34%, rgba(5, 10, 18, .55) 70%, rgba(5, 10, 18, .3) 100%); }
}
