/* ==========================================================================
   Luper · sitio v3 — dirección editorial
   Papel crema, tinta, coral plano. Tipografía gigante + acentos serif.
   El fondo del body cambia de color según la sección ([data-bg]).
   ========================================================================== */

@font-face { font-family: 'JetBrains Mono'; font-weight: 400; font-display: swap; src: url('../fonts/jetbrains-mono-latin-400.woff2') format('woff2'); }
@font-face { font-family: 'JetBrains Mono'; font-weight: 500; font-display: swap; src: url('../fonts/jetbrains-mono-latin-500.woff2') format('woff2'); }

:root {
    --ink: #141210;
    --ink-2: #1F1C19;
    --cream: #EFEAE0;
    --paper: #F8F3EA;
    --coral: #E8593C;
    --coral-d: #C9452B;
    --ok: #2E9B6A;

    --bg: var(--cream);
    --fg: var(--ink);
    --fg-2: rgba(20, 18, 16, .66);
    --fg-3: rgba(20, 18, 16, .42);
    --line: rgba(20, 18, 16, .16);
    --card: var(--paper);

    --sans: 'General Sans', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
    --serif: 'Instrument Serif', 'Times New Roman', serif;
    --mono: 'JetBrains Mono', ui-monospace, Menlo, monospace;

    --ease: cubic-bezier(.16, 1, .3, 1);
    --ease-io: cubic-bezier(.76, 0, .24, 1);
    --g: clamp(16px, 3.2vw, 48px);
    --max: 1600px;
    --hdr: 84px;
}

body[data-bg="coral"], .on-coral { --bg: var(--coral); --fg: var(--ink); --fg-2: rgba(20,18,16,.75); --fg-3: rgba(20,18,16,.55); --line: rgba(20,18,16,.25); --card: var(--paper); }
body[data-bg="ink"], .on-ink { --bg: var(--ink); --fg: var(--paper); --fg-2: rgba(248,243,234,.68); --fg-3: rgba(248,243,234,.42); --line: rgba(248,243,234,.16); --card: var(--ink-2); }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
    margin: 0; background: var(--bg); color: var(--fg);
    font-family: var(--sans); font-size: 17px; line-height: 1.5;
    -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
    overflow-x: clip;
    transition: background-color .9s var(--ease), color .6s var(--ease);
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { list-style: none; padding: 0; }
::selection { background: var(--coral); color: var(--ink); }
:focus-visible { outline: 2px solid var(--coral); outline-offset: 3px; }

.skip { position: fixed; left: 12px; top: -60px; z-index: 300; padding: 10px 16px; background: var(--ink); color: var(--paper); border-radius: 999px; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding-inline: var(--g); }
main { position: relative; z-index: 2; }
section { position: relative; }
.sec { padding-block: clamp(100px, 14vw, 220px); }

.gl { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; opacity: 0; }
.no-gl .gl { display: none; }
.iso-fallback { display: none; }
.no-gl .iso-fallback { display: block; }

/* ── Tipografía ───────────────────────────────────────────── */
.label { font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--fg-2); }
.label b { color: var(--fg); font-weight: 500; }
.idx { font-family: var(--mono); font-size: 12px; color: var(--fg-3); letter-spacing: .04em; }
.giant { font-weight: 600; text-transform: uppercase; letter-spacing: -.045em; line-height: .84; font-size: clamp(56px, min(14.6vw, 19.5vh), 258px); }
.huge { font-weight: 600; text-transform: uppercase; letter-spacing: -.04em; line-height: .88; font-size: clamp(46px, 9vw, 160px); }
.big  { font-weight: 600; text-transform: uppercase; letter-spacing: -.035em; line-height: .92; font-size: clamp(38px, 5.8vw, 100px); }
.serif { font-family: var(--serif); font-style: italic; font-weight: 400; text-transform: none; letter-spacing: -.02em; }
.giant .serif, .huge .serif, .big .serif { font-size: 1.05em; line-height: .8; }
.coral { color: var(--coral); }
body[data-bg="coral"] .coral, .on-coral .coral { color: var(--paper); }
.lead { font-size: clamp(18px, 1.45vw, 22px); line-height: 1.45; color: var(--fg-2); max-width: 44ch; }
.line { display: block; }
.split-line { overflow: clip; padding-bottom: .07em; margin-bottom: -.07em; }

/* ── Botones ──────────────────────────────────────────────── */
.btn {
    position: relative; display: inline-flex; align-items: center; gap: 12px; height: 56px; padding: 0 10px 0 26px;
    border-radius: 999px; font-weight: 500; font-size: 16px; letter-spacing: -.01em; white-space: nowrap;
    overflow: hidden; isolation: isolate; border: 1.5px solid var(--fg); color: var(--fg);
    transition: color .5s var(--ease), border-color .5s;
}
.btn:not(:has(.btn__arrow)) { padding-right: 26px; }
.btn::before { content: ''; position: absolute; inset: -2px; z-index: -1; background: var(--fg); border-radius: inherit; transform: scaleX(0); transform-origin: right; transition: transform .65s var(--ease-io); }
.btn:hover { color: var(--bg); }
.btn:hover::before { transform: scaleX(1); transform-origin: left; }
.btn--solid { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn--solid::before { background: var(--coral); }
.btn--solid:hover { color: var(--ink); border-color: var(--coral); }
body[data-bg="ink"] .btn--solid, .on-ink .btn--solid { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn--coral { background: var(--coral); color: var(--ink); border-color: var(--coral); }
.btn--coral::before { background: var(--ink); }
.btn--coral:hover { color: var(--paper); }
.btn--sm { height: 44px; padding-left: 20px; font-size: 15px; }
.btn--sm:not(:has(.btn__arrow)) { padding-right: 20px; }
.btn--lg { height: 64px; padding-left: 32px; font-size: 17px; }
.btn__arrow { position: relative; display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: currentColor; overflow: hidden; }
.btn--sm .btn__arrow { width: 28px; height: 28px; }
.btn__arrow::before, .btn__arrow::after { content: '→'; position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--mono); font-size: 14px; color: var(--paper); transition: transform .6s var(--ease); }
.btn--solid .btn__arrow::before, .btn--solid .btn__arrow::after { color: var(--ink); }
body[data-bg="ink"] .btn--solid .btn__arrow::before, body[data-bg="ink"] .btn--solid .btn__arrow::after { color: var(--paper); }
.btn--coral .btn__arrow::before, .btn--coral .btn__arrow::after { color: var(--coral); }
.btn--coral:hover .btn__arrow::before, .btn--coral:hover .btn__arrow::after { color: var(--ink); }
.btn__arrow::after { transform: translateX(-120%); }
.btn:hover .btn__arrow::before { transform: translateX(120%); }
.btn:hover .btn__arrow::after { transform: none; }

.link { position: relative; display: inline-flex; gap: 8px; align-items: center; font-weight: 500; }
.link::after { content: ''; position: absolute; left: 0; right: 0; bottom: -4px; height: 1.5px; background: currentColor; transform-origin: right; transition: transform .6s var(--ease-io); }
.link:hover::after { transform: scaleX(0); }
.link span { font-family: var(--mono); }

.js [data-roll] { position: relative; display: inline-block; overflow: hidden; vertical-align: top; -webkit-text-fill-color: transparent; }
.js [data-roll]::before, .js [data-roll]::after { content: attr(data-roll); position: absolute; left: 0; top: 0; white-space: nowrap; -webkit-text-fill-color: currentColor; transition: transform .6s var(--ease); }
.js [data-roll]::after { transform: translateY(110%); }
.js a:hover [data-roll]::before, .js button:hover [data-roll]::before { transform: translateY(-110%); }
.js a:hover [data-roll]::after, .js button:hover [data-roll]::after { transform: none; }

.chip { display: inline-flex; align-items: center; height: 32px; padding: 0 14px; border-radius: 999px; border: 1.5px solid var(--fg); font-family: var(--mono); font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.chip--fill { background: var(--fg); color: var(--bg); }
.chip--coral { background: var(--coral); border-color: var(--coral); color: var(--ink); }

.badge { position: relative; flex: none; width: clamp(128px, 11vw, 172px); aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%; background: var(--coral); color: var(--ink); box-shadow: inset 0 0 0 1.5px rgba(20,18,16,.12); transition: transform .6s var(--ease); }
.badge:hover { transform: rotate(-8deg) scale(1.04); }
.badge__ring, .badge__dash { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.badge__ring { animation: rot 22s linear infinite; }
.badge__ring text { font-family: var(--mono); font-size: 12.5px; font-weight: 500; text-transform: uppercase; fill: var(--ink); }
.badge__dash { animation: rot 40s linear infinite reverse; }
.badge__dash circle { fill: none; stroke: var(--ink); stroke-width: 1.2; stroke-dasharray: 2 5; opacity: .45; }
.badge__core { position: relative; display: grid; justify-items: center; gap: 6px; text-align: center; }
.badge__num { font-weight: 600; font-size: clamp(36px, 3vw, 50px); letter-spacing: -.06em; line-height: .8; display: inline-flex; align-items: flex-start; }
.badge__num sup { font-size: .5em; letter-spacing: -.02em; margin: .06em 0 0 .04em; line-height: 1; }
.badge__core small { display: block; font-family: var(--mono); font-size: 8.5px; letter-spacing: .1em; text-transform: uppercase; font-weight: 500; line-height: 1.35; opacity: .85; }
@keyframes rot { to { transform: rotate(360deg); } }

/* ── Header ───────────────────────────────────────────────── */
.hdr { position: fixed; inset: 0 0 auto; z-index: 100; height: var(--hdr); color: var(--fg); transition: transform .7s var(--ease), color .6s; }
.hdr.is-hidden { transform: translateY(-110%); }
.hdr { isolation: isolate; }
.hdr::before { content: ''; position: absolute; inset: 0; z-index: -1; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(18px) saturate(1.3); -webkit-backdrop-filter: blur(18px) saturate(1.3); border-bottom: 1px solid var(--line); opacity: 0; transition: opacity .45s var(--ease), background-color .9s var(--ease); }
.hdr.is-scrolled::before { opacity: 1; }
.hdr.is-scrolled .hdr__nav { background: transparent; border-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.menu-open .hdr::before { opacity: 0; }
.hdr__bar { height: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--g); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; }
.hdr__logo { justify-self: start; display: flex; color: inherit; }
.hdr__logo .wordmark { height: 38px; width: auto; }
@media (max-width: 560px) { .hdr__logo .wordmark { height: 32px; } }
.hdr__logo .wordmark__iso, .hdr__logo .wordmark__type { fill: var(--coral); transition: fill .6s; }
body[data-bg="coral"] .hdr__logo .wordmark__iso, body[data-bg="coral"] .hdr__logo .wordmark__type,
.page-empezar .hdr__logo .wordmark__iso, .page-empezar .hdr__logo .wordmark__type,
.menu-open .hdr__logo .wordmark__iso, .menu-open .hdr__logo .wordmark__type { fill: var(--ink); }
.hdr__nav { display: flex; gap: 2px; padding: 5px; border-radius: 999px; background: color-mix(in srgb, var(--bg) 72%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1.5px solid var(--line); transition: background-color .9s var(--ease); }
.hdr__link { padding: 9px 16px; border-radius: 999px; font-size: 14.5px; font-weight: 500; transition: background-color .4s, color .4s; }
.hdr__link:hover { background: color-mix(in srgb, var(--fg) 9%, transparent); }
.hdr__link.is-active { background: var(--fg); color: var(--bg); }
.hdr__actions { justify-self: end; display: flex; align-items: center; gap: 10px; }
.hdr__menu { display: none; align-items: center; gap: 10px; height: 46px; padding: 0 6px 0 18px; border-radius: 999px; border: 1.5px solid var(--fg); font-weight: 500; font-size: 15px; background: color-mix(in srgb, var(--bg) 72%, transparent); backdrop-filter: blur(14px); }
.hdr__menu-icon { position: relative; width: 32px; height: 32px; border-radius: 50%; background: var(--fg); }
.hdr__menu-icon i { position: absolute; left: 10px; top: 50%; width: 12px; height: 1.5px; margin-top: -.75px; background: var(--bg); transition: transform .5s var(--ease); }
.hdr__menu-icon i:first-child { transform: translateY(-3px); }
.hdr__menu-icon i:last-child { transform: translateY(3px); }
.menu-open .hdr__menu-icon i:first-child { transform: rotate(45deg); }
.menu-open .hdr__menu-icon i:last-child { transform: rotate(-45deg); }
.menu-open .hdr { --fg: var(--ink); --bg: var(--coral); color: var(--ink); }
@media (max-width: 1080px) {
    .hdr__bar { grid-template-columns: 1fr auto; }
    .hdr__nav, .hdr__quiet { display: none; }
    .hdr__menu { display: inline-flex; }
}
@media (max-width: 560px) { .hdr__actions .btn { display: none; } .hdr__menu-label { display: none; } .hdr__menu { padding: 0 6px; } }

.menu { position: fixed; inset: 0; z-index: 90; background: var(--coral); color: var(--ink); clip-path: circle(0% at calc(100% - 50px) 42px); visibility: hidden; transition: clip-path 1s var(--ease-io), visibility 0s 1s; }
.menu-open .menu { clip-path: circle(150% at calc(100% - 50px) 42px); visibility: visible; transition: clip-path 1s var(--ease-io), visibility 0s; }
.menu__inner { height: 100%; max-width: var(--max); margin: 0 auto; padding: calc(var(--hdr) + 16px) var(--g) 24px; display: flex; flex-direction: column; justify-content: space-between; overflow-y: auto; }
.menu__link { display: flex; align-items: baseline; gap: 16px; overflow: hidden; border-bottom: 1.5px solid rgba(20,18,16,.22); }
.menu__num { font-family: var(--mono); font-size: 12px; width: 26px; }
.menu__text { display: inline-block; font-size: clamp(40px, 8.5vw, 92px); font-weight: 600; text-transform: uppercase; letter-spacing: -.045em; line-height: 1.04; transform: translateY(105%); transition: transform .9s var(--ease); }
.menu-open .menu__text { transform: none; }
.menu__link:hover .menu__text { font-family: var(--serif); font-style: italic; font-weight: 400; text-transform: none; }
.menu__foot { display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; padding-top: 24px; }
.menu__lupo { width: 110px; }

/* ── Cortina e intro ──────────────────────────────────────── */
.curtain { position: fixed; inset: 0; z-index: 200; pointer-events: none; }
.curtain__panel { position: absolute; inset: 0; background: var(--coral); transform: translateY(100%); display: grid; place-items: center; }
.curtain__panel .iso { width: 64px; fill: var(--ink); }
.intro { display: none; }
.js .intro.is-active { position: fixed; inset: 0; z-index: 210; display: flex; flex-direction: column; justify-content: space-between; padding: 24px var(--g); background: var(--coral); color: var(--ink); }
.intro__top { display: flex; justify-content: space-between; }
.intro__row { display: flex; justify-content: space-between; align-items: end; gap: 20px; }
.intro__count { font-weight: 600; font-size: clamp(120px, 28vw, 440px); letter-spacing: -.06em; line-height: .76; font-variant-numeric: tabular-nums; }
.intro__word { font-family: var(--serif); font-style: italic; font-size: clamp(34px, 4.6vw, 76px); line-height: 1; text-align: right; }

/* ── Cursor ───────────────────────────────────────────────── */
.cursor { display: none; }
@media (hover: hover) and (pointer: fine) {
    .js .cursor { display: grid; place-items: center; position: fixed; left: 0; top: 0; z-index: 250; pointer-events: none; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: #fff; mix-blend-mode: difference; transition: width .45s var(--ease), height .45s var(--ease), margin .45s var(--ease), opacity .3s, background-color .3s; }
    .cursor.is-link { width: 60px; height: 60px; margin: -30px 0 0 -30px; }
    .cursor.is-label { width: 100px; height: 100px; margin: -50px 0 0 -50px; mix-blend-mode: normal; background: var(--ink); }
    .cursor.is-hidden { opacity: 0; }
    .cursor__label { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--paper); opacity: 0; transition: opacity .2s; }
    .cursor.is-label .cursor__label { opacity: 1; }
}

/* Estados iniciales (solo cuando el motor de animación cargó) */
.js.motion [data-reveal], .js.motion [data-stagger] > * { opacity: 0; transform: translateY(40px); }
.js.motion [data-split], .js.motion [data-hero-title] { visibility: hidden; }
.js.motion [data-hero-in] { opacity: 0; transform: translateY(30px); }

/* ── Hero ─────────────────────────────────────────────────── */
.hero { min-height: 100svh; padding-top: calc(var(--hdr) + 12px); padding-bottom: clamp(28px, 3.5vw, 48px); display: flex; flex-direction: column; }
.hero__meta { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding-bottom: 16px; border-bottom: 1.5px solid var(--fg); }
.hero__meta > :last-child { text-align: right; }
.hero__title { margin-top: clamp(28px, 4.5vw, 64px); position: relative; z-index: 3; }
.hero__title .line:nth-child(2) { padding-left: 11vw; }
.hero__title .serif { color: var(--fg); }
.hero__foot { margin-top: auto; padding-top: clamp(32px, 4vw, 56px); display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: clamp(20px, 3vw, 48px); align-items: end; }
.hero__cta { display: flex; gap: 10px; flex-wrap: wrap; }
.hero .iso-fallback { position: absolute; right: 8vw; top: 26vh; width: 22vw; z-index: 1; }
.iso-fallback .iso { width: 100%; fill: var(--coral); }
@media (max-width: 960px) {
    .hero__meta { grid-template-columns: 1fr 1fr; }
    .hero__meta > :nth-child(n+3) { display: none; }
    .hero__title .line:nth-child(2) { padding-left: 0; }
    .hero__foot { grid-template-columns: 1fr; }
    /* El sello va arriba del texto, a la derecha, en el espacio libre bajo el isotipo */
    .hero__foot > :has(> .badge) { order: -1; justify-self: end; margin-bottom: -12px; }
    .hero__foot .badge { width: 118px; }
}

/* ── Bandas marquee ───────────────────────────────────────── */
.band { position: relative; z-index: 3; background: var(--coral); color: var(--ink); padding: clamp(14px, 1.5vw, 22px) 0; overflow: hidden; border-block: 1.5px solid var(--ink); }
.band--ink { background: var(--ink); color: var(--paper); }
.band--tilt { transform: rotate(-2deg) scale(1.05); }
.marquee { display: flex; white-space: nowrap; }
.marquee__track { display: flex; align-items: center; flex: none; will-change: transform; }
.marquee__item { font-weight: 600; text-transform: uppercase; letter-spacing: -.04em; font-size: clamp(34px, 5.2vw, 88px); line-height: 1.02; padding: 0 .28em; }
.marquee__item.serif { text-transform: none; font-weight: 400; }
.marquee__sep { width: clamp(26px, 2.8vw, 48px); flex: none; }
.marquee__sep .iso { fill: currentColor; }

/* ── Manifiesto ───────────────────────────────────────────── */
.manifesto__head { display: flex; justify-content: space-between; gap: 20px; margin-bottom: clamp(40px, 5vw, 72px); }
.manifesto__text { font-weight: 500; font-size: clamp(32px, 4.8vw, 82px); letter-spacing: -.045em; line-height: 1.03; max-width: 1340px; }
.manifesto__text .serif { font-size: 1.08em; }
.inl { display: inline-flex; align-items: center; justify-content: center; gap: .15em; vertical-align: middle; height: .86em; padding: 0 .3em; margin: 0 .04em; border-radius: 999px; background: var(--fg); color: var(--bg); font-size: .58em; font-family: var(--mono); font-weight: 500; letter-spacing: -.02em; transform: translateY(-.1em); }
.inl--coral { background: var(--coral); color: var(--ink); }
.scrub-word { opacity: .15; }

.pains { margin-top: clamp(80px, 10vw, 160px); border-top: 1.5px solid var(--fg); }
.pain { display: grid; grid-template-columns: 90px 1.25fr 1fr; gap: 24px; align-items: baseline; padding: clamp(22px, 2.6vw, 36px) 0; border-bottom: 1.5px solid var(--line); }
.pain h3 { font-size: clamp(26px, 3.2vw, 54px); font-weight: 600; letter-spacing: -.04em; line-height: .98; text-transform: uppercase; transition: transform .7s var(--ease); }
.pain p { color: var(--fg-2); max-width: 40ch; }
.pain:hover h3 { transform: translateX(16px); }
@media (max-width: 860px) { .pain { grid-template-columns: 44px 1fr; } .pain p { grid-column: 2; } }

/* ── Módulos (scroll horizontal) ──────────────────────────── */
.hs__pin .huge { font-size: clamp(44px, min(8vw, 13vh), 140px); }
.hs__pin { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; gap: clamp(28px, 3.5vw, 52px); padding-block: calc(var(--hdr) + 16px) 40px; overflow: hidden; }
.hs__head { display: flex; justify-content: space-between; align-items: end; gap: 32px; }
.hs__head .lead { max-width: 36ch; }
.hs__bar { height: 1.5px; background: var(--line); margin-top: 18px; }
.hs__bar i { display: block; height: 100%; background: var(--coral); transform-origin: left; transform: scaleX(0); }
.hs__track { display: flex; gap: 20px; padding-inline: var(--g); width: max-content; will-change: transform; }
.mod {
    flex: none; width: clamp(290px, 26vw, 410px); height: min(46vh, 440px); min-height: 320px; padding: 28px;
    border-radius: 30px; background: var(--card); color: var(--fg); border: 1.5px solid var(--line);
    display: flex; flex-direction: column; gap: 14px; position: relative; overflow: hidden;
    transition: background-color .5s var(--ease), color .5s, transform .7s var(--ease), border-color .5s;
}
.mod__top { display: flex; justify-content: space-between; align-items: start; }
.mod__n { font-family: var(--serif); font-style: italic; font-size: 76px; line-height: .78; }
.mod__ico { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--coral); color: var(--ink); transition: background-color .5s, color .5s, transform .7s var(--ease); }
.mod__ico .ico { width: 26px; height: 26px; }
.mod__name { margin-top: auto; font-size: clamp(26px, 2.1vw, 34px); font-weight: 600; letter-spacing: -.04em; line-height: .98; text-transform: uppercase; }
.mod__desc { color: var(--fg-2); font-size: 15.5px; }
.mod:hover { background: var(--coral); color: var(--ink); border-color: var(--coral); transform: rotate(-2deg) translateY(-10px); --fg-2: rgba(20,18,16,.78); }
.mod:hover .mod__ico { background: var(--ink); color: var(--coral); transform: rotate(-20deg); }
.mod--end { background: var(--paper); color: var(--ink); border-color: var(--paper); justify-content: space-between; --fg-2: rgba(20,18,16,.7); }
.mod--end .mod__name { margin: 0; font-size: clamp(34px, 3vw, 50px); }
.ico { width: 24px; height: 24px; }
@media (max-width: 860px) {
    .hs__pin { min-height: 0; padding-block: 100px 60px; }
    .hs__head { flex-direction: column; align-items: start; }
    .hs__track { width: auto; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 6px; }
    .hs__track::-webkit-scrollbar { display: none; }
    .mod { width: 80vw; height: 380px; scroll-snap-align: center; }
    .hs__bar { display: none; }
}

/* ── Pasos apilados ───────────────────────────────────────── */
.stack__head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; margin-bottom: clamp(48px, 6vw, 96px); }
.stack__card {
    position: sticky; top: calc(var(--hdr) + 12px + var(--i) * 24px);
    min-height: min(74vh, 640px); margin-bottom: 8vh; padding: clamp(28px, 3.5vw, 56px);
    border-radius: 40px; border: 1.5px solid var(--ink); background: var(--paper); color: var(--ink);
    display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(24px, 4vw, 64px); align-items: center;
    transform-origin: 50% 0; will-change: transform;
}
.stack__card:nth-child(2) { background: var(--coral); }
.stack__card:nth-child(3) { background: var(--ink); color: var(--paper); }
.stack__card:last-child { margin-bottom: 0; }
.stack__n { font-family: var(--serif); font-style: italic; font-size: clamp(90px, 11vw, 190px); line-height: .74; }
.stack__card h3 { font-size: clamp(34px, 4.3vw, 76px); font-weight: 600; letter-spacing: -.045em; line-height: .92; text-transform: uppercase; margin: 20px 0; }
.stack__card p { font-size: clamp(16px, 1.3vw, 19px); max-width: 42ch; opacity: .8; }
.stack__ui { justify-self: center; width: min(100%, 420px); }
@media (max-width: 860px) {
    .stack__head { grid-template-columns: 1fr; }
    .stack__card { grid-template-columns: 1fr; min-height: 0; top: calc(var(--hdr) + var(--i) * 14px); border-radius: 30px; }
}

.ui { border-radius: 26px; background: var(--paper); color: var(--ink); border: 1.5px solid var(--ink); padding: 20px; display: grid; gap: 10px; box-shadow: 10px 10px 0 var(--ink); }
.stack__card:nth-child(3) .ui { box-shadow: 10px 10px 0 var(--coral); }
.ui__label { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; opacity: .6; }
.ui__row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 13px 14px; border-radius: 14px; border: 1.5px solid rgba(20,18,16,.14); font-size: 15px; }
.ui__row b { font-weight: 600; }
.ui__row .mono { font-family: var(--mono); font-size: 14px; }
.ui__btn { height: 50px; border-radius: 999px; background: var(--ink); color: var(--paper); display: grid; place-items: center; font-weight: 500; }
.ui__card { position: relative; height: 150px; border-radius: 18px; padding: 18px; display: flex; flex-direction: column; justify-content: flex-end; gap: 4px; background: var(--ink); color: var(--paper); font-family: var(--mono); overflow: hidden; }
.ui__card::before { content: ''; position: absolute; right: -36px; top: -36px; width: 150px; height: 150px; border-radius: 50%; background: var(--coral); }
.ui__card i { position: absolute; left: 18px; top: 18px; width: 38px; height: 28px; border-radius: 6px; background: #E9C98A; }
.ui__card small { font-size: 10.5px; letter-spacing: .14em; opacity: .7; }
.ok { color: var(--ok); font-weight: 600; font-size: 13.5px; }
.ok::before { content: '● '; }

/* ── Lupo ─────────────────────────────────────────────────── */
.lupo { overflow: clip; }
.lupo__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.lupo__copy { display: grid; gap: 28px; align-content: start; }
.lupo__stage { position: relative; min-height: min(84vh, 740px); display: flex; align-items: flex-end; justify-content: center; }
.lupo__dog { width: min(92%, 540px); transform-origin: 50% 92%; will-change: transform; }
.bubble { position: absolute; max-width: 310px; padding: 16px 20px; border-radius: 26px; background: var(--paper); color: var(--ink); border: 1.5px solid var(--ink); box-shadow: 6px 6px 0 var(--ink); font-size: 15.5px; line-height: 1.4; z-index: 2; }
.bubble--me { background: var(--ink); color: var(--paper); box-shadow: 6px 6px 0 var(--paper); }
.bubble__actions { display: flex; gap: 8px; margin-top: 12px; }
.bubble__actions span { flex: 1; height: 36px; border-radius: 999px; display: grid; place-items: center; font-size: 13.5px; font-weight: 500; border: 1.5px solid var(--ink); }
.bubble__actions span:first-child { background: var(--ink); color: var(--paper); }
.bubble--1 { right: 4%; top: 0; }
.bubble--2 { left: 0; top: 17%; }
.bubble--3 { right: 0; top: 37%; }
.js.motion .bubble { opacity: 0; transform: scale(.6) translateY(24px); }
.ticks { display: grid; gap: 10px; }
.ticks li { display: flex; gap: 12px; align-items: center; font-weight: 500; }
.ticks li::before { content: '✓'; flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--coral); font-size: 13px; }
@media (max-width: 960px) {
    .lupo__grid { grid-template-columns: 1fr; }
    .lupo__stage { min-height: 0; flex-direction: column; align-items: stretch; gap: 14px; }
    .bubble { position: relative; inset: auto; max-width: 90%; }
    .bubble--2 { align-self: flex-end; }
    .lupo__dog { width: 70%; align-self: center; margin-top: 14px; }
}

/* ── Versus ───────────────────────────────────────────────── */
.vs { border-top: 1.5px solid var(--fg); }
.vs__row { display: grid; grid-template-columns: 1fr auto 1fr; gap: 24px; align-items: center; padding: clamp(18px, 2vw, 28px) 0; border-bottom: 1.5px solid var(--line); font-size: clamp(20px, 2.2vw, 34px); letter-spacing: -.035em; line-height: 1.12; }
.vs__them { position: relative; color: var(--fg-3); width: fit-content; }
.vs__them::after { content: ''; position: absolute; left: -2%; right: -2%; top: 54%; height: 3px; background: var(--coral); transform-origin: left; transform: scaleX(var(--s, 1)); }
.js.motion .vs__them::after { --s: 0; transition: transform 1s var(--ease-io); }
.js.motion .vs__row.is-on .vs__them::after { --s: 1; }
.vs__arrow { font-family: var(--mono); font-size: 18px; color: var(--coral); }
.vs__us { font-weight: 600; }
@media (max-width: 760px) { .vs__row { grid-template-columns: 1fr; gap: 4px; } .vs__arrow { display: none; } }

/* ── Rubros ───────────────────────────────────────────────── */
.rows { border-top: 1.5px solid var(--fg); }
.row { position: relative; display: grid; grid-template-columns: 80px 1fr auto; gap: 20px; align-items: center; padding: clamp(12px, 1.4vw, 20px) 0; border-bottom: 1.5px solid var(--line); overflow: hidden; isolation: isolate; }
.row::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--coral); transform: translateY(101%); transition: transform .6s var(--ease-io); }
.row:hover::before { transform: none; }
.row__name { font-size: clamp(30px, 4.5vw, 78px); font-weight: 600; text-transform: uppercase; letter-spacing: -.045em; line-height: .95; transition: transform .7s var(--ease); }
.row:hover { color: var(--ink); }
.row:hover .row__name { transform: translateX(18px); }
.row:hover .idx, .row:hover .row__tag { color: var(--ink); }
.row__tag { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--fg-3); transition: color .4s; }
.peek { position: fixed; left: 0; top: 0; z-index: 60; width: 300px; padding: 20px; border-radius: 22px; background: var(--ink); color: var(--paper); pointer-events: none; opacity: 0; transform: scale(.6) rotate(-8deg); box-shadow: 8px 8px 0 var(--paper); }
.peek b { font-size: 18px; letter-spacing: -.02em; }
.peek p { font-size: 14.5px; margin: 6px 0 12px; color: rgba(248,243,234,.78); }
.peek ul { display: grid; gap: 6px; font-size: 13.5px; }
.peek li::before { content: '→ '; color: var(--coral); font-family: var(--mono); }
@media (max-width: 760px) { .row { grid-template-columns: 40px 1fr; } .row__tag { display: none; } }

/* ── Planes ───────────────────────────────────────────────── */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.plan { position: relative; display: flex; flex-direction: column; gap: 22px; padding: clamp(26px, 2.6vw, 40px); border-radius: 34px; background: var(--paper); color: var(--ink); border: 1.5px solid var(--ink); transition: transform .7s var(--ease), box-shadow .7s var(--ease); --fg: var(--ink); --fg-2: rgba(20,18,16,.66); --fg-3: rgba(20,18,16,.45); --line: rgba(20,18,16,.15); --bg: var(--paper); }
.plan:hover { transform: translate(-6px, -6px); box-shadow: 12px 12px 0 var(--ink); }
.plan--featured { background: var(--ink); color: var(--paper); --fg: var(--paper); --fg-2: rgba(248,243,234,.68); --fg-3: rgba(248,243,234,.45); --line: rgba(248,243,234,.16); --bg: var(--ink); }
.plan--featured:hover { box-shadow: 12px 12px 0 var(--coral); }
.plan__head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.plan__name { font-weight: 600; font-size: 34px; letter-spacing: -.04em; text-transform: uppercase; }
.plan__tagline { font-family: var(--serif); font-style: italic; font-size: 26px; line-height: 1.05; margin-top: -10px; }
.plan__price { display: flex; align-items: flex-start; gap: 4px; padding-block: 22px; border-block: 1.5px solid var(--line); }
.plan__currency { font-size: 28px; font-weight: 500; margin-top: 10px; }
.plan__amount { font-size: clamp(56px, 5vw, 84px); font-weight: 600; letter-spacing: -.06em; line-height: .9; font-variant-numeric: tabular-nums; }
.plan__per { font-family: var(--mono); font-size: 11px; line-height: 1.35; color: var(--fg-3); margin: 10px 0 0 10px; text-transform: uppercase; }
.plan__desc { color: var(--fg-2); font-size: 15px; min-height: 4.5em; }
.plan__specs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1.5px solid var(--line); border-radius: 18px; overflow: hidden; }
.plan__spec { display: flex; flex-direction: column-reverse; justify-content: flex-end; align-items: center; gap: 6px; padding: 14px 8px; text-align: center; min-width: 0; }
.plan__spec + .plan__spec { border-left: 1.5px solid var(--line); }
.plan__spec dd { margin: 0; height: 26px; display: flex; align-items: center; font-weight: 600; font-size: clamp(18px, 1.45vw, 23px); letter-spacing: -.035em; line-height: 1; font-variant-numeric: tabular-nums; white-space: nowrap; }
.plan__spec dd.is-inf { color: var(--coral); font-size: 30px; letter-spacing: 0; }
.plan__spec dt { font-family: var(--mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--fg-3); white-space: nowrap; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.plan__list { display: grid; gap: 11px; flex: 1; align-content: start; font-size: 15px; }
.plan__list li { display: flex; gap: 10px; }
.plan__list li:not(.plan__inherit)::before { content: '✓'; flex: none; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; background: var(--coral); color: var(--ink); font-size: 11px; margin-top: 1px; }
.plan__inherit { font-weight: 600; }
.plan__cta { justify-content: space-between; width: 100%; }
@media (max-width: 1000px) { .plans { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; } .plan__desc { min-height: 0; } }

/* ── Genéricos ────────────────────────────────────────────── */
.head { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: end; margin-bottom: clamp(48px, 6vw, 96px); }
.head > .label { grid-column: 1 / -1; }
@media (max-width: 860px) { .head { grid-template-columns: 1fr; justify-items: start; } }

.grid2, .grid3, .grid4 { display: grid; gap: 20px; }
.grid2 { grid-template-columns: repeat(2, 1fr); }
.grid3 { grid-template-columns: repeat(3, 1fr); }
.grid4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .grid3, .grid4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .grid2, .grid3, .grid4 { grid-template-columns: 1fr; } }

.card { border-radius: 30px; padding: clamp(24px, 2.6vw, 38px); border: 1.5px solid var(--fg); background: var(--card); color: var(--fg); display: grid; gap: 14px; align-content: start; transition: transform .7s var(--ease), box-shadow .7s var(--ease); }
.card:hover { transform: translate(-5px, -5px); box-shadow: 10px 10px 0 var(--fg); }
.card h3 { font-size: clamp(24px, 2.1vw, 32px); font-weight: 600; letter-spacing: -.04em; line-height: 1; text-transform: uppercase; }
.card p { color: var(--fg-2); }
.card .ico { width: 30px; height: 30px; color: var(--coral); }
.card__n { font-family: var(--serif); font-style: italic; font-size: 60px; line-height: .78; }
.card ul { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.card li { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: .04em; padding: 7px 11px; border-radius: 999px; border: 1.5px solid var(--line); }
.card--coral { background: var(--coral); color: var(--ink); border-color: var(--ink); --fg: var(--ink); --fg-2: rgba(20,18,16,.75); --line: rgba(20,18,16,.25); }
.card--coral .ico { color: var(--ink); }
.card--ink { background: var(--ink); color: var(--paper); border-color: var(--ink); --fg: var(--paper); --fg-2: rgba(248,243,234,.7); --line: rgba(248,243,234,.2); }
.card--ink:hover { box-shadow: 10px 10px 0 var(--coral); }
.card .link { margin-top: auto; width: fit-content; }

.list { border-top: 1.5px solid var(--fg); }
.list__item { display: grid; grid-template-columns: 70px 1fr 1.3fr; gap: 24px; padding: clamp(22px, 2.4vw, 34px) 0; border-bottom: 1.5px solid var(--line); align-items: baseline; }
.list__item h3 { font-size: clamp(22px, 2.2vw, 34px); font-weight: 600; letter-spacing: -.035em; line-height: 1.02; text-transform: uppercase; }
.list__item p { color: var(--fg-2); }
@media (max-width: 860px) { .list__item { grid-template-columns: 44px 1fr; } .list__item p { grid-column: 2; } }

.tabs { display: inline-flex; gap: 4px; padding: 5px; border-radius: 999px; border: 1.5px solid var(--fg); margin-bottom: 40px; flex-wrap: wrap; }
.tabs button { height: 44px; padding: 0 20px; border-radius: 999px; font-weight: 500; transition: background-color .4s, color .4s; }
.tabs button[aria-selected="true"] { background: var(--fg); color: var(--bg); }
.tabpanel[hidden] { display: none; }

.banner { border-radius: 40px; padding: clamp(32px, 4.5vw, 72px); background: var(--ink); color: var(--paper); display: grid; grid-template-columns: 1.4fr auto; gap: 32px; align-items: center; position: relative; overflow: hidden; --fg: var(--paper); --fg-2: rgba(248,243,234,.7); --bg: var(--ink); }
.banner h3 { font-size: clamp(32px, 3.6vw, 60px); font-weight: 600; letter-spacing: -.045em; line-height: .95; text-transform: uppercase; margin: 14px 0; }
.banner p { color: var(--fg-2); max-width: 54ch; }
.banner__lupo { position: absolute; right: -2%; bottom: -18%; width: 210px; opacity: .14; pointer-events: none; }
@media (max-width: 800px) { .banner { grid-template-columns: 1fr; } }

.phead { padding-top: calc(var(--hdr) + 12px); padding-bottom: clamp(64px, 8vw, 130px); min-height: 88svh; display: flex; flex-direction: column; }
.phead__updated { margin-top: 22px; color: var(--fg-2); }
.phead__title { margin-top: clamp(40px, 7vw, 110px); position: relative; z-index: 3; }
.phead__foot { margin-top: auto; padding-top: clamp(40px, 5vw, 72px); display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: end; }
.phead__chips { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
@media (max-width: 860px) { .phead { min-height: 0; } .phead__foot { grid-template-columns: 1fr; } .phead__chips { justify-content: flex-start; } }

/* ── FAQ ──────────────────────────────────────────────────── */
.faq__grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(40px, 6vw, 120px); align-items: start; }
.faq__head { position: sticky; top: calc(var(--hdr) + 24px); display: grid; gap: 22px; }
.faq__list { border-top: 1.5px solid var(--fg); }
.faq__item { border-bottom: 1.5px solid var(--line); }
.faq__item summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 26px 0; cursor: pointer; font-size: clamp(19px, 1.7vw, 25px); font-weight: 500; letter-spacing: -.025em; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__icon { position: relative; flex: none; width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid var(--fg); transition: background-color .4s, transform .6s var(--ease); }
.faq__icon::before, .faq__icon::after { content: ''; position: absolute; left: 50%; top: 50%; width: 14px; height: 1.5px; margin: -.75px 0 0 -7px; background: currentColor; transition: transform .5s var(--ease); }
.faq__icon::after { transform: rotate(90deg); }
.faq__item[open] .faq__icon { background: var(--coral); border-color: var(--coral); color: var(--ink); transform: rotate(180deg); }
.faq__item[open] .faq__icon::after { transform: rotate(0); }
.faq__a { overflow: hidden; }
.faq__a p { padding: 0 64px 28px 0; color: var(--fg-2); max-width: 62ch; }
@media (max-width: 860px) { .faq__grid { grid-template-columns: 1fr; } .faq__head { position: static; } .faq__a p { padding-right: 0; } }

/* ── CTA ──────────────────────────────────────────────────── */
.cta { padding-top: clamp(110px, 14vw, 220px); overflow: hidden; text-align: center; }
.cta__inner { display: grid; justify-items: center; gap: 30px; position: relative; z-index: 3; }
.cta__actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.cta__lupo { width: clamp(220px, 24vw, 380px); margin: clamp(48px, 6vw, 80px) auto -7%; transform-origin: 50% 100%; position: relative; z-index: 3; }

/* ── Footer ───────────────────────────────────────────────── */
.ftr { position: relative; z-index: 3; background: var(--ink); color: var(--paper); padding-top: clamp(64px, 8vw, 120px); overflow: hidden; --fg: var(--paper); --fg-2: rgba(248,243,234,.66); --fg-3: rgba(248,243,234,.42); --line: rgba(248,243,234,.16); --bg: var(--ink); }
.ftr__top { display: grid; grid-template-columns: 1.2fr 1.4fr; gap: 48px; padding-bottom: 56px; }
.ftr__lead { font-size: clamp(34px, 4vw, 64px); font-weight: 600; letter-spacing: -.045em; line-height: .94; text-transform: uppercase; margin-bottom: 22px; }
.ftr__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.ftr__cols div { display: flex; flex-direction: column; gap: 10px; }
.ftr__cols .label { margin-bottom: 8px; }
.ftr__cols a { color: var(--fg-2); width: fit-content; transition: color .3s; }
.ftr__cols a:hover { color: var(--coral); }
.ftr__giant { padding-inline: var(--g); max-width: var(--max); margin: 0 auto; overflow: hidden; color: var(--paper); }
.ftr__giant { padding-block: 8px 12px; }
.ftr__giant .wordmark { width: min(46%, 640px); height: auto; }
@media (max-width: 760px) { .ftr__giant .wordmark { width: 72%; } }
.ftr__base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 24px 32px; color: var(--fg-3); font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .04em; }
@media (max-width: 860px) { .ftr__top { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .ftr__cols { grid-template-columns: 1fr 1fr; } }

/* ── Empezar ──────────────────────────────────────────────── */
.signup { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; position: relative; z-index: 3; }
.signup__aside { padding: calc(var(--hdr) + 40px) var(--g) 40px; display: flex; flex-direction: column; justify-content: space-between; gap: 40px; background: var(--coral); color: var(--ink); --fg: var(--ink); --fg-2: rgba(20,18,16,.72); --line: rgba(20,18,16,.25); }
.signup__lupo { width: 150px; }
.signup__steps { border-top: 1.5px solid var(--ink); }
.signup .huge { font-size: clamp(44px, 6.4vw, 112px); }
.signup__steps li { display: grid; grid-template-columns: 70px 1fr; gap: 12px; padding: 16px 0; border-bottom: 1.5px solid var(--line); }
.signup__steps b { display: block; font-size: 19px; font-weight: 600; letter-spacing: -.02em; text-transform: uppercase; }
.signup__steps span { color: var(--fg-2); font-size: 15px; }
.signup__main { padding: calc(var(--hdr) + 40px) var(--g) 40px; display: flex; align-items: center; justify-content: center; }
.form { width: 100%; max-width: 500px; display: grid; gap: 18px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form label { display: grid; gap: 8px; font-size: 12px; font-family: var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--fg-2); }
.form input, .form select { width: 100%; height: 56px; padding: 0 18px; border-radius: 16px; border: 1.5px solid var(--ink); background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 16px; text-transform: none; letter-spacing: 0; appearance: none; transition: box-shadow .3s, transform .3s var(--ease); }
.form select { background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%23141210' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 18px center; }
.form input:focus, .form select:focus { outline: none; box-shadow: 5px 5px 0 var(--coral); transform: translate(-2px, -2px); }
.form input::placeholder { color: rgba(20,18,16,.35); }
.form__err { color: var(--coral-d); font-size: 12.5px; text-transform: none; font-family: var(--sans); letter-spacing: 0; }
.form__ok { padding: 16px 18px; border-radius: 16px; background: var(--ink); color: var(--paper); }
.form__legal { font-size: 13px; color: var(--fg-3); text-align: center; }
.form__legal a { text-decoration: underline; }
.form .btn { width: 100%; justify-content: space-between; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 960px) { .signup { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .form__row { grid-template-columns: 1fr; } }

/* ── Legal ────────────────────────────────────────────────── */
.legal { max-width: 820px; margin: 0 auto; color: var(--fg-2); font-size: 16.5px; line-height: 1.8; }
.legal h2 { display: flex; gap: 14px; align-items: baseline; font-size: 22px; font-weight: 600; letter-spacing: -.02em; color: var(--fg); margin: 48px 0 12px; padding-bottom: 10px; border-bottom: 1.5px solid var(--line); }
.legal h2::before { content: attr(data-n); font-family: var(--mono); font-size: 13px; color: var(--coral); }
.legal h3 { display: flex; gap: 10px; font-size: 16px; font-weight: 600; color: var(--fg); margin: 24px 0 6px; }
.legal h3::before { content: attr(data-n); font-family: var(--mono); font-size: 12px; color: var(--fg-3); }
.legal p { margin-bottom: 14px; }
.legal ul { display: grid; gap: 6px; margin: 8px 0 16px; }
.legal li { display: flex; gap: 10px; }
.legal li::before { content: ''; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--coral); margin-top: 12px; }
.legal a { color: var(--coral-d); text-decoration: underline; }

/* ── El valor (v3.1) ──────────────────────────────────────── */
.value { min-height: 100vh; display: flex; align-items: center; }
.value__lines { margin-top: clamp(28px, 4vw, 56px); font-weight: 600; text-transform: uppercase; letter-spacing: -.045em; line-height: .9; font-size: clamp(44px, 8.2vw, 150px); position: relative; z-index: 3; }
.value__lines .serif { text-transform: none; font-weight: 400; font-size: 1.06em; }
.value__foot { margin-top: clamp(40px, 5vw, 80px); display: flex; justify-content: space-between; align-items: end; gap: 28px; flex-wrap: wrap; }
.value__foot .lead { font-size: clamp(20px, 1.8vw, 28px); max-width: 30ch; color: var(--fg); }
.lupo__tag { font-size: clamp(26px, 2.6vw, 42px); line-height: 1.05; margin-top: -8px; }
.cta .huge { font-size: clamp(40px, 7vw, 128px); }
.stack__head .big { font-size: clamp(38px, 5.4vw, 96px); }

/* ── Sin numeración (v3.2) ────────────────────────────────── */
/* Palabra que rota en la apertura */
.rotator { display: inline-flex; gap: .5em; align-items: baseline; }
.rotator__win { position: relative; display: inline-grid; overflow: hidden; vertical-align: bottom; color: var(--fg); }
.rotator__win b { grid-area: 1 / 1; font-weight: 500; white-space: nowrap; }
.rotator__win b::after { content: ''; display: inline-block; width: .55em; height: .55em; margin-left: .4em; border-radius: 50%; background: var(--coral); vertical-align: .05em; }
.js.motion .rotator__win b:not(:first-child) { opacity: 0; }
.hero__meta { grid-template-columns: auto 1fr auto; }
.hero__meta .rotator { justify-self: center; }
@media (max-width: 960px) { .hero__meta { grid-template-columns: 1fr auto; } .hero__meta > :nth-child(3) { display: none; } .hero__meta .rotator { justify-self: end; } }

/* Isotipo como viñeta */
.glyph { display: inline-grid; place-items: center; width: 26px; height: 26px; flex: none; }
.glyph .iso { width: 100%; height: auto; fill: var(--coral); transition: transform 1s var(--ease), fill .4s; }
.row:hover .glyph .iso, .list__item:hover .glyph .iso, .signup__steps li:hover .glyph .iso { transform: rotate(240deg) scale(1.15); }
.row:hover .glyph .iso, .signup .glyph .iso { fill: var(--ink); }
.list__item { align-items: start; }
.list__item .glyph { margin-top: .3em; }

/* Problema → solución */
.pain { grid-template-columns: 1.3fr 1fr auto; align-items: center; position: relative; }
.pain__problem { position: relative; display: inline; background: linear-gradient(var(--coral) 0 0) 0 54% / 0 .1em no-repeat; transition: background-size .8s var(--ease-io), color .5s; }
.pain:hover .pain__problem { background-size: 100% .1em; color: var(--fg-3); }
.pain__fix { justify-self: end; display: inline-flex; gap: .4em; align-items: center; height: 44px; padding: 0 18px; border-radius: 999px; background: var(--coral); color: var(--ink); font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .05em; white-space: nowrap; transform: rotate(-3deg); }
.pain__fix b { font-family: var(--serif); font-size: 22px; text-transform: none; letter-spacing: -.01em; font-weight: 400; }
@media (hover: hover) and (min-width: 861px) {
    .pain__fix { opacity: 0; transform: translateX(-30px) rotate(-8deg) scale(.8); transition: opacity .4s, transform .7s var(--ease); }
    .pain:hover .pain__fix { opacity: 1; transform: rotate(-3deg); }
}
@media (max-width: 860px) { .pain { grid-template-columns: 1fr; gap: 12px; } .pain p { grid-column: auto; } .pain__fix { justify-self: start; } }

/* Pasos: palabras en vez de números */
.stack__n { font-size: clamp(64px, 7.6vw, 136px); line-height: .9; letter-spacing: -.03em; }
.card__n { font-size: clamp(40px, 3.6vw, 56px); line-height: .9; }

/* Módulos: ícono protagonista */
.mod__top { align-items: center; }
.mod__ico { width: 72px; height: 72px; }
.mod__ico .ico { width: 34px; height: 34px; }
.mod .chip { border-color: currentColor; opacity: .75; }
.mod__go { font-family: var(--mono); font-size: 72px; line-height: 1; transition: transform .7s var(--ease); }
.mod--end:hover .mod__go { transform: translateX(14px) rotate(-45deg); }

/* Tarjetas tipo sticker */
.stickers .card { rotate: -1.2deg !important; transition: transform .7s var(--ease), box-shadow .7s var(--ease), rotate .7s var(--ease); }
.stickers .card:nth-child(4n+2) { rotate: .9deg !important; }
.stickers .card:nth-child(4n+3) { rotate: 1.4deg !important; }
.stickers .card:nth-child(4n) { rotate: -.6deg !important; }
.stickers .card:hover { rotate: 0deg !important; }

/* Menú sin números */
.menu__link { justify-content: space-between; align-items: center; }
.menu__arrow { font-family: var(--mono); font-size: clamp(28px, 4vw, 56px); opacity: 0; transform: translate(-24px, 24px); transition: opacity .3s, transform .6s var(--ease); }
.menu__link:hover .menu__arrow { opacity: 1; transform: none; }

/* ── Juego: Lupo persigue la moneda (v3.3) ────────────────── */
.play { position: relative; height: min(100vh, 900px); min-height: 640px; overflow: hidden; user-select: none; }
.play__head { position: relative; z-index: 2; padding-top: clamp(80px, 9vw, 140px); text-align: center; pointer-events: none; display: grid; justify-items: center; gap: 22px; }
.play__title { font-weight: 600; text-transform: uppercase; letter-spacing: -.045em; line-height: .9; font-size: clamp(46px, 7.6vw, 132px); }
.play__title .serif { display: block; color: var(--paper); text-transform: none; font-weight: 400; font-size: 1.05em; }
.play__hint { color: var(--ink); }
.play__coin {
    position: absolute; left: 0; top: 0; z-index: 4; width: clamp(68px, 6.6vw, 96px); aspect-ratio: 1; border-radius: 50%;
    display: grid; place-items: center; background: var(--paper); color: var(--ink); border: 3px solid var(--ink);
    box-shadow: inset -6px -8px 0 rgba(20,18,16,.12), 5px 5px 0 var(--ink);
    font: 600 clamp(30px, 3vw, 44px)/1 var(--sans); cursor: grab; touch-action: none; will-change: transform;
}
.play__coin:active { cursor: grabbing; }
.play__lupo { position: absolute; z-index: 3; bottom: -4%; left: 50%; width: clamp(190px, 21vw, 330px); margin-left: calc(clamp(190px, 21vw, 330px) / -2); transform-origin: 50% 100%; pointer-events: none; }
.play__score { display: grid; justify-items: center; gap: 2px; margin-top: 4px; }
.play__score b { font-size: clamp(30px, 3.2vw, 52px); font-weight: 600; letter-spacing: -.05em; line-height: 1; font-variant-numeric: tabular-nums; display: inline-block; transform-origin: 50% 100%; }
.play__toast { position: absolute; left: 0; top: 0; z-index: 5; padding: 12px 18px; border-radius: 20px 20px 20px 4px; background: var(--ink); color: var(--paper); font-weight: 500; font-size: 16px; white-space: nowrap; pointer-events: none; opacity: 0; }
@media (max-width: 760px) { .play { min-height: 600px; height: 88svh; } }

/* Rubros: la descripción se despliega en la misma fila */
.row { grid-template-columns: 80px 1fr auto; }
.row__desc { grid-column: 2 / -1; display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--ease); }
.row__desc > span { overflow: hidden; font-size: clamp(16px, 1.3vw, 19px); color: var(--ink); max-width: 60ch; }
.row:hover .row__desc { grid-template-rows: 1fr; }
.row:hover .row__desc > span { padding-top: 10px; }
@media (max-width: 760px) { .row { grid-template-columns: 40px 1fr; } .row__desc { display: none; } }

/* ══ v3.5 ═════════════════════════════════════════════════ */

/* Intro limpia */
.js .intro.is-active { display: grid; grid-template-columns: 1fr; grid-template-rows: 1fr auto auto; justify-content: stretch; align-content: stretch; padding: 28px var(--g) 32px; clip-path: inset(0 0 0 0); z-index: 400; }
.intro__center { display: grid; place-items: center; }
.intro__mark { width: clamp(96px, 10vw, 150px); }
.intro__mark .iso { width: 100%; height: auto; fill: var(--ink); overflow: visible; }
.intro__mark .iso path { transform-box: fill-box; transform-origin: center; }
.intro__foot { display: flex; justify-content: space-between; align-items: end; gap: 16px; padding-bottom: 16px; }
.intro__claim { font-weight: 600; font-size: clamp(18px, 1.7vw, 26px); letter-spacing: -.025em; }
.intro__claim em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--paper); font-size: 1.1em; }
.intro__pct { font-family: var(--mono); font-size: 13px; letter-spacing: .12em; font-variant-numeric: tabular-nums; }
.intro__bar { height: 2px; background: rgba(20,18,16,.2); overflow: hidden; }
.intro__bar i { display: block; height: 100%; background: var(--ink); transform-origin: left; transform: scaleX(0); }

/* Juego: pelota, piso, sombra y Lupo completo */
.play { --ground: clamp(40px, 6vh, 64px); }
.play__ground { position: absolute; left: var(--g); right: var(--g); bottom: var(--ground); height: 2px; background: rgba(20,18,16,.28); border-radius: 2px; z-index: 1; }
.play__lupo { bottom: calc(var(--ground) - 1px); width: clamp(150px, 15vw, 230px); margin-left: calc(clamp(150px, 15vw, 230px) / -2); transform-origin: 50% 100%; }
.play__shadow { position: absolute; left: 0; top: 0; z-index: 2; width: clamp(68px, 6.6vw, 96px); height: 14px; border-radius: 50%; background: rgba(20,18,16,.75); filter: blur(5px); transform-origin: 50% 50%; pointer-events: none; opacity: 0; }
.play__ball { background: transparent; border: 0; box-shadow: none; padding: 0; color: inherit; }
.play__ball svg { width: 100%; height: 100%; overflow: visible; display: block; }
.play__ball .ball__rim { fill: none; stroke: var(--ink); stroke-width: 4; }
.play__ball .ball__seam { fill: none; stroke: var(--ink); stroke-width: 6.5; stroke-linecap: round; }
.play__ball .ball__seam--in { stroke: #FFFDF8; stroke-width: 2.2; stroke-dasharray: 4 3.2; }
.play__ball:focus-visible { outline: 3px solid var(--ink); outline-offset: 4px; border-radius: 50%; }
.cta__lupo { margin-bottom: 0; }

/* Para quién: lista + post-it fijo */
.rubros__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(300px, .8fr); gap: clamp(32px, 4vw, 72px); align-items: start; }
.rubros .row { grid-template-columns: 52px 1fr auto; cursor: pointer; outline: none; }
.rubros .row__name { font-size: clamp(26px, 3.1vw, 52px); }
.rubros .row.is-on::before { transform: none; }
.rubros .row.is-on, .rubros .row.is-on .row__tag { color: var(--ink); }
.rubros .row.is-on .row__name { transform: translateX(16px); }
.rubros .row.is-on .glyph .iso { fill: var(--ink); transform: rotate(240deg) scale(1.15); }
.rubros .row__tag { font-family: var(--mono); }
.rubros .row__desc { display: none; }
.postit { position: sticky; top: calc(var(--hdr) + 40px); padding: clamp(26px, 2.6vw, 38px); border-radius: 4px 4px 22px 4px; background: #F6E7B2; color: var(--ink); rotate: -2deg; box-shadow: 0 2px 0 rgba(0,0,0,.08), 0 40px 60px -28px rgba(0,0,0,.7); perspective: 900px; }
.postit__tape { position: absolute; top: -15px; left: 50%; width: 130px; height: 32px; margin-left: -65px; background: rgba(232,89,60,.82); rotate: 3deg; box-shadow: 0 2px 4px rgba(0,0,0,.15); }
.postit__body { display: grid; gap: 12px; transform-origin: 50% 0; }
.postit__body .label { color: rgba(20,18,16,.55); }
.postit__title { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(34px, 3vw, 46px); line-height: 1; letter-spacing: -.02em; }
.postit__desc { color: rgba(20,18,16,.72); font-size: 16px; }
.postit__charge { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 16px 18px; margin: 6px 0; border-radius: 16px; background: rgba(255,255,255,.65); border: 1.5px solid var(--ink); box-shadow: 5px 5px 0 var(--ink); }
.postit__charge span { font-weight: 500; }
.postit__charge b { font-size: 26px; font-weight: 600; letter-spacing: -.04em; grid-row: span 2; align-self: center; }
.postit__charge small { font-family: var(--mono); font-size: 11.5px; text-transform: uppercase; letter-spacing: .05em; color: rgba(20,18,16,.55); }
.postit__ok { grid-column: 1 / -1; font-style: normal; font-size: 13px; font-weight: 600; color: #1F7A50; margin-top: 6px; }
.postit__uses { display: grid; gap: 8px; font-size: 15px; }
.postit__uses li::before { content: "\2713\00a0\00a0"; color: var(--coral-d); font-weight: 700; }
@media (max-width: 960px) {
    .rubros__grid { grid-template-columns: 1fr; }
    .postit { display: none; }
    .rubros .row { grid-template-columns: 40px 1fr; }
    .rubros .row__desc { display: grid; grid-template-rows: 0fr; }
    .rubros .row.is-on .row__desc { grid-template-rows: 1fr; }
    .rubros .row.is-on .row__desc > span { padding-top: 8px; }
}

/* Luper por dentro (tour del producto) */
.tour { padding-block: clamp(100px, 12vw, 180px); }
.tour__tabs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-bottom: 22px; }
.tour__tab { text-align: left; display: grid; gap: 4px; color: var(--fg-3); transition: color .4s; padding-top: 4px; }
.tour__tab[aria-selected="true"], .tour__tab:hover { color: var(--fg); }
.tour__tab-label { font-weight: 600; font-size: 17px; letter-spacing: -.02em; }
.tour__tab-hint { font-size: 13px; opacity: .75; }
.tour__bar { display: block; height: 2px; margin-top: 12px; background: var(--line); overflow: hidden; border-radius: 2px; }
.tour__bar b { display: block; height: 100%; background: var(--coral); transform-origin: left; transform: scaleX(0); }
.tour__window { border-radius: 22px; background: #FBF8F2; color: var(--ink); overflow: hidden; box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 50px 120px -40px rgba(0,0,0,.85), 0 0 120px -40px rgba(232,89,60,.35); }
.tour__chrome { display: flex; align-items: center; gap: 14px; height: 44px; padding: 0 16px; background: #EFEAE0; border-bottom: 1px solid rgba(20,18,16,.08); font-family: var(--mono); font-size: 12px; }
.tour__dots i { display: inline-block; width: 11px; height: 11px; border-radius: 50%; background: rgba(20,18,16,.16); margin-right: 6px; }
.tour__url { flex: 1; text-align: center; color: rgba(20,18,16,.55); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tour__url b { color: var(--ink); font-weight: 500; }
.tour__live { display: inline-flex; align-items: center; gap: 6px; color: #1F7A50; }
.tour__live i { width: 7px; height: 7px; border-radius: 50%; background: #2E9B6A; animation: livePulse 2s infinite; }
@keyframes livePulse { 70% { box-shadow: 0 0 0 8px rgba(46,155,106,0); } 0% { box-shadow: 0 0 0 0 rgba(46,155,106,.6); } }
.tour__screens { position: relative; overflow: hidden; }
.tour__screen { position: absolute; inset: 0; padding: 24px 28px; display: flex; flex-direction: column; gap: 14px; opacity: 0; visibility: hidden; transition: opacity .35s, visibility 0s .35s; overflow: hidden; }
.tour__screen.is-on { opacity: 1; visibility: visible; transition: opacity .35s; }
.tour__trust { margin-top: 24px; text-align: center; color: var(--fg-2); font-size: 15px; }
.tour__trust b { color: var(--fg); font-weight: 500; }
.tour__ex { font-family: var(--mono); font-size: 11.5px; opacity: .6; text-transform: uppercase; letter-spacing: .06em; }
@media (max-width: 960px) {
    .tour__tabs { display: flex; overflow-x: auto; scrollbar-width: none; gap: 18px; margin-inline: calc(var(--g) * -1); padding-inline: var(--g); }
    .tour__tabs::-webkit-scrollbar { display: none; }
    .tour__tab { flex: none; min-width: 120px; }
    .tour__tab-hint { display: none; }
    .tour__screen { padding: 16px; }
}

.tour .huge { font-size: clamp(44px, 6.4vw, 112px); }
.tour .head { margin-bottom: clamp(32px, 4vw, 56px); }

/* ══ Réplica de la app Luper (vistas reales de luperv2) ══ */
.tour__window { background: #EFEAE0; }
.lp { display: grid; grid-template-columns: 216px 1fr; height: clamp(560px, 68vh, 660px); font-family: var(--sans); color: #1C1917; background: #EFEAE0; font-size: 13px; text-align: left; line-height: 1.35; }
.lp .lp-i { width: 16px; height: 16px; flex: none; }
.lp-side { background: #1C1917; color: #fff; display: flex; flex-direction: column; min-height: 0; }
.lp-logo { display: flex; align-items: center; gap: 8px; padding: 15px 16px; border-bottom: 1px solid rgba(255,255,255,.1); }
.lp-logo svg { height: 20px; width: auto; }
.lp-ver { padding: 2px 5px; border-radius: 5px; background: rgba(255,255,255,.1); color: rgba(255,255,255,.6); font: 600 9px/1.2 var(--mono); }
.lp-nav { flex: 1; padding: 10px; display: flex; flex-direction: column; gap: 2px; overflow: hidden; }
.lp-nav hr { border: 0; border-top: 1px solid rgba(255,255,255,.1); margin: 5px 0; }
.lp-item { display: flex; align-items: center; gap: 10px; padding: 7px 10px; border-radius: 8px; font-weight: 500; color: rgba(255,255,255,.4); transition: background-color .4s, color .4s; }
.lp-item--parent { color: rgba(255,255,255,.85); }
.lp-sub { margin-left: 26px; padding: 6px 10px; border-radius: 8px; color: rgba(255,255,255,.4); font-weight: 500; font-size: 12.5px; transition: background-color .4s, color .4s; }
.lp-item.is-on, .lp-sub.is-on { background: #E8593C; color: #fff; }
.lp-iso { width: 16px; display: inline-grid; }
.lp-iso .iso { width: 16px; height: auto; fill: currentColor; }
.lp-ia { font: 700 8px/1 var(--sans); font-style: normal; padding: 3px 4px; border-radius: 4px; background: rgba(255,255,255,.1); color: rgba(255,255,255,.5); text-transform: uppercase; }
.lp-group { padding: 10px 10px 4px; font-size: 10px; font-weight: 600; color: rgba(255,255,255,.4); text-transform: uppercase; letter-spacing: .08em; }
.lp-user { display: flex; gap: 10px; align-items: center; padding: 12px 16px; border-top: 1px solid rgba(255,255,255,.1); }
.lp-user b { display: block; font-size: 12.5px; font-weight: 500; color: #fff; }
.lp-user small { font-size: 11px; color: rgba(255,255,255,.4); }
.lp-av { width: 28px; height: 28px; border-radius: 50%; background: #FDE4DC; color: #B03825; font: 700 10.5px/1 var(--sans); font-style: normal; display: inline-grid; place-items: center; flex: none; }
.lp-av--coral { background: #E8593C; color: #fff; font-size: 12px; }
.lp-av--lg { width: 52px; height: 52px; font-size: 18px; }
.lp-col { display: flex; flex-direction: column; min-width: 0; min-height: 0; }
.lp-top { height: 48px; flex: none; background: #fff; border-bottom: 1px solid rgba(28,25,23,.1); display: flex; align-items: center; justify-content: space-between; padding: 0 18px; }
.lp-crumb { display: flex; gap: 6px; align-items: center; font-size: 13px; }
.lp-crumb span { color: rgba(28,25,23,.4); }
.lp-crumb i { font-style: normal; color: rgba(28,25,23,.25); }
.lp-crumb b { font-weight: 600; }
.lp-top__r { display: flex; align-items: center; gap: 12px; }
.lp-search { display: flex; align-items: center; gap: 8px; width: 190px; height: 32px; padding: 0 10px; background: #F8F2E8; border: 1px solid rgba(28,25,23,.1); border-radius: 8px; color: rgba(28,25,23,.4); }
.lp-bell { color: rgba(28,25,23,.5); display: inline-grid; }
.lp-emp { height: 34px; flex: none; background: rgba(255,255,255,.7); border-bottom: 1px solid rgba(28,25,23,.1); display: flex; align-items: center; justify-content: space-between; padding: 0 18px; font-size: 11.5px; }
.lp-emp__l { display: flex; align-items: center; gap: 8px; }
.lp-emp__l b { font-size: 12.5px; font-weight: 600; }
.lp-emp__ic { width: 20px; height: 20px; border-radius: 5px; background: rgba(28,25,23,.1); color: rgba(28,25,23,.4); display: grid; place-items: center; }
.lp-emp__ic .lp-i { width: 12px; height: 12px; }
.lp-main { flex: 1; min-height: 0; }
.lp-main .tour__screen { padding: 16px 18px; gap: 12px; }
.lp-mono { font-family: var(--mono); letter-spacing: -.02em; }
.lp-mute { color: rgba(28,25,23,.5); }
.lp-h { font-size: 18px; font-weight: 700; letter-spacing: -.01em; line-height: 1.25; }
.lp-card { background: #fff; border: 1px solid rgba(28,25,23,.1); border-radius: 12px; }
.lp-card__h { display: flex; justify-content: space-between; align-items: center; padding: 10px 14px; border-bottom: 1px solid rgba(28,25,23,.05); font-size: 13px; font-weight: 600; }
.lp-link { color: #E8593C; font-size: 11.5px; font-weight: 500; }
.lp-chip { font-style: normal; padding: 1px 7px; border-radius: 99px; font-size: 11px; font-weight: 600; margin-left: 6px; }
.lp-chip--brand { background: #FEF2EF; color: #D4472F; }
.lp-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.lp-kpi { padding: 12px 14px; display: grid; gap: 2px; }
.lp-kpi__top { display: flex; justify-content: space-between; align-items: flex-start; font-size: 11.5px; font-weight: 500; color: rgba(28,25,23,.5); }
.lp-kpi b { font-size: 19px; font-weight: 700; }
.lp-kpi small { font-size: 11px; margin-top: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lp-box { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; font-style: normal; flex: none; }
.lp-box--brand { background: #FEF2EF; color: #E8593C; }
.lp-box--blue { background: #EFF6FF; color: #3B82F6; }
.lp-box--violet { background: #F5F3FF; color: #8B5CF6; }
.lp-box--amber { background: #FEF3C7; color: #D97706; }
.lp-box--pet { background: rgba(44,84,84,.12); color: #2C5454; }
.lp-box--red { background: #FEF2F2; color: #EF4444; }
.lp-c-pet { color: #2C5454; } .lp-c-amber { color: #D97706; } .lp-c-red { color: #DC2626; } .lp-c-mute { color: rgba(28,25,23,.45); } .lp-c-65 { color: rgba(28,25,23,.65); } .lp-c-brand { color: #D4472F; }
.lp-plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; padding: 12px 14px; }
.lp-plan { padding: 10px 12px; border-radius: 12px; background: #F8F2E8; border: 1px solid rgba(28,25,23,.05); display: grid; gap: 8px; }
.lp-plan__t { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; }
.lp-plan__t b { display: block; font-size: 11.5px; font-weight: 600; color: rgba(28,25,23,.65); }
.lp-plan__t small { font-size: 10px; color: rgba(28,25,23,.4); }
.lp-plan__t strong { font-size: 18px; font-weight: 700; }
.lp-plan--pop { background: #FEF2EF; border-color: #FDE4DC; }
.lp-plan--pop .lp-plan__t b { color: #D4472F; }
.lp-plan--pop .lp-plan__t strong { color: #B03825; }
.lp-bar { display: block; height: 4px; border-radius: 99px; background: rgba(28,25,23,.05); overflow: hidden; }
.lp-bar b { display: block; height: 100%; max-width: 100%; background: rgba(28,25,23,.4); border-radius: 99px; }
.lp-plan--pop .lp-bar b { background: #E8593C; }
.lp-two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.lp-att { display: flex; align-items: center; gap: 10px; padding: 9px 14px; border-top: 1px solid rgba(28,25,23,.05); }
.lp-att:first-of-type { border-top: 0; }
.lp-att > span { flex: 1; }
.lp-att b { display: block; font-size: 12.5px; font-weight: 500; }
.lp-att small { font-size: 11px; }
.lp-att > .lp-i { color: rgba(28,25,23,.3); }
.lp-ord { display: flex; justify-content: space-between; align-items: center; padding: 8px 14px; border-top: 1px solid rgba(28,25,23,.05); }
.lp-ord b { display: block; font-size: 12px; color: rgba(28,25,23,.65); }
.lp-ord small { font-size: 11px; color: rgba(28,25,23,.4); }
.lp-badge { display: inline-flex; align-items: center; gap: 4px; padding: 3px 9px; border-radius: 99px; font-size: 11px; font-weight: 500; font-style: normal; white-space: nowrap; }
.lp-badge .lp-i { width: 12px; height: 12px; }
.lp-badge--pet { background: rgba(44,84,84,.12); color: #2C5454; }
.lp-badge--amber { background: #FFFBEB; color: #B45309; }
.lp-badge--blue { background: #EFF6FF; color: #2563EB; }
.lp-badge--red { background: #FEF2F2; color: #DC2626; }
.lp-badge--brand { background: #FEF2EF; color: #B03825; }
.lp-dot::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.lp-ph { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.lp-ph small { display: block; font-size: 12px; }
.lp-ph__r { display: flex; gap: 8px; }
.lp-btn2 { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border: 1px solid rgba(28,25,23,.1); border-radius: 8px; background: #fff; font-size: 12px; color: rgba(28,25,23,.65); white-space: nowrap; }
.lp-btn { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border-radius: 8px; background: #E8593C; color: #fff; font-size: 12px; font-weight: 600; white-space: nowrap; }
.lp-filters { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.lp-tabs { display: flex; gap: 4px; flex-wrap: wrap; }
.lp-tabs em { font-style: normal; padding: 6px 12px; border-radius: 8px; font-size: 12px; font-weight: 500; color: rgba(28,25,23,.65); }
.lp-tabs em.is-on { background: #E8593C; color: #fff; }
.lp-tabs em i { font-style: normal; margin-left: 4px; padding: 1px 5px; border-radius: 5px; font-size: 10.5px; background: rgba(28,25,23,.1); }
.lp-tabs em.is-on i { background: rgba(255,255,255,.3); }
.lp-input { display: flex; align-items: center; gap: 8px; width: 210px; height: 32px; padding: 0 10px; background: #fff; border: 1px solid rgba(28,25,23,.1); border-radius: 8px; color: rgba(28,25,23,.4); font-size: 12px; }
.lp-table { overflow: hidden; }
.lp-tr { display: grid; grid-template-columns: 1.1fr 1.5fr 1.25fr .8fr .9fr .85fr; gap: 10px; align-items: center; padding: 8px 14px; border-top: 1px solid rgba(28,25,23,.05); font-size: 12.5px; }
.lp-tr > span { min-width: 0; }
.lp-tr small { display: block; font-size: 10.5px; color: rgba(28,25,23,.4); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lp-tr b { font-weight: 500; }
.lp-th { border-top: 0; background: #F8F2E8; color: rgba(28,25,23,.65); font-weight: 500; font-size: 12px; padding: 9px 14px; }
.lp-tr--5 { grid-template-columns: 1.5fr 1fr .8fr .8fr .7fr; }
.lp-r { text-align: right; }
.lp-amt { font-weight: 600; }
.lp-date { font-size: 11.5px; color: rgba(28,25,23,.5); }
.lp-cli { display: flex; align-items: center; gap: 8px; }
.lp-agenda { padding: 0 !important; gap: 0 !important; }
.lp-agbar { height: 46px; flex: none; display: flex; justify-content: space-between; align-items: center; padding: 0 16px; background: #fff; border-bottom: 1px solid rgba(28,25,23,.1); }
.lp-agbar__l { display: flex; align-items: center; gap: 8px; }
.lp-agbar__l i { font-style: normal; color: rgba(28,25,23,.4); font-size: 16px; }
.lp-agbar__l b { font-size: 13px; font-weight: 600; width: 140px; text-align: center; }
.lp-today { font-style: normal; font-size: 11.5px; font-weight: 500; color: #E8593C; padding: 4px 10px; border-radius: 8px; background: #FEF2EF; }
.lp-agbar__r { display: flex; gap: 10px; align-items: center; }
.lp-seg { display: flex; padding: 3px; background: rgba(28,25,23,.05); border-radius: 8px; }
.lp-seg em { font-style: normal; font-size: 11.5px; font-weight: 500; padding: 4px 10px; border-radius: 6px; color: rgba(28,25,23,.5); }
.lp-seg em.is-on { background: #fff; color: #1C1917; box-shadow: 0 1px 2px rgba(0,0,0,.08); }
.lp-tz { flex: none; background: #F8F2E8; border-bottom: 1px solid rgba(28,25,23,.05); padding: 5px 16px; font-size: 10px; color: rgba(28,25,23,.35); }
.lp-week { flex: 1; min-height: 0; display: grid; grid-template-columns: 52px repeat(7, minmax(0, 1fr)); grid-template-rows: 44px repeat(7, minmax(0, 1fr)); background-color: #fff; background-image: linear-gradient(rgba(28,25,23,.06) 1px, transparent 1px); background-size: 100% calc((100% - 44px) / 7); background-position: 0 44px; }
.lp-wk-h { display: flex; flex-direction: column; align-items: center; justify-content: center; border-right: 1px solid rgba(28,25,23,.05); border-bottom: 1px solid rgba(28,25,23,.1); background: #fff; }
.lp-wk-h small { font-size: 10px; font-weight: 500; color: rgba(28,25,23,.5); }
.lp-wk-h b { font-size: 15px; font-weight: 600; color: rgba(28,25,23,.65); }
.lp-wk-h.is-we small, .lp-wk-h.is-we b { color: rgba(28,25,23,.4); }
.lp-wk-h.is-today { background: #FEF7F5; box-shadow: inset 0 2px 0 #E8593C; }
.lp-wk-h.is-today small, .lp-wk-h.is-today b { color: #E8593C; font-weight: 700; }
.lp-wk-t { font-size: 10px; color: rgba(28,25,23,.5); padding: 4px 8px; }
.lp-ev { margin: 3px; border-radius: 10px; border-left: 4px solid; padding: 5px 8px; display: flex; flex-direction: column; gap: 1px; overflow: hidden; min-height: 0; }
.lp-ev__t { display: flex; align-items: center; gap: 5px; }
.lp-ev__t i { width: 5px; height: 5px; border-radius: 50%; background: currentColor; flex: none; }
.lp-ev__t b { font-size: 9.5px; font-weight: 600; white-space: nowrap; }
.lp-occ { margin-left: auto; font-style: normal; font-size: 9px; font-weight: 700; padding: 1px 4px; border-radius: 5px; background: rgba(0,0,0,.08); color: rgba(28,25,23,.5); }
.lp-occ--hi { background: #FEF3C7; color: #B45309; }
.lp-occ--full { background: #FEE2E2; color: #DC2626; }
.lp-ev strong { font-size: 11px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lp-ev small { font-size: 10px; opacity: .8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lp-ev--pet { background: rgba(44,84,84,.12); border-color: #2C5454; color: #2C5454; }
.lp-ev--violet { background: #F5F3FF; border-color: #8B5CF6; color: #5B21B6; }
.lp-ev--blue { background: #EFF6FF; border-color: #3B82F6; color: #1E40AF; }
.lp-ev--amber { background: #FFFBEB; border-color: #FBBF24; color: #92400E; }
.lp-ev--block { background: rgba(28,25,23,.05); border-color: rgba(28,25,23,.2); color: rgba(28,25,23,.4); }
.lp-now { align-self: center; height: 1px; background: #E8593C; position: relative; z-index: 2; }
.lp-now::before { content: ""; position: absolute; left: -3px; top: -3px; width: 7px; height: 7px; border-radius: 50%; background: #E8593C; }
.lp-back { font-size: 12.5px; }
.lp-ficha { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.lp-ficha__id { display: flex; gap: 12px; align-items: center; }
.lp-row { display: flex; gap: 8px; align-items: center; margin-top: 4px; font-size: 12px; }
.lp-mini { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; width: min(100%, 420px); }
.lp-mini .lp-card { padding: 8px 12px; }
.lp-mini small { display: block; font-size: 10.5px; color: rgba(28,25,23,.5); }
.lp-mini b { font-size: 16px; font-weight: 700; }
.lp-lupo { padding: 0 !important; gap: 0 !important; background: radial-gradient(circle at 100% 0, rgba(44,84,84,.06), transparent 50%), radial-gradient(circle at 0 100%, rgba(232,89,60,.05), transparent 50%), #fff; }
.lp-lupo__mark { position: absolute; left: 50%; top: 50%; width: 420px; margin: -210px 0 0 -210px; opacity: .06; animation: rot 60s linear infinite; pointer-events: none; }
.lp-lupo__mark .iso { width: 100%; height: auto; fill: #E8593C; }
.lp-lupo__h { display: flex; align-items: center; gap: 10px; padding: 10px 18px; border-bottom: 1px solid rgba(28,25,23,.1); background: rgba(255,255,255,.6); position: relative; }
.lp-lupo__h b { font-size: 14px; font-weight: 700; }
.lp-lupo__h small { display: block; font-size: 10.5px; color: rgba(28,25,23,.4); }
.lp-sq { color: rgba(28,25,23,.5); display: inline-grid; }
.lp-lupo__av { position: relative; width: 34px; height: 34px; border-radius: 10px; background: #F8F2E8; border: 1px solid rgba(28,25,23,.1); display: grid; place-items: center; flex: none; }
.lp-lupo__av svg { width: 24px; height: auto; }
.lp-lupo__av i { position: absolute; right: -2px; bottom: -2px; width: 9px; height: 9px; border-radius: 50%; background: #2C5454; border: 2px solid #fff; }
.lp-lupo__av--sm { width: 30px; height: 30px; }
.lp-lupo__av--sm svg { width: 20px; }
.lp-beta { font-style: normal; font-size: 8.5px; font-weight: 700; text-transform: uppercase; padding: 2px 5px; border-radius: 5px; background: rgba(44,84,84,.12); color: #2C5454; margin-left: 6px; vertical-align: 2px; }
.lp-conv { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 14px; padding: 16px 22px; position: relative; max-width: 860px; width: 100%; margin: 0 auto; }
.lp-msg--me { align-self: flex-end; background: #E8593C; color: #fff; border-radius: 22px; padding: 9px 16px; font-size: 13.5px; max-width: 75%; }
.lp-msg--ai { display: flex; gap: 10px; align-items: flex-start; max-width: 92%; }
.lp-msg--ai > div { background: rgba(248,242,232,.7); border: 1px solid rgba(28,25,23,.06); border-radius: 22px; padding: 12px 16px; font-size: 13.5px; line-height: 1.6; }
.lp-list { margin: 10px 0; background: #fff; border: 1px solid rgba(28,25,23,.1); border-radius: 14px; overflow: hidden; }
.lp-list > div { display: flex; gap: 10px; align-items: center; padding: 7px 12px; border-top: 1px solid rgba(28,25,23,.06); }
.lp-list > div:first-child { border-top: 0; }
.lp-list i { font-style: normal; width: 26px; height: 26px; border-radius: 8px; background: rgba(44,84,84,.12); color: #2C5454; font-size: 10px; font-weight: 700; display: grid; place-items: center; flex: none; }
.lp-list b { display: block; font-size: 12.5px; font-weight: 600; line-height: 1.3; }
.lp-list small { font-size: 11px; color: rgba(28,25,23,.45); }
.lp-follow { display: flex; gap: 6px; flex-wrap: wrap; }
.lp-follow em { font-style: normal; font-size: 11.5px; color: rgba(28,25,23,.6); padding: 5px 10px; border-radius: 10px; background: #fff; border: 1px solid rgba(28,25,23,.1); }
.lp-follow .lp-follow--nav { background: rgba(44,84,84,.08); border-color: rgba(44,84,84,.2); color: #2C5454; }
.lp-inputbar { margin: 0 22px 14px; display: flex; justify-content: space-between; align-items: center; height: 44px; padding: 0 6px 0 14px; background: #F8F2E8; border: 1px solid rgba(28,25,23,.1); border-radius: 16px; color: rgba(28,25,23,.35); position: relative; }
.lp-inputbar i { font-style: normal; width: 30px; height: 30px; border-radius: 10px; background: #2C5454; color: #fff; display: grid; place-items: center; }
@media (max-width: 960px) {
    .lp { grid-template-columns: 1fr; height: 600px; }
    .lp-side, .lp-emp, .lp-search { display: none; }
    .lp-kpis, .lp-plans { grid-template-columns: 1fr 1fr; }
    .lp-two { grid-template-columns: 1fr; }
    .lp-two .lp-card:last-child { display: none; }
    .lp-tr { grid-template-columns: 1.4fr .9fr .9fr; }
    .lp-tr:not(.lp-tr--5) > span:nth-child(1), .lp-tr:not(.lp-tr--5) > span:nth-child(3), .lp-tr:not(.lp-tr--5) > span:nth-child(6) { display: none; }
    .lp-tr--5 { grid-template-columns: 1.5fr .9fr .8fr; }
    .lp-tr--5 > span:nth-child(2), .lp-tr--5 > span:nth-child(4) { display: none; }
    .lp-ph__r, .lp-input, .lp-agbar__r .lp-btn { display: none; }
    .lp-week { grid-template-columns: 40px repeat(7, minmax(64px, 1fr)); overflow-x: auto; }
    .lp-mini { width: 100%; }
}
