/* livemanagement.io · landing (17 sep 2026)
   Una sola apariencia, oscura, como el bundle «LM Workflow». Sin fuentes externas. */

:root {
  color-scheme: dark;
  --bg: #000;
  --bg-2: #05070d;
  --surface: #0f121a;
  --surface-2: #151923;
  --line: rgba(255, 255, 255, 0.10);
  --line-2: rgba(255, 255, 255, 0.16);
  --ink: #f5f5f7;
  --ink-2: #b4bac4;
  --ink-3: #9da5b0;
  --accent: #2997ff;
  --accent-ink: #7cc0ff;
  --btn: #0068d1;          /* blanco encima: 5,1:1 (el #0A84FF del bundle daba 3,65:1) */
  --btn-hover: #0058b3;
  --ok: #4fd6a0;
  --err: #ff8a80;
  --radius: 18px;
  --gutter: clamp(16px, 4vw, 32px);
  --maxw: 1120px;
  --header-h: 64px;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--ink); font-size: 17px; line-height: 1.55; letter-spacing: -0.005em; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-ink); }
a:hover { color: #a9d6ff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -0.02em; line-height: 1.12; text-wrap: balance; }
p { margin: 0; }
[hidden] { display: none !important; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--wide { max-width: 1320px; }

.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #000; padding: 10px 14px; border-radius: 10px; font-weight: 600; text-decoration: none; }
.skip-link:focus { top: 12px; color: #000; }

.kicker { font-size: 13px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 26px; border-radius: 980px; font: inherit; font-size: 16px; font-weight: 600; text-decoration: none; border: 1px solid transparent; white-space: nowrap; cursor: pointer; transition: background-color .2s, border-color .2s, opacity .2s; }
.btn--primary { background: var(--btn); color: #fff; }
.btn--primary:hover { background: var(--btn-hover); color: #fff; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn--ghost:hover { border-color: rgba(255, 255, 255, 0.35); color: var(--ink); }
.btn--small { min-height: 40px; padding: 8px 18px; font-size: 15px; }
.btn[disabled] { opacity: 0.6; cursor: progress; }

/* ── Cabecera ───────────────────────────────────────────────── */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(0, 0, 0, 0.82); -webkit-backdrop-filter: saturate(160%) blur(14px); backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid var(--line); }
.site-header__bar { display: flex; align-items: center; gap: 16px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 16px; letter-spacing: -0.01em; flex-shrink: 0; }
.brand:hover { color: var(--ink); }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
.site-nav { margin-left: auto; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.site-nav a { display: block; white-space: nowrap; padding: 8px 10px; border-radius: 8px; color: var(--ink-2); text-decoration: none; font-size: 15px; }
.site-nav a:hover { color: var(--ink); background: rgba(255, 255, 255, 0.06); }
.header-tools { display: flex; align-items: center; gap: 12px; }
.lang-switch { display: flex; gap: 2px; padding: 3px; border: 1px solid var(--line-2); border-radius: 10px; }
.lang-switch a { display: block; min-width: 34px; padding: 5px 7px; border-radius: 7px; text-align: center; font-size: 12px; font-weight: 600; color: var(--ink-2); text-decoration: none; }
.lang-switch a:hover { color: var(--ink); }
.lang-switch a[aria-current="page"] { background: var(--accent); color: #04101f; }
.menu-toggle { display: none; }

/* Sin JavaScript, en pantallas estrechas el menú baja a una segunda fila con scroll horizontal. */
@media (max-width: 1279px) {
  .site-header__bar { flex-wrap: wrap; row-gap: 0; }
  .site-nav { order: 3; width: 100%; margin-left: 0; overflow-x: auto; }
  .site-nav ul { padding-bottom: 8px; }
  .site-nav a { white-space: nowrap; }
  .header-tools { margin-left: auto; }
  .header-tools .btn { display: none; }
  /* Con JavaScript: botón y panel desplegable. */
  .js .menu-toggle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--line-2); background: transparent; color: var(--ink); cursor: pointer; }
  .js .site-nav { display: none; overflow: visible; }
  .js .site-nav.is-open { display: block; }
  .js .site-nav ul { flex-direction: column; padding: 4px 0 14px; }
  .js .site-nav a { padding: 12px 8px; font-size: 17px; }
}
@media (max-width: 459px) {
  .site-header .brand span { display: none; }
}
.menu-toggle__bars, .menu-toggle__bars::before, .menu-toggle__bars::after { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; position: relative; content: ""; }
.menu-toggle__bars::before { position: absolute; top: -6px; }
.menu-toggle__bars::after { position: absolute; top: 6px; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::before { top: 0; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::after { top: 0; transform: rotate(-45deg); }

/* ── Portada ────────────────────────────────────────────────── */
.hero { position: relative; min-height: calc(92vh - var(--header-h)); display: flex; align-items: center; text-align: center; padding-block: 72px 56px; background: radial-gradient(ellipse 90% 70% at 50% 42%, #0a1424 0%, #05070d 50%, #000 100%); overflow: hidden; }
.hero .wrap { width: 100%; }
.hero h1 { font-size: clamp(40px, 7.2vw, 76px); letter-spacing: -0.035em; line-height: 1.04; margin: 18px auto 0; max-width: 14ch; }
.hero__sub { font-size: clamp(18px, 2.2vw, 21px); color: var(--ink-2); max-width: 32em; margin: 22px auto 0; text-wrap: balance; }
.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 34px; }
.hero__hint { margin-top: 48px; font-size: 13px; letter-spacing: 0.12em; color: var(--ink-3); display: flex; flex-direction: column; align-items: center; gap: 6px; }
@media (prefers-reduced-motion: no-preference) { .hero__hint span { animation: lm-bob 1.8s ease-in-out infinite; } }
@keyframes lm-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(6px); } }

/* ── Secciones ──────────────────────────────────────────────── */
.section { padding-block: clamp(72px, 10vw, 120px); border-top: 1px solid var(--line); }
.section__head { max-width: 44em; margin-bottom: clamp(32px, 5vw, 52px); }
.section__head h2 { font-size: clamp(30px, 4.4vw, 46px); margin-top: 10px; }
.section__head p:not(.kicker) { color: var(--ink-2); margin-top: 14px; font-size: 18px; }
.section--center .section__head { margin-inline: auto; text-align: center; }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }

/* Servicios */
.services { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.service { display: flex; gap: 16px; align-items: flex-start; }
.icon-tile { width: 44px; height: 44px; flex-shrink: 0; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 19px; background: rgba(41, 151, 255, 0.12); border: 1px solid rgba(41, 151, 255, 0.24); color: var(--accent-ink); }
.service h3 { font-size: 19px; letter-spacing: -0.01em; }
.service p { color: var(--ink-2); margin-top: 6px; font-size: 16px; }

/* Integraciones */
.integrations { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); }
@media (max-width: 599px) { .integrations { grid-template-columns: 1fr 1fr; } .integration { padding: 10px; gap: 10px; font-size: 15px; } }
.integration { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); font-size: 16px; font-weight: 500; }
.integration__dot { width: 30px; height: 30px; flex-shrink: 0; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; color: #fff; }

/* Cifras */
.stats { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.stat { text-align: center; padding: 30px 20px; background: linear-gradient(160deg, #0b1420, #0a0e15); border: 1px solid rgba(41, 151, 255, 0.22); border-radius: var(--radius); }
.stat__value { font-size: clamp(40px, 5vw, 52px); font-weight: 700; line-height: 1; letter-spacing: -0.03em; color: #8cc8ff; }
.stat__label { margin-top: 12px; color: var(--ink-2); font-size: 16px; }

/* FAQ */
.faq { max-width: 52em; margin-inline: auto; }
.faq__item { padding-block: 22px; border-top: 1px solid var(--line); }
.faq__item:last-child { border-bottom: 1px solid var(--line); }
.faq__item h3 { font-size: 19px; letter-spacing: -0.01em; }
.faq__item p { color: var(--ink-2); margin-top: 8px; }

/* ── Contacto ───────────────────────────────────────────────── */
.contact { display: grid; gap: clamp(32px, 5vw, 64px); grid-template-columns: 1fr; align-items: start; }
@media (min-width: 900px) { .contact { grid-template-columns: 0.9fr 1.1fr; } }
.contact__intro { margin-bottom: 0; }
.benefits { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 12px; }
.benefits li { display: flex; align-items: center; gap: 12px; color: var(--ink); }
.benefits li::before { content: "✓"; width: 24px; height: 24px; flex-shrink: 0; border-radius: 7px; display: flex; align-items: center; justify-content: center; font-size: 13px; background: rgba(79, 214, 160, 0.16); color: var(--ok); }

.form { display: grid; gap: 18px; padding: clamp(20px, 4vw, 32px); }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: 15px; }
.field__opt { font-weight: 400; color: var(--ink-3); }
.field input, .field textarea { width: 100%; font: inherit; font-size: 17px; color: var(--ink); background: var(--surface-2); border: 1px solid var(--line-2); border-radius: 12px; padding: 12px 14px; }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(41, 151, 255, 0.25); }
.field [aria-invalid="true"] { border-color: var(--err); }
.field__err, .form__status--err { color: var(--err); font-size: 15px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--ink-2); }
.check input { width: 22px; height: 22px; margin: 1px 0 0; flex-shrink: 0; accent-color: var(--accent); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form__turnstile { min-height: 65px; }
.form__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.form__status { font-size: 15px; }
.form__legal { font-size: 13px; line-height: 1.5; color: var(--ink-3); }
.form__nojs { color: var(--ink-2); }
.thanks { padding: clamp(24px, 4vw, 40px); text-align: center; }
.thanks h3 { font-size: 26px; }
.thanks p { color: var(--ink-2); margin-top: 10px; }
.js-only { display: none !important; }
.js .js-only { display: revert !important; }
.js .form__actions.js-only { display: flex !important; }

/* ── Pie ────────────────────────────────────────────────────── */
.site-footer { border-top: 1px solid var(--line); padding-block: 40px; color: var(--ink-3); font-size: 15px; }
.site-footer__grid { display: flex; flex-wrap: wrap; gap: 20px 40px; justify-content: space-between; align-items: flex-start; }
.site-footer .brand { font-size: 17px; }
.site-footer__tag { margin-top: 8px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; }
.site-footer a { color: var(--ink-2); }
.site-footer a:hover { color: var(--ink); }
.site-footer__legal { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 14px; }

/* ── Escena del workflow ────────────────────────────────────────
   Sin JavaScript o con «reducir movimiento»: una lista de tarjetas.
   Con JavaScript (.scene--3d): el vuelo 3D del bundle, fijado mientras se hace scroll. */
.scene { border-top: 1px solid var(--line); background: #000; }
.scene__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding-block: 40px 28px; }
.scene__label { font-size: 13px; font-weight: 600; letter-spacing: 0.18em; color: var(--ink); }
.skip-scene { font-size: 15px; }
.skip-scene--hud { display: none; }
.scene--3d .scene__head .skip-scene { visibility: hidden; }
.scene--3d .skip-scene--hud { display: block; position: absolute; top: 16px; left: var(--gutter); z-index: 4; font-size: 14px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.scene__static { padding-bottom: clamp(56px, 8vw, 96px); }
.step { position: relative; font-size: 17px; background: #10131a; border: 1px solid var(--line-2); border-radius: 1.3em; padding: 1.55em; box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.9), 0 0 40px -14px rgba(41, 151, 255, 0.35); }
.step__top { display: flex; align-items: center; gap: 0.82em; margin-bottom: 0.95em; }
.step__badge { width: 2.8em; height: 2.8em; flex-shrink: 0; border-radius: 0.82em; display: flex; align-items: center; justify-content: center; font-size: 1.2em; color: #fff; }
.step__badge svg { width: 1.15em; height: 1.15em; display: block; }
.step__kicker { font-size: 0.82em; font-weight: 600; letter-spacing: 0.12em; color: var(--accent-ink); }
.step h3 { font-size: 1.36em; margin-top: 0.1em; }
.step__desc { color: var(--ink-2); font-size: 1em; }
.step__detail { display: inline-flex; align-items: center; gap: 0.5em; margin-top: 0.95em; padding: 0.4em 0.8em; border-radius: 0.65em; background: rgba(41, 151, 255, 0.10); border: 1px solid rgba(41, 151, 255, 0.24); font-size: 0.88em; font-weight: 600; color: var(--accent-ink); }
.step__detail::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 8px var(--accent); }
.step__points { list-style: none; margin: 0.95em 0 0; padding: 0.95em 0 0; border-top: 1px solid var(--line); display: grid; gap: 0.6em; }
.step__points li { display: flex; gap: 0.6em; align-items: center; color: var(--ink-2); font-size: 0.94em; }
.step__points li::before { content: "✓"; width: 1.25em; height: 1.25em; flex-shrink: 0; border-radius: 0.38em; display: flex; align-items: center; justify-content: center; font-size: 0.75em; font-weight: 700; background: rgba(41, 151, 255, 0.14); color: var(--accent-ink); }
.scene__hud { display: none; }

.scene--3d .scene__track { position: relative; }
.scene--3d .scene__stage { position: sticky; top: var(--header-h); height: calc(100vh - var(--header-h)); height: calc(100svh - var(--header-h)); overflow: hidden; perspective: var(--p, 1200px); perspective-origin: 50% 45%; background: radial-gradient(ellipse 90% 70% at 50% 42%, #0a1424 0%, #05070d 48%, #000 100%); }
.scene--3d .scene__static { padding: 0; transform-style: preserve-3d; }
.scene--3d .scene__world { position: absolute; top: 50%; left: 50%; width: 0; height: 0; transform-style: preserve-3d; will-change: transform; }
.scene--3d .steps { display: block; transform-style: preserve-3d; }
.scene--3d .step { position: absolute; top: 0; left: 0; width: var(--card-w, 500px); font-size: var(--step-fs, 21px); opacity: 0; will-change: opacity; }
.scene--3d .scene__decor { position: absolute; top: 0; left: 0; transform-style: preserve-3d; }
.scene--3d .scene__vignette { position: absolute; inset: 0; pointer-events: none; z-index: 2; background: radial-gradient(ellipse 80% 70% at 50% 45%, transparent 40%, rgba(0, 0, 0, 0.55) 78%, #000 100%); }
.scene--3d .scene__hud { display: block; position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.scene__counter { position: absolute; top: 18px; right: var(--gutter); font-size: 13px; font-weight: 600; letter-spacing: 0.12em; color: var(--ink-3); }
.scene__counter b { color: var(--accent); font-weight: 600; }
.scene__caption { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 44px; text-align: center; }
.scene__caption .kicker { font-size: 12px; }
.scene__caption p:last-child { font-size: clamp(22px, 3vw, 30px); font-weight: 600; letter-spacing: -0.02em; margin-top: 6px; }
.scene__progress { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 22px; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, 0.12); }
.scene__progress span { display: block; height: 100%; width: 0; border-radius: 3px; background: linear-gradient(90deg, #5bb4ff, #2997ff); }
@media (max-width: 599px) {
  .scene__caption { bottom: 38px; }
  .scene__caption p:last-child { font-size: 20px; }
}
