/*
 * Landing pública de dmaRice.
 *
 * Identidad de movimiento (perfil «Premium», sin rebote: la marca habla de rigor y respaldo):
 * - Curva propia: --ease (0.2, 0, 0, 1) para casi todo; entradas con --ease-enter (0.05, 0.7, 0.1, 1),
 *   salidas con --ease-exit (0.3, 0, 1, 1) y bucles ambientales con --ease-ambient (seno).
 * - Tres duraciones: --t-quick 160ms (respuesta), --t-base 320ms (tarjetas, escenas), --t-slow 560ms (revelados).
 *   Las salidas duran ~35% menos que las entradas.
 * - Entrada común: sube 16px y aparece. Escalonado de 60ms con tope de 420ms por grupo; el hero, 90ms por pieza.
 * - Capas: principal (lo que se revela o cambia), secundaria (barras, chips e iconos que llegan después) y
 *   ambiental (ondas del «pulso», orbes, cinta de fuentes, la sinergia que fluye).
 * - Lineal solo en barras de progreso y en la cinta continua.
 * Con prefers-reduced-motion todo queda en su estado final y los bucles se detienen.
 */

:root {
    --rice-gold: #167D8D;
    --rice-gold-light: #6CC3CF;
    --rice-gold-dark: #0E5965;
    --rice-navy: #16243F;
    --rice-gold-rgb: 22,125,141;
    --gold-gradient: linear-gradient(135deg, var(--rice-gold-light), var(--rice-gold) 55%, var(--rice-gold-dark));

    --lp-ink: #16243F;
    --lp-text: #334155;
    --lp-muted: #64748b;
    --lp-line: #e6e9f0;
    --lp-bg: #ffffff;
    --lp-tint: #f7f8fb;
    --lp-night: #0d1629;
    --lp-night-2: #16243F;
    --lp-on-dark: #f4f6fb;
    --lp-on-dark-muted: rgba(244, 246, 251, .72);
    --lp-ok: #16a34a;

    --ease: cubic-bezier(0.2, 0, 0, 1);
    --ease-enter: cubic-bezier(0.05, 0.7, 0.1, 1);
    --ease-exit: cubic-bezier(0.3, 0, 1, 1);
    --ease-ambient: cubic-bezier(0.45, 0, 0.55, 1);
    --t-quick: 160ms;
    --t-base: 320ms;
    --t-slow: 560ms;

    --radius: 18px;
    --shadow-sm: 0 1px 2px rgba(22, 36, 63, .06), 0 4px 14px rgba(22, 36, 63, .05);
    --shadow-lg: 0 2px 6px rgba(22, 36, 63, .08), 0 24px 52px rgba(22, 36, 63, .18);
    --shadow-gold: 0 10px 26px rgba(var(--rice-gold-rgb), .32);
}

*, *::before, *::after { box-sizing: border-box; }

/* overflow-x en body no impide el scroll lateral en iOS; clip en html sí, y sin crear contenedor de scroll */
html { scroll-behavior: smooth; scroll-padding-top: 84px; overflow-x: clip; }

body.landing {
    margin: 0;
    background: var(--lp-bg);
    color: var(--lp-text);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* Reset sin especificidad (:where) para que las clases de cada bloque manden. */
:where(.landing) :where(h1, h2, h3) { color: var(--lp-ink); margin: 0; line-height: 1.12; letter-spacing: -.02em; }
:where(.landing) :where(p) { margin: 0; }
:where(.landing) :where(a) { color: inherit; }
:where(.landing) :where(ul, ol) { margin: 0; padding: 0; list-style: none; }

.lp-wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.lp-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.lp-skip {
    position: absolute; left: 16px; top: -48px; z-index: 100; padding: 10px 16px; border-radius: 10px;
    background: var(--rice-navy); color: #fff; text-decoration: none; font-weight: 600;
    transition: top var(--t-quick) var(--ease);
}
.lp-skip:focus { top: 12px; }

:focus-visible { outline: 3px solid rgba(var(--rice-gold-rgb), .7); outline-offset: 3px; border-radius: 8px; }

/* ── Marca ─────────────────────────────────────────────── */
.lp-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.lp-logo-mark { position: relative; width: 30px; height: 30px; flex: 0 0 30px; }
.lp-logo-mark::before, .lp-logo-mark::after {
    content: ""; position: absolute; left: 3px; width: 21px; height: 9px;
    border-radius: 999px 2px 999px 2px; background: var(--mark-gradient, var(--gold-gradient));
    box-shadow: 0 0 20px rgba(var(--mark-rgb, var(--rice-gold-rgb)), .35);
}
.lp-logo-mark::before { top: 6px; transform: rotate(-28deg); }
.lp-logo-mark::after { top: 15px; opacity: .66; transform: rotate(28deg); }
.lp-wordmark { font-size: 21px; font-weight: 800; letter-spacing: -.01em; }
.lp-wordmark b { font-weight: inherit; }
.lp-wordmark-dma { color: #fff; transition: color var(--t-base) var(--ease); }
/* El isotipo y el nombre aceptan --mark-gradient, --mark-rgb y --mark-ink: el mismo logo sirve para cada producto dma. */
.lp-wordmark-rice { color: var(--mark-ink, var(--rice-gold)); }
.lp-nav.is-solid .lp-wordmark-dma, .lp-footer .lp-wordmark-dma { color: var(--rice-navy); }

/* ── Botones ───────────────────────────────────────────── */
.lp-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    padding: 14px 22px; border: 0; border-radius: 14px; font: inherit; font-weight: 700; font-size: 15px;
    text-decoration: none; cursor: pointer; white-space: nowrap;
    transition: transform var(--t-quick) var(--ease), box-shadow var(--t-base) var(--ease), background-color var(--t-base) var(--ease);
}
.lp-btn i { transition: transform var(--t-quick) var(--ease); }
.lp-btn:hover i.fa-arrow-right { transform: translateX(3px); }
.lp-btn:active { transform: scale(.97); }
.lp-btn-gold { background: var(--gold-gradient); color: #fff !important; box-shadow: var(--shadow-gold); }
.lp-btn-gold:hover { box-shadow: 0 14px 32px rgba(var(--rice-gold-rgb), .42); transform: translateY(-1px); }
.lp-btn-glass { background: rgba(255, 255, 255, .08); color: #fff !important; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22); }
.lp-btn-glass:hover { background: rgba(255, 255, 255, .14); }
.lp-btn-sm { padding: 10px 16px; font-size: 14px; border-radius: 12px; }

/* ── Navegación ────────────────────────────────────────── */
.lp-nav {
    position: fixed; inset: 0 0 auto; z-index: 50; padding: 16px 0;
    transition: background-color var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease), padding var(--t-base) var(--ease);
}
.lp-nav.is-solid { background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.4) blur(14px); box-shadow: 0 1px 0 var(--lp-line); padding: 10px 0; }
.lp-nav-inner { display: flex; align-items: center; gap: 28px; }
.lp-nav-links { display: flex; gap: 26px; margin-left: 12px; }
.lp-nav-links a, .lp-nav-login {
    position: relative; color: rgba(255, 255, 255, .82); text-decoration: none; font-size: 14.5px; font-weight: 600;
    transition: color var(--t-quick) var(--ease);
}
.lp-nav-links a::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; border-radius: 2px;
    background: var(--gold-gradient); transform: scaleX(0); transform-origin: left; transition: transform var(--t-base) var(--ease);
}
.lp-nav-links a:hover::after { transform: scaleX(1); }
.lp-nav-links a:hover, .lp-nav-login:hover { color: #fff; }
.lp-nav.is-solid .lp-nav-links a, .lp-nav.is-solid .lp-nav-login { color: var(--lp-text); }
.lp-nav.is-solid .lp-nav-links a:hover, .lp-nav.is-solid .lp-nav-login:hover { color: var(--lp-ink); }
.lp-nav-actions { display: flex; align-items: center; gap: 18px; margin-left: auto; }

.lp-lang { position: relative; }
.lp-lang-btn {
    display: inline-flex; align-items: center; gap: 7px; padding: 8px 10px; border: 0; border-radius: 10px;
    background: transparent; color: rgba(255, 255, 255, .82); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer;
    transition: background-color var(--t-quick) var(--ease), color var(--t-quick) var(--ease);
}
.lp-lang-btn:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.lp-nav.is-solid .lp-lang-btn { color: var(--lp-text); }
.lp-nav.is-solid .lp-lang-btn:hover { background: var(--lp-tint); }
.lp-caret { font-size: 10px; transition: transform var(--t-base) var(--ease); }
.lp-lang.is-open .lp-caret { transform: rotate(180deg); }
.lp-lang-menu {
    position: absolute; right: 0; top: calc(100% + 8px); min-width: 170px; padding: 6px; border-radius: 14px;
    background: #fff; box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(-6px) scale(.98);
    transform-origin: top right;
    transition: opacity var(--t-quick) var(--ease-exit), transform var(--t-quick) var(--ease-exit), visibility 0s linear var(--t-quick);
}
.lp-lang.is-open .lp-lang-menu {
    opacity: 1; visibility: visible; transform: none;
    transition: opacity var(--t-base) var(--ease-enter), transform var(--t-base) var(--ease-enter), visibility 0s;
}
.lp-lang-menu a {
    display: flex; justify-content: space-between; align-items: center; padding: 9px 12px; border-radius: 10px;
    color: var(--lp-text); text-decoration: none; font-size: 14px; font-weight: 500;
}
.lp-lang-menu a:hover, .lp-lang-menu a:focus-visible { background: var(--lp-tint); color: var(--lp-ink); }
.lp-lang-menu a[aria-current] { color: var(--lp-ink); font-weight: 700; }
.lp-lang-menu .fa-check { color: var(--rice-gold-dark); font-size: 12px; }

/* ── Hero ──────────────────────────────────────────────── */
.lp-hero {
    position: relative; overflow: hidden; padding: 138px 0 0; color: var(--lp-on-dark);
    background: radial-gradient(120% 90% at 85% 0%, #22365c 0%, var(--lp-night-2) 38%, var(--lp-night) 100%);
}
.lp-hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr); gap: 56px; align-items: center; }
.lp-eyebrow {
    display: inline-flex; align-items: center; gap: 9px; margin-bottom: 18px;
    color: var(--rice-gold-dark); font-size: 12.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
}
.lp-eyebrow-dark { color: var(--rice-gold-light); }
.lp-hero .lp-eyebrow { padding: 7px 14px; border-radius: 999px; background: rgba(var(--rice-gold-rgb), .1); box-shadow: inset 0 0 0 1px rgba(var(--rice-gold-rgb), .25); }
.live-dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--rice-gold); }
.live-dot::after {
    content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--rice-gold);
    animation: lp-ping 2.4s var(--ease-ambient) infinite;
}
.lp-hero-title { color: #fff !important; font-size: clamp(38px, 5.2vw, 62px); font-weight: 800; letter-spacing: -.035em; line-height: 1.04; }
.lp-hero-title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.lp-hero-title .line > span { display: inline-block; }
.lp-hero-title em, .lp-cta h2 em {
    font-style: normal; background: var(--gold-gradient); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lp-rice-line { display: block; width: 220px; height: 28px; margin: 18px 0 8px; overflow: visible; }
.lp-rice-line path {
    fill: none; stroke: var(--rice-gold); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round;
    stroke-dasharray: 1; stroke-dashoffset: 1; filter: drop-shadow(0 0 6px rgba(var(--rice-gold-rgb), .55));
}
html.is-ready .lp-rice-line path { animation: lp-draw 1.1s var(--ease) .55s forwards; }
.lp-lead { max-width: 540px; color: var(--lp-on-dark-muted); font-size: 18.5px; line-height: 1.6; }
.lp-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.lp-hero-points { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 30px; color: var(--lp-on-dark-muted); font-size: 14px; }
.lp-hero-points li { display: inline-flex; align-items: center; gap: 8px; }
.lp-hero-points i { color: var(--rice-gold); }

/* Entrada del hero: título por líneas (sube desde la máscara), el resto sube 16px. 90ms entre piezas. */
html.js [data-hero] {
    opacity: 0; transform: translateY(16px);
    transition: opacity var(--t-slow) var(--ease-enter), transform var(--t-slow) var(--ease-enter);
}
html.js .lp-hero-title [data-hero] { transform: translateY(105%); transition-duration: 720ms; }
html.js [data-hero="6"] { transform: translateY(24px) scale(.98); transition-duration: 760ms; }
html.is-ready [data-hero], html.is-ready .lp-hero-title [data-hero] { opacity: 1; transform: none; }
[data-hero="1"] { transition-delay: 90ms !important; }
[data-hero="2"] { transition-delay: 180ms !important; }
[data-hero="3"] { transition-delay: 270ms !important; }
[data-hero="4"] { transition-delay: 360ms !important; }
[data-hero="5"] { transition-delay: 450ms !important; }
[data-hero="6"] { transition-delay: 220ms !important; }

/* Capa ambiental */
/* Con capas animadas y con blur, overflow: hidden no recorta en Safari/iOS: clip-path y contain: paint lo fuerzan. */
.lp-ambient { position: absolute; inset: 0; pointer-events: none; overflow: hidden; clip-path: inset(0); contain: paint; }
.orb { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .5; animation: lp-float 16s var(--ease-ambient) infinite alternate; }
.orb-a { width: 460px; height: 460px; left: -140px; top: -120px; background: rgba(var(--rice-gold-rgb), .28); }
.orb-b { width: 520px; height: 520px; right: -160px; bottom: -220px; background: rgba(76, 110, 180, .42); animation-delay: -6s; }
.orb-c { width: 380px; height: 380px; right: 10%; top: -160px; background: rgba(var(--rice-gold-rgb), .2); animation-delay: -10s; }
.lp-grid {
    position: absolute; inset: 0; opacity: .5;
    background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(ellipse 70% 60% at 60% 30%, #000 30%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 60% 30%, #000 30%, transparent 80%);
}

/* ── Escenario del hero ────────────────────────────────── */
.lp-stage { position: relative; }
.lp-stage-rings { position: absolute; left: 50%; top: 50%; width: 0; height: 0; z-index: 0; }
.lp-stage-rings i {
    position: absolute; left: -330px; top: -330px; width: 660px; height: 660px; border-radius: 50%;
    border: 1.5px solid rgba(var(--rice-gold-rgb), .35); opacity: 0;
    animation: lp-ring 6s var(--ease-ambient) infinite;
}
.lp-stage-rings i:nth-child(2) { animation-delay: 2s; }
.lp-stage-rings i:nth-child(3) { animation-delay: 4s; }
.lp-stage.is-paused .lp-stage-rings i { animation-play-state: paused; }

.lp-window {
    position: relative; z-index: 1; border-radius: 22px; background: #fff; color: var(--lp-text);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .08), 0 40px 90px rgba(4, 10, 24, .55);
    overflow: hidden;
}
.lp-window-bar { display: flex; align-items: center; gap: 6px; padding: 12px 16px; background: #f3f5f9; border-bottom: 1px solid var(--lp-line); }
.lp-window-bar span { width: 10px; height: 10px; border-radius: 50%; background: #d7dce5; }
.lp-window-bar span:first-child { background: #f87171; }
.lp-window-bar span:nth-child(2) { background: #fbbf24; }
.lp-window-bar span:nth-child(3) { background: #34d399; }
.lp-window-bar em { margin-left: 12px; padding: 3px 12px; border-radius: 8px; background: #fff; color: var(--lp-muted); font-size: 12px; font-style: normal; }

.lp-tabs { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--lp-line); }
.lp-tab {
    position: relative; display: flex; align-items: center; justify-content: center; gap: 7px; padding: 13px 6px;
    border: 0; background: transparent; color: var(--lp-muted); font: inherit; font-size: 12.5px; font-weight: 600; cursor: pointer;
    transition: color var(--t-base) var(--ease), background-color var(--t-quick) var(--ease);
}
.lp-tab:hover { background: var(--lp-tint); }
.lp-tab i { font-size: 13px; transition: transform var(--t-base) var(--ease); }
.lp-tab[aria-selected="true"] { color: var(--lp-ink); }
.lp-tab[aria-selected="true"] i { color: var(--rice-gold-dark); transform: scale(1.12); }
.lp-tab-bar { position: absolute; left: 10px; right: 10px; bottom: -1px; height: 2px; border-radius: 2px; background: var(--lp-line); overflow: hidden; }
.lp-tab-bar::after { content: ""; position: absolute; inset: 0; background: var(--gold-gradient); transform: scaleX(0); transform-origin: left; }
.lp-tab.is-done .lp-tab-bar::after { transform: scaleX(1); }
/* Progreso de la escena activa: lineal, es un tiempo. */
.lp-tab[aria-selected="true"] .lp-tab-bar::after { animation: lp-progress var(--scene-ms, 4200ms) linear forwards; }
.lp-stage.is-paused .lp-tab-bar::after, .lp-stage.is-manual .lp-tab-bar::after { animation-play-state: paused; }
.lp-stage.is-manual .lp-tab[aria-selected="true"] .lp-tab-bar::after { animation: none; transform: scaleX(1); }

.lp-scenes { position: relative; height: 352px; }
.lp-scene {
    position: absolute; inset: 0; padding: 22px 24px; opacity: 0; visibility: hidden; transform: translateY(10px);
    transition: opacity 200ms var(--ease-exit), transform 200ms var(--ease-exit), visibility 0s linear 200ms;
}
.lp-scene.is-active {
    opacity: 1; visibility: visible; transform: none;
    transition: opacity var(--t-base) var(--ease-enter) 120ms, transform var(--t-base) var(--ease-enter) 120ms, visibility 0s;
}
.lp-scene-title { margin-bottom: 14px !important; color: var(--lp-muted); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.lp-scene-foot { display: flex; align-items: center; gap: 8px; margin-top: 14px !important; color: var(--lp-muted); font-size: 12.5px; }
.lp-scene-foot i { color: var(--rice-gold-dark); }

/* Pasos de cada escena: entran en secuencia (los marca el JS). */
html.js .lp-scene [data-step] {
    opacity: 0; transform: translateY(10px);
    transition: opacity var(--t-base) var(--ease-enter), transform var(--t-base) var(--ease-enter);
}
html.js .lp-scene [data-step].is-in { opacity: 1; transform: none; }

/* 1 · Fuentes */
.lp-files { display: grid; gap: 10px; }
.lp-file { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--lp-line); border-radius: 14px; background: #fff; }
.lp-file-icon { display: grid; place-items: center; width: 38px; height: 38px; flex: 0 0 38px; border-radius: 11px; font-size: 16px; }
.lp-file-icon.is-red { background: #fee2e2; color: #dc2626; }
.lp-file-icon.is-blue { background: #dbeafe; color: #2563eb; }
.lp-file-icon.is-ink { background: #e2e8f0; color: var(--rice-navy); }
.lp-file-body { flex: 1; min-width: 0; }
.lp-file-body strong { display: block; color: var(--lp-ink); font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lp-progress { display: block; height: 5px; margin-top: 7px; border-radius: 5px; background: #eef1f6; overflow: hidden; }
.lp-progress i { display: block; height: 100%; background: var(--gold-gradient); transform: scaleX(0); transform-origin: left; transition: transform 1s linear; }
.lp-file.is-in .lp-progress i { transform: scaleX(1); }
.lp-file-state {
    display: inline-flex; align-items: center; gap: 5px; color: var(--lp-ok); font-size: 12px; font-weight: 700;
    opacity: 0; transform: scale(.8); transition: opacity var(--t-base) var(--ease) 1s, transform var(--t-base) var(--ease-enter) 1s;
}
.lp-file.is-in .lp-file-state { opacity: 1; transform: none; }

/* 2 · Conocimiento */
.lp-kcard { padding: 16px; border: 1px solid var(--lp-line); border-radius: 16px; box-shadow: var(--shadow-sm); }
.lp-kcard header { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.lp-kcard header strong { color: var(--lp-ink); font-size: 15px; }
.lp-kicon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: rgba(var(--rice-gold-rgb), .16); color: var(--rice-gold-dark); }
.lp-kcard p { color: var(--lp-muted); font-size: 13px; line-height: 1.5; }
.lp-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.lp-tags span { padding: 4px 10px; border-radius: 999px; background: #eef2f8; color: var(--lp-ink); font-size: 11.5px; font-weight: 600; }
html.js .lp-tags [data-step] { transform: scale(.85); }
.lp-evidence { display: inline-flex; align-items: center; gap: 7px; margin-top: 12px; color: var(--lp-ok); font-size: 12.5px; font-weight: 600; }
.lp-synergy { position: relative; display: flex; justify-content: flex-end; padding-top: 22px; }
.lp-synergy-line { position: absolute; right: 70px; top: 0; width: 2px; height: 22px; background: repeating-linear-gradient(to bottom, var(--rice-gold) 0 4px, transparent 4px 8px); }
.lp-synergy-chip {
    display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 12px;
    background: var(--rice-navy); color: #fff; font-size: 12.5px; font-weight: 600; box-shadow: var(--shadow-sm);
}
.lp-synergy-chip i { color: var(--rice-gold); }

/* 3 · Visibilidad */
.lp-post { padding: 16px; border: 1px solid var(--lp-line); border-radius: 16px; }
.lp-post header { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.lp-post header strong { display: block; color: var(--lp-ink); font-size: 13.5px; line-height: 1.2; }
.lp-post header small { color: var(--lp-muted); font-size: 11.5px; }
.lp-post-avatar { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #0a66c2; color: #fff; }
.lp-post-hook { min-height: 66px; color: var(--lp-ink); font-size: 14.5px; font-weight: 600; line-height: 1.5; }
.lp-post-hook.is-typing::after {
    content: ""; display: inline-block; width: 2px; height: 1em; margin-left: 2px; vertical-align: -2px;
    background: var(--rice-gold-dark); animation: lp-blink .9s steps(2) infinite;
}
.sk { display: block; height: 8px; margin-top: 10px; border-radius: 6px; background: #eef1f6; }
.sk-short { width: 62%; }
.lp-verified {
    display: flex; align-items: center; gap: 12px; margin-top: 14px; padding: 12px 14px; border-radius: 14px;
    background: #E7F3F5; color: #0E5965;
}
.lp-verified strong { display: block; font-size: 13.5px; }
.lp-verified small { color: #3f7a55; font-size: 12px; }
.lp-badge-ok { display: grid; place-items: center; width: 30px; height: 30px; flex: 0 0 30px; border-radius: 50%; background: var(--lp-ok); color: #fff; }
.lp-badge-ok svg { width: 18px; height: 18px; }
.lp-badge-ok path { fill: none; stroke: currentColor; stroke-width: 2.8; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.lp-verified.is-in .lp-badge-ok path, .lp-demo-done.is-on .lp-badge-ok path { animation: lp-check 420ms var(--ease) 140ms both; }
.lp-verified.is-in .lp-badge-ok { animation: lp-pop 360ms var(--ease-enter) both; }

/* 4 · Oportunidad */
.lp-ocard { display: flex; align-items: center; gap: 16px; padding: 16px; border: 1px solid var(--lp-line); border-radius: 16px; box-shadow: var(--shadow-sm); }
.lp-ocard-body { min-width: 0; }
.lp-ocard-body strong { display: block; margin-top: 6px; color: var(--lp-ink); font-size: 14.5px; line-height: 1.3; }
.lp-ocard-body small { display: block; margin-top: 3px; color: var(--lp-muted); font-size: 12.5px; line-height: 1.4; }
.lp-pill { display: inline-block; padding: 3px 9px; border-radius: 999px; background: rgba(var(--rice-gold-rgb), .16); color: #0E5965; font-size: 11px; font-weight: 700; }
.lp-ring { position: relative; width: 70px; height: 70px; flex: 0 0 70px; --value: 0; }
.lp-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.lp-ring circle { fill: none; stroke-width: 6; }
.lp-ring .track { stroke: #eef1f6; }
.lp-ring .fill {
    stroke: var(--rice-gold); stroke-linecap: round; stroke-dasharray: 169.65;
    stroke-dashoffset: calc(169.65 * (1 - var(--value) / 100));
    transition: stroke-dashoffset 1.2s var(--ease);
}
.lp-ring strong { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: var(--lp-ink); font-size: 17px; font-weight: 800; font-variant-numeric: tabular-nums; }
.lp-criteria { display: grid; gap: 9px; margin-top: 14px; }
.lp-criteria li { display: grid; grid-template-columns: 1fr 1.25fr; align-items: center; gap: 12px; font-size: 12.5px; color: var(--lp-text); }
.lp-criteria b, .lp-bars b { display: block; height: 7px; border-radius: 7px; background: #eef1f6; overflow: hidden; }
.lp-criteria b i, .lp-bars b i {
    display: block; height: 100%; border-radius: 7px; background: var(--gold-gradient);
    transform: scaleX(0); transform-origin: left; transition: transform 900ms var(--ease);
}
[data-level="strong"] { --k: 1; }
[data-level="partial"] { --k: .6; }
[data-level="unknown"] { --k: 0; }
.lp-criteria li.is-in b i, .lp-match.is-in .lp-bars b i { transform: scaleX(var(--k)); }

/* ── Cinta de fuentes ──────────────────────────────────── */
.lp-marquee { position: relative; z-index: 1; margin-top: 84px; padding: 22px 0 34px; border-top: 1px solid rgba(255, 255, 255, .08); }
.lp-marquee-title { margin-bottom: 16px !important; text-align: center; color: var(--lp-on-dark-muted); font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.lp-marquee-track {
    display: flex; overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.lp-marquee-group { display: flex; flex-shrink: 0; gap: 14px; padding-right: 14px; animation: lp-marquee 42s linear infinite; }
.lp-marquee-track:hover .lp-marquee-group { animation-play-state: paused; }
.lp-marquee-group li {
    display: inline-flex; align-items: center; gap: 9px; padding: 9px 16px; border-radius: 999px;
    background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1);
    color: var(--lp-on-dark); font-size: 14px; font-weight: 500; white-space: nowrap;
}
.lp-marquee-group i { color: var(--rice-gold); }

/* ── Secciones ─────────────────────────────────────────── */
.lp-section { position: relative; padding: 110px 0; }
.lp-section-tint { background: var(--lp-tint); }
.lp-section-dark { overflow: hidden; background: linear-gradient(160deg, var(--lp-night-2), var(--lp-night)); color: var(--lp-on-dark); }
.lp-section-dark h2 { color: #fff; }
.lp-section-dark .lp-sub { color: var(--lp-on-dark-muted); }
.lp-section-dark .lp-wrap { position: relative; z-index: 1; }
.lp-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.landing h2, .lp-cta h2 { font-size: clamp(30px, 3.6vw, 44px); font-weight: 800; letter-spacing: -.03em; }
.lp-sub { margin-top: 16px !important; color: var(--lp-muted); font-size: 17.5px; line-height: 1.65; }
.lp-split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.lp-split-reverse > :first-child { order: 2; }

/* Revelado común al hacer scroll */
html.js [data-reveal] {
    opacity: 0; transform: translateY(16px);
    transition: opacity var(--t-slow) var(--ease-enter) var(--delay, 0ms), transform var(--t-slow) var(--ease-enter) var(--delay, 0ms);
}
html.js [data-reveal].is-in { opacity: 1; transform: none; }

/* Cuatro preguntas: línea que se llena con el scroll */
.lp-timeline { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.lp-timeline-rail { position: absolute; left: 12.5%; right: 12.5%; top: 27px; height: 3px; border-radius: 3px; background: var(--lp-line); }
.lp-timeline-fill { position: absolute; inset: 0; border-radius: inherit; background: var(--gold-gradient); transform: scaleX(var(--progress, 0)); transform-origin: left; }
.lp-step { position: relative; text-align: center; }
.lp-step-dot {
    position: relative; z-index: 1; display: grid; place-items: center; width: 56px; height: 56px; margin: 0 auto 18px;
    border-radius: 18px; background: #fff; color: var(--lp-muted); font-size: 20px; box-shadow: 0 0 0 1px var(--lp-line), var(--shadow-sm);
    transition: background-color var(--t-base) var(--ease), color var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease), transform var(--t-base) var(--ease);
}
.lp-step.is-reached .lp-step-dot { background: var(--gold-gradient); color: #fff; box-shadow: var(--shadow-gold); transform: translateY(-2px); }
.lp-step-num { display: block; color: var(--rice-gold-dark); font-size: 12.5px; font-weight: 800; letter-spacing: .14em; }
.lp-step h3 { margin: 6px 0 10px; font-size: 20px; }
.lp-step p { color: var(--lp-muted); font-size: 15px; }

/* Listas de comprobación */
.lp-checks { display: grid; gap: 12px; margin-top: 26px !important; }
.lp-checks li { display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; }
.lp-checks i {
    display: grid; place-items: center; width: 22px; height: 22px; flex: 0 0 22px; margin-top: 2px; border-radius: 50%;
    background: rgba(var(--rice-gold-rgb), .18); color: var(--rice-gold-dark); font-size: 11px;
}
.lp-checks-dark li { color: var(--lp-on-dark); }
.lp-checks-dark i { background: rgba(var(--rice-gold-rgb), .16); color: var(--rice-gold-light); }

/* Mapa de conocimientos */
.lp-graph { position: relative; aspect-ratio: 5 / 4; max-width: 520px; width: 100%; margin: 0 auto; border-radius: 28px; background: #fff; box-shadow: var(--shadow-lg); }
.lp-graph svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.lp-graph path { fill: none; stroke: #cfd6e3; stroke-width: 2; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 900ms var(--ease); }
.lp-graph.is-in path { stroke-dashoffset: 0; }
.lp-graph .edges path:nth-child(2) { transition-delay: 90ms; }
.lp-graph .edges path:nth-child(3) { transition-delay: 180ms; }
.lp-graph .edges path:nth-child(4) { transition-delay: 270ms; }
.lp-graph .edge-synergy { stroke: var(--rice-gold); stroke-width: 2.4; transition-delay: 800ms !important; transition-duration: 700ms; }
.lp-graph.is-flowing .edge-synergy { stroke-dasharray: .02 .015; animation: lp-flow 1.6s linear infinite; }
.node {
    position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%) scale(.85); opacity: 0;
    display: inline-flex; align-items: center; gap: 7px; padding: 8px 13px; border-radius: 12px;
    background: #fff; color: var(--lp-ink); font-size: 13px; font-weight: 600; white-space: nowrap;
    box-shadow: 0 0 0 1px var(--lp-line), var(--shadow-sm);
    transition: opacity var(--t-base) var(--ease-enter), transform var(--t-base) var(--ease-enter);
}
.node-core { --x: 50%; --y: 50%; padding: 12px 18px; background: var(--rice-navy); color: #fff; font-size: 14px; box-shadow: var(--shadow-lg); }
.node-core i { color: var(--rice-gold); }
.node-1 { --x: 22.5%; --y: 25%; transition-delay: 300ms; }
.node-2 { --x: 80%; --y: 21.9%; transition-delay: 380ms; }
.node-3 { --x: 20%; --y: 75%; transition-delay: 460ms; }
.node-4 { --x: 77.5%; --y: 78.1%; transition-delay: 540ms; }
.node-synergy { --x: 51%; --y: 9%; background: var(--gold-gradient); color: #fff; box-shadow: var(--shadow-gold); transition-delay: 1.3s; }
.lp-graph.is-in .node { opacity: 1; transform: translate(-50%, -50%); }
.lp-graph.is-flowing .node-synergy { animation: lp-breathe 3.2s var(--ease-ambient) infinite; }

/* Formatos */
.lp-formats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.lp-card {
    padding: 24px; border-radius: var(--radius); background: #fff; box-shadow: 0 0 0 1px var(--lp-line);
    transition: opacity var(--t-slow) var(--ease-enter) var(--delay, 0ms), transform var(--t-slow) var(--ease-enter) var(--delay, 0ms), box-shadow var(--t-base) var(--ease);
}
.lp-card.is-settled { transition: transform var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease); }
.lp-card.is-settled:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px rgba(var(--rice-gold-rgb), .45), var(--shadow-lg); }
.lp-card-icon {
    display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 16px; border-radius: 14px;
    background: rgba(var(--rice-gold-rgb), .14); color: var(--rice-gold-dark); font-size: 19px;
    transition: transform var(--t-base) var(--ease), background-color var(--t-base) var(--ease), color var(--t-base) var(--ease);
}
.lp-card.is-settled:hover .lp-card-icon { transform: rotate(-6deg) scale(1.06); background: var(--rice-navy); color: var(--rice-gold-light); }
.lp-card h3 { margin-bottom: 8px; font-size: 17px; }
.lp-card p { color: var(--lp-muted); font-size: 14.5px; line-height: 1.55; }
.lp-callout {
    display: flex; align-items: center; gap: 16px; max-width: 820px; margin: 40px auto 0; padding: 18px 22px;
    border-radius: 16px; background: #E7F3F5; color: #0E5965; font-size: 15.5px;
}
.lp-callout strong { color: #0E5965; }

/* Encaje de oportunidades */
.lp-match { padding: 28px; border-radius: 24px; background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1), 0 30px 70px rgba(0, 0, 0, .35); backdrop-filter: blur(6px); }
.lp-match-head { display: flex; align-items: center; gap: 18px; margin-bottom: 24px; }
.lp-match-head > div:last-child strong { display: block; color: #fff; font-size: 18px; }
.lp-match-head > div:last-child small { color: var(--lp-on-dark-muted); font-size: 13.5px; }
.lp-ring-lg { width: 92px; height: 92px; flex-basis: 92px; }
.lp-ring-lg strong { color: #fff; font-size: 22px; }
.lp-match .lp-ring .track { stroke: rgba(255, 255, 255, .12); }
.lp-bars { display: grid; gap: 14px; }
.lp-bars li { display: grid; grid-template-columns: 1fr 1.1fr; align-items: center; gap: 4px 16px; color: var(--lp-on-dark); font-size: 14px; }
.lp-bars em { color: var(--lp-on-dark-muted); font-size: 12px; font-style: normal; }
.lp-bars b { background: rgba(255, 255, 255, .1); }
.lp-bars li:nth-child(2) b i { transition-delay: 60ms; }
.lp-bars li:nth-child(3) b i { transition-delay: 120ms; }
.lp-bars li:nth-child(4) b i { transition-delay: 180ms; }
.lp-bars li:nth-child(5) b i { transition-delay: 240ms; }
.lp-bars li:nth-child(6) b i { transition-delay: 300ms; }
.lp-bars li:nth-child(7) b i { transition-delay: 360ms; }
.lp-bars small { grid-column: 2; color: var(--rice-gold-light); font-size: 12px; }
.lp-bars [data-level="unknown"] b { background: repeating-linear-gradient(135deg, rgba(255, 255, 255, .1) 0 6px, transparent 6px 12px); }

/* Confianza */
.lp-trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.lp-trust-item { display: flex; gap: 16px; padding: 22px; border-radius: var(--radius); background: var(--lp-tint); }
.lp-trust-item > i {
    display: grid; place-items: center; width: 42px; height: 42px; flex: 0 0 42px; border-radius: 12px;
    background: var(--rice-navy); color: var(--rice-gold-light); font-size: 17px;
}
.lp-trust-item h3 { margin-bottom: 6px; font-size: 16.5px; }
.lp-trust-item p { color: var(--lp-muted); font-size: 14.5px; line-height: 1.55; }

/* ── Pedir una demo ────────────────────────────────────── */
.lp-cta { position: relative; overflow: hidden; padding: 110px 0; background: radial-gradient(110% 90% at 0% 100%, #22365c, var(--lp-night-2) 45%, var(--lp-night)); color: var(--lp-on-dark); }
.lp-demo { position: relative; z-index: 1; display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
.lp-cta h2 { color: #fff; }
.lp-demo-copy > p { margin-top: 18px !important; color: var(--lp-on-dark-muted); font-size: 17px; }
.lp-demo-login { display: inline-flex; align-items: center; gap: 8px; margin-top: 28px; color: var(--rice-gold-light) !important; font-weight: 600; text-decoration: none; }
.lp-demo-login i { transition: transform var(--t-quick) var(--ease); }
.lp-demo-login:hover i { transform: translateX(3px); }
.lp-demo-card { position: relative; padding: 30px; border-radius: 24px; background: #fff; color: var(--lp-text); box-shadow: 0 40px 90px rgba(0, 0, 0, .4); }
.lp-demo-form { transition: opacity 220ms var(--ease-exit), transform 220ms var(--ease-exit); }
.lp-demo-form.is-leaving { opacity: 0; transform: translateY(-8px); }
.lp-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.lp-field { display: grid; gap: 7px; color: var(--lp-ink); font-size: 13.5px; font-weight: 600; min-width: 0; }
.lp-field small { color: var(--lp-muted); font-weight: 500; }
.lp-field-full { margin-top: 16px; }
fieldset.lp-field { margin-inline: 0; padding: 0; border: 0; }
fieldset.lp-field legend { padding: 0; margin-bottom: 7px; }
.lp-field input, .lp-field textarea {
    width: 100%; padding: 12px 14px; border: 1px solid #d7dde8; border-radius: 12px; background: #fff;
    color: var(--lp-ink); font: inherit; font-size: 15px; font-weight: 400;
    transition: border-color var(--t-quick) var(--ease), box-shadow var(--t-quick) var(--ease);
}
.lp-field textarea { min-height: 96px; resize: vertical; }
.lp-field input:focus, .lp-field textarea:focus { outline: none; border-color: var(--rice-gold); box-shadow: 0 0 0 4px rgba(var(--rice-gold-rgb), .2); }
.lp-field.is-invalid input { border-color: #dc2626; box-shadow: 0 0 0 4px rgba(220, 38, 38, .12); }
.lp-pick { display: flex; flex-wrap: wrap; gap: 8px; }
.lp-pick label { position: relative; cursor: pointer; }
.lp-pick input { position: absolute; opacity: 0; pointer-events: none; }
.lp-pick span {
    display: inline-block; padding: 8px 14px; border-radius: 999px; background: var(--lp-tint); box-shadow: inset 0 0 0 1px #d7dde8;
    color: var(--lp-text); font-size: 13.5px; font-weight: 500;
    transition: background-color var(--t-quick) var(--ease), box-shadow var(--t-quick) var(--ease), color var(--t-quick) var(--ease), transform var(--t-quick) var(--ease);
}
.lp-pick label:active span { transform: scale(.96); }
.lp-pick input:checked + span { background: rgba(var(--rice-gold-rgb), .16); box-shadow: inset 0 0 0 1.5px var(--rice-gold); color: var(--lp-ink); font-weight: 600; }
.lp-pick input:focus-visible + span { outline: 3px solid rgba(var(--rice-gold-rgb), .6); outline-offset: 2px; }
.lp-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.lp-form-error {
    display: none; margin-top: 16px; padding: 11px 14px; border-radius: 12px; background: #fef2f2; color: #b91c1c; font-size: 14px; font-weight: 500;
}
.lp-form-error.is-on { display: block; animation: lp-rise var(--t-base) var(--ease-enter); }
.lp-demo-submit { width: 100%; margin-top: 20px; }
.lp-spin { display: none; width: 16px; height: 16px; border: 2px solid rgba(22, 36, 63, .25); border-top-color: var(--rice-navy); border-radius: 50%; animation: lp-spin .7s linear infinite; }
.lp-demo-submit.is-loading .lp-spin { display: inline-block; }
.lp-demo-submit.is-loading i { display: none; }
.lp-field.lp-privacy-check { grid-template-columns: 20px minmax(0, 1fr); align-items: start; gap: 10px; color: var(--lp-text); font-size: 13px; font-weight: 500; line-height: 1.5; cursor: pointer; }
.lp-field.lp-privacy-check input { appearance: auto; -webkit-appearance: checkbox; width: 18px; height: 18px; min-width: 18px; margin: 1px 0 0; padding: 0; border: 0; border-radius: 4px; background: none; box-shadow: none; accent-color: var(--rice-gold-dark); cursor: pointer; }
.lp-field.lp-privacy-check input:focus { box-shadow: none; }
.lp-field.lp-privacy-check input:focus-visible { outline: 3px solid rgba(var(--rice-gold-rgb), .45); outline-offset: 2px; }
.lp-field.lp-privacy-check.is-invalid input { outline: 2px solid #dc2626; outline-offset: 2px; box-shadow: none; }
.lp-privacy-check a { color: var(--lp-ink); text-decoration: underline; text-underline-offset: 2px; }
.lp-privacy-check a:hover { color: var(--rice-gold-dark); }
.lp-shake { animation: lp-shake 360ms var(--ease) both; }
.lp-demo-done { display: none; padding: 40px 10px; text-align: center; }
.lp-demo-done.is-on { display: block; animation: lp-rise var(--t-slow) var(--ease-enter) both; }
.lp-badge-lg { width: 64px; height: 64px; margin: 0 auto 18px; }
.lp-badge-lg svg { width: 34px; height: 34px; }
.lp-demo-done.is-on .lp-badge-lg { animation: lp-pop 420ms var(--ease-enter) both; }
.lp-demo-done h3 { font-size: 24px; }
.lp-demo-done p { margin-top: 10px !important; color: var(--lp-muted); }

/* ── Pie ───────────────────────────────────────────────── */
.lp-footer { padding: 72px 0 32px; background: var(--lp-tint); color: var(--lp-muted); font-size: 15px; }
.lp-footer h2 { font-size: 16px; font-weight: 750; color: var(--lp-ink); letter-spacing: -.01em; }
.lp-footer a { text-decoration: none; transition: color var(--t-quick) var(--ease), opacity var(--t-quick) var(--ease); }

.lp-foot-top { display: flex; justify-content: space-between; align-items: center; gap: 24px 40px; flex-wrap: wrap; padding-bottom: 36px; border-bottom: 1px solid var(--lp-line); }
.lp-foot-id p { margin-top: 12px; font-size: 17px; }
.lp-brand-lg .lp-wordmark { font-size: 35px; }
.lp-brand-lg .lp-logo-mark { transform: scale(1.4); transform-origin: left center; margin-right: 12px; }
.lp-foot-tri { display: flex; align-items: center; gap: 24px; }
.lp-foot-tri p { max-width: 300px; font-size: 14px; line-height: 1.5; }
.lp-foot-tri strong { display: block; color: var(--lp-ink); font-size: 15px; }
.lp-foot-tri .lp-btn { flex: none; }

/* Ecosistema DMA: título y los otros cuatro productos en una línea, cada uno con su color. */
.lp-foot-eco { display: flex; align-items: center; flex-wrap: wrap; gap: 16px 40px; padding: 28px 0; }
.lp-foot-suite { display: flex; flex-wrap: wrap; gap: 12px 28px; }
.lp-foot-suite .lp-wordmark { font-size: 19px; }
.lp-foot-suite .lp-brand:hover { opacity: .75; }
.lp-suite-places  { --mark-gradient: linear-gradient(135deg, #2f7bff, #6aa8ff); --mark-rgb: 47, 123, 255;  --mark-ink: #1d64d8; }
.lp-suite-message { --mark-gradient: linear-gradient(135deg, #10b98f, #5ee0bf); --mark-rgb: 16, 185, 143;  --mark-ink: #0b8a6b; }
.lp-suite-board   { --mark-gradient: linear-gradient(135deg, #8b5cf6, #c4a8ff); --mark-rgb: 139, 92, 246;  --mark-ink: #7442e8; }
.lp-suite-agent   { --mark-gradient: linear-gradient(135deg, #E83E65, #F18BA3); --mark-rgb: 232, 62, 101;  --mark-ink: #E83E65; }

.lp-btn-ink { background: var(--rice-navy); color: #fff !important; }
.lp-btn-ink:hover { background: #22365c; }
.lp-btn-ink:hover i { transform: translate(2px, -2px); }
.lp-btn-line { background: #fff; color: var(--lp-ink); box-shadow: inset 0 0 0 1.5px var(--lp-line); }
.lp-btn-line:hover { box-shadow: inset 0 0 0 1.5px rgba(var(--rice-gold-rgb), .7); }

.lp-foot-bottom { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; padding-top: 24px; border-top: 1px solid var(--lp-line); font-size: 14px; }
.lp-foot-legal { display: flex; flex-wrap: wrap; justify-content: center; }
.lp-foot-legal li + li::before { content: "·"; margin: 0 10px; }
.lp-foot-legal a:hover, .lp-foot-langs a:hover { color: var(--lp-ink); }
.lp-foot-legal a[aria-current] { color: var(--lp-ink); font-weight: 600; }
.lp-foot-link-btn { padding: 0; border: 0; background: none; font: inherit; color: inherit; cursor: pointer; transition: color var(--t-quick) var(--ease); }
.lp-foot-link-btn:hover { color: var(--lp-ink); }
.lp-foot-langs { display: flex; flex-wrap: wrap; justify-content: flex-end; }
.lp-foot-langs a + a::before { content: "|"; margin: 0 12px; color: #cbd2de; }
.lp-foot-langs a[aria-current] { color: var(--rice-gold-dark); font-weight: 700; }

/* ── Páginas legales ───────────────────────────────────── */
.lp-legal { padding: 132px 0 96px; }
.lp-legal-wrap { max-width: 860px; }
.lp-legal-back { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 20px; font-size: 14px; font-weight: 600; color: var(--rice-gold-dark); text-decoration: none; }
.lp-legal-back i { font-size: .8em; transition: transform var(--t-base) var(--ease); }
.lp-legal-back:hover i { transform: translateX(-3px); }
.lp-legal-head h1 { font-size: clamp(34px, 4.4vw, 48px); font-weight: 750; }
.lp-legal-date { margin-top: 10px !important; font-size: 14px; color: var(--lp-muted); }
.lp-legal-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 32px 0 40px; padding-bottom: 24px; border-bottom: 1px solid var(--lp-line); }
.lp-legal-tabs a {
    padding: 8px 16px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--lp-muted); text-decoration: none;
    box-shadow: inset 0 0 0 1.5px var(--lp-line);
    transition: color var(--t-quick) var(--ease), box-shadow var(--t-quick) var(--ease), background-color var(--t-quick) var(--ease);
}
.lp-legal-tabs a:hover { color: var(--lp-ink); box-shadow: inset 0 0 0 1.5px rgba(var(--rice-gold-rgb), .6); }
.lp-legal-tabs a[aria-current] { color: #fff; background: var(--rice-navy); box-shadow: none; }
.lp-legal-body { color: var(--lp-text); font-size: 16px; line-height: 1.7; }
.lp-legal-body h2 { margin: 40px 0 12px; font-size: 22px; font-weight: 720; }
.lp-legal-body h2:first-child { margin-top: 0; }
.lp-legal-body h3 { margin: 24px 0 8px; font-size: 17px; font-weight: 700; }
.lp-legal-body p, .lp-legal-body ul { margin: 0 0 14px; }
.lp-legal-body ul { padding-left: 1.3em; list-style: disc; }
.lp-legal-body li { margin-bottom: 6px; }
.lp-legal-body li::marker { color: var(--rice-gold-dark); }
.lp-legal-body strong { color: var(--lp-ink); }
.lp-legal-body a { color: #0E5965; text-decoration: underline; text-underline-offset: 2px; }
.lp-legal-body code { padding: 2px 6px; border-radius: 6px; background: var(--lp-tint); font-size: .9em; color: var(--lp-ink); }
.lp-legal-table { margin: 0 0 16px; overflow-x: auto; border: 1px solid var(--lp-line); border-radius: 14px; }
.lp-legal-table table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 14.5px; }
.lp-legal-table th, .lp-legal-table td { padding: 12px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--lp-line); }
.lp-legal-table th { font-size: 13px; font-weight: 700; color: var(--lp-ink); background: var(--lp-tint); }
.lp-legal-table tr:last-child td { border-bottom: 0; }
.lp-legal-inline-btn { padding: 0; border: 0; background: none; font: inherit; font-weight: 600; color: #0E5965; text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }

/* ── Animaciones ───────────────────────────────────────── */
@keyframes lp-ping { 0% { transform: scale(1); opacity: .7; } 80%, 100% { transform: scale(2.8); opacity: 0; } }
@keyframes lp-ring { 0% { transform: scale(.55); opacity: 0; } 15% { opacity: .55; } 100% { transform: scale(1.15); opacity: 0; } }
@keyframes lp-float { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(40px, 30px, 0); } }
@keyframes lp-draw { to { stroke-dashoffset: 0; } }
@keyframes lp-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes lp-marquee { to { transform: translateX(-100%); } }
@keyframes lp-blink { 50% { opacity: 0; } }
@keyframes lp-pop { 0% { transform: scale(.6); opacity: 0; } 70% { transform: scale(1.04); opacity: 1; } 100% { transform: scale(1); } }
@keyframes lp-check { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes lp-flow { to { stroke-dashoffset: -.07; } }
@keyframes lp-breathe { 0%, 100% { box-shadow: var(--shadow-gold); } 50% { box-shadow: 0 0 0 8px rgba(var(--rice-gold-rgb), .14), var(--shadow-gold); } }
@keyframes lp-rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes lp-spin { to { transform: rotate(360deg); } }
@keyframes lp-shake { 0%, 100% { transform: none; } 20% { transform: translateX(-10px); } 40% { transform: translateX(8px); } 60% { transform: translateX(-6px); } 80% { transform: translateX(3px); } }

/* ── Responsive ────────────────────────────────────────── */
@media (max-width: 1080px) {
    .lp-nav-links { display: none; }
    .lp-hero-inner, .lp-split, .lp-demo { grid-template-columns: 1fr; gap: 48px; }
    .lp-split-reverse > :first-child { order: 0; }
    .lp-stage { max-width: 620px; width: 100%; margin: 0 auto; }
    .lp-formats { grid-template-columns: repeat(2, 1fr); }
    .lp-trust { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
    .lp-wrap { padding: 0 16px; }
    .lp-hero { padding-top: 112px; }
    .lp-lead { font-size: 17px; }
    .lp-section, .lp-cta { padding: 80px 0; }
    .lp-head { margin-bottom: 40px; }
    .lp-tab span { display: none; }
    .lp-tab i { font-size: 15px; }
    .lp-scenes { height: 372px; }
    .lp-scene { padding: 18px 16px; }
    .lp-stage-rings i { left: -220px; top: -220px; width: 440px; height: 440px; }
    .lp-timeline { grid-template-columns: 1fr; gap: 28px; padding-left: 4px; }
    .lp-timeline-rail { left: 31px; right: auto; top: 28px; bottom: 28px; width: 3px; height: auto; }
    .lp-timeline-fill { transform: scaleY(var(--progress, 0)); transform-origin: top; }
    .lp-step { display: grid; grid-template-columns: 56px 1fr; column-gap: 18px; text-align: left; }
    .lp-step-dot { grid-row: span 3; margin: 0; }
    .lp-step h3 { margin-top: 2px; }
    .lp-formats, .lp-trust, .lp-fields { grid-template-columns: 1fr; }
    .lp-graph { aspect-ratio: 1 / 1; }
    .node { font-size: 11.5px; padding: 6px 10px; }
    .node-core { font-size: 12.5px; padding: 9px 13px; }
    .lp-bars li, .lp-criteria li { grid-template-columns: 1fr; }
    .lp-bars small { grid-column: 1; }
    .lp-demo-card { padding: 22px 18px; }
}

@media (max-width: 980px) {
    .lp-foot-bottom { grid-template-columns: 1fr; justify-items: start; }
    .lp-foot-legal, .lp-foot-langs { justify-content: flex-start; }
    /* «Configura les galetes» en su propia línea, sin «·» delante. */
    .lp-foot-settings { flex-basis: 100%; margin-top: 6px; }
    .lp-foot-legal li.lp-foot-settings::before { content: none; }
}

/* Cabecera en móvil: por debajo de 620px el idioma se cambia desde el footer; por debajo de 560px solo cabe un botón. */
@media (max-width: 620px) {
    .lp-nav .lp-lang { display: none; }
}
@media (max-width: 560px) {
    /* Mientras el CTA del hero se ve, «Acceder» (contorno) ocupa el sitio del botón de demo; al pasarlo, vuelve la demo
       (landing.js pone .is-hero-cta en la cabecera). */
    .lp-nav-login { display: none; }
    .lp-nav.is-hero-cta .lp-nav-login {
        display: inline-flex; align-items: center; padding: 9px 16px; border-radius: 12px; font-size: 14px;
        box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .45);
    }
    .lp-nav.is-solid.is-hero-cta .lp-nav-login { box-shadow: inset 0 0 0 1.5px var(--lp-line); }
    .lp-nav.is-hero-cta .lp-btn-sm { display: none; }
    .lp-foot-top { flex-direction: column; align-items: flex-start; }
    .lp-foot-tri { flex-direction: column; align-items: flex-start; gap: 14px; }
    .lp-brand-lg .lp-wordmark { font-size: 28px; }
    .lp-foot-suite { gap: 10px 24px; }
    .lp-legal { padding: 108px 0 72px; }
}
@media (max-width: 460px) {
    .lp-nav .lp-wordmark { font-size: 18px; }
}

/* ── Movimiento reducido: estado final, sin bucles ─────── */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; transition-duration: 1ms !important; transition-delay: 0ms !important; }
    .lp-stage-rings, .orb, .live-dot::after { display: none; }
    .lp-marquee-group { animation: none; }
    .lp-marquee-track { flex-wrap: wrap; justify-content: center; mask-image: none; -webkit-mask-image: none; }
    .lp-marquee-group[aria-hidden] { display: none; }
    .lp-marquee-group { flex-wrap: wrap; justify-content: center; row-gap: 10px; }
}

/* Por debajo de 460px la etiqueta del hero cabe en una línea con menos espaciado. */
@media (max-width: 460px) {
    .lp-hero .lp-eyebrow { font-size: 11px; letter-spacing: .1em; }
}
