/* ============================================================
   AgentesNexo — Editorial (estilo wembi.ai / e-t.studio)
   Tokens · tipografía cinética · secciones numeradas
   ============================================================ */

:root {
  --paper: #ece8df;        /* warm off-white */
  --paper-2: #e3ded3;
  --ink: #14130f;          /* near-black ink */
  --ink-2: #6c685d;        /* muted */
  --line: rgba(20, 19, 15, 0.16);
  --accent: #2433ff;       /* electric editorial blue */

  --bg: var(--paper);
  --fg: var(--ink);

  --font-disp: "Archivo", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;

  --maxw: 1480px;
  --pad: clamp(20px, 4vw, 72px);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --reveal-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
/* Reset de margenes/padding acotado al diseno editorial (#editorial-root).
   :where() mantiene especificidad 0 (no pisa las clases del diseno) y excluye
   los componentes React de llamadas (modal ReceiveCallHero / overlay de voz),
   que se montan en <body> via portal y deben conservar sus estilos Tailwind. */
:where(#editorial-root) * { margin: 0; padding: 0; }

html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }

body {
  font-family: var(--font-disp);
  background: var(--bg);
  color: var(--fg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  cursor: none;
}
@media (hover: none) { body { cursor: auto; } }

::selection { background: var(--accent); color: #fff; }
a { color: inherit; text-decoration: none; }
:where(#editorial-root) button { font: inherit; color: inherit; background: none; border: none; cursor: none; }
img, video { display: block; max-width: 100%; }
ul { list-style: none; }

/* ---------- Mono labels ---------- */
.mono { font-family: var(--font-mono); font-weight: 500; letter-spacing: 0.02em; }
.tag {
  font-family: var(--font-mono); font-size: 11.5px; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
}

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }
section { position: relative; }

.invert { --bg: var(--ink); --fg: var(--paper); --line: rgba(236, 232, 223, 0.18); --ink-2: #9a958a; background: var(--ink); color: var(--paper); }

/* ============================================================
   PRELOADER
   ============================================================ */
.loader {
  position: fixed; inset: 0; z-index: 1000; background: var(--ink); color: var(--paper);
  display: flex; align-items: flex-end; justify-content: space-between;
  padding: var(--pad); transition: transform 1s var(--ease); will-change: transform;
}
.loader.done { transform: translateY(-100%); }
.loader-mid {
  position: absolute; inset: 0; display: grid; place-items: center; text-align: center;
}
.loader-mid .l-tag { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; opacity: .6; margin-bottom: 14px; }
.loader-mid .l-word {
  font-family: var(--font-disp); font-weight: 800; letter-spacing: -0.03em;
  font-size: clamp(40px, 9vw, 130px); line-height: 0.92;
}
.loader-count { font-family: var(--font-mono); font-size: clamp(48px, 12vw, 150px); font-weight: 500; line-height: 1; letter-spacing: -0.02em; }
.loader-meta { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; opacity: .55; text-align: right; }
.loader-bar { position: absolute; left: 0; bottom: 0; height: 2px; width: 0%; background: var(--accent); }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px var(--pad); mix-blend-mode: difference; color: #fff;
}
.nav a, .nav button { color: #fff; }
.nav-logo { font-family: var(--font-disp); font-weight: 800; font-size: 19px; letter-spacing: -0.02em; }
.nav-logo sup { font-family: var(--font-mono); font-size: 10px; font-weight: 500; vertical-align: super; opacity: .7; }
.nav-center { display: flex; gap: 26px; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; }
.nav-center a { position: relative; opacity: .8; transition: opacity .3s; }
.nav-center a:hover { opacity: 1; }
.nav-right { display: flex; align-items: center; gap: 22px; }
.nav-idx { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.06em; }
.nav-menu { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; display: flex; align-items: center; gap: 9px; }
.nav-menu .bars { display: inline-flex; flex-direction: column; gap: 4px; width: 22px; }
.nav-menu .bars i { height: 1.5px; background: #fff; width: 100%; transition: transform .4s var(--ease); }
@media (max-width: 760px) { .nav-center { display: none; } }

/* ============================================================
   MENU OVERLAY
   ============================================================ */
.menu {
  position: fixed; inset: 0; z-index: 190; background: var(--ink); color: var(--paper);
  display: flex; flex-direction: column; justify-content: center; padding: var(--pad);
  clip-path: inset(0 0 100% 0); transition: clip-path .8s var(--ease); pointer-events: none;
}
.menu.open { clip-path: inset(0 0 0% 0); pointer-events: auto; }
.menu-list { display: flex; flex-direction: column; gap: 4px; }
.menu-list a {
  font-family: var(--font-disp); font-weight: 700; letter-spacing: -0.03em;
  font-size: clamp(40px, 9vw, 116px); line-height: 1.02; display: flex; align-items: baseline; gap: 22px;
  opacity: .55; transition: opacity .35s, transform .5s var(--ease); transform: translateY(0);
}
.menu-list a .n { font-family: var(--font-mono); font-size: clamp(13px, 1.4vw, 18px); font-weight: 500; opacity: .7; }
.menu-list a:hover { opacity: 1; transform: translateX(20px); }
.menu-foot { position: absolute; bottom: var(--pad); left: var(--pad); right: var(--pad); display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; opacity: .6; gap: 16px; flex-wrap: wrap; }

/* ============================================================
   CURSOR
   ============================================================ */
.cursor {
  position: fixed; top: 0; left: 0; width: 10px; height: 10px; border-radius: 50%;
  background: var(--accent); z-index: 9999; pointer-events: none;
  transform: translate(-50%, -50%); transition: width .3s var(--ease), height .3s var(--ease), background .3s, opacity .3s;
  mix-blend-mode: normal;
}
.cursor.hover { width: 64px; height: 64px; background: transparent; border: 1px solid var(--accent); }
.cursor.media { width: 90px; height: 90px; background: rgba(36,51,255,.12); border: 1px solid var(--accent); }
.cursor .label { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--font-mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); opacity: 0; transition: opacity .3s; }
.cursor.media .label { opacity: 1; }
@media (hover: none) { .cursor { display: none; } }

/* ============================================================
   TEXT REVEAL (mask)
   ============================================================ */
.line-mask { display: block; overflow: hidden; }
.line-inner { display: block; transform: translateY(110%); transition: transform .9s var(--reveal-ease); will-change: transform; }
.revealed .line-inner { transform: translateY(0); }
.word-mask { display: inline-block; overflow: hidden; vertical-align: top; }
.word-inner { display: inline-block; transform: translateY(110%); transition: transform .8s var(--reveal-ease); }
.revealed .word-inner { transform: translateY(0); }

.fade-up { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.fade-up.in { opacity: 1; transform: none; }

/* ============================================================
   SECTION HEADER (numbered ticker)
   ============================================================ */
.sec-divider {
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  overflow: hidden; padding: 16px 0;
}
.ticker { display: flex; gap: 60px; width: max-content; animation: tick 26s linear infinite; }
.invert .ticker, .ticker { will-change: transform; }
.ticker:hover { animation-play-state: paused; }
.ticker span { font-family: var(--font-mono); font-size: clamp(13px, 1.3vw, 16px); letter-spacing: 0.16em; text-transform: uppercase; display: inline-flex; align-items: center; gap: 60px; white-space: nowrap; opacity: .8; }
.ticker span b { font-weight: 700; font-style: italic; opacity: 1; }
.ticker .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
@keyframes tick { to { transform: translateX(-50%); } }

.sec-head { display: grid; grid-template-columns: 1fr; gap: 0; padding: clamp(50px,7vw,110px) 0 clamp(30px,4vw,56px); }
.sec-no { font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.1em; color: var(--accent); margin-bottom: 24px; display: flex; align-items: center; gap: 12px; }
.sec-no::before { content: ""; width: 40px; height: 1px; background: var(--accent); }
.sec-title { font-family: var(--font-disp); font-weight: 700; letter-spacing: -0.035em; font-size: clamp(34px, 6vw, 92px); line-height: 0.98; max-width: 18ch; }
.sec-title em { font-style: italic; font-weight: 500; }
.sec-sub { margin-top: 28px; max-width: 52ch; font-size: clamp(16px, 1.5vw, 21px); line-height: 1.45; color: var(--ink-2); }

/* ============================================================
   HERO  (N°001 WHAT)
   ============================================================ */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; }
.hero-media { position: absolute; inset: 0; z-index: 0; background: var(--ink); }
.hero-media .ph {
  position: absolute; inset: 0;
  background:
    radial-gradient(1200px 600px at 70% 20%, rgba(36,51,255,.35), transparent 60%),
    radial-gradient(900px 500px at 20% 90%, rgba(36,51,255,.18), transparent 55%),
    linear-gradient(160deg, #1a1a28, #0c0c12 70%);
}
.hero-media .grid-ph { position: absolute; inset: 0; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 64px 64px; mask-image: radial-gradient(120% 120% at 70% 30%, #000, transparent 75%); }
.hero-media .ph-tag { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); font-family: var(--font-mono); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.35); }
.hero-overlay { position: relative; z-index: 2; color: var(--paper); padding-bottom: clamp(40px, 6vw, 80px); }
.hero-topline { position: absolute; top: clamp(96px, 12vh, 150px); left: var(--pad); right: var(--pad); display: flex; justify-content: space-between; color: var(--paper); font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; opacity: .85; }
.hero h1 { font-family: var(--font-disp); font-weight: 800; letter-spacing: -0.04em; font-size: clamp(48px, 11.5vw, 200px); line-height: 0.86; }
.hero h1 em { font-style: italic; font-weight: 300; }
.hero-foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; margin-top: 36px; flex-wrap: wrap; }
.hero-foot p { max-width: 46ch; font-size: clamp(16px, 1.5vw, 20px); line-height: 1.45; color: rgba(236,232,223,.82); }
.hero-scroll { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; display: flex; align-items: center; gap: 10px; opacity: .8; }
.hero-scroll .arrow { display: inline-block; animation: bob 1.8s var(--ease) infinite; }
@keyframes bob { 0%,100%{transform:translateY(0);} 50%{transform:translateY(5px);} }

/* ============================================================
   STEPPER  (N°002 HOW)
   ============================================================ */
.stepper { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px,5vw,80px); padding-bottom: clamp(60px,9vw,140px); align-items: start; }
.step-media { position: sticky; top: 14vh; aspect-ratio: 4/5; border-radius: 2px; overflow: hidden; background: var(--ink); }
.step-media .pane { position: absolute; inset: 0; opacity: 0; transition: opacity .7s var(--ease); display: grid; place-items: center; }
.step-media .pane.active { opacity: 1; }
.step-media .pane .ph2 { position: absolute; inset: 0; }
.step-media .pane .num { position: relative; z-index: 2; font-family: var(--font-disp); font-weight: 800; font-size: clamp(80px,16vw,260px); color: rgba(255,255,255,.10); letter-spacing: -0.04em; }
.step-media .pane .cap { position: absolute; left: 28px; bottom: 26px; z-index: 2; color: var(--paper); font-family: var(--font-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.steps { display: flex; flex-direction: column; }
.step {
  border-top: 1px solid var(--line); padding: clamp(28px,4vw,52px) 0; cursor: none;
  display: grid; grid-template-columns: auto 1fr; gap: 26px; align-items: start; transition: opacity .4s;
}
.step:last-child { border-bottom: 1px solid var(--line); }
.step.dim { opacity: .35; }
.step .s-no { font-family: var(--font-mono); font-size: 13px; color: var(--accent); padding-top: 8px; }
.step h3 { font-family: var(--font-disp); font-weight: 700; letter-spacing: -0.02em; font-size: clamp(26px, 3.4vw, 46px); line-height: 1.02; margin-bottom: 14px; }
.step p { color: var(--ink-2); font-size: clamp(15px,1.4vw,18px); line-height: 1.5; max-width: 46ch; max-height: 0; overflow: hidden; opacity: 0; transition: max-height .6s var(--ease), opacity .5s, margin .5s; }
.step.active p { max-height: 200px; opacity: 1; }
.step .chips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; max-height: 0; overflow: hidden; opacity: 0; transition: all .5s var(--ease); }
.step.active .chips { max-height: 60px; opacity: 1; }
.step .chips span { font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; border: 1px solid var(--line); padding: 6px 12px; border-radius: 100px; }
@media (max-width: 880px) {
  .stepper { grid-template-columns: 1fr; }
  .step-media { position: relative; top: 0; order: -1; aspect-ratio: 16/10; }
}

/* ============================================================
   WHY  (N°003) big list w/ hover image
   ============================================================ */
.why-list { border-top: 1px solid var(--line); }
.why-item {
  border-bottom: 1px solid var(--line); position: relative; display: flex; align-items: center; justify-content: space-between;
  padding: clamp(22px,3.2vw,40px) 0; gap: 24px; cursor: none; transition: padding .4s var(--ease);
}
.why-item:hover { padding-left: 26px; }
.why-item .wl { display: flex; align-items: baseline; gap: 22px; }
.why-item .wl .n { font-family: var(--font-mono); font-size: 13px; color: var(--accent); }
.why-item h3 { font-family: var(--font-disp); font-weight: 700; letter-spacing: -0.03em; font-size: clamp(30px, 5.2vw, 78px); line-height: 1; transition: transform .4s var(--ease); }
.why-item:hover h3 { font-style: italic; }
.why-item .wr { max-width: 34ch; text-align: right; color: var(--ink-2); font-size: clamp(14px,1.3vw,17px); line-height: 1.4; opacity: 0; transform: translateX(20px); transition: opacity .4s, transform .4s var(--ease); }
.why-item:hover .wr { opacity: 1; transform: none; }
@media (max-width: 720px){ .why-item .wr { display:none; } }

/* ============================================================
   WHERE  (N°004) sectors
   ============================================================ */
.where { position: relative; }
.where-media { position: relative; aspect-ratio: 21/9; overflow: hidden; background: var(--ink); margin-top: 10px; }
.where-media .ph3 { position:absolute; inset:0;
  background: radial-gradient(900px 500px at 30% 30%, rgba(36,51,255,.4), transparent 60%), linear-gradient(120deg,#11131f,#0a0a10); }
.where-media .grid-ph { position:absolute; inset:0; opacity:.4; background-image: linear-gradient(rgba(255,255,255,.06) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.06) 1px,transparent 1px); background-size:80px 80px; }
.where-sectors { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.where-sectors .s { padding: clamp(22px,3vw,40px) 0; border-right: 1px solid var(--line); }
.where-sectors .s:last-child { border-right: none; }
.where-sectors .s .n { font-family: var(--font-mono); font-size: 12px; color: var(--accent); }
.where-sectors .s h4 { font-family: var(--font-disp); font-weight: 700; letter-spacing: -0.02em; font-size: clamp(20px,2.4vw,34px); margin: 12px 0 8px; }
.where-sectors .s p { color: var(--ink-2); font-size: 14px; line-height: 1.4; max-width: 26ch; padding-right: 16px; }
@media (max-width: 880px){ .where-sectors { grid-template-columns: 1fr 1fr; } .where-sectors .s:nth-child(2){border-right:none;} .where-sectors .s{ border-bottom:1px solid var(--line); padding-left:0;} .where-sectors .s p{padding-right:0;} }

/* ============================================================
   FAQ  (N°005)
   ============================================================ */
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: clamp(24px,3vw,38px) 0; text-align: left; }
.faq-q .qt { display: flex; gap: 22px; align-items: baseline; }
.faq-q .qt .n { font-family: var(--font-mono); font-size: 13px; color: var(--accent); }
.faq-q h3 { font-family: var(--font-disp); font-weight: 600; letter-spacing: -0.02em; font-size: clamp(19px, 2.4vw, 32px); line-height: 1.1; transition: color .3s; }
.faq-q:hover h3 { color: var(--accent); }
.faq-q .pm { width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; flex-shrink: 0; position: relative; transition: background .3s, border-color .3s; }
.faq-q .pm::before, .faq-q .pm::after { content:""; position:absolute; background: var(--fg); transition: transform .4s var(--ease), background .3s; }
.faq-q .pm::before { width: 13px; height: 1.5px; }
.faq-q .pm::after { width: 1.5px; height: 13px; }
.faq-item.open .pm { background: var(--accent); border-color: var(--accent); }
.faq-item.open .pm::before, .faq-item.open .pm::after { background: #fff; }
.faq-item.open .pm::after { transform: scaleY(0); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .5s var(--ease); }
.faq-a p { padding: 0 0 clamp(24px,3vw,38px) 57px; color: var(--ink-2); font-size: clamp(15px,1.4vw,18px); line-height: 1.55; max-width: 70ch; }
@media (max-width:600px){ .faq-a p { padding-left: 0; } }

/* ============================================================
   CONTACT  (N°006)
   ============================================================ */
.contact { padding: clamp(70px,11vw,180px) 0 clamp(50px,7vw,110px); }
.contact h2 { font-family: var(--font-disp); font-weight: 700; letter-spacing: -0.04em; font-size: clamp(40px, 8.5vw, 150px); line-height: 0.92; max-width: 16ch; }
.contact h2 em { font-style: italic; font-weight: 300; }
.contact-row { display: flex; gap: 18px; flex-wrap: wrap; margin-top: clamp(36px,5vw,64px); }
.contact-btn {
  display: inline-flex; align-items: center; gap: 14px; border: 1px solid var(--line); border-radius: 100px;
  padding: 16px 26px; font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase;
  transition: background .35s var(--ease), color .35s, border-color .35s, transform .35s var(--ease);
}
.contact-btn .ar { transition: transform .35s var(--ease); }
.contact-btn:hover { background: var(--accent); color: #fff; border-color: var(--accent); transform: translateY(-3px); }
.contact-btn:hover .ar { transform: translate(4px,-4px); }
.contact-btn.solid { background: var(--accent); color: #fff; border-color: var(--accent); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { padding: clamp(40px,5vw,72px) 0 36px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 50px; border-bottom: 1px solid var(--line); }
.footer h5 { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 18px; font-weight: 500; }
.footer-big { font-family: var(--font-disp); font-weight: 800; letter-spacing: -0.03em; font-size: clamp(40px,8vw,120px); line-height: 0.9; }
.footer-col a, .footer-col p { display: block; font-size: 15px; line-height: 1.7; color: var(--fg); opacity: .85; }
.footer-col a:hover { color: var(--accent); opacity: 1; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 26px; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-2); flex-wrap: wrap; gap: 12px; }
@media (max-width: 760px){ .footer-grid { grid-template-columns: 1fr 1fr; } .footer-col.brand { grid-column: 1 / -1; } }

/* ============================================================
   TRY IT  (Pruébalo)
   ============================================================ */
.tryit-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(30px,5vw,72px); align-items: center; padding-bottom: clamp(40px,6vw,90px); }
.tryit-cta .big { font-family: var(--font-disp); font-weight: 700; letter-spacing: -0.03em; font-size: clamp(30px,4.6vw,68px); line-height: 1.0; margin-bottom: 22px; }
.tryit-cta .big em { font-style: italic; font-weight: 300; }
.tryit-cta p { opacity: .82; font-size: clamp(16px,1.5vw,20px); line-height: 1.5; max-width: 42ch; }
.tryit-cta .micro { font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; opacity: .55; margin-top: 18px; }
.tryit-cta .contact-row { margin-top: clamp(24px,3vw,38px); }

.chat { border: 1px solid var(--line); border-radius: 4px; padding: 22px; background: rgba(255,255,255,.03); }
.chat-top { display: flex; align-items: center; justify-content: space-between; padding-bottom: 16px; border-bottom: 1px solid var(--line); margin-bottom: 18px; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; }
.chat-top .live { display: flex; align-items: center; gap: 9px; }
.chat-top .live i { width: 7px; height: 7px; border-radius: 50%; background: #34d399; box-shadow: 0 0 8px #34d399; animation: pulseDot 1.6s infinite; }
.msg { max-width: 82%; padding: 12px 16px; border-radius: 14px; font-size: 14.5px; line-height: 1.45; margin-bottom: 10px; }
.msg.in { background: rgba(255,255,255,.07); border-bottom-left-radius: 4px; }
.msg.out { background: var(--accent); color: #fff; margin-left: auto; border-bottom-right-radius: 4px; }
.typing-d { display: inline-flex; gap: 5px; padding: 14px 16px; background: rgba(255,255,255,.07); border-radius: 14px; border-bottom-left-radius: 4px; }
.typing-d i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.55); animation: blinkDot 1.2s infinite; }
.typing-d i:nth-child(2){ animation-delay: .2s; } .typing-d i:nth-child(3){ animation-delay: .4s; }
@keyframes blinkDot { 0%,60%,100%{ opacity:.3; transform:translateY(0);} 30%{ opacity:1; transform:translateY(-3px);} }
@keyframes pulseDot { 0%,100%{ opacity:1;} 50%{ opacity:.35;} }
@media (max-width: 880px){ .tryit-grid { grid-template-columns: 1fr; } }

/* ============================================================
   TEAM / FOUNDER
   ============================================================ */
.team-grid { display: grid; grid-template-columns: 0.82fr 1.18fr; gap: clamp(30px,5vw,80px); align-items: center; }
.team-photo { position: relative; aspect-ratio: 4/5; border-radius: 4px; overflow: hidden; background: var(--paper-2); }
.team-photo image-slot { width: 100%; height: 100%; display: block; }
.team-photo .badge { position: absolute; left: 16px; bottom: 16px; z-index: 3; font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; background: var(--ink); color: var(--paper); padding: 7px 12px; border-radius: 100px; pointer-events: none; }
.team-info .role { font-family: var(--font-mono); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin-bottom: 16px; display: flex; align-items: center; gap: 12px; }
.team-info .role::before { content:""; width: 40px; height: 1px; background: var(--accent); }
.team-info h3 { font-family: var(--font-disp); font-weight: 800; letter-spacing: -0.035em; font-size: clamp(40px,6.4vw,96px); line-height: 0.92; margin-bottom: 24px; }
.team-info .bio { font-size: clamp(16px,1.5vw,20px); line-height: 1.55; color: var(--ink-2); max-width: 54ch; margin-bottom: 28px; }
.team-creds { display: flex; flex-wrap: wrap; gap: 10px; }
.team-creds span { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .05em; text-transform: uppercase; border: 1px solid var(--line); padding: 9px 15px; border-radius: 100px; }
@media (max-width: 880px){ .team-grid { grid-template-columns: 1fr; } .team-photo { max-width: 340px; } }

/* ============================================================
   BOTTOM NAV (floating, estilo wembi)
   ============================================================ */
.botnav {
  position: fixed; left: 0; right: 0; bottom: 22px; z-index: 180;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 14px;
  padding: 0 22px; pointer-events: none;
  transform: translateY(170%); opacity: 0;
  transition: transform .8s var(--ease), opacity .5s var(--ease);
}
.botnav.show { transform: none; opacity: 1; }
.botnav > * { pointer-events: auto; }

/* liquid glass surface */
.bn-glass {
  background: rgba(248,247,243,.55);
  -webkit-backdrop-filter: blur(28px) saturate(180%); backdrop-filter: blur(28px) saturate(180%);
  border: 1px solid rgba(255,255,255,.7); color: #14130f;
  box-shadow: 0 12px 34px -12px rgba(20,19,15,.30), inset 0 1px 0 rgba(255,255,255,.65);
  border-radius: 100px;
}

/* LEFT pill — current section */
.bn-left { position: relative; display: flex; align-items: center; gap: 11px; padding: 11px 18px 11px 13px; font-family: var(--font-mono); }
.bn-ring { position: relative; width: 26px; height: 26px; flex-shrink: 0; }
.bn-ring svg { width: 26px; height: 26px; transform: rotate(-90deg); display: block; }
.bn-ring .bg { stroke: rgba(20,19,15,.16); }
.bn-ring .fg { stroke: var(--accent); stroke-linecap: round; stroke-dasharray: 75.4; stroke-dashoffset: 75.4; transition: stroke-dashoffset .12s linear; }
.bn-ring .bn-pct { position: absolute; inset: 0; display: grid; place-items: center; font-size: 8.5px; }
.bn-left .lbl { display: flex; align-items: baseline; gap: 8px; }
.bn-left .bn-no { font-size: 11px; opacity: .45; }
.bn-left .bn-name { font-size: 11.5px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; }
.bn-left .car { font-size: 9px; opacity: .5; margin-left: 4px; transition: transform .4s var(--ease); }
.botnav.open .bn-left .car { transform: rotate(180deg); }

/* Overview panel */
.bn-panel {
  position: absolute; left: 0; bottom: calc(100% + 12px); width: 280px;
  background: rgba(248,247,243,.82); -webkit-backdrop-filter: blur(30px) saturate(180%); backdrop-filter: blur(30px) saturate(180%);
  border: 1px solid rgba(255,255,255,.7); color: #14130f; border-radius: 22px; padding: 8px;
  box-shadow: 0 26px 60px -22px rgba(20,19,15,.4), inset 0 1px 0 rgba(255,255,255,.6);
  opacity: 0; transform: translateY(12px); pointer-events: none;
  transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.botnav.open .bn-panel { opacity: 1; transform: translateY(0); pointer-events: auto; }
.bn-panel a { display: flex; align-items: center; gap: 14px; padding: 10px 14px; border-radius: 14px; color: #14130f; transition: background .25s, padding .3s var(--ease); }
.bn-panel a:hover { background: rgba(20,19,15,.06); padding-left: 18px; }
.bn-panel a .n { font-family: var(--font-mono); font-size: 11px; opacity: .45; width: 30px; }
.bn-panel a .t { font-family: var(--font-disp); font-size: 17px; font-weight: 600; letter-spacing: -0.01em; }
.bn-panel a.active { color: var(--accent); }
.bn-panel a.active .n { opacity: 1; color: var(--accent); }

/* RIGHT group */
.bn-right { display: flex; align-items: center; gap: 8px; padding: 7px; }
.bn-sep { width: 1px; height: 24px; background: rgba(20,19,15,.14); margin: 0 4px; flex-shrink: 0; }

/* language selector */
.bn-lang { position: relative; }
.bn-lang-btn { display: flex; align-items: center; gap: 7px; padding: 9px 12px; border-radius: 100px; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; transition: background .25s; }
.bn-lang-btn:hover { background: rgba(20,19,15,.06); }
.bn-lang-btn .globe { width: 15px; height: 15px; opacity: .7; }
.bn-lang-btn .car { font-size: 8px; opacity: .5; }
.bn-lang-menu { position: absolute; right: 0; bottom: calc(100% + 10px); min-width: 150px; background: rgba(248,247,243,.9); -webkit-backdrop-filter: blur(30px) saturate(180%); backdrop-filter: blur(30px) saturate(180%); border: 1px solid rgba(255,255,255,.7); border-radius: 16px; padding: 6px; box-shadow: 0 22px 50px -20px rgba(20,19,15,.4); opacity: 0; transform: translateY(10px); pointer-events: none; transition: opacity .3s var(--ease), transform .3s var(--ease); }
.bn-lang.open .bn-lang-menu { opacity: 1; transform: translateY(0); pointer-events: auto; }
.bn-lang-menu button { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 10px 13px; border-radius: 11px; font-size: 13.5px; color: #14130f; transition: background .2s; }
.bn-lang-menu button:hover { background: rgba(20,19,15,.06); }
.bn-lang-menu button.active { color: var(--accent); font-weight: 600; }
.bn-lang-menu button .tick { opacity: 0; }
.bn-lang-menu button.active .tick { opacity: 1; }

/* action icon buttons */
.bn-act { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; position: relative; transition: background .25s, transform .25s var(--ease); }
.bn-act:hover { background: rgba(20,19,15,.07); transform: translateY(-2px); }
.bn-act svg { width: 19px; height: 19px; }
.bn-act .tip { position: absolute; bottom: calc(100% + 9px); left: 50%; transform: translateX(-50%) translateY(4px); white-space: nowrap; font-family: var(--font-mono); font-size: 10px; letter-spacing: .06em; text-transform: uppercase; background: #14130f; color: var(--paper); padding: 5px 9px; border-radius: 7px; opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; }
.bn-act:hover .tip { opacity: 1; transform: translateX(-50%) translateY(0); }

/* CTA solid */
.bn-cta { display: flex; align-items: center; gap: 9px; background: var(--accent); color: #fff; border-radius: 100px; padding: 12px 20px; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; transition: transform .3s var(--ease), filter .3s; }
.bn-cta:hover { transform: translateY(-2px); filter: brightness(1.1); }
.bn-cta svg { width: 15px; height: 15px; }

@media (max-width: 720px) {
  .botnav { bottom: 12px; padding: 0 10px; gap: 8px; }
  .bn-left { padding: 9px 12px; }
  .bn-left .lbl { display: none; }
  .bn-right { gap: 2px; padding: 5px; }
  .bn-lang-btn .globe { display: none; }
  .bn-lang-btn { padding: 9px 9px; gap: 4px; }
  .bn-sep { margin: 0 2px; }
  .bn-act { width: 38px; height: 38px; }
  .bn-cta .bn-ctatxt { display: none; }
  .bn-cta { padding: 11px 12px; }
  .bn-act .tip { display: none; }
  .bn-panel { width: min(280px, calc(100vw - 24px)); }
}
@media (max-width: 380px) {
  .botnav { gap: 6px; }
  .bn-act { width: 34px; height: 34px; }
  .bn-act svg { width: 17px; height: 17px; }
}

/* ============================================================
   MODALS (liquid glass)
   ============================================================ */
.modal-scrim {
  position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 24px;
  background: rgba(20,19,15,.5); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  opacity: 0; pointer-events: none; transition: opacity .4s var(--ease);
}
.modal-scrim.open { opacity: 1; pointer-events: auto; }
.modal {
  width: min(460px, 100%); background: rgba(248,247,243,.9);
  -webkit-backdrop-filter: blur(34px) saturate(180%); backdrop-filter: blur(34px) saturate(180%);
  border: 1px solid rgba(255,255,255,.75); border-radius: 26px; padding: clamp(28px,4vw,40px); color: #14130f;
  box-shadow: 0 50px 120px -30px rgba(0,0,0,.55), inset 0 1px 0 rgba(255,255,255,.6);
  transform: translateY(24px) scale(.97); transition: transform .5s var(--ease); position: relative;
}
.modal-scrim.open .modal { transform: none; }
.modal-x { position: absolute; top: 18px; right: 18px; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; color: #14130f; transition: background .25s; }
.modal-x:hover { background: rgba(20,19,15,.08); }
.modal-x svg { width: 16px; height: 16px; }
.modal .m-icon { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: var(--accent); color: #fff; margin-bottom: 22px; }
.modal .m-icon svg { width: 26px; height: 26px; }
.modal .m-tag { font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.modal h3 { font-family: var(--font-disp); font-weight: 700; letter-spacing: -0.025em; font-size: clamp(26px,3.4vw,38px); line-height: 1.05; margin-bottom: 14px; }
.modal p { color: var(--ink-2); font-size: 16px; line-height: 1.5; margin-bottom: 24px; }
.modal .m-field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.modal .m-field label { font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.modal .m-field input, .modal .m-field select { font-family: var(--font-disp); font-size: 16px; padding: 14px 16px; border-radius: 14px; border: 1px solid rgba(20,19,15,.18); background: rgba(255,255,255,.6); color: #14130f; outline: none; transition: border-color .25s; }
.modal .m-field input:focus { border-color: var(--accent); }
.modal .m-btn { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; background: var(--accent); color: #fff; border-radius: 100px; padding: 16px; font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; transition: transform .3s var(--ease), filter .3s; }
.modal .m-btn:hover { transform: translateY(-2px); filter: brightness(1.1); }
.modal .m-btn svg { width: 16px; height: 16px; }
.modal .m-note { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .04em; color: var(--ink-2); opacity: .7; margin-top: 14px; text-align: center; }
.modal .m-big { font-family: var(--font-disp); font-weight: 700; font-size: clamp(28px,4vw,42px); letter-spacing: -0.02em; }
.modal .m-big a { color: var(--accent); }

/* ---- Chat modal (Agente Nexo) ---- */
.modal-chat { width: min(440px, 100%); padding: 0; overflow: hidden; display: flex; flex-direction: column; max-height: min(640px, 88vh); }
.chatm-head { display: flex; align-items: center; gap: 12px; padding: 18px 20px; border-bottom: 1px solid rgba(20,19,15,.12); flex-shrink: 0; }
.chatm-av { width: 42px; height: 42px; border-radius: 13px; background: var(--accent); color: #fff; display: grid; place-items: center; flex-shrink: 0; }
.chatm-av svg { width: 23px; height: 23px; }
.chatm-id { flex: 1; min-width: 0; }
.chatm-id b { font-family: var(--font-disp); font-size: 16px; font-weight: 700; letter-spacing: -0.01em; display: block; }
.chatm-id span { font-family: var(--font-mono); font-size: 11px; color: #1f8a5b; display: flex; align-items: center; gap: 6px; }
.chatm-id span i { width: 7px; height: 7px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 8px #22c55e; }
.chatm-close { position: static; flex-shrink: 0; }
.chatm-feed { flex: 1; overflow-y: auto; padding: 18px 20px; display: flex; flex-direction: column; gap: 9px; min-height: 200px; scrollbar-width: thin; }
.chatm-feed .msg { max-width: 84%; padding: 11px 15px; border-radius: 16px; font-size: 14.5px; line-height: 1.45; word-wrap: break-word; }
.chatm-feed .msg.in { background: rgba(20,19,15,.07); color: #14130f; border-bottom-left-radius: 5px; align-self: flex-start; }
.chatm-feed .msg.out { background: var(--accent); color: #fff; border-bottom-right-radius: 5px; align-self: flex-end; }
.chatm-feed .msg.voice { display: flex; align-items: center; gap: 11px; }
.chatm-feed .msg.voice svg { width: 18px; height: 18px; flex-shrink: 0; }
.chatm-feed .msg.voice .wave { display: flex; align-items: center; gap: 2.5px; height: 18px; }
.chatm-feed .msg.voice .wave i { width: 2.5px; background: currentColor; border-radius: 2px; opacity: .8; }
.chatm-feed .msg.voice .dur { font-family: var(--font-mono); font-size: 11px; opacity: .85; }
.chatm-feed .msg.file { display: flex; align-items: center; gap: 10px; }
.chatm-feed .msg.file svg { width: 18px; height: 18px; flex-shrink: 0; }
.chatm-feed .typing-d { align-self: flex-start; background: rgba(20,19,15,.07); }
.chatm-feed .typing-d i { background: rgba(20,19,15,.45); }
.chatm-input { display: flex; align-items: center; gap: 6px; padding: 12px 14px; border-top: 1px solid rgba(20,19,15,.12); flex-shrink: 0; }
.chatm-ic { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; color: #14130f; flex-shrink: 0; transition: background .2s, color .2s; }
.chatm-ic:hover { background: rgba(20,19,15,.08); }
.chatm-ic svg { width: 20px; height: 20px; }
.chatm-ic.rec { background: #ef4444; color: #fff; animation: recPulse 1.1s infinite; }
@keyframes recPulse { 0%,100%{ box-shadow: 0 0 0 0 rgba(239,68,68,.5);} 50%{ box-shadow: 0 0 0 7px rgba(239,68,68,0);} }
.chatm-text { flex: 1; min-width: 0; border: none; background: transparent; font-family: var(--font-disp); font-size: 15px; color: #14130f; outline: none; padding: 8px 4px; }
.chatm-text::placeholder { color: rgba(20,19,15,.4); }
.chatm-send { width: 40px; height: 40px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; flex-shrink: 0; transition: transform .2s var(--ease), filter .2s; }
.chatm-send:hover { transform: scale(1.06); filter: brightness(1.1); }
.chatm-send svg { width: 18px; height: 18px; }
.chatm-rechint { font-family: var(--font-mono); font-size: 11px; color: #ef4444; padding: 0 20px 10px; display: none; }
.modal-chat.recording .chatm-rechint { display: block; }
@media (max-width: 600px) {
  .modal-chat { max-height: 92vh; border-radius: 22px; }
}

/* ============================================================
   SCROLL-FILL (texto que se colorea al hacer scroll) + PIN
   ============================================================ */
.sf { --sf-full: var(--ink); --sf-dim: rgba(20,19,15,.20); }
.invert .sf { --sf-full: var(--paper); --sf-dim: rgba(236,232,223,.26); }
.sf .sf-word { transition: color .18s linear; }
.sf.armed .sf-word { color: var(--sf-dim); }
.sf.armed .sf-word.on { color: var(--sf-full); }
.sf.armed .sf-word.cur {
  background: linear-gradient(90deg, var(--sf-full) var(--p, 0%), var(--sf-dim) var(--p, 0%));
  -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
}

.pin { position: relative; }
.pin.pin-on { height: calc(100vh + var(--pinlen, 110vh)); padding-top: 0; padding-bottom: 0; }
.pin .pin-sticky { position: relative; }
.pin.pin-on .pin-sticky { position: sticky; top: 0; min-height: 100vh; display: flex; flex-direction: column; justify-content: center; }
.pin.pin-on .team-photo { aspect-ratio: auto; height: clamp(300px, 44vh, 500px); }

@media (prefers-reduced-motion: reduce) {
  .sf.armed .sf-word { color: var(--sf-full); }
}

/* ============================================================
   PRICING (editorial)
   ============================================================ */
.price-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.price-card {
  border: 1px solid var(--line); border-radius: 4px; padding: clamp(28px,3.4vw,44px);
  display: flex; flex-direction: column; position: relative; background: var(--bg);
  transition: transform .5s var(--ease), border-color .4s;
}
.price-card:hover { transform: translateY(-5px); border-color: var(--ink-2); }
.price-card.feat { --bg: var(--ink); --fg: var(--paper); --line: rgba(236,232,223,.2); --ink-2: #9a958a; background: var(--ink); color: var(--paper); border-color: var(--ink); }
.price-tag { position: absolute; top: clamp(28px,3.4vw,44px); right: clamp(28px,3.4vw,44px); font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); display: flex; align-items: center; gap: 7px; }
.price-tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 8px var(--accent); }
.price-plan { font-family: var(--font-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
.price-amount { display: flex; align-items: baseline; gap: 8px; margin: 18px 0 6px; flex-wrap: wrap; }
.price-amount .from { font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.price-amount .val { font-family: var(--font-disp); font-weight: 800; font-size: clamp(48px,6vw,80px); line-height: .9; letter-spacing: -0.04em; }
.price-amount .per { font-family: var(--font-mono); font-size: 14px; color: var(--ink-2); }
.price-desc { color: var(--ink-2); font-size: 15.5px; line-height: 1.5; margin-bottom: 26px; max-width: 34ch; }
.price-feats { list-style: none; display: flex; flex-direction: column; gap: 13px; margin: 0 0 30px; padding-top: 26px; border-top: 1px solid var(--line); }
.price-feats li { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; line-height: 1.4; }
.price-feats li svg { width: 16px; height: 16px; color: var(--accent); flex-shrink: 0; margin-top: 3px; }
.price-cta {
  margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 14px;
  border: 1px solid var(--line); border-radius: 100px; padding: 15px 22px;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase;
  transition: background .35s var(--ease), color .35s, border-color .35s, transform .35s var(--ease);
}
.price-cta .ar { transition: transform .35s var(--ease); }
.price-cta:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
.price-cta:hover .ar { transform: translate(4px,-4px); }
.price-card.feat .price-cta { background: var(--accent); color: #fff; border-color: var(--accent); }
.price-card.feat .price-cta:hover { filter: brightness(1.12); }
.price-note { margin-top: 30px; text-align: center; font-size: 15px; color: var(--ink-2); }
.price-note a { color: var(--accent); font-weight: 600; border-bottom: 1px solid currentColor; }
@media (max-width: 760px) { .price-grid { grid-template-columns: 1fr; } }

/* spacing helpers */
.band { padding: clamp(50px,7vw,120px) 0; }

@media (prefers-reduced-motion: reduce) {
  .line-inner, .word-inner { transform: none !important; transition: none; }
  .fade-up { opacity: 1; transform: none; }
  .ticker { animation: none; }
  .hero-scroll .arrow { animation: none; }
}
