/* ONEX Generadores · landing pública. Misma guía visual del sistema: "tablero de planta".
   Grafito de gabinete, papel técnico, amarillo de señal, onda de 60 Hz. Sin dependencias. */

@font-face { font-family: 'Archivo'; src: url('fonts/archivo.woff2') format('woff2'); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }
@font-face { font-family: 'JetBrains Mono'; src: url('fonts/jetbrains-mono.woff2') format('woff2'); font-weight: 100 800; font-display: swap; }

:root {
    --ink: #15171b; --ink-2: #1d2025; --ink-3: #2a2d33;
    --paper: #f2f0ea; --paper-2: #ebe8e1; --card: #fff;
    --line: #dcd7cc; --muted: #5d6067; --muted-light: #a3a6ad;
    --signal: #ffc21a; --signal-2: #e6a800; --ok: #1d8a4b; --ok-light: #3cbf74; --alarm: #c8371d; --alarm-light: #e5573b;
    --wa: #1a7f45;
    --r: 6px;
    --wrap: 1200px;
    --sans: 'Archivo', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    --mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;
    --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; font: 400 17px/1.6 var(--sans); color: var(--ink); background: var(--paper); font-feature-settings: 'ss01', 'tnum'; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; }
.sr, .trap { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--signal); color: var(--ink); padding: 8px 14px; border-radius: var(--r); font-weight: 700; }
.skip:focus { left: 8px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.wrap--narrow { max-width: 860px; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.mono { font-family: var(--mono); }

/* ---------- tipografía ---------- */
.h1, .h2, .h3, .brand__name { font-family: var(--sans); font-stretch: 118%; letter-spacing: -0.015em; font-weight: 800; line-height: 1.04; }
.h1 { font-size: clamp(2.3rem, 4.3vw, 3.9rem); color: #fff; text-wrap: balance; }
.h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); margin-top: 10px; max-width: 22ch; }
.center .h2 { margin-left: auto; margin-right: auto; }
.h2--light { color: #fff; }
.feat .h2, .ai .h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
.h3 { font-size: clamp(1.3rem, 2vw, 1.65rem); margin-top: 8px; }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--muted); margin-top: 18px; max-width: 60ch; }
.lead--light { color: #b9bcc3; }
.hl { color: var(--signal); position: relative; }
.hl::after { content: ''; position: absolute; left: 0; right: 0; bottom: -0.08em; height: 0.12em; background: var(--signal); transform: scaleX(0); transform-origin: left; animation: underline 1s .6s var(--ease) forwards; }
@keyframes underline { to { transform: scaleX(1); } }

.tag { font: 500 0.72rem/1.2 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); display: inline-flex; align-items: center; gap: 8px; }
.tag::before { content: ''; width: 3px; height: 13px; background: var(--signal); border-radius: 1px; }
.tag--signal { color: var(--signal); }
.hero__eyebrow::before { display: none; }

/* ---------- leds ---------- */
.led { display: inline-block; width: 9px; height: 9px; border-radius: 50%; flex-shrink: 0; box-shadow: 0 0 0 3px color-mix(in srgb, currentColor 18%, transparent); }
.led--ok { background: var(--ok-light); color: var(--ok-light); }
.led--alarm { background: var(--alarm-light); color: var(--alarm-light); }
.led--signal { background: var(--signal); color: var(--signal); }
.led--pulse { animation: pulse 1.8s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px color-mix(in srgb, currentColor 0%, transparent); } }

/* ---------- botones ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 22px; border-radius: var(--r); font-weight: 700; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: transform .15s var(--ease), background .15s, box-shadow .15s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn--signal { background: var(--signal); color: var(--ink); box-shadow: inset 0 -3px 0 var(--signal-2); }
.btn--signal:hover { background: #ffcd3f; }
.btn--ghost { color: #fff; border-color: #3a3e45; background: rgba(255,255,255,.03); }
.btn--ghost:hover { border-color: #5a5f68; }
.btn--wa { background: var(--wa); color: #fff; margin-top: 26px; }
.btn--sm { padding: 9px 15px; font-size: .92rem; }
.btn--lg { padding: 16px 26px; font-size: 1.05rem; }
.btn--block { width: 100%; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; margin-top: 26px; font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--signal); padding-bottom: 2px; }
.link-arrow::after { content: '→'; transition: transform .2s var(--ease); }
.link-arrow:hover::after { transform: translateX(4px); }
.link-arrow--light { color: #fff; }

/* ---------- navegación ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .25s, box-shadow .25s, color .25s; color: #fff; }
.nav__in { display: flex; align-items: center; gap: 28px; height: 72px; }
.nav.is-solid { background: rgba(21, 23, 27, .92); backdrop-filter: saturate(1.4) blur(10px); box-shadow: 0 1px 0 var(--ink-3); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.mark { width: 34px; height: 34px; }
.brand__name { font-size: 1.35rem; letter-spacing: 0.02em; }
.brand__tag { font: 500 .68rem var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--signal); border: 1px solid #3a3e45; border-radius: 3px; padding: 3px 6px; }
.nav__links { display: flex; gap: 20px; margin-left: auto; }
.nav__links a, .nav__login { text-decoration: none; font-size: .95rem; color: #c9ccd2; transition: color .15s; }
.nav__links a:hover, .nav__links a[aria-current], .nav__login:hover { color: #fff; }
.nav__links a[aria-current] { box-shadow: 0 2px 0 var(--signal); }
.nav__cta { display: flex; align-items: center; gap: 18px; }
.nav__burger { display: none; margin-left: auto; background: none; border: 1px solid #3a3e45; border-radius: var(--r); width: 44px; height: 40px; flex-direction: column; justify-content: center; gap: 6px; padding: 0 11px; cursor: pointer; }
.nav__burger span { height: 2px; background: #fff; border-radius: 2px; transition: transform .2s; }
.nav__burger[aria-expanded='true'] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav__burger[aria-expanded='true'] span:last-child { transform: translateY(-4px) rotate(-45deg); }
.nav__sheet { background: var(--ink); border-top: 1px solid var(--ink-3); padding: 12px 24px 24px; display: grid; gap: 4px; }
.nav__sheet[hidden] { display: none; }
.nav__sheet a:not(.btn) { padding: 12px 0; text-decoration: none; color: #e6e7ea; border-bottom: 1px solid var(--ink-3); }
.nav__sheet .btn { margin-top: 14px; }

/* ---------- hero ---------- */
.hero { position: relative; background: var(--ink); color: #fff; padding: 132px 0 0; overflow: hidden; isolation: isolate; }
.hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(to right, rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(to bottom, rgba(255,255,255,.045) 1px, transparent 1px); background-size: 24px 24px; mask-image: radial-gradient(ellipse 80% 70% at 70% 40%, #000 40%, transparent 100%); }
.hero::after { content: ''; position: absolute; z-index: -1; width: 720px; height: 720px; right: -160px; top: -120px; background: radial-gradient(circle, rgba(255,194,26,.13), transparent 62%); }
.hero__stripe, .page-hero__stripe { position: absolute; inset: 0 0 auto; height: 6px; background: repeating-linear-gradient(-45deg, var(--signal) 0 10px, var(--ink) 10px 20px); background-size: 28.28px 100%; animation: stripe 1.2s linear infinite; z-index: 51; }
@keyframes stripe { to { background-position: 28.28px 0; } }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); gap: 56px; align-items: center; }
.hero__copy > * { animation: rise .8s var(--ease) both; }
.hero__copy > :nth-child(2) { animation-delay: .08s; }
.hero__copy > :nth-child(3) { animation-delay: .16s; }
.hero__copy > :nth-child(4) { animation-delay: .24s; }
.hero__copy > :nth-child(5) { animation-delay: .32s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
.hero .h1 { margin-top: 18px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.gauges { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 44px; border: 1px solid var(--ink-3); border-radius: var(--r); background: rgba(255,255,255,.02); max-width: 520px; }
.gauge { padding: 14px 18px; }
.gauge + .gauge { border-left: 1px solid var(--ink-3); }
.gauge dt { font: 500 .66rem var(--mono); letter-spacing: .12em; text-transform: uppercase; color: #8a8d94; }
.gauge dd { font: 500 1.3rem var(--mono); margin-top: 4px; white-space: nowrap; }
.gauge small { font-size: .72rem; color: #8a8d94; margin-left: 4px; }

.hero__visual { position: relative; padding: 20px 0 64px; animation: rise 1s .2s var(--ease) both; }
.hero__wave { position: absolute; left: 4%; top: 46%; width: 130%; height: 140px; z-index: -1; overflow: visible; }
.hero__wave path { fill: none; stroke-width: 2.5; vector-effect: non-scaling-stroke; stroke-linecap: round; stroke-dasharray: 8 0; animation: wave 6s linear infinite; }
.hero__wave .w1 { stroke: var(--signal); }
.hero__wave .w2 { stroke: #4a4e56; animation-duration: 9s; transform: translateX(-2%); }
@keyframes wave { from { transform: translateX(0); } to { transform: translateX(-16.66%); } }

.shot { position: relative; border-radius: 10px; background: #fff; border: 1px solid var(--line); box-shadow: 0 30px 60px -20px rgba(21,23,27,.35), 0 0 0 1px rgba(0,0,0,.02); overflow: hidden; }
.shot__bar { display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; background: var(--paper-2); border-bottom: 1px solid var(--line); }
.shot__bar i { width: 9px; height: 9px; border-radius: 50%; background: #cfcabe; }
.shot__bar span { margin-left: 10px; font: 500 .68rem var(--mono); color: var(--muted); background: #fff; border: 1px solid var(--line); border-radius: 4px; padding: 2px 10px; flex: 1; max-width: 300px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.shot img { width: 100%; }
.shot figcaption { font: 500 .72rem var(--mono); color: var(--muted); padding: 8px 12px; border-top: 1px solid var(--line); }
.shot--hero { border-color: #2a2d33; box-shadow: 0 50px 100px -30px rgba(0,0,0,.7), 0 0 0 1px rgba(255,255,255,.04); transform: perspective(1600px) rotateY(-9deg) rotateX(3deg); transform-origin: left center; transition: transform .8s var(--ease); }
.shot--hero:hover { transform: perspective(1600px) rotateY(-3deg) rotateX(1deg); }
.shot--hero .shot__bar { background: #1d2025; border-color: #2a2d33; }
.shot--hero .shot__bar i { background: #3a3e45; }
.shot--hero .shot__bar span { background: #15171b; border-color: #2a2d33; color: #8a8d94; }

.toast { position: absolute; display: flex; align-items: center; gap: 12px; background: #fff; color: var(--ink); border-radius: 8px; padding: 11px 16px 11px 14px; box-shadow: 0 18px 40px -12px rgba(0,0,0,.55); border-left: 3px solid var(--signal); font-size: .88rem; line-height: 1.3; opacity: 0; animation: toast 9s var(--ease) infinite; }
.toast b { display: block; font-weight: 700; }
.toast small { color: var(--muted); font: 500 .72rem var(--mono); }
.toast--a { left: -34px; top: 18%; border-left-color: var(--alarm); animation-delay: 1s; }
.toast--b { right: -18px; top: 52%; animation-delay: 4s; }
.toast--c { left: 12%; bottom: 22px; border-left-color: var(--ok); animation-delay: 7s; }
@keyframes toast { 0% { opacity: 0; transform: translateY(14px) scale(.96); } 6%, 30% { opacity: 1; transform: none; } 38%, 100% { opacity: 0; transform: translateY(-8px); } }

.hero__trust { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; border-top: 1px solid var(--ink-3); padding-top: 22px; padding-bottom: 26px; margin-top: 8px; }
.hero__trust .tag::before { display: none; }
.hero__trust ul { display: flex; flex-wrap: wrap; gap: 10px 26px; }
.hero__trust li { font: 500 .8rem var(--mono); color: #c9ccd2; display: flex; align-items: center; gap: 8px; }
.hero__trust li::before { content: ''; width: 6px; height: 6px; background: var(--signal); border-radius: 1px; transform: rotate(45deg); }

/* ---------- secciones ---------- */
.sec { padding: clamp(72px, 10vw, 128px) 0; position: relative; }

.pains__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 48px; }
.pain { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 26px 24px; display: flex; flex-direction: column; gap: 14px; transition: transform .25s var(--ease), box-shadow .25s, border-color .25s; }
.pain:hover { transform: translateY(-4px); box-shadow: 0 22px 40px -24px rgba(21,23,27,.35); border-color: #cdc7bb; }
.pain__num { font-size: .75rem; color: var(--muted); letter-spacing: .1em; }
.pain h3 { font-stretch: 112%; font-size: 1.28rem; font-weight: 800; letter-spacing: -.01em; }
.pain p { font-size: .96rem; display: grid; grid-template-columns: 9px 1fr; gap: 12px; align-items: baseline; }
.pain .led { transform: translateY(-1px); }
.pain__before { color: var(--muted); }
.pain__after { margin-top: auto; padding-top: 14px; border-top: 1px dashed var(--line); }
.pain__after b { font-weight: 700; }

.line { background: var(--ink); color: #fff; overflow: hidden; }
.line::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(to right, rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(to bottom, rgba(255,255,255,.04) 1px, transparent 1px); background-size: 24px 24px; pointer-events: none; }
.flow { position: relative; display: grid; grid-template-columns: repeat(7, 1fr); margin-top: 56px; border: 1px solid var(--ink-3); border-radius: var(--r); }
.flow::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--signal), transparent); background-size: 30% 100%; background-repeat: no-repeat; animation: current 3.2s linear infinite; }
@keyframes current { from { background-position: -40% 0; } to { background-position: 140% 0; } }
.flow__step { padding: 22px 18px 26px; display: flex; flex-direction: column; gap: 6px; position: relative; opacity: 0; transform: translateY(10px); transition: opacity .5s var(--ease), transform .5s var(--ease); transition-delay: calc(var(--i) * 90ms); }
.flow.is-in .flow__step { opacity: 1; transform: none; }
.flow__step + .flow__step { border-left: 1px solid var(--ink-3); }
.flow__step span { font-size: .72rem; color: var(--signal); }
.flow__step b { font-stretch: 112%; font-size: 1.05rem; }
.flow__step small { color: #8a8d94; font-size: .84rem; line-height: 1.4; }
.flow__step::after { content: ''; position: absolute; right: -5px; top: 26px; width: 9px; height: 9px; border-radius: 50%; background: var(--ink); border: 2px solid var(--ok-light); z-index: 1; }
.flow__step:last-child::after { display: none; }

.feat__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 80px); align-items: center; }
.feat__grid--rev .feat__copy { order: 2; }
.feat--alt { background: var(--paper-2); }
.checks { display: grid; gap: 12px; margin-top: 26px; }
.checks li { position: relative; padding-left: 30px; font-size: .99rem; color: #33363c; }
.checks li::before { content: ''; position: absolute; left: 0; top: .32em; width: 18px; height: 18px; border-radius: 4px; background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%23ffc21a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; }
.checks li b { color: var(--ink); }
.checks--light li { color: #b9bcc3; }
.checks--light li b { color: #fff; }
.checks--light li::before { background-color: #2a2d33; }

.meter { margin-top: 28px; padding: 18px 20px; background: var(--ink); color: #fff; border-radius: var(--r); display: grid; gap: 12px; max-width: 520px; }
.meter__row { display: grid; grid-template-columns: 100px 1fr 96px; gap: 14px; align-items: center; font-size: .76rem; }
.meter__row > span:first-child { color: #8a8d94; text-transform: uppercase; letter-spacing: .08em; font-size: .66rem; }
.meter__row > span:last-child { text-align: right; }
.meter__bar { height: 8px; background: #2a2d33; border-radius: 4px; overflow: hidden; }
.meter__bar i { display: block; height: 100%; width: 0; background: var(--signal); border-radius: 4px; transition: width 1.6s var(--ease); }
.meter.is-in .meter__bar i { width: var(--to); }
.meter__row:first-child .meter__bar i { background: linear-gradient(90deg, var(--signal) 80%, var(--alarm-light)); }
.meter__note { font-size: .78rem; color: #c9ccd2; display: flex; align-items: center; gap: 10px; }
.meter__note b { color: var(--signal); }

.feat__media--phones { position: relative; padding-bottom: 60px; }
.feat__media--phones .shot--back { width: 88%; }
.phone { position: absolute; width: 210px; border-radius: 26px; overflow: hidden; border: 7px solid var(--ink); box-shadow: 0 30px 60px -18px rgba(21,23,27,.5); background: var(--ink); }
.phone img { width: 100%; }
.phone--a { right: 0; top: 36px; transform: rotate(3deg); }
.phone--b { right: 150px; bottom: -10px; width: 180px; transform: rotate(-4deg); }
.feat__media--stack { position: relative; padding-bottom: 70px; }
.shot--float { position: absolute !important; width: 66%; right: -24px; bottom: 0; }

.ai { background: var(--ink); color: #fff; overflow: hidden; position: relative; isolation: isolate; }
.ai::after { z-index: -1; }
.ai::after { content: ''; position: absolute; width: 640px; height: 640px; left: -200px; bottom: -280px; background: radial-gradient(circle, rgba(29,138,75,.2), transparent 62%); pointer-events: none; }
.aidemo { display: grid; grid-template-columns: 1fr; gap: 0; position: relative; z-index: 1; max-width: 560px; margin-inline: auto; }
.aidemo__chat { background: #0b141a; border-radius: 12px; padding: 14px; border: 1px solid #22303a; min-height: 168px; width: 88%; }
.aidemo__head { display: flex; gap: 10px; align-items: center; padding-bottom: 12px; border-bottom: 1px solid #22303a; margin-bottom: 14px; font-size: .88rem; line-height: 1.25; }
.aidemo__head small { display: block; color: #8696a0; font-size: .72rem; }
.aidemo__avatar { width: 34px; height: 34px; border-radius: 50%; background: #2a3942; color: #d1d7db; display: grid; place-items: center; font: 600 .72rem var(--mono); }
.bubble { background: #202c33; color: #e9edef; border-radius: 0 10px 10px 10px; padding: 10px 12px; font-size: .92rem; line-height: 1.45; min-height: 1.45em; max-width: 96%; position: relative; }
.bubble.is-typing::after { content: '▍'; color: #8696a0; animation: blink .8s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.aidemo__arrow { display: flex; align-items: center; justify-content: center; gap: 10px; color: var(--signal); height: 64px; }
.aidemo__arrow svg { transform: rotate(90deg); }
.aidemo__arrow svg { width: 70px; overflow: visible; }
.aidemo__arrow path { fill: none; stroke: var(--signal); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 160; stroke-dashoffset: 160; }
.aidemo.is-thinking .aidemo__arrow path { animation: draw 1s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.aidemo__arrow span { font-size: .7rem; letter-spacing: .14em; border: 1px solid #3a3e45; padding: 2px 6px; border-radius: 3px; }
.aidemo.is-thinking .aidemo__arrow span { animation: pulse-ai 1s ease-in-out infinite; }
@keyframes pulse-ai { 50% { background: rgba(255,194,26,.15); } }
.aidemo__card { margin-left: 12%; background: #fff; color: var(--ink); border-radius: 10px; padding: 16px 18px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.6); border-top: 3px solid var(--signal); }
.aidemo__cardhead { display: flex; justify-content: space-between; align-items: center; font-size: .8rem; margin-bottom: 10px; }
.pill { font: 600 .64rem var(--mono); letter-spacing: .1em; text-transform: uppercase; background: var(--signal); padding: 3px 7px; border-radius: 3px; }
.aidemo__card dl { display: grid; grid-template-columns: 1fr 1fr; column-gap: 18px; }
.aidemo__card [data-field] { display: grid; gap: 2px; padding: 7px 0; border-bottom: 1px solid var(--paper-2); font-size: .88rem; opacity: .15; transition: opacity .4s, background .6s; }
.aidemo__card [data-field].is-on { opacity: 1; animation: flash 1s var(--ease); }
@keyframes flash { from { background: rgba(255,194,26,.35); } }
.aidemo__card dt { font: 500 .64rem var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding-top: 3px; }
.aidemo__card dd { font-weight: 600; }
.aidemo__card small { color: var(--muted); font-weight: 400; }
.aidemo__foot { margin-top: 10px; font-size: .72rem; color: var(--muted); display: flex; align-items: center; gap: 8px; opacity: 0; transition: opacity .4s; }
.aidemo.is-done .aidemo__foot { opacity: 1; }
.aidemo__cap { grid-column: 1 / -1; margin-top: 18px; font: 500 .74rem var(--mono); color: #8a8d94; text-align: center; }

.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.duo__item { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 30px; display: flex; flex-direction: column; gap: 12px; }
.duo__item > p:not(.tag) { color: var(--muted); }
.duo__item .shot { margin-top: 12px; box-shadow: 0 18px 40px -26px rgba(21,23,27,.4); }

.vocab { background: var(--paper); padding-bottom: clamp(72px, 9vw, 110px); }
.marquee { margin: 44px 0 56px; overflow: hidden; border-block: 1px solid var(--line); background: var(--card); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee__track { display: flex; width: max-content; animation: marquee 50s linear infinite; }
.marquee span { font: 600 1rem var(--sans); font-stretch: 112%; padding: 18px 26px; display: flex; align-items: center; gap: 26px; white-space: nowrap; }
.marquee span::after { content: ''; width: 7px; height: 7px; background: var(--signal); transform: rotate(45deg); }
@keyframes marquee { to { transform: translateX(-50%); } }
.compare { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: var(--card); }
.compare table { width: 100%; border-collapse: collapse; min-width: 640px; }
.compare th, .compare td { padding: 15px 18px; text-align: left; border-bottom: 1px solid var(--paper-2); font-size: .95rem; }
.compare thead th { font: 500 .7rem var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.compare tbody th { font-weight: 600; }
.compare td { color: var(--muted); font-family: var(--mono); font-size: .86rem; }
.compare .is-onex { background: var(--ink); color: #fff; }
.compare thead .is-onex { color: var(--signal); }
.compare td.is-onex { color: var(--signal); font-weight: 700; font-size: 1.1rem; }
.compare tr:last-child > * { border-bottom: 0; }

.steps { background: var(--paper-2); }
.steps__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 44px; counter-reset: s; }
.steps__list li { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 28px; position: relative; overflow: hidden; }
.steps__list li::after { content: ''; position: absolute; left: 0; top: 0; height: 3px; width: 100%; background: var(--signal); transform: scaleX(0); transform-origin: left; transition: transform .8s var(--ease) .2s; }
.steps__list li.is-in::after { transform: scaleX(1); }
.steps__n { font-size: .8rem; color: var(--muted); }
.steps__list h3 { font-stretch: 112%; font-size: 1.3rem; margin: 10px 0 8px; }
.steps__list p { color: var(--muted); font-size: .96rem; }

.faq__list { margin-top: 36px; border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; cursor: pointer; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item h3 { font-size: 1.1rem; font-weight: 700; line-height: 1.35; }
.faq__icon { width: 28px; height: 28px; flex-shrink: 0; border: 1px solid var(--line); border-radius: 50%; position: relative; transition: transform .25s var(--ease), background .2s; }
.faq__icon::before, .faq__icon::after { content: ''; position: absolute; left: 50%; top: 50%; width: 11px; height: 2px; background: var(--ink); transform: translate(-50%, -50%); }
.faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .25s var(--ease); }
.faq__item[open] .faq__icon { background: var(--signal); border-color: var(--signal); }
.faq__item[open] .faq__icon::after { transform: translate(-50%, -50%) rotate(0); }
.faq__a { padding: 0 48px 24px 0; color: #43464d; }

/* ---------- demo ---------- */
.demo { background: var(--ink); color: #fff; overflow: hidden; }
.demo::before { content: ''; position: absolute; inset: 0 0 auto; height: 6px; background: repeating-linear-gradient(-45deg, var(--signal) 0 10px, var(--ink) 10px 20px); }
.demo__grid { display: grid; grid-template-columns: 1fr minmax(0, 520px); gap: 64px; align-items: start; }
.demo__card { background: var(--paper); color: var(--ink); border-radius: 10px; padding: 30px; box-shadow: 0 40px 80px -30px rgba(0,0,0,.7); }
.form { display: grid; gap: 14px; }
.form__title { font-stretch: 118%; font-weight: 800; font-size: 1.45rem; letter-spacing: -.01em; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form label { display: grid; gap: 5px; font-size: .86rem; font-weight: 600; }
.form label small { font-weight: 400; color: var(--muted); font-size: inherit; }
.form input:not([type=checkbox]), .form select, .form textarea { width: 100%; padding: 11px 13px; border: 1px solid #cdc7bb; border-radius: var(--r); background: #fff; font-size: 1rem; font-weight: 400; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--ink); outline-offset: 0; border-color: var(--ink); }
.form textarea { resize: vertical; }
.form__chips { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.form__chips legend { font-size: .86rem; font-weight: 600; margin-bottom: 7px; padding: 0; }
.chip { display: inline-flex !important; cursor: pointer; }
.chip input { position: absolute; opacity: 0; }
.chip span { padding: 8px 13px; border: 1px solid #cdc7bb; border-radius: 99px; background: #fff; font-weight: 500 !important; color: var(--ink) !important; transition: background .15s, border-color .15s; }
.chip input:checked + span { background: var(--ink); color: var(--signal) !important; border-color: var(--ink); }
.chip input:focus-visible + span { outline: 2px solid var(--signal); outline-offset: 2px; }
.form__err { color: var(--alarm); font-size: .9rem; font-weight: 600; }
.form__fine { font-size: .78rem; color: var(--muted); text-align: center; }
.demo__ok { text-align: center; padding: 30px 10px; display: grid; justify-items: center; gap: 12px; }
.demo__ok h3 { font-stretch: 118%; font-size: 1.5rem; }
.demo__ok p { color: var(--muted); }

/* ---------- pie ---------- */
.foot { background: #0e0f12; color: #a3a6ad; padding: 64px 0 28px; font-size: .92rem; }
.foot__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.brand--foot { color: #fff; }
.foot__about { margin-top: 16px; max-width: 40ch; }
.foot .tag { color: #6c7078; margin-bottom: 14px; }
.foot__list { display: grid; gap: 10px; }
.foot__list a { text-decoration: none; }
.foot__list a:hover { color: #fff; }
.foot__base { display: flex; align-items: center; gap: 20px; margin-top: 48px; padding-top: 22px; border-top: 1px solid #23262c; font-size: .8rem; }
.foot__wave { flex: 1; height: 18px; }
.foot__wave path { fill: none; stroke: #2f333a; stroke-width: 1.5; vector-effect: non-scaling-stroke; }

.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 58px; height: 58px; border-radius: 50%; background: #25d366; display: grid; place-items: center; box-shadow: 0 14px 30px -8px rgba(0,0,0,.45); transition: transform .2s var(--ease); }
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 30px; height: 30px; fill: #fff; }

/* ---------- páginas por tema ---------- */
.page-hero { position: relative; background: var(--ink); color: #fff; padding: 140px 0 72px; overflow: hidden; isolation: isolate; }
.page-hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(to right, rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(to bottom, rgba(255,255,255,.045) 1px, transparent 1px); background-size: 24px 24px; mask-image: linear-gradient(to bottom, #000, transparent); }
.page-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.page-hero .h1 { font-size: clamp(2.2rem, 4.4vw, 3.6rem); margin-top: 16px; }
.crumbs { font: 500 .72rem var(--mono); letter-spacing: .06em; color: #8a8d94; display: flex; gap: 8px; flex-wrap: wrap; }
.crumbs a { color: #c9ccd2; text-decoration: none; }
.crumbs a:hover { color: var(--signal); }
.prose { max-width: 70ch; }
.prose h2 { font-stretch: 118%; font-weight: 800; letter-spacing: -.015em; font-size: clamp(1.6rem, 2.8vw, 2.2rem); line-height: 1.1; margin: 56px 0 16px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.2rem; margin: 28px 0 8px; }
.prose p { color: #33363c; margin-top: 14px; }
.prose .checks { margin-top: 18px; }
.prose table { width: 100%; border-collapse: collapse; margin-top: 18px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); font-size: .94rem; }
.prose th, .prose td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--paper-2); vertical-align: top; }
.prose thead th { font: 500 .68rem var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 64px); align-items: center; margin-top: 56px; }
.callout { margin-top: 28px; padding: 18px 20px; border-left: 3px solid var(--signal); background: var(--card); border-radius: 0 var(--r) var(--r) 0; font-size: .96rem; }
.related { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; margin-top: 32px; }
.related a { display: block; padding: 22px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); text-decoration: none; transition: transform .2s var(--ease), border-color .2s; }
.related a:hover { transform: translateY(-3px); border-color: var(--ink); }
.related b { display: block; font-stretch: 112%; font-size: 1.1rem; margin-top: 8px; }
.related small { color: var(--muted); }

/* ---------- aparición al hacer scroll ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js .shot[data-reveal]:not(.shot--hero) { transform: translateY(30px) scale(.985); }
.js .shot[data-reveal].is-in { transform: none; }
.js .phone--a[data-reveal] { transform: rotate(3deg) translateY(40px); }
.js .phone--a[data-reveal].is-in { transform: rotate(3deg); }
.js .phone--b[data-reveal] { transform: rotate(-4deg) translateY(60px); transition-delay: .15s; }
.js .phone--b[data-reveal].is-in { transform: rotate(-4deg); }

/* ---------- responsivo ---------- */
@media (max-width: 1180px) {
    .nav__links { display: none; }
    .nav__cta { margin-left: auto; }
    .nav__burger { display: flex; margin-left: 4px; }
}
@media (max-width: 1080px) {
    .nav__cta { margin-left: auto; }
    .hero__grid, .page-hero__grid { grid-template-columns: 1fr; }
    .hero__visual { max-width: 760px; }
    .flow { grid-template-columns: repeat(4, 1fr); }
    .flow__step:nth-child(5) { border-left: 0; }
    .flow__step:nth-child(n+5) { border-top: 1px solid var(--ink-3); }
    .flow__step:nth-child(4)::after { display: none; }
}
@media (max-width: 900px) {
    body { font-size: 16px; }
    .feat__grid, .split { grid-template-columns: 1fr; }
    .feat__grid--rev .feat__copy { order: 0; }
    .pains__grid, .steps__list, .related { grid-template-columns: 1fr 1fr; }
    .duo, .demo__grid { grid-template-columns: 1fr; }
    .demo__grid { gap: 36px; }
    .foot__grid { grid-template-columns: 1fr 1fr; }
    .foot__grid > :first-child { grid-column: 1 / -1; }
    .shot--hero { transform: none; }
    .toast--a { left: 8px; }
    .toast--b { right: 8px; }
}
@media (max-width: 640px) {
    .wrap { padding: 0 16px; }
    .nav__cta { display: none; }
    .nav__burger { display: flex; }
    .nav__in { height: 64px; }
    .hero { padding-top: 104px; }
    .hero__ctas .btn { width: 100%; }
    .gauges { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .gauge { padding: 12px 10px; }
    .gauge dd { font-size: 1rem; }
    .toast { font-size: .78rem; padding: 8px 12px; }
    .toast--c { display: none; }
    .pains__grid, .steps__list, .related, .form__row { grid-template-columns: 1fr; }
    .flow { grid-template-columns: 1fr 1fr; }
    .flow__step { border-left: 0 !important; border-top: 1px solid var(--ink-3); }
    .flow__step:nth-child(even) { border-left: 1px solid var(--ink-3) !important; }
    .flow__step:nth-child(-n+2) { border-top: 0; }
    .flow__step::after { display: none; }
    .aidemo__chat { width: 100%; }
    .aidemo__card { margin-left: 0; }
    .aidemo__card dl { grid-template-columns: 1fr; }
    .aidemo__chat { min-height: 0; }
    .phone { width: 150px; border-width: 5px; border-radius: 20px; }
    .phone--b { width: 130px; right: 110px; }
    .feat__media--phones .shot--back { width: 100%; }
    .shot--float { width: 80%; right: -8px; }
    .meter__row { grid-template-columns: 72px 1fr 82px; gap: 10px; }
    .duo__item, .demo__card { padding: 20px; }
    .foot__grid { grid-template-columns: 1fr; }
    .foot__base { flex-wrap: wrap; }
    .foot__wave { display: none; }
    .page-hero { padding-top: 110px; }
    .prose table { display: block; overflow-x: auto; }
    .prose td, .prose th { min-width: 140px; }
    .wa-float { width: 52px; height: 52px; right: 14px; bottom: 14px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
    .toast { opacity: 1; animation: none; }
    .toast--a, .toast--c { display: none; }
    .marquee__track { animation: none; }
}

/* ---------- tu sistema, con tu marca ---------- */
.brandsec__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 48px; }
.bcard { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 18px 20px 24px; display: flex; flex-direction: column; gap: 10px; transition: transform .25s var(--ease), box-shadow .25s; }
.bcard:hover { transform: translateY(-4px); box-shadow: 0 22px 40px -24px rgba(21,23,27,.35); }
.bcard h3 { font-stretch: 112%; font-size: 1.18rem; font-weight: 800; margin-top: 6px; }
.bcard p { font-size: .94rem; color: var(--muted); }
.bcard p b { color: var(--ink); }
.bcard__visual { height: 150px; border-radius: 6px; background: var(--ink); position: relative; overflow: hidden; display: grid; place-items: center; padding: 14px; background-image: linear-gradient(to right, rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(to bottom, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 16px 16px; }
.bcard__visual--url { align-content: center; gap: 14px; }
.mini-url { display: flex; align-items: center; gap: 8px; background: #fff; color: var(--ink); border-radius: 99px; padding: 7px 14px; font: 500 .74rem var(--mono); white-space: nowrap; }
.mini-url b { color: var(--ink); background: var(--signal); padding: 1px 3px; border-radius: 2px; }
.lock { width: 9px; height: 8px; background: var(--ok); border-radius: 2px; position: relative; }
.lock::before { content: ''; position: absolute; left: 1.5px; top: -5px; width: 6px; height: 6px; border: 1.5px solid var(--ok); border-bottom: 0; border-radius: 4px 4px 0 0; }
.mini-logo { display: flex; align-items: center; gap: 10px; }
.mini-logo__box { font: 700 .62rem var(--mono); letter-spacing: .12em; color: var(--signal); border: 1.5px dashed var(--signal); padding: 8px 10px; border-radius: 4px; animation: logo-glow 2.4s ease-in-out infinite; }
@keyframes logo-glow { 50% { background: rgba(255,194,26,.14); } }
.mini-logo__lines { display: grid; gap: 6px; }
.mini-logo__lines i { display: block; width: 70px; height: 6px; background: #3a3e45; border-radius: 3px; }
.mini-logo__lines i + i { width: 44px; }
.mini-web { width: 100%; max-width: 210px; background: #fff; border-radius: 6px; overflow: hidden; display: grid; position: relative; }
.mini-web__bar { display: flex; gap: 4px; padding: 6px 8px; background: var(--paper-2); }
.mini-web__bar i { width: 6px; height: 6px; border-radius: 50%; background: #cfcabe; }
.mini-web__hero { height: 34px; margin: 8px; border-radius: 3px; background: linear-gradient(90deg, #e6e2d9, #f2f0ea); }
.mini-web__form { display: grid; gap: 5px; margin: 0 8px 10px; }
.mini-web__form i { height: 9px; border: 1px solid var(--line); border-radius: 2px; }
.mini-web__form b { font: 700 .55rem var(--sans); background: var(--signal); color: var(--ink); text-align: center; padding: 3px; border-radius: 2px; }
.mini-web__wa { position: absolute; right: 8px; bottom: 8px; width: 22px; height: 22px; border-radius: 50%; background: #25d366; box-shadow: 0 0 0 0 rgba(37,211,102,.6); animation: wa-ping 2s ease-out infinite; }
@keyframes wa-ping { 70% { box-shadow: 0 0 0 10px rgba(37,211,102,0); } }
.mini-mail { width: 100%; display: grid; gap: 6px; font-size: .7rem; }
.mini-mail__from { color: #a3a6ad; font-family: var(--mono); font-size: .66rem; }
.mini-mail__from b { color: var(--signal); font-weight: 500; }
.mini-mail__row { display: flex; align-items: center; gap: 8px; background: #fff; color: var(--ink); border-radius: 4px; padding: 6px 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; opacity: 0; transform: translateX(-10px); animation: mail-in 6s var(--ease) infinite; }
.mini-mail__row:nth-child(3) { animation-delay: .6s; }
.mini-mail__row:nth-child(4) { animation-delay: 1.2s; }
@keyframes mail-in { 8%, 85% { opacity: 1; transform: none; } 100% { opacity: 0; } }
.mini-mail__row em { font: 700 .55rem var(--mono); font-style: normal; background: var(--alarm); color: #fff; padding: 2px 4px; border-radius: 2px; }
.mini-mail__row:last-child em { background: var(--signal); color: var(--ink); }
.bcard__visual--secure { align-content: center; gap: 10px; justify-items: center; }
.bcard__visual--secure svg { width: 70px; height: 70px; }
.bcard__visual--secure path { fill: none; stroke: var(--signal); stroke-width: 3; stroke-linejoin: round; }
.bcard__visual--secure .ok { stroke: var(--ok-light); stroke-linecap: round; stroke-dasharray: 30; stroke-dashoffset: 30; animation: check 3s var(--ease) infinite; }
@keyframes check { 20%, 90% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 30; } }
.bcard__visual--secure .mono { font-size: .66rem; color: #a3a6ad; letter-spacing: .06em; }

/* ---------- asistente (próximamente) ---------- */
.assistant { background: var(--ink); color: #fff; overflow: hidden; position: relative; isolation: isolate; }
.assistant::after { content: ''; position: absolute; z-index: -1; width: 680px; height: 680px; right: -200px; top: -260px; background: radial-gradient(circle, rgba(255,194,26,.12), transparent 62%); }
.pill--dark { background: var(--signal); color: var(--ink); margin-right: 4px; }
.assistant .tag--signal::before { display: none; }
.assistant__note { margin-top: 22px; font-size: .76rem; color: #8a8d94; }
.asis { background: #1d2025; border: 1px solid #2a2d33; border-radius: 12px; overflow: hidden; box-shadow: 0 40px 80px -30px rgba(0,0,0,.7); }
.asis__head { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-bottom: 1px solid #2a2d33; font-size: .92rem; }
.asis__head .pill { margin-left: auto; }
.asis__body { padding: 18px; display: grid; gap: 10px; min-height: 360px; align-content: start; }
.asis__q, .asis__a { max-width: 88%; padding: 10px 14px; border-radius: 10px; font-size: .92rem; line-height: 1.45; }
.asis__q { justify-self: end; background: var(--signal); color: var(--ink); border-bottom-right-radius: 2px; font-weight: 600; }
.asis__a { background: #2a2d33; color: #e6e7ea; border-bottom-left-radius: 2px; }
.asis__a b { color: var(--signal); }
.js .asis [data-q], .js .asis [data-a] { opacity: 0; transform: translateY(8px); transition: opacity .45s var(--ease), transform .45s var(--ease); }
.js .asis .is-on { opacity: 1 !important; transform: none !important; }
.asis__a.is-typing { color: transparent; position: relative; }
.asis__a.is-typing::after { content: '• • •'; position: absolute; left: 14px; top: 10px; color: #8a8d94; letter-spacing: .1em; animation: blink 1s steps(1) infinite; }
.asis .aidemo__cap { padding: 0 18px 14px; margin-top: 0; }

@media (max-width: 1080px) { .brandsec__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .brandsec__grid { grid-template-columns: 1fr; } .asis__body { min-height: 0; } }
@media (prefers-reduced-motion: reduce) { .mini-mail__row { opacity: 1; transform: none; } }

/* ---------- Blog ---------- */
.page-hero--blog { padding: 132px 0 64px; }
.page-hero--blog .h1 { max-width: 22ch; text-wrap: balance; }
.page-hero--post .h1 { font-size: clamp(2rem, 3.6vw, 3rem); max-width: 26ch; }
.post-meta { margin-top: 22px; font-size: .78rem; letter-spacing: .04em; color: #8a8d94; }
.sec--blog { padding-top: 56px; }
.posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.post-card a { display: flex; flex-direction: column; height: 100%; padding: 26px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); text-decoration: none; color: inherit; transition: transform .2s var(--ease), border-color .2s; }
.post-card a:hover { transform: translateY(-3px); border-color: var(--ink); }
.post-card--lead { grid-column: span 2; }
.post-card--lead a { background: var(--ink); border-color: var(--ink); color: #fff; }
.post-card--lead .post-card__desc { color: #b9bcc3; }
.post-card--lead .post-card__title { font-size: clamp(1.5rem, 2.4vw, 2rem); }
.post-card__meta { font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.post-card--lead .post-card__meta { color: var(--signal); }
.post-card__title { font-stretch: 112%; font-weight: 800; font-size: 1.25rem; line-height: 1.15; margin-top: 12px; letter-spacing: -.01em; }
.post-card__desc { color: var(--muted); margin-top: 10px; font-size: .96rem; flex: 1; }
.post-card__date { margin-top: 18px; font-size: .85rem; color: var(--muted); display: flex; justify-content: space-between; }
.post-card--lead .post-card__date { color: #a3a6ad; }
.sec--post { padding-top: 56px; padding-bottom: 48px; }
.post-layout { display: flex; justify-content: center; }
.post-body { max-width: 72ch; font-size: 1.06rem; line-height: 1.7; }
.post-body h2 { font-size: clamp(1.4rem, 2.4vw, 1.85rem); margin-top: 48px; }
.post-body ul, .post-body ol { margin-top: 14px; padding-left: 22px; color: #33363c; }
.post-body li { margin-top: 6px; }
.post-body ul li::marker { color: var(--signal-2); }
.post-body a { color: var(--ink); text-decoration-color: var(--signal-2); text-underline-offset: 3px; }
.post-body blockquote { margin-top: 20px; padding: 14px 18px; background: var(--paper-2); border-left: 3px solid var(--signal); border-radius: 0 var(--r) var(--r) 0; }
.post-body blockquote p { margin: 0; }
.post-cta { margin-top: 48px; padding: 26px; background: var(--ink); color: #fff; border-radius: var(--r); }
.post-cta .tag { color: var(--signal); }
.post-cta__title { font-stretch: 112%; font-weight: 800; font-size: 1.35rem; margin-top: 10px; color: #fff; }
.post-cta p:not(.tag):not(.post-cta__title) { color: #b9bcc3; margin-top: 8px; }
.post-cta__btns { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; margin-top: 18px; }
.post-cta__link { color: #fff; font-weight: 600; }
.sec--more { padding-top: 24px; }
@media (max-width: 900px) {
    .posts { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
    .posts { grid-template-columns: 1fr; }
    .post-card--lead { grid-column: auto; }
    .page-hero--blog { padding: 112px 0 48px; }
    .post-body { font-size: 1rem; }
}
.post-body ul { list-style: disc; }
.post-body ol { list-style: decimal; }
.post-body .post-cta p.post-cta__title { color: #fff; }
.post-body .post-cta p:not(.tag):not(.post-cta__title) { color: #b9bcc3; }
.post-body .post-cta a.post-cta__link { color: #fff; text-decoration-color: var(--signal); }
.post-body .post-cta a.btn { text-decoration: none; color: var(--ink); }

/* Páginas por zona */
.zone-traits .pain p:not(.pain__num) { display: block; color: var(--muted); }
.zone-uses { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 36px; }
.zone-use h3 { font-stretch: 112%; font-size: 1.15rem; margin: 18px 0 6px; }
.zone-use p { color: var(--muted); margin: 0; }
.zone-places { list-style: none; padding: 0; margin: 16px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.zone-places li { padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); font-size: .92rem; }
.foot__zones { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 8px; }
.foot__zones a { font-size: .9rem; }
@media (max-width: 900px) { .zone-uses { grid-template-columns: 1fr; } }

/* Calculadoras */
.calc { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.calc__card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 28px; }
.calc__res { background: var(--ink); color: #fff; border-radius: var(--r); padding: 28px; position: sticky; top: 96px; }
.calc__res .tag { color: rgba(255,255,255,.6); }
.calc__res dl { display: grid; gap: 16px; margin: 18px 0 0; }
.calc__res dt { font-size: .82rem; color: rgba(255,255,255,.65); }
.calc__res dd { margin: 2px 0 0; font-stretch: 112%; font-weight: 800; font-size: 1.55rem; line-height: 1.15; }
.calc__res dd.big { font-size: 2.2rem; color: var(--signal); }
.calc__res p { color: rgba(255,255,255,.8); font-size: .92rem; margin-top: 14px; }
.calc__res .btn { margin-top: 20px; }
.calc .form fieldset { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; }
.calc .form fieldset label { display: flex; gap: 8px; align-items: center; font-weight: 600; }
.calc__rows { display: grid; gap: 10px; }
.calc__row { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) 70px auto 36px; gap: 8px; align-items: end; }
.calc__row label { font-size: .78rem; }
.calc__row .chk { display: flex; gap: 6px; align-items: center; padding-bottom: 12px; white-space: nowrap; }
.calc__del { width: 36px; height: 44px; border: 1px solid var(--line); background: #fff; border-radius: var(--r); cursor: pointer; font-size: 1.2rem; line-height: 1; }
.calc__add { justify-self: start; border: 1px dashed #b9b2a4; background: transparent; border-radius: var(--r); padding: 10px 14px; font-weight: 600; cursor: pointer; }
.calc__note { font-size: .82rem; color: var(--muted); }
@media (max-width: 900px) {
    .calc { grid-template-columns: 1fr; }
    .calc__res { position: static; }
    .calc__row { grid-template-columns: 1fr 1fr; }
    .calc__row > label:first-child { grid-column: 1 / -1; }
}

/* Glosario */
.gloss-nav { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 32px; }
.gloss-nav a { padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); text-decoration: none; font-size: .9rem; }
.gloss-cat { margin-top: 48px; }
.gloss-cat:first-of-type { margin-top: 0; }
.gloss-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; margin-top: 18px; }
.gloss-list a { display: block; padding: 16px 18px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); text-decoration: none; }
.gloss-list a:hover { border-color: var(--ink); }
.gloss-list b { display: block; font-stretch: 112%; }
.gloss-list span { display: block; color: var(--muted); font-size: .9rem; margin-top: 4px; }
.term-def { font-size: 1.2rem; line-height: 1.55; color: var(--ink); border-left: 4px solid var(--signal); padding-left: 18px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
