/* ==========================================================================
   Chatsell — sitio institucional
   Depende de _ds/…/tokens/{colors,fonts,typography,spacing}.css
   ========================================================================== */

/* ---- Base ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg-base);
  color: var(--text-primary);
  font-family: 'Golos Text', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: rgba(0,153,255,.3); }
:focus-visible { outline: 2px solid var(--accent-blue); outline-offset: 3px; border-radius: 6px; }
.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; }

:root {
  --surface-glass-3: rgba(255,255,255,.07);
  --border-hover: rgba(255,255,255,.2);
  --nav-bg: rgba(11,13,17,.62);
  --nav-bg-solid: rgba(11,13,17,.86);
  --menu-bg: #0c0e13;
  --drawer-bg: rgba(6,6,10,.96);
  --grid-line: rgba(255,255,255,.035);
  --hero-glow-2: rgba(22,33,61,.55);
  --shadow-lg: 0 30px 80px rgba(0,0,0,.5);
  --container: 1180px;
  --pad: clamp(18px, 5vw, 56px);
  --radius: 16px;
  --radius-lg: 22px;
  --ease: cubic-bezier(.2,.7,.2,1);
  --nav-h: 64px;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
}

.container { width: min(var(--container), 100% - 2 * var(--pad)); margin-inline: auto; }
.section { padding-block: clamp(72px, 9vw, 120px); position: relative; }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }
.section--surface { background: var(--bg-surface); }
.section--line { border-top: 1px solid var(--border-default); }

/* ---- Tipografía ---------------------------------------------------------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent-blue); font-weight: 500;
}
.eyebrow::before { content: ""; width: 18px; height: 1px; background: currentColor; opacity: .7; }
.eyebrow--dot::before { width: 7px; height: 7px; border-radius: 50%; background: var(--accent-green); box-shadow: 0 0 10px var(--accent-green); opacity: 1; }
.h1 { font-size: clamp(38px, 6vw, 74px); line-height: 1.02; letter-spacing: -.035em; font-weight: 800; }
.h2 { font-size: clamp(30px, 4vw, 48px); line-height: 1.08; letter-spacing: -.03em; font-weight: 800; }
.h3 { font-size: clamp(20px, 2.2vw, 24px); line-height: 1.2; letter-spacing: -.015em; font-weight: 700; }
.lead { font-size: clamp(16px, 1.4vw, 19px); line-height: 1.6; color: var(--text-secondary); max-width: 62ch; }
.muted { color: var(--text-secondary); }
.mono { font-family: var(--mono); }
.head { display: grid; gap: 16px; max-width: 760px; margin-bottom: clamp(36px, 5vw, 64px); }
.head--center { text-align: center; margin-inline: auto; justify-items: center; }
.head .lead { margin-top: 4px; }

/* ---- Botones ------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 0 20px; height: 44px; border-radius: 999px;
  font-weight: 600; font-size: 15px; text-decoration: none; white-space: nowrap;
  border: 1px solid transparent; transition: transform .25s var(--ease), background .2s, border-color .2s, box-shadow .25s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--lg { height: 52px; padding: 0 26px; font-size: 16px; }
.btn--sm { height: 38px; padding: 0 16px; font-size: 14px; }
.btn--primary { background: var(--accent-blue); color: #fff; box-shadow: 0 8px 26px rgba(0,153,255,.28); }
.btn--primary:hover { background: var(--brand-blue-hover); box-shadow: 0 12px 34px rgba(0,153,255,.38); }
.btn--wa { background: var(--channel-whatsapp); color: #062017; box-shadow: 0 8px 26px rgba(37,211,102,.25); }
.btn--wa:hover { background: #3fe07a; }
.btn--secondary { background: var(--surface-glass-2); border-color: var(--border-strong); color: var(--text-primary); }
.btn--secondary:hover { background: var(--surface-glass-3); border-color: var(--border-hover); }
.btn--ghost { color: var(--text-secondary); }
.btn--ghost:hover { color: var(--text-primary); }
.btn--white { background: #fff; color: var(--brand-navy); box-shadow: 0 10px 40px rgba(0,0,0,.35); }
.btn--white:hover { background: #f1f5ff; }
.btn svg { flex: none; }

/* ---- Reveal on scroll ---------------------------------------------------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0ms); }
.js .reveal.in { opacity: 1; transform: none; }

/* ==========================================================================
   NAV — píldora flotante + mega menú
   ========================================================================== */
.nav-wrap { position: fixed; top: 14px; left: 0; right: 0; z-index: 90; display: flex; justify-content: center; padding-inline: 14px; pointer-events: none; }
.nav {
  position: relative;
  pointer-events: auto;
  width: min(1180px, 100%);
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 0 10px 0 22px;
  border-radius: 999px;
  background: var(--nav-bg);
  border: 1px solid var(--surface-glass-3);
  backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%);
  box-shadow: 0 10px 40px rgba(0,0,0,.35), inset 0 1px 0 var(--surface-glass-2);
  transition: background .35s, border-color .35s, box-shadow .35s;
}
.nav.is-scrolled { background: var(--nav-bg-solid); border-color: var(--border-strong); box-shadow: 0 14px 50px rgba(0,0,0,.5), inset 0 1px 0 var(--surface-glass-2); }
.nav__logo img { height: 24px; width: auto; }
.nav__links { display: flex; align-items: center; gap: 4px; }
.nav__item { position: static; }
.nav__link {
  display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
  padding: 9px 12px; border-radius: 999px;
  color: var(--text-secondary); font-size: 14.5px; font-weight: 500; text-decoration: none;
  transition: color .2s, background .2s;
}
.nav__link:hover, .nav__item.is-open > .nav__link, .nav__item:focus-within > .nav__link { color: var(--text-primary); background: var(--surface-glass-3); }
.nav__link .chev { transition: transform .25s var(--ease); opacity: .7; }
.nav__item.is-open > .nav__link .chev { transform: rotate(180deg); }
.nav__actions { display: flex; align-items: center; gap: 8px; }
.nav__login { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; white-space: nowrap; border-radius: 999px; border: 1px solid var(--border-strong); color: var(--text-primary); font-size: 14px; font-weight: 500; text-decoration: none; transition: background .2s, border-color .2s; }
.nav__login:hover { background: var(--surface-glass-3); border-color: var(--border-hover); }
.nav__burger { display: none; width: 42px; height: 42px; border-radius: 50%; flex-direction: column; align-items: center; justify-content: center; border: 1px solid var(--border-strong); }
.nav__burger span { display: block; width: 18px; height: 2px; background: #fff; border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.nav__burger span + span { margin-top: 4px; }

/* Mega menú */
.mega {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translate(-50%, 8px) scale(.98);
  transform-origin: top center;
  width: min(880px, calc(100vw - 28px));
  background: var(--menu-bg);
  border: 1px solid var(--border-strong);
  border-radius: 20px;
  box-shadow: 0 30px 80px rgba(0,0,0,.6), inset 0 1px 0 var(--surface-glass-2);
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  padding: 22px;
  display: grid; grid-template-columns: 1fr 260px; gap: 22px;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .25s var(--ease), transform .3s var(--ease), visibility 0s linear .3s;
}
.mega--wide { width: min(980px, calc(100vw - 28px)); grid-template-columns: 1fr; gap: 16px; }
.nav__item.is-open > .mega, .nav__item:focus-within > .mega { opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0) scale(1); transition-delay: 0s; }
.mega__title { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 14px; }
.mega__grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 4px 12px; }
.mega__link { display: flex; gap: 12px; align-items: flex-start; padding: 10px; border-radius: 12px; text-decoration: none; transition: background .2s; }
.mega__link:hover { background: var(--surface-glass-2); }
.mega__ico { flex: none; width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; background: var(--accent-blue-soft); color: var(--accent-blue); border: 1px solid rgba(0,153,255,.18); }
.mega__ico svg { width: 17px; height: 17px; }
.mega__ico--img { background: var(--surface-glass-2); border-color: var(--border-default); }
.mega__ico--img img { width: 18px; height: 18px; object-fit: contain; }
.mega__txt { display: block; min-width: 0; }
.mega__txt b { display: block; font-size: 14px; font-weight: 600; color: var(--text-primary); }
.mega__txt small { display: block; font-size: 12.5px; color: var(--text-secondary); line-height: 1.4; margin-top: 2px; }
.mega__grid--4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
.mega--sm { width: 340px; grid-template-columns: 1fr; padding: 10px; }
.mega__list { display: grid; gap: 2px; }
.mega__aside { border-left: 1px solid var(--border-default); padding-left: 22px; display: flex; flex-direction: column; gap: 4px; }
.mega__promo { margin-top: auto; padding: 16px; border-radius: 14px; background: linear-gradient(160deg, rgba(0,153,255,.14), rgba(22,33,61,.4)); border: 1px solid rgba(0,153,255,.22); }
.mega__promo b { display: block; font-size: 14px; color: var(--text-primary); }
.mega__promo p { font-size: 12.5px; color: var(--text-secondary); margin: 4px 0 10px; }
.mega__promo a { color: var(--accent-blue); font-size: 13px; font-weight: 600; text-decoration: none; }
.mega__cats { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 18px 24px; }
.mega__cat h4 { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 8px; }
.mega__cat a { display: block; font-size: 13.5px; color: var(--text-secondary); text-decoration: none; padding: 4px 0; transition: color .2s; }
.mega__cat a:hover { color: var(--text-primary); }
.mega__foot { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px solid var(--border-default); font-size: 13px; color: var(--text-secondary); }
.mega__foot a { color: var(--accent-blue); font-weight: 600; text-decoration: none; }

/* Drawer móvil */
.drawer { position: fixed; inset: 0; z-index: 95; background: var(--drawer-bg); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); padding: 92px var(--pad) 40px; overflow-y: auto; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .3s, transform .3s var(--ease), visibility 0s linear .3s; }
.drawer.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.drawer details { border-bottom: 1px solid var(--border-default); }
.drawer summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; padding: 16px 0; font-size: 18px; font-weight: 600; }
.drawer summary::-webkit-details-marker { display: none; }
.drawer summary .chev { transition: transform .25s; }
.drawer details[open] summary .chev { transform: rotate(180deg); }
.drawer__list { padding: 0 0 14px; display: grid; gap: 4px; }
.drawer__list a { display: block; padding: 8px 0; color: var(--text-secondary); text-decoration: none; font-size: 15px; }
.drawer > a.drawer__top { display: block; padding: 16px 0; font-size: 18px; font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--border-default); }
.drawer__cta { display: grid; gap: 10px; margin-top: 24px; }
body.drawer-open { overflow: hidden; }
body.drawer-open .nav__burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
body.drawer-open .nav__burger span:nth-child(2) { opacity: 0; }
body.drawer-open .nav__burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero { position: relative; padding: calc(var(--nav-h) + 74px) 0 0; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(900px 520px at 50% -8%, rgba(0,153,255,.22), transparent 60%),
    radial-gradient(700px 400px at 85% 30%, var(--hero-glow-2), transparent 65%),
    var(--bg-base);
}
.hero__grid { position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image: linear-gradient(var(--grid-line) 1px, transparent 1px), linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 20%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 20%, #000 20%, transparent 75%);
}
.hero__inner { position: relative; z-index: 1; text-align: center; display: grid; justify-items: center; gap: 22px; }
.hero__badge { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 8px; border-radius: 999px; background: var(--surface-glass-2); border: 1px solid var(--border-default); font-size: 13px; color: var(--text-secondary); }
.hero__badge .pill { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; padding: 4px 9px; border-radius: 999px; background: var(--accent-blue-soft); color: var(--accent-blue); border: 1px solid rgba(0,153,255,.25); }
.hero__badge strong { color: var(--text-primary); font-weight: 600; }
.hero .h1 { max-width: 15ch; }
.hero .h1 .line { display: block; }
.hero .h1 em { font-style: normal; color: var(--accent-blue); }
.hero .lead { text-align: center; max-width: 60ch; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.hero__proof { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 22px; font-size: 13.5px; color: var(--text-secondary); }
.hero__proof .sep { width: 4px; height: 4px; border-radius: 50%; background: var(--text-muted); }
.hero__proof strong { color: var(--text-primary); font-weight: 600; }
.stars { display: inline-flex; gap: 2px; color: #00b67a; }
.stars svg { width: 15px; height: 15px; }

/* Word-by-word entrance */
.js .hero .h1 .w { display: inline-block; opacity: 0; transform: translateY(24px); animation: wordIn .8s var(--ease) forwards; animation-delay: calc(80ms + var(--i) * 55ms); }
.js .hero .h1 .w em { display: inline; }
@keyframes wordIn { to { opacity: 1; transform: none; } }
.js .hero .rise { opacity: 0; transform: translateY(18px); animation: wordIn .8s var(--ease) forwards; }
.js .hero .rise-1 { animation-delay: .05s; } .js .hero .rise-2 { animation-delay: .55s; } .js .hero .rise-3 { animation-delay: .7s; } .js .hero .rise-4 { animation-delay: .85s; }

/* Marco del producto */
.hero__stage { position: relative; z-index: 1; margin-top: clamp(40px, 6vw, 72px); perspective: 1600px; perspective-origin: 50% 0%; }
.frame {
  position: relative; margin-inline: auto; width: min(1120px, 100%);
  border-radius: 18px; overflow: hidden;
  background: #0b0d11; border: 1px solid var(--border-strong);
  box-shadow: 0 40px 120px rgba(0,0,0,.65), 0 0 0 1px rgba(0,153,255,.08), 0 -20px 90px rgba(0,153,255,.12);
  transform: rotateX(var(--tilt, 14deg)) translateY(0) scale(var(--sc, .96));
  transform-origin: 50% 0%;
  will-change: transform;
}
.js .frame { animation: frameIn 1.2s var(--ease) both; animation-delay: .35s; }
@keyframes frameIn { from { opacity: 0; transform: rotateX(22deg) translateY(60px) scale(.94); } to { opacity: 1; transform: rotateX(var(--tilt, 14deg)) translateY(0) scale(var(--sc, .96)); } }
.frame__bar { display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; background: #0e1015; border-bottom: 1px solid var(--border-default); }
.frame__bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--border-hover); }
.frame__bar i:nth-child(1) { background: #ff5f57; } .frame__bar i:nth-child(2) { background: #febc2e; } .frame__bar i:nth-child(3) { background: #28c840; }
.frame__url { margin-left: 10px; flex: 1; max-width: 360px; height: 24px; border-radius: 6px; background: var(--surface-glass-2); border: 1px solid var(--border-default); font-family: var(--mono); font-size: 11.5px; color: var(--text-muted); display: flex; align-items: center; padding: 0 10px; gap: 6px; }
.frame__url svg { color: var(--accent-green); }
.frame img { width: 100%; height: auto; }
.frame::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, transparent 60%, rgba(6,6,10,.85)); opacity: var(--fade, .9); transition: opacity .3s; }
.hero__stage.is-flat .frame::after { opacity: 0; }

/* Chips flotantes */
.chip { position: absolute; z-index: 2; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 14px; background: rgba(11,13,17,.9); border: 1px solid var(--border-strong); box-shadow: 0 16px 40px rgba(0,0,0,.5); font-size: 13px; color: var(--text-primary); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); white-space: nowrap; }
.chip small { display: block; font-size: 11px; color: var(--text-secondary); font-weight: 400; }
.chip b { font-weight: 600; font-size: 13.5px; }
.chip__ico { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; flex: none; }
.chip--wa .chip__ico { background: rgba(37,211,102,.14); color: var(--channel-whatsapp); }
.chip--ai .chip__ico { background: var(--accent-blue-soft); color: var(--accent-blue); }
.chip--tag .chip__ico { background: var(--accent-amber-soft); color: var(--accent-amber); }
.chip--1 { left: max(-8px, 2vw); top: 12%; }
.chip--2 { right: max(-8px, 2vw); top: 30%; }
.chip--3 { left: 6%; bottom: 14%; }
.js .chip { opacity: 0; animation: chipIn .7s var(--ease) forwards, floatY 6s ease-in-out infinite; }
.js .chip--1 { animation-delay: 1.3s, 2s; } .js .chip--2 { animation-delay: 1.65s, 2.5s; } .js .chip--3 { animation-delay: 2s, 3s; }
@keyframes chipIn { from { opacity: 0; transform: translateY(14px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes floatY { 0%,100% { translate: 0 0; } 50% { translate: 0 -6px; } }
.hero__fade { position: absolute; left: 0; right: 0; bottom: 0; height: 160px; background: linear-gradient(180deg, transparent, var(--bg-base)); z-index: 1; pointer-events: none; }

/* ==========================================================================
   TRUST — partners + números
   ========================================================================== */
.trust { padding: 36px 0 clamp(56px, 7vw, 88px); }
.trust__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 34px; color: var(--text-muted); font-size: 13px; }
.trust__row .lbl { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.trust__logo { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 16px; color: var(--text-secondary); letter-spacing: -.01em; }
.trust__logo svg { width: 20px; height: 20px; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); margin-top: 44px; border-top: 1px solid var(--border-default); border-bottom: 1px solid var(--border-default); }
.stat { padding: 30px 26px 26px; border-left: 1px solid var(--border-default); display: grid; gap: 8px; align-content: start; }
.stat:first-child { border-left: 0; }
.stat b { font-size: clamp(38px, 4.4vw, 56px); font-weight: 800; letter-spacing: -.04em; line-height: .95; font-variant-numeric: tabular-nums; color: var(--text-primary); }
.stat b span { color: var(--c, var(--accent-blue)); }
.stat span.lbl { font-size: 14px; color: var(--text-secondary); }
.stat small { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-muted); }

/* ==========================================================================
   CANALES
   ========================================================================== */
.channels { display: grid; grid-template-columns: repeat(6, minmax(0,1fr)); gap: 12px; }
.channel { padding: 20px 18px; border-radius: var(--radius); background: var(--bg-surface); border: 1px solid var(--border-default); display: grid; gap: 12px; transition: transform .3s var(--ease), border-color .3s; }
.channel:hover { transform: translateY(-4px); border-color: var(--border-strong); }
.channel__ico { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: color-mix(in srgb, var(--c) 14%, transparent); color: var(--c); border: 1px solid color-mix(in srgb, var(--c) 28%, transparent); }
.channel > b { font-size: 15px; font-weight: 600; }
.channel > span { font-size: 13px; color: var(--text-secondary); line-height: 1.45; }
.channel .tag { justify-self: start; font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; padding: 3px 8px; border-radius: 6px; background: var(--surface-glass-2); color: var(--text-muted); border: 1px solid var(--border-default); }

/* ==========================================================================
   TOUR — sidebar sticky que refleja la app
   ========================================================================== */
.tour { background: var(--bg-surface); }
.tour__layout { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.tour__rail { position: sticky; top: calc(var(--nav-h) + 40px); align-self: start; }
.rail { border-radius: var(--radius); background: rgba(6,6,10,.6); border: 1px solid var(--border-default); padding: 14px 10px; }
.rail__brand { display: flex; align-items: center; gap: 10px; padding: 6px 10px 14px; border-bottom: 1px solid var(--border-default); margin-bottom: 8px; }
.rail__brand img { height: 18px; }
.rail__brand small { margin-left: auto; font-family: var(--mono); font-size: 10px; color: var(--text-muted); letter-spacing: .1em; }
.rail__item { display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; padding: 10px 12px; border-radius: 10px; color: var(--text-secondary); font-size: 14px; font-weight: 500; border: 1px solid transparent; transition: background .25s, color .25s, border-color .25s; }
.rail__item svg { width: 18px; height: 18px; flex: none; opacity: .8; }
.rail__item:hover { color: var(--text-primary); background: var(--surface-glass-2); }
.rail__item.is-active { color: var(--text-primary); background: rgba(0,153,255,.1); border-color: rgba(0,153,255,.22); }
.rail__item.is-active svg { color: var(--accent-blue); opacity: 1; }
.rail__item .num { margin-left: auto; font-family: var(--mono); font-size: 10.5px; color: var(--text-muted); }
.rail__status { display: flex; gap: 14px; padding: 14px 12px 4px; margin-top: 8px; border-top: 1px solid var(--border-default); font-size: 12px; color: var(--accent-green); }
.rail__status span::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: currentColor; margin-right: 6px; box-shadow: 0 0 8px currentColor; }

.tour__steps { display: grid; gap: clamp(64px, 10vw, 140px); }
.step { display: grid; gap: 22px; scroll-margin-top: 120px; }
.step__text { max-width: 620px; display: grid; gap: 14px; }
.step__text .h2 { font-size: clamp(26px, 3.2vw, 38px); }
.step__list { display: grid; gap: 10px; margin-top: 4px; }
.step__list li { position: relative; padding-left: 26px; font-size: 15px; color: var(--text-secondary); line-height: 1.5; }
.step__list li::before { content: ""; position: absolute; left: 0; top: 3px; width: 16px; height: 16px; border-radius: 50%; background: var(--accent-blue-soft); border: 1px solid rgba(0,153,255,.35); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230099ff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E"); background-size: 9px; background-repeat: no-repeat; background-position: center; }
.step__list li b { color: var(--text-primary); font-weight: 600; }
.shot { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border-strong); background: #0e1015; box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.shot img { width: 100%; height: auto; }
.shot__cap { position: absolute; left: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 8px; padding: 6px 10px; border-radius: 8px; background: rgba(6,6,10,.8); border: 1px solid var(--border-default); font-family: var(--mono); font-size: 11px; color: var(--text-secondary); backdrop-filter: blur(8px); }
.shot__cap i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent-green); box-shadow: 0 0 8px var(--accent-green); }
.shot--pair { display: grid; grid-template-columns: 1fr; gap: 14px; border: 0; background: none; box-shadow: none; overflow: visible; }
.shot--pair > div { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border-strong); box-shadow: 0 30px 80px rgba(0,0,0,.5); background: #0e1015; }

/* Mocks HTML (secciones sin captura) */
.mock { border-radius: var(--radius); border: 1px solid var(--border-strong); background: linear-gradient(180deg, #0e1015, #0a0c10); padding: 22px; box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.mock__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.mock__head b { font-size: 15px; font-weight: 600; }
.mock__head span { font-family: var(--mono); font-size: 11px; color: var(--text-muted); }
.timeline { display: grid; gap: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 15px; top: 14px; bottom: 14px; width: 1px; background: var(--border-strong); }
.tl { display: grid; grid-template-columns: 32px 1fr; gap: 14px; padding: 8px 0; align-items: start; }
.tl__dot { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: #0b0d11; border: 1px solid var(--border-strong); color: var(--text-secondary); position: relative; z-index: 1; }
.tl__dot.is-ai { border-color: rgba(0,153,255,.4); color: var(--accent-blue); background: rgba(0,153,255,.1); }
.tl__dot.is-ok { border-color: rgba(34,197,94,.4); color: var(--accent-green); background: rgba(34,197,94,.1); }
.tl__body { display: grid; gap: 6px; }
.tl__meta { font-family: var(--mono); font-size: 11px; color: var(--text-muted); }
.bubble { display: inline-block; max-width: 520px; padding: 10px 13px; border-radius: 12px; border-top-left-radius: 4px; background: var(--surface-glass-2); border: 1px solid var(--border-default); font-size: 13.5px; line-height: 1.45; color: var(--text-primary); }
.bubble--wa { background: rgba(37,211,102,.12); border-color: rgba(37,211,102,.25); }
.pill-row { display: flex; flex-wrap: wrap; gap: 6px; }
.pill-row span { font-size: 12px; padding: 3px 9px; border-radius: 999px; background: var(--surface-glass-2); border: 1px solid var(--border-default); color: var(--text-secondary); }
.pill-row span.is-on { background: rgba(0,153,255,.12); border-color: rgba(0,153,255,.3); color: var(--accent-blue); }

.camp { display: grid; grid-template-columns: 1.1fr .9fr; gap: 16px; }
.camp__card { border-radius: 12px; border: 1px solid var(--border-default); background: var(--surface-glass-1); padding: 16px; display: grid; gap: 12px; }
.camp__card h4 { font-size: 13px; font-weight: 600; color: var(--text-secondary); }
.camp__tpl { border-radius: 10px; background: rgba(37,211,102,.08); border: 1px solid rgba(37,211,102,.2); padding: 12px; font-size: 13px; line-height: 1.5; }
.camp__tpl var { font-style: normal; font-family: var(--mono); font-size: 12px; color: var(--accent-blue); }
.kv { display: grid; grid-template-columns: 1fr auto; gap: 8px 12px; font-size: 13px; }
.kv dt { color: var(--text-secondary); } .kv dd { margin: 0; font-family: var(--mono); font-size: 12.5px; text-align: right; }
.bar { height: 6px; border-radius: 4px; background: var(--surface-glass-3); overflow: hidden; }
.bar i { display: block; height: 100%; width: var(--w, 50%); background: var(--accent-blue); border-radius: 4px; }
.bar--green i { background: var(--accent-green); }

.prospect { display: grid; gap: 10px; }
.prospect__row { display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--border-default); background: var(--surface-glass-1); font-size: 13.5px; }
.prospect__row .av { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; font-family: var(--mono); font-size: 11px; background: rgba(0,153,255,.12); color: var(--accent-blue); }
.prospect__row small { display: block; color: var(--text-muted); font-size: 12px; }
.prospect__row .st { font-family: var(--mono); font-size: 11px; padding: 3px 8px; border-radius: 6px; }
.st--lead { background: rgba(34,197,94,.12); color: var(--accent-green); }
.st--new { background: rgba(0,153,255,.12); color: var(--accent-blue); }
.st--src { background: var(--surface-glass-2); color: var(--text-secondary); }

.testcase { display: grid; gap: 10px; }
.testcase__row { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--border-default); background: var(--surface-glass-1); font-size: 13.5px; }
.testcase__row small { display: block; color: var(--text-muted); font-size: 12px; margin-top: 2px; }
.score { font-family: var(--mono); font-size: 12px; padding: 4px 9px; border-radius: 6px; }
.score--ok { background: rgba(34,197,94,.12); color: var(--accent-green); }
.score--warn { background: rgba(245,158,11,.12); color: var(--accent-amber); }

/* ==========================================================================
   INTEGRACIONES
   ========================================================================== */
.filters { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 34px; }
.filter { padding: 9px 16px; border-radius: 999px; border: 1px solid var(--border-strong); color: var(--text-secondary); font-size: 14px; font-weight: 500; transition: background .2s, color .2s, border-color .2s; }
.filter:hover { color: var(--text-primary); border-color: var(--border-hover); }
.filter.is-active { background: var(--accent-blue); border-color: var(--accent-blue); color: #fff; }
.integ-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 10px; }
.integ { padding: 16px 16px 15px; border-radius: 14px; background: var(--bg-surface); border: 1px solid var(--border-default); display: grid; grid-template-columns: 38px 1fr; gap: 12px; align-items: start; transition: transform .3s var(--ease), border-color .3s, opacity .3s, scale .3s; }
.integ:hover { transform: translateY(-3px); border-color: var(--border-strong); }
.integ.is-hidden { display: none; }
.integ__ico { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; font-family: var(--mono); font-size: 10.5px; letter-spacing: -.02em; font-weight: 600; background: color-mix(in srgb, var(--c, var(--accent-blue)) 14%, transparent); color: var(--c, var(--accent-blue)); border: 1px solid color-mix(in srgb, var(--c, var(--accent-blue)) 26%, transparent); }
.integ > div > b { display: block; font-size: 14px; font-weight: 600; line-height: 1.25; }
.integ > div > span { display: block; font-size: 12.5px; color: var(--text-secondary); line-height: 1.4; margin-top: 3px; }
.integ > div > small { display: inline-block; margin-top: 8px; font-family: var(--mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-muted); }
.integ-more { text-align: center; margin-top: 26px; font-size: 14px; color: var(--text-secondary); }
.integ-more a { color: var(--accent-blue); font-weight: 600; text-decoration: none; }

/* ==========================================================================
   CÓMO FUNCIONA
   ========================================================================== */
.flow { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; position: relative; }
.flow__card { padding: 26px 24px; border-radius: var(--radius); background: var(--bg-surface); border: 1px solid var(--border-default); display: grid; gap: 14px; align-content: start; }
.flow__k { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; color: var(--accent-blue); }
.flow__ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-blue-soft); color: var(--accent-blue); border: 1px solid rgba(0,153,255,.2); }
.flow__card p { color: var(--text-secondary); font-size: 15px; }
.flow__out { display: grid; gap: 8px; margin-top: 4px; }
.flow__out li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--text-secondary); }
.flow__out li b { color: var(--text-primary); font-weight: 600; }
.flow__out li i { flex: none; width: 20px; height: 20px; border-radius: 6px; display: grid; place-items: center; font-style: normal; font-size: 12px; background: var(--surface-glass-3); color: var(--text-primary); }

/* ==========================================================================
   RECONOCIMIENTO
   ========================================================================== */
.recog { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.recog__partners { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.recog__partners span { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: var(--surface-glass-2); border: 1px solid var(--border-default); font-size: 14px; font-weight: 500; }
.recog__partners span::before { content: "✓"; color: var(--accent-green); font-weight: 700; }
.recog__img { position: relative; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border-default); box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.recog__img img { width: 100%; height: auto; aspect-ratio: 1/1; object-fit: cover; object-position: 50% 30%; }
.recog__tag { position: absolute; left: 16px; bottom: 16px; padding: 10px 14px; border-radius: 12px; background: rgba(6,6,10,.85); border: 1px solid var(--border-default); backdrop-filter: blur(10px); }
.recog__tag b { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-blue); }
.recog__tag span { font-size: 13px; color: var(--text-secondary); }

/* ==========================================================================
   CASOS DE ÉXITO
   ========================================================================== */
.tp-badge { display: inline-flex; align-items: center; gap: 12px; padding: 10px 16px; border-radius: 12px; background: var(--surface-glass-2); border: 1px solid var(--border-default); text-decoration: none; color: var(--text-primary); transition: border-color .2s, background .2s; }
.tp-badge:hover { border-color: var(--border-hover); background: var(--surface-glass-3); }
.tp-badge .tp-stars { display: inline-flex; gap: 2px; }
.tp-badge .tp-stars i { width: 20px; height: 20px; background: #00b67a; display: grid; place-items: center; border-radius: 2px; }
.tp-badge .tp-stars i svg { width: 14px; height: 14px; }
.tp-badge b { font-size: 15px; }
.tp-badge span { font-size: 13px; color: var(--text-secondary); }
.cases-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 22px; margin-bottom: clamp(30px, 4vw, 48px); }
.cases-head .head { margin: 0; }
.cases { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; }
.case { display: grid; grid-template-rows: auto 1fr auto; gap: 18px; padding: 24px; border-radius: var(--radius-lg); background: var(--bg-surface); border: 1px solid var(--border-default); transition: transform .3s var(--ease), border-color .3s; position: relative; }
.case:hover { transform: translateY(-4px); border-color: var(--border-strong); }
.case--featured { grid-column: span 2; grid-template-columns: 1.1fr .9fr; grid-template-rows: none; gap: 28px; padding: 30px; background: linear-gradient(160deg, rgba(0,153,255,.08), var(--bg-surface) 55%); }
.case__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.case__sector { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-muted); }
.case__metric { font-family: var(--mono); font-size: 11.5px; padding: 5px 10px; border-radius: 999px; background: rgba(34,197,94,.1); color: var(--accent-green); border: 1px solid rgba(34,197,94,.22); }
.case__story { display: grid; gap: 12px; align-content: start; }
.case--featured .case__story { grid-template-rows: auto auto 1fr auto; }
.case--featured .case__who { align-self: end; }
.case__story h3 { font-size: 20px; letter-spacing: -.015em; line-height: 1.25; }
.case--featured .case__story h3 { font-size: clamp(22px, 2.4vw, 30px); }
.case__story p { font-size: 15px; color: var(--text-secondary); line-height: 1.55; }
.case__quote { position: relative; padding: 18px 18px 18px 22px; border-radius: 14px; background: var(--surface-glass-1); border: 1px solid var(--border-default); font-size: 14.5px; line-height: 1.55; color: var(--text-primary); }
.case__quote::before { content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 3px; border-radius: 3px; background: var(--accent-blue); }
.case__who { display: flex; align-items: center; gap: 12px; }
.case__av { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 13px; background: linear-gradient(135deg, var(--brand-navy), #0b1a3a); border: 1px solid rgba(0,153,255,.3); color: #fff; }
.case__who b { display: block; font-size: 14px; }
.case__who span { font-size: 12.5px; color: var(--text-muted); }
.case__who a { margin-left: auto; font-size: 12.5px; color: var(--accent-blue); text-decoration: none; font-weight: 600; white-space: nowrap; }
.case__stars { display: inline-flex; gap: 2px; }
.case__stars i { width: 16px; height: 16px; background: #00b67a; display: grid; place-items: center; border-radius: 2px; }
.case__stars i svg { width: 11px; height: 11px; }

.quotes { margin-top: 12px; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.quotes__track { display: flex; gap: 12px; width: max-content; animation: marquee 60s linear infinite; }
.quotes__track:hover { animation-play-state: paused; }
.q { width: 320px; padding: 18px; border-radius: 14px; background: var(--bg-surface); border: 1px solid var(--border-default); display: grid; gap: 10px; }
.q p { font-size: 13.5px; color: var(--text-secondary); line-height: 1.5; }
.q b { font-size: 13px; }
.q small { color: var(--text-muted); font-size: 12px; margin-left: 6px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ==========================================================================
   EQUIPO
   ========================================================================== */
.team { display: grid; grid-template-columns: repeat(6, minmax(0,1fr)); gap: 12px; }
.member { position: relative; aspect-ratio: 3/4; border-radius: var(--radius); overflow: hidden; background: #0e1015; border: 1px solid var(--border-default); }
.member img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .6s var(--ease), filter .4s; }
.member:hover img { transform: scale(1.04); }
.member__info { position: absolute; inset: auto 0 0 0; padding: 40px 14px 14px; background: linear-gradient(180deg, transparent, rgba(6,6,10,.95)); display: grid; gap: 2px; }
.member__info b { font-size: 14px; }
.member__info span { font-size: 12px; color: var(--text-secondary); }
.member__bio { position: absolute; inset: 0; padding: 16px 14px; background: rgba(6,6,10,.92); color: var(--text-secondary); font-size: 12.5px; line-height: 1.5; opacity: 0; transition: opacity .3s; display: flex; align-items: flex-end; }
.member:hover .member__bio, .member:focus-within .member__bio { opacity: 1; }
.member__bio p { max-height: 100%; overflow: hidden; }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq { max-width: 820px; margin-inline: auto; display: grid; gap: 8px; }
.faq details { border-radius: 14px; background: var(--bg-surface); border: 1px solid var(--border-default); overflow: hidden; }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 20px; font-size: 16px; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus { flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--border-strong); color: var(--text-secondary); font-size: 16px; transition: transform .3s var(--ease), background .2s; }
.faq details[open] .plus { transform: rotate(45deg); background: var(--accent-blue-soft); color: var(--accent-blue); border-color: rgba(0,153,255,.35); }
.faq details p { padding: 0 20px 20px; color: var(--text-secondary); font-size: 15px; line-height: 1.6; }

/* ==========================================================================
   CTA + FOOTER
   ========================================================================== */
.cta { padding: clamp(80px, 11vw, 140px) 0; background: radial-gradient(900px 500px at 50% 120%, rgba(0,153,255,.32), transparent 68%), var(--brand-navy); text-align: center; }
.cta__inner { display: grid; justify-items: center; gap: 22px; }
.cta .h2 { max-width: 20ch; }
.cta p { color: rgba(255,255,255,.75); font-size: 17px; }
.cta__notes { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 22px; font-size: 13.5px; color: rgba(255,255,255,.7); }
.footer { padding: 56px 0 30px; border-top: 1px solid var(--border-default); background: var(--bg-base); }
.footer__grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 28px; }
.footer__brand { display: grid; gap: 14px; align-content: start; }
.footer__brand img { height: 24px; }
.footer__brand p { font-size: 13.5px; color: var(--text-secondary); max-width: 32ch; line-height: 1.55; }
.footer h4 { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 12px; }
.footer__col a { display: block; font-size: 14px; color: var(--text-secondary); text-decoration: none; padding: 4px 0; transition: color .2s; }
.footer__col a:hover { color: var(--text-primary); }
.footer__plain { display: block; padding: 4px 0; font-size: 14px; color: var(--text-secondary); }
.footer__bottom { margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--border-default); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: 12.5px; color: var(--text-muted); }
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 80; width: 56px; height: 56px; border-radius: 50%; background: var(--channel-whatsapp); color: #062017; display: grid; place-items: center; box-shadow: 0 12px 34px rgba(37,211,102,.4); animation: ring 2.6s ease-out infinite; transition: transform .25s var(--ease); }
.wa-float:hover { transform: scale(1.06); }
@keyframes ring { 0% { box-shadow: 0 12px 34px rgba(37,211,102,.4), 0 0 0 0 rgba(37,211,102,.5); } 70% { box-shadow: 0 12px 34px rgba(37,211,102,.4), 0 0 0 18px rgba(37,211,102,0); } 100% { box-shadow: 0 12px 34px rgba(37,211,102,.4), 0 0 0 0 rgba(37,211,102,0); } }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1100px) {
  .integ-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .team { grid-template-columns: repeat(4, minmax(0,1fr)); }
  .channels { grid-template-columns: repeat(3, minmax(0,1fr)); }
}
@media (max-width: 960px) {
  .nav__links, .nav__login { display: none; }
  .nav__burger { display: inline-flex; }
  .nav { padding-left: 18px; }
  .stats { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .tour__layout { grid-template-columns: 1fr; }
  .tour__rail { display: none; }
  .cases { grid-template-columns: 1fr 1fr; }
  .case--featured { grid-column: span 2; grid-template-columns: 1fr; }
  .recog { grid-template-columns: 1fr; }
  .flow { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: span 2; }
  .camp { grid-template-columns: 1fr; }
  .frame { --tilt: 8deg; }
  .chip--3 { display: none; }
}
@media (max-width: 640px) {
  .integ-grid { grid-template-columns: 1fr 1fr; }
  .team { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .channels { grid-template-columns: 1fr 1fr; }
  .cases { grid-template-columns: 1fr; }
  .case--featured { grid-column: span 1; }
  .shot--pair { grid-template-columns: 1fr; }
  .chip { display: none; }
  .frame { --tilt: 0deg; --sc: 1; }
  .hero { padding-top: calc(var(--nav-h) + 48px); }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__brand { grid-column: span 1; }
  .stat b { font-size: 30px; }
}
@media (max-width: 520px) {
  .nav__actions .btn { display: none; }
  .nav { padding-left: 16px; padding-right: 8px; }
}
@media (max-width: 420px) {
  .integ-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
}

/* ---- Reduced motion ------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .js .hero .h1 .w, .js .hero .rise, .js .chip, .js .frame { opacity: 1; transform: none; animation: none; }
  .frame { --tilt: 0deg; --sc: 1; }
  .quotes__track { animation: none; }
}

/* ==========================================================================
   TEMA CLARO
   ========================================================================== */
:root[data-theme="light"] {
  --bg-base: #f5f6fa;
  --bg-surface: #ffffff;
  --bg-surface-2: #eef1f6;
  --bg-elevated: #e2e6ee;
  --surface-glass-1: rgba(15,23,42,.03);
  --surface-glass-2: rgba(15,23,42,.05);
  --surface-glass-3: rgba(15,23,42,.08);
  --border-subtle: rgba(15,23,42,.04);
  --border-default: rgba(15,23,42,.09);
  --border-strong: rgba(15,23,42,.14);
  --border-hover: rgba(15,23,42,.22);
  --text-primary: #0b1220;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --text-faint: rgba(11,18,32,.4);
  --nav-bg: rgba(255,255,255,.72);
  --nav-bg-solid: rgba(255,255,255,.9);
  --menu-bg: #ffffff;
  --drawer-bg: rgba(245,246,250,.97);
  --grid-line: rgba(15,23,42,.06);
  --hero-glow-2: rgba(0,153,255,.08);
  --shadow-lg: 0 30px 80px rgba(15,23,42,.14);
  --accent-blue-soft: rgba(0,153,255,.1);
  color-scheme: light;
}
:root[data-theme="light"] .nav { box-shadow: 0 10px 40px rgba(15,23,42,.08), inset 0 1px 0 rgba(255,255,255,.6); }
:root[data-theme="light"] .mega { box-shadow: 0 30px 80px rgba(15,23,42,.18); }
:root[data-theme="light"] .btn--secondary { background: #fff; }
:root[data-theme="light"] .btn--white { background: #fff; color: var(--brand-navy); }
:root[data-theme="light"] .cta { background: radial-gradient(900px 500px at 50% 120%, rgba(0,153,255,.35), transparent 68%), var(--brand-navy); }
:root[data-theme="light"] .cta .h2, :root[data-theme="light"] .cta p, :root[data-theme="light"] .cta__notes { color: #fff; }
:root[data-theme="light"] .cta p, :root[data-theme="light"] .cta__notes { color: rgba(255,255,255,.78); }
:root[data-theme="light"] .hero__bg { background: radial-gradient(900px 520px at 50% -8%, rgba(0,153,255,.16), transparent 60%), radial-gradient(700px 400px at 85% 30%, var(--hero-glow-2), transparent 65%), var(--bg-base); }
:root[data-theme="light"] .shot, :root[data-theme="light"] .frame, :root[data-theme="light"] .mock, :root[data-theme="light"] .recog__img { box-shadow: var(--shadow-lg); }
:root[data-theme="light"] .case--featured { background: linear-gradient(160deg, rgba(0,153,255,.08), var(--bg-surface) 55%); }
:root[data-theme="light"] .member__info { background: linear-gradient(180deg, transparent, rgba(11,18,32,.9)); color: #fff; }
:root[data-theme="light"] .member__info span { color: rgba(255,255,255,.75); }
:root[data-theme="light"] .member__bio { background: rgba(255,255,255,.94); color: var(--text-secondary); }
:root[data-theme="light"] .tp-badge { background: #fff; }

/* Superficies de producto: siempre oscuras, en cualquier tema */
.frame, .mock, .rail, .chip, .shot, .frame__bar {
  --text-primary: #fafafa; --text-secondary: #a1a1aa; --text-muted: #71717a;
  --border-default: rgba(255,255,255,.08); --border-strong: rgba(255,255,255,.12); --border-hover: rgba(255,255,255,.2);
  --surface-glass-1: rgba(255,255,255,.025); --surface-glass-2: rgba(255,255,255,.045); --surface-glass-3: rgba(255,255,255,.07);
  --bg-surface: #0b0d11; --bg-base: #06060a;
  color: var(--text-primary);
}
.rail { background: #0b0d11; }
.mock { background: linear-gradient(180deg, #0e1015, #0a0c10); }

/* Wordmark themable */
.wordmark { display: inline-block; width: 130px; aspect-ratio: 722 / 137; background: currentColor; -webkit-mask: url(/assets/logo-wordmark.svg) center / contain no-repeat; mask: url(/assets/logo-wordmark.svg) center / contain no-repeat; color: var(--text-primary); }
.nav__logo { display: inline-flex; align-items: center; color: var(--text-primary); }
.rail__brand .wordmark { width: 96px; color: #fff; }
.footer__brand .wordmark { width: 130px; }

/* Theme toggle */
.theme-toggle { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--border-strong); display: inline-grid; place-items: center; color: var(--text-secondary); transition: background .2s, color .2s; position: relative; }
.theme-toggle:hover { background: var(--surface-glass-2); color: var(--text-primary); }
.theme-toggle > span { display: grid; place-items: center; grid-area: 1 / 1; }
.theme-toggle > .theme-toggle__moon { display: none; }
:root[data-theme="light"] .theme-toggle > .theme-toggle__sun { display: none; }
:root[data-theme="light"] .theme-toggle > .theme-toggle__moon { display: grid; }
.nav__link.is-current { color: var(--text-primary); }
.nav__cta { margin-left: 2px; }

/* Preguntale a una IA */
.ask-ai { position: fixed; left: 18px; bottom: 22px; z-index: 80; display: flex; flex-direction: column; gap: 10px; }
.ask-ai__btn { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; box-shadow: 0 10px 30px rgba(0,0,0,.35); transition: transform .25s var(--ease), box-shadow .25s; border: 1px solid rgba(255,255,255,.12); }
.ask-ai__btn:hover { transform: translateY(-2px) scale(1.04); }
.ask-ai__btn img { width: 26px; height: 26px; border-radius: 50%; }
.ask-ai__btn svg { width: 24px; height: 24px; }
.ask-ai__btn--gpt { background: #000; }
.ask-ai__btn--claude { background: #d97757; }
.ask-ai__btn--gemini { background: linear-gradient(135deg, #4285f4, #8e75b2); }
.ask-ai__tip { position: absolute; left: 60px; bottom: 60px; white-space: nowrap; padding: 10px 14px; border-radius: 12px; background: var(--menu-bg); border: 1px solid var(--border-strong); color: var(--text-primary); font-size: 14px; box-shadow: var(--shadow-lg); opacity: 0; transform: translateX(-6px); transition: opacity .25s, transform .25s var(--ease); pointer-events: none; }
.ask-ai__tip::before { content: ""; position: absolute; left: -6px; bottom: 16px; width: 12px; height: 12px; background: var(--menu-bg); border-left: 1px solid var(--border-strong); border-bottom: 1px solid var(--border-strong); transform: rotate(45deg); }
.ask-ai:hover .ask-ai__tip, .ask-ai:focus-within .ask-ai__tip { opacity: 1; transform: none; }
.ask-ai__toast { position: absolute; left: 60px; bottom: 0; white-space: nowrap; padding: 10px 14px; border-radius: 12px; background: var(--accent-blue); color: #fff; font-size: 13.5px; font-weight: 500; opacity: 0; transform: translateY(6px); transition: opacity .25s, transform .25s var(--ease); pointer-events: none; }
.ask-ai__toast.is-on { opacity: 1; transform: none; }
@media (max-width: 640px) { .ask-ai { left: 12px; bottom: 14px; gap: 8px; } .ask-ai__btn { width: 42px; height: 42px; } .ask-ai__tip { display: none; } .ask-ai__toast { white-space: normal; width: 220px; } }

/* Integraciones: logos reales */
.integ__ico--img { background: #fff; border-color: var(--border-default); padding: 6px; }
.integ__ico--img img { width: 100%; height: 100%; object-fit: contain; }
.integ__ico--img.is-dark { background: #111318; }

/* Página interior: hero */
.page-hero { padding: calc(var(--nav-h) + 76px) 0 clamp(40px, 6vw, 72px); position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(800px 420px at 50% -10%, rgba(0,153,255,.18), transparent 60%); pointer-events: none; }
.page-hero .container { position: relative; }
.page-hero .head { margin-bottom: 0; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-family: var(--mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 18px; }
.crumbs a { color: var(--text-secondary); text-decoration: none; }
.crumbs a:hover { color: var(--text-primary); }
.crumbs i { font-style: normal; opacity: .5; }

/* Industrias (landing) */
.industries { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 12px; }
.industry { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; padding: 20px; border-radius: var(--radius); background: var(--bg-surface); border: 1px solid var(--border-default); text-decoration: none; transition: transform .3s var(--ease), border-color .3s; }
.industry:hover { transform: translateY(-3px); border-color: var(--border-hover); }
.industry__ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-blue-soft); color: var(--accent-blue); border: 1px solid rgba(0,153,255,.2); }
.industry__ico svg { width: 20px; height: 20px; }
.industry > div > b { display: block; font-size: 15px; font-weight: 600; }
.industry > div > span { display: block; font-size: 13px; color: var(--text-secondary); margin-top: 3px; line-height: 1.45; }
.industry > div > em { display: inline-block; margin-top: 10px; font-style: normal; font-size: 13px; color: var(--accent-blue); font-weight: 600; }

/* Bloques de solución (páginas de industria) */
.pains { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; }
.pain { padding: 22px; border-radius: var(--radius); background: var(--bg-surface); border: 1px solid var(--border-default); display: grid; gap: 10px; align-content: start; }
.pain__k { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-red); }
.pain h3 { font-size: 17px; letter-spacing: -.01em; }
.pain p { font-size: 14.5px; color: var(--text-secondary); line-height: 1.55; }
.pain .fix { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; color: var(--text-primary); padding-top: 10px; border-top: 1px solid var(--border-default); }
.pain .fix::before { content: "→"; color: var(--accent-green); font-weight: 700; flex: none; }
.tools { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
.tool { display: grid; grid-template-columns: 40px 1fr; gap: 14px; padding: 18px; border-radius: var(--radius); background: var(--bg-surface); border: 1px solid var(--border-default); text-decoration: none; transition: border-color .3s; }
.tool:hover { border-color: var(--border-hover); }
.tool__ico { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: var(--accent-blue-soft); color: var(--accent-blue); border: 1px solid rgba(0,153,255,.2); }
.tool__ico svg { width: 18px; height: 18px; }
.tool__ico img { width: 20px; height: 20px; object-fit: contain; }
.tool > div > b { display: block; font-size: 15px; font-weight: 600; }
.tool > div > span { display: block; font-size: 13.5px; color: var(--text-secondary); margin-top: 3px; line-height: 1.5; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.split .head { margin-bottom: 0; }
.chat-demo { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid rgba(255,255,255,.1); background: #0b141a; box-shadow: var(--shadow-lg); --text-primary: #fafafa; --text-secondary: #a1a1aa; color: #fafafa; }
.chat-demo__head { display: flex; align-items: center; gap: 12px; padding: 12px 16px; background: #1f2c33; }
.chat-demo__head .av { width: 36px; height: 36px; border-radius: 50%; background: var(--accent-blue); display: grid; place-items: center; font-weight: 700; font-size: 14px; color: #fff; }
.chat-demo__head b { display: block; font-size: 14px; }
.chat-demo__head span { font-size: 12px; color: #8fa3ad; }
.chat-demo__body { padding: 16px; display: grid; gap: 8px; background: #0b141a url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Ccircle cx='30' cy='30' r='1' fill='%23ffffff' fill-opacity='.05'/%3E%3C/svg%3E"); }
.msg { max-width: 82%; padding: 9px 12px; border-radius: 10px; font-size: 13.5px; line-height: 1.45; position: relative; }
.msg--in { background: #202c33; border-top-left-radius: 2px; justify-self: start; }
.msg--out { background: #005c4b; border-top-right-radius: 2px; justify-self: end; }
.msg time { display: block; font-size: 10.5px; color: rgba(255,255,255,.55); text-align: right; margin-top: 4px; }
.msg .sys { display: block; font-family: var(--mono); font-size: 10.5px; color: #8fa3ad; margin-bottom: 4px; }
.msg--sys { justify-self: center; max-width: 100%; background: rgba(0,153,255,.12); border: 1px solid rgba(0,153,255,.3); color: #cfe9ff; font-family: var(--mono); font-size: 11.5px; padding: 6px 10px; border-radius: 8px; }

/* Integraciones: página completa */
.section-nav { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 clamp(28px, 4vw, 44px); }
.section-nav a { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--border-strong); color: var(--text-secondary); font-size: 13.5px; font-weight: 500; text-decoration: none; transition: background .2s, color .2s; }
.section-nav a:hover { color: var(--text-primary); background: var(--surface-glass-2); }
.cat { padding-top: 12px; scroll-margin-top: 110px; }
.cat + .cat { margin-top: clamp(40px, 6vw, 72px); }
.cat__head { display: flex; align-items: baseline; gap: 14px; margin-bottom: 18px; padding-bottom: 12px; border-bottom: 1px solid var(--border-default); }
.cat__head h2 { font-size: clamp(22px, 2.6vw, 30px); letter-spacing: -.02em; }
.cat__head span { font-family: var(--mono); font-size: 12px; color: var(--text-muted); }
.integ-list { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
.idet { padding: 20px; border-radius: var(--radius); background: var(--bg-surface); border: 1px solid var(--border-default); display: grid; gap: 14px; }
.idet__top { display: flex; align-items: center; gap: 12px; }
.idet__top .integ__ico { width: 40px; height: 40px; }
.idet__top b { font-size: 16px; font-weight: 700; }
.idet__top small { display: block; font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-muted); }
.idet p { font-size: 14.5px; color: var(--text-secondary); line-height: 1.55; }
.idet .ex { border-radius: 12px; background: var(--surface-glass-1); border: 1px solid var(--border-default); padding: 12px 14px; display: grid; gap: 6px; font-size: 13.5px; }
.idet .ex b { font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-blue); font-weight: 600; }
.idet .ex span { color: var(--text-secondary); }
.idet .ex span strong { color: var(--text-primary); font-weight: 600; }
.idet .ex em { font-style: normal; color: var(--text-primary); }
.idet .uses { display: flex; flex-wrap: wrap; gap: 6px; }
.idet .uses span { font-size: 12px; padding: 3px 9px; border-radius: 999px; background: var(--surface-glass-2); border: 1px solid var(--border-default); color: var(--text-secondary); }

/* Formulario asesoría */
.form { display: grid; gap: 14px; padding: 26px; border-radius: var(--radius-lg); background: var(--bg-surface); border: 1px solid var(--border-default); }
.form label { display: grid; gap: 6px; font-size: 13.5px; font-weight: 500; color: var(--text-secondary); }
.form input, .form select, .form textarea { width: 100%; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--border-strong); background: var(--surface-glass-1); color: var(--text-primary); font: inherit; font-size: 15px; transition: border-color .2s, box-shadow .2s; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--accent-blue); box-shadow: 0 0 0 3px rgba(0,153,255,.18); }
.form textarea { min-height: 110px; resize: vertical; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form small { font-size: 12.5px; color: var(--text-muted); }
.check { display: grid; gap: 10px; }
.check li { position: relative; padding-left: 24px; font-size: 15px; color: var(--text-secondary); line-height: 1.55; }
.check li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--accent-green); font-weight: 700; }
.check li b { color: var(--text-primary); font-weight: 600; }

/* FAQ agrupado */
.faq-group + .faq-group { margin-top: clamp(36px, 5vw, 56px); }
.faq-group h2 { font-size: clamp(20px, 2.4vw, 26px); letter-spacing: -.02em; margin-bottom: 14px; }
.faq--wide { max-width: 100%; }
.faq-layout { display: grid; grid-template-columns: 240px minmax(0,1fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.faq-layout .section-nav { position: sticky; top: calc(var(--nav-h) + 40px); flex-direction: column; align-items: stretch; margin: 0; }
.faq-layout .section-nav a { border: 0; border-left: 2px solid var(--border-default); border-radius: 0; padding: 8px 14px; }
.faq-layout .section-nav a:hover { background: none; border-left-color: var(--accent-blue); }

/* Prose (reconocimiento, equipo) */
.prose { max-width: 720px; display: grid; gap: 16px; font-size: 16.5px; line-height: 1.7; color: var(--text-secondary); }
.prose h2 { font-size: clamp(22px, 2.6vw, 30px); letter-spacing: -.02em; color: var(--text-primary); margin-top: 12px; }
.prose strong { color: var(--text-primary); }
.prose ul { display: grid; gap: 8px; padding-left: 0; }
.prose li { position: relative; padding-left: 22px; }
.prose li::before { content: ""; position: absolute; left: 0; top: 11px; width: 8px; height: 8px; border-radius: 50%; background: var(--accent-blue); }
.milestones { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; }
.milestone { padding: 22px; border-radius: var(--radius); background: var(--bg-surface); border: 1px solid var(--border-default); }
.milestone b { display: block; font-size: 32px; font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.milestone span { display: block; margin-top: 8px; font-size: 14px; color: var(--text-secondary); }
.values { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; }
.value { padding: 22px; border-radius: var(--radius); background: var(--bg-surface); border: 1px solid var(--border-default); display: grid; gap: 8px; }
.value h3 { font-size: 17px; }
.value p { font-size: 14.5px; color: var(--text-secondary); line-height: 1.55; }

/* Casos: página completa */
.cases--all { grid-template-columns: repeat(2, minmax(0,1fr)); }
.cases--all .case--featured { grid-column: span 2; }
.cases-more { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; margin-top: 12px; }
.landing-cases { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; }
.more-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 26px; color: var(--accent-blue); font-weight: 600; text-decoration: none; font-size: 15px; }
.more-link:hover { text-decoration: underline; }
.center { text-align: center; }

@media (max-width: 1100px) { .industries { grid-template-columns: repeat(2, minmax(0,1fr)); } .integ-list { grid-template-columns: 1fr; } }
@media (max-width: 960px) {
  .stats { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .stat:nth-child(3) { border-left: 0; } .stat:nth-child(n+3) { border-top: 1px solid var(--border-default); }
  .pains, .values, .milestones, .landing-cases, .cases-more { grid-template-columns: 1fr; }
  .tools { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .faq-layout { grid-template-columns: 1fr; } .faq-layout .section-nav { position: static; flex-direction: row; }
  .faq-layout .section-nav a { border: 1px solid var(--border-strong); border-radius: 999px; }
  .cases--all { grid-template-columns: 1fr; } .cases--all .case--featured { grid-column: span 1; }
  .form__row { grid-template-columns: 1fr; }
  .nav__cta { display: none; }
}
@media (max-width: 640px) { .industries { grid-template-columns: 1fr; } .stats { grid-template-columns: 1fr 1fr; } .stat { padding: 20px 16px; } }
a.integ, a.industry, a.tool { text-decoration: none; color: inherit; }
.cta .eyebrow { color: #9fd4ff; }

@media (max-width: 1240px) { .nav__login { display: none; } .nav__links { gap: 0; } }
@media (max-width: 1060px) { .nav__link { padding: 9px 9px; font-size: 14px; } }

/* Tiles de integraciones: svg inline, imagen o iniciales */
.integ__ico--svg, .tool__ico--svg { background: var(--accent-blue-soft); color: var(--accent-blue); border-color: rgba(0,153,255,.22); }
.integ__ico--svg svg, .tool__ico--svg svg { width: 18px; height: 18px; }
.integ__ico--pdf, .tool__ico--pdf { background: #e5232b; border-color: #e5232b; }
.integ__ico--pdf svg, .tool__ico--pdf svg { width: 22px; height: 22px; }
.tool__ico--img { background: #fff; border-color: var(--border-default); padding: 7px; }
.tool__ico--img img { width: 100%; height: 100%; object-fit: contain; }
.tool__ico--txt, .integ__ico { font-family: var(--mono); font-size: 10.5px; font-weight: 700; letter-spacing: -.02em; }
.idet__top .integ__ico--svg svg { width: 20px; height: 20px; }
/* WhatsApp flotante: glifo blanco, más chico */
.wa-float { color: #fff; }
.wa-float svg { width: 26px; height: 26px; }
/* Redes en footer */
.social { display: flex; gap: 8px; margin-top: 4px; }
.social a { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; border: 1px solid var(--border-strong); color: var(--text-secondary); transition: color .2s, border-color .2s, background .2s; }
.social a:hover { color: var(--text-primary); border-color: var(--border-hover); background: var(--surface-glass-2); }
.social svg { width: 17px; height: 17px; fill: currentColor; }

/* Blog (últimos artículos desde WordPress) */
.posts { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; }
.post { display: grid; grid-template-rows: auto 1fr; border-radius: var(--radius); overflow: hidden; background: var(--bg-surface); border: 1px solid var(--border-default); text-decoration: none; color: inherit; transition: transform .3s var(--ease), border-color .3s; }
.post:hover { transform: translateY(-4px); border-color: var(--border-hover); }
.post__img { display: block; aspect-ratio: 16/9; background: linear-gradient(135deg, var(--brand-navy), #0b1a3a); position: relative; overflow: hidden; }
.post__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.post:hover .post__img img { transform: scale(1.04); }
.post__img--ph::after { content: ""; position: absolute; inset: 0; background: url(/assets/logo-isotype-navy.png) center / 64px no-repeat; opacity: .9; }
.post__body { display: grid; gap: 8px; padding: 18px 18px 20px; align-content: start; }
.post__meta { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-muted); }
.post__title { font-size: 17px; font-weight: 700; letter-spacing: -.01em; line-height: 1.3; color: var(--text-primary); }
.post__excerpt { font-size: 14px; color: var(--text-secondary); line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post__more { font-size: 13.5px; font-weight: 600; color: var(--accent-blue); }
.post--skeleton .post__img, .post--skeleton .post__meta, .post--skeleton .post__title { background: var(--surface-glass-2); border-radius: 6px; animation: pulse 1.4s ease-in-out infinite; }
.post--skeleton .post__title { height: 44px; }
@keyframes pulse { 0%,100% { opacity: .5; } 50% { opacity: 1; } }
@media (max-width: 960px) { .posts { grid-template-columns: 1fr; } }

/* ── Marca blanca ─────────────────────────────────────────────────────── */
.wl-hero .h1 em { font-style: normal; color: var(--accent-blue); }
.wl-badge { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-secondary); margin-bottom: 14px; }
.wl-badge .wordmark { width: 92px; }
.wl-badge i { width: 1px; height: 18px; background: var(--border-strong); transform: skewX(-18deg); }
.brandswap { position: relative; border-radius: var(--radius-lg); border: 1px solid var(--border-strong); background: #0b0d11; box-shadow: var(--shadow-lg); padding: 18px 18px 52px; overflow: hidden; --text-primary:#fafafa; --text-secondary:#a1a1aa; color: #fafafa; }
.brandswap__bar { display: flex; align-items: center; gap: 10px; padding-bottom: 14px; border-bottom: 1px solid rgba(255,255,255,.08); margin-bottom: 14px; }
.brandswap__logo { font-weight: 800; letter-spacing: -.02em; font-size: 18px; padding: 6px 12px; border-radius: 8px; background: rgba(255,255,255,.06); border: 1px dashed rgba(255,255,255,.25); font-style: italic; }
.brandswap__url { margin-left: auto; font-family: var(--mono); font-size: 11.5px; color: #a1a1aa; padding: 5px 10px; border-radius: 6px; background: rgba(255,255,255,.05); }
.brandswap__url b { color: var(--accent-blue); font-weight: 600; }
.brandswap__grid { display: grid; grid-template-columns: 150px 1fr; gap: 12px; }
.brandswap__side { display: grid; gap: 6px; align-content: start; }
.brandswap__side span { font-size: 12.5px; padding: 8px 10px; border-radius: 8px; color: #a1a1aa; }
.brandswap__side span.is-on { background: rgba(0,153,255,.12); color: #fff; border: 1px solid rgba(0,153,255,.3); }
.brandswap__main { border-radius: 10px; border: 1px solid rgba(255,255,255,.08); padding: 14px; display: grid; gap: 10px; background: rgba(255,255,255,.02); }
.brandswap__main b { font-size: 14px; }
.brandswap__main p { font-size: 12.5px; color: #a1a1aa; line-height: 1.5; }
.brandswap__tag { position: absolute; right: 16px; bottom: 16px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; padding: 5px 9px; border-radius: 6px; background: rgba(34,197,94,.14); color: var(--accent-green); border: 1px solid rgba(34,197,94,.3); }
.wl-plat { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; }
.wl-plat .pain__k { color: var(--accent-blue); }
.wl-plat code { font-family: var(--mono); font-size: 12.5px; color: var(--accent-blue); }
.steps { display: grid; gap: 0; counter-reset: st; }
.stp { display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding: 18px 0; border-top: 1px solid var(--border-default); }
.stp:last-child { border-bottom: 1px solid var(--border-default); }
.stp i { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-family: var(--mono); font-size: 13px; font-weight: 600; background: var(--accent-blue-soft); color: var(--accent-blue); border: 1px solid rgba(0,153,255,.22); font-style: normal; }
.stp b { display: block; font-size: 16px; }
.stp p { font-size: 14.5px; color: var(--text-secondary); margin-top: 4px; line-height: 1.55; }
.stp small { display: inline-block; margin-top: 8px; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-muted); }
.ptable { width: 100%; border-collapse: separate; border-spacing: 0; border: 1px solid var(--border-default); border-radius: var(--radius); overflow: hidden; background: var(--bg-surface); font-size: 14.5px; }
.ptable th, .ptable td { padding: 13px 16px; text-align: right; border-bottom: 1px solid var(--border-default); }
.ptable th:first-child, .ptable td:first-child { text-align: left; }
.ptable th { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-muted); font-weight: 500; background: var(--surface-glass-1); }
.ptable tr:last-child td { border-bottom: 0; }
.ptable td { font-variant-numeric: tabular-nums; }
.ptable td.hi { color: var(--accent-green); font-weight: 600; }
.ptable td.mono { font-family: var(--mono); font-size: 13px; }
.ptable-wrap { overflow-x: auto; }
.fee { display: grid; gap: 10px; padding: 26px; border-radius: var(--radius-lg); background: linear-gradient(160deg, rgba(0,153,255,.12), var(--bg-surface) 60%); border: 1px solid rgba(0,153,255,.25); }
.fee b { font-size: clamp(38px, 4vw, 52px); font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.fee b small { font-size: 16px; font-weight: 500; color: var(--text-secondary); letter-spacing: 0; margin-left: 6px; }
.fee p { font-size: 14.5px; color: var(--text-secondary); line-height: 1.55; }
.fee ul { display: grid; gap: 6px; margin-top: 4px; }
.fee li { position: relative; padding-left: 20px; font-size: 14px; color: var(--text-secondary); }
.fee li::before { content: "✓"; position: absolute; left: 0; color: var(--accent-green); font-weight: 700; }
.notes { display: grid; gap: 8px; margin-top: 16px; }
.notes li { position: relative; padding-left: 18px; font-size: 13.5px; color: var(--text-secondary); line-height: 1.5; }
.notes li::before { content: ""; position: absolute; left: 0; top: 9px; width: 6px; height: 6px; border-radius: 50%; background: var(--accent-blue); }
.margin-ex { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 0; border: 1px solid var(--border-default); border-radius: var(--radius); overflow: hidden; background: var(--bg-surface); }
.margin-ex div { padding: 18px 20px; display: grid; gap: 4px; border-left: 1px solid var(--border-default); }
.margin-ex div:first-child { border-left: 0; }
.margin-ex small { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-muted); }
.margin-ex b { font-size: 26px; font-weight: 800; letter-spacing: -.02em; }
.margin-ex .g b { color: var(--accent-green); }
.chart { border-radius: var(--radius); border: 1px solid var(--border-default); background: var(--bg-surface); padding: 22px 22px 14px; }
.chart__legend { display: flex; flex-wrap: wrap; gap: 14px; font-size: 12.5px; color: var(--text-secondary); margin-bottom: 18px; }
.chart__legend span::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; background: var(--c); }
.chart__plot { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; height: 260px; align-items: end; border-bottom: 1px solid var(--border-strong); padding-bottom: 0; }
.chart__group { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; align-items: end; height: 100%; }
.chart__bar { position: relative; font-style: normal; display: block; height: calc(var(--v) / 5500 * 100%); min-height: 3px; border-radius: 6px 6px 0 0; background: var(--c); transition: height 1s var(--ease); }
.chart__bar::after { content: attr(data-l); position: absolute; left: 50%; bottom: 100%; transform: translate(-50%, -4px); font-family: var(--mono); font-size: 10.5px; white-space: nowrap; color: var(--text-secondary); }
.js .chart:not(.in) .chart__bar { height: 3px; }
.chart__x { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; margin-top: 10px; font-size: 12.5px; color: var(--text-secondary); text-align: center; }
.chart__x b { display: block; color: var(--text-primary); }
.rcase { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.rcase__card { padding: 24px; border-radius: var(--radius-lg); background: var(--bg-surface); border: 1px solid var(--border-default); display: grid; gap: 14px; align-content: start; }
.rcase__card h3 { font-size: 20px; letter-spacing: -.015em; }
.rcase__meta { display: flex; flex-wrap: wrap; gap: 6px; }
.rcase__meta span { font-family: var(--mono); font-size: 11px; padding: 4px 9px; border-radius: 6px; background: var(--surface-glass-2); border: 1px solid var(--border-default); color: var(--text-secondary); }
.rcase__card p { font-size: 14.5px; color: var(--text-secondary); line-height: 1.55; }
.rcase__kpis { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.rcase__kpis div { padding: 12px 14px; border-radius: 10px; background: var(--surface-glass-1); border: 1px solid var(--border-default); }
.rcase__kpis b { display: block; font-size: 22px; font-weight: 800; letter-spacing: -.02em; }
.rcase__kpis span { font-size: 12.5px; color: var(--text-secondary); }
.rcase__kpis .g b { color: var(--accent-green); }
.timeline5 { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 10px; }
.timeline5 div { padding: 16px 14px 14px; border-radius: 12px; background: var(--bg-surface); border: 1px solid var(--border-default); border-top: 3px solid var(--accent-blue); }
.timeline5 small { display: block; font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 8px; }
.timeline5 b { display: block; font-size: 14.5px; margin-bottom: 4px; }
.timeline5 span { font-size: 13px; color: var(--text-secondary); line-height: 1.45; }
@media (max-width: 960px) { .wl-plat, .rcase, .margin-ex { grid-template-columns: 1fr; } .margin-ex div { border-left: 0; border-top: 1px solid var(--border-default); } .margin-ex div:first-child { border-top: 0; } .timeline5 { grid-template-columns: 1fr 1fr; } .brandswap__grid { grid-template-columns: 1fr; } .brandswap__side { grid-auto-flow: column; overflow-x: auto; } }
@media (max-width: 640px) { .timeline5 { grid-template-columns: 1fr; } .chart__bar::after { font-size: 9px; } }
