/* ============================================================
   sitePMO · v5.26 — Landing pública (sitepmo.com)
   Mismo lenguaje visual que la plataforma: azul acero, etiquetas
   en monoespaciada, ventanas con barra de título y barra de
   estado. Sin dependencias externas (fuentes del sistema).
   ============================================================ */
/* v7.1: Archivo (variable, ancho 62–125 %), alojada en el propio sitio — OFL, ver fonts/OFL-Archivo.txt */
@font-face { font-family: 'Archivo'; font-style: normal; font-display: swap; font-weight: 100 900; font-stretch: 62% 125%;
  src: url(fonts/archivo-var.woff2) format('woff2-variations'), url(fonts/archivo-var.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Archivo'; font-style: normal; font-display: swap; font-weight: 100 900; font-stretch: 62% 125%;
  src: url(fonts/archivo-var-ext.woff2) format('woff2-variations'), url(fonts/archivo-var-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
:root {
  --ink: #16202b; --ink-2: #475262; --ink-3: #6f7a89;
  --line: #dde2e8; --line-2: #e9edf1;
  --bg: #ffffff; --bg-2: #f5f7f9; --bg-3: #eef2f6;
  --accent: #2f6f9f; --accent-d: #235679; --accent-soft: #e2edf6;
  --ok: #2f9e44; --warn: #d9a02e; --bad: #c0463b;
  --navy: #111a24; --navy-2: #182431; --navy-line: #273646; --navy-ink: #c9d4df; --navy-ink-2: #8d9bab;
  --ui: 'Archivo', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, Roboto, 'Helvetica Neue', Arial, sans-serif;
  --mono: ui-monospace, 'SF Mono', 'Cascadia Mono', 'Segoe UI Mono', Menlo, Consolas, monospace;
  --r: 10px;
  --wrap: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { animation: none !important; transition: none !important; } }
body { margin: 0; font-family: var(--ui); color: var(--ink); background: var(--bg); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--accent-d); }
:focus-visible { outline: 3px solid #7fb2d9; outline-offset: 2px; border-radius: 4px; }
.lp-wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.lp-kicker { font-size: 14px; font-weight: 700; letter-spacing: 0; color: var(--accent-d); }
.lp-skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 12px; z-index: 100; }
.lp-skip:focus { left: 8px; }

/* ---------- botones ---------- */
.lp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 22px; border-radius: 8px; border: 1px solid var(--line); background: #fff; color: var(--ink); font: 600 15px/1 var(--ui); text-decoration: none; cursor: pointer; white-space: nowrap; transition: background .12s, border-color .12s, transform .12s; }
.lp-btn:hover { border-color: #b9c3ce; background: var(--bg-2); }
.lp-btn-primary { background: var(--accent); border-color: var(--accent-d); color: #fff; box-shadow: 0 6px 18px -8px rgba(47,111,159,.7); }
.lp-btn-primary:hover { background: var(--accent-d); border-color: var(--accent-d); }
.lp-btn-sm { height: 36px; padding: 0 14px; font-size: 14px; border-radius: 7px; }
.lp-btn svg { width: 18px; height: 18px; flex: none; }

/* ---------- navegación ---------- */
.lp-nav { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line-2); }
.lp-nav .lp-wrap { display: flex; align-items: center; gap: 28px; height: 68px; }
.lp-logo img { height: 34px; width: auto; }
.lp-links { display: flex; gap: 24px; }
.lp-links a { color: var(--ink-2); text-decoration: none; font-size: 15px; font-weight: 500; }
.lp-links a:hover { color: var(--ink); }
.lp-nav-cta { margin-left: auto; display: flex; gap: 10px; align-items: center; }
.lp-nav-login { color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: 15px; padding: 0 8px; }
.lp-nav-login:hover { color: var(--ink); }

/* ---------- hero ---------- */
.lp-hero { position: relative; overflow: hidden; padding: 72px 0 88px; background:
  radial-gradient(900px 420px at 88% -10%, #e3eef8 0%, rgba(227,238,248,0) 70%),
  linear-gradient(180deg, #fff 0%, var(--bg-2) 100%); border-bottom: 1px solid var(--line-2); }
.lp-hero::before { content: ''; position: absolute; inset: 0; background-image:
  linear-gradient(var(--line-2) 1px, transparent 1px), linear-gradient(90deg, var(--line-2) 1px, transparent 1px);
  background-size: 40px 40px; mask-image: linear-gradient(180deg, rgba(0,0,0,.55), transparent 75%); -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,.55), transparent 75%); pointer-events: none; }
.lp-hero .lp-wrap { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: 56px; align-items: center; }
.lp-hero h1 { margin: 14px 0 18px; font-size: clamp(2.3rem, 4.4vw, 3.55rem); line-height: 1.04; letter-spacing: -.028em; font-weight: 800; }
.lp-hero h1 em { font-style: normal; color: var(--accent); }
.lp-lead { font-size: clamp(1.02rem, 1.4vw, 1.16rem); color: var(--ink-2); max-width: 34em; margin: 0 0 28px; }
.lp-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.lp-micro { margin-top: 16px; font-size: 13.5px; color: var(--ink-3); display: flex; gap: 8px 16px; flex-wrap: wrap; }
.lp-micro span { display: inline-flex; align-items: center; gap: 6px; }
.lp-micro svg { width: 15px; height: 15px; color: var(--ok); }

/* ---------- maqueta de la app (hero) ---------- */
.lp-app { background: #fff; border: 1px solid #c9d1da; border-radius: 12px; overflow: hidden; box-shadow: 0 30px 60px -28px rgba(17,26,36,.45), 0 2px 6px rgba(17,26,36,.06); font-size: 12px; color: #23272e; }
.lp-app-tb { display: flex; align-items: center; gap: 10px; height: 34px; padding: 0 12px; background: #e7eaee; border-bottom: 1px solid #cfd5dc; }
.lp-app-tb .dots { display: flex; gap: 6px; }
.lp-app-tb .dots i { width: 10px; height: 10px; border-radius: 50%; background: #c7cdd4; display: block; }
.lp-app-tb img { height: 15px; margin-left: auto; }
.lp-app-tb .dim { color: #8a919c; font-size: 11px; margin-right: auto; }
.lp-app-menu { display: flex; gap: 2px; padding: 0 8px; background: #eef1f4; border-bottom: 1px solid #d7dce1; }
.lp-app-menu span { padding: 6px 10px; color: #565d67; font-size: 11.5px; }
.lp-app-menu span.on { color: #255a82; background: #dce8f2; font-weight: 600; }
.lp-app-body { padding: 14px; background: #f3f5f7; }
.lp-app-head { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.lp-app-head .sq { width: 11px; height: 11px; border-radius: 3px; background: #2f6f9f; }
.lp-app-head b { font-size: 13.5px; }
.lp-app-head .mut { color: #8a919c; font-size: 11px; margin-left: auto; font-family: var(--mono); }
.lp-app-sem { display: flex; gap: 12px; align-items: center; background: #fff; border: 1px solid #d7dce1; border-radius: 7px; padding: 10px 12px; margin-bottom: 10px; }
.lp-tl { background: #2b2f36; border-radius: 7px; padding: 4px; display: flex; flex-direction: column; gap: 3px; flex: none; }
.lp-tl i { width: 11px; height: 11px; border-radius: 50%; background: #5d646e; opacity: .7; display: block; }
.lp-tl i.r.on { background: #e05548; opacity: 1; box-shadow: 0 0 7px #e05548; }
.lp-tl i.y.on { background: #e5b83a; opacity: 1; box-shadow: 0 0 7px #e5b83a; }
.lp-tl i.g.on { background: #3fae5a; opacity: 1; box-shadow: 0 0 7px #3fae5a; }
.lp-app-sem .t { font-weight: 700; color: #8a6d1f; font-size: 12.5px; }
.lp-chips { display: flex; gap: 10px; flex-wrap: wrap; font-family: var(--mono); font-size: 10px; color: #565d67; margin-top: 3px; }
.lp-chips b { color: #23272e; }
.lp-chips .d { display: inline-block; width: 6px; height: 6px; border-radius: 50%; margin-right: 4px; vertical-align: middle; }
.lp-track { position: relative; height: 8px; background: #eaedf1; border-radius: 5px; overflow: hidden; margin-top: 7px; }
.lp-track i { position: absolute; inset: 0 auto 0 0; background: #2f6f9f; border-radius: 5px; }
.lp-track b { position: absolute; top: -2px; bottom: -2px; width: 2px; background: #8a6d1f; }
.lp-app-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 10px; }
.lp-app-kpis div { background: #fff; border: 1px solid #d7dce1; border-radius: 6px; padding: 7px 9px; }
.lp-app-kpis small { display: block; font-family: var(--mono); font-size: 8.5px; letter-spacing: .07em; text-transform: uppercase; color: #8a919c; }
.lp-app-kpis strong { font-size: 17px; }
.lp-app-kpis .acc { color: #255a82; } .lp-app-kpis .bad { color: var(--bad); }
.lp-road { --nw: 34%; background: #fff; border: 1px solid #d7dce1; border-radius: 7px; overflow: hidden; }
.lp-road-axis { position: relative; height: 20px; margin-left: var(--nw); border-bottom: 1px solid #e3e7ec; }
.lp-road-axis span { position: absolute; top: 4px; font-family: var(--mono); font-size: 8.5px; color: #8a919c; transform: translateX(2px); white-space: nowrap; }
.lp-road-rows { position: relative; }
.lp-road-row { display: flex; align-items: center; height: 25px; border-bottom: 1px solid #eef1f4; }
.lp-road-row:last-child { border-bottom: 0; }
.lp-road-row .n { width: var(--nw); flex: none; display: flex; align-items: center; gap: 6px; padding: 0 9px; font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 600; color: #255a82; }
.lp-road-row .n .dot { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.lp-road-row .n span { overflow: hidden; text-overflow: ellipsis; }
.lp-road-row .tl { position: relative; flex: 1; height: 100%; }
.lp-road-row .bar { position: absolute; top: 7px; height: 11px; border-radius: 3px; background: #d9e7f1; border: 1px solid #2f6f9f; overflow: hidden; }
.lp-road-row .bar i { position: absolute; inset: 0 auto 0 0; background: #2f6f9f; opacity: .85; }
.lp-today { position: absolute; top: 0; bottom: 0; width: 2px; background: #c0463b; opacity: .85; left: calc(var(--nw) + (100% - var(--nw)) * var(--x, 0)); }
.lp-app-status { display: flex; gap: 14px; align-items: center; height: 22px; padding: 0 10px; background: #2f6f9f; color: #eaf3fa; font-family: var(--mono); font-size: 10px; }
.lp-app-status .sp { flex: 1; }
.lp-app-status .dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #7ee29a; margin-right: 5px; }
.g-dot { background: var(--ok); } .y-dot { background: var(--warn); } .r-dot { background: var(--bad); }

/* ---------- franja de datos ---------- */
.lp-strip { border-bottom: 1px solid var(--line-2); background: #fff; }
.lp-strip .lp-wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.lp-strip div.item { padding: 26px 20px; border-left: 1px solid var(--line-2); }
.lp-strip div.item:first-child { border-left: 0; padding-left: 0; }
.lp-strip strong { display: block; font-size: 17px; }
.lp-strip span { color: var(--ink-3); font-size: 14px; }

/* ---------- secciones ---------- */
.lp-sec { padding: 96px 0; }
.lp-sec-alt { background: var(--bg-2); border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }
.lp-sec-head { max-width: 720px; margin-bottom: 48px; }
.lp-sec-head h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); line-height: 1.12; letter-spacing: -.022em; margin: 10px 0 14px; font-weight: 800; }
.lp-sec-head p { color: var(--ink-2); font-size: 1.07rem; margin: 0; }

.lp-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.lp-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 22px 20px; transition: border-color .15s, box-shadow .15s, transform .15s; }
.lp-card:hover { border-color: #b7c7d6; box-shadow: 0 14px 30px -20px rgba(17,26,36,.35); transform: translateY(-2px); }
.lp-ico { width: 40px; height: 40px; border-radius: 9px; background: var(--accent-soft); color: var(--accent-d); display: grid; place-items: center; margin-bottom: 14px; }
.lp-ico svg { width: 21px; height: 21px; }
.lp-card h3 { font-size: 16.5px; margin: 0 0 6px; letter-spacing: -.005em; }
.lp-card p { margin: 0; color: var(--ink-2); font-size: 14.5px; line-height: 1.5; }

/* ---------- portafolios (banda oscura) ---------- */
.lp-dark { background: var(--navy); color: #eef3f8; padding: 104px 0; position: relative; overflow: hidden; }
.lp-dark::before { content: ''; position: absolute; inset: 0; background: radial-gradient(700px 360px at 12% 0%, rgba(47,111,159,.35), transparent 70%); pointer-events: none; }
.lp-dark .lp-wrap { position: relative; }
.lp-dark .lp-kicker { color: #7fb2d9; }
.lp-dark .lp-sec-head p { color: var(--navy-ink); }
.lp-feat { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 56px; align-items: center; padding: 44px 0; border-top: 1px solid var(--navy-line); }
.lp-feat:first-of-type { border-top: 0; padding-top: 8px; }
.lp-feat.rev .lp-feat-txt { order: 2; }
.lp-feat h3 { font-size: clamp(1.35rem, 2.2vw, 1.7rem); margin: 8px 0 12px; letter-spacing: -.015em; }
.lp-feat p { color: var(--navy-ink); margin: 0 0 14px; }
.lp-feat ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.lp-feat li { display: flex; gap: 10px; color: var(--navy-ink); font-size: 15px; }
.lp-feat li::before { content: ''; flex: none; width: 16px; height: 16px; margin-top: 4px; border-radius: 50%; background: rgba(127,178,217,.18) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237fb2d9' stroke-width='3.5'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/10px no-repeat; }
.lp-num { font-family: var(--mono); font-size: 12px; color: #7fb2d9; letter-spacing: .1em; }
.lp-panel { background: var(--navy-2); border: 1px solid var(--navy-line); border-radius: 12px; padding: 18px; box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); font-size: 12.5px; color: var(--navy-ink); }
.lp-panel-h { display: flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--navy-ink-2); margin-bottom: 12px; }
.lp-panel-h .sp { flex: 1; }
/* mini: semáforos por proyecto */
.lp-sem-row { display: grid; grid-template-columns: 14px 1fr 70px 56px; gap: 10px; align-items: center; padding: 9px 0; border-top: 1px solid var(--navy-line); }
.lp-sem-row:first-of-type { border-top: 0; }
.lp-sem-row .dot { width: 11px; height: 11px; border-radius: 50%; }
.lp-sem-row .nm { color: #eef3f8; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lp-mbar { height: 7px; background: #0d151e; border-radius: 4px; overflow: hidden; }
.lp-mbar i { display: block; height: 100%; background: #4f8fc2; border-radius: 4px; }
.lp-sem-row .dv { font-family: var(--mono); text-align: right; font-weight: 700; }
.pos { color: #6fd18b; } .neg { color: #f08a7e; } .neu { color: #9fc4e2; }
/* mini: roadmap de etapas */
.lp-rm-row { display: grid; grid-template-columns: 110px 1fr; gap: 10px; align-items: center; height: 26px; }
.lp-rm-row .nm { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--navy-ink); font-size: 12px; }
.lp-rm-row.p .nm { color: #eef3f8; font-weight: 700; }
.lp-rm-tl { position: relative; height: 100%; }
.lp-rm-tl b { position: absolute; top: 8px; height: 11px; border-radius: 3px; border: 1px solid #6b7a8c; background: #243242; overflow: hidden; }
.lp-rm-tl b i { position: absolute; inset: 0 auto 0 0; background: #6b7a8c; }
.lp-rm-tl b.done { border-color: #3fae5a; background: #1c3325; } .lp-rm-tl b.done i { background: #3fae5a; }
.lp-rm-tl b.late { border-color: #e05548; background: #3a2226; } .lp-rm-tl b.late i { background: #e05548; }
.lp-rm-tl b.proj { border-color: #4f8fc2; background: #1d3043; } .lp-rm-tl b.proj i { background: #4f8fc2; }
.lp-rm-wrap { --nw: 120px; position: relative; }
.lp-rm-now { position: absolute; top: 14px; bottom: 0; left: var(--nw); right: 0; pointer-events: none; }
.lp-rm-today { position: absolute; top: 0; bottom: 0; width: 2px; background: #e05548; }
.lp-rm-today::after { content: 'HOY'; position: absolute; top: -14px; left: -8px; font-family: var(--mono); font-size: 9px; color: #f08a7e; font-weight: 700; }
/* mini: heatmap de ocupación */
.lp-hm { display: grid; grid-template-columns: 112px repeat(6, 1fr); gap: 5px; align-items: center; }
.lp-hm .h { font-family: var(--mono); font-size: 9.5px; color: var(--navy-ink-2); text-align: center; text-transform: uppercase; }
.lp-hm .nm { font-size: 12px; color: #eef3f8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lp-hm .nm small { display: inline-block; margin-left: 4px; font-family: var(--mono); font-size: 8.5px; font-weight: 700; color: #e5c56d; border: 1px solid #6d5a25; border-radius: 6px; padding: 0 4px; }
.lp-hm .c { height: 22px; border-radius: 4px; display: grid; place-items: center; font-family: var(--mono); font-size: 10px; font-weight: 700; }
.c0 { background: #1a2633; color: #3b4b5c; }
.c1 { background: #1f3b2a; color: #8fe0a6; } .c2 { background: #1d3550; color: #9fc4e2; }
.c3 { background: #4a3c17; color: #f0d27a; } .c4 { background: #4d2320; color: #f5a197; }
.cx { box-shadow: 0 0 0 2px #4f8fc2; }
/* mini: resumen de tareas */
.lp-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 12px; }
.lp-tabs span { padding: 4px 10px; border-radius: 14px; border: 1px solid var(--navy-line); font-size: 11.5px; font-weight: 600; color: var(--navy-ink); }
.lp-tabs span.on { background: #2f6f9f; border-color: #2f6f9f; color: #fff; }
.lp-tabs b { font-family: var(--mono); font-size: 10px; margin-left: 4px; opacity: .85; }
.lp-tk { display: grid; grid-template-columns: 1.1fr 1.7fr 52px; gap: 10px; padding: 8px 0; border-top: 1px solid var(--navy-line); align-items: center; }
.lp-tk .p { color: #7fb2d9; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lp-tk .t { color: #eef3f8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lp-tk .dv { font-family: var(--mono); text-align: right; font-weight: 700; }

/* ---------- empresas ---------- */
.lp-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.lp-list { display: grid; gap: 14px; }
.lp-li { display: flex; gap: 14px; padding: 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); }
.lp-li h3 { margin: 0 0 4px; font-size: 16px; }
.lp-li p { margin: 0; color: var(--ink-2); font-size: 14.5px; }
.lp-li .lp-ico { margin: 0; flex: none; }
.lp-roles { background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.lp-roles table { width: 100%; border-collapse: collapse; font-size: 14px; }
.lp-roles th { text-align: left; font-family: var(--mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); font-weight: 600; background: var(--bg-2); padding: 11px 14px; border-bottom: 1px solid var(--line); }
.lp-roles td { padding: 11px 14px; border-bottom: 1px solid var(--line-2); vertical-align: top; }
.lp-roles tr:last-child td { border-bottom: 0; }
.lp-roles td:first-child { font-weight: 700; white-space: nowrap; }
.lp-roles td span { color: var(--ink-2); }
.lp-tag { display: inline-block; font-family: var(--mono); font-size: 10px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; padding: 2px 8px; border-radius: 4px; background: var(--accent-soft); color: var(--accent-d); }

/* ---------- demo CTA ---------- */
.lp-demo { padding: 0 0 96px; }
.lp-demo-box { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 40px; align-items: center; background: linear-gradient(135deg, #2f6f9f, #1f4f73); color: #fff; border-radius: 18px; padding: 48px; position: relative; overflow: hidden; }
.lp-demo-box::after { content: ''; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%; border: 50px solid rgba(255,255,255,.06); }
.lp-demo-box h2 { margin: 8px 0 12px; font-size: clamp(1.7rem, 2.8vw, 2.3rem); letter-spacing: -.02em; line-height: 1.12; }
.lp-demo-box p { margin: 0 0 24px; color: #d8e6f2; }
.lp-demo-box .lp-kicker { color: #bcd8ee; }
.lp-demo-box .lp-btn-primary { background: #fff; color: var(--accent-d); border-color: #fff; box-shadow: none; }
.lp-demo-box .lp-btn-primary:hover { background: #eaf2f9; }
.lp-demo-box .lp-btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.lp-demo-box .lp-btn-ghost:hover { background: rgba(255,255,255,.08); }
.lp-demo-list { position: relative; z-index: 1; background: rgba(8,24,38,.28); border: 1px solid rgba(255,255,255,.16); border-radius: 12px; padding: 8px 18px; }
.lp-demo-list div { display: flex; gap: 12px; align-items: center; padding: 10px 0; border-top: 1px solid rgba(255,255,255,.12); font-size: 14.5px; }
.lp-demo-list div:first-child { border-top: 0; }
.lp-demo-list .dot { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.lp-demo-list .sp { flex: 1; }
.lp-demo-list small { font-family: var(--mono); color: #cfe1f0; font-size: 11.5px; }

/* ---------- preguntas ---------- */
.lp-faq { max-width: 820px; }
.lp-faq details { border-bottom: 1px solid var(--line); }
.lp-faq summary { list-style: none; cursor: pointer; padding: 20px 36px 20px 0; font-weight: 700; font-size: 17px; position: relative; }
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary::after { content: '+'; position: absolute; right: 4px; top: 16px; font: 400 26px/1 var(--ui); color: var(--accent); transition: transform .15s; }
.lp-faq details[open] summary::after { transform: rotate(45deg); }
.lp-faq details p { margin: -6px 0 20px; color: var(--ink-2); max-width: 44em; }

/* ---------- pie ---------- */
.lp-foot { border-top: 1px solid var(--line-2); padding: 36px 0 44px; background: #fff; }
.lp-foot .lp-wrap { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; }
.lp-foot img { height: 26px; }
.lp-foot nav { display: flex; gap: 20px; margin-left: auto; flex-wrap: wrap; }
.lp-foot a { color: var(--ink-2); text-decoration: none; font-size: 14px; }
.lp-foot a:hover { color: var(--ink); }
.lp-foot small { width: 100%; color: var(--ink-3); font-size: 13px; }

/* ---------- páginas mínimas (demo.php) ---------- */
.lp-mini { min-height: 100vh; display: grid; place-items: center; background: var(--bg-2); padding: 24px; }
.lp-mini-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 36px; max-width: 480px; width: 100%; text-align: center; box-shadow: 0 20px 50px -30px rgba(17,26,36,.4); }
.lp-mini-logo img { height: 34px; margin: 0 auto 22px; }
.lp-mini-card h1 { font-size: 22px; margin: 0 0 10px; letter-spacing: -.01em; }
.lp-mini-card p { color: var(--ink-2); margin: 0 0 22px; }
.lp-mini-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.lp-mini-actions form { margin: 0; }

/* ---------- responsivo ---------- */
@media (max-width: 1060px) {
  .lp-grid { grid-template-columns: repeat(2, 1fr); }
  .lp-links { display: none; }
}
@media (max-width: 900px) {
  .lp-hero { padding: 48px 0 64px; }
  .lp-hero .lp-wrap, .lp-feat, .lp-split, .lp-demo-box { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .lp-feat.rev .lp-feat-txt { order: 0; }
  .lp-strip .lp-wrap { grid-template-columns: repeat(2, 1fr); }
  .lp-strip div.item { padding: 20px 16px; border-left: 0; border-top: 1px solid var(--line-2); }
  .lp-strip div.item:nth-child(-n+2) { border-top: 0; }
  .lp-strip div.item:nth-child(odd) { padding-left: 0; }
  .lp-sec, .lp-dark { padding: 72px 0; }
  .lp-demo-box { padding: 32px 24px; }
}
@media (max-width: 560px) {
  .lp-wrap { padding: 0 16px; }
  .lp-nav .lp-wrap { height: 60px; gap: 12px; }
  .lp-logo img { height: 28px; }
  .lp-nav-login { display: none; }
  .lp-grid { grid-template-columns: minmax(0, 1fr); }
  .lp-ctas .lp-btn { flex: 1 1 100%; }
  .lp-app-kpis { grid-template-columns: repeat(2, 1fr); }
  .lp-app-menu span:nth-child(n+3) { display: none; }
  .lp-road { --nw: 40%; }
  .lp-hm { grid-template-columns: 84px repeat(6, 1fr); gap: 4px; }
  .lp-rm-row { grid-template-columns: 84px 1fr; } .lp-rm-wrap { --nw: 94px; }
  .lp-tk { grid-template-columns: 1fr 52px; } .lp-tk .p { display: none; }
  .lp-sem-row { grid-template-columns: 12px 1fr 44px; } .lp-sem-row .lp-mbar { display: none; }
  .lp-roles td, .lp-roles th { padding: 10px; }
  .lp-mini-card { padding: 28px 20px; }
}

/* ============================================================
   v6.2 — Planes (planes.php) y páginas legales (legal.php)
   ============================================================ */
.lp-links a.on { color: var(--accent-d); font-weight: 700; }
.lp-foot .lp-legal { width: 100%; margin-left: 0; gap: 18px; order: 3; }
.lp-foot .lp-legal a { font-size: 13px; color: var(--ink-3); }
.lp-foot small { order: 4; }
.pl-hero { padding: 64px 0 36px; text-align: center; background: linear-gradient(180deg, #fff 0%, var(--bg-2) 100%); border-bottom: 1px solid var(--line-2); }
.pl-hero h1 { margin: 12px auto 14px; font-size: clamp(2rem, 3.8vw, 3rem); line-height: 1.08; letter-spacing: -.025em; font-weight: 800; max-width: 18em; }
.pl-hero .lp-lead { margin: 0 auto; }
.pl-sec { padding: 48px 0 88px; background: var(--bg-2); }
.pl-grid { display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.pl-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 26px 22px 22px; display: flex; flex-direction: column; min-width: 0; }
.pl-card.hl { border: 2px solid var(--accent); box-shadow: 0 18px 40px -22px rgba(47,111,159,.55); }
.pl-badge { position: absolute; top: -12px; left: 22px; background: var(--accent); color: #fff; font: 700 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; padding: 6px 10px; border-radius: 20px; }
.pl-card h2 { margin: 0; font-size: 20px; letter-spacing: -.01em; }
.pl-tag { margin: 6px 0 16px; color: var(--ink-2); font-size: 14px; min-height: 2.9em; }
.pl-price { padding: 14px 0 16px; border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); margin-bottom: 14px; }
.pl-price b { display: block; font-size: 32px; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.pl-price small { color: var(--ink-3); font-size: 12.5px; }
.pl-limits { list-style: none; margin: 0 0 12px; padding: 0; display: flex; gap: 14px; flex-wrap: wrap; font-size: 13.5px; color: var(--ink-2); }
.pl-limits b { color: var(--ink); }
.pl-feats { list-style: none; margin: 0 0 20px; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 14px; flex: 1; }
.pl-feats li { display: flex; gap: 8px; align-items: flex-start; }
.pl-feats svg, .pl-t svg { width: 17px; height: 17px; color: var(--ok); flex: none; margin-top: 2px; }
.pl-cta { width: 100%; }
.pl-h2 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); letter-spacing: -.02em; margin: 64px 0 18px; }
.pl-tw { overflow-x: auto; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.pl-t { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 720px; }
.pl-t th, .pl-t td { padding: 12px 14px; border-bottom: 1px solid var(--line-2); text-align: center; }
.pl-t thead th { font-size: 13px; background: var(--bg-3); position: sticky; top: 0; }
.pl-t tbody th { text-align: left; font-weight: 500; color: var(--ink-2); }
.pl-t tr:last-child th, .pl-t tr:last-child td { border-bottom: 0; }
.pl-t td svg { display: inline-block; vertical-align: -3px; }
.pl-t small { color: var(--ink-3); }
.pl-no { color: #b8c0ca; }
.pl-faq { max-width: 820px; }
.pl-kick { font-size: 15px; font-weight: 700; color: var(--accent-d, var(--accent)); margin: 0 0 22px; }
.pl-solo { margin-top: 8px; }
.pl-solo-h { max-width: 820px; }
.pl-solo-h p { color: var(--ink-2); margin: -6px 0 22px; font-size: 15px; line-height: 1.6; }
.pl-solo .pl-grid { max-width: 820px; }
.pl-faq details { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 14px 18px; margin-bottom: 10px; }
.pl-faq summary { cursor: pointer; font-weight: 700; }
.pl-faq p { margin: 10px 0 0; color: var(--ink-2); }
.lg-sec { padding: 48px 0 88px; background: var(--bg-2); }
.lg-wrap { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 32px; align-items: start; }
.lg-nav { position: sticky; top: 92px; display: flex; flex-direction: column; gap: 2px; }
.lg-nav .lp-kicker { margin-bottom: 8px; }
.lg-nav a { color: var(--ink-2); text-decoration: none; padding: 8px 12px; border-radius: 8px; font-size: 14.5px; }
.lg-nav a:hover { background: #fff; color: var(--ink); }
.lg-nav a.on { background: #fff; color: var(--accent-d); font-weight: 700; box-shadow: 0 1px 2px rgba(20,28,40,.06); }
.lg-doc { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 40px 48px; max-width: 860px; font-size: 15.5px; line-height: 1.7; color: #26303c; }
.lg-doc h1 { margin: 0 0 6px; font-size: clamp(1.7rem, 3vw, 2.2rem); letter-spacing: -.02em; line-height: 1.15; color: var(--ink); }
.lg-doc h1 + p { color: var(--ink-3); font-size: 14px; margin-top: 0; }
.lg-doc h2 { font-size: 1.2rem; margin: 34px 0 10px; color: var(--ink); letter-spacing: -.01em; scroll-margin-top: 90px; }
.lg-doc h3 { font-size: 1.05rem; margin: 24px 0 8px; }
.lg-doc ul, .lg-doc ol { padding-left: 22px; margin: 8px 0 14px; }
.lg-doc li { margin: 5px 0; }
.lg-doc blockquote { margin: 16px 0; padding: 12px 16px; background: var(--bg-2); border-left: 3px solid var(--accent); border-radius: 0 8px 8px 0; color: var(--ink-2); }
@media (max-width: 1100px) { .pl-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 860px) {
  .lg-wrap { grid-template-columns: minmax(0, 1fr); }
  .lg-nav { position: static; flex-direction: row; flex-wrap: wrap; gap: 6px; }
  .lg-nav .lp-kicker { width: 100%; }
  .lg-nav a { background: #fff; border: 1px solid var(--line); padding: 6px 10px; font-size: 13.5px; }
  .lg-doc { padding: 26px 20px; font-size: 15px; }
}
@media (max-width: 640px) { .pl-grid { grid-template-columns: minmax(0, 1fr); } .pl-tag { min-height: 0; } }

/* v7.1: titulares de las páginas públicas con el mismo ancho que la landing */
.pl-hero h1, .pl-h2, .lg-doc h1 { font-stretch: 116%; letter-spacing: -.03em; }
.hm-anchor { position: relative; top: -90px; display: block; height: 0; }
