@charset "UTF-8";
/* =============================================================
   Enaulix · Sitio público (marketing)
   Lenguaje visual inspirado en dock.cool: canvas claro y cálido,
   tipografía display enorme y apretada, MUCHO aire entre secciones,
   alto contraste, navbar flotante en píldora. Color de marca: indigo
   (en vez del negro de dock), acento dorado como detalle.
   ============================================================= */

/* ---------------------------------------------------------------
   1. Tokens
   --------------------------------------------------------------- */
:root {
  /* Marca indigo + acento dorado */
  --brand:        #4F46E5;
  --brand-strong: #4338CA;
  --brand-deep:   #3730A3;
  --brand-soft:   #EEF0FE;
  /* Indigo profundo fijo de Enaulix (cromo de marca: footer y panel CTA), NO tematizable */
  --navy:      #322DA6;
  --navy-deep: #1E1B4B;
  --brand-ring:   rgba(79,70,229,.18);
  --accent:       #C8A24A;
  --accent-deep:  #A9863A;
  --accent-soft:  #F6EFDC;

  /* Neutros claros (canvas cálido y aireado, estilo dock) */
  --bg:        #F4F3EF;
  --surface:   #FFFFFF;
  --surface-2: #FAF9F5;
  --ink:       #101511;
  --ink-soft:  #3E4A44;
  --muted:     #75807A;
  --faint:     #A7AFA9;
  --line:      #E7E6DF;
  --line-soft: #F0EFE8;

  /* Estados */
  --ok:#15803D; --ok-bg:#E4F3E9;
  --warn:#B7791F; --warn-bg:#FBEFD7;
  --info:#1453B8; --info-bg:#E5EDFB;
  --danger:#C0392B; --danger-bg:#FAE7E4;
  --slate:#54607A; --slate-bg:#ECEFF6;

  /* Forma / sombra / tipografía */
  --r-sm:8px; --r:12px; --r-lg:16px; --r-xl:22px;
  --sh-sm: 0 1px 2px rgba(20,18,50,.06), 0 1px 3px rgba(20,18,50,.05);
  --sh:    0 4px 14px rgba(20,18,50,.08);
  --sh-lg: 0 18px 48px rgba(15,12,45,.16);
  --font:  'Inter Display', 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --serif: var(--font);

  /* Ritmo — espaciado uniforme entre secciones, al estilo dock */
  --section-y: clamp(4rem, 3.25rem + 3.5vw, 6.5rem);
  --gutter:    clamp(1.15rem, .6rem + 2.5vw, 2.25rem);
  --maxw:      1160px;
  --maxw-narrow: 760px;
  --ease: cubic-bezier(.2,.8,.3,1.05);

  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) { :root { scroll-behavior: auto; } }

/* ---------------------------------------------------------------
   2. Base
   --------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; }
body {
  font-family: var(--font);
  font-size: 16px; line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; color: inherit; }
::selection { background: color-mix(in srgb, var(--brand) 22%, transparent); }
h1,h2,h3,h4 { margin: 0; line-height: 1.1; letter-spacing: -.02em; font-weight: 800; color: var(--ink); }
p { margin: 0; }
*::-webkit-scrollbar { width: 10px; height: 10px; }
*::-webkit-scrollbar-thumb { background: rgba(120,135,170,.35); border-radius: 20px; border: 3px solid transparent; background-clip: content-box; }

/* ---------------------------------------------------------------
   3. Layout
   --------------------------------------------------------------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: var(--maxw-narrow); margin-inline: auto; }
.section { padding-block: var(--section-y); position: relative; }
.section.alt { background: var(--surface); }
.center { text-align: center; }
.num { font-variant-numeric: tabular-nums; }

/* Kicker minimalista al estilo dock — solo texto, sin ornamentos */
.eyebrow {
  display: inline-flex; align-items: center; justify-content: center;
  font-size: .75rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  color: var(--muted);
}

.section-head { max-width: 720px; margin-bottom: clamp(2.75rem, 2rem + 2.5vw, 4rem); }
.section-head.center { margin-inline: auto; text-align: center; }
/* Display type: enorme, apretado, expresivo — lo que dock hace bien */
.section-head h2 {
  font-size: clamp(2.2rem, 1.6rem + 2.4vw, 3.75rem);
  margin: .5rem 0 .8rem;
  letter-spacing: -.03em;
  font-weight: 800;
  line-height: 1.05;
}
.section-head p { font-size: clamp(1.05rem, .98rem + .3vw, 1.2rem); color: var(--muted); line-height: 1.6; max-width: 54ch; }
.section-head.center p { margin-inline: auto; }

/* ---------------------------------------------------------------
   4. Botones (tamaños del sistema)
   --------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  border: 1px solid transparent; border-radius: 20px; font-weight: 600; font-size: 14.5px;
  padding: 10px 20px; transition: transform .18s var(--ease), filter .15s, background .15s, box-shadow .18s, border-color .15s;
  white-space: nowrap;
}
.btn:active { transform: translateY(.5px); }
.btn svg { width: 1.05em; height: 1.05em; }
.btn-primary { background: var(--brand-strong); color: #fff; box-shadow: 0 2px 8px rgba(67,56,202,.28); }
.btn-primary:hover { background: var(--brand); transform: translateY(-1px); box-shadow: 0 6px 18px rgba(67,56,202,.32); }
.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--line); box-shadow: var(--sh-sm); }
.btn-ghost:hover { border-color: var(--faint); transform: translateY(-1px); box-shadow: var(--sh); }
.btn-soft { background: var(--brand-soft); color: var(--brand); }
.btn-soft:hover { filter: brightness(.98); }
.btn-accent { background: var(--accent); color: #33280A; box-shadow: 0 2px 8px rgba(200,162,74,.28); }
.btn-accent:hover { filter: brightness(1.05); transform: translateY(-1px); }
.btn-lg { font-size: 15px; padding: 12px 26px; }
.btn-on-navy { background: #fff; color: var(--brand-strong); }
.btn-on-navy:hover { background: var(--surface-2); transform: translateY(-1px); }
.btn-ghost-navy { background: transparent; color: #fff; border-color: rgba(255,255,255,.28); }
.btn-ghost-navy:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.55); }

.btn-arrow svg { transition: transform .2s var(--ease); }
.btn-arrow:hover svg { transform: translateX(3px); }

.link-arrow { display: inline-flex; align-items: center; gap: .4em; font-weight: 600; font-size: 14px; color: var(--brand); }
.link-arrow svg { width: 1em; height: 1em; transition: transform .2s var(--ease); }
.link-arrow:hover svg { transform: translateX(3px); }

/* ---------------------------------------------------------------
   5. Navbar (clara, como el topbar del sistema)
   --------------------------------------------------------------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  padding: 25px;
  transition: transform .3s var(--ease);
}
.nav.nav-hidden { transform: translateY(-140%); }
@media (prefers-reduced-motion: reduce) { .nav { transition: none; } }
.nav-inner {
  position: relative;
  display: flex; align-items: center; justify-content: space-between; height: 60px;
  max-width: 860px; margin-inline: auto;
  padding-inline: 1.3rem; border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--line) 55%, transparent);
  box-shadow: 0 4px 16px rgba(20,18,50,.09);
  transition: box-shadow .3s, border-color .25s;
  font-size: 14px;
}
/* El fondo esmerilado vive en un ::before aparte (no en .nav-inner directamente):
   backdrop-filter crea un contexto de recorte en algunos navegadores que
   cortaría el dropdown de "Sistemas" justo en el borde de la píldora. */
.nav-inner::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  background: color-mix(in srgb, var(--surface) 62%, transparent);
  backdrop-filter: blur(16px) saturate(1.4);
  transition: background .25s;
}
.nav.scrolled .nav-inner { box-shadow: 0 6px 22px rgba(20,18,50,.13); border-color: color-mix(in srgb, var(--line) 75%, transparent); }
.nav.scrolled .nav-inner::before { background: color-mix(in srgb, var(--surface) 78%, transparent); }
.nav-links { position: relative; z-index: 1; display: flex; align-items: center; gap: 1.8rem; }
.nav-links a { font-size: 14px; font-weight: 600; color: var(--ink-soft); transition: color .15s; }
.nav-links a:hover { color: var(--brand); }
.nav-cta { position: relative; z-index: 1; display: flex; align-items: center; gap: .8rem; }
.nav-cta .btn { font-size: 14px; }
.nav-toggle { display: none; background: none; border: 0; color: var(--ink); padding: .35rem; }
.nav-toggle svg { width: 26px; height: 26px; }

/* Logo estilo sistema: cuadro navy + monograma */
.logo { display: inline-flex; align-items: center; gap: .6rem; }
.logo-mark { width: 38px; height: 38px; flex-shrink: 0; border-radius: 11px; box-shadow: var(--sh-sm); }
.logo-word { font-family: var(--font); font-size: 1.3rem; font-weight: 600; letter-spacing: .1px; color: var(--ink); }
.nav-inner .logo-word { font-size: 14px; font-weight: 700; }
.nav-inner .logo { position: relative; z-index: 1; }

@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-cta .btn-desktop { display: none; }
}
.mobile-menu {
  position: fixed; inset: 0; z-index: 99; background: var(--surface);
  display: flex; flex-direction: column; gap: 1.2rem; padding: 5.5rem var(--gutter) 3rem;
  transform: translateX(100%); transition: transform .3s var(--ease); visibility: hidden;
}
.mobile-menu.open { transform: none; visibility: visible; }
.mobile-menu a { font-size: 1.3rem; font-weight: 700; color: var(--ink); }
.mobile-menu a.btn { color: #fff; }
.mobile-menu .btn { margin-top: .8rem; }
.mobile-menu-close {
  position: absolute; top: clamp(1.2rem, 1rem + .5vw, 1.6rem); right: var(--gutter);
  display: inline-flex; background: none; border: 0; color: var(--ink); padding: .35rem; cursor: pointer;
}
.mobile-menu-close svg { width: 26px; height: 26px; }

/* Dropdown "Sistemas" (desktop) */
.nav-dropdown { position: relative; }
.nav-dropdown-btn {
  -webkit-appearance: none; appearance: none; box-sizing: border-box; margin: 0; line-height: 1; white-space: nowrap;
  display: inline-flex; align-items: center; gap: .3rem; background: none; border: 0; padding: 0;
  font: inherit; font-size: 14px; font-weight: 600; color: var(--ink-soft); cursor: pointer; transition: color .15s;
}
.nav-dropdown-btn:hover, .nav-dropdown.open .nav-dropdown-btn { color: var(--brand); }
.nav-caret { width: 14px; height: 14px; flex-shrink: 0; transition: transform .2s var(--ease); }
.nav-dropdown.open .nav-caret { transform: rotate(180deg); }
/* position:fixed a propósito: el menú se reubica con JS (site.js) fuera de
   .nav-inner. Chrome recorta el contenido que se desborda de cualquier caja
   que combine border-radius + un descendiente con backdrop-filter (como la
   píldora del header), así que el dropdown no puede vivir dentro de ella. */
.nav-dropdown-menu {
  position: fixed; z-index: 200; top: 0; left: 0; transform: translateY(-6px);
  min-width: 240px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px;
  box-shadow: var(--sh-lg); padding: .5rem; display: grid; gap: .1rem;
  opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .18s var(--ease), transform .18s var(--ease), visibility .18s;
}
.nav-dropdown-menu.open { opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0); }
.nav-dropdown-menu a {
  display: block; padding: .6rem .75rem; border-radius: 10px; font-size: 13.5px; font-weight: 600;
  color: var(--ink-soft); white-space: nowrap;
}
.nav-dropdown-menu a:hover { background: var(--brand-soft); color: var(--brand); }

/* Submenú "Sistemas" (móvil, tipo acordeón) */
.mobile-submenu-btn {
  -webkit-appearance: none; appearance: none; box-sizing: border-box; margin: 0;
  display: flex; align-items: center; justify-content: space-between; width: 100%; background: none; border: 0;
  font: inherit; font-size: 1.3rem; font-weight: 700; color: var(--ink); padding: 0; cursor: pointer;
}
.mobile-submenu-btn svg { width: 20px; height: 20px; transition: transform .2s var(--ease); flex-shrink: 0; }
.mobile-submenu.open .mobile-submenu-btn svg { transform: rotate(180deg); }
.mobile-submenu-list {
  display: grid; gap: .9rem; max-height: 0; overflow: hidden; transition: max-height .25s var(--ease);
  padding-left: 1rem; margin-top: 0;
}
.mobile-submenu.open .mobile-submenu-list { max-height: 320px; margin-top: .9rem; }
.mobile-submenu-list a { font-size: 1.05rem; font-weight: 600; color: var(--ink-soft); }

/* ---------------------------------------------------------------
   6. Hero (claro)
   --------------------------------------------------------------- */
.hero {
  position: relative; overflow: hidden;
  padding-block: clamp(6.5rem, 5rem + 4vw, 8.5rem) clamp(3rem, 2rem + 3vw, 5rem);
  background: var(--bg);
}
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(900px 500px at 88% -10%, color-mix(in srgb, var(--brand) 10%, transparent), transparent 60%),
    radial-gradient(700px 460px at 0% 0%, color-mix(in srgb, var(--accent) 8%, transparent), transparent 60%),
    color-mix(in srgb, var(--bg) 50%, transparent);
}
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.02fr .98fr; gap: clamp(2rem,1rem + 3vw,4rem); align-items: center; }
.hero-copy { max-width: 560px; }
.hero h1 {
  font-size: clamp(2.4rem, 1.8rem + 2.4vw, 3.75rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.04;
  margin: 1rem 0 1.2rem; color: var(--ink);
}
.hero h1 .accent { color: var(--brand); }
.hero h1 .serif { font-family: var(--serif); font-weight: 600; font-style: italic; letter-spacing: 0; }
.hero-sub { font-size: clamp(1.02rem, .95rem + .35vw, 1.2rem); color: var(--ink-soft); line-height: 1.55; max-width: 44ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }
.hero-trust { margin-top: 2rem; display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; color: var(--muted); font-size: .88rem; font-weight: 500; }
.hero-trust .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--faint); }

/* Pill sobrio */
.hero-pill {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .35rem .8rem .35rem .4rem; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--sh-sm);
  font-size: .84rem; font-weight: 600; color: var(--ink-soft);
}
.hero-pill .tag {
  font-size: .7rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  padding: .2rem .55rem; border-radius: 999px; background: var(--brand-soft); color: var(--brand);
}

/* ---- Mockup de ventana de la app (el "money shot") ---- */
.appwin {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  background: var(--brand-strong); box-shadow: var(--sh-lg);
  border: 1px solid rgba(255,255,255,.06);
  display: grid; grid-template-columns: 96px 1fr; height: 420px; max-width: 560px; margin-inline: auto;
}
.appwin::after { content:""; position:absolute; inset:0; border-radius:inherit; box-shadow: inset 0 1px 0 rgba(255,255,255,.06); pointer-events:none; }
.aw-side { background: var(--brand-strong); padding: 14px 10px; display: flex; flex-direction: column; gap: 4px; border-right: 1px solid rgba(255,255,255,.06); }
.aw-brand { width: 30px; height: 30px; border-radius: 9px; background: #fff; display: grid; place-items: center; margin: 2px 4px 12px; }
.aw-brand svg { width: 18px; height: 18px; color: var(--brand); }
.aw-nav { height: 30px; border-radius: 8px; display: flex; align-items: center; gap: 8px; padding: 0 9px; color: rgba(220,228,245,.65); }
.aw-nav .d { width: 15px; height: 15px; border-radius: 4px; background: currentColor; opacity: .5; flex-shrink: 0; }
.aw-nav.on { background: var(--brand); color: #fff; }
.aw-nav.on .d { opacity: 1; }
.aw-main { background: var(--bg); padding: 14px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.aw-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.aw-top b { font-size: 12.5px; color: var(--ink); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.aw-top .time { font-size: 12px; font-weight: 700; color: var(--brand); font-variant-numeric: tabular-nums; }
.aw-search { height: 32px; border-radius: 10px; background: var(--surface); border: 1px solid var(--line); }
.aw-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.aw-card { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 10px; box-shadow: var(--sh-sm); display: flex; flex-direction: column; gap: 7px; }
.aw-card .t { font-size: 14px; font-weight: 800; color: var(--ink); letter-spacing: -.02em; }
.aw-badge { align-self: flex-start; display: inline-flex; align-items: center; gap: 5px; font-size: 9.5px; font-weight: 700; padding: 2px 7px; border-radius: 999px; }
.aw-badge .dot { width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.aw-badge.ok { color: var(--ok); background: var(--ok-bg); }
.aw-badge.info { color: var(--info); background: var(--info-bg); }
.aw-badge.warn { color: var(--warn); background: var(--warn-bg); }
.aw-ln { height: 6px; border-radius: 4px; background: var(--line); }
.aw-ln.w60 { width: 60%; } .aw-ln.w40 { width: 40%; }
.aw-foot { display: flex; align-items: center; gap: 6px; margin-top: 1px; }
.aw-av { width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 8px; font-weight: 700; }

@media (max-width: 940px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { max-width: 620px; }
  .appwin { max-width: 520px; }
}
@media (max-width: 520px) {
  .appwin { height: auto; grid-template-columns: 1fr; }
  .aw-side { flex-direction: row; overflow: hidden; }
  .aw-brand { margin: 0 8px 0 2px; }
  .aw-nav { display: none; } .aw-nav.on { display: flex; }
  .aw-cards { grid-template-columns: 1fr; }
}

/* ---------------------------------------------------------------
   7. Franja de rasgos
   --------------------------------------------------------------- */
.strip { border-block: 1px solid var(--line); background: var(--surface); }
.strip-inner { display: flex; align-items: center; justify-content: center; gap: clamp(1.2rem,3.5vw,3rem); flex-wrap: wrap; padding-block: 1.1rem; font-size: .85rem; font-weight: 600; color: var(--ink-soft); }
.strip-inner .feat { display: inline-flex; align-items: center; gap: .5rem; }
.strip-inner svg { width: 17px; height: 17px; color: var(--brand); }

/* ---------------------------------------------------------------
   8. "Qué es" · Constelación (clara)
   --------------------------------------------------------------- */
.constellation { position: relative; width: 100%; max-width: 880px; margin: 0 auto clamp(1.5rem, 1rem + 2vw, 2.5rem); aspect-ratio: 2.27 / 1; }
.constellation svg { width: 100%; height: 100%; overflow: visible; }
.const-line { stroke: url(#line-fade); stroke-width: 2; fill: none; stroke-dasharray: 5 6; }
.const-line.draw { stroke-dashoffset: 220; animation: dash 1.6s var(--ease) forwards; }
.node { cursor: pointer; transition: transform .3s var(--ease); transform-box: fill-box; transform-origin: center; }
.node:hover { transform: scale(1.14); }
@keyframes dash { to { stroke-dashoffset: 0; } }

/* Lista editorial de pilares */
.concept-list { max-width: 900px; margin: clamp(3rem,2rem + 3.5vw,4.5rem) auto 0; }
.concept-item {
  display: grid; grid-template-columns: 3rem minmax(9rem,13rem) minmax(0,1fr);
  gap: 0 clamp(1rem,.6rem + 1.5vw,2rem); align-items: baseline;
  padding: clamp(1.1rem, .9rem + 1.2vw, 1.8rem) 0; border-top: 1px solid var(--line);
}
.concept-list .concept-item:last-child { border-bottom: 1px solid var(--line); }
.concept-num { font-family: var(--serif); font-size: clamp(1.8rem,1.4rem + 1.5vw,2.6rem); font-weight: 600; color: var(--faint); }
.concept-item h3 { font-size: 1.3rem; letter-spacing: -.02em; }
.concept-item p { color: var(--muted); font-size: 1rem; line-height: 1.65; margin-top: .3rem; }
@media (max-width: 720px) {
  .concept-item { grid-template-columns: 2.5rem 1fr; row-gap: .6rem; }
  .concept-item p { grid-column: 2; }
}

/* ---------------------------------------------------------------
   8b. Mockup del MacBook con el launchpad real (justo bajo el hero)
   --------------------------------------------------------------- */
.mac { position: relative; max-width: 760px; margin: clamp(2.5rem, 1.75rem + 3vw, 4.5rem) auto clamp(.5rem, .3rem + .5vw, .9rem); }
.mac-top {
  position: relative;
  background: linear-gradient(180deg, #2a2a2e, #131315);
  border-radius: 16px 16px 4px 4px;
  padding: clamp(10px, 1vw, 14px) clamp(10px, 1vw, 14px) 0;
  box-shadow:
    0 0 0 1px rgba(255,255,255,.06) inset,
    0 40px 80px rgba(20,20,30,.26),
    0 14px 28px rgba(20,20,30,.16);
}
.mac-cam { position: absolute; top: clamp(4px,.5vw,7px); left: 50%; transform: translateX(-50%); width: 5px; height: 5px; border-radius: 50%; background: #3a3a3e; box-shadow: 0 0 0 2px #1c1c1e; }
.mac-screen { position: relative; border-radius: 6px 6px 2px 2px; overflow: hidden; aspect-ratio: 16 / 10; background: var(--bg); }
.mac-base {
  height: clamp(10px, 1.1vw, 14px);
  background: linear-gradient(180deg, #dfe0e3, #b7b9be);
  border-radius: 0 0 8px 8px;
  position: relative;
  box-shadow: 0 1px 0 rgba(255,255,255,.5) inset;
}
.mac-base::after {
  content: ""; position: absolute; left: 50%; top: 0; transform: translateX(-50%);
  width: clamp(60px, 9vw, 100px); height: 40%; background: #9a9ca3; border-radius: 0 0 8px 8px;
}
.mac-stand {
  height: clamp(4px, .6vw, 7px); width: 104%; margin-inline: -2%;
  background: linear-gradient(180deg, #c7c9cd, #9799a0);
  border-radius: 0 0 10px 10px;
  box-shadow: 0 10px 22px rgba(0,0,0,.16);
}

/* Launchpad real dentro de la pantalla (escala reducida, más fiel al tamaño real) */
.lp {
  position: relative; height: 100%; overflow: hidden;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: clamp(.5rem,.7vw,.8rem);
  padding: clamp(.8rem,1.5vw,1.3rem) clamp(1.2rem,2.5vw,2rem);
  background:
    radial-gradient(60% 55% at 15% 10%, rgba(196,181,253,.55), transparent 65%),
    radial-gradient(65% 60% at 88% 90%, rgba(165,180,252,.5), transparent 65%),
    linear-gradient(160deg, #eef0fb, #e2e5f8);
}
.lp-head { text-align: center; display: flex; flex-direction: column; align-items: center; gap: .2rem; }
.lp-avatar {
  width: clamp(20px,2.2vw,26px); height: clamp(20px,2.2vw,26px); border-radius: 8px; margin-bottom: .1rem;
  background: linear-gradient(135deg, #6366F1, #8B5CF6); display: grid; place-items: center;
  color: #fff; font-weight: 800; font-size: .62rem; box-shadow: 0 6px 12px rgba(99,102,241,.3);
}
.lp-head h3 { font-size: clamp(.78rem,1.15vw,.95rem); letter-spacing: -.02em; color: #14181F; }
.lp-head p { font-size: clamp(.54rem,.75vw,.64rem); color: #6b7280; }
.lp-row { display: flex; align-items: center; gap: clamp(.4rem,.8vw,.7rem); }
.lp-cards { display: flex; justify-content: center; gap: clamp(.55rem,1vw,.9rem); }
.lp-card {
  width: clamp(88px,12.5vw,120px); flex-shrink: 0;
  background: #fff; border-radius: 11px; padding: clamp(.55rem,.9vw,.8rem) clamp(.4rem,.6vw,.55rem); text-align: center;
  box-shadow: 0 8px 18px rgba(30,30,60,.08); display: flex; flex-direction: column; align-items: center; gap: .25rem;
}
.lp-ic {
  width: clamp(22px,2.5vw,28px); height: clamp(22px,2.5vw,28px); border-radius: 8px; margin-bottom: .15rem;
  background: var(--dc); color: #fff; display: grid; place-items: center; box-shadow: 0 5px 10px rgba(0,0,0,.15);
}
.lp-ic svg { width: 55%; height: 55%; }
.lp-card b { font-size: clamp(.54rem,.8vw,.65rem); color: #14181F; letter-spacing: -.01em; }
.lp-card p { font-size: clamp(.46rem,.68vw,.55rem); color: #8a8f9c; line-height: 1.3; }
.lp-enter { font-size: clamp(.48rem,.7vw,.58rem); font-weight: 700; color: var(--brand); display: inline-flex; align-items: center; gap: .25em; margin-top: .1rem; }
.lp-enter svg { width: 1em; height: 1em; }
.lp-nav {
  flex-shrink: 0;
  width: clamp(18px,2vw,22px); height: clamp(18px,2vw,22px); border-radius: 50%;
  background: rgba(255,255,255,.8); border: 0; color: #4b5563; display: grid; place-items: center;
  box-shadow: 0 4px 10px rgba(0,0,0,.1); cursor: pointer;
}
.lp-nav svg { width: 45%; height: 45%; }
@media (max-width: 620px) {
  /* En pantallas angostas las tarjetas se veían gigantes frente al resto
     del "monitor": grid-template-columns no hacía nada porque .lp-cards
     seguía en display:flex. Ahora sí es una grilla 2x2 con tarjetas que
     se achican con el contenedor, y se ocultan las flechas de navegación
     (ya no hacen falta con las 4 tarjetas visibles a la vez). */
  .lp-row { width: 100%; }
  .lp-nav { display: none; }
  .lp-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: .5rem; width: 100%; }
  .lp-card { width: 100%; }
}

/* ---------------------------------------------------------------
   9. Bento de sistemas (tarjetas claras, acento por sistema)
   --------------------------------------------------------------- */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, .6rem + 1vw, 1.5rem); }
.sys-card {
  position: relative; grid-column: auto;
  display: flex; flex-direction: column; gap: 1.1rem;
  padding: clamp(1.6rem, 1.2rem + 1.2vw, 2.25rem);
  background: var(--surface); border: 1px solid var(--line); border-radius: 20px;
  box-shadow: var(--sh-sm);
  transition: transform .28s var(--ease), box-shadow .28s, border-color .2s;
}
.sys-card.wide { grid-column: auto; }
.bento .sys-card:hover { transform: translateY(-7px); box-shadow: var(--sh-lg); border-color: color-mix(in srgb, var(--sc) 30%, var(--line)); }
.sys-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; margin-bottom: .2rem; }
.sys-ic { width: 52px; height: 52px; border-radius: 15px; flex-shrink: 0; display: grid; place-items: center; color: #fff; background: var(--sc); }
.sys-ic svg { width: 25px; height: 25px; }
/* sys-tag: píldora mínima y discreta — sin colores gritantes */
.sys-tag {
  font-size: .7rem; font-weight: 600; letter-spacing: .02em;
  color: var(--muted); background: var(--surface-2);
  border: 1px solid var(--line); border-radius: 999px;
  padding: .2rem .65rem; white-space: nowrap; margin-top: .2rem;
}
.sys-card h3 { font-size: 1.2rem; letter-spacing: -.02em; line-height: 1.2; }
.sys-card p { color: var(--muted); font-size: 14px; line-height: 1.65; flex: 1; }
.sys-meta { display: flex; flex-wrap: wrap; gap: .5rem; }
.sys-meta .chip { font-size: .7rem; font-weight: 600; padding: .28rem .65rem; border-radius: 999px; background: var(--surface-2); color: var(--ink-soft); border: 1px solid var(--line); }
.sys-card .link-arrow { color: var(--sc); margin-top: .1rem; }
/* Tarjeta "próximamente" (rellena la grilla 3x2 y transmite versatilidad) */
.sys-card.soon { background: var(--surface-2); border-style: dashed; box-shadow: none; justify-content: center; gap: .6rem; }
.sys-card.soon:hover { transform: none; box-shadow: none; border-color: var(--faint); }
.sys-card.soon .sys-ic { background: var(--surface); color: var(--muted); box-shadow: var(--sh-sm); border: 1px solid var(--line); }
.sys-card.soon h3 { font-size: 1.2rem; color: var(--ink-soft); }
.sys-card.soon p { flex: none; }
@media (max-width: 900px) { .bento { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .bento { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------
   10. White-label
   --------------------------------------------------------------- */
.wl { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem,1rem + 3vw,4rem); align-items: center; }
.wl-swatches { display: flex; gap: .7rem; flex-wrap: wrap; margin-top: 1.5rem; }
.swatch { width: 42px; height: 42px; border-radius: 12px; border: 2px solid var(--line); cursor: pointer; position: relative; transition: transform .15s var(--ease), border-color .15s; background: var(--sw); }
.swatch:hover { transform: translateY(-2px); }
.swatch.active { border-color: var(--ink); box-shadow: 0 0 0 3px color-mix(in srgb, var(--sw) 35%, transparent); }
.swatch.active::after { content:"\2713"; position:absolute; inset:0; display:grid; place-items:center; color:#fff; font-weight:800; font-size:.95rem; }

.wl-preview { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--sh-lg); background: var(--bg); }
.wl-bar { display: flex; align-items: center; gap: .5rem; padding: .7rem .9rem; background: var(--surface); border-bottom: 1px solid var(--line); }
.wl-bar .d { width: 9px; height: 9px; border-radius: 50%; background: var(--line); }
.wl-bar .u { margin-left: auto; font-size: .72rem; color: var(--muted); background: var(--surface-2); padding: .2rem .6rem; border-radius: 999px; border: 1px solid var(--line); }
.wl-body { padding: 1.4rem 1.2rem; display: grid; gap: .9rem; background: var(--surface-2); }
.wl-hi { display: flex; align-items: center; gap: .75rem; }
.wl-logo { width: 40px; height: 40px; border-radius: 11px; background: var(--brand); display: grid; place-items: center; color: #fff; font-weight: 800; box-shadow: var(--sh-sm); }
.wl-hi b { color: var(--ink); font-size: .98rem; }
.wl-hi span { display: block; font-size: .78rem; color: var(--muted); }
.wl-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: .6rem; }
.wl-mini { background: var(--surface); border: 1px solid var(--line); border-radius: 11px; padding: .7rem; display: flex; flex-direction: column; gap: .45rem; box-shadow: var(--sh-sm); }
.wl-mini .m-ic { width: 28px; height: 28px; border-radius: 8px; background: var(--brand-soft); display: grid; place-items: center; color: var(--brand); }
.wl-mini .m-ic svg { width: 15px; height: 15px; }
.wl-mini .m-ln { height: 6px; border-radius: 4px; background: var(--line); }
.wl-mini .m-ln.short { width: 60%; }
.wl-btn { height: 32px; border-radius: 10px; background: var(--brand); box-shadow: var(--sh-sm); }
@media (max-width: 820px) { .wl { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------
   11. Diferenciales
   --------------------------------------------------------------- */
.diff-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: clamp(1rem, .6rem + 1vw, 1.5rem); }
.diff { padding: clamp(1.8rem,1.4rem + 1.4vw,2.6rem); background: var(--surface); border: 1px solid var(--line); border-radius: 20px; transition: transform .2s var(--ease), box-shadow .2s, background .25s; }
.diff-grid .diff:hover { transform: translateY(-3px); box-shadow: var(--sh); background: linear-gradient(135deg, #6366F1, #8B5CF6); border-color: transparent; }
.diff-grid .diff:hover h3, .diff-grid .diff:hover p { color: #fff; }
.diff-grid .diff:hover .diff-ic { background: rgba(255,255,255,.2); color: #fff; }
/* Icono monocromático — navy sobre fondo neutro, sin dorado ni colores múltiples */
.diff-ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 1.3rem; color: var(--brand); background: var(--brand-soft); transition: background .25s, color .25s; }
.diff-ic svg { width: 22px; height: 22px; }
.diff h3 { font-size: 1.2rem; margin-bottom: .55rem; letter-spacing: -.025em; transition: color .25s; }
.diff p { color: var(--muted); font-size: .95rem; line-height: 1.65; transition: color .25s; }
@media (max-width: 900px) { .diff-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .diff-grid { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------
   12. Panel navy (CTA) — eco del sidebar del sistema
   --------------------------------------------------------------- */
.navy-panel {
  position: relative; overflow: hidden; text-align: center;
  border-radius: 32px; padding: clamp(4rem, 3rem + 4.5vw, 7rem) clamp(1.75rem, 1rem + 3vw, 4.5rem);
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: var(--sh-lg);
  background:
    radial-gradient(640px 420px at 78% -12%, color-mix(in srgb, var(--accent) 20%, transparent), transparent 58%),
    radial-gradient(520px 360px at 8% 112%, color-mix(in srgb, #fff 10%, transparent), transparent 60%),
    linear-gradient(150deg, color-mix(in srgb, var(--navy) 88%, transparent), color-mix(in srgb, var(--navy-deep) 92%, transparent)),
    url('../imagen/imagen_bg-CTA.jpg') center/cover no-repeat;
  color: #fff;
}
.navy-panel.full { width: 100%; border-radius: 0; border-inline: 0; padding-inline: 0; }
.navy-panel.full .container { position: relative; }
.navy-panel::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
}
.navy-panel .eyebrow { color: rgba(220,228,245,.6); margin-bottom: .8rem; }
.navy-panel h2 { position: relative; color: #fff; font-size: clamp(2.1rem, 1.6rem + 1.8vw, 3.4rem); margin-bottom: 1.1rem; letter-spacing: -.03em; line-height: 1.08; }
.navy-panel p { position: relative; color: rgba(220,228,245,.78); font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); max-width: 46ch; margin: 0 auto; line-height: 1.6; }
.navy-panel .hero-actions { position: relative; justify-content: center; margin-top: 2.4rem; gap: 1rem; }

/* ---------------------------------------------------------------
   12b. Testimonios
   --------------------------------------------------------------- */
.testimonial { max-width: 720px; margin-inline: auto; text-align: center; }
.testimonial blockquote {
  margin: 0; font-family: var(--serif); font-style: italic; font-weight: 500;
  font-size: clamp(1.3rem, 1.05rem + 1vw, 1.7rem); line-height: 1.45; color: var(--ink);
}
.testimonial-author { display: flex; align-items: center; justify-content: center; gap: .7rem; margin-top: 1.8rem; }
.testimonial-author img, .testimonial-author .ta-av {
  width: 44px; height: 44px; border-radius: 50%; object-fit: cover;
  display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); font-weight: 700;
}
.testimonial-author .ta-name { font-weight: 700; font-size: .95rem; color: var(--ink); text-align: left; }
.testimonial-author .ta-role { font-size: .85rem; color: var(--muted); text-align: left; }
.testimonial-dots { display: flex; justify-content: center; gap: .5rem; margin-top: 2.2rem; }
.testimonial-dots span { width: 6px; height: 6px; border-radius: 50%; background: var(--line); }
.testimonial-dots span.on { background: var(--brand); }

/* ---------------------------------------------------------------
   12c. Preguntas frecuentes
   --------------------------------------------------------------- */
.faq-list {
  max-width: 1000px; margin-inline: auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.25rem; align-items: start;
}
.faq-item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.faq-q {
  width: 100%; appearance: none; background: none; border: 0; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.2rem 1.4rem; font: inherit; font-weight: 700; font-size: 14px; color: var(--ink); text-align: left;
}
.faq-q .faq-ic {
  flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
  background: var(--surface-2); border: 1px solid var(--line); color: var(--ink-soft);
  transition: transform .3s var(--ease), background .2s, color .2s, border-color .2s;
}
.faq-q .faq-ic svg { width: 14px; height: 14px; }
.faq-item.open .faq-q .faq-ic { background: var(--brand); color: #fff; transform: rotate(45deg); border-color: var(--brand); }
.faq-a-wrap {
  display: grid; grid-template-rows: 0fr;
  transition: grid-template-rows .35s var(--ease);
}
.faq-item.open .faq-a-wrap { grid-template-rows: 1fr; }
.faq-a { min-height: 0; overflow: hidden; }
.faq-a p { padding: 0 1.4rem 1.25rem; color: var(--muted); font-size: .96rem; line-height: 1.6; }
/* Entrada escalonada: todo el grupo se dispara junto desde .faq-list, no cada tarjeta por separado */
.faq-list .faq-item {
  opacity: 0; transform: translateY(10px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.faq-list.in .faq-item { opacity: 1; transform: none; }
.faq-list .faq-item:nth-child(1) { transition-delay: 0s; }
.faq-list .faq-item:nth-child(3) { transition-delay: .25s; }
.faq-list .faq-item:nth-child(5) { transition-delay: .5s; }
.faq-list .faq-item:nth-child(2) { transition-delay: .6s; }
.faq-list .faq-item:nth-child(4) { transition-delay: .85s; }
.faq-list .faq-item:nth-child(6) { transition-delay: 1.1s; }
@media (max-width: 760px) { .faq-list { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------
   13. Contacto
   --------------------------------------------------------------- */
#contacto { padding-bottom: calc(var(--section-y) * 1.5); }
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem,1rem + 3vw,3.5rem); align-items: center;
  background: var(--surface-2); border: 1px solid var(--line); border-radius: 32px; box-shadow: var(--sh);
  padding: clamp(2.25rem, 1.5rem + 3vw, 3.75rem);
}
.contact-list { display: grid; gap: 1rem; margin-top: 1.6rem; }
.contact-item { display: flex; gap: .9rem; align-items: flex-start; }
.contact-item .ci-ic { width: 42px; height: 42px; border-radius: 11px; flex-shrink: 0; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); }
.contact-item .ci-ic svg { width: 20px; height: 20px; }
.contact-item b { display: block; font-size: .98rem; }
.contact-item span { color: var(--muted); font-size: .9rem; }
.contact-item a { color: var(--brand); font-weight: 600; }
.crm-slot { background: none; border: 0; box-shadow: none; padding: 0; }
.crm-placeholder { border: 2px dashed var(--line); border-radius: 14px; padding: 2.2rem 1.5rem; text-align: center; color: var(--muted); display: grid; place-items: center; gap: .7rem; min-height: 240px; background: var(--surface); }
.crm-placeholder svg { width: 32px; height: 32px; color: var(--faint); }
.crm-placeholder .cp-title { font-weight: 700; color: var(--ink-soft); }
@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; } }

/* Formulario de contacto (CRM) */
.crm-form { display: flex; flex-direction: column; gap: 1rem; }
.crm-field { display: flex; flex-direction: column; gap: .35rem; }
.crm-field label { font-size: .86rem; font-weight: 600; color: var(--ink-soft); }
.crm-field input,
.crm-field select,
.crm-field textarea {
  padding: .7rem .9rem; border: 1px solid var(--line); border-radius: 10px;
  font-size: .92rem; font-family: inherit; color: var(--ink); background: var(--surface);
  transition: border-color .15s, box-shadow .15s;
}
.crm-field input:focus,
.crm-field select:focus,
.crm-field textarea:focus {
  outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-ring);
}
.crm-field textarea { resize: vertical; }
.crm-field.crm-field-checkbox { flex-direction: row; align-items: center; gap: .55rem; }
.crm-field.crm-field-checkbox label { font-weight: 500; }
.crm-field.crm-field-checkbox input { width: auto; padding: 0; }

/* Campos con etiqueta flotante (texto, email, teléfono, textarea): el
   título vive dentro del campo como placeholder y sube a la esquina al
   enfocar o escribir. */
.crm-field-float { position: relative; }
.crm-field-float input,
.crm-field-float textarea {
  width: 100%; box-sizing: border-box; font-family: inherit; outline: none;
  border: 1px solid var(--line); border-radius: 10px; font-size: .92rem; color: var(--ink);
  background: var(--surface); transition: border-color .15s, box-shadow .15s;
  padding: 18px 32px 6px 12px;
}
.crm-field-float.is-textarea textarea { padding: 20px 32px 8px 12px; resize: vertical; min-height: 4.5rem; }
.crm-field-float input:focus,
.crm-field-float textarea:focus {
  border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-ring);
}
.crm-field-float label {
  position: absolute; left: 12px; top: 14px; font-size: .92rem; color: var(--muted);
  pointer-events: none; transition: top .15s ease, font-size .15s ease, color .15s ease;
}
.crm-field-float.is-textarea label { top: 12px; }
.crm-field-float.active label { top: 4px; font-size: .68rem; color: var(--faint); }
.crm-field-clear {
  position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
  width: 18px; height: 18px; border-radius: 50%; border: none; padding: 0;
  background: var(--line); color: var(--muted); font-size: 12px; line-height: 18px;
  text-align: center; cursor: pointer; display: none;
}
.crm-field-float.is-textarea .crm-field-clear { top: 12px; transform: none; }
.crm-field-clear.show { display: block; }

.crm-form-msg { color: var(--ok); font-weight: 600; text-align: center; padding: 2rem 1rem; }
.crm-form-msg-error { color: var(--danger); }
.crm-form-msg-error a { color: inherit; text-decoration: underline; }

/* Contenedor del formulario: centra su contenido vertical y horizontalmente
   y, cuando el mensaje de éxito reemplaza al formulario, mantiene la altura
   que tenía (el JS fija min-height con el alto medido justo antes) en vez
   de "achicarse" de golpe. */
.crm-form-container { display: flex; flex-direction: column; justify-content: center; align-items: center; }
.crm-form-container form { width: 100%; }

/* Spinner del botón "Enviando..." */
.crm-spinner {
  display: inline-block; width: 15px; height: 15px; margin-right: .55em; vertical-align: -2px;
  border: 2px solid rgba(255,255,255,.4); border-top-color: #fff; border-radius: 50%;
  animation: crm-spin .6s linear infinite;
}
@keyframes crm-spin { to { transform: rotate(360deg); } }

/* Mensaje de éxito inline: reemplaza el formulario en su propio contenedor
   en vez de navegar a otra página. Aparece con fade-in + el check se dibuja. */
.crm-form-success { text-align: center; padding: 1.5rem 1rem; animation: crm-fade-in .35s var(--ease) both; }
.crm-form-success-icon {
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  background: var(--ok-bg); color: var(--ok); margin: 0 auto 1.2rem;
}
.crm-form-success-icon svg { width: 26px; height: 26px; }
.crm-form-success-icon svg path {
  stroke-dasharray: 24; stroke-dashoffset: 24;
  animation: crm-check-draw .4s .2s var(--ease) forwards;
}
.crm-form-success h3 { font-size: 1.3rem; letter-spacing: -.02em; margin: 0 0 .7rem; }
.crm-form-success p { color: var(--ink-soft); line-height: 1.55; }
@keyframes crm-fade-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes crm-check-draw { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) {
  .crm-spinner { animation: none; }
  .crm-form-success { animation: none; }
  .crm-form-success-icon svg path { animation: none; stroke-dashoffset: 0; }
}

/* CTA fijo en móvil (aparece al hacer scroll hacia arriba) */
.mobile-sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
  padding: .7rem 1rem calc(.7rem + env(safe-area-inset-bottom, 0px));
  background: var(--surface); border-top: 1px solid var(--line);
  box-shadow: 0 -10px 28px rgba(16,21,17,.12);
  transform: translateY(110%); transition: transform .25s var(--ease);
}
.mobile-sticky-cta.show { transform: translateY(0); }
.mobile-sticky-cta .btn { width: 100%; justify-content: center; }
@media (min-width: 781px) { .mobile-sticky-cta { display: none; } }

/* Contenido legal (Privacidad, Términos) */
.legal-copy h2 { font-size: 1.15rem; font-weight: 700; color: var(--ink); margin: 2.2rem 0 .8rem; letter-spacing: -.01em; }
.legal-copy p { margin: 0 0 1rem; }
.legal-copy ul { margin: 0 0 1rem; padding-left: 1.3rem; display: grid; gap: .4rem; }
.legal-copy a { color: var(--brand); font-weight: 600; }
.legal-copy h2:first-child { margin-top: 0; }

/* ---------------------------------------------------------------
   14. Footer (navy, como el sidebar)
   --------------------------------------------------------------- */
.footer {
  position: relative; overflow: hidden;
  background: linear-gradient(175deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: rgba(224,224,250,.75);
  padding-block: clamp(4rem, 3rem + 4vw, 6rem) clamp(2rem, 1.5rem + 1.5vw, 3rem);
}
.footer::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.22) 50%, transparent);
}
.footer .logo-word { color: #fff; }
.footer .logo-mark { box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2.2rem; align-items: start; padding-bottom: clamp(2.5rem, 2rem + 2vw, 3.5rem); border-bottom: 1px solid rgba(255,255,255,.09); }
.footer h4 { font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgba(224,224,250,.42); margin-bottom: 1.2rem; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .85rem; }
.footer a { font-size: .92rem; color: rgba(224,224,250,.8); transition: color .15s, transform .15s; display: inline-block; }
.footer a:hover { color: #fff; transform: translateX(2px); }
.footer a.logo { display: inline-flex; }
.footer a.logo:hover { transform: none; }
.footer-brand p { color: rgba(224,224,250,.55); font-size: .92rem; margin-top: 1rem; max-width: 32ch; line-height: 1.65; }
.footer-brand .footer-meta { margin-top: 2rem; display: grid; gap: .35rem; font-size: .8rem; color: rgba(224,224,250,.4); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; margin-top: clamp(1.75rem, 1.4rem + 1.5vw, 2.5rem); color: rgba(224,224,250,.45); font-size: .82rem; }
.footer-bottom a { color: rgba(224,224,250,.75); }
@media (max-width: 780px) { .footer-grid { grid-template-columns: 1fr 1fr; row-gap: 2.4rem; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------
   15. Scroll reveal (sutil)
   --------------------------------------------------------------- */
[data-reveal] { opacity: 0; transform: translateY(10px); transition: opacity .4s var(--ease), transform .4s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal][data-delay="1"] { transition-delay: .07s; }
[data-reveal][data-delay="2"] { transition-delay: .14s; }
[data-reveal][data-delay="3"] { transition-delay: .21s; }
[data-reveal][data-delay="4"] { transition-delay: .28s; }
[data-reveal][data-delay="5"] { transition-delay: .35s; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
  .const-line { animation: none !important; }
}

/* ---------------------------------------------------------------
   16. Página de sistema (recorrido) — hero claro
   --------------------------------------------------------------- */
.sys-hero {
  position: relative; overflow: hidden;
  padding-block: clamp(6.5rem, 5rem + 4vw, 8.5rem) clamp(2.5rem,1.75rem + 3vw,4.5rem);
  background:
    radial-gradient(760px 420px at 85% -8%, color-mix(in srgb, var(--sc) 12%, transparent), transparent 60%),
    var(--bg);
}
.sys-hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem,1rem + 3vw,3.5rem); align-items: center; }
.sys-badge-lg { display: inline-flex; align-items: center; gap: .6rem; }
.sys-badge-lg .b-ic { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; color: #fff; background: var(--sc); box-shadow: var(--sh-sm); }
.sys-badge-lg .b-ic svg { width: 26px; height: 26px; }
.sys-hero h1 { font-size: clamp(2rem,1.55rem + 2vw,3.1rem); margin: 1.1rem 0 1rem; letter-spacing: -.025em; color: var(--ink); }
.sys-hero p.lead { font-size: clamp(1.02rem,.95rem + .35vw,1.2rem); color: var(--ink-soft); max-width: 42ch; line-height: 1.55; }

.breadcrumb { display: flex; align-items: center; gap: .45rem; font-size: .85rem; color: var(--muted); margin-bottom: .4rem; }
.breadcrumb a:hover { color: var(--brand); }
.breadcrumb svg { width: 14px; height: 14px; opacity: .6; }

.walk { display: grid; gap: clamp(3rem,2rem + 3vw,5rem); }
.walk-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.75rem,1rem + 3vw,3.5rem); align-items: center; }
.walk-row:nth-child(even) .walk-visual { order: -1; }
.walk-copy .step-num { font-size: .78rem; font-weight: 700; letter-spacing: .06em; color: color-mix(in srgb, var(--sc) 75%, var(--muted)); }
.walk-copy h3 { font-size: clamp(1.4rem,1.15rem + .8vw,1.9rem); margin: .5rem 0 .7rem; }
.walk-copy p { color: var(--muted); font-size: 1rem; line-height: 1.6; }
.walk-copy ul { list-style: none; margin: 1.1rem 0 0; padding: 0; display: grid; gap: .6rem; }
.walk-copy li { display: flex; gap: .6rem; align-items: flex-start; color: var(--ink-soft); font-size: .95rem; }
.walk-copy li svg { width: 19px; height: 19px; flex-shrink: 0; color: var(--ok); margin-top: .1rem; }

.walk-visual { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--sh-lg); background: var(--surface); }
@media (max-width: 820px) { .sys-hero-grid { grid-template-columns: 1fr; } .walk-row { grid-template-columns: 1fr; } .walk-row:nth-child(even) .walk-visual { order: 0; } }

/* ---------------------------------------------------------------
   17. Mockups (chrome de ventana) — tema CLARO fijo
   --------------------------------------------------------------- */
.mock, .wl-preview {
  --bg:#EEF1F8; --surface:#fff; --surface-2:#F7F9FD;
  --ink:#131C30; --ink-soft:#3C4A66; --muted:#6B7A99; --faint:#9AA7C0;
  --line:#E2E7F1; --line-soft:#EDF1F8;
}
.mock { background: var(--bg); }
.mock-bar { display: flex; align-items: center; gap: .5rem; padding: .65rem .85rem; background: var(--surface); border-bottom: 1px solid var(--line); }
.mock-bar .d { width: 10px; height: 10px; border-radius: 50%; }
.mock-dot-r { background: #f87171; } .mock-dot-y { background: #fbbf24; } .mock-dot-g { background: #34d399; }
.mock-bar .mock-title { margin-left: .5rem; font-size: .74rem; color: var(--muted); font-weight: 600; }
.mock-body { padding: 1.1rem; }

/* Mini-componentes de mockup */
.mk-row { display: flex; align-items: center; gap: .7rem; padding: .65rem .25rem; border-bottom: 1px solid var(--line-soft); }
.mk-row:last-child { border-bottom: 0; }
.mk-av { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 700; font-size: .78rem; flex-shrink: 0; background: color-mix(in srgb, var(--sc) 85%, #000 5%); }
.mk-line { height: 8px; border-radius: 5px; background: var(--line); }
.mk-line.w40{width:40%}.mk-line.w60{width:60%}.mk-line.w80{width:80%}.mk-line.w30{width:30%}
.mk-badge { font-size: .68rem; font-weight: 700; padding: .2rem .55rem; border-radius: 999px; display:inline-flex; align-items:center; gap:5px; }
.mk-badge::before { content:""; width:5px; height:5px; border-radius:50%; background: currentColor; }
.mk-badge.ok { color: var(--ok); background: var(--ok-bg); }
.mk-badge.warn { color: var(--warn); background: var(--warn-bg); }
.mk-badge.info { color: var(--info); background: var(--info-bg); }
.mk-chip-sc { font-size:.7rem; font-weight:700; padding:.22rem .6rem; border-radius:999px; color:#fff; background: var(--sc); }
.mk-kpi { display:grid; grid-template-columns: repeat(3,1fr); gap:.6rem; }
.mk-kpi .k { background: var(--surface); border:1px solid var(--line); border-radius:12px; padding:.7rem .8rem; }
.mk-kpi .k b { display:block; font-size:1.5rem; font-weight:800; color:var(--ink); line-height:1.1; letter-spacing:-.02em; }
.mk-kpi .k span { display:block; font-size:.72rem; color:var(--muted); margin-top:.15rem; }
.mk-kpi .k.grad { background: var(--sc); border:0; }
.mk-kpi .k.grad b, .mk-kpi .k.grad span { color:#fff; }

/* Reservas: bloques y slots */
.rz { display:grid; place-items:center; height:36px; border-radius:9px; font-size:.76rem; font-weight:700; border:1.5px solid var(--line); background:var(--surface); color:var(--ink-soft); }
.rz.ok { border-color: color-mix(in srgb, var(--sc) 35%, var(--line)); color: color-mix(in srgb, var(--sc) 80%, var(--ink)); }
.rz.sel { background: var(--sc); border-color: var(--sc); color:#fff; }
.rz.full { background: var(--surface-2); color: var(--faint); border-style:dashed; }
.slot { border:1px solid var(--line); border-radius:11px; padding:.65rem .75rem; background:var(--surface); }
.slot b { display:block; font-size:.82rem; color:var(--ink); }
.slot span { display:block; font-size:.7rem; color:var(--muted); margin:.15rem 0 .3rem; }
.slot em { font-style:normal; font-size:.72rem; font-weight:700; color:var(--faint); }
.slot em.ok { color: color-mix(in srgb, var(--sc) 78%, var(--ink)); }
.slot.full { background: var(--surface-2); opacity:.7; }

/* Utilidades */
.mt-1{margin-top:.5rem}.mt-2{margin-top:1rem}.mt-3{margin-top:1.5rem}.mt-4{margin-top:2rem}
.stack-sm{display:grid;gap:.5rem}.stack{display:grid;gap:1rem}
.flex{display:flex}.items-center{align-items:center}.gap{gap:.8rem}.between{justify-content:space-between}
