/* =========================================================
   ALDIA — Sistema de diseño
   Blanco · Negro · Azul cielo
   ========================================================= */

:root {
  /* Color */
  --ink: #0E0E0E;
  --ink-2: #2A2B2E;
  --muted: #6B6F76;
  --subtle: #9A9EA6;
  --line: #E8E9EC;
  --line-strong: #D6D8DD;
  --bg: #FFFFFF;
  --surface: #F7F8FA;
  --accent: #5B8CFF;
  --accent-ink: #2F62E0;
  --accent-soft: #EEF3FF;
  --accent-line: #D5E2FF;
  --ok: #19A974;

  /* Tipografía */
  --font: 'Geist', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --mono: 'Geist Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --t-display: clamp(2.6rem, 6.2vw, 5.2rem);
  --t-h2: clamp(2rem, 4.2vw, 3.4rem);
  --t-h3: clamp(1.2rem, 1.8vw, 1.45rem);
  --t-body: 1.0625rem;
  --t-small: .875rem;

  /* Espacio y forma */
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(5rem, 11vw, 9rem);
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --shadow: 0 1px 2px rgba(14,14,14,.04), 0 8px 24px rgba(14,14,14,.05);
  --shadow-lg: 0 2px 4px rgba(14,14,14,.04), 0 24px 60px rgba(14,14,14,.08);
  --ease: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  font-size: var(--t-body);
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--accent-soft); color: var(--accent-ink); }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; }
.section--surface { background: var(--surface); }
.section--tight { padding: calc(var(--section) * .6) 0; }

/* ---------- Tipografía ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .78rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase;
  color: var(--muted);
}
.eyebrow::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.display { font-size: var(--t-display); line-height: 1.02; letter-spacing: -.045em; font-weight: 600; }
.h2 { font-size: var(--t-h2); line-height: 1.06; letter-spacing: -.04em; font-weight: 600; }
.h3 { font-size: var(--t-h3); line-height: 1.25; letter-spacing: -.02em; font-weight: 600; }
.lead { font-size: clamp(1.08rem, 1.4vw, 1.25rem); color: var(--muted); line-height: 1.55; max-width: 38em; }
.muted { color: var(--muted); }
.accent { color: var(--accent); }
.serif-dot { color: var(--accent); }
.head { display: grid; gap: 1.1rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); max-width: 760px; }
.head--center { margin-left: auto; margin-right: auto; text-align: center; justify-items: center; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  height: 48px; padding: 0 1.4rem; border-radius: 999px;
  font-size: .95rem; font-weight: 500; letter-spacing: -.01em;
  border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: transform .4s var(--ease), background .25s, border-color .25s, color .25s, box-shadow .4s var(--ease);
}
.btn svg { width: 16px; height: 16px; transition: transform .4s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #000; box-shadow: 0 10px 30px rgba(14,14,14,.18); transform: translateY(-1px); }
.btn--line { background: #fff; border-color: var(--line-strong); }
.btn--line:hover { border-color: var(--ink); }
.btn--accent { background: var(--accent); color: #fff; }
.btn--accent:hover { background: var(--accent-ink); transform: translateY(-1px); }
.btn--sm { height: 40px; padding: 0 1.1rem; font-size: .9rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }

.chip {
  display: inline-flex; align-items: center; gap: .45rem;
  height: 30px; padding: 0 .8rem; border-radius: 999px;
  font-size: .8rem; font-weight: 500;
  background: var(--accent-soft); color: var(--accent-ink); border: 1px solid var(--accent-line);
}
.chip--plain { background: #fff; color: var(--ink-2); border-color: var(--line); }
.chip .dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.chip .dot--live { background: var(--ok); box-shadow: 0 0 0 0 rgba(25,169,116,.5); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 7px rgba(25,169,116,0); } 100% { box-shadow: 0 0 0 0 rgba(25,169,116,0); } }

/* ---------- Navegación ---------- */
.nav {
  position: fixed; top: 14px; left: 50%; transform: translateX(-50%);
  z-index: 100; width: calc(100% - 2 * var(--gutter)); max-width: var(--wrap);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  height: 60px; padding: 0 10px 0 18px;
  background: rgba(255,255,255,.78); backdrop-filter: saturate(180%) blur(18px); -webkit-backdrop-filter: saturate(180%) blur(18px);
  border: 1px solid var(--line); border-radius: 999px;
  transition: box-shadow .4s var(--ease);
}
.nav.is-scrolled { box-shadow: var(--shadow); }
.nav__brand { display: flex; align-items: center; gap: .55rem; font-weight: 600; letter-spacing: -.03em; font-size: 1.05rem; }
.nav__brand img { width: 28px; height: 28px; }
.nav__links { display: flex; align-items: center; gap: .25rem; list-style: none; }
.nav__links a {
  display: inline-flex; align-items: center; height: 38px; padding: 0 .9rem; border-radius: 999px;
  font-size: .92rem; color: var(--ink-2); transition: background .2s, color .2s;
}
.nav__links a:hover { background: var(--surface); }
.nav__links a.is-active { color: var(--ink); background: var(--surface); font-weight: 500; }
.nav__cta { display: flex; align-items: center; gap: .5rem; }
.nav__links .caret { width: 14px; height: 14px; margin-left: 4px; transition: transform .3s var(--ease); }
.has-drop { position: relative; }
.has-drop:hover .caret, .has-drop:focus-within .caret { transform: rotate(180deg); }
.drop {
  position: absolute; top: calc(100% + 12px); left: 50%; width: 640px; padding: 10px;
  background: rgba(255,255,255,.96); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translate(-50%, 8px); transition: opacity .25s, transform .35s var(--ease), visibility .25s;
}
.drop::before { content: ''; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.has-drop:hover .drop, .has-drop:focus-within .drop { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.drop__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.drop__grid .mcard:last-child { grid-column: span 2; }
.drop .mcard { border-color: transparent; }
.drop .mcard:hover { background: var(--surface); border-color: transparent; }

/* Tarjeta de menú (escritorio y móvil) */
.nav__links .mcard, .mcard {
  display: flex; align-items: center; gap: .9rem; height: auto; padding: .8rem .9rem;
  border: 1px solid var(--line); border-radius: 18px; background: #fff; text-align: left;
  transition: border-color .2s, background .2s, transform .4s var(--ease);
}
.mcard__ico { flex: none; width: 44px; height: 44px; border-radius: 13px; background: var(--surface); display: grid; place-items: center; color: var(--ink); }
.mcard__ico img { width: 22px; height: 22px; object-fit: contain; }
.mcard__ico svg { width: 21px; height: 21px; }
.mcard b { display: block; font-size: .98rem; font-weight: 500; letter-spacing: -.01em; color: var(--ink); }
.mcard small { display: block; font-size: .84rem; color: var(--muted); line-height: 1.35; margin-top: 1px; }
.mcard:hover { border-color: var(--ink); }
.mcard--accent { background: var(--accent-soft); border-color: var(--accent-line); }
.mcard--accent .mcard__ico { background: #5865F2; color: #fff; }

/* Burger que se convierte en X */
.nav__burger { display: none; position: relative; width: 44px; height: 44px; border-radius: 50%; border: 0; background: transparent; cursor: pointer; }
.nav__burger span { position: absolute; left: 13px; right: 13px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .45s var(--ease), top .45s var(--ease); }
.nav__burger span:first-child { top: 17px; } .nav__burger span:last-child { top: 25px; }
.nav.is-menu .nav__burger span:first-child { top: 21px; transform: rotate(45deg); }
.nav.is-menu .nav__burger span:last-child { top: 21px; transform: rotate(-45deg); }

/* Menú móvil */
.mnav {
  position: fixed; inset: 0; z-index: 99; display: flex; flex-direction: column;
  background: rgba(255,255,255,.97); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  opacity: 0; pointer-events: none; transition: opacity .3s;
}
.mnav.is-open { opacity: 1; pointer-events: auto; }
.mnav__scroll { flex: 1; overflow-y: auto; padding: 96px var(--gutter) 20px; display: grid; gap: 8px; align-content: start; }
.mnav__label { font-size: .78rem; font-weight: 500; letter-spacing: .07em; text-transform: uppercase; color: var(--subtle); margin: 1rem 0 .2rem 4px; }
.mnav__label:first-child { margin-top: 0; }
.mnav .mcard { opacity: 0; transform: translateY(10px); }
.mnav.is-open .mcard { opacity: 1; transform: none; transition: opacity .5s var(--ease), transform .5s var(--ease), border-color .2s; }
.mnav.is-open .mcard:nth-of-type(1) { transition-delay: .03s; } .mnav.is-open .mcard:nth-of-type(2) { transition-delay: .06s; }
.mnav.is-open .mcard:nth-of-type(3) { transition-delay: .09s; } .mnav.is-open .mcard:nth-of-type(4) { transition-delay: .12s; }
.mnav.is-open .mcard:nth-of-type(5) { transition-delay: .15s; } .mnav.is-open .mcard:nth-of-type(6) { transition-delay: .18s; }
.mnav.is-open .mcard:nth-of-type(7) { transition-delay: .21s; } .mnav.is-open .mcard:nth-of-type(8) { transition-delay: .24s; }
.mnav__foot { padding: 12px var(--gutter) calc(16px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: #fff; }
.mnav__foot .btn { width: 100%; height: 52px; }

@media (max-width: 880px) {
  .nav__links, .nav__cta .btn--line { display: none; }
  .nav__burger { display: inline-block; }
}
@media (max-width: 400px) { .nav__audit { padding: 0 .9rem; font-size: .85rem; } .nav__brand { font-size: 0; gap: 0; } }

/* ---------- Hero ---------- */
.hero { padding: 150px 0 0; position: relative; }
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero__copy { display: grid; gap: 1.6rem; justify-items: start; }
.hero__copy .display em { font-style: normal; color: var(--accent); }
.hero__meta { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; font-size: .9rem; color: var(--muted); }
.hero__avatars { display: flex; }
.hero__avatars img { width: 34px; height: 34px; border-radius: 50%; border: 2px solid #fff; object-fit: cover; margin-left: -10px; }
.hero__avatars img:first-child { margin-left: 0; }
.hero__media { position: relative; border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 4/4.4; background: var(--surface); }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__float {
  position: absolute; left: 18px; right: 18px; bottom: 18px;
  display: flex; align-items: center; gap: .9rem; padding: .9rem 1rem;
  background: rgba(255,255,255,.9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,.7); border-radius: var(--r-md); box-shadow: var(--shadow);
  font-size: .88rem;
}
.hero__float b { display: block; font-weight: 600; }
.hero__float .ico { flex: none; width: 38px; height: 38px; border-radius: 10px; background: var(--accent-soft); color: var(--accent-ink); display: grid; place-items: center; }
.hero__float .ico svg { width: 18px; height: 18px; }
@media (max-width: 880px) {
  .hero { padding-top: 120px; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__media { aspect-ratio: 4/3.6; }
}

/* ---------- Banda de herramientas + métricas ---------- */
.proof { padding: clamp(4rem, 8vw, 6rem) 0 0; }
.proof__label { text-align: center; font-size: .85rem; color: var(--muted); margin-bottom: 1.6rem; }
.marquee { position: relative; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee__track { display: flex; gap: 14px; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.logo-tile {
  flex: none; display: flex; align-items: center; gap: .65rem;
  height: 56px; padding: 0 1.2rem; border: 1px solid var(--line); border-radius: 14px; background: #fff;
  font-size: .92rem; font-weight: 500; color: var(--ink-2);
}
.logo-tile img { width: 22px; height: 22px; object-fit: contain; }
.logo-tile img.mono { filter: grayscale(1) brightness(.15); }
.logo-tile:hover img.mono { filter: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: clamp(2.5rem, 5vw, 4rem); }
.stat {
  position: relative; overflow: hidden; padding: 1.6rem 1.5rem 1.4rem;
  border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff;
  display: grid; gap: .35rem; min-height: 200px; align-content: space-between;
  transition: border-color .3s, transform .5s var(--ease), box-shadow .5s var(--ease);
}
.stat:hover { border-color: var(--accent-line); transform: translateY(-3px); box-shadow: var(--shadow); }
.stat__num { font-size: clamp(2.4rem, 4vw, 3.4rem); font-weight: 600; letter-spacing: -.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.stat__num small { font-size: .5em; color: var(--accent); margin-left: 2px; letter-spacing: 0; }
.stat__label { font-size: .92rem; color: var(--muted); }
.stat__spark { height: 44px; width: 100%; }
.stat__spark path.line { fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 400; stroke-dashoffset: 400; transition: stroke-dashoffset 2.2s var(--ease); }
.stat__spark path.area { fill: url(#sparkFill); opacity: 0; transition: opacity 1.2s .8s; }
.stat.is-in .stat__spark path.line { stroke-dashoffset: 0; }
.stat.is-in .stat__spark path.area { opacity: 1; }
.stat__bars { display: flex; align-items: flex-end; gap: 5px; height: 44px; }
.stat__bars i { flex: 1; background: var(--accent-soft); border-radius: 4px; height: 0; transition: height 1.2s var(--ease); }
.stat__bars i:last-child { background: var(--accent); }
.stat__ring { width: 44px; height: 44px; }
.stat__ring circle.bg { stroke: var(--accent-soft); }
.stat__ring circle.fg { stroke: var(--accent); stroke-dasharray: 113; stroke-dashoffset: 113; transition: stroke-dashoffset 2s var(--ease); transform: rotate(-90deg); transform-origin: center; }
.stat.is-in .stat__ring circle.fg { stroke-dashoffset: 0; }
@media (max-width: 980px) { .stats { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .stats { grid-template-columns: 1fr; } .stat { min-height: 0; } }

/* ---------- Qué es Aldia ---------- */
.about { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.about__text { display: grid; gap: 1.2rem; }
.about__text p { color: var(--muted); font-size: 1.1rem; }
.about__text p strong { color: var(--ink); font-weight: 500; }
.pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.pillar { padding: 1.5rem; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; display: grid; gap: .6rem; align-content: start; }
.pillar__ico { width: 40px; height: 40px; border-radius: 12px; background: var(--surface); display: grid; place-items: center; margin-bottom: .4rem; }
.pillar__ico svg { width: 20px; height: 20px; }
.pillar p { font-size: .95rem; color: var(--muted); }
.pillar--accent { background: var(--accent-soft); border-color: var(--accent-line); }
.pillar--accent .pillar__ico { background: #fff; color: var(--accent-ink); }
@media (max-width: 880px) { .about { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .pillars { grid-template-columns: 1fr; } }

/* ---------- Tarjetas de servicio ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.svc {
  position: relative; display: flex; flex-direction: column; gap: 1rem;
  padding: 1.7rem; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff;
  transition: border-color .3s, transform .5s var(--ease), box-shadow .5s var(--ease);
}
.svc:hover { border-color: var(--ink); transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.svc__num { font-family: var(--mono); font-size: .78rem; color: var(--subtle); }
.svc p { color: var(--muted); font-size: .96rem; flex: 1; }
.svc__tools { display: flex; gap: 6px; flex-wrap: wrap; }
.svc__tools img { width: 28px; height: 28px; padding: 5px; border: 1px solid var(--line); border-radius: 8px; background: #fff; object-fit: contain; }
.svc__more { display: inline-flex; align-items: center; gap: .4rem; font-size: .9rem; font-weight: 500; }
.svc__more svg { width: 14px; height: 14px; transition: transform .4s var(--ease); }
.svc:hover .svc__more svg { transform: translateX(4px); }
@media (max-width: 980px) { .svc-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .svc-grid { grid-template-columns: 1fr; } }

/* ---------- Bandas destacadas (SaaS / Community) ---------- */
.band {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center;
  padding: clamp(2rem, 5vw, 3.5rem); border-radius: var(--r-xl); border: 1px solid var(--line); background: #fff;
}
.band--dark { background: var(--ink); color: #fff; border-color: var(--ink); }
.band--dark .lead, .band--dark .muted { color: rgba(255,255,255,.62); }
.band--dark .eyebrow { color: rgba(255,255,255,.6); }
.band--dark .btn--line { background: transparent; color: #fff; border-color: rgba(255,255,255,.25); }
.band--dark .btn--line:hover { border-color: #fff; }
.band--soft { background: var(--accent-soft); border-color: var(--accent-line); }
.band__copy { display: grid; gap: 1.2rem; align-content: start; }
@media (max-width: 880px) { .band { grid-template-columns: 1fr; } }

/* Mock de app dentro de bandas */
.mock { border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); overflow: hidden; color: var(--ink); }
.mock__bar { display: flex; align-items: center; gap: 6px; height: 38px; padding: 0 14px; border-bottom: 1px solid var(--line); background: var(--surface); }
.mock__bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-strong); }
.mock__bar span { margin-left: 10px; font-size: .75rem; color: var(--muted); font-family: var(--mono); }
.mock__body { padding: 18px; display: grid; gap: 12px; }
.mock__row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; font-size: .88rem; }
.mock__row b { font-weight: 600; }
.mock__kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mock__kpi { padding: 12px; border-radius: 12px; background: var(--surface); }
.mock__kpi small { display: block; font-size: .72rem; color: var(--muted); }
.mock__kpi b { font-size: 1.25rem; letter-spacing: -.03em; }
.mock__kpi--accent { background: var(--accent-soft); color: var(--accent-ink); }

/* Discord card */
.discord {
  border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg);
  padding: 1.5rem; display: grid; gap: 1.1rem; color: var(--ink); max-width: 420px; width: 100%; justify-self: center;
}
.discord__top { font-size: .78rem; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.discord__srv { display: flex; align-items: center; gap: 14px; }
.discord__srv img { width: 56px; height: 56px; border-radius: 16px; }
.discord__srv b { font-size: 1.15rem; letter-spacing: -.02em; display: block; }
.discord__srv small { color: var(--muted); font-size: .85rem; display: flex; gap: 12px; }
.discord__srv small span::before { content: ''; display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 5px; background: var(--ok); }
.discord__srv small span + span::before { background: var(--subtle); }
.discord .btn { width: 100%; }

/* ---------- Proceso (cómo trabajamos) ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; counter-reset: s; }
.step { padding: 1.5rem; border-top: 2px solid var(--line); display: grid; gap: .55rem; align-content: start; transition: border-color .4s; }
.step:hover { border-color: var(--accent); }
.step__n { font-family: var(--mono); font-size: .8rem; color: var(--accent-ink); }
.step p { font-size: .95rem; color: var(--muted); }
@media (max-width: 880px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* ---------- CTA final ---------- */
.cta {
  position: relative; overflow: hidden; text-align: center;
  padding: clamp(3rem, 8vw, 6rem) var(--gutter); border-radius: var(--r-xl);
  background: var(--ink); color: #fff; display: grid; gap: 1.4rem; justify-items: center;
}
.cta .lead { color: rgba(255,255,255,.62); margin: 0 auto; }
.cta::before {
  content: ''; position: absolute; width: 520px; height: 520px; border-radius: 50%;
  background: radial-gradient(circle, rgba(91,140,255,.35), transparent 65%);
  top: -260px; left: 50%; transform: translateX(-50%); pointer-events: none;
}
.cta > * { position: relative; }
.cta .btn--line { background: transparent; color: #fff; border-color: rgba(255,255,255,.25); }

/* ---------- Page hero (páginas internas) ---------- */
.phero { padding: 160px 0 clamp(3rem, 6vw, 5rem); }
.phero .wrap { display: grid; gap: 1.4rem; max-width: 900px; }
.phero--center .wrap { text-align: center; justify-items: center; }
.anchors { display: flex; flex-wrap: wrap; gap: 8px; margin-top: .6rem; }
.anchors a { height: 38px; display: inline-flex; align-items: center; padding: 0 1rem; border-radius: 999px; border: 1px solid var(--line); font-size: .9rem; transition: border-color .2s, background .2s; }
.anchors a:hover { border-color: var(--ink); }

/* ---------- Servicio en detalle ---------- */
.service { padding: clamp(4rem, 8vw, 6.5rem) 0; border-top: 1px solid var(--line); scroll-margin-top: 80px; }
.service__head { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: end; margin-bottom: clamp(2rem, 4vw, 3rem); }
.service__head .h2 span { color: var(--subtle); }
.service__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 14px; }
.panel { border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; padding: 1.5rem; }
.panel--surface { background: var(--surface); border-color: transparent; }
.panel h4 { font-size: .8rem; font-weight: 500; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); margin-bottom: 1rem; }
.checks { list-style: none; display: grid; gap: .7rem; }
.checks li { display: flex; gap: .7rem; font-size: .97rem; }
.checks li::before { content: ''; flex: none; width: 18px; height: 18px; margin-top: 3px; border-radius: 50%; background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232F62E0' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/11px no-repeat; }
.toolset { display: flex; flex-wrap: wrap; gap: 8px; }
.tool { display: inline-flex; align-items: center; gap: .5rem; height: 36px; padding: 0 .8rem 0 .55rem; border: 1px solid var(--line); border-radius: 10px; background: #fff; font-size: .85rem; }
.tool img { width: 20px; height: 20px; object-fit: contain; }
.service__side { display: grid; gap: 14px; align-content: start; }
@media (max-width: 880px) { .service__head, .service__grid { grid-template-columns: 1fr; } }

/* Hueco de vídeo explicativo */
.video-slot {
  position: relative; aspect-ratio: 16/9; border-radius: var(--r-lg); overflow: hidden;
  background: linear-gradient(135deg, var(--surface), var(--accent-soft)); border: 1px solid var(--line);
  display: grid; place-items: center; text-align: center;
}
.video-slot video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.video-slot__inner { display: grid; justify-items: center; gap: .8rem; padding: 1rem; }
.video-slot__play { width: 64px; height: 64px; border-radius: 50%; background: #fff; box-shadow: var(--shadow); display: grid; place-items: center; transition: transform .4s var(--ease); }
.video-slot:hover .video-slot__play { transform: scale(1.06); }
.video-slot__play svg { width: 20px; height: 20px; margin-left: 3px; color: var(--ink); }
.video-slot__inner small { font-size: .85rem; color: var(--muted); }

/* Demo interactiva (flujo) */
.flow { display: grid; gap: 10px; }
.flow__node {
  display: flex; align-items: center; gap: .8rem; padding: .85rem 1rem; border-radius: 14px;
  border: 1px solid var(--line); background: #fff; font-size: .92rem;
  transition: border-color .3s, background .3s, transform .4s var(--ease);
}
.flow__node img { width: 24px; height: 24px; object-fit: contain; flex: none; }
.flow__node small { margin-left: auto; font-family: var(--mono); font-size: .72rem; color: var(--subtle); }
.flow__node.is-on { border-color: var(--accent); background: var(--accent-soft); transform: translateX(6px); }
.flow__node.is-on small { color: var(--accent-ink); }
.flow__link { width: 2px; height: 12px; background: var(--line); margin-left: 24px; }
.flow__run { margin-top: .4rem; }

/* Caso de portfolio */
.case { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: #fff; margin-top: 14px; }
.case__media { background: var(--surface); min-height: 260px; display: grid; place-items: center; padding: 1.5rem; }
.case__body { padding: 1.6rem; display: grid; gap: .9rem; align-content: start; }
.case__body p { color: var(--muted); font-size: .96rem; }
.case__tag { font-size: .75rem; font-family: var(--mono); color: var(--accent-ink); }
.case__kpis { display: flex; gap: 1.5rem; flex-wrap: wrap; padding-top: .4rem; border-top: 1px solid var(--line); }
.case__kpis div { display: grid; }
.case__kpis b { font-size: 1.3rem; letter-spacing: -.03em; }
.case__kpis small { font-size: .8rem; color: var(--muted); }
.case--empty .case__media { color: var(--subtle); font-size: .9rem; }
@media (max-width: 760px) { .case { grid-template-columns: 1fr; } }

/* ---------- Portfolio SaaS ---------- */
.work { display: grid; grid-template-columns: repeat(12, 1fr); gap: 14px; }
.work__item { grid-column: span 6; border: 1px solid var(--line); border-radius: var(--r-xl); overflow: hidden; background: #fff; display: flex; flex-direction: column; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.work__item:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.work__item--wide { grid-column: span 12; flex-direction: row; }
.work__item--wide .work__media { flex: 1.2; min-height: 420px; }
.work__item--wide .work__body { flex: 1; }
.work__media { position: relative; background: var(--surface); min-height: 300px; display: grid; place-items: center; overflow: hidden; padding: 2rem; }
.work__body { padding: 1.8rem; display: grid; gap: 1rem; align-content: start; }
.work__body p { color: var(--muted); }
.work__meta { display: flex; flex-wrap: wrap; gap: 6px; }
.work__soon { border-style: dashed; background: transparent; }
.work__soon .work__media { background: transparent; color: var(--subtle); }
@media (max-width: 880px) { .work__item, .work__item--wide { grid-column: span 12; flex-direction: column; } .work__item--wide .work__media { min-height: 300px; } }

/* Teléfono mock */
.stars { color: #F5B301; letter-spacing: 1px; }

/* ---------- Comunidad ---------- */
.perks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.perk { padding: 1.6rem; border: 1px solid var(--line); border-radius: var(--r-lg); display: grid; gap: .6rem; align-content: start; background: #fff; }
.perk p { color: var(--muted); font-size: .95rem; }
.perk .pillar__ico { background: var(--accent-soft); color: var(--accent-ink); }
@media (max-width: 880px) { .perks { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .perks { grid-template-columns: 1fr; } }

/* ---------- Formularios ---------- */
.field { display: grid; gap: .45rem; }
.field label { font-size: .88rem; font-weight: 500; }
.field label small { color: var(--subtle); font-weight: 400; }
.input, .textarea, .select {
  width: 100%; height: 50px; padding: 0 1rem; border: 1px solid var(--line-strong); border-radius: 12px; background: #fff;
  font-size: 1rem; transition: border-color .2s, box-shadow .2s; outline: none;
}
.textarea { height: auto; min-height: 120px; padding: .85rem 1rem; resize: vertical; }
.input:focus, .textarea:focus, .select:focus { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.input.is-error { border-color: #E5484D; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }

.options { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; }
.option { position: relative; cursor: pointer; }
.option input { position: absolute; opacity: 0; pointer-events: none; }
.option span {
  display: flex; align-items: center; gap: .6rem; min-height: 54px; padding: .7rem 1rem;
  border: 1px solid var(--line-strong); border-radius: 12px; font-size: .94rem; background: #fff;
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.option span img { width: 20px; height: 20px; object-fit: contain; }
.option:hover span { border-color: var(--ink); }
.option input:checked + span { border-color: var(--accent); background: var(--accent-soft); box-shadow: 0 0 0 1px var(--accent) inset; }
.option input:focus-visible + span { box-shadow: 0 0 0 4px var(--accent-soft); }

/* Wizard auditoría */
.audit { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.audit__aside { position: sticky; top: 110px; display: grid; gap: 1.4rem; }
.audit__card { border: 1px solid var(--line); border-radius: var(--r-xl); background: #fff; padding: clamp(1.4rem, 4vw, 2.4rem); box-shadow: var(--shadow); }
.progress { display: flex; gap: 6px; margin-bottom: 1.8rem; }
.progress i { flex: 1; height: 4px; border-radius: 4px; background: var(--line); transition: background .4s; }
.progress i.is-done { background: var(--accent); }
.wstep { display: none; gap: 1.4rem; animation: stepIn .5s var(--ease); }
.wstep.is-active { display: grid; }
@keyframes stepIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.wstep__head { display: grid; gap: .35rem; }
.wstep__head small { font-family: var(--mono); font-size: .78rem; color: var(--accent-ink); }
.wnav { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: .6rem; }
.wnav .btn--ghost { background: none; border: none; color: var(--muted); padding: 0; height: auto; cursor: pointer; }
.wnav .btn--ghost:hover { color: var(--ink); }
.timeline { list-style: none; display: grid; gap: 1rem; }
.timeline li { display: grid; grid-template-columns: 28px 1fr; gap: .8rem; font-size: .95rem; }
.timeline li span { width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; font-size: .78rem; font-family: var(--mono); }
.timeline li p { color: var(--muted); font-size: .9rem; }
.done { text-align: center; display: grid; gap: 1rem; justify-items: center; }
.done__ico { width: 64px; height: 64px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-ink); display: grid; place-items: center; }
.done__ico svg { width: 28px; height: 28px; }
.calendly-box { width: 100%; min-height: 680px; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); }
@media (max-width: 880px) { .audit { grid-template-columns: 1fr; } .audit__aside { position: static; } }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.4rem 0; font-size: 1.08rem; font-weight: 500; letter-spacing: -.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 1.4rem; font-weight: 300; color: var(--muted); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 1.4rem; color: var(--muted); max-width: 680px; }

/* ---------- Footer ---------- */
.footer { padding: clamp(4rem, 8vw, 6rem) 0 2rem; border-top: 1px solid var(--line); margin-top: var(--section); }
.footer__top { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 2rem; padding-bottom: 3rem; }
.footer__brand { display: grid; gap: 1rem; align-content: start; max-width: 300px; }
.footer__brand .nav__brand { font-size: 1.2rem; }
.footer__brand p { color: var(--muted); font-size: .95rem; }
.footer h5 { font-size: .8rem; font-weight: 500; text-transform: uppercase; letter-spacing: .07em; color: var(--subtle); margin-bottom: 1rem; }
.footer ul { list-style: none; display: grid; gap: .6rem; }
.footer ul a { color: var(--ink-2); font-size: .95rem; transition: color .2s; }
.footer ul a:hover { color: var(--accent-ink); }
.social { display: flex; gap: 8px; flex-wrap: wrap; }
.social a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: border-color .2s, background .2s, color .2s; }
.social a:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.social svg { width: 17px; height: 17px; fill: currentColor; }
.footer__word { font-size: clamp(5rem, 20vw, 16rem); font-weight: 600; letter-spacing: -.07em; line-height: .8; color: var(--surface); user-select: none; margin: 1rem 0 2rem; overflow: hidden; white-space: nowrap; }
.footer__word span { color: var(--accent-soft); }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; padding-top: 1.5rem; border-top: 1px solid var(--line); font-size: .85rem; color: var(--muted); }
.footer__bottom nav { display: flex; gap: 1.2rem; flex-wrap: wrap; }
.footer__bottom a:hover { color: var(--ink); }
@media (max-width: 880px) { .footer__top { grid-template-columns: 1fr 1fr; } .footer__brand { grid-column: 1 / -1; } }

/* ---------- Legal ---------- */
.legal { padding: 150px 0 0; }
.legal .wrap { max-width: 820px; }
.legal h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); letter-spacing: -.045em; line-height: 1.05; font-weight: 600; margin-bottom: 2.5rem; }
.legal h2 { font-size: 1.2rem; letter-spacing: -.02em; font-weight: 600; margin: 2.4rem 0 .8rem; }
.legal p, .legal li { color: var(--muted); margin-bottom: .8rem; }
.legal ul { padding-left: 1.2rem; }
.legal a { color: var(--accent-ink); }
.legal strong { color: var(--ink); font-weight: 500; }

/* ---------- Animación de entrada ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.d1 { transition-delay: .08s; } .d2 { transition-delay: .16s; } .d3 { transition-delay: .24s; } .d4 { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Escenario de partículas (home) ---------- */
.hero__media--stage { background: radial-gradient(120% 90% at 50% 30%, #FFFFFF 0%, var(--accent-soft) 70%, #E3ECFF 100%); border: 1px solid var(--accent-line); }
.pstage { position: absolute; inset: 0; cursor: crosshair; touch-action: pan-y; }
.pstage canvas { display: block; }
.about__photo { margin-top: 1rem; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4/3; background: var(--surface); }
.about__photo img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Botón Discord ---------- */
.btn--discord { background: #5865F2; color: #fff; }
.btn--discord:hover { background: #4752C4; transform: translateY(-1px); box-shadow: 0 12px 30px rgba(88,101,242,.35); }
.btn--discord svg { width: 18px; height: 18px; }
.btn--discord:hover svg { transform: none; }

/* ---------- Escenario Community ---------- */
.cstage { position: relative; overflow: hidden; background: #0A0C18; color: #fff; padding: 150px 0 clamp(4rem, 8vw, 7rem); isolation: isolate; }
.cstage__bg { position: absolute; inset: 0; z-index: -1; }
.cstage__glow { position: absolute; z-index: -1; inset: 0; pointer-events: none;
  background: radial-gradient(40% 50% at 72% 50%, rgba(88,101,242,.38), transparent 70%), radial-gradient(30% 40% at 15% 90%, rgba(91,140,255,.18), transparent 70%); }
.cstage__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.cstage__copy { display: grid; gap: 1.5rem; justify-items: start; }
.cstage .lead { color: rgba(255,255,255,.66); }
.cstage .btn--line { background: transparent; color: #fff; border-color: rgba(255,255,255,.22); }
.cstage .btn--line:hover { border-color: #fff; }
.cstage__hero { position: relative; aspect-ratio: 1; max-width: 560px; width: 100%; justify-self: center; perspective: 900px; }
.cstage__logo { position: absolute; inset: 6%; width: 88%; height: 88%; object-fit: contain;
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .6s var(--ease);
  -webkit-mask-image: radial-gradient(circle, #000 55%, transparent 72%); mask-image: radial-gradient(circle, #000 55%, transparent 72%);
  filter: drop-shadow(0 40px 60px rgba(88,101,242,.45)); }
.cstage__ring { position: absolute; inset: 10%; border-radius: 50%; border: 1px solid rgba(160,180,255,.18); animation: spin 40s linear infinite; }
.cstage__ring::before, .cstage__ring::after { content: ""; position: absolute; border-radius: 50%; }
.cstage__ring::before { inset: -9%; border: 1px dashed rgba(160,180,255,.12); }
.cstage__ring::after { width: 10px; height: 10px; background: #8FA2FF; top: -5px; left: 50%; box-shadow: 0 0 16px #8FA2FF; }
@keyframes spin { to { transform: rotate(360deg); } }
.orb { position: absolute; font: 500 .82rem var(--mono); color: #DDE4FF; padding: .45rem .8rem; border-radius: 999px;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  animation: float 6s ease-in-out infinite; white-space: nowrap; }
.orb--1 { top: 8%; left: 0; } .orb--2 { top: 20%; right: -4%; animation-delay: -1.5s; }
.orb--3 { bottom: 26%; left: -6%; animation-delay: -3s; } .orb--4 { bottom: 12%; right: 2%; animation-delay: -4.5s; }
@keyframes float { 50% { transform: translateY(-12px); } }
.cstage__card { position: absolute; left: 50%; bottom: -2%; transform: translateX(-50%); display: flex; align-items: center; gap: .8rem;
  padding: .7rem .7rem .7rem .8rem; border-radius: 18px; background: rgba(20,24,46,.72); border: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: 0 20px 50px rgba(0,0,0,.35); white-space: nowrap; }
.cstage__card img { width: 40px; height: 40px; border-radius: 12px; }
.cstage__card b { display: block; font-size: .95rem; font-weight: 600; }
.cstage__card small { display: flex; align-items: center; gap: 6px; font-size: .78rem; color: rgba(255,255,255,.6); }
.cstage__card small i { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); }
@media (max-width: 880px) {
  .cstage { padding-top: 120px; }
  .cstage__grid { grid-template-columns: 1fr; }
  .cstage__hero { max-width: 420px; }
  .orb { font-size: .72rem; }
  .orb--2 { right: 0; } .orb--3 { left: 0; }
}

/* ---------- Aviso de cookies ---------- */
.ck { position: fixed; left: 50%; bottom: 20px; z-index: 1100; width: min(580px, calc(100% - 24px));
  transform: translate(-50%, calc(100% + 40px)); transition: transform .7s var(--ease);
  background: rgba(14,14,14,.94); color: #fff; border-radius: 22px; padding: 6px; box-shadow: 0 30px 80px rgba(14,14,14,.3);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); font-size: .9rem; }
.ck.is-on { transform: translate(-50%, 0); }
.ck__row { display: flex; align-items: center; gap: .9rem; padding: 8px 8px 8px 12px; }
.ck__ico { flex: none; width: 38px; height: 38px; border-radius: 12px; background: rgba(91,140,255,.18); color: #A9C1FF; display: grid; place-items: center; }
.ck__ico svg { width: 19px; height: 19px; }
.ck__txt { flex: 1; line-height: 1.4; color: rgba(255,255,255,.8); }
.ck__txt b { color: #fff; font-weight: 500; }
.ck__txt a { color: #A9C1FF; text-decoration: underline; text-underline-offset: 2px; }
.ck__btns { display: flex; gap: 6px; flex: none; }
.ck__b { height: 38px; padding: 0 1rem; border-radius: 999px; border: 1px solid rgba(255,255,255,.18); background: transparent; color: #fff; font-size: .86rem; font-weight: 500; cursor: pointer; transition: background .2s, border-color .2s; white-space: nowrap; font-family: inherit; }
.ck__b:hover { border-color: #fff; }
.ck__b--ok { background: #fff; color: var(--ink); border-color: #fff; }
.ck__b--ok:hover { background: var(--accent-soft); }
.ck__more { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); }
.ck.is-open .ck__more { grid-template-rows: 1fr; }
.ck__more > div { overflow: hidden; }
.ck__cats { display: grid; gap: 4px; padding: 4px 6px 6px; }
.ck__cat { display: flex; align-items: center; gap: 1rem; padding: .75rem .9rem; border-radius: 14px; background: rgba(255,255,255,.06); }
.ck__cat div { flex: 1; }
.ck__cat b { display: block; font-weight: 500; font-size: .9rem; }
.ck__cat small { color: rgba(255,255,255,.55); font-size: .8rem; }
.ck__sw { position: relative; width: 42px; height: 24px; flex: none; }
.ck__sw input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; z-index: 1; }
.ck__sw span { position: absolute; inset: 0; border-radius: 999px; background: rgba(255,255,255,.18); transition: background .25s; }
.ck__sw span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: transform .35s var(--ease); }
.ck__sw input:checked + span { background: var(--accent); }
.ck__sw input:checked + span::after { transform: translateX(18px); }
.ck__sw input:disabled + span { opacity: .55; }
.ck__save { display: flex; justify-content: flex-end; padding: 2px 6px 6px; }
@media (max-width: 600px) {
  .ck { bottom: 12px; }
  .ck__row { flex-wrap: wrap; }
  .ck__btns { width: 100%; }
  .ck__btns .ck__b { flex: 1; }
}

/* ---------- Portada original (home) ---------- */
.hero-split { position: relative; width: 100%; min-height: 100vh; background: #fff; display: flex; align-items: center; padding: 0 10%; overflow: hidden; }
.hero-image { position: absolute; top: 0; left: 0; width: 60%; height: 100%; object-fit: contain; object-position: left center; pointer-events: none; z-index: 1; opacity: .9; }
.hero-content { position: relative; z-index: 2; margin-left: auto; max-width: 600px; text-align: right; opacity: 0; animation: fadeLeft 1s var(--ease) .1s forwards; }
.hero-content h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); line-height: 1; margin-bottom: 2rem; font-weight: 700; letter-spacing: -.04em; color: var(--ink); }
.hero-content p { font-size: clamp(1rem, 1.2vw, 1.15rem); line-height: 1.6; color: #555; max-width: 500px; margin-left: auto; }
@keyframes fadeLeft { from { opacity: 0; transform: translateX(30px); } to { opacity: 1; transform: none; } }
@media (max-width: 1024px) {
  .hero-split { flex-direction: column; justify-content: center; padding: 8rem 0 4rem; text-align: center; min-height: 100svh; }
  /* en tablet y móvil la portada va sin la foto: solo el titular (Alejandro, 23-11) */
  .hero-image { display: none; }
  .hero-content { margin: 0; text-align: center; max-width: 100%; padding: 0 5%; }
  .hero-content p { margin: 0 auto; }
}
@media (max-width: 640px) {
  .hero-split { padding-top: 7rem; }
  .hero-content h1 { margin-bottom: 1.5rem; }
}

/* Logo de partículas en «Qué es Aldia» */
.about__stage { position: relative; margin-top: 1rem; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4/3.2;
  background: radial-gradient(120% 90% at 50% 30%, #FFFFFF 0%, var(--accent-soft) 70%, #E3ECFF 100%); border: 1px solid var(--accent-line); }

/* ---------- Cabecera original de Servicios (globo) ---------- */
.hero-servicios { position: relative; width: 100%; min-height: 100vh; background: #fff; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; padding-top: max(12rem, 18vh); overflow: hidden; text-align: center; }
.hero-servicios-content { position: relative; z-index: 20; max-width: 1400px; padding: 0 5%; margin-bottom: 8rem; }
.hero-servicios-content h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); font-weight: 500; letter-spacing: -.04em; line-height: 1; margin-bottom: 2.5rem; color: var(--ink); }
.hero-servicios-content p { font-size: clamp(1rem, 1.2vw, 1.15rem); color: #555; max-width: 600px; margin: 0 auto; line-height: 1.6; font-weight: 300; }
.globe-wrapper { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 10; pointer-events: none; }
.hero-globe__canvas { width: 100%; height: 100%; pointer-events: auto; }
@media (max-width: 1024px) { .hero-servicios { padding-top: 10rem; } .hero-servicios-content h1 { font-size: 3rem; } }
@media (max-width: 768px) {
  .hero-servicios { min-height: 80vh; padding: 100px 30px 0; align-items: flex-start; }
  .hero-servicios-content { max-width: 100%; text-align: left; margin-bottom: 25px; padding: 0; }
  .hero-servicios-content h1 { font-size: clamp(1.8rem, 8vw, 2.4rem); font-weight: 700; line-height: 1.1; margin-bottom: 15px; }
  .hero-servicios-content p { font-size: 1rem; line-height: 1.4; color: #333; max-width: 100%; margin: 0; }
  .globe-wrapper { position: relative; width: 130%; left: -15%; margin-top: 10px; height: 280px; z-index: 1; }
  .hero-globe__canvas { mask-image: radial-gradient(circle at center, black, transparent 75%); -webkit-mask-image: radial-gradient(circle at center, black, transparent 75%); }
}

/* ---------- Selector interactivo de servicios ---------- */
.svx-head { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: clamp(2rem, 4vw, 3rem); flex-wrap: wrap; }
.svx { display: grid; grid-template-columns: .85fr 1.15fr; gap: 14px; align-items: stretch; }
.svx__list { display: grid; gap: 6px; align-content: start; }
.svx__tab {
  position: relative; overflow: hidden; display: grid; grid-template-columns: 34px 1fr; column-gap: .6rem; align-items: baseline;
  text-align: left; padding: 1.1rem 1.2rem; border: 1px solid transparent; border-radius: 18px; background: transparent; cursor: pointer;
  transition: background .3s, border-color .3s;
}
.svx__tab:hover { background: var(--surface); }
.svx__tab.is-active { background: #fff; border-color: var(--line); box-shadow: var(--shadow); }
.svx__n { font-family: var(--mono); font-size: .78rem; color: var(--subtle); transition: color .3s; }
.svx__tab.is-active .svx__n { color: var(--accent-ink); }
.svx__t { font-size: clamp(1.05rem, 1.6vw, 1.3rem); font-weight: 500; letter-spacing: -.02em; color: var(--muted); transition: color .3s; }
.svx__tab.is-active .svx__t, .svx__tab:hover .svx__t { color: var(--ink); }
.svx__d { grid-column: 2; display: grid; grid-template-rows: 0fr; font-size: .93rem; color: var(--muted); transition: grid-template-rows .5s var(--ease), margin .5s var(--ease); overflow: hidden; }
.svx__d::before { content: ""; }
.svx__tab .svx__d { max-height: 0; opacity: 0; transition: max-height .5s var(--ease), opacity .4s, margin .5s var(--ease); }
.svx__tab.is-active .svx__d { max-height: 4em; opacity: 1; margin-top: .35rem; }
.svx__bar { position: absolute; left: 1.2rem; right: 1.2rem; bottom: 0; height: 2px; background: var(--line); border-radius: 2px; opacity: 0; }
.svx__bar::after { content: ""; position: absolute; inset: 0; background: var(--accent); border-radius: 2px; transform-origin: left; transform: scaleX(var(--p, 0)); }
.svx__tab.is-active .svx__bar { opacity: 1; }

.svx__stage {
  position: relative; overflow: hidden; min-height: 460px; border-radius: var(--r-xl); border: 1px solid var(--line);
  background: linear-gradient(160deg, #fff 0%, var(--surface) 55%, var(--accent-soft) 100%);
  transform: perspective(1200px) rotateX(var(--tx, 0deg)) rotateY(var(--ty, 0deg)); transition: transform .6s var(--ease);
  background-image: radial-gradient(circle at 1px 1px, rgba(14,14,14,.06) 1px, transparent 0), linear-gradient(160deg, #fff 0%, var(--surface) 55%, var(--accent-soft) 100%);
  background-size: 22px 22px, 100% 100%;
}
.svx__spot { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(360px circle at var(--mx, 70%) var(--my, 30%), rgba(91,140,255,.16), transparent 60%); transition: background .2s; }
.svx__pane { position: absolute; inset: 0; display: none; flex-direction: column; justify-content: space-between; padding: clamp(1.4rem, 3vw, 2.2rem); }
.svx__pane.is-active { display: flex; animation: paneIn .6s var(--ease); }
@keyframes paneIn { from { opacity: 0; transform: translateY(14px) scale(.985); } to { opacity: 1; transform: none; } }
.svx__foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-top: 1rem; }
.svx__tools { display: flex; gap: 6px; }
.svx__tools img { width: 34px; height: 34px; padding: 7px; border-radius: 10px; background: #fff; border: 1px solid var(--line); object-fit: contain; }

/* Escena 1 · flujo */
.vflow { display: grid; justify-items: start; max-width: 380px; margin: auto; width: 100%; }
.vflow__n { display: flex; align-items: center; gap: .8rem; width: 100%; padding: .85rem 1rem; border-radius: 14px; background: #fff; border: 1px solid var(--line); font-size: .95rem; font-weight: 500;
  opacity: .45; animation: nodeOn .5s var(--ease) forwards; }
.vflow__n img { width: 24px; height: 24px; }
.vflow__n:nth-of-type(1) { animation-delay: .2s; } .vflow__n:nth-of-type(2) { animation-delay: 1s; } .vflow__n:nth-of-type(3) { animation-delay: 1.8s; } .vflow__n:nth-of-type(4) { animation-delay: 2.6s; }
@keyframes nodeOn { to { opacity: 1; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); } }
.vflow__l { position: relative; width: 2px; height: 22px; margin-left: 27px; background: var(--line); overflow: hidden; }
.vflow__l i { position: absolute; left: 0; width: 2px; height: 10px; background: var(--accent); top: -10px; animation: packet .6s linear forwards; }
.vflow__l:nth-of-type(2) i { animation-delay: .6s; } .vflow__l:nth-of-type(4) i { animation-delay: 1.4s; } .vflow__l:nth-of-type(6) i { animation-delay: 2.2s; }
@keyframes packet { to { top: 22px; } }
.vflow__ok { margin-top: 1rem; font-size: .88rem; color: var(--ok); font-weight: 500; opacity: 0; animation: fadeUp .5s var(--ease) 3.3s forwards; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* Escena 2 · chat */
.vchat { display: flex; flex-direction: column; gap: 8px; max-width: 400px; width: 100%; margin: auto; }
.vchat__m { max-width: 82%; padding: .7rem .95rem; border-radius: 18px; font-size: .93rem; opacity: 0; animation: fadeUp .45s var(--ease) var(--d) forwards; }
.vchat__u { align-self: flex-end; background: var(--ink); color: #fff; border-bottom-right-radius: 6px; }
.vchat__b { align-self: flex-start; background: #fff; border: 1px solid var(--line); border-bottom-left-radius: 6px; }
.vchat__typing { align-self: flex-start; display: inline-flex; gap: 4px; padding: .8rem 1rem; background: #fff; border: 1px solid var(--line); border-radius: 18px; opacity: 0; animation: fadeUp .4s var(--ease) var(--d) forwards; }
.vchat__typing span { width: 6px; height: 6px; border-radius: 50%; background: var(--subtle); animation: acDot 1.2s infinite; }
.vchat__typing span:nth-child(2) { animation-delay: .15s; } .vchat__typing span:nth-child(3) { animation-delay: .3s; }
@keyframes acDot { 0%, 60%, 100% { opacity: .3; transform: none; } 30% { opacity: 1; transform: translateY(-3px); } }

/* Escena 3 · app */
.vapp { display: flex; gap: 10px; margin: auto; width: 100%; max-width: 460px; padding: 10px; border-radius: 20px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.vapp__side { display: grid; gap: 8px; align-content: start; padding: 6px; border-radius: 12px; background: var(--surface); }
.vapp__side i { width: 26px; height: 26px; border-radius: 8px; background: #fff; border: 1px solid var(--line); }
.vapp__side i.on { background: var(--accent); border-color: var(--accent); }
.vapp__main { flex: 1; display: grid; gap: 10px; }
.vapp__kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.vapp__kpis div { padding: .7rem; border-radius: 12px; background: var(--surface); opacity: 0; animation: fadeUp .5s var(--ease) forwards; }
.vapp__kpis div:nth-child(2) { animation-delay: .15s; } .vapp__kpis div:nth-child(3) { animation-delay: .3s; }
.vapp__kpis .acc { background: var(--accent-soft); color: var(--accent-ink); }
.vapp__kpis small { display: block; font-size: .7rem; color: var(--muted); }
.vapp__kpis b { font-size: 1.15rem; letter-spacing: -.03em; }
.vapp__chart { display: flex; align-items: flex-end; gap: 6px; height: 90px; padding: 8px; border-radius: 12px; background: var(--surface); }
.vapp__chart i { flex: 1; border-radius: 5px 5px 2px 2px; background: var(--accent-line); height: 0; animation: grow 1s var(--ease) forwards; }
.vapp__chart i:last-child { background: var(--accent); }
.vapp__chart i:nth-child(2) { animation-delay: .08s; } .vapp__chart i:nth-child(3) { animation-delay: .16s; } .vapp__chart i:nth-child(4) { animation-delay: .24s; } .vapp__chart i:nth-child(5) { animation-delay: .32s; } .vapp__chart i:nth-child(6) { animation-delay: .4s; } .vapp__chart i:nth-child(7) { animation-delay: .48s; }
@keyframes grow { to { height: var(--h); } }
.vapp__row { display: flex; justify-content: space-between; font-size: .82rem; padding: .55rem .7rem; border-radius: 10px; border: 1px solid var(--line); opacity: 0; animation: fadeUp .5s var(--ease) .7s forwards; }
.vapp__row + .vapp__row { animation-delay: .9s; }
.vapp__row em { font-style: normal; color: var(--accent-ink); font-weight: 500; }

/* Escena 4 · web */
.vweb { margin: auto; width: 100%; max-width: 470px; border-radius: 16px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); overflow: hidden; }
.vweb__bar { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; background: var(--surface); border-bottom: 1px solid var(--line); }
.vweb__bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-strong); }
.vweb__bar span { margin-left: 8px; font: .72rem var(--mono); color: var(--muted); }
.vweb__body { display: flex; gap: 16px; padding: 18px; align-items: center; }
.vweb__page { flex: 1; display: grid; gap: 8px; }
.vweb__page > i { display: block; height: 9px; border-radius: 5px; background: var(--surface); transform-origin: left; transform: scaleX(0); animation: build .6s var(--ease) forwards; }
.vweb__page > i.big { height: 16px; background: var(--ink); animation-delay: .15s; }
.vweb__page > i.w60 { width: 40%; } .vweb__page > i.w90 { width: 90%; } .vweb__page > i.w75 { width: 75%; animation-delay: .3s; }
.vweb__page > i.vcta { width: 34%; height: 22px; border-radius: 999px; background: var(--accent); animation-delay: .45s; }
.vweb__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 6px; }
.vweb__cards i { height: 46px; border-radius: 8px; background: var(--surface); opacity: 0; animation: fadeUp .5s var(--ease) .6s forwards; }
.vweb__cards i:nth-child(2) { animation-delay: .7s; } .vweb__cards i:nth-child(3) { animation-delay: .8s; }
@keyframes build { to { transform: scaleX(1); } }
.vweb__score { position: relative; width: 96px; flex: none; display: grid; justify-items: center; text-align: center; }
.vweb__score svg { width: 80px; height: 80px; transform: rotate(-90deg); }
.vweb__score circle { fill: none; stroke-width: 7; }
.vweb__score .bg { stroke: var(--accent-soft); }
.vweb__score .fg { stroke: var(--ok); stroke-linecap: round; stroke-dasharray: 214; stroke-dashoffset: 214; animation: ring 1.6s var(--ease) .5s forwards; }
@keyframes ring { to { stroke-dashoffset: 0; } }
.vweb__score b { position: absolute; top: 25px; font-size: 1.35rem; letter-spacing: -.04em; color: var(--ok); }
.vweb__score small { font-size: .72rem; color: var(--muted); margin-top: 4px; }

/* Escena 5 · SaaS */
.vsaas { position: relative; margin: auto; width: 100%; max-width: 470px; padding: 18px; border-radius: 18px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.vsaas__top { display: flex; justify-content: space-between; align-items: start; }
.vsaas__top small { display: block; font-size: .75rem; color: var(--muted); }
.vsaas__top b { font-size: 1.5rem; letter-spacing: -.04em; }
.vsaas__up { font-size: .8rem; color: var(--ok); font-weight: 500; }
.vsaas__chart { width: 100%; height: 130px; margin-top: 10px; }
.vsaas__chart .line { fill: none; stroke: var(--accent); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 420; stroke-dashoffset: 420; animation: draw 2s var(--ease) .2s forwards; }
.vsaas__chart .area { fill: url(#mrrFill); opacity: 0; animation: fadeUp 1s 1s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.vsaas__toast { position: absolute; right: -10px; display: flex; align-items: center; gap: .55rem; padding: .55rem .8rem; border-radius: 12px; background: var(--ink); color: #fff; font-size: .8rem; box-shadow: var(--shadow-lg); opacity: 0; animation: toast .5s var(--ease) var(--d) forwards; }
.vsaas__toast img { width: 16px; height: 16px; filter: brightness(0) invert(1); }
.vsaas__toast:nth-of-type(1) { top: 56px; } .vsaas__toast:nth-of-type(2) { top: 100px; right: 26px; }
@keyframes toast { from { opacity: 0; transform: translateX(16px); } to { opacity: 1; transform: none; } }

@media (max-width: 900px) {
  .svx { grid-template-columns: 1fr; }
  .svx__stage { min-height: 420px; order: -1; }
  .svx__list { grid-auto-flow: column; grid-auto-columns: 78%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 4px; }
  .svx__tab { scroll-snap-align: start; }
  .svx__tab .svx__d { max-height: 4em; opacity: 1; margin-top: .35rem; }
  .vsaas__toast { right: 8px; }
}

body.menu-open #ac-trigger, body.menu-open .ck { opacity: 0; pointer-events: none; }
.svx__list { scrollbar-width: none; }
.svx__list::-webkit-scrollbar { display: none; }

/* ---------- Cartas de cifras (KPIs en movimiento) ---------- */
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: clamp(2.5rem, 5vw, 4rem); }
.kpi {
  position: relative; overflow: hidden; isolation: isolate; display: flex; flex-direction: column;
  padding: 1.25rem 1.25rem 0; border-radius: 22px; background: #fff; border: 1px solid var(--line);
  box-shadow: 0 1px 2px rgba(14,14,14,.03); transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .3s;
  opacity: 0; transform: translateY(16px);
}
.kpi.is-in { opacity: 1; transform: none; transition: opacity .8s var(--ease), transform .8s var(--ease), box-shadow .5s var(--ease), border-color .3s; }
.kpi:nth-child(2).is-in { transition-delay: .08s; } .kpi:nth-child(3).is-in { transition-delay: .16s; } .kpi:nth-child(4).is-in { transition-delay: .24s; }
.kpi::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 0), rgba(91,140,255,.12), transparent 60%); }
.kpi:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--accent-line); }
.kpi:hover::before { opacity: 1; }
.kpi__head { display: flex; align-items: center; gap: .55rem; }
.kpi__ico { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: var(--surface); color: var(--ink-2); flex: none; }
.kpi__ico svg { width: 16px; height: 16px; }
.kpi__label { font-size: .82rem; font-weight: 500; color: var(--ink-2); flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kpi__live { display: inline-flex; align-items: center; gap: 5px; font: 500 .68rem var(--mono); text-transform: uppercase; letter-spacing: .04em; color: var(--ok); }
.kpi__live i { width: 6px; height: 6px; border-radius: 50%; background: var(--ok); animation: pulse 2s infinite; }
.kpi__num { margin-top: 1.4rem; font-size: clamp(2.3rem, 3.6vw, 3rem); font-weight: 600; letter-spacing: -.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.kpi__num small { font-size: .45em; color: var(--accent); margin-left: 3px; letter-spacing: 0; }
.kpi__sub { font-size: .85rem; color: var(--muted); margin-top: .45rem; }
.kpi__viz { position: relative; height: 78px; margin: 1.1rem -1.25rem 0; }

/* 1 · línea que fluye sin fin */
.kpi__viz--line { overflow: hidden; }
.kpi__viz--line svg { position: absolute; left: 0; bottom: 0; width: 200%; height: 100%; animation: flowX 9s linear infinite; }
.kpi__viz--line .line { fill: none; stroke: var(--accent); stroke-width: 2; vector-effect: non-scaling-stroke; }
.kpi__viz--line .area { fill: url(#kpiFill); }
@keyframes flowX { to { transform: translateX(-50%); } }
.kpi__dot { position: absolute; right: 22%; top: 26%; width: 10px; height: 10px; border-radius: 50%; background: #fff; border: 2.5px solid var(--accent); box-shadow: 0 0 0 6px rgba(91,140,255,.15); animation: bob 2.4s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(8px); } }

/* 2 · rejilla de sistemas */
.kpi__grid { display: grid; grid-template-columns: repeat(10, 1fr); gap: 5px; padding: 6px 1.25rem 1.25rem; height: auto; }
.kpi__grid i { aspect-ratio: 1; border-radius: 4px; background: var(--accent-soft); transition: background .4s; }
.kpi__grid i.on { background: var(--accent-line); }
.kpi__grid i.ping { animation: ping 1.2s var(--ease); }
@keyframes ping { 0% { background: var(--accent); transform: scale(1.15); } 100% { background: var(--accent-line); transform: none; } }

/* 3 · barras que suben */
.kpi__bars { display: flex; align-items: flex-end; gap: 5px; padding: 0 1.25rem 1.25rem; }
.kpi__bars i { flex: 1; height: 20%; border-radius: 5px 5px 2px 2px; background: linear-gradient(var(--accent), #8FB0FF); opacity: .35; transition: height 1.2s var(--ease); }
.kpi__bars i:nth-last-child(-n+3) { opacity: 1; }

/* 4 · carta oscura con radar y eventos */
.kpi--dark { background: var(--ink); color: #fff; border-color: var(--ink); }
.kpi--dark .kpi__ico { background: rgba(255,255,255,.08); color: #fff; }
.kpi--dark .kpi__label { color: rgba(255,255,255,.8); }
.kpi--dark .kpi__sub { color: rgba(255,255,255,.55); }
.kpi--dark .kpi__num small { color: #8FB0FF; }
.kpi--dark:hover { border-color: #2A2B2E; }
.kpi--dark::before { background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 0), rgba(91,140,255,.22), transparent 60%); }
.kpi__clock { display: flex; align-items: center; gap: 12px; padding: 0 1.25rem 1.25rem; }
.kpi__radar { position: relative; width: 62px; height: 62px; flex: none; border-radius: 50%; border: 1px solid rgba(255,255,255,.14);
  background: radial-gradient(circle, transparent 30%, rgba(255,255,255,.06) 31%, transparent 32%, transparent 62%, rgba(255,255,255,.06) 63%, transparent 64%); overflow: hidden; }
.kpi__sweep { position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 0deg, rgba(91,140,255,.55), transparent 28%); animation: spin 3s linear infinite; }
.kpi__radar i { position: absolute; left: 50%; top: 50%; width: 5px; height: 5px; margin: -2.5px; border-radius: 50%; background: #8FB0FF;
  transform: rotate(var(--a)) translateY(calc(var(--r) * -1)); box-shadow: 0 0 8px #8FB0FF; animation: blink 3s linear infinite; }
.kpi__radar i:nth-of-type(2) { animation-delay: -1s; } .kpi__radar i:nth-of-type(3) { animation-delay: -1.8s; } .kpi__radar i:nth-of-type(4) { animation-delay: -2.5s; }
@keyframes blink { 0%, 70%, 100% { opacity: .25; } 10% { opacity: 1; } }
.kpi__ticker { position: relative; flex: 1; height: 34px; overflow: hidden; }
.kpi__ticker span { position: absolute; inset: 0; display: flex; align-items: center; gap: 6px; font-size: .8rem; color: rgba(255,255,255,.85); white-space: nowrap; animation: tickIn .5s var(--ease); }
.kpi__ticker span::before { content: "✓"; color: var(--ok); font-weight: 700; }
.kpi__ticker span.out { animation: tickOut .5s var(--ease) forwards; }
@keyframes tickIn { from { transform: translateY(100%); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes tickOut { to { transform: translateY(-100%); opacity: 0; } }

@media (max-width: 1080px) { .kpis { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .kpis { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .kpi { opacity: 1; transform: none; } }

/* Footer azul clarito difuminado */
.footer { position: relative; overflow: hidden; isolation: isolate; border-top: 0;
  background: linear-gradient(180deg, #FFFFFF 0%, #F3F7FF 28%, #E8F0FF 100%); }
.footer::before, .footer::after { content: ""; position: absolute; z-index: -1; border-radius: 50%; filter: blur(80px); pointer-events: none; }
.footer::before { width: 620px; height: 420px; left: -160px; top: 30%; background: rgba(91,140,255,.22); }
.footer::after { width: 560px; height: 380px; right: -140px; bottom: -120px; background: rgba(143,176,255,.30); }
.footer .social a { background: rgba(255,255,255,.7); border-color: var(--accent-line); }
.footer__word { color: rgba(255,255,255,.7); }
.footer__word span { color: rgba(91,140,255,.25); }
.footer__bottom { border-top-color: var(--accent-line); }

/* ---------- Vista previa del Discord (Community) ---------- */
.dsc { display: grid; grid-template-columns: 250px 1fr; height: 600px; border-radius: 24px; overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.dsc__side { background: #F4F5F8; border-right: 1px solid var(--line); padding: 14px 10px; display: flex; flex-direction: column; gap: 2px; overflow-y: auto; }
.dsc__server { display: flex; align-items: center; gap: .65rem; padding: 6px 8px 14px; margin-bottom: 6px; border-bottom: 1px solid var(--line); }
.dsc__server img { width: 36px; height: 36px; border-radius: 12px; }
.dsc__server b { display: block; font-size: .92rem; }
.dsc__server small { font-size: .74rem; color: var(--muted); }
.dsc__cat { font: 600 .68rem var(--font); letter-spacing: .06em; text-transform: uppercase; color: var(--subtle); padding: 12px 8px 4px; }
.dsc__ch { display: flex; align-items: center; gap: .45rem; width: 100%; height: 34px; padding: 0 8px; border: 0; border-radius: 8px; background: none; cursor: pointer;
  font-size: .9rem; color: var(--muted); text-align: left; transition: background .2s, color .2s; }
.dsc__ch span { font-size: 1.05rem; color: var(--subtle); width: 14px; text-align: center; }
.dsc__ch em { margin-left: auto; font-style: normal; font-size: .66rem; font-weight: 600; padding: 2px 6px; border-radius: 999px; background: #5865F2; color: #fff; }
.dsc__ch:hover { background: #E9EBF0; color: var(--ink); }
.dsc__ch.is-active { background: #E3E6EC; color: var(--ink); font-weight: 500; }
.dsc__ch--muted { cursor: default; opacity: .6; }
.dsc__ch--muted:hover { background: none; color: var(--muted); }
.dsc__main { position: relative; display: flex; flex-direction: column; min-width: 0; }
.dsc__top { position: relative; display: flex; align-items: center; gap: .5rem; height: 54px; padding: 0 20px; border-bottom: 1px solid var(--line); flex: none; }
.dsc__hash { font-size: 1.3rem; color: var(--subtle); }
.dsc__top b { font-size: .98rem; }
.dsc__top small { color: var(--muted); font-size: .8rem; padding-left: .8rem; margin-left: .3rem; border-left: 1px solid var(--line); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dsc__prog { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: #5865F2; transform-origin: left; transform: scaleX(0); }
.dsc__feed { display: none; flex: 1; overflow-y: auto; padding: 18px 20px; flex-direction: column; gap: 18px; }
.dsc__feed.is-active { display: flex; }
.msg { display: flex; gap: 12px; opacity: 0; animation: msgIn .55s var(--ease) forwards; }
.msg:nth-child(2) { animation-delay: .25s; }
.msg--old { opacity: 0; }
.dsc__feed.is-active .msg--old { animation: msgInOld .55s var(--ease) .25s forwards; }
@keyframes msgIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes msgInOld { from { opacity: 0; transform: translateY(12px); } to { opacity: .55; transform: none; } }
.msg__av { width: 40px; height: 40px; border-radius: 50%; flex: none; }
.msg__body { flex: 1; min-width: 0; display: grid; gap: 8px; }
.msg__meta { display: flex; align-items: center; gap: .45rem; font-size: .8rem; color: var(--subtle); }
.msg__meta b { color: var(--ink); font-size: .92rem; font-weight: 600; }
.msg__tag { font-size: .6rem; font-weight: 700; padding: 1px 5px; border-radius: 4px; background: #5865F2; color: #fff; }
.emb { position: relative; padding: 12px 14px 12px 16px; border-radius: 8px; background: #F7F8FA; border-left: 4px solid #5865F2; display: grid; gap: 5px; max-width: 620px;
  opacity: 0; animation: msgIn .5s var(--ease) forwards; }
.emb:nth-of-type(2) { animation-delay: .35s; } .emb:nth-of-type(3) { animation-delay: .6s; }
.emb h4 { font-size: .96rem; font-weight: 600; line-height: 1.35; letter-spacing: -.01em; }
.emb p { font-size: .87rem; color: var(--ink-2); line-height: 1.5; }
.emb__src { font-size: .72rem; font-weight: 600; color: var(--muted); }
.emb__why { color: var(--muted) !important; }
.emb__why b { color: var(--ink); font-weight: 600; }
.emb--tool { border-left-color: #3FCF8E; }
.emb--challenge { border-left-color: #F5B301; }
.emb--q { border-left-color: var(--accent); }
.emb--compact { padding: 9px 12px; }
.emb--compact h4 { font-size: .88rem; font-weight: 500; }
.emb__toolhead { display: flex; align-items: center; gap: .7rem; margin-bottom: 4px; }
.emb__toolhead img, .emb__letter { width: 38px; height: 38px; padding: 8px; border-radius: 10px; background: #fff; border: 1px solid var(--line); }
.emb__letter { display: grid; place-items: center; padding: 0; font-weight: 700; font-size: .85rem; }
.emb__toolhead a { font-size: .78rem; color: var(--accent-ink); }
.emb__dl { display: grid; gap: 8px; }
.emb__dl dt { font-size: .7rem; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.emb__dl dd { font-size: .88rem; }
.emb__idea { padding: 8px 10px; border-radius: 8px; background: #fff; border: 1px dashed #3FCF8E; }
.emb__steps { display: flex; gap: 6px; flex-wrap: wrap; list-style: none; counter-reset: s; margin-top: 4px; }
.emb__steps li { counter-increment: s; font-size: .8rem; padding: 4px 10px 4px 6px; border-radius: 999px; background: #fff; border: 1px solid var(--line); }
.emb__steps li::before { content: counter(s); display: inline-grid; place-items: center; width: 18px; height: 18px; margin-right: 6px; border-radius: 50%; background: #F5B301; color: #fff; font-size: .68rem; font-weight: 700; }
.msg__reacts { display: flex; gap: 6px; }
.msg__reacts span { display: inline-flex; align-items: center; gap: 5px; height: 26px; padding: 0 8px; border-radius: 8px; background: #EEF0FF; border: 1px solid #C9CEFF; font-size: .8rem; }
.msg__reacts b { font-weight: 600; color: #4752C4; font-variant-numeric: tabular-nums; }
.msg__reacts span.bump { animation: bump .5s var(--ease); }
@keyframes bump { 40% { transform: scale(1.15); } }
.thread { display: flex; align-items: center; gap: 8px; font-size: .82rem; color: #4752C4; }
.thread__line { width: 22px; height: 14px; border-left: 2px solid var(--line-strong); border-bottom: 2px solid var(--line-strong); border-bottom-left-radius: 8px; margin-left: 6px; }
.dsc__input { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin: 0 20px 18px; padding: 8px 8px 8px 16px; border-radius: 12px; background: #F4F5F8; color: var(--subtle); font-size: .88rem; flex: none; }
@media (max-width: 820px) {
  .dsc { grid-template-columns: 1fr; height: auto; }
  .dsc__side { flex-direction: row; overflow-x: auto; padding: 10px; gap: 6px; border-right: 0; border-bottom: 1px solid var(--line); scrollbar-width: none; }
  .dsc__side::-webkit-scrollbar { display: none; }
  .dsc__server, .dsc__cat, .dsc__ch--muted { display: none; }
  .dsc__ch { width: auto; flex: none; background: #fff; border: 1px solid var(--line); }
  .dsc__feed { min-height: 520px; }
  .dsc__top small { display: none; }
}

/* Semana tipo */
.week { margin-top: 18px; padding: 20px; border-radius: 24px; background: #fff; border: 1px solid var(--line); }
.week__title { font-weight: 600; letter-spacing: -.01em; margin-bottom: 14px; }
.week__days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; }
.day { display: grid; gap: 5px; align-content: start; padding: 10px; border-radius: 14px; background: var(--surface); min-height: 128px; }
.day b { font-size: .8rem; color: var(--muted); font-weight: 500; margin-bottom: 2px; }
.ev { font-size: .72rem; font-weight: 500; padding: 5px 7px; border-radius: 7px; line-height: 1.2; transition: transform .3s var(--ease); }
.ev:hover { transform: translateX(3px); }
.ev--n { background: #EEF0FF; color: #4752C4; }
.ev--t { background: #E6F8EF; color: #13804F; }
.ev--r { background: #FFF5D9; color: #8A6300; }
.ev--q { background: var(--accent-soft); color: var(--accent-ink); }
.week__note { margin-top: 12px; font-size: .85rem; color: var(--muted); }
@media (max-width: 820px) { .week__days { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 46%; overflow-x: auto; } }

/* Para quién es */
.who { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; padding: clamp(2rem, 5vw, 3.5rem); border-radius: var(--r-xl); background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.who::before { content: ""; position: absolute; width: 520px; height: 520px; right: -160px; top: -200px; border-radius: 50%; background: radial-gradient(circle, rgba(91,140,255,.35), transparent 65%); }
.who > * { position: relative; }
.who .lead { color: rgba(255,255,255,.62); margin-top: 1rem; }
.who__app { padding: 8px; border-radius: 22px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); }
.who__tabs { display: flex; gap: 4px; padding: 4px; border-radius: 16px; background: rgba(0,0,0,.25); overflow-x: auto; scrollbar-width: none; }
.who__tabs button { flex: 1; height: 38px; padding: 0 .8rem; border: 0; border-radius: 12px; background: none; color: rgba(255,255,255,.65); font-size: .85rem; font-weight: 500; cursor: pointer; white-space: nowrap; transition: background .25s, color .25s; }
.who__tabs button.is-active { background: #fff; color: var(--ink); }
.who__pane { display: none; padding: 18px 14px 12px; gap: 10px; }
.who__pane.is-active { display: grid; animation: paneIn .5s var(--ease); }
.who__pane b { font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: #8FB0FF; font-weight: 600; }
.who__pane ul { list-style: none; display: grid; gap: 8px; }
.who__pane li { display: flex; gap: .6rem; font-size: .95rem; }
.who__pane li::before { content: "→"; color: #8FB0FF; }
.who__ex { font-size: .85rem; color: rgba(255,255,255,.6); padding: 10px 12px; border-radius: 12px; background: rgba(255,255,255,.05); border: 1px dashed rgba(255,255,255,.15); }
@media (max-width: 880px) { .who { grid-template-columns: 1fr; } }

/* ---------- Caso real Fun & Tickets ---------- */
.cs { margin-top: 18px; border-radius: 28px; overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.cs__hero { position: relative; height: clamp(280px, 38vw, 440px); overflow: hidden; }
.cs__hero > img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 6s var(--ease); }
.cs:hover .cs__hero > img { transform: scale(1.1); }
.cs__hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14,14,14,.05) 20%, rgba(14,14,14,.78)); }
.cs__heroin { position: absolute; left: clamp(1.2rem, 4vw, 2.5rem); right: clamp(1.2rem, 4vw, 2.5rem); bottom: clamp(1.2rem, 3vw, 2rem); z-index: 1; color: #fff; display: grid; gap: .7rem; justify-items: start; }
.cs__client { padding: 6px 12px; border-radius: 12px; background: #fff; }
.cs__client img { height: 30px; width: auto; }
.cs__tag { font: 500 .74rem var(--mono); letter-spacing: .06em; color: rgba(255,255,255,.8); }
.cs__heroin h3 { font-size: clamp(1.6rem, 3.4vw, 2.6rem); letter-spacing: -.04em; line-height: 1.05; font-weight: 600; max-width: 18em; }
.cs__kpis { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--line); }
.cs__kpis div { padding: 1.4rem 1.5rem; display: grid; gap: .3rem; border-right: 1px solid var(--line); }
.cs__kpis div:last-child { border-right: 0; background: var(--accent-soft); }
.cs__kpis b { font-size: clamp(1.6rem, 2.6vw, 2.2rem); letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.cs__kpis small { font-size: .84rem; color: var(--muted); }
.cs__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); padding: clamp(1.4rem, 3vw, 2.2rem); }
.cs h4 { font-size: .78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); margin-bottom: .8rem; }
.cs__ctx p { color: var(--ink-2); margin-bottom: .8rem; font-size: .98rem; }
.cs__ctx b { font-weight: 600; }
.cs__gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 1rem; }
.cs__gallery img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 12px; transition: transform .5s var(--ease); }
.cs__gallery img:hover { transform: scale(1.05) rotate(-1deg); }
.cs__ba { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; align-content: start; }
.cs__col { padding: 1.1rem; border-radius: 16px; }
.cs__col ul { list-style: none; display: grid; gap: .65rem; }
.cs__col li { display: flex; gap: .55rem; font-size: .9rem; line-height: 1.4; }
.cs__col--before { background: #FFF4F2; }
.cs__col--before h4 { color: #C2410C; }
.cs__col--before li::before { content: "✕"; color: #E5484D; font-weight: 700; }
.cs__col--after { background: var(--accent-soft); }
.cs__col--after h4 { color: var(--accent-ink); }
.cs__col--after li::before { content: "✓"; color: var(--ok); font-weight: 700; }
.cs__flow { margin: 0 clamp(1.4rem, 3vw, 2.2rem); padding: 1.4rem; border-radius: 20px; background: var(--ink); color: #fff; }
.cs__flowhead { display: grid; gap: 1rem; margin-bottom: 1rem; }
.cs__flowhead h4 { color: #fff; margin: 0; }
.cs__flowhead h4 span { color: rgba(255,255,255,.5); text-transform: none; letter-spacing: 0; font-weight: 400; }
.cs__rail { position: relative; height: 2px; background: rgba(255,255,255,.12); margin: 0 8%; }
.cs__runner { position: absolute; top: 50%; left: 0; width: 12px; height: 12px; margin: -6px; border-radius: 50%; background: #8FB0FF; box-shadow: 0 0 0 6px rgba(143,176,255,.2), 0 0 20px #8FB0FF; transition: left .8s var(--ease); }
.cs__stages { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; }
.cs__st { display: grid; gap: 3px; text-align: left; padding: .7rem .75rem; border-radius: 12px; border: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.03); color: rgba(255,255,255,.6); font-size: .82rem; font-weight: 500; cursor: pointer; transition: background .3s, color .3s, border-color .3s; }
.cs__st span { font: .7rem var(--mono); color: rgba(255,255,255,.35); }
.cs__st.is-done { color: rgba(255,255,255,.8); }
.cs__st.is-done span { color: var(--ok); }
.cs__st.is-active { background: #fff; color: var(--ink); border-color: #fff; }
.cs__st.is-active span { color: var(--accent-ink); }
.cs__pane { display: none; grid-template-columns: 1fr 1fr; gap: 1.2rem; padding-top: 1.2rem; align-items: center; }
.cs__pane.is-active { display: grid; animation: paneIn .5s var(--ease); }
.cs__pane b { font-size: 1.05rem; }
.cs__pane p { color: rgba(255,255,255,.65); font-size: .92rem; margin-top: .3rem; }
.cs__nodes { display: flex; flex-wrap: wrap; gap: 6px; }
.cs__nodes span { font: .78rem var(--mono); padding: .45rem .7rem; border-radius: 8px; background: rgba(143,176,255,.12); border: 1px solid rgba(143,176,255,.25); color: #DDE6FF; opacity: 0; animation: fadeUp .4s var(--ease) forwards; }
.cs__nodes span:nth-child(2) { animation-delay: .1s; } .cs__nodes span:nth-child(3) { animation-delay: .2s; } .cs__nodes span:nth-child(4) { animation-delay: .3s; }
.cs__tools { display: flex; flex-wrap: wrap; gap: 8px; padding: 1.4rem clamp(1.4rem, 3vw, 2.2rem) .6rem; }
.tool__txt { width: 20px; height: 20px; border-radius: 5px; display: grid; place-items: center; background: #0E0E0E; color: #fff; font-size: .7rem; font-weight: 700; }
.cs__note { padding: 0 clamp(1.4rem, 3vw, 2.2rem) 1.4rem; font-size: .78rem; color: var(--subtle); }
@media (max-width: 960px) {
  .cs__kpis { grid-template-columns: 1fr 1fr; }
  .cs__kpis div:nth-child(2) { border-right: 0; }
  .cs__kpis div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .cs__grid, .cs__pane { grid-template-columns: 1fr; }
  .cs__stages { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 44%; overflow-x: auto; scrollbar-width: none; }
}
@media (max-width: 560px) { .cs__ba { grid-template-columns: 1fr; } }

/* ---------- SaaS ---------- */
.sh { padding: 150px 0 clamp(4rem, 8vw, 6rem); position: relative; overflow: hidden; }
.sh::before { content: ""; position: absolute; width: 800px; height: 600px; right: -200px; top: -100px; border-radius: 50%; background: radial-gradient(circle, rgba(91,140,255,.16), transparent 65%); z-index: -1; }
.sh__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.sh__copy { display: grid; gap: 1.5rem; justify-items: start; }
.sh__facts { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; width: 100%; margin-top: .6rem; }
.sh__facts li { display: grid; gap: 2px; padding-top: .8rem; border-top: 2px solid var(--line); }
.sh__facts b { font-size: .92rem; font-weight: 600; }
.sh__facts span { font-size: .8rem; color: var(--muted); }
.sh__app { position: relative; }
.app { display: flex; border-radius: 22px; background: #fff; border: 1px solid var(--line); box-shadow: 0 2px 4px rgba(14,14,14,.04), 0 40px 90px rgba(14,14,14,.12); overflow: hidden;
  transform: perspective(1400px) rotateY(-8deg) rotateX(3deg); transition: transform .8s var(--ease); }
.sh__app:hover .app { transform: none; }
.app__side { width: 58px; flex: none; display: grid; gap: 10px; align-content: start; justify-items: center; padding: 14px 0; background: var(--ink); }
.app__logo { width: 32px; height: 32px; border-radius: 10px; background: #fff; color: var(--ink); display: grid; place-items: center; font-weight: 700; margin-bottom: 8px; }
.app__side i { width: 26px; height: 26px; border-radius: 8px; background: rgba(255,255,255,.1); }
.app__side i.on { background: var(--accent); }
.app__main { flex: 1; padding: 18px; display: grid; gap: 12px; min-width: 0; }
.app__top { display: flex; justify-content: space-between; align-items: center; }
.app__pill { font-size: .72rem; padding: 4px 10px; border-radius: 999px; background: var(--surface); color: var(--muted); }
.app__kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.app__kpis div { padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line); display: grid; }
.app__kpis small { font-size: .7rem; color: var(--muted); }
.app__kpis b { font-size: 1.25rem; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.app__kpis em { font-style: normal; font-size: .7rem; color: var(--ok); font-weight: 500; }
.app__chart { height: 130px; border-radius: 12px; background: var(--surface); overflow: hidden; }
.app__chart svg { width: 100%; height: 100%; }
.app__chart .line { fill: none; stroke: var(--accent); stroke-width: 2.5; vector-effect: non-scaling-stroke; stroke-dasharray: 600; stroke-dashoffset: 600; animation: draw 2.2s var(--ease) .4s forwards; }
.app__chart .area { fill: url(#appFill); opacity: 0; animation: fadeUp 1s 1.2s forwards; }
.app__feed { display: grid; gap: 6px; }
.app__ev { display: flex; align-items: center; gap: .6rem; padding: 8px 10px; border-radius: 10px; background: var(--surface); font-size: .8rem; }
.app__ev img { width: 16px; height: 16px; }
.app__ev span { flex: 1; }
.app__ev b { color: var(--ok); }
.app__ev.is-new { animation: tickIn .5s var(--ease); background: var(--accent-soft); }
.sh__badge { position: absolute; font-size: .8rem; font-weight: 500; padding: .5rem .85rem; border-radius: 999px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); animation: float 6s ease-in-out infinite; white-space: nowrap; }
.sh__badge--1 { top: -14px; left: 10%; } .sh__badge--2 { right: -10px; top: 38%; animation-delay: -2s; } .sh__badge--3 { bottom: -16px; left: 22%; animation-delay: -4s; }
@media (max-width: 960px) { .sh__grid { grid-template-columns: 1fr; } .app { transform: none; } .sh__badge--2 { right: 0; } }
@media (max-width: 560px) { .sh__facts { grid-template-columns: 1fr; } .sh__badge { display: none; } }

/* Qué incluye */
.inc { display: grid; grid-template-columns: 280px 1fr; gap: 14px; }
.inc__list { display: grid; gap: 4px; align-content: start; }
.inc__tab { display: flex; align-items: center; gap: .7rem; text-align: left; padding: .8rem 1rem; border-radius: 14px; border: 1px solid transparent; background: none; cursor: pointer; font-size: .95rem; font-weight: 500; color: var(--muted); transition: background .25s, color .25s, border-color .25s; }
.inc__tab span { font: .74rem var(--mono); color: var(--subtle); }
.inc__tab:hover { color: var(--ink); background: rgba(255,255,255,.6); }
.inc__tab.is-active { background: #fff; color: var(--ink); border-color: var(--line); box-shadow: var(--shadow); }
.inc__tab.is-active span { color: var(--accent-ink); }
.inc__stage { position: relative; min-height: 420px; border-radius: 24px; background: #fff; border: 1px solid var(--line); overflow: hidden; }
.inc__pane { display: none; grid-template-columns: 1fr 1fr; gap: 2rem; padding: clamp(1.4rem, 3vw, 2.4rem); align-items: center; height: 100%; }
.inc__pane.is-active { display: grid; animation: paneIn .55s var(--ease); }
.inc__txt { display: grid; gap: 1rem; }
.inc__txt p { color: var(--muted); }
.inc__viz { min-height: 300px; border-radius: 18px; background: linear-gradient(160deg, var(--surface), var(--accent-soft)); display: grid; place-items: center; padding: 1.4rem; }
/* vizs */
.vz-infra { display: flex; flex-direction: column; align-items: center; gap: 0; }
.vz-infra span { display: flex; align-items: center; gap: .55rem; padding: .6rem 1rem; border-radius: 12px; background: #fff; box-shadow: var(--shadow); font-size: .88rem; font-weight: 500; animation: fadeUp .4s var(--ease) both; }
.vz-infra span img { width: 20px; height: 20px; }
.vz-infra i { width: 2px; height: 18px; background: linear-gradient(var(--accent), var(--accent-line)); }
@media (max-width: 960px) {
  .inc { grid-template-columns: 1fr; }
  .inc__list { grid-auto-flow: column; grid-auto-columns: max-content; overflow-x: auto; scrollbar-width: none; }
  .inc__pane { grid-template-columns: 1fr; }
}

/* Calculadora */
.calc { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; padding: clamp(1.6rem, 4vw, 3rem); border-radius: var(--r-xl); border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow); }
.calc__copy { display: grid; gap: 1rem; }
.calc__ctrls { display: grid; gap: 1.3rem; margin-top: .8rem; }
.calc__ctrls label { display: grid; gap: .6rem; }
.calc__ctrls label > span { display: flex; justify-content: space-between; font-size: .92rem; font-weight: 500; }
.calc__ctrls b { font-variant-numeric: tabular-nums; color: var(--accent-ink); }
.calc input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 999px; background: var(--accent-soft); outline: none; }
.calc input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 2px solid var(--accent); box-shadow: 0 2px 8px rgba(91,140,255,.35); cursor: grab; }
.calc input[type=range]::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 2px solid var(--accent); cursor: grab; }
.calc__out { padding: 1.4rem; border-radius: 22px; background: var(--ink); color: #fff; display: grid; gap: 1rem; }
.calc__big small { font-size: .8rem; color: rgba(255,255,255,.6); }
.calc__big b { display: block; font-size: clamp(2.4rem, 4.5vw, 3.6rem); letter-spacing: -.05em; line-height: 1.05; font-variant-numeric: tabular-nums; }
.calc__big span { font-size: .85rem; color: rgba(255,255,255,.6); } .calc__big em { font-style: normal; color: #8FB0FF; }
.calc__bars { display: flex; align-items: flex-end; gap: 5px; height: 140px; }
.calc__bars i { position: relative; flex: 1; height: 10%; border-radius: 6px 6px 2px 2px; background: linear-gradient(#8FB0FF, var(--accent)); transition: height .5s var(--ease); }
.calc__bars i:last-child { background: linear-gradient(#fff, #C9D8FF); }
.calc__bars span { position: absolute; bottom: -18px; left: 0; right: 0; text-align: center; font: .62rem var(--mono); color: rgba(255,255,255,.4); }
.calc__mini { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
.calc__mini div { padding: .7rem .9rem; border-radius: 12px; background: rgba(255,255,255,.06); }
.calc__mini small { display: block; font-size: .72rem; color: rgba(255,255,255,.55); } .calc__mini b { font-size: 1.15rem; font-variant-numeric: tabular-nums; }
.calc__note { font-size: .74rem; color: rgba(255,255,255,.45); }
@media (max-width: 880px) { .calc { grid-template-columns: 1fr; } }

/* Tour Review */

/* Hoja de ruta */
.road { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; padding-top: 28px; }
.road__line { position: absolute; top: 8px; left: 0; right: 0; height: 2px; background: var(--line); }
.road__line i { position: absolute; inset: 0; background: linear-gradient(90deg, var(--accent), #8FB0FF); transform-origin: left; transform: scaleX(0); transition: transform 2.4s var(--ease); }
.road.is-in .road__line i { transform: scaleX(1); }
.road__st { position: relative; display: grid; gap: .55rem; align-content: start; padding: 1.2rem; border-radius: 18px; background: #fff; border: 1px solid var(--line); transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .3s; }
.road__st::before { content: ""; position: absolute; top: -26px; left: 1.2rem; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 3px solid var(--accent); }
.road__st:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--accent-line); }
.road__wk { font: .72rem var(--mono); color: var(--accent-ink); }
.road__st ul { list-style: none; display: grid; gap: .35rem; font-size: .88rem; color: var(--muted); }
.road__st li::before { content: "· "; color: var(--accent); font-weight: 700; }
.road__st em { font-style: normal; font-size: .78rem; font-weight: 500; padding: .45rem .6rem; border-radius: 10px; background: var(--accent-soft); color: var(--accent-ink); margin-top: .3rem; }
@media (max-width: 980px) { .road { grid-template-columns: 1fr 1fr; } .road__line { display: none; } .road__st::before { display: none; } }
@media (max-width: 560px) { .road { grid-template-columns: 1fr; } }

.kpi__label { white-space: normal; line-height: 1.2; }

/* ---------- Lienzo animado del flujo ---------- */
.fx { margin: 0 clamp(1.4rem, 3vw, 2.2rem); border-radius: 24px; overflow: hidden; color: #fff;
  background: radial-gradient(120% 140% at 0% 0%, #17203F 0%, #0B0E1A 55%, #07080F 100%); border: 1px solid #1C2340; position: relative; }
.fx::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,.07) 1px, transparent 0); background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(120% 100% at 30% 40%, #000 40%, transparent 85%); mask-image: radial-gradient(120% 100% at 30% 40%, #000 40%, transparent 85%); }
.fx__head { position: relative; display: flex; justify-content: space-between; align-items: end; gap: 1rem; padding: 1.3rem 1.4rem 0; flex-wrap: wrap; }
.fx__head h4 { color: #fff; font-size: 1.15rem; text-transform: none; letter-spacing: -.02em; margin: .35rem 0 0; font-weight: 600; }
.fx__live { display: inline-flex; align-items: center; gap: 6px; font: 500 .7rem var(--mono); letter-spacing: .06em; text-transform: uppercase; color: #6EE7B7; }
.fx__live i { width: 7px; height: 7px; border-radius: 50%; background: #34D399; animation: pulse 1.6s infinite; }
.fx__meta { font: .74rem var(--mono); color: rgba(255,255,255,.45); padding: .35rem .7rem; border-radius: 999px; border: 1px solid rgba(255,255,255,.1); }
.fx__body { position: relative; display: grid; grid-template-columns: 1.55fr 1fr; gap: 0; min-height: 360px; }
.fx__canvas { position: relative; padding: 1.6rem 1.4rem 1.8rem; }
.fx__wires { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.fx__base { fill: none; stroke: rgba(157,184,255,.18); stroke-width: 2; stroke-dasharray: 2 6; stroke-linecap: round; }
.fx__trail { fill: none; stroke: url(#fxGrad); stroke-width: 2.5; stroke-linecap: round; filter: drop-shadow(0 0 6px rgba(91,140,255,.7)); }
.fx__dot { fill: #fff; }
.fx__halo { fill: #5B8CFF; opacity: .55; filter: url(#fxGlow); animation: halo 1.4s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes halo { 50% { opacity: .25; transform: scale(1.4); } }
.fx__nodes { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: auto auto; gap: 64px 34px; }
.fxn:nth-child(4) { grid-column: 3; grid-row: 2; } .fxn:nth-child(5) { grid-column: 2; grid-row: 2; } .fxn:nth-child(6) { grid-column: 1; grid-row: 2; }
.fxn { position: relative; display: flex; align-items: center; gap: .7rem; padding: .75rem .8rem; border-radius: 16px; cursor: pointer; text-align: left; color: #fff;
  background: rgba(20,26,50,.85); border: 1px solid rgba(157,184,255,.16); backdrop-filter: blur(6px);
  transition: transform .5s var(--ease), border-color .35s, box-shadow .5s var(--ease), background .35s;
  opacity: 0; animation: fxIn .6s var(--ease) calc(var(--i) * .08s) forwards; }
@keyframes fxIn { from { opacity: 0; transform: translateY(10px) scale(.96); } to { opacity: 1; transform: none; } }
.fxn:hover { border-color: rgba(157,184,255,.45); transform: translateY(-2px); }
.fxn__ico { width: 38px; height: 38px; border-radius: 11px; flex: none; display: grid; place-items: center; background: #fff; }
.fxn__ico img { width: 21px; height: 21px; }
.fxn__ico b { font-size: .9rem; color: #0E0E0E; }
.fxn__txt { display: grid; font-size: .86rem; font-weight: 500; line-height: 1.25; }
.fxn__txt small { font: .66rem var(--mono); color: rgba(157,184,255,.6); }
.fxn__port { position: absolute; top: 50%; width: 9px; height: 9px; margin-top: -4.5px; border-radius: 50%; background: #0B0E1A; border: 2px solid rgba(157,184,255,.35); }
.fxn__port--in { left: -5px; } .fxn__port--out { right: -5px; }
.fxn__ok { position: absolute; top: -8px; right: -8px; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-size: .65rem; font-weight: 700; background: #34D399; color: #052E1C; transform: scale(0); transition: transform .4s var(--ease); }
.fxn.is-done .fxn__ok { transform: scale(1); }
.fxn.is-done { border-color: rgba(52,211,153,.35); }
.fxn.is-on { background: linear-gradient(135deg, #2F62E0, #5B8CFF); border-color: #9DB8FF; transform: translateY(-3px) scale(1.04);
  box-shadow: 0 0 0 6px rgba(91,140,255,.18), 0 18px 40px rgba(47,98,224,.45); }
.fxn.is-on .fxn__txt small { color: rgba(255,255,255,.8); }
.fxn.is-on .fxn__port { border-color: #fff; background: #5B8CFF; }
.fx__side { position: relative; display: flex; flex-direction: column; border-left: 1px solid rgba(255,255,255,.08); background: rgba(5,7,14,.45); }
.fx__insp { padding: 1.3rem 1.3rem 1rem; display: grid; gap: .4rem; border-bottom: 1px solid rgba(255,255,255,.08); min-height: 150px; align-content: start; }
.fx__step { font: .7rem var(--mono); color: #9DB8FF; letter-spacing: .05em; }
.fx__title { font-size: 1.15rem; letter-spacing: -.02em; }
.fx__desc { font-size: .88rem; color: rgba(255,255,255,.62); line-height: 1.5; }
.fx__insp .in { animation: fadeUp .45s var(--ease) both; }
.fx__insp .fx__title.in { animation-delay: .05s; } .fx__insp .fx__desc.in { animation-delay: .1s; }
.fx__log { flex: 1; padding: .9rem 1.1rem 1.1rem; font: .76rem/1.55 var(--mono); display: flex; flex-direction: column; justify-content: flex-end; gap: 3px; overflow: hidden;
  -webkit-mask-image: linear-gradient(transparent, #000 35%); mask-image: linear-gradient(transparent, #000 35%); min-height: 180px; }
.fx__line { display: flex; align-items: baseline; gap: .55rem; color: rgba(255,255,255,.78); white-space: nowrap; animation: logIn .35s var(--ease); }
@keyframes logIn { from { opacity: 0; transform: translateX(-8px); } to { opacity: 1; transform: none; } }
.fx__line time { color: rgba(255,255,255,.3); }
.fx__line .ok { color: #34D399; } .fx__line .in { color: #9DB8FF; }
.fx__line em { margin-left: auto; font-style: normal; color: rgba(255,255,255,.35); }
.fx__line--in { color: #C9D8FF; }
.fx__line--done b { color: #6EE7B7; font-weight: 500; }
@media (max-width: 960px) {
  .fx__body { grid-template-columns: 1fr; }
  .fx__side { border-left: 0; border-top: 1px solid rgba(255,255,255,.08); }
}
@media (max-width: 640px) {
  .fx__nodes { grid-template-columns: 1fr; gap: 26px; padding-left: 24px; }
  .fxn:nth-child(n) { grid-column: 1; grid-row: auto; }
  .fx__log { min-height: 160px; }
}

@media (max-width: 768px) { .globe-wrapper { display: none !important; } .hero-servicios { min-height: auto; padding-bottom: 2rem; } }
.logo-tile { border: 0; background: transparent; padding: 0 .9rem; height: 48px; }
.marquee__track { gap: 6px; }

/* ---------- Cifras sin cajas: franja limpia ---------- */
.kpis { gap: 0; margin-top: clamp(2.5rem, 5vw, 4rem); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.kpi, .kpi--glow, .kpi--dark { background: transparent !important; border: 0 !important; border-radius: 0; box-shadow: none !important; color: var(--ink);
  padding: 1.8rem 1.6rem 1.6rem; border-left: 1px solid var(--line) !important; }
.kpi:first-child { border-left: 0 !important; padding-left: 0; }
.kpi:hover { transform: none; }
.kpi::before { border-radius: 0; }
.kpi__ico { background: var(--accent-soft) !important; color: var(--accent-ink) !important; }
.kpi__label { color: var(--muted) !important; }
.kpi__sub { color: var(--muted) !important; }
.kpi__num { font-size: clamp(2.6rem, 4.2vw, 3.6rem); }
.kpi__num small { color: var(--accent) !important; }
.kpi__viz { margin: 1.2rem 0 0; height: auto; }
.kpi__grid, .kpi__bars { padding: 0; }
.kpi__bars { height: 78px; }
@media (max-width: 1080px) { .kpi:nth-child(3) { border-left: 0 !important; padding-left: 0; } .kpi:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }
@media (max-width: 560px) { .kpi { border-left: 0 !important; padding-left: 0; border-bottom: 1px solid var(--line); } .kpi:last-child { border-bottom: 0; } }

/* Tareas que se automatizan */
.kpi__tasks { display: grid; gap: 10px; }
.kt { display: grid; grid-template-columns: 1fr 52px; grid-template-rows: auto 6px; column-gap: 8px; row-gap: 4px; font-size: .78rem; color: var(--ink-2); }
.kt span { grid-column: 1; }
.kt em { grid-column: 2; grid-row: 1 / 3; align-self: center; text-align: right; font-style: normal; font: 500 .74rem var(--mono); color: #C2410C; transition: color .4s; }
.kt i { grid-column: 1; height: 6px; border-radius: 999px; background: var(--surface); overflow: hidden; }
.kt i b { display: block; height: 100%; width: 100%; border-radius: 999px; background: linear-gradient(90deg, #FDBA74, #F97316); transition: width 1s var(--ease), background .6s; }
.kt.is-auto i b { width: 6%; background: var(--accent); }
.kt.is-auto em { color: var(--ok); }

/* Línea de 24 h */
.kpi__hours { position: relative; display: flex; align-items: flex-end; gap: 3px; height: 54px; }
.kpi__hours i { flex: 1; height: var(--h); border-radius: 3px 3px 1px 1px; background: var(--accent-line); }
.kpi__now { position: absolute; top: -4px; bottom: -4px; width: 2px; border-radius: 2px; background: var(--accent); box-shadow: 0 0 10px var(--accent); animation: nowX 8s linear infinite; }
.kpi__now::before { content: ""; position: absolute; top: -4px; left: -3px; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
@keyframes nowX { from { left: 0; } to { left: 100%; } }
.kpi__hlabels { display: flex; justify-content: space-between; font: .64rem var(--mono); color: var(--subtle); margin-top: 4px; }
.kpi__feed { display: grid; gap: 4px; margin-top: 10px; min-height: 48px; }
.kpi__ev { display: flex; gap: 8px; align-items: baseline; font-size: .78rem; color: var(--ink-2); animation: tickIn .45s var(--ease); }
.kpi__ev + .kpi__ev { opacity: .45; }
.kpi__ev time { font: .68rem var(--mono); color: var(--subtle); }
.kpi__ev span::before { content: "✓ "; color: var(--ok); font-weight: 700; }

/* ---------- Qué es Aldia (sin cajas) ---------- */
.ab__big { font-size: clamp(2rem, 4.6vw, 4rem); line-height: 1.08; letter-spacing: -.045em; font-weight: 600; max-width: 20em; }
.ab__big .w { color: #D3D6DC; transition: color .5s var(--ease); }
.ab__big .w.on { color: var(--ink); }
.ab__big em { font-style: normal; }
.ab__big em .w.on { color: var(--accent); }
.ab__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; margin-top: clamp(2.5rem, 5vw, 4rem); }
.ab__stage { position: relative; aspect-ratio: 1 / .9;
  -webkit-mask-image: radial-gradient(75% 75% at 50% 50%, #000 55%, transparent 100%); mask-image: radial-gradient(75% 75% at 50% 50%, #000 55%, transparent 100%);
  background: radial-gradient(60% 55% at 50% 45%, var(--accent-soft), transparent 75%); }
.ab__intro { color: var(--muted); font-size: 1.05rem; margin-bottom: 1.4rem; max-width: 30em; }
.ab__list { display: grid; border-top: 1px solid var(--line); }
.ab__row { display: grid; grid-template-columns: 44px 1fr 24px; align-items: baseline; column-gap: .5rem; text-align: left; padding: 1.15rem 0; border: 0; border-bottom: 1px solid var(--line); background: none; cursor: pointer; position: relative; }
.ab__row::after { content: ""; position: absolute; left: 0; bottom: -1px; height: 2px; width: 0; background: var(--accent); transition: width .6s var(--ease); }
.ab__row.is-active::after { width: 100%; }
.ab__n { font: .8rem var(--mono); color: var(--subtle); transition: color .3s; }
.ab__t { font-size: clamp(1.3rem, 2.2vw, 1.75rem); font-weight: 600; letter-spacing: -.03em; color: #B9BDC5; transition: color .35s, transform .5s var(--ease); }
.ab__arr { font-size: 1.2rem; color: var(--accent); opacity: 0; transform: translateX(-8px); transition: opacity .3s, transform .5s var(--ease); }
.ab__d { grid-column: 2 / 4; max-height: 0; opacity: 0; overflow: hidden; color: var(--muted); font-size: .98rem; transition: max-height .6s var(--ease), opacity .4s, margin .5s var(--ease); }
.ab__row.is-active .ab__n { color: var(--accent-ink); }
.ab__row.is-active .ab__t { color: var(--ink); transform: translateX(6px); }
.ab__row.is-active .ab__arr { opacity: 1; transform: none; }
.ab__row.is-active .ab__d { max-height: 6em; opacity: 1; margin-top: .45rem; }
@media (max-width: 880px) { .ab__grid { grid-template-columns: 1fr; } .ab__stage { max-width: 460px; width: 100%; margin: 0 auto; } }

/* ---------- Cómo trabajamos: línea ligada al scroll ---------- */
.pr__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.pr__sticky { position: sticky; top: 120px; display: grid; gap: 1.2rem; justify-items: start; }
.pr__big { display: flex; align-items: baseline; gap: .3rem; font-weight: 600; letter-spacing: -.06em; line-height: .9; margin: .5rem 0; }
.pr__big span { font-size: clamp(5rem, 11vw, 9rem); background: linear-gradient(180deg, var(--accent), #9DB8FF); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.pr__big small { font-size: 1.4rem; color: var(--subtle); letter-spacing: 0; }
.pr__steps { position: relative; display: grid; gap: clamp(3rem, 8vh, 5.5rem); padding: 1rem 0 1rem 44px; }
.pr__rail { position: absolute; left: 11px; top: 0; bottom: 0; width: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
.pr__rail i { position: absolute; inset: 0; background: linear-gradient(var(--accent), #9DB8FF); transform-origin: top; transform: scaleY(0); }
.pr__st { position: relative; display: grid; gap: .5rem; justify-items: start; opacity: .35; transform: translateX(10px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.pr__st.is-on { opacity: 1; transform: none; }
.pr__dot { position: absolute; left: -41px; top: .35rem; width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 2px solid var(--line-strong); transition: border-color .4s, box-shadow .4s, background .4s; }
.pr__st.is-on .pr__dot { border-color: var(--accent); background: var(--accent); box-shadow: 0 0 0 6px var(--accent-soft); }
.pr__chip { font-size: .8rem; font-weight: 500; padding: .35rem .75rem; border-radius: 999px; background: var(--surface); color: var(--ink-2); transition: background .4s, color .4s; }
.pr__st.is-on .pr__chip { background: var(--accent-soft); color: var(--accent-ink); }
.pr__st h3 { font-size: clamp(1.6rem, 3vw, 2.4rem); letter-spacing: -.04em; line-height: 1.05; font-weight: 600; }
.pr__st p { color: var(--muted); font-size: 1.02rem; max-width: 30em; }
@media (max-width: 880px) { .pr__grid { grid-template-columns: 1fr; } .pr__sticky { position: static; } .pr__big { display: none; } }

.ab__grid { align-items: start; }
.ab__lead { display: grid; gap: 1rem; justify-items: start; position: sticky; top: 120px; }
.ab__lead .ab__intro { font-size: clamp(1.1rem, 1.6vw, 1.35rem); color: var(--ink-2); margin: 0; }
@media (max-width: 880px) { .ab__lead { position: static; } }

/* ---------- Servicios por apartados ---------- */
.stabs { position: sticky; top: 84px; z-index: 50; padding: 10px 0; background: rgba(255,255,255,.86); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); }
.stabs__in { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.stabs__in::-webkit-scrollbar { display: none; }
.stab { flex: 1 0 auto; display: flex; align-items: center; gap: .7rem; padding: .65rem .9rem; border-radius: 14px; transition: background .25s, box-shadow .3s; position: relative; }
.stab img { width: 30px; height: 30px; padding: 6px; border-radius: 9px; background: var(--surface); flex: none; transition: background .25s; }
.stab b { display: block; font-size: .9rem; font-weight: 500; color: var(--muted); white-space: nowrap; transition: color .25s; }
.stab small { display: block; font-size: .76rem; color: var(--subtle); white-space: nowrap; }
.stab:hover { background: var(--surface); }
.stab.is-active { background: #fff; box-shadow: var(--shadow); }
.stab.is-active b { color: var(--ink); }
.stab.is-active img { background: var(--accent-soft); }
.stab.is-active::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: -11px; height: 2px; border-radius: 2px; background: var(--accent); }
.stab--out { flex: 0 0 auto; }
.service { border-top: 0; }
.service.svc-in { animation: paneIn .6s var(--ease); }
@media (max-width: 880px) { .stabs { top: 80px; } .stab small { display: none; } }

/* ---------- Discord real (modo oscuro) ---------- */
.dsc--dark { --dz-rail: #1E1F22; --dz-side: #2B2D31; --dz-main: #313338; --dz-hover: #35373C; --dz-act: #404249; --dz-tx: #DBDEE1; --dz-mut: #949BA4; --dz-hd: #F2F3F5;
  grid-template-columns: 72px 240px 1fr; height: 640px; background: var(--dz-main); border: 0; border-radius: 16px; color: var(--dz-tx);
  box-shadow: 0 2px 4px rgba(0,0,0,.08), 0 40px 90px rgba(14,14,14,.22); font-family: 'gg sans', 'Noto Sans', 'Geist', system-ui, sans-serif; }
.dz__rail { background: var(--dz-rail); display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 12px 0; }
.dz__srv { position: relative; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--dz-main); color: var(--dz-tx); overflow: visible; transition: border-radius .25s, background .25s; font-size: 1.5rem; font-weight: 300; }
.dz__srv img { width: 48px; height: 48px; border-radius: 16px; }
.dz__home { background: #5865F2; color: #fff; border-radius: 16px; }
.dz__add { color: #23A559; }
.dz__srv.is-active::before { content: ""; position: absolute; left: -12px; top: 4px; width: 4px; height: 40px; border-radius: 0 4px 4px 0; background: #fff; }
.dz__sep { width: 32px; height: 2px; border-radius: 1px; background: #35363C; }
.dsc--dark .dsc__side { background: var(--dz-side); border: 0; padding: 0; display: flex; flex-direction: column; gap: 0; overflow: hidden; }
.dz__srvname { height: 48px; flex: none; display: flex; align-items: center; justify-content: space-between; padding: 0 16px; color: var(--dz-hd); box-shadow: 0 1px 0 rgba(0,0,0,.25); font-size: .95rem; }
.dz__chs { flex: 1; overflow-y: auto; padding: 8px 8px 12px; display: flex; flex-direction: column; gap: 2px; scrollbar-width: none; }
.dsc--dark .dsc__cat { display: flex; align-items: center; gap: 2px; color: var(--dz-mut); font-size: .72rem; font-weight: 600; letter-spacing: .02em; padding: 16px 4px 4px; text-transform: uppercase; }
.dsc--dark .dsc__ch { height: 32px; padding: 0 8px; gap: 6px; border-radius: 4px; color: var(--dz-mut); font-size: .95rem; font-weight: 500; background: none; }
.dsc--dark .dsc__ch svg { color: #80848E; flex: none; }
.dsc--dark .dsc__ch:hover { background: var(--dz-hover); color: var(--dz-tx); }
.dsc--dark .dsc__ch.is-active { background: var(--dz-act); color: #fff; }
.dsc--dark .dsc__ch em { background: #F23F43; color: #fff; font-size: .7rem; min-width: 16px; text-align: center; }
.dsc--dark .dsc__ch--muted { opacity: 1; color: #80848E; }
.dz__me { height: 52px; flex: none; display: flex; align-items: center; gap: 8px; padding: 0 8px; background: #232428; }
.dz__me div { flex: 1; line-height: 1.15; } .dz__me b { display: block; font-size: .85rem; color: var(--dz-hd); } .dz__me small { font-size: .74rem; color: var(--dz-mut); }
.dz__av { position: relative; width: 32px; height: 32px; border-radius: 50%; background: #5865F2; color: #fff; display: grid; place-items: center; font-size: .8rem; font-weight: 600; flex: none; }
.dz__av img { width: 32px; height: 32px; border-radius: 50%; }
.dz__av i { position: absolute; right: -2px; bottom: -2px; width: 12px; height: 12px; border-radius: 50%; background: #23A559; border: 3px solid #232428; }
.dz__av--team { background: #0E0E0E; }
.dz__ctl { display: flex; gap: 10px; color: #B5BAC1; }
.dsc--dark .dsc__main { background: var(--dz-main); }
.dsc--dark .dsc__top { height: 48px; padding: 0 16px; gap: 8px; border: 0; box-shadow: 0 1px 0 rgba(0,0,0,.2), 0 1.5px 0 rgba(0,0,0,.05); color: var(--dz-hd); }
.dsc--dark .dsc__top > svg { color: #80848E; }
.dsc--dark .dsc__top b { color: var(--dz-hd); }
.dsc--dark .dsc__top small { color: var(--dz-mut); border-left-color: #3F4147; }
.dz__tools { margin-left: auto; display: flex; align-items: center; gap: 14px; color: #B5BAC1; }
.dz__search { display: flex; align-items: center; justify-content: space-between; gap: 6px; width: 140px; height: 24px; padding: 0 6px; border-radius: 4px; background: #1E1F22; color: var(--dz-mut); font-size: .8rem; }
.dsc--dark .dsc__prog { background: #5865F2; height: 2px; }
.dz__content { flex: 1; display: grid; grid-template-columns: 1fr 220px; min-height: 0; }
.dz__msgs { display: flex; flex-direction: column; min-height: 0; }
.dsc--dark .dsc__feed { padding: 16px 16px 8px; gap: 16px; scrollbar-width: thin; scrollbar-color: #1A1B1E transparent; }
.dsc--dark .msg__meta { color: var(--dz-mut); font-size: .75rem; }
.dsc--dark .msg__meta b { color: #fff; font-size: 1rem; font-weight: 500; }
.dsc--dark .msg__tag { background: #5865F2; border-radius: 3px; font-size: .62rem; padding: 1px 4px; }
.dsc--dark .emb { background: #2B2D31; border-radius: 4px; color: var(--dz-tx); max-width: 520px; }
.dsc--dark .emb h4 { color: #fff; font-size: .98rem; }
.dsc--dark .emb p { color: var(--dz-tx); }
.dsc--dark .emb__src { color: #B5BAC1; }
.dsc--dark .emb__why { color: var(--dz-mut) !important; }
.dsc--dark .emb__why b { color: #fff; }
.dsc--dark .emb__toolhead a { color: #00A8FC; }
.dsc--dark .emb__toolhead img, .dsc--dark .emb__letter { background: #fff; border: 0; }
.dsc--dark .emb__dl dt { color: #B5BAC1; } .dsc--dark .emb__dl dd { color: var(--dz-tx); }
.dsc--dark .emb__idea { background: #232428; border-color: #3FCF8E; }
.dsc--dark .emb__steps li { background: #232428; border-color: #3F4147; color: var(--dz-tx); }
.dsc--dark .msg__reacts span { background: #373A54; border-color: #5865F2; color: #fff; border-radius: 8px; }
.dsc--dark .msg__reacts b { color: #DEE0FC; }
.dsc--dark .thread { color: #00A8FC; } .dsc--dark .thread__line { border-color: #4E5058; }
.dsc--dark .dsc__input { margin: 0 16px 20px; padding: 0 8px 0 0; height: 44px; border-radius: 8px; background: #383A40; color: #6D6F78; gap: 10px; justify-content: flex-start; }
.dsc--dark .dsc__input > span:nth-child(2) { flex: 1; }
.dz__plus { width: 24px; height: 24px; margin-left: 12px; border-radius: 50%; display: grid; place-items: center; background: #B5BAC1; color: #383A40; font-weight: 700; }
.dz__members { background: var(--dz-side); padding: 16px 8px; overflow: hidden; }
.dz__members p { font-size: .72rem; font-weight: 600; color: var(--dz-mut); padding: 16px 8px 4px; letter-spacing: .02em; }
.dz__members p:first-child { padding-top: 4px; }
.dz__mem { display: flex; align-items: center; gap: 10px; padding: 6px 8px; border-radius: 4px; font-size: .92rem; color: var(--dz-tx); }
.dz__mem:hover { background: var(--dz-hover); }
.dz__mem b { font-weight: 500; }
.dz__mem .dz__av i { border-color: var(--dz-side); }
.dz__mem--cta a { color: #00A8FC; font-size: .85rem; }
@media (max-width: 1100px) { .dz__content { grid-template-columns: 1fr; } .dz__members { display: none; } }
@media (max-width: 820px) {
  .dsc--dark { grid-template-columns: 1fr; height: auto; }
  .dz__rail, .dz__srvname, .dz__me, .dz__tools, .dsc--dark .dsc__cat, .dsc--dark .dsc__ch--muted { display: none; }
  .dz__chs { flex-direction: row; overflow-x: auto; padding: 8px; }
  .dsc--dark .dsc__ch { flex: none; background: var(--dz-main); }
}

/* ---------- Agenda en directo ---------- */
.agenda { margin-top: 28px; padding: 1.6rem 0 0; }
.agenda__head { display: flex; justify-content: space-between; align-items: end; gap: 1.5rem; flex-wrap: wrap; margin-bottom: 1.6rem; }
.agenda__next { font-size: .8rem; color: var(--muted); }
.agenda__what { display: block; font-size: clamp(1.3rem, 2.4vw, 1.8rem); letter-spacing: -.03em; font-weight: 600; margin-top: .15rem; }
.agenda__in { font: 500 .85rem var(--mono); color: var(--accent-ink); }
.agenda__days { display: flex; gap: 4px; padding: 4px; border-radius: 12px; background: var(--surface); }
.agenda__days button { position: relative; height: 34px; padding: 0 .8rem; border: 0; border-radius: 9px; background: none; font-size: .85rem; font-weight: 500; color: var(--muted); cursor: pointer; transition: background .2s, color .2s; }
.agenda__days button.is-active { background: #fff; color: var(--ink); box-shadow: var(--shadow); }
.agenda__days button.is-today::after { content: ""; position: absolute; top: 5px; right: 6px; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
.agenda__track { position: relative; padding-bottom: 92px; }
.agenda__hours { display: flex; justify-content: space-between; font: .7rem var(--mono); color: var(--subtle); margin-bottom: 10px; }
.agenda__line { position: relative; height: 6px; border-radius: 999px; background: linear-gradient(90deg, var(--surface), var(--accent-soft) 35%, var(--accent-soft) 75%, var(--surface)); }
.agenda__now { position: absolute; top: 50%; width: 2px; height: 40px; margin-top: -20px; background: var(--ink); border-radius: 2px; transition: left 1s linear; z-index: 2; }
.agenda__now::before { content: ""; position: absolute; left: -4px; top: -4px; width: 10px; height: 10px; border-radius: 50%; background: var(--ink); box-shadow: 0 0 0 5px rgba(14,14,14,.08); animation: pulse 2s infinite; }
.agenda__now b { position: absolute; top: -28px; left: 50%; transform: translateX(-50%); font: 500 .7rem var(--mono); padding: 2px 6px; border-radius: 6px; background: var(--ink); color: #fff; white-space: nowrap; }
.agenda__ev { position: absolute; top: 18px; transform: translateX(-50%); display: grid; justify-items: center; text-align: center; gap: 2px; min-width: 120px; animation: fadeUp .5s var(--ease) both; }
.agenda__ev::before { content: ""; position: absolute; top: -21px; width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 3px solid currentColor; }
.agenda__ev span { font: .7rem var(--mono); opacity: .8; }
.agenda__ev b { font-size: .85rem; font-weight: 600; color: var(--ink); white-space: nowrap; }
.agenda__ev small { font-size: .74rem; color: var(--muted); }
.agenda__ev--n { color: #5865F2; } .agenda__ev--t { color: #13A85E; } .agenda__ev--r { color: #D19A00; } .agenda__ev--q { color: var(--accent-ink); }
.agenda__note { font-size: .82rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 1rem; }
@media (max-width: 700px) { .agenda__ev b { font-size: .72rem; } .agenda__ev { min-width: 80px; } .agenda__ev small { display: none; } }

/* Iconos de línea en lugar de emojis */
.ico { width: 1.05em; height: 1.05em; display: inline-block; vertical-align: -.16em; flex: none; }
.msg__reacts .ico { width: 15px; height: 15px; color: #DEE0FC; }
.emb__src .ico, .emb__dl .ico { color: currentColor; margin-right: 4px; }
.pr__chip { display: inline-flex; align-items: center; gap: .45rem; }
.sh__badge { display: inline-flex; align-items: center; gap: .45rem; } .sh__badge .ico { color: var(--accent-ink); }

/* Sin cortes de color: todo funde */
.section--surface { background: linear-gradient(180deg, #FFFFFF 0%, var(--surface) 22%, var(--surface) 78%, #FFFFFF 100%); }
.cstage { padding-bottom: clamp(7rem, 12vw, 10rem); }
.cstage::after { height: 320px; background: linear-gradient(180deg, rgba(10,12,24,0) 0%, rgba(10,12,24,.35) 25%, rgba(120,140,200,.35) 55%, #EEF2FA 85%, #FFFFFF 100%) !important; z-index: 0; pointer-events: none; }
.cstage__grid { position: relative; z-index: 1; }
.footer { margin-top: 0; }

/* Discord real: detalles de los mensajes */
.dz__emo { display: inline-flex; color: #B5BAC1; }
.dsc--dark .dsc__ch.is-active .dz__emo { color: #fff; }
.dsc--dark .emb--news { border-left-color: #E5484D; }
.dsc--dark .emb--tool { border-left-color: #3FCF8E; }
.dsc--dark .emb--q { border-left-color: #5865F2; }
.dsc--dark .emb--yt { border-left-color: #FF0033; }
.dsc--dark .emb--head h4 { display: flex; align-items: center; gap: 6px; font-size: 1.05rem; }
.emb__foot { font-size: .72rem; color: #949BA4; margin-top: 2px; }
.emb__quote { margin: 4px 0 2px; padding: 2px 0 2px 10px; border-left: 4px solid #4E5058; border-radius: 2px; font-size: .86rem; color: #DBDEE1; }
.emb__quote b { color: #fff; font-weight: 600; display: inline-flex; align-items: center; gap: 3px; }
.emb__btn { justify-self: start; display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; margin-top: 6px; border-radius: 8px; background: #4E5058; color: #fff; font-size: .82rem; font-weight: 500; }
.emb__btns { display: flex; flex-wrap: wrap; gap: 6px; }
.dsc--dark .emb__toolhead { gap: 10px; }
.dsc--dark .emb__toolhead img { width: 34px; height: 34px; padding: 7px; border-radius: 8px; }
.emb__dl--2 { grid-template-columns: 1fr 1fr; display: grid; gap: 10px; margin-top: 4px; }
.poll { max-width: 440px; padding: 14px 16px; border-radius: 8px; background: #2B2D31; border: 1px solid #3F4147; display: grid; gap: 8px; }
.poll b { color: #fff; } .poll p { color: #DBDEE1; font-size: .92rem; }
.poll__opt { height: 40px; display: flex; align-items: center; padding: 0 12px; border-radius: 8px; background: #383A40; color: #DBDEE1; font-size: .88rem; position: relative; overflow: hidden; }
.poll small { color: #949BA4; font-size: .76rem; }
@media (max-width: 700px) { .emb__dl--2 { grid-template-columns: 1fr; } }

/* Vídeo 3D de SaaS */
.sh__app--3d { aspect-ratio: 16/9; }
.sh__video { width: 118%; margin-left: -9%; height: auto; display: block; -webkit-mask-image: radial-gradient(80% 85% at 50% 50%, #000 70%, transparent 100%); mask-image: radial-gradient(80% 85% at 50% 50%, #000 70%, transparent 100%); }
.sh__app--3d .sh__badge--1 { top: 6%; left: 4%; } .sh__app--3d .sh__badge--2 { right: 0; top: 46%; } .sh__app--3d .sh__badge--3 { bottom: 4%; left: 30%; }

/* ---------- Escenas reales de «Lo que construimos» ---------- */
.svx__stage { min-height: 520px; background: radial-gradient(90% 80% at 70% 20%, var(--accent-soft), #F7F8FA 60%, #fff); }
.rz { position: relative; flex: 1; display: grid; place-items: center; min-height: 0; }
.rz__win { position: relative; width: 100%; max-width: 640px; border-radius: 14px; overflow: hidden; background: #fff; border: 1px solid var(--line);
  box-shadow: 0 2px 6px rgba(14,14,14,.05), 0 30px 70px rgba(14,14,14,.16); animation: rzIn .7s var(--ease) both; }
@keyframes rzIn { from { opacity: 0; transform: translateY(18px) scale(.97); } to { opacity: 1; transform: none; } }
.rz__bar { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; background: #F1F2F5; border-bottom: 1px solid var(--line); }
.rz__bar i { width: 10px; height: 10px; border-radius: 50%; background: #FF5F57; } .rz__bar i:nth-child(2) { background: #FEBC2E; } .rz__bar i:nth-child(3) { background: #28C840; }
.rz__bar span { margin-left: 10px; font: .72rem var(--mono); color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rz__win > img { display: block; width: 100%; height: auto; }
.rz__tag { position: absolute; left: 0; bottom: -4px; font-size: .72rem; color: var(--muted); }
/* n8n: lento barrido de cámara sobre la captura real */
.rz--n8n .rz__win img { transform-origin: 30% 30%; animation: kenburns 14s ease-in-out infinite alternate; }
@keyframes kenburns { from { transform: scale(1.02); } to { transform: scale(1.14) translate(-3%, -2%); } }
.rz__exec { position: absolute; right: -10px; bottom: 24px; width: 230px; border-radius: 12px; overflow: hidden; background: #2D2E32; color: #fff; box-shadow: 0 20px 50px rgba(0,0,0,.3); font-size: .74rem; animation: rzIn .7s var(--ease) .3s both; }
.rz__exechead { display: flex; justify-content: space-between; padding: 10px 12px; font-size: .8rem; border-bottom: 1px solid #3B3C41; }
.rz__exechead span { color: #9A9CA3; font-size: .7rem; }
.rz__run { display: grid; padding: 8px 12px; border-left: 3px solid #4CC38A; background: #35363B; margin: 4px 0; }
.rz__run b { font-weight: 600; } .rz__run span { color: #B5B7BD; }
.rz__run.is-new { animation: tickIn .5s var(--ease); background: #3C3E44; }
/* WhatsApp */
.wa { width: 100%; max-width: 380px; border-radius: 18px; overflow: hidden; box-shadow: 0 30px 70px rgba(14,14,14,.18); animation: rzIn .7s var(--ease) both; font-family: 'Segoe UI', Helvetica, Arial, sans-serif; }
.wa__head { display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: #008069; color: #fff; }
.wa__head img { width: 36px; height: 36px; border-radius: 50%; background: #fff; }
.wa__head div { flex: 1; line-height: 1.2; } .wa__head b { font-size: .95rem; font-weight: 600; } .wa__head small { display: block; font-size: .74rem; opacity: .85; }
.wa__badge { width: 30px; height: 30px; border-radius: 50%; background: #25D366; display: grid; place-items: center; }
.wa__body { display: flex; flex-direction: column; gap: 6px; padding: 14px 12px; min-height: 300px; background: #EFEAE2;
  background-image: radial-gradient(rgba(0,0,0,.04) 1px, transparent 1px); background-size: 14px 14px; }
.wa__day { align-self: center; font-size: .68rem; padding: 3px 10px; border-radius: 8px; background: #fff; color: #54656F; box-shadow: 0 1px 1px rgba(0,0,0,.08); margin-bottom: 4px; }
.wa__m { position: relative; max-width: 82%; padding: 6px 9px 18px; border-radius: 8px; font-size: .86rem; line-height: 1.35; color: #111B21; box-shadow: 0 1px 1px rgba(0,0,0,.1); opacity: 0; animation: fadeUp .4s var(--ease) var(--d) forwards; }
.wa__m time { position: absolute; right: 8px; bottom: 3px; font-size: .62rem; color: #667781; }
.wa__in { align-self: flex-start; background: #fff; border-top-left-radius: 0; }
.wa__out { align-self: flex-end; background: #D9FDD3; border-top-right-radius: 0; }
.wa__out time { color: #53BDEB; }
.wa__typing { align-self: flex-end; display: inline-flex; gap: 4px; padding: 10px 12px; border-radius: 8px; background: #D9FDD3; opacity: 0; animation: fadeUp .4s var(--ease) var(--d) forwards; }
.wa__typing span { width: 6px; height: 6px; border-radius: 50%; background: #8696A0; animation: acDot 1.2s infinite; }
.wa__typing span:nth-child(2) { animation-delay: .15s; } .wa__typing span:nth-child(3) { animation-delay: .3s; }
.wa__input { display: flex; align-items: center; gap: 8px; padding: 8px 10px; background: #F0F2F5; }
.wa__input span { flex: 1; padding: 9px 14px; border-radius: 999px; background: #fff; font-size: .82rem; color: #8696A0; }
.wa__input i { width: 36px; height: 36px; border-radius: 50%; background: #00A884; }
/* App */
.rz--app .rz__win { max-width: 600px; transform: perspective(1400px) rotateY(-6deg); }
.rz__phone { position: absolute; right: 2%; bottom: 6%; width: 22%; max-width: 150px; border-radius: 20px; border: 6px solid #0E0E0E; box-shadow: 0 30px 60px rgba(14,14,14,.3); animation: rzIn .7s var(--ease) .25s both, float 6s ease-in-out 1s infinite; }
/* Web: scroll automático de la captura */
.rz__win--scroll .rz__shot { height: 330px; overflow: hidden; }
.rz__win--scroll .rz__shot img { width: 100%; animation: webScroll 12s ease-in-out infinite alternate; }
@keyframes webScroll { 0%, 15% { transform: translateY(0); } 85%, 100% { transform: translateY(calc(-100% + 330px)); } }
.rz__lh { position: absolute; left: 4%; bottom: 22px; display: flex; gap: 6px; flex-wrap: wrap; }
.rz__lh span { font-size: .74rem; font-weight: 500; padding: .4rem .7rem; border-radius: 999px; background: #fff; box-shadow: var(--shadow); animation: rzIn .6s var(--ease) both; }
.rz__lh span:nth-child(2) { animation-delay: .1s; } .rz__lh span:nth-child(3) { animation-delay: .2s; }
/* SaaS 3D */
.rz__3d { width: 112%; max-width: none; height: auto; -webkit-mask-image: radial-gradient(75% 80% at 50% 50%, #000 65%, transparent 100%); mask-image: radial-gradient(75% 80% at 50% 50%, #000 65%, transparent 100%); }
.rz__pay { position: absolute; right: 4%; top: 10%; display: flex; align-items: center; gap: .6rem; padding: .6rem .8rem; border-radius: 12px; background: #fff; box-shadow: var(--shadow-lg); font-size: .8rem; animation: rzIn .6s var(--ease) .4s both, float 7s ease-in-out 1s infinite; }
.rz__pay img { width: 22px; height: 22px; } .rz__pay b { display: block; } .rz__pay small { color: var(--muted); }
@media (max-width: 900px) { .rz__exec { right: 0; width: 190px; } .svx__stage { min-height: 460px; } }

/* Para quién es (sin caja) */
.who2__head { display: flex; justify-content: space-between; align-items: end; gap: 1.5rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
.who2__head .h2 { max-width: 16em; }
.who2__grid { display: grid; grid-template-columns: 340px 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.who2__tabs { display: grid; border-top: 1px solid var(--line); }
.who2__tab { position: relative; display: grid; grid-template-columns: 36px 1fr; gap: .4rem; text-align: left; padding: 1rem 0; border: 0; border-bottom: 1px solid var(--line); background: none; cursor: pointer; }
.who2__tab::after { content: ""; position: absolute; left: 0; bottom: -1px; height: 2px; width: 0; background: var(--accent); transition: width .6s var(--ease); }
.who2__tab.is-active::after { width: 100%; }
.who2__n { font: .78rem var(--mono); color: var(--subtle); padding-top: .2rem; }
.who2__tab b { display: block; font-size: 1.1rem; font-weight: 600; letter-spacing: -.02em; color: #B9BDC5; transition: color .3s; }
.who2__tab small { display: block; font-size: .86rem; color: var(--subtle); margin-top: 2px; }
.who2__tab.is-active b { color: var(--ink); } .who2__tab.is-active .who2__n { color: var(--accent-ink); } .who2__tab.is-active small { color: var(--muted); }
.who2__pane { display: none; } .who2__pane.is-active { display: block; animation: paneIn .55s var(--ease); }
.who2__sit { font-size: clamp(1.3rem, 2.4vw, 1.9rem); letter-spacing: -.03em; line-height: 1.2; font-weight: 500; color: var(--ink); margin-bottom: 1.8rem; }
.who2__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.who2 h4 { font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); margin-bottom: .8rem; }
.who2 ul { list-style: none; display: grid; gap: .8rem; }
.who2 li { display: flex; gap: .6rem; font-size: .98rem; line-height: 1.45; }
.who2 li::before { content: ""; flex: none; width: 7px; height: 7px; margin-top: .55rem; border-radius: 50%; background: var(--accent); }
.who2__msg { display: flex; gap: 10px; padding: 14px; border-radius: 14px; background: #313338; color: #DBDEE1; }
.who2__msg img { width: 36px; height: 36px; border-radius: 50%; flex: none; }
.who2__meta { display: flex; align-items: center; gap: 6px; } .who2__meta b { color: #fff; } .who2__meta span { font-size: .6rem; font-weight: 700; padding: 1px 4px; border-radius: 3px; background: #5865F2; color: #fff; }
.who2__emb { margin-top: 6px; padding: 8px 10px; border-left: 4px solid #5865F2; border-radius: 4px; background: #2B2D31; font-size: .86rem; }
.who2__emb b { color: #fff; display: block; margin-bottom: 2px; }
.who2__msg small { display: block; margin-top: 6px; font-size: .72rem; color: #949BA4; }
.who2__chips { display: flex; gap: 6px; flex-wrap: wrap; }
.who2__chip { font-size: .82rem; font-weight: 500; padding: .4rem .75rem; border-radius: 8px; background: #EEF0FF; color: #4752C4; }
@media (max-width: 900px) { .who2__grid, .who2__cols { grid-template-columns: 1fr; } }

/* Huecos de vídeo con interfaz real */
.media-slot { position: relative; display: flex; flex-direction: column; padding: 1.4rem 1.4rem 2rem; border-radius: var(--r-lg); background: radial-gradient(90% 80% at 70% 20%, var(--accent-soft), #F7F8FA 60%, #fff); min-height: 420px; overflow: hidden; }
.media-slot .rz { flex: 1; }
.media-slot .rz__tag { left: 1.4rem; bottom: .7rem; }

/* Canales de venta reales (Fun & Tickets) */
.rz--n8n { gap: 12px; align-content: center; }
.rz__chan { display: flex; align-items: center; gap: 8px; width: 100%; max-width: 640px; animation: rzIn .6s var(--ease) both; }
.rz__src { display: flex; gap: 4px; }
.rz__ch { width: 34px; height: 34px; border-radius: 10px; overflow: hidden; background: #fff; box-shadow: var(--shadow); animation: chPulse 3s ease-in-out calc(var(--i) * .5s) infinite; }
.rz__ch img { width: 100%; height: 100%; object-fit: cover; }
@keyframes chPulse { 0%, 70%, 100% { transform: none; } 10% { transform: translateY(-4px); box-shadow: 0 10px 20px rgba(14,14,14,.18); } }
.rz__wire { position: relative; flex: 1; height: 2px; background: var(--line-strong); border-radius: 2px; overflow: hidden; min-width: 24px; }
.rz__wire i { position: absolute; top: -1px; left: -10%; width: 10px; height: 4px; border-radius: 4px; background: var(--accent); animation: wireRun 1.8s linear infinite; }
.rz__wire i:nth-child(2) { animation-delay: .6s; } .rz__wire i:nth-child(3) { animation-delay: 1.2s; }
@keyframes wireRun { to { left: 110%; } }
.rz__bokun, .rz__n8n { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 10px 0 4px; border-radius: 10px; background: #fff; box-shadow: var(--shadow); font-size: .8rem; font-weight: 600; white-space: nowrap; }
.rz__bokun img, .rz__n8n img { width: 26px; height: 26px; border-radius: 7px; }
.rz__n8n img { padding: 3px; }
.cs__chans { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin: .4rem 0 1rem; }
.cs__chan { display: inline-flex; align-items: center; gap: .45rem; height: 34px; padding: 0 .75rem 0 .3rem; border-radius: 10px; background: var(--surface); font-size: .82rem; font-weight: 500; }
.cs__chan img { width: 24px; height: 24px; border-radius: 6px; }
.cs__chan--bk { background: var(--ink); color: #fff; }
.cs__arrow { color: var(--accent); font-weight: 700; padding: 0 .2rem; }
.tool img[src*="ch-"] { border-radius: 5px; }
.rz--n8n { display: flex; flex-direction: column; justify-content: center; }
.rz--n8n .rz__win { flex: none; }

/* Escena n8n limpia */
.rz--n8n { display: flex; flex-direction: column; justify-content: center; align-items: stretch; gap: 14px; width: 100%; max-width: 620px; margin: 0 auto; }
.n8w { position: relative; border-radius: 14px; overflow: hidden; background: #1E1E1E; box-shadow: 0 2px 6px rgba(14,14,14,.06), 0 30px 70px rgba(14,14,14,.22); animation: rzIn .7s var(--ease) both; }
.n8w__bar { display: flex; align-items: center; gap: 10px; height: 40px; padding: 0 14px; background: #2A2A2E; border-bottom: 1px solid #3A3A40; font-size: .78rem; color: #A9ABB2; white-space: nowrap; }
.n8w__bar img { width: 18px; height: 18px; }
.n8w__bar b { color: #fff; font-weight: 600; }
.n8w__bar em { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-style: normal; font-size: .72rem; padding: 3px 10px; border-radius: 6px; border: 1px solid #3F4046; color: #C9CBD1; }
.n8w__bar em i { width: 7px; height: 7px; border-radius: 50%; background: #4CC38A; }
.n8w__canvas { position: relative; aspect-ratio: 570 / 292; overflow: hidden; }
.n8w__canvas img { width: 100%; height: 100%; object-fit: cover; transform-origin: 40% 35%; animation: kenburns 16s ease-in-out infinite alternate; }
.n8w__pulse { position: absolute; left: 38%; top: 42%; width: 14px; height: 14px; border-radius: 50%; background: #4CC38A; box-shadow: 0 0 0 0 rgba(76,195,138,.6); animation: pulse 1.8s infinite; }
.n8w__exec { display: grid; gap: 4px; padding: 10px 14px 12px; background: #2A2A2E; border-top: 1px solid #3A3A40; font-size: .76rem; color: #C9CBD1; }
.n8w__exec b { color: #fff; font-size: .8rem; margin-bottom: 2px; }
.n8w__exec span { display: flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: .72rem; }
.n8w__exec i { width: 3px; height: 14px; border-radius: 2px; background: #4CC38A; }
.rz--n8n .rz__chan { max-width: none; }
.rz--n8n .n8w__canvas { aspect-ratio: auto; height: clamp(190px, 22vw, 250px); }
.svx__pane .rz { overflow: visible; }
.rz--n8n .n8w__canvas { height: clamp(170px, 18vw, 215px); }

/* Vídeos explicativos 4K por servicio */
.vid-slot { position: relative; border-radius: var(--r-lg); overflow: hidden; background: #F4F7FD; aspect-ratio: 16 / 9; box-shadow: 0 2px 6px rgba(14,14,14,.05), 0 30px 70px rgba(14,14,14,.12); }
.vid-slot video { width: 100%; height: 100%; object-fit: cover; display: block; }
.vid-slot__sound { position: absolute; right: 12px; bottom: 12px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255,255,255,.9); display: grid; place-items: center; cursor: pointer; box-shadow: var(--shadow); opacity: 0; transition: opacity .25s; }
.vid-slot:hover .vid-slot__sound { opacity: 1; }
.vid-slot__sound svg { width: 18px; height: 18px; }

/* «Lo que construimos» con los vídeos 4K */
.svx__stage { transform: none !important; min-height: 0; background: #F4F7FD; }
.svx__spot { display: none; }
.svx__pane { position: relative; inset: auto; display: none; padding: 0; gap: 0; }
.svx__pane.is-active { display: flex; flex-direction: column; }
.svx__vid { position: relative; aspect-ratio: 16 / 9; background: #F4F7FD; overflow: hidden; }
.svx__vid video { width: 100%; height: 100%; object-fit: cover; display: block; }
.svx__vtag { position: absolute; left: 14px; top: 14px; font-size: .74rem; font-weight: 500; padding: .35rem .7rem; border-radius: 999px; background: rgba(255,255,255,.88); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: var(--ink-2); box-shadow: 0 1px 2px rgba(14,14,14,.06); }
.svx__pane .svx__foot { padding: 14px 18px; border-top: 1px solid var(--line); background: #fff; }
.svx { align-items: start; }

/* Punto del logotipo grande: círculo separado */
.footer__word .fw-dot { display: inline-block; width: .19em; height: .19em; margin-left: .07em; border-radius: 50%; background: rgba(91,140,255,.28); vertical-align: baseline; }

/* ---------- Simulador de MRR ---------- */
.sim { border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: 0 1px 2px rgba(14,14,14,.04), 0 24px 60px rgba(14,14,14,.07); overflow: hidden; font-variant-numeric: tabular-nums; }
.sim__bar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 12px 16px; border-bottom: 1px solid var(--line); background: #FBFBFC; }
.sim__title { display: flex; align-items: center; gap: 10px; margin-right: auto; font-size: .92rem; }
.sim__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px rgba(25,169,116,.15); }
.sim__mono { font: .74rem var(--mono); color: var(--subtle); }
.sim__seg { display: inline-flex; padding: 3px; border-radius: 10px; background: #F0F1F4; gap: 2px; }
.sim__seg button { height: 30px; padding: 0 .8rem; border: 0; border-radius: 8px; background: none; font-size: .82rem; font-weight: 500; color: var(--muted); cursor: pointer; }
.sim__seg button.is-on { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(14,14,14,.08), 0 0 0 1px rgba(14,14,14,.04); }
.sim__seg--sm button { font-family: var(--mono); font-size: .76rem; }
.sim__body { display: grid; grid-template-columns: 300px 1fr; }
.sim__in { padding: 18px; border-right: 1px solid var(--line); display: grid; gap: 18px; align-content: start; background: #FCFCFD; }
.sim__f { display: grid; gap: 8px; }
.sim__f > span { font-size: .78rem; font-weight: 500; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.sim__num { display: flex; align-items: center; height: 40px; border: 1px solid var(--line-strong); border-radius: 10px; background: #fff; overflow: hidden; }
.sim__num:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.sim__num button { width: 36px; height: 100%; border: 0; background: #F7F8FA; color: var(--muted); font-size: 1rem; cursor: pointer; }
.sim__num button:hover { color: var(--ink); background: #EFF1F4; }
.sim__num input { flex: 1; min-width: 0; height: 100%; border: 0; outline: none; text-align: right; padding: 0 6px; font: 600 1rem var(--mono); -moz-appearance: textfield; }
.sim__num input::-webkit-inner-spin-button { display: none; }
.sim__num em { font: .74rem var(--mono); font-style: normal; color: var(--subtle); padding-right: 8px; white-space: nowrap; }
.sim__f input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 4px; border-radius: 4px; background: #E7EAF0; outline: none; }
.sim__f input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 2px solid var(--accent); box-shadow: 0 1px 3px rgba(14,14,14,.2); cursor: grab; }
.sim__f input[type=range]::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 2px solid var(--accent); }
.sim__chk { display: flex; align-items: center; gap: 10px; font-size: .85rem; cursor: pointer; flex-wrap: wrap; }
.sim__chk input { position: absolute; opacity: 0; }
.sim__chk span { position: relative; width: 34px; height: 20px; border-radius: 999px; background: #D6D8DD; transition: background .2s; flex: none; }
.sim__chk span::after { content: ""; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform .25s var(--ease); box-shadow: 0 1px 2px rgba(0,0,0,.2); }
.sim__chk input:checked + span { background: var(--accent); }
.sim__chk input:checked + span::after { transform: translateX(14px); }
.sim__chk small { width: 100%; padding-left: 44px; color: var(--subtle); font: .72rem var(--mono); }
.sim__out { padding: 18px; display: grid; gap: 16px; min-width: 0; }
.sim__kpis { display: grid; grid-template-columns: repeat(6, 1fr); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.sim__kpis div { padding: 12px 14px; border-right: 1px solid var(--line); display: grid; gap: 2px; min-width: 0; }
.sim__kpis div:last-child { border-right: 0; }
.sim__kpis div:first-child { background: var(--accent-soft); }
.sim__kpis small { font-size: .7rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); white-space: nowrap; }
.sim__kpis b { font: 600 1.15rem var(--mono); letter-spacing: -.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sim__kpis div:first-child b { color: var(--accent-ink); font-size: 1.35rem; }
.sim__kpis em { font: .68rem var(--mono); font-style: normal; color: var(--ok); }
.sim__chart { position: relative; height: 280px; cursor: crosshair; }
.sim__chart svg { width: 100%; height: 100%; display: block; }
.sim__chart .gl { stroke: #EEF0F3; stroke-width: 1; }
.sim__chart .ax { font: 11px var(--mono); fill: #9AA0A6; }
.sim__chart .bar { fill: #DCE6FF; }
.sim__chart .area { fill: url(#simFill); }
.sim__chart .ln { fill: none; stroke: var(--accent); stroke-width: 2.5; stroke-linejoin: round; }
.sim__chart .cross { stroke: #0E0E0E; stroke-dasharray: 3 3; stroke-width: 1; }
.sim__chart .pt { fill: #fff; stroke: var(--accent); stroke-width: 2.5; }
.sim__tip { position: absolute; display: grid; gap: 3px; min-width: 176px; padding: 10px 12px; border-radius: 10px; background: #0E0E0E; color: #fff; font-size: .76rem; pointer-events: none; opacity: 0; transform: translateY(4px); transition: opacity .15s, transform .15s; box-shadow: 0 12px 30px rgba(14,14,14,.25); }
.sim__tip.on { opacity: 1; transform: none; }
.sim__tip b { font-size: .8rem; margin-bottom: 2px; }
.sim__tip span { display: flex; justify-content: space-between; gap: 12px; color: rgba(255,255,255,.65); }
.sim__tip em { font-style: normal; font-family: var(--mono); color: #fff; }
.sim__tbl { width: 100%; border-collapse: collapse; font: .8rem var(--mono); }
.sim__tbl th { text-align: right; font: 500 .7rem var(--font); text-transform: uppercase; letter-spacing: .05em; color: var(--muted); padding: 6px 10px; border-bottom: 1px solid var(--line); }
.sim__tbl td { text-align: right; padding: 7px 10px; border-bottom: 1px solid #F2F3F5; color: var(--ink-2); }
.sim__tbl th:first-child, .sim__tbl td:first-child { text-align: left; }
.sim__tbl tr:last-child td { border-bottom: 0; font-weight: 600; color: var(--ink); }
.sim__foot { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding: 10px 16px; border-top: 1px solid var(--line); background: #FBFBFC; font-size: .74rem; color: var(--subtle); }
@media (max-width: 1080px) { .sim__kpis { grid-template-columns: repeat(3, 1fr); } .sim__kpis div:nth-child(3) { border-right: 0; } .sim__kpis div:nth-child(-n+3) { border-bottom: 1px solid var(--line); } }
@media (max-width: 860px) { .sim__body { grid-template-columns: 1fr; } .sim__in { border-right: 0; border-bottom: 1px solid var(--line); } .sim__kpis { grid-template-columns: 1fr 1fr; } .sim__kpis div { border-right: 0; border-bottom: 1px solid var(--line); } .sim__tbl th:nth-child(3), .sim__tbl td:nth-child(3) { display: none; } }

/* Auditoría: pasos cortos con altura fija igual a la columna de texto */
.audit { align-items: stretch; }
.audit__card { display: flex; flex-direction: column; }
.audit__card form { display: flex; flex-direction: column; flex: 1; }
.wstep { min-height: 330px; align-content: start; }
.wnav { margin-top: auto; padding-top: 1rem; }

/* ---------- «Lo que construimos»: se pulsa o avanza solo al acabar cada vídeo ---------- */
.sc { position: relative; }
.sc__sticky { min-height: 100vh; padding: var(--section) 0; display: flex; align-items: center; overflow: hidden; }
.sc__grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.sc__left { position: relative; padding-left: 26px; }
.sc__left .h2 { margin-bottom: 1.6rem; }
.sc__prog { position: absolute; left: 0; top: 5.2rem; bottom: 0; width: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
.sc__prog i { position: absolute; inset: 0; background: linear-gradient(var(--accent), #9DB8FF); transform-origin: top; transform: scaleY(0); }
.sc__list { list-style: none; display: grid; gap: 2px; }
.sc__it { display: grid; grid-template-columns: 34px 1fr; gap: .4rem; padding: .7rem 0; cursor: pointer; }
.sc__n { font: .78rem var(--mono); color: var(--subtle); padding-top: .35rem; transition: color .3s; }
.sc__it h3 { font-size: clamp(1.15rem, 1.7vw, 1.45rem); font-weight: 600; letter-spacing: -.025em; color: #BCC0C7; transition: color .35s, transform .5s var(--ease); }
.sc__it p, .sc__it .sc__tools { max-height: 0; opacity: 0; overflow: hidden; transition: max-height .6s var(--ease), opacity .4s, margin .5s var(--ease); }
.sc__it p { color: var(--muted); font-size: .98rem; line-height: 1.5; }
.sc__tools { display: flex; align-items: center; gap: 6px; }
.sc__tools img { width: 30px; height: 30px; padding: 6px; border-radius: 9px; background: var(--surface); }
.sc__tools a { margin-left: auto; font-size: .88rem; font-weight: 500; color: var(--accent-ink); }
.sc__it.is-on .sc__n { color: var(--accent-ink); }
.sc__it.is-on h3 { color: var(--ink); transform: translateX(4px); }
.sc__it.is-on p { max-height: 6em; opacity: 1; margin-top: .4rem; }
.sc__it.is-on .sc__tools { max-height: 3em; opacity: 1; margin-top: .8rem; }
.sc__stage { position: relative; aspect-ratio: 16 / 10.2; }
.sc__m { position: absolute; inset: 0; border-radius: 16px; overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: 0 2px 6px rgba(14,14,14,.05), 0 40px 90px rgba(14,14,14,.16); opacity: 0; transition: opacity .55s var(--ease), transform .7s var(--ease); display: flex; flex-direction: column; will-change: transform, opacity; }
.sc__m.is-on { opacity: 1; z-index: 2; }
.sc__bar { flex: none; display: flex; align-items: center; gap: 7px; height: 36px; padding: 0 14px; background: #F3F4F6; border-bottom: 1px solid var(--line); }
.sc__bar i { width: 11px; height: 11px; border-radius: 50%; background: #FF5F57; } .sc__bar i:nth-child(2) { background: #FEBC2E; } .sc__bar i:nth-child(3) { background: #28C840; }
.sc__bar span { margin: 0 auto; transform: translateX(-24px); font: .74rem var(--mono); color: var(--muted); padding: 3px 14px; border-radius: 6px; background: #fff; border: 1px solid var(--line); }
.sc__m video { flex: 1; width: 100%; min-height: 0; object-fit: cover; display: block; background: #F4F7FD; }
.sc__glow { position: absolute; inset: 10% -6% -10%; z-index: 0; background: radial-gradient(closest-side, rgba(91,140,255,.22), transparent); filter: blur(30px); }
@media (max-width: 900px) { .sc { height: auto; } .sc__sticky { position: static; height: auto; padding: var(--section) 0; } .sc__grid { grid-template-columns: 1fr; } .sc__prog { display: none; } .sc__left { padding-left: 0; } .sc__it p, .sc__it .sc__tools { max-height: none; opacity: 1; margin-top: .4rem; } .sc__it h3 { color: var(--ink); } .sc__stage { aspect-ratio: auto; display: grid; gap: 16px; } .sc__m { position: relative; opacity: 1; transform: none !important; aspect-ratio: 16 / 10.2; } .sc__glow { display: none; } }

/* ---------- Lo que se publica (Community) ---------- */
.pub { margin-top: 36px; }
.pub__head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.2rem; }
.pub__next { display: inline-flex; align-items: center; gap: .5rem; height: 38px; padding: 0 1rem; border-radius: 999px; background: var(--ink); color: rgba(255,255,255,.7); font-size: .88rem; }
.pub__next b { color: #fff; font-weight: 600; }
.pub__next em { font-style: normal; font-family: var(--mono); color: #9DB8FF; }
.pub__next i { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); animation: pulse 2s infinite; }
.pub__row { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.pub__it { position: relative; display: grid; grid-template-columns: auto auto 1fr; gap: 1rem; align-items: start; padding: 1.4rem 1.2rem 1.4rem 0; }
.pub__it + .pub__it { padding-left: 1.4rem; border-left: 1px solid var(--line); }
.pub__it::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.pub__it.is-next::before { transform: scaleX(1); }
.pub__time { font: 600 1.6rem var(--mono); letter-spacing: -.03em; line-height: 1; }
.pub__time small { display: block; font: 400 .72rem var(--font); color: var(--muted); margin-top: .35rem; letter-spacing: 0; }
.pub__ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: #EEF0FF; color: #4752C4; }
.pub__ic svg { width: 20px; height: 20px; }
.pub__it b { display: block; font-size: 1.02rem; font-weight: 600; }
.pub__it p { font-size: .88rem; color: var(--muted); line-height: 1.45; margin: .25rem 0 .5rem; }
.pub__it code { font: .76rem var(--mono); color: #4752C4; background: #EEF0FF; padding: .2rem .5rem; border-radius: 6px; }
.pub__it.is-next .pub__time { color: var(--accent-ink); }
@media (max-width: 900px) { .pub__row { grid-template-columns: 1fr; } .pub__it + .pub__it { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); } }

/* ---------- Para quién es: problema → mensaje real ---------- */
.who3__head { display: flex; justify-content: space-between; align-items: end; gap: 1.5rem; flex-wrap: wrap; margin-bottom: 2.4rem; }
.who3__rows { border-top: 1px solid var(--line); }
.st { display: grid; grid-template-columns: 220px 1fr 48px 1.05fr; gap: clamp(1rem, 2.5vw, 2rem); align-items: center; padding: 1.8rem 0; border-bottom: 1px solid var(--line); }
.st.reveal { transform: translateY(26px); }
.st.reveal.is-in { transform: none; }
.st__who { display: grid; gap: .2rem; }
.st__n { font: .78rem var(--mono); color: var(--c); }
.st__who b { font-size: 1.12rem; letter-spacing: -.02em; }
.st__who small { font-size: .86rem; color: var(--muted); line-height: 1.4; }
.st__pain { font-size: clamp(1.15rem, 1.9vw, 1.55rem); line-height: 1.25; letter-spacing: -.025em; font-weight: 500; color: var(--ink); }
.st__arrow { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); color: var(--c); transition: transform .5s var(--ease), background .3s; }
.st:hover .st__arrow { transform: translateX(6px); background: #F4F5FF; }
.st__arrow svg { width: 20px; height: 20px; }
.st__dc { padding: 14px 16px; border-radius: 12px; background: #313338; color: #DBDEE1; box-shadow: 0 20px 50px rgba(14,14,14,.14); transition: transform .5s var(--ease); }
.st:hover .st__dc { transform: translateY(-3px); }
.st__meta { display: flex; align-items: center; gap: 8px; font-size: .78rem; }
.st__meta img { width: 28px; height: 28px; border-radius: 50%; }
.st__meta b { color: #fff; font-size: .9rem; }
.st__meta span { font-size: .58rem; font-weight: 700; padding: 1px 4px; border-radius: 3px; background: #5865F2; color: #fff; }
.st__meta em { font-style: normal; color: #949BA4; margin-left: auto; font-family: var(--mono); font-size: .7rem; }
.st__emb { margin: 10px 0 0 36px; padding: 10px 12px; border-left: 4px solid var(--c); border-radius: 4px; background: #2B2D31; display: grid; gap: 3px; }
.st__emb small { font-size: .66rem; font-weight: 700; color: #B5BAC1; letter-spacing: .03em; }
.st__emb b { color: #fff; font-size: .95rem; line-height: 1.3; }
.st__emb p { font-size: .82rem; line-height: 1.45; }
.who3__note { margin-top: 1rem; font-size: .8rem; color: var(--subtle); }
@media (max-width: 1000px) { .st { grid-template-columns: 1fr; } .st__arrow { transform: rotate(90deg); } .st:hover .st__arrow { transform: rotate(90deg) translateX(6px); } }

/* Vídeo del Discord real */
.dvid { position: relative; border-radius: 22px; overflow: hidden; background: #0B0C17; box-shadow: 0 2px 6px rgba(14,14,14,.06), 0 40px 100px rgba(14,14,14,.22); }
.dvid video { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.dvid__bar { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 14px 18px; background: linear-gradient(transparent, rgba(8,9,18,.85)); color: rgba(255,255,255,.8); font-size: .85rem; }
.dvid__bar span { display: inline-flex; align-items: center; gap: .5rem; }
.dvid__bar i { width: 7px; height: 7px; border-radius: 50%; background: #23A559; animation: pulse 2s infinite; }

/* Sin etiquetas encima de imágenes: el texto va fuera */
.dvid__bar { position: static; background: #0E0F1A; padding: 14px 20px; }
.cs__hero { height: auto; overflow: visible; }
.cs__hero > img { height: clamp(260px, 34vw, 420px); }
.cs__hero::after { display: none; }
.cs__heroin { position: static; color: var(--ink); padding: clamp(1.4rem, 3vw, 2.2rem) clamp(1.4rem, 3vw, 2.2rem) 0; }
.cs__heroin .cs__tag { color: var(--accent-ink); }
.cs__client { box-shadow: 0 0 0 1px var(--line); }

/* ===== SaaS: capturas 4K del CRM de demo en «Qué incluye» ===== */
.inc__pane:has(.inc__viz--shot) { grid-template-columns: minmax(0, .8fr) minmax(0, 1.45fr); gap: 1.6rem; }
.inc__viz--shot { padding: 0; background: none; min-height: 0; display: block; }
.inc__shot { position: relative; aspect-ratio: 16 / 10; border-radius: 16px; overflow: hidden; background: #f5f7fb;
  box-shadow: 0 0 0 1px rgba(11,19,36,.07), 0 30px 60px -30px rgba(10,22,51,.45); }
.inc__shot img { width: 100%; height: 100%; object-fit: cover; display: block; transform-origin: var(--fx) var(--fy); }
.inc__pane.is-active .inc__shot img { animation: shotZoom 5.2s cubic-bezier(.45,.05,.25,1) .35s both; }
@keyframes shotZoom { from { transform: scale(1); } to { transform: scale(1.55); } }
@media (prefers-reduced-motion: reduce) { .inc__pane.is-active .inc__shot img { animation: none; } }
@media (max-width: 960px) { .inc__pane:has(.inc__viz--shot) { grid-template-columns: 1fr; } }

/* ===== SaaS: CRM de demo en vivo ===== */
.crmx { display: grid; gap: 14px; }
.crmx__nav { display: flex; gap: 4px; flex-wrap: wrap; padding: 5px; border-radius: 16px; background: rgba(14,14,14,.045); justify-self: start; max-width: 100%; }
.crmx__nav button { border: 0; background: none; font: 500 .86rem var(--font, inherit); color: var(--muted); padding: .5rem .85rem; border-radius: 11px; cursor: pointer; transition: background .2s, color .2s, box-shadow .2s; white-space: nowrap; }
.crmx__nav button:hover { color: var(--ink); }
.crmx__nav button.is-on { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(11,19,36,.08), 0 6px 14px -8px rgba(10,22,51,.3); }
.crmx__frame { border-radius: 20px; overflow: hidden; background: #fff; box-shadow: 0 0 0 1px rgba(11,19,36,.08), 0 50px 100px -40px rgba(10,22,51,.45), 0 20px 40px -30px rgba(91,140,255,.35); }
.crmx__bar { height: 40px; display: flex; align-items: center; gap: 7px; padding: 0 14px; background: #f3f5f9; border-bottom: 1px solid rgba(11,19,36,.06); font-size: .78rem; color: var(--muted); }
.crmx__bar i { width: 11px; height: 11px; border-radius: 50%; background: #e2e6ee; }
.crmx__bar i:nth-child(1) { background: #ff5f57; } .crmx__bar i:nth-child(2) { background: #febc2e; } .crmx__bar i:nth-child(3) { background: #28c840; }
.crmx__bar span { margin: 0 auto; padding: 4px 14px; border-radius: 8px; background: #fff; font-family: var(--mono); font-size: .74rem; box-shadow: 0 0 0 1px rgba(11,19,36,.06); }
.crmx__bar a { color: var(--accent-ink, #2f5bea); font-weight: 500; text-decoration: none; }
.crmx__bar a:hover { text-decoration: underline; }
.crmx__vp { position: relative; overflow: hidden; }
.crmx__vp iframe { position: absolute; top: 0; left: 0; border: 0; transform-origin: 0 0; background: #f5f7fb; }
.crmx__note { font-size: .86rem; color: var(--muted); max-width: 60em; }
@media (max-width: 700px) { .crmx__nav { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; justify-self: stretch; } .crmx__bar span { display: none; } .crmx__bar a { margin-left: auto; } }
.crmx__nav { justify-self: stretch; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
.crmx__nav button { flex: 1 0 auto; padding: .5rem .7rem; font-size: .84rem; }
.crmx__full { color: var(--accent-ink, #2f5bea); font-weight: 500; white-space: nowrap; }

/* ===== SaaS: tour en vídeo del CRM ===== */
.tourv { margin-bottom: 18px; }
.tourv__steps { list-style: none; counter-reset: st; display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; margin: 0 0 clamp(2.4rem, 5vw, 4rem); padding: 0; }
.tourv__steps li { counter-increment: st; font-size: .84rem; color: var(--muted); line-height: 1.4; padding-top: 12px; border-top: 2px solid var(--accent-line, #dbe5ff); }
.tourv__steps li::before { content: "0" counter(st); display: block; font: .72rem var(--mono); color: var(--accent-ink, #2f5bea); margin-bottom: 4px; }
.tourv__steps b { display: block; color: var(--ink); font-weight: 600; font-size: .92rem; }
.tourv__try { margin-bottom: 14px; }
@media (max-width: 900px) { .tourv__steps { grid-template-columns: repeat(2, 1fr); } }
/* «Qué incluye»: sin zoom; la captura entra suave */
.inc__pane.is-active .inc__shot img { animation: shotIn .7s cubic-bezier(.2,.7,.2,1) both; }
@keyframes shotIn { from { opacity: 0; transform: translateY(14px) scale(.985); } to { opacity: 1; transform: none; } }

/* ===== Inicio · cifras: sin líneas de celda y entrada de una en una, de izquierda a derecha ===== */
.kpis { border-top: 0 !important; border-bottom: 0 !important; gap: clamp(1.5rem, 3vw, 3rem) !important; }
.kpi, .kpi--glow, .kpi--dark { border: 0 !important; padding-left: 0 !important; padding-right: 0 !important; }
@media (max-width: 1080px) { .kpi:nth-child(-n+2) { border-bottom: 0 !important; } }
@media (max-width: 560px) { .kpi { border-bottom: 0 !important; } }
.kpi { opacity: 0; transform: translateX(-36px); filter: blur(10px); clip-path: inset(0 100% 0 0); transition: none; }
.kpi.is-in { opacity: 1; transform: none; filter: none; clip-path: inset(0 0 0 0);
  transition: opacity .7s var(--ease), transform 1s cubic-bezier(.16,1,.3,1), filter .8s var(--ease), clip-path 1.1s cubic-bezier(.65,0,.35,1); }
.kpi:nth-child(1).is-in { transition-delay: 0s; }
.kpi:nth-child(2).is-in { transition-delay: .18s; }
.kpi:nth-child(3).is-in { transition-delay: .36s; }
.kpi:nth-child(4).is-in { transition-delay: .54s; }
.kpi > * { opacity: 0; transform: translateX(-14px); }
.kpi.is-in > * { opacity: 1; transform: none; transition: opacity .6s var(--ease), transform .8s cubic-bezier(.16,1,.3,1); }
.kpi.is-in > :nth-child(1) { transition-delay: calc(var(--d, 0s) + .25s); }
.kpi.is-in > :nth-child(2) { transition-delay: calc(var(--d, 0s) + .35s); }
.kpi.is-in > :nth-child(3) { transition-delay: calc(var(--d, 0s) + .45s); }
.kpi.is-in > :nth-child(4) { transition-delay: calc(var(--d, 0s) + .55s); }
.kpi:nth-child(2) { --d: .18s; } .kpi:nth-child(3) { --d: .36s; } .kpi:nth-child(4) { --d: .54s; }
@media (prefers-reduced-motion: reduce) { .kpi, .kpi > * { opacity: 1 !important; transform: none !important; filter: none !important; clip-path: none !important; } }

/* ===== Vídeos fundidos con el fondo: sin marco, sin borde, sin sombra; bordes que se disuelven ===== */
.vid-slot, .sc__m { background: transparent !important; border: 0 !important; box-shadow: none !important; border-radius: 0 !important; overflow: visible !important; }
.vid-slot video, .sc__m video {
  background: transparent !important; mix-blend-mode: multiply;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 4%, #000 96%, transparent 100%), linear-gradient(180deg, transparent 0, #000 6%, #000 94%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent 0, #000 4%, #000 96%, transparent 100%), linear-gradient(180deg, transparent 0, #000 6%, #000 94%, transparent 100%);
  mask-composite: intersect; }
.sc__stage { aspect-ratio: 16 / 9; }
.sc__glow { display: none; }
.vid-slot__sound { right: 6%; bottom: 8%; }
.sc__grid { grid-template-columns: .6fr 1.4fr !important; gap: clamp(1.5rem, 3.5vw, 3rem) !important; }
.sc__stage { margin-right: calc(-1 * var(--gutter)); }
@media (max-width: 900px) { .sc__stage { margin-right: 0; } .sc__grid { grid-template-columns: 1fr !important; } }
.sc__tools a { margin-left: 0 !important; }

/* Redes con sus colores de marca */
.social a[aria-label="discord"] { color: #5865F2; }
.social a[aria-label="youtube"] { color: #FF0000; }
.social a[aria-label="instagram"] { color: #E4405F; }
.social a[aria-label="tiktok"] { color: #000; }
.social a[aria-label="linkedin"] { color: #0A66C2; }
.social a[aria-label="x"] { color: #000; }
.social a[aria-label="discord"]:hover { background: #5865F2; border-color: #5865F2; color: #fff; }
.social a[aria-label="youtube"]:hover { background: #FF0000; border-color: #FF0000; color: #fff; }
.social a[aria-label="linkedin"]:hover { background: #0A66C2; border-color: #0A66C2; color: #fff; }
.social a[aria-label="instagram"]:hover { background: #E4405F; border-color: #E4405F; color: #fff; }
.social svg { width: 19px; height: 19px; }

/* ===== Servicios: vídeo a todo el ancho + información limpia, sin cajas ===== */
.svc-vid { margin: clamp(1.5rem, 3vw, 2.5rem) 0 0; }
.svc-vid .vid-slot { width: 100%; }
.svc-info { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(2rem, 6vw, 6rem); margin: clamp(2rem, 4vw, 3.5rem) 0 clamp(3rem, 6vw, 5rem); }
.svc-info h4 { font: 500 .78rem var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--accent-ink); margin-bottom: 1.2rem; }
.svc-do ol { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
.svc-do li { display: grid; grid-template-columns: 52px 1fr; align-items: baseline; padding: 1rem 0; }
.svc-do li + li { background: linear-gradient(90deg, transparent, var(--line) 12%, var(--line) 88%, transparent) top / 100% 1px no-repeat; }
.svc-do li span { font: 500 .82rem var(--mono); color: var(--subtle); }
.svc-do li p { font-size: clamp(1.05rem, 1.4vw, 1.22rem); line-height: 1.45; color: var(--ink); letter-spacing: -.01em; }
.svc-cta { margin-top: 1.2rem; border: 0; background: none; padding: 0; font: 500 1rem var(--font, inherit); color: var(--accent-ink); cursor: pointer; text-align: left; }
.svc-cta:hover { text-decoration: underline; }
.svc-tools ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem 1.4rem; }
.svc-tools li { display: flex; align-items: center; gap: .9rem; }
.svc-tools img { width: 46px; height: 46px; padding: 10px; border-radius: 14px; background: linear-gradient(160deg, #fff, var(--accent-soft)); box-shadow: 0 8px 20px -12px rgba(30,58,138,.35); flex: none; transition: transform .4s var(--ease); }
.svc-tools li:hover img { transform: translateY(-3px) rotate(-4deg); }
.svc-tools b { display: block; font-size: 1rem; font-weight: 600; }
.svc-tools small { display: block; font-size: .86rem; color: var(--muted); line-height: 1.35; }
@media (max-width: 860px) { .svc-info { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .svc-tools ul { grid-template-columns: 1fr; } }

/* ===== Caso Fun & Tickets: bloque limpio ===== */
.cs2 { padding: clamp(1.6rem, 3.5vw, 3rem); display: grid; gap: clamp(2.4rem, 5vw, 4rem); }
.cs2 h4 { font: 500 .76rem var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--accent-ink); margin-bottom: .9rem; }
.cs2__client { display: grid; grid-template-columns: .9fr 1.4fr; gap: clamp(1.6rem, 4vw, 3.5rem); align-items: center; }
.cs2__who p { font-size: clamp(1.1rem, 1.6vw, 1.35rem); line-height: 1.5; letter-spacing: -.012em; color: var(--ink-2); }
.cs2__who b { color: var(--ink); }
.cs2__film { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 10px; height: clamp(180px, 22vw, 260px); }
.cs2__film figure { position: relative; margin: 0; border-radius: 18px; overflow: hidden; }
.cs2__film img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.cs2__film figure:hover img { transform: scale(1.06); }
.cs2__film figcaption { position: absolute; left: 12px; bottom: 10px; font-size: .82rem; font-weight: 500; color: #fff; text-shadow: 0 1px 8px rgba(0,0,0,.5); }
.cs2__path { display: flex; align-items: center; gap: 0; flex-wrap: nowrap; }
.cs2__chans { display: grid; gap: 8px; }
.cs2__chans span { display: flex; align-items: center; gap: 8px; font-size: .84rem; color: var(--ink-2); }
.cs2__chans img { width: 22px; height: 22px; border-radius: 6px; }
.cs2__line { flex: 1; min-width: 28px; height: 2px; margin: 0 14px; background: linear-gradient(90deg, var(--accent-line, #dbe5ff), var(--accent)); border-radius: 2px; position: relative; overflow: hidden; }
.cs2__line::after { content: ""; position: absolute; top: -2px; left: -30%; width: 30%; height: 6px; border-radius: 6px; background: radial-gradient(closest-side, #fff, transparent); animation: cs2run 2.4s linear infinite; }
@keyframes cs2run { to { left: 110%; } }
.cs2__stop { display: grid; justify-items: center; text-align: center; gap: 6px; font-weight: 600; font-size: .98rem; flex: none; }
.cs2__stop img { width: 64px; height: 64px; padding: 14px; border-radius: 20px; background: linear-gradient(160deg, #fff, var(--accent-soft)); box-shadow: 0 14px 30px -16px rgba(30,58,138,.45); }
.cs2__stop--al img { padding: 0; background: none; box-shadow: 0 14px 30px -14px rgba(14,14,14,.45); border-radius: 50%; }
.cs2__stop small { font-weight: 400; font-size: .8rem; color: var(--muted); }
.cs2__bah, .cs2__row { display: grid; grid-template-columns: 1fr 48px 1fr; align-items: center; }
.cs2__bah h4:last-child { grid-column: 3; color: var(--ok); }
.cs2__bah h4:first-child { color: var(--subtle); }
.cs2__row { padding: 1rem 0; }
.cs2__row + .cs2__row { background: linear-gradient(90deg, transparent, var(--line) 10%, var(--line) 90%, transparent) top / 100% 1px no-repeat; }
.cs2__b { color: var(--muted); font-size: 1rem; text-decoration: line-through; text-decoration-color: rgba(229,72,77,.45); text-decoration-thickness: 1.5px; }
.cs2__a { color: var(--ink); font-size: 1.06rem; font-weight: 500; letter-spacing: -.01em; }
.cs2__row i { justify-self: center; width: 22px; height: 22px; border-radius: 50%; background: var(--ok); position: relative; }
.cs2__row i::after { content: ""; position: absolute; left: 7px; top: 4px; width: 6px; height: 11px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
@media (max-width: 900px) {
  .cs2__client { grid-template-columns: 1fr; }
  .cs2__path { flex-direction: column; align-items: stretch; }
  .cs2__chans { grid-template-columns: repeat(3, auto); justify-content: center; }
  .cs2__line { width: 2px; height: 26px; flex: none; margin: 10px auto; }
  .cs2__bah, .cs2__row { grid-template-columns: 1fr; gap: .4rem; } .cs2__row i { display: none; } .cs2__bah h4:last-child { display: none; }
}

/* ===== Caso F&T · Así funciona, paso a paso ===== */
.ps { padding: 0 clamp(1.6rem, 3.5vw, 3rem) clamp(1.6rem, 3vw, 2.4rem); }
.ps__head h4, .mk h4 { font: 500 .76rem var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--accent-ink); margin-bottom: .5rem; }
.ps__head p { color: var(--muted); font-size: 1.05rem; margin-bottom: 1.6rem; }
.ps__body { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.25fr); gap: clamp(1.6rem, 4vw, 3.5rem); align-items: center; }
.ps__steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.ps__steps button { position: relative; width: 100%; display: grid; grid-template-columns: 40px 1fr; gap: .9rem; align-items: start; text-align: left; padding: .85rem .9rem; border: 0; border-radius: 16px; background: none; cursor: pointer; color: inherit; font: inherit; transition: background .35s; overflow: hidden; }
.ps__steps button:hover { background: rgba(91,140,255,.05); }
.ps__n { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font: 600 .9rem var(--mono); color: var(--subtle); background: var(--surface); transition: background .4s, color .4s, transform .4s var(--ease); }
.ps__steps b { display: block; font-size: 1.02rem; font-weight: 600; color: #A6AAB2; transition: color .35s; }
.ps__steps small { display: block; max-height: 0; opacity: 0; overflow: hidden; font-size: .93rem; line-height: 1.45; color: var(--muted); transition: max-height .6s var(--ease), opacity .4s, margin .4s; }
.ps__steps .is-on { background: linear-gradient(120deg, #fff, var(--accent-soft)); box-shadow: 0 14px 30px -22px rgba(30,58,138,.5); }
.ps__steps .is-on .ps__n { background: var(--accent); color: #fff; transform: scale(1.06); }
.ps__steps .is-on b { color: var(--ink); }
.ps__steps .is-on small { max-height: 5em; opacity: 1; margin-top: .25rem; }
.ps__steps .is-done .ps__n { background: var(--ok); color: #fff; }
.ps__steps .is-done b { color: var(--ink-2); }
.ps__bar { position: absolute; left: 16px; right: 16px; bottom: 6px; height: 2px; border-radius: 2px; background: rgba(91,140,255,.12); opacity: 0; }
.ps__bar::after { content: ""; position: absolute; inset: 0; transform-origin: left; transform: scaleX(0); background: var(--accent); border-radius: 2px; }
.ps__steps .is-on .ps__bar { opacity: 1; }
.ps__steps .is-on .ps__bar::after { animation: psbar var(--dur, 5s) linear forwards; }
.ps.is-paused .ps__steps .is-on .ps__bar::after { animation-play-state: paused; }
@keyframes psbar { to { transform: scaleX(1); } }

.ps__stage { position: relative; padding: 46px 0 40px; }
.ps__sheet { border-radius: 18px; background: #fff; overflow: hidden; box-shadow: 0 0 0 1px rgba(14,14,14,.07), 0 40px 80px -40px rgba(10,22,51,.4); }
.ps__top { display: flex; align-items: center; gap: .8rem; padding: .9rem 1.1rem; border-bottom: 1px solid #E3E5E8; }
.ps__top img { width: 30px; height: 30px; }
.ps__top b { display: block; font-size: 1rem; font-weight: 600; }
.ps__top em { font-style: normal; transition: background .4s, color .4s; padding: 1px 6px; margin-left: -6px; border-radius: 6px; }
.ps__top small { font-size: .78rem; color: var(--muted); }
.ps__grid { font-size: .88rem; }
.ps__r { display: grid; grid-template-columns: 76px 1.3fr 1fr 84px 1fr; border-bottom: 1px solid #E3E5E8; transition: background .5s, opacity .6s, transform .6s var(--ease); }
.ps__r span { padding: .55rem .7rem; border-right: 1px solid #EEF0F2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: #3C4043; }
.ps__r span:last-child { border-right: 0; }
.ps__r--h { background: #F8F9FA; }
.ps__r--h span { font-size: .74rem; font-weight: 600; color: #5F6368; }
.ps__r .c { transition: color .3s; }
.ps__tabs { display: flex; gap: 2px; padding: .4rem .6rem; background: #F8F9FA; border-top: 1px solid #E3E5E8; font-size: .78rem; color: #5F6368; }
.ps__tabs span { padding: .3rem .8rem; border-radius: 6px 6px 0 0; transition: background .4s, color .4s, box-shadow .4s; }
.ps__tabs .on { background: #fff; color: #188038; font-weight: 600; box-shadow: inset 0 -2px #188038; }
.ps__tabs .new { opacity: .5; }

.ps__in, .ps__cancel, .ps__phone { position: absolute; display: flex; align-items: center; gap: .8rem; padding: .8rem 1rem; border-radius: 16px; background: #fff; box-shadow: 0 24px 50px -20px rgba(10,22,51,.45), 0 0 0 1px rgba(14,14,14,.05); opacity: 0; transform: translateY(-14px) scale(.96); transition: opacity .55s var(--ease), transform .7s cubic-bezier(.16,1,.3,1); pointer-events: none; z-index: 2; }
.ps__in img, .ps__cancel img, .ps__phone img { width: 36px; height: 36px; border-radius: 10px; }
.ps__in small, .ps__cancel small, .ps__phone small { display: block; font-size: .72rem; color: var(--muted); }
.ps__in b, .ps__cancel b, .ps__phone b { display: block; font-size: .98rem; }
.ps__in span, .ps__cancel span, .ps__phone span { font-size: .82rem; color: var(--ink-2); }
.ps__in { right: -10px; top: 0; }
.ps__cancel { left: -14px; top: 0; }
.ps__cancel small { color: #e5484d; font-weight: 600; }
.ps__phone { right: 6%; bottom: 0; background: #0E0E0E; color: #fff; }
.ps__phone small { color: rgba(255,255,255,.6); }
.ps__phone span { color: rgba(255,255,255,.8); }

.ps__stage[data-s="1"] .ps__in, .ps__stage[data-s="2"] .ps__in, .ps__stage[data-s="3"] .ps__in { opacity: 1; transform: none; }
.ps__stage[data-s="2"] .ps__top em, .ps__stage[data-s="2"] .ps__tabs .on { background: #E6F4EA; }
.ps__stage[data-s="3"] .ps__r--new { background: rgba(91,140,255,.1); box-shadow: inset 0 0 0 2px var(--accent); }
.ps__r--new .c { color: transparent; }
.ps__stage[data-s="4"] .ps__r--new, .ps__stage[data-s="5"] .ps__r--new, .ps__stage[data-s="6"] .ps__r--new { background: #E6F4EA; }
.ps__stage[data-s="4"] .ps__r--new .c, .ps__stage[data-s="5"] .ps__r--new .c, .ps__stage[data-s="6"] .ps__r--new .c { color: #188038; font-weight: 600; }
.ps__r--new .c:nth-child(3)::before { content: "Laura M."; }
.ps__r--new .c:nth-child(4)::before { content: "4"; }
.ps__r--new .c:nth-child(5)::before { content: "GetYourGuide"; }
.ps__stage[data-s="4"] .ps__r--new .c:nth-child(4) { transition-delay: .25s; }
.ps__stage[data-s="4"] .ps__r--new .c:nth-child(5) { transition-delay: .5s; }
.ps__stage[data-s="5"] .ps__cancel, .ps__stage[data-s="6"] .ps__cancel { opacity: 1; transform: none; }
.ps__stage[data-s="5"] .ps__r--seg { background: #FCE8E6; }
.ps__stage[data-s="5"] .ps__r--seg span { text-decoration: line-through; color: #C5221F; }
.ps__stage[data-s="6"] .ps__r--seg .c { color: transparent; }
.ps__stage[data-s="6"] .ps__phone { opacity: 1; transform: none; }
.ps__note { margin-top: 1rem; font-size: .8rem; color: var(--subtle); }
@media (max-width: 900px) { .ps__body { grid-template-columns: 1fr; } .ps__in { right: 0; } .ps__cancel { left: 0; } .ps__r { grid-template-columns: 52px 1.2fr 1fr 44px; } .ps__r span:nth-child(5) { display: none; } }

/* ===== Con qué está hecho: fila de logos limpia ===== */
.mk { padding: clamp(1.4rem, 3vw, 2.2rem) clamp(1.6rem, 3.5vw, 3rem) clamp(1.8rem, 3.5vw, 2.6rem); }
.mk__row { display: flex; flex-wrap: wrap; gap: clamp(1rem, 2.4vw, 2rem) clamp(1.4rem, 3vw, 2.6rem); align-items: center; margin-top: .8rem; }
.mk__row span { display: inline-flex; align-items: center; gap: .6rem; font-size: .95rem; font-weight: 500; color: var(--ink-2); transition: transform .35s var(--ease); }
.mk__row span:hover { transform: translateY(-3px); }
.mk__row img { width: 34px; height: 34px; border-radius: 10px; object-fit: contain; }
.svc-tools ul { gap: 1.1rem 1.4rem; }
.svc-tools img { width: 44px; height: 44px; padding: 10px; background: #fff; box-shadow: 0 0 0 1px rgba(14,14,14,.06), 0 10px 24px -14px rgba(10,22,51,.35); }
.svc-tools small { font: 500 .72rem var(--mono); letter-spacing: .02em; color: var(--subtle); text-transform: uppercase; margin-top: 2px; }

/* ===== Comunidad: fundido inferior, tarjetas flotantes y contador ===== */
.cstage::after { content: "" !important; position: absolute; left: 0; right: 0; bottom: 0; }
.orb { display: flex; align-items: center; gap: .7rem; padding: .6rem .9rem .6rem .6rem; border-radius: 16px; font: inherit; color: #fff; white-space: nowrap;
  background: linear-gradient(140deg, rgba(255,255,255,.12), rgba(255,255,255,.04)); border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 20px 40px -20px rgba(0,0,0,.7), inset 0 1px 0 rgba(255,255,255,.12); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  animation: orbIn .9s cubic-bezier(.16,1,.3,1) both, orbFloat 7s ease-in-out infinite; transform: translate3d(var(--px, 0), var(--py, 0), 0); }
.orb__av { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; font-weight: 700; font-size: .85rem; background: var(--c); color: #fff; flex: none; }
.orb small { display: block; font: 500 .7rem var(--mono); color: #9DB0FF; }
.orb b { display: block; font-size: .84rem; font-weight: 500; color: #E9EDFF; }
.orb__live { width: 7px; height: 7px; border-radius: 50%; background: #23A559; box-shadow: 0 0 10px #23A559; margin-left: .2rem; animation: pulse 2s infinite; }
.orb--1 { top: 4%; left: -8%; animation-delay: .1s, 0s; } .orb--2 { top: 20%; right: -12%; animation-delay: .3s, -1.8s; }
.orb--3 { bottom: 30%; left: -14%; animation-delay: .5s, -3.4s; } .orb--4 { bottom: 14%; right: -6%; animation-delay: .7s, -5s; }
@keyframes orbIn { from { opacity: 0; filter: blur(10px); transform: translate3d(0, 24px, 0) scale(.92); } }
@keyframes orbFloat { 0%, 100% { translate: 0 0; } 50% { translate: 0 -12px; } }
@media (max-width: 900px) { .orb { display: none; } }

.pub__next { display: flex; align-items: center; gap: 1.6rem; height: auto; padding: .9rem 1rem .9rem 1.3rem; border-radius: 20px; background: linear-gradient(135deg, #0E0E0E, #1B2340); color: #fff; box-shadow: 0 24px 50px -26px rgba(10,22,51,.8); }
.pub__nx small { display: flex; align-items: center; gap: .45rem; font: 500 .7rem var(--mono); letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.55); }
.pub__nx small i { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 10px var(--ok); animation: pulse 2s infinite; }
.pub__nx b { display: block; font-size: 1.1rem; font-weight: 600; margin-top: .2rem; }
.pub__nx em { display: block; font-style: normal; font-size: .78rem; color: rgba(255,255,255,.55); margin-top: .1rem; }
.pub__cd { display: flex; gap: 6px; }
.pub__cd span { display: grid; justify-items: center; min-width: 58px; padding: .45rem .4rem .35rem; border-radius: 12px; background: rgba(255,255,255,.07); box-shadow: inset 0 1px 0 rgba(255,255,255,.08); }
.pub__cd b { font: 600 1.45rem var(--mono); letter-spacing: -.02em; color: #fff; font-variant-numeric: tabular-nums; }
.pub__cd b.tk { animation: tick .45s cubic-bezier(.16,1,.3,1); }
.pub__cd small { font-size: .62rem; color: rgba(255,255,255,.5); text-transform: uppercase; letter-spacing: .06em; }
@keyframes tick { from { transform: translateY(-40%); opacity: 0; filter: blur(3px); } }

/* ===== Comunidad: ejemplos de Discord vivos ===== */
.who3__rows { border-top: 0; }
.st { border-bottom: 0; padding: 2rem 0; }
.st + .st { background: linear-gradient(90deg, transparent, var(--line) 15%, var(--line) 85%, transparent) top / 100% 1px no-repeat; }
.st__dc { position: relative; overflow: hidden; border-radius: 16px; background: linear-gradient(160deg, #36383E, #2B2D31); transition: transform .35s cubic-bezier(.16,1,.3,1), box-shadow .4s;
  box-shadow: 0 30px 60px -30px rgba(14,14,14,.6), 0 0 0 1px rgba(255,255,255,.04), 0 0 60px -30px var(--c); transform-style: preserve-3d; }
.st__dc::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(300px circle at var(--gx, 50%) var(--gy, 0%), rgba(255,255,255,.08), transparent 60%); }
.st:hover .st__dc { box-shadow: 0 40px 80px -30px rgba(14,14,14,.7), 0 0 0 1px rgba(255,255,255,.06), 0 0 80px -20px var(--c); }
.st__typing { display: none; align-items: center; gap: 5px; font-size: .78rem; color: #949BA4; padding: 2px 0; }
.st__typing i { width: 6px; height: 6px; border-radius: 50%; background: #B5BAC1; animation: stDot 1s infinite; }
.st__typing i:nth-child(2) { animation-delay: .15s; } .st__typing i:nth-child(3) { animation-delay: .3s; }
.st__typing span { margin-left: 6px; }
@keyframes stDot { 50% { transform: translateY(-3px); opacity: .4; } }
.st__dc.is-typing .st__typing { display: flex; }
.st__dc.is-typing .st__meta, .st__dc.is-typing .st__emb, .st__dc.is-typing .st__rx { display: none; }
.st__dc .st__meta, .st__dc .st__emb { opacity: 0; transform: translateY(8px); }
.st__dc.is-on .st__meta, .st__dc.is-on .st__emb { opacity: 1; transform: none; transition: opacity .5s, transform .6s cubic-bezier(.16,1,.3,1); }
.st__dc.is-on .st__emb { transition-delay: .12s; }
.st__rx { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 10px 0 0 36px; }
.st__rx span { display: inline-flex; align-items: center; gap: 5px; padding: 3px 8px; border-radius: 8px; background: rgba(88,101,242,.18); box-shadow: inset 0 0 0 1px rgba(88,101,242,.55); color: #DEE0FC; font-size: .74rem; font-weight: 600;
  opacity: 0; transform: scale(.5); }
.st__rx svg { width: 13px; height: 13px; color: #fff; }
.st__dc.is-on .st__rx span { opacity: 1; transform: none; transition: opacity .3s, transform .5s cubic-bezier(.34,1.56,.64,1); transition-delay: calc(.45s + var(--d)); }
.st__rx em { font-style: normal; font-size: .74rem; color: #00A8FC; font-weight: 600; margin-left: 4px; opacity: 0; }
.st__dc.is-on .st__rx em { opacity: 1; transition: opacity .4s .8s; }

/* ===== SaaS: simulador sencillo con barras 3D ===== */
.sim2 { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.sim2__pre, .sim2__h { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 5px; border-radius: 16px; background: rgba(14,14,14,.045); margin-bottom: 1.8rem; }
.sim2__h { margin: .4rem 0 0; }
.sim2__pre button, .sim2__h button { border: 0; background: none; padding: .55rem .9rem; border-radius: 11px; font: 500 .88rem inherit; font-family: inherit; color: var(--muted); cursor: pointer; transition: background .25s, color .25s, box-shadow .25s; }
.sim2__pre button.is-on, .sim2__h button.is-on { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(14,14,14,.08), 0 6px 14px -8px rgba(10,22,51,.3); }
.sim2__q { display: grid; gap: .35rem; margin-bottom: 1.7rem; }
.sim2__q span { font-size: 1.02rem; color: var(--ink-2); }
.sim2__q b { font-size: 2rem; font-weight: 600; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.sim2__q b output { color: var(--accent-ink); }
.sim2__q input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 8px; margin-top: .3rem; cursor: pointer;
  background: linear-gradient(90deg, var(--accent) 0 var(--p, 30%), rgba(14,14,14,.08) var(--p, 30%) 100%); }
.sim2__q input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 0; box-shadow: 0 0 0 6px rgba(91,140,255,.18), 0 4px 12px rgba(10,22,51,.3); transition: transform .2s; }
.sim2__q input[type=range]:active::-webkit-slider-thumb { transform: scale(1.15); }
.sim2__q input[type=range]::-moz-range-thumb { width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 0; box-shadow: 0 0 0 6px rgba(91,140,255,.18), 0 4px 12px rgba(10,22,51,.3); }
.sim2__say { font-size: clamp(1.1rem, 1.6vw, 1.35rem); color: var(--ink-2); }
.sim2__say b { color: var(--ink); }
.sim2__big { display: flex; align-items: baseline; gap: .8rem; flex-wrap: wrap; margin: .3rem 0 .4rem; }
.sim2__big b { font-size: clamp(3.4rem, 7vw, 6rem); font-weight: 600; letter-spacing: -.06em; line-height: 1; font-variant-numeric: tabular-nums;
  background: linear-gradient(120deg, #0E0E0E 20%, #2F62E0 90%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sim2__big b.bump { animation: simBump .5s cubic-bezier(.16,1,.3,1); }
@keyframes simBump { from { transform: translateY(6px); filter: blur(4px); opacity: .5; } }
.sim2__big span { font-size: 1.3rem; color: var(--muted); }
.sim2__sub { color: var(--muted); font-size: 1rem; }
.sim2__sub b { color: var(--ink); font-variant-numeric: tabular-nums; }
.sim2__3d { position: relative; height: clamp(280px, 30vw, 400px); margin-top: 1rem;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.sim2__3d canvas { width: 100%; height: 100%; display: block; cursor: crosshair; }
.sim2__labels span { position: absolute; left: 0; top: 0; font: 500 .7rem var(--mono); color: var(--subtle); pointer-events: none; translate: -50% 0; white-space: nowrap; }
.sim2__tip { position: absolute; left: 0; top: 0; pointer-events: none; opacity: 0; transition: opacity .15s; padding: .55rem .8rem; border-radius: 12px; background: #0E0E0E; color: #fff; white-space: nowrap; box-shadow: 0 14px 30px -12px rgba(10,22,51,.6); }
.sim2__tip small { display: block; font-size: .7rem; color: rgba(255,255,255,.55); }
.sim2__tip b { display: block; font-size: 1rem; }
.sim2__tip span { font-size: .76rem; color: #9DB8FF; }
.sim2__note { font-size: .8rem; color: var(--subtle); margin-top: .4rem; }
@media (max-width: 900px) { .sim2 { grid-template-columns: 1fr; } }

/* ===== SaaS · hoja de ruta 3D con scroll ===== */
.rd { position: relative; height: 420vh; margin-top: 1rem; }
.rd__sticky { position: sticky; top: 0; height: 100vh; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.3fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
.rd__nav { display: flex; gap: 6px; margin-bottom: 2rem; flex-wrap: wrap; }
.rd__dot { display: inline-flex; align-items: center; gap: .45rem; border: 0; background: rgba(14,14,14,.045); padding: .45rem .8rem .45rem .5rem; border-radius: 999px; cursor: pointer; font: 500 .82rem inherit; font-family: inherit; color: var(--muted); transition: background .3s, color .3s; }
.rd__dot b { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font: 600 .7rem var(--mono); background: #fff; color: var(--subtle); transition: background .3s, color .3s; }
.rd__dot.is-done b { background: var(--accent-soft); color: var(--accent-ink); }
.rd__dot.is-on { background: var(--ink); color: #fff; }
.rd__dot.is-on b { background: var(--accent); color: #fff; }
.rd__phs { position: relative; min-height: 360px; }
.rd__ph { position: absolute; inset: 0; opacity: 0; transform: translateY(30px); filter: blur(8px); transition: opacity .6s, transform .8s cubic-bezier(.16,1,.3,1), filter .6s; pointer-events: none; }
.rd__ph.is-on { opacity: 1; transform: none; filter: none; pointer-events: auto; }
.rd__wk { font: 500 .85rem var(--mono); color: var(--accent-ink); }
.rd__ph h3 { font-size: clamp(3rem, 6vw, 5.2rem); font-weight: 600; letter-spacing: -.055em; line-height: 1; margin: .4rem 0 1.4rem; }
.rd__ph ul { list-style: none; padding: 0; margin: 0 0 1.4rem; display: grid; gap: .7rem; }
.rd__ph li { display: flex; gap: .7rem; align-items: baseline; font-size: 1.15rem; color: var(--ink-2); }
.rd__ph li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex: none; transform: translateY(-2px); }
.rd__out { display: inline-flex; gap: .5rem; align-items: center; font-weight: 500; color: var(--ok); }
.rd__out::before { content: "✓"; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--ok); color: #fff; font-size: .8rem; }
.rd__3d { height: min(78vh, 720px); -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, #000 55%, transparent 100%); mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, #000 55%, transparent 100%); }
.rd__3d canvas { width: 100%; height: 100%; display: block; }
@media (max-width: 900px) { .rd { height: 360vh; } .rd__sticky { grid-template-columns: 1fr; grid-template-rows: auto 1fr; padding-top: 90px; } .rd__3d { height: 40vh; order: -1; } .rd__phs { min-height: 300px; } }

/* ===== SaaS · hero con vídeo explicativo a todo el ancho ===== */
.sh__grid { grid-template-columns: 1fr !important; }
.sh__copy { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); column-gap: clamp(2rem, 5vw, 4rem); align-items: end; }
.sh__copy .display { grid-column: 1; grid-row: 1 / span 3; }
.sh__copy .lead, .sh__copy .btn-row, .sh__copy .sh__facts { grid-column: 2; }
.sh__copy .sh__facts { grid-template-columns: 1fr 1fr 1fr; }
.sh__app--x { margin-top: clamp(1.5rem, 3vw, 2.5rem); }
.sh__xl { font: 500 .82rem var(--mono); letter-spacing: .04em; color: var(--accent-ink); margin-bottom: .6rem; }
.sh__app--x .sh__video { width: 100%; margin: 0; }
@media (max-width: 900px) { .sh__copy { grid-template-columns: 1fr; } .sh__copy .display, .sh__copy .lead, .sh__copy .btn-row, .sh__copy .sh__facts { grid-column: 1; grid-row: auto; } }

/* Comunidad: cabecera de columnas para que se entienda el «problema → respuesta» */
.who3__cols { display: grid; grid-template-columns: 220px 1fr 48px 1.05fr; gap: clamp(1rem, 2.5vw, 2rem); padding-bottom: .4rem; font: 500 .72rem var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--subtle); }
@media (max-width: 1000px) { .who3__cols { display: none; } }


/* ===== Servicios (23-11): sin «Stack técnico»; las listas pasan a tarjetas a todo el ancho ===== */
.svc-info { grid-template-columns: 1fr; }
.svc-info .svc-do:not(.svc-auto) ol { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; }
.svc-info .svc-do:not(.svc-auto) li { display: flex; flex-direction: column; gap: .9rem; padding: 1.3rem 1.3rem 1.4rem; border-radius: 20px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s; }
.svc-info .svc-do:not(.svc-auto) li + li { background: #fff; }
.svc-info .svc-do:not(.svc-auto) li:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--accent-line); }
.svc-info .svc-do:not(.svc-auto) li span { width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-ink); font: 600 .8rem var(--mono); }
.svc-info .svc-do:not(.svc-auto) li p { font-size: 1.08rem; font-weight: 500; line-height: 1.4; }

/* «Qué automatizamos»: titular + 6 tarjetas con mini-flujo animado + banda a la auditoría */
.auto-cab { display: grid; grid-template-columns: 1.3fr 1fr; gap: 2rem; align-items: end; margin-bottom: clamp(1.4rem, 3vw, 2.2rem); }
.auto-h { font-size: clamp(1.9rem, 3.6vw, 3rem); line-height: 1.04; letter-spacing: -.045em; font-weight: 600; }
.auto-h span { color: var(--accent-ink); }
.auto-cab p { font-size: clamp(1rem, 1.3vw, 1.15rem); color: var(--muted); line-height: 1.5; }
.auto-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.auto-card { --c: #2F62E0; --cs: #EEF3FF; position: relative; display: flex; flex-direction: column; gap: .55rem; padding: 1.5rem 1.5rem 1.3rem; border-radius: 24px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); overflow: hidden; transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s; }
.auto-card::before { content: ""; position: absolute; right: -70px; top: -70px; width: 200px; height: 200px; border-radius: 50%; background: radial-gradient(circle, var(--cs), transparent 70%); opacity: .9; transition: transform .6s var(--ease); }
.auto-card:hover { transform: translateY(-6px); box-shadow: 0 2px 4px rgba(14,14,14,.04), 0 30px 60px -24px rgba(22,44,110,.28); border-color: var(--cs); }
.auto-card:hover::before { transform: scale(1.35); }
.auto-card.c2 { --c: #0F9F6E; --cs: #E4F7EF; } .auto-card.c3 { --c: #D97706; --cs: #FFF3DF; }
.auto-card.c4 { --c: #DB2777; --cs: #FDECF3; } .auto-card.c5 { --c: #7C3AED; --cs: #F1EBFF; } .auto-card.c6 { --c: #0E7490; --cs: #E3F5F9; }
.auto-ico { position: relative; width: 50px; height: 50px; border-radius: 15px; display: grid; place-items: center; background: var(--cs); color: var(--c); margin-bottom: .45rem; }
.auto-ico svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.auto-card b { position: relative; font-size: 1.28rem; font-weight: 600; letter-spacing: -.025em; line-height: 1.15; }
.auto-card p { position: relative; font-size: .98rem; color: var(--muted); line-height: 1.45; }
.auto-flow { position: relative; display: flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 1rem; }
.auto-flow span { flex: none; padding: .36rem .62rem; border-radius: 99px; background: var(--surface); border: 1px solid var(--line); font: 500 .74rem var(--mono); color: var(--ink-2); white-space: nowrap; }
.auto-flow span.fin { background: var(--cs); border-color: transparent; color: var(--c); font-weight: 600; }
.auto-flow i { flex: 1; min-width: 10px; height: 2px; border-radius: 2px; background: repeating-linear-gradient(90deg, var(--line-strong) 0 5px, transparent 5px 9px); }
.auto-dot { position: absolute; top: calc(1rem + 50% - .5rem); left: 0; width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 4px var(--cs), 0 0 14px var(--c); opacity: 0; animation: autoDot 3.6s cubic-bezier(.65, 0, .35, 1) infinite; animation-delay: calc(var(--i) * .45s); pointer-events: none; }
@keyframes autoDot { 0% { left: 4%; opacity: 0; } 8% { opacity: 1; } 85% { left: 92%; opacity: 1; } 100% { left: 96%; opacity: 0; } }
.auto-card:hover .auto-flow span.fin { box-shadow: 0 0 0 3px var(--cs); }
.auto-cta { display: flex; align-items: center; justify-content: space-between; gap: 1.2rem; margin-top: 16px; padding: 1.2rem 1.4rem 1.2rem 1.6rem; border-radius: 22px; background: var(--ink); color: #fff; text-decoration: none; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.auto-cta:hover { transform: translateY(-3px); box-shadow: 0 24px 48px -20px rgba(14,14,14,.45); }
.auto-cta > span { font-size: 1.05rem; color: rgba(255,255,255,.78); } .auto-cta b { color: #fff; font-weight: 600; }
.auto-cta em { flex: none; font-style: normal; font-weight: 600; padding: .7rem 1.1rem; border-radius: 99px; background: #fff; color: var(--ink); white-space: nowrap; }
@media (prefers-reduced-motion: reduce) { .auto-dot { animation: none; opacity: 0; } }
@media (max-width: 1000px) { .auto-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .auto-cab { grid-template-columns: 1fr; gap: .8rem; } }
@media (max-width: 620px) { .auto-grid { grid-template-columns: 1fr; } .auto-cta { flex-direction: column; align-items: flex-start; } }

/* Titular de clientes encima del caso */
.clientes-cab { margin: clamp(.5rem, 2vw, 1.5rem) 0 clamp(1rem, 2.5vw, 1.6rem); max-width: 58rem; }
.clientes-h { font-size: clamp(1.9rem, 3.6vw, 3rem); line-height: 1.04; letter-spacing: -.045em; font-weight: 600; }
.clientes-h span { color: var(--accent-ink); }
.clientes-cab p { margin-top: .7rem; font-size: clamp(1rem, 1.3vw, 1.15rem); color: var(--muted); line-height: 1.5; }

/* las tarjetas no heredan la rejilla ni los estilos de la lista antigua (.svc-do li …) */
.svc-do li.auto-card { display: flex; grid-template-columns: none; align-items: stretch; padding: 1.5rem 1.5rem 1.3rem; }
.svc-do li.auto-card + li.auto-card { background: #fff; }
.svc-do li.auto-card p { font-size: .98rem; color: var(--muted); letter-spacing: 0; line-height: 1.45; }
.svc-do li.auto-card .auto-flow span { font: 500 .8rem var(--font); color: var(--ink-2); letter-spacing: -.005em; padding: .38rem .7rem; }
.svc-do li.auto-card .auto-flow span.fin { color: var(--c); font-weight: 600; }
.svc-do li.auto-card .auto-flow { gap: 5px; }
.svc-do li.auto-card .auto-flow span { position: relative; z-index: 1; }   /* el punto viaja por detrás de los pasos */


/* ===== Caso Fun & Tickets (23-11): esquema de canales en vivo ===== */
.fxv h4 { margin-bottom: 1rem; }
.fx-lienzo { position: relative; aspect-ratio: 1000 / 320; container-type: inline-size; border-radius: 24px; background: radial-gradient(ellipse 60% 80% at 70% 50%, rgba(91,140,255,.09), transparent 70%), linear-gradient(180deg, #fff, var(--surface)); border: 1px solid var(--line); overflow: hidden; }
.fx-lienzo::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(14,14,14,.06) 1px, transparent 1.4px); background-size: 22px 22px; }
.fx-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.fx-rutas path { fill: none; stroke: url(#fx-g); stroke-width: 2.2; stroke-dasharray: 5 7; animation: fxFlujo 1.2s linear infinite; }
@keyframes fxFlujo { to { stroke-dashoffset: -24; } }
.fx-puntos circle { fill: #5B8CFF; filter: drop-shadow(0 0 5px rgba(91,140,255,.9)); }
.fx-puntos .fx-p2 { fill: #2F62E0; } .fx-puntos .fx-p3 { fill: #19A974; filter: drop-shadow(0 0 5px rgba(25,169,116,.9)); }
.fx-ch { position: absolute; left: 1.6%; transform: translateY(-50%); display: flex; align-items: center; gap: .9cqw; padding: .55cqw 1.1cqw .55cqw .55cqw; border-radius: 99px; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 6px 16px -10px rgba(22,44,110,.35); font-size: 1.45cqw; font-weight: 600; color: var(--ink-2); animation: fxLatido 2.6s ease-in-out infinite; animation-delay: calc(var(--i) * .52s); }
.fx-ch img { width: 2.6cqw; height: 2.6cqw; border-radius: .7cqw; }
@keyframes fxLatido { 0%, 70%, 100% { box-shadow: 0 0 0 1px var(--line), 0 6px 16px -10px rgba(22,44,110,.35); } 8% { box-shadow: 0 0 0 2px var(--accent), 0 0 0 7px rgba(91,140,255,.15), 0 6px 16px -10px rgba(22,44,110,.35); } }
.fx-nodo { position: absolute; top: 50%; transform: translate(-50%, -50%); display: grid; justify-items: center; gap: .35cqw; text-align: center; }
.fx-nodo i { position: relative; width: 7cqw; height: 7cqw; border-radius: 2.1cqw; display: grid; place-items: center; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 14px 28px -14px rgba(22,44,110,.45); }
.fx-nodo i img { width: 4cqw; height: 4cqw; }
.fx-nodo b { margin-top: .5cqw; font-size: 1.7cqw; font-weight: 600; } .fx-nodo small { font-size: 1.25cqw; color: var(--muted); }
.fx-bokun { left: 42.7%; } .fx-aldia { left: 65%; } .fx-hoja { left: 85.5%; }
.fx-aldia i { border-radius: 50%; background: #0E0E0E; box-shadow: 0 16px 30px -12px rgba(14,14,14,.55); }
.fx-aldia i img { width: 100%; height: 100%; border-radius: 50%; }
.fx-aldia i::after { content: ""; position: absolute; inset: -.7cqw; border-radius: 50%; background: conic-gradient(from 0deg, transparent 0 70%, #5B8CFF 85%, transparent 100%); -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - .35cqw), #000 0); mask: radial-gradient(farthest-side, transparent calc(100% - .35cqw), #000 0); animation: fxGira 1.6s linear infinite; }
@keyframes fxGira { to { transform: rotate(360deg); } }
.fx-hoja small em { font-style: normal; font-weight: 700; color: var(--ok, #19A974); font-variant-numeric: tabular-nums; }
.fx-hoja.pulso i { animation: fxPulso .7s cubic-bezier(.2, .8, .2, 1); }
@keyframes fxPulso { 30% { transform: scale(1.12); box-shadow: 0 0 0 .5cqw rgba(25,169,116,.25), 0 14px 28px -14px rgba(22,44,110,.45); } }
.fx-toast { position: absolute; right: 2%; top: 5%; display: flex; align-items: center; gap: .9cqw; padding: .8cqw 1.1cqw; border-radius: 1.4cqw; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 18px 36px -18px rgba(22,44,110,.45); opacity: 0; transform: translateY(-8px); }
.fx-toast.in { animation: fxToast 2.5s cubic-bezier(.2, .8, .2, 1) forwards; }
@keyframes fxToast { 0% { opacity: 0; transform: translateY(-10px) scale(.96); } 12%, 80% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateY(-6px); } }
.fx-toast img { width: 2.6cqw; height: 2.6cqw; border-radius: .7cqw; }
.fx-toast b { display: block; font-size: 1.35cqw; } .fx-toast small { font-size: 1.15cqw; color: var(--muted); }
.fx-toast em { font-style: normal; width: 2cqw; height: 2cqw; border-radius: 50%; display: grid; place-items: center; background: var(--ok, #19A974); color: #fff; font-size: 1.1cqw; font-weight: 700; }
@media (max-width: 700px) { .fx-lienzo { aspect-ratio: 1000 / 420; } }

/* ===== Caso Fun & Tickets: consola «Reservas en directo» ===== */
.ops { margin-top: clamp(2.5rem, 5vw, 4rem); }
.ops-cab { display: grid; grid-template-columns: 1.1fr 1fr; gap: 2rem; align-items: end; margin-bottom: 1.4rem; }
.ops-h { font-size: clamp(1.8rem, 3.4vw, 2.8rem); line-height: 1.04; letter-spacing: -.045em; font-weight: 600; }
.ops-h span { color: var(--accent-ink); }
.ops-cab p { font-size: 1.02rem; line-height: 1.55; color: var(--muted); }
.ops-win { position: relative; border-radius: 22px; background: #fff; overflow: hidden; box-shadow: 0 0 0 1px rgba(14,14,14,.08), 0 2px 6px rgba(14,14,14,.04), 0 40px 90px -36px rgba(22,44,110,.4); }
.ops-bar { position: relative; height: 46px; display: flex; align-items: center; gap: 8px; padding: 0 16px; background: linear-gradient(#FBFBFC, #F3F4F6); border-bottom: 1px solid #E6E7EA; }
.ops-bar > i { width: 12px; height: 12px; border-radius: 50%; } .ops-bar > i:nth-child(1) { background: #FF5F57; } .ops-bar > i:nth-child(2) { background: #FEBC2E; } .ops-bar > i:nth-child(3) { background: #28C840; }
.ops-bar > span { position: absolute; left: 0; right: 0; text-align: center; font-size: .9rem; color: #4A4D55; pointer-events: none; }
.ops-live { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-style: normal; font-size: .78rem; font-weight: 600; color: #0F9F6E; background: #E7F7F0; padding: 4px 10px; border-radius: 99px; }
.ops-live i { width: 7px; height: 7px; border-radius: 50%; background: #19A974; animation: opsLive 1.4s ease-in-out infinite; }
@keyframes opsLive { 50% { opacity: .25; } }
.ops-body { display: grid; grid-template-columns: 1fr 1.05fr 1.5fr; min-height: 470px; }
.ops-body > section { min-width: 0; padding: 16px; }
.ops-body > section + section { border-left: 1px solid var(--line); }
.ops-body header { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-bottom: 12px; font: 600 .78rem var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
.ops-body header small { font-weight: 500; color: var(--subtle); text-transform: none; letter-spacing: 0; }
/* eventos */
.ops-feed { background: var(--surface); }
.ops-feed ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ops-feed li { display: grid; grid-template-columns: 30px 1fr auto; grid-template-rows: auto auto; column-gap: 10px; align-items: center; padding: 10px 12px; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px var(--line); font-size: .86rem; }
.ops-feed li.nuevo { animation: opsEntra .5s cubic-bezier(.2, .8, .2, 1); box-shadow: 0 0 0 1.5px var(--accent-line, #D5E2FF), 0 10px 24px -14px rgba(47,98,224,.45); }
@keyframes opsEntra { from { opacity: 0; transform: translateY(-10px) scale(.98); } }
.ops-feed li img { grid-row: span 2; width: 30px; height: 30px; border-radius: 9px; }
.ops-feed li b { display: block; font-weight: 600; } .ops-feed li small { display: block; color: var(--muted); font-size: .78rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ops-feed li > span { min-width: 0; grid-row: span 2; }
.ops-feed time { font: 500 .7rem var(--mono); color: var(--subtle); justify-self: end; }
.ops-feed em { justify-self: end; font-style: normal; font: 600 .7rem var(--mono); padding: 2px 7px; border-radius: 99px; }
.ops-feed em.pr { color: #B45309; background: #FFF3DF; } .ops-feed em.ok { color: #0F7A52; background: #E7F7F0; }
/* pasos del flujo */
.ops-flow header span { color: var(--accent-ink); } .ops-flow header small { font-family: var(--mono); }
.ops-flow ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; position: relative; }
.ops-flow li { position: relative; display: grid; grid-template-columns: 22px 1fr auto; gap: 10px; align-items: center; padding: 7px 8px; border-radius: 10px; opacity: .38; transition: opacity .3s, background .3s; }
.ops-flow li::before { content: ""; position: absolute; left: 18px; top: 26px; bottom: -6px; width: 2px; background: var(--line); }
.ops-flow li:last-child::before { display: none; }
.ops-flow li i { position: relative; z-index: 1; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 2px var(--line-strong); transition: all .3s; }
.ops-flow li.on { opacity: 1; background: var(--accent-soft); }
.ops-flow li.on i { box-shadow: inset 0 0 0 2px var(--accent); background: #fff; }
.ops-flow li.on i::after { content: ""; position: absolute; inset: 5px; border-radius: 50%; background: var(--accent); animation: opsLive .8s ease-in-out infinite; }
.ops-flow li.hecho { background: transparent; }
.ops-flow li.hecho i { background: #19A974; box-shadow: none; }
.ops-flow li.hecho i::after { content: "✓"; inset: 0; display: grid; place-items: center; background: none; color: #fff; font-size: 12px; font-weight: 700; animation: none; }
.ops-flow li.hecho::before { background: #19A974; }
.ops-flow li b { display: block; font-size: .88rem; font-weight: 600; line-height: 1.2; } .ops-flow li small { font: 500 .72rem var(--mono); color: var(--muted); }
.ops-flow li em { font-style: normal; font: 500 .7rem var(--mono); color: var(--subtle); }
.ops-flow footer { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; padding: 12px 14px; border-radius: 14px; background: #E7F7F0; color: #0F7A52; font-size: .9rem; opacity: 0; transform: translateY(6px); transition: all .4s cubic-bezier(.2, .8, .2, 1); }
.ops-flow footer.in { opacity: 1; transform: none; }
.ops-flow footer span { font: 700 .9rem var(--mono); }
/* hoja realista */
.ops-sheet { position: relative; display: flex; flex-direction: column; padding: 0 !important; }
.gs-top { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.gs-top img { width: 26px; height: 26px; } .gs-top b { display: block; font-size: .95rem; } .gs-top small { font-size: .74rem; color: var(--muted); }
.gs-fx { display: flex; align-items: center; gap: 10px; padding: 6px 14px; border-bottom: 1px solid var(--line); font: 500 .78rem var(--mono); color: var(--muted); }
.gs-fx span { font-style: italic; color: var(--subtle); } .gs-fx em { font-style: normal; color: var(--ink); }
.gs-grid { flex: 1; font-size: .84rem; }
.gs-r { display: grid; grid-template-columns: 34px 1.1fr 1fr .45fr 1.25fr; border-bottom: 1px solid #EEF0F3; transition: background .4s, opacity .5s, max-height .5s; max-height: 44px; overflow: hidden; }
.gs-r > span { padding: 9px 10px; border-left: 1px solid #EEF0F3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: flex; align-items: center; gap: 6px; }
.gs-r > span:first-child { border-left: 0; justify-content: center; color: var(--subtle); background: #F8F9FA; font-size: .72rem; }
.gs-r > span img { width: 16px; height: 16px; border-radius: 4px; }
.gs-h > span { background: #F8F9FA; font: 600 .72rem var(--mono); color: var(--muted); }
.gs-blk { grid-template-columns: 34px 1fr; } .gs-blk > span:last-child { font-weight: 600; color: #0B5C3B; background: #E6F4EA; }
.gs-r.is-new { background: #E7F7F0; animation: gsEntra .6s cubic-bezier(.2, .8, .2, 1); } .gs-r.is-new > span:nth-child(3) { font-weight: 600; color: #0F7A52; }
@keyframes gsEntra { from { max-height: 0; opacity: 0; } }
.gs-r.is-del { background: #FDECEC; } .gs-r.is-del > span:not(:first-child) { text-decoration: line-through; color: #C2414B; }
.gs-r.is-del.fuera { max-height: 0; opacity: 0; }
.gs-r.is-mod { background: #FFF7E0; box-shadow: inset 3px 0 0 #F0A020; }
.gs-tabs { display: flex; gap: 2px; padding: 6px 10px; border-top: 1px solid var(--line); background: #F8F9FA; font-size: .76rem; overflow: hidden; }
.gs-tabs span { padding: 5px 10px; border-radius: 6px; color: var(--muted); white-space: nowrap; } .gs-tabs span.on { background: #fff; color: #0B5C3B; font-weight: 600; box-shadow: 0 1px 2px rgba(14,14,14,.12), inset 0 -2px 0 #188038; }
.gs-ok { position: absolute; right: 14px; bottom: 50px; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 18px 36px -16px rgba(22,44,110,.4); opacity: 0; transform: translateY(8px); transition: all .45s cubic-bezier(.2, .8, .2, 1); }
.gs-ok.in { opacity: 1; transform: none; }
.gs-ok i { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: #19A974; color: #fff; font-style: normal; font-weight: 700; }
.gs-ok b { display: block; font-size: .88rem; } .gs-ok small { font-size: .76rem; color: var(--muted); }
/* reseña contestada por la IA */
.rv { position: absolute; inset: 0; padding: 16px; background: #fff; display: none; flex-direction: column; gap: 12px; }
.ops-sheet.ver-resena .rv { display: flex; animation: opsEntra .4s ease; }
.rv-cab { display: flex; align-items: center; gap: 10px; padding-bottom: 10px; border-bottom: 1px solid var(--line); } .rv-cab img { width: 28px; height: 28px; border-radius: 8px; } .rv-cab b { font-size: .95rem; } .rv-cab small { margin-left: auto; font-size: .76rem; color: var(--muted); }
.rv-op { display: flex; gap: 12px; } .rv-av { width: 38px; height: 38px; border-radius: 50%; flex: none; display: grid; place-items: center; background: linear-gradient(135deg, #F472B6, #BE185D); color: #fff; font-size: .78rem; font-weight: 700; }
.rv-op b { font-size: .92rem; } .rv-op em { font-style: normal; color: #00AA6C; letter-spacing: 1px; } .rv-op p { margin-top: 4px; font-size: .92rem; line-height: 1.5; color: var(--ink-2); }
.rv-ia { margin-left: 50px; padding: 12px 14px; border-radius: 14px; background: var(--accent-soft); box-shadow: inset 3px 0 0 var(--accent); opacity: .25; transition: opacity .4s; }
.rv-ia-h { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; } .rv-ia-h img { width: 22px; height: 22px; border-radius: 50%; } .rv-ia-h b { font-size: .84rem; } .rv-ia-h small { font-size: .74rem; color: var(--accent-ink); }
.rv-ia p { font-size: .9rem; line-height: 1.5; color: var(--ink); clip-path: inset(0 100% 0 0); }
.rv-ia.escribe { opacity: 1; } .rv-ia.escribe p { animation: rvEscribe 1.6s steps(40) forwards; }
@keyframes rvEscribe { to { clip-path: inset(0 0 0 0); } }
.rv-ia.ok { box-shadow: inset 3px 0 0 #19A974; } .rv-ia.ok .rv-ia-h small::after { content: " · publicada ✓"; color: #0F7A52; font-weight: 600; }
/* aviso de Telegram */
.tg { position: absolute; right: 16px; top: 58px; z-index: 5; display: flex; align-items: center; gap: 12px; width: min(360px, 80%); padding: 12px 14px; border-radius: 16px; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); box-shadow: 0 0 0 1px var(--line), 0 24px 48px -18px rgba(22,44,110,.5); opacity: 0; transform: translateY(-12px) scale(.97); transition: all .45s cubic-bezier(.2, .8, .2, 1); }
.tg.in { opacity: 1; transform: none; }
.tg img { width: 34px; height: 34px; } .tg small { display: block; font-size: .72rem; color: var(--muted); } .tg b { display: block; font-size: .9rem; } .tg span { font-size: .8rem; color: var(--ink-2); }
@media (max-width: 1100px) { .ops-body { grid-template-columns: 1fr 1fr; } .ops-sheet { grid-column: 1 / -1; border-left: 0 !important; border-top: 1px solid var(--line); min-height: 380px; } .ops-cab { grid-template-columns: 1fr; gap: .7rem; } }
@media (max-width: 700px) { .ops-body { grid-template-columns: 1fr; } .ops-body > section + section { border-left: 0; border-top: 1px solid var(--line); } .ops-feed li:nth-child(n+4) { display: none; } .gs-r { grid-template-columns: 28px 1fr .4fr 1fr; } .gs-r > span:nth-child(2) { display: none; } .gs-blk { grid-template-columns: 28px 1fr; } .gs-blk > span:nth-child(2) { display: flex; } }
@media (prefers-reduced-motion: reduce) { .fx-rutas path, .fx-aldia i::after, .fx-ch, .ops-live i { animation: none; } }

/* el caso pone los <b> en blanco: aquí van en tinta */
.fx-nodo b, .fx-toast b, .ops b { color: var(--ink); }
.ops-flow footer b { color: #0F7A52; }
.ops-flow footer span { white-space: nowrap; }
@media (max-width: 700px) { .ops-live { display: none; } .ops-bar > span { font-size: .82rem; } }

/* caso Fun & Tickets: la película sustituye a la foto de portada (16:9 entero, sin recorte) */
.cs__hero { height: auto; }
.cs__hero > .cs__vid { display: block; width: 100%; aspect-ratio: 16 / 9; height: auto; object-fit: cover; background: #fff; }

/* ===== Caso: cifras en tarjetas con mini gráficos (23-11) ===== */
.cs__kpis.kp2 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; padding: clamp(1rem, 2.4vw, 1.6rem); border-bottom: 1px solid var(--line); background: linear-gradient(180deg, #fff, var(--surface)); }
.cs__kpis.kp2 .kp { position: relative; display: flex; flex-direction: column; gap: .35rem; padding: 1.3rem 1.3rem 1.1rem; border: 1px solid var(--line); border-right: 1px solid var(--line); border-radius: 22px; background: #fff; box-shadow: var(--shadow); overflow: hidden; min-height: 190px; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.cs__kpis.kp2 .kp:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.cs__kpis.kp2 .kp:last-child { background: var(--ink); border-color: var(--ink); }
.cs__kpis.kp2 b { font-size: clamp(2.2rem, 3.6vw, 3.1rem); font-weight: 700; letter-spacing: -.055em; line-height: 1; color: var(--ink); }
.cs__kpis.kp2 b em { font-style: normal; font-size: .5em; font-weight: 600; letter-spacing: -.02em; color: var(--muted); margin-left: .1em; }
.cs__kpis.kp2 small { font-size: .88rem; line-height: 1.4; color: var(--muted); max-width: 22ch; }
.cs__kpis.kp2 .kp:first-child b { color: var(--accent-ink); }
.kp-spark { margin-top: auto; width: 100%; height: 54px; overflow: visible; }
.kp-spark .a { fill: rgba(91,140,255,.14); stroke: none; } .kp-spark .l { fill: none; stroke: var(--accent); stroke-width: 3; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; stroke-dasharray: 600; stroke-dashoffset: 600; animation: kpDibuja 1.6s var(--ease) .3s forwards; }
@keyframes kpDibuja { to { stroke-dashoffset: 0; } }
.kp-bars { margin-top: auto; display: flex; align-items: flex-end; gap: 4px; height: 54px; }
.kp-bars i { flex: 1; border-radius: 4px 4px 2px 2px; background: #D9E4FF; transform-origin: bottom; animation: kpSube .9s var(--ease) both; }
.kp-bars i:nth-child(n) { animation-delay: calc(.04s * var(--n, 0)); }
@keyframes kpSube { from { transform: scaleY(0); } }
.kp-ring .kp-r { position: absolute; right: 1.1rem; top: 1.1rem; width: 58px; height: 58px; transform: rotate(-90deg); }
.kp-ring .kp-r circle { fill: none; stroke-width: 7; } .kp-ring .kp-r .bg { stroke: #E7F7F0; } .kp-ring .kp-r .fg { stroke: #19A974; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; animation: kpAnillo 1.6s var(--ease) .3s forwards; }
@keyframes kpAnillo { to { stroke-dashoffset: .04; } }
.cs__kpis.kp2 .kp-ring b { color: #0F9F6E; margin-top: auto; }
.cs__kpis.kp2 .kp-dark b, .cs__kpis.kp2 .kp-dark b em { color: #fff; } .cs__kpis.kp2 .kp-dark small { color: rgba(255,255,255,.7); }
.cs__kpis.kp2 .kp-dark::after { content: ""; position: absolute; right: -60px; bottom: -60px; width: 200px; height: 200px; border-radius: 50%; background: radial-gradient(circle, rgba(91,140,255,.45), transparent 70%); }
.cs__kpis.kp2 .kp-dark b { margin-top: auto; }
@media (max-width: 980px) { .cs__kpis.kp2 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .cs__kpis.kp2 { grid-template-columns: 1fr; } .cs__kpis.kp2 .kp { min-height: 150px; } }
@media (prefers-reduced-motion: reduce) { .kp-spark .l, .kp-ring .kp-r .fg, .kp-bars i { animation: none; stroke-dashoffset: 0; } }
.fx-hoja i img { width: 5cqw; height: auto; }
.fx-nodo b { white-space: nowrap; }

/* iconos propios de los servicios (sin logos de empresas): el icono ya trae su fondo */
.stab img[src*="/iconos/"], .mcard__ico img[src*="/iconos/"] { padding: 0; background: none; border-radius: 10px; box-shadow: 0 6px 14px -8px rgba(22,44,110,.45); }
.mcard__ico:has(img[src*="/iconos/"]) { background: none; box-shadow: none; }

.mcard__ico img[src*="/iconos/"] { width: 100%; height: 100%; border-radius: 13px; }


/* ---------- Servicios · titular con color en movimiento ---------- */
.hs-grad { background: linear-gradient(100deg, #0E0E0E 0%, #2F62E0 22%, #5B8CFF 38%, #8B7CFF 52%, #2F62E0 68%, #0E0E0E 90%); background-size: 260% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent; animation: hsGrad 9s ease-in-out infinite alternate; }
@keyframes hsGrad { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }
@media (prefers-reduced-motion: reduce) { .hs-grad { animation: none; background-position: 50% 50%; } }

/* ---------- Servicios · portfolio de apps ---------- */
.pf { margin: clamp(2rem, 4vw, 3.5rem) 0 clamp(3rem, 6vw, 5rem); }
.pf__head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 1.4rem; }
.pf__head h4 { font: 500 .78rem var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--accent-ink); }
.pf__head span { font: .74rem var(--mono); color: var(--subtle); }
.pf__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1rem, 2vw, 1.6rem); }
.pf__it { position: relative; border-radius: 24px; padding: clamp(.8rem, 1.4vw, 1.2rem); background: linear-gradient(180deg, #F4F7FF, #FBFCFF 60%);
  box-shadow: inset 0 0 0 1px rgba(47, 98, 224, .08); display: flex; flex-direction: column; gap: 1.1rem; overflow: hidden; isolation: isolate; }
.pf__it::before { content: ""; position: absolute; inset: -40% -20% auto auto; width: 70%; aspect-ratio: 1; border-radius: 50%; z-index: -1;
  background: radial-gradient(closest-side, rgba(91, 140, 255, .22), transparent); transition: transform 1.2s var(--ease); }
.pf__it:hover::before { transform: translate(-12%, 10%) scale(1.15); }
.pf__it--big { grid-column: 1 / -1; display: grid; grid-template-columns: 1.65fr 1fr; align-items: center; gap: clamp(1.2rem, 3vw, 2.6rem); }
.pf__shot { border-radius: 14px; overflow: hidden; background: #fff; box-shadow: 0 0 0 1px rgba(14, 22, 40, .07), 0 30px 60px -30px rgba(11, 21, 51, .35);
  transform: perspective(1400px) rotateX(0) translateY(0); transition: transform .9s var(--ease), box-shadow .9s var(--ease); }
.pf__shot img { display: block; width: 100%; height: auto; }
.pf__it:hover .pf__shot { transform: perspective(1400px) rotateX(4deg) translateY(-6px) scale(1.012); box-shadow: 0 0 0 1px rgba(14, 22, 40, .07), 0 50px 90px -40px rgba(11, 21, 51, .45); }
.pf__meta { padding: 0 .4rem .4rem; }
.pf__meta small { font: 500 .74rem var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--accent-ink); }
.pf__meta h3 { font-size: clamp(1.4rem, 2.2vw, 2rem); font-weight: 600; letter-spacing: -.04em; margin: .35rem 0 .5rem; }
.pf__it--big .pf__meta h3 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
.pf__meta p { color: var(--muted); font-size: 1rem; line-height: 1.5; max-width: 34em; }
.pf__meta ul, .pf__more ul { list-style: none; display: flex; flex-wrap: wrap; gap: .45rem; margin-top: 1rem; padding: 0; }
.pf__meta li, .pf__more li { font-size: .82rem; font-weight: 500; padding: .38rem .8rem; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); color: var(--ink); }
.pf__more { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; margin-top: 1.6rem; }
.pf__more span { font: 500 .74rem var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--subtle); }
.pf__more ul { margin-top: 0; }
@media (max-width: 900px) { .pf__grid { grid-template-columns: 1fr; } .pf__it--big { grid-template-columns: 1fr; } }

/* Caso Fun & Tickets: las cuatro cifras en oscuro, cada una con su brillo */
.cs__kpis.kp2 .kp { background: #0E0E0E; border-color: #0E0E0E; }
.cs__kpis.kp2 .kp b, .cs__kpis.kp2 .kp b em, .cs__kpis.kp2 .kp:first-child b { color: #fff; }
.cs__kpis.kp2 .kp b em { color: rgba(255,255,255,.55); }
.cs__kpis.kp2 .kp small { color: rgba(255,255,255,.68); }
.cs__kpis.kp2 .kp::after { content: ""; position: absolute; right: -60px; bottom: -60px; width: 200px; height: 200px; border-radius: 50%; background: radial-gradient(circle, var(--kg, rgba(91,140,255,.45)), transparent 70%); pointer-events: none; transition: transform .8s var(--ease); }
.cs__kpis.kp2 .kp:hover::after { transform: scale(1.25); }
.cs__kpis.kp2 .kp:nth-child(1) { --kg: rgba(91,140,255,.42); } .cs__kpis.kp2 .kp:nth-child(2) { --kg: rgba(139,124,255,.42); }
.cs__kpis.kp2 .kp:nth-child(3) { --kg: rgba(25,169,116,.38); } .cs__kpis.kp2 .kp:nth-child(4) { --kg: rgba(91,140,255,.45); }
.cs__kpis.kp2 .kp > * { position: relative; z-index: 1; }
.cs__kpis.kp2 .kp-spark .a { fill: rgba(91,140,255,.22); } .cs__kpis.kp2 .kp-spark .l { stroke: #8FB0FF; }
.cs__kpis.kp2 .kp-bars i { background: rgba(255,255,255,.16); } .cs__kpis.kp2 .kp-bars i[style*="accent-ink"] { background: #A79BFF !important; }
.cs__kpis.kp2 .kp-ring .kp-r { z-index: 1; } .cs__kpis.kp2 .kp-ring .kp-r .bg { stroke: rgba(255,255,255,.1); } .cs__kpis.kp2 .kp-ring .kp-r .fg { stroke: #2BD48A; }
.cs__kpis.kp2 .kp-ring b { color: #fff; }

/* Sin bolitas junto a los textos (pidió quitarlas todas) */
.eyebrow::before, .chip .dot, .discord__srv small span::before, .cstage__card small i, .kpi__live i, .fx__live i, .who2 li::before,
.n8w__bar em i, .sim__dot, .pub__next i, .pub__nx small i, .dvid__bar i, .orb__live, .rd__ph li::before, .ops-live i { display: none !important; }

/* «Próxima publicación»: textos más limpios */
.pub__nx small { font: 600 .7rem/1 var(--font); letter-spacing: .14em; color: #9DB8FF; }
.pub__nx b { font-size: 1.28rem; letter-spacing: -.03em; margin-top: .35rem; }
.pub__nx em, .pub__next .pub__nx em { font-family: var(--font); font-size: .86rem; letter-spacing: -.005em; color: rgba(255,255,255,.62); margin-top: .25rem; }
.pub__cd b { font-family: var(--font); font-weight: 600; letter-spacing: -.04em; }
.pub__cd small { font-family: var(--font); font-size: .6rem; font-weight: 500; letter-spacing: .12em; color: rgba(255,255,255,.45); }

/* ---------- Community · horario de publicaciones (tarjetas pro) ---------- */
.pub__row { gap: 16px; border-top: 0; }
.pub__it, .pub__it + .pub__it { grid-template-columns: 1fr auto; grid-template-areas: "time ic" "body body"; gap: 1.4rem 1rem; padding: 1.5rem 1.5rem 1.4rem; border: 0;
  border-radius: 24px; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 18px 40px -30px rgba(10,22,51,.35); overflow: hidden; isolation: isolate;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.pub__it:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px var(--line), 0 30px 60px -34px rgba(10,22,51,.45); }
.pub__it::before { display: none; }
.pub__time { grid-area: time; font: 600 clamp(2.2rem, 3.4vw, 2.9rem)/1 var(--font); letter-spacing: -.06em; color: var(--ink); font-variant-numeric: tabular-nums; }
.pub__time small { display: inline-flex; margin-top: .7rem; padding: .3rem .65rem; border-radius: 999px; background: var(--surface, #F4F6FA); font: 500 .74rem var(--font); letter-spacing: 0; color: var(--muted); }
.pub__ic { grid-area: ic; width: 48px; height: 48px; border-radius: 15px; background: linear-gradient(140deg, #7C8CFF, #4752C4); color: #fff; box-shadow: 0 12px 24px -12px rgba(71,82,196,.7); }
.pub__ic svg { width: 22px; height: 22px; }
.pub__it > div { grid-area: body; padding-top: 1.2rem; border-top: 1px solid var(--line); }
.pub__it b { font-size: 1.18rem; letter-spacing: -.025em; }
.pub__it p { font-size: .94rem; line-height: 1.5; margin: .35rem 0 .9rem; }
.pub__it code { display: inline-flex; align-items: center; font: 500 .8rem var(--font); color: #4752C4; background: #F0F1FF; padding: .32rem .7rem; border-radius: 9px; }
.pub__it.is-next { background: radial-gradient(120% 120% at 100% 0%, #2A4BB8 0%, #13235C 45%, #0B1533 100%); box-shadow: 0 30px 60px -30px rgba(11,21,51,.8); }
.pub__it.is-next .pub__time, .pub__it.is-next b { color: #fff; }
.pub__it.is-next .pub__time small { background: rgba(255,255,255,.1); color: #C9D6FF; }
.pub__it.is-next p { color: rgba(255,255,255,.7); }
.pub__it.is-next > div { border-top-color: rgba(255,255,255,.12); }
.pub__it.is-next code { background: rgba(255,255,255,.1); color: #C9D6FF; }
.pub__it.is-next .pub__ic { background: #fff; color: #2F62E0; }
.pub__it.is-next::after { content: "Siguiente"; position: absolute; right: 1.5rem; top: 4.9rem; font: 600 .66rem var(--font); letter-spacing: .14em; text-transform: uppercase; color: #9DB8FF; }
@media (max-width: 900px) { .pub__row { grid-template-columns: 1fr; } .pub__it + .pub__it { padding-left: 1.5rem; border-top: 0; } }
.pub__time small { display: flex; width: max-content; }
.pub__it.is-next::after { top: auto; bottom: auto; top: 1.5rem; right: 5.2rem; line-height: 48px; }

/* Menú · Community: logo de Discord que entra al pulsar y se queda al lado en la página */
.nav-dc { gap: 0; }
.nav-dc__ic { display: inline-grid; place-items: center; width: 0; height: 22px; margin-right: 0; opacity: 0; overflow: hidden; border-radius: 7px; background: #5865F2; color: #fff;
  transform: scale(.3) rotate(-120deg); transition: width .38s cubic-bezier(.2,.8,.2,1), margin .38s cubic-bezier(.2,.8,.2,1), opacity .3s, transform .6s cubic-bezier(.2,.9,.25,1.35); }
.nav-dc__ic svg { width: 14px; height: 14px; flex: none; }
.nav-dc:hover .nav-dc__ic { width: 22px; margin-right: .5rem; opacity: 1; transform: none; }
.nav-dc.is-active .nav-dc__ic, .nav-dc.is-going .nav-dc__ic { width: 22px; margin-right: .5rem; opacity: 1; transform: none; animation: dcPop .7s cubic-bezier(.2,.9,.25,1.2) both; }
.nav-dc.is-going { background: #EEF0FF; color: #4752C4; }
@keyframes dcPop { 0% { transform: scale(.2) rotate(-200deg); opacity: 0; } 60% { transform: scale(1.25) rotate(12deg); opacity: 1; } 100% { transform: none; } }
@media (prefers-reduced-motion: reduce) { .nav-dc__ic { transition: none; } .nav-dc.is-active .nav-dc__ic { animation: none; } }


/* ---------- Inicio · cómo trabajamos: tarjetas vivas ---------- */
.pr__steps { gap: clamp(1.4rem, 4vh, 2.4rem); }
.pr__st { grid-template-columns: 1fr auto; align-items: center; gap: 1.4rem; padding: clamp(1.2rem, 2.2vw, 1.8rem); border-radius: 24px;
  background: rgba(255, 255, 255, .7); box-shadow: inset 0 0 0 1px var(--line); overflow: visible; isolation: isolate;
  transform: translateY(18px) scale(.985); transition: opacity .7s var(--ease), transform .7s var(--ease), box-shadow .7s var(--ease), background .7s var(--ease); }
.pr__st.is-on { transform: none; }
.pr__st.is-cur { background: #fff; box-shadow: inset 0 0 0 1px rgba(47, 98, 224, .18), 0 30px 60px -34px rgba(11, 21, 51, .35), 0 0 0 6px rgba(91, 140, 255, .06); }
.pr__st::after { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; z-index: -1; opacity: 0; transition: opacity .7s;
  background: conic-gradient(from var(--pra, 0deg), transparent 0 60%, #5B8CFF 75%, #8B7CFF 85%, transparent 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: prSpin 5s linear infinite; }
.pr__st.is-cur::after { opacity: 1; }
@property --pra { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
@keyframes prSpin { to { --pra: 360deg; } }
.pr__body { display: grid; gap: .5rem; justify-items: start; min-width: 0; }
.pr__dot { left: calc(-41px - clamp(1.2rem, 2.2vw, 1.8rem) * 0); top: 50%; translate: 0 -50%; }
.pr__st.is-cur .pr__dot { animation: prPulse 1.8s ease-out infinite; }
@keyframes prPulse { 0% { box-shadow: 0 0 0 0 rgba(91, 140, 255, .55); } 100% { box-shadow: 0 0 0 14px rgba(91, 140, 255, 0); } }
.pr__n { position: absolute; right: 1.1rem; top: .5rem; font: 600 .72rem var(--mono); letter-spacing: .08em; color: var(--subtle); transition: color .5s; }
.pr__st.is-cur .pr__n { color: var(--accent-ink); }
.pr__st.is-cur h3 { background: linear-gradient(100deg, #0E0E0E 30%, #2F62E0 60%, #8B7CFF 80%); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: hsGrad 6s ease-in-out infinite alternate; }
.pr__st h3 { margin: .1rem 0 0; }

/* mini animaciones */
.pr__viz { width: 120px; height: 84px; border-radius: 16px; background: linear-gradient(160deg, #F2F6FF, #E9EFFF); position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center; opacity: .55; transition: opacity .6s; }
.pr__st.is-on .pr__viz { opacity: 1; }
.pr__viz * { animation-play-state: paused !important; }
.pr__st.is-on .pr__viz * { animation-play-state: running !important; }
.pv-call { gap: 3px; }
.pv-call i { width: 4px; height: 44px; border-radius: 4px; background: linear-gradient(#5B8CFF, #2F62E0); transform: scaleY(.18);
  animation: pvWave 1.1s ease-in-out calc(var(--k) * -.13s) infinite alternate; }
@keyframes pvWave { 0% { transform: scaleY(.15); } 50% { transform: scaleY(.9); } 100% { transform: scaleY(.35); } }
.pv-plan { align-items: flex-end; gap: 7px; padding: 0 16px 14px; }
.pv-plan b { flex: 1; height: var(--h); border-radius: 6px 6px 3px 3px; background: linear-gradient(#8FB0FF, #2F62E0); transform-origin: bottom;
  animation: pvBar 3.2s var(--ease) calc(var(--k) * .15s) infinite; }
.pv-plan b:last-of-type { background: linear-gradient(#8B7CFF, #2F62E0); }
@keyframes pvBar { 0% { transform: scaleY(0); } 30%, 85% { transform: scaleY(1); } 100% { transform: scaleY(0); } }
.pv-plan em { position: absolute; top: 9px; left: 12px; font: 600 .7rem var(--mono); font-style: normal; color: #2F62E0; background: #fff; padding: .15rem .4rem; border-radius: 6px;
  box-shadow: 0 4px 10px -4px rgba(47, 98, 224, .4); animation: pvTag 3.2s var(--ease) infinite; }
@keyframes pvTag { 0%, 30% { opacity: 0; transform: translateY(4px); } 40%, 85% { opacity: 1; transform: none; } 100% { opacity: 0; } }
.pv-build { display: grid; grid-template-columns: repeat(3, 20px); gap: 5px; }
.pv-build i { width: 20px; height: 20px; border-radius: 6px; background: #fff; box-shadow: inset 0 0 0 1px rgba(47, 98, 224, .18);
  animation: pvTile 3.6s var(--ease) calc(var(--k) * .22s) infinite; }
@keyframes pvTile { 0%, 8% { background: #fff; transform: scale(.7); } 18%, 78% { background: linear-gradient(135deg, #5B8CFF, #2F62E0); transform: scale(1); box-shadow: 0 4px 10px -4px rgba(47, 98, 224, .6); } 92%, 100% { background: #fff; transform: scale(.7); } }
.pv-grow svg { width: 100%; height: 100%; padding: 8px 6px 0; overflow: visible; }
.pv-line { stroke-dasharray: 100; stroke-dashoffset: 100; animation: pvDraw 3.4s var(--ease) infinite; }
.pv-area { opacity: 0; animation: pvFade 3.4s var(--ease) infinite; }
.pv-end { transform-origin: 116px 8px; transform: scale(0); animation: pvEnd 3.4s var(--ease) infinite; }
@keyframes pvDraw { 0% { stroke-dashoffset: 100; } 55%, 88% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes pvFade { 0%, 30% { opacity: 0; } 60%, 88% { opacity: 1; } 100% { opacity: 0; } }
@keyframes pvEnd { 0%, 50% { transform: scale(0); } 60% { transform: scale(1.5); } 70%, 88% { transform: scale(1); } 100% { transform: scale(0); } }
@media (max-width: 560px) { .pr__st { grid-template-columns: 1fr; } .pr__viz { width: 100%; height: 72px; } }
@media (prefers-reduced-motion: reduce) { .pr__viz *, .pr__st::after, .pr__st.is-cur h3, .pr__st.is-cur .pr__dot { animation: none !important; } .pv-line { stroke-dashoffset: 0; } .pv-area { opacity: 1; } .pv-end { transform: none; } .pv-call i { transform: scaleY(.6); } .pv-build i { background: #5B8CFF; } }


/* ---------- Páginas legales ---------- */
.legal__kicker { font: 500 .78rem var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--accent-ink) !important; margin-bottom: .6rem !important; }
.legal h1 { margin-bottom: .8rem; }
.legal__meta { font: .8rem var(--mono); color: var(--subtle) !important; margin-bottom: 1.6rem !important; }
.legal__lead { font-size: 1.15rem; line-height: 1.55; color: var(--ink-2) !important; max-width: 40em; }
.legal__toc { margin: 2rem 0 1rem; padding: 1.2rem 1.4rem; border-radius: 18px; background: linear-gradient(160deg, #F4F7FF, #FBFCFF); box-shadow: inset 0 0 0 1px rgba(47, 98, 224, .1); }
.legal__toc b { display: block; font: 500 .74rem var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--subtle); margin-bottom: .6rem; }
.legal__toc ol { columns: 2; column-gap: 2rem; padding-left: 1.2rem; margin: 0; }
.legal__toc li { margin-bottom: .3rem; font-size: .95rem; }
.legal__toc a { text-decoration: none; }
.legal__toc a:hover { text-decoration: underline; }
.legal [id^="s"] { scroll-margin-top: 110px; }
.legal ol { padding-left: 1.2rem; }
.legal__card { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border-radius: 16px; overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); margin: .4rem 0 1rem; }
.legal__card div { background: #fff; padding: .85rem 1rem; }
.legal__card dt { font: 500 .7rem var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--subtle); margin-bottom: .2rem; }
.legal__card dd { margin: 0; color: var(--ink); font-size: .95rem; }
.legal .cookie-table { width: 100%; border-collapse: collapse; font-size: .9rem; margin: .6rem 0 1rem; }
.legal .cookie-table th { text-align: left; font: 500 .72rem var(--mono); letter-spacing: .05em; text-transform: uppercase; color: var(--subtle); padding: .6rem .7rem; border-bottom: 1px solid var(--line-strong); }
.legal .cookie-table td { padding: .7rem; border-bottom: 1px solid var(--line); color: var(--muted); vertical-align: top; }
.legal .cookie-table td:first-child { font-family: var(--mono); color: var(--ink); white-space: nowrap; }
.legal .btn { color: #fff; margin-top: 1rem; }
@media (max-width: 640px) { .legal__card { grid-template-columns: 1fr; } .legal__toc ol { columns: 1; } .legal .cookie-table { display: block; overflow-x: auto; } }


/* ---------- Portada nueva: titular vivo + flujo ---------- */
.hx { padding: 120px 6% 60px; gap: clamp(2rem, 4vw, 4rem); background: #fff; isolation: isolate; }
.hx__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(60% 55% at 75% 50%, rgba(91, 140, 255, .16), transparent 70%), radial-gradient(40% 40% at 10% 90%, rgba(139, 124, 255, .08), transparent 70%); }
.hx__bg::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(14, 22, 40, .09) 1px, transparent 1px); background-size: 26px 26px;
  -webkit-mask: radial-gradient(55% 60% at 72% 50%, #000, transparent 75%); mask: radial-gradient(55% 60% at 72% 50%, #000, transparent 75%); }
.hx__copy { flex: 1 1 0; max-width: 620px; position: relative; z-index: 2; animation: hxUp 1s var(--ease) both .1s; }
.hx__kicker { font: 500 .78rem var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--accent-ink); margin-bottom: 1.2rem; }
.hx__h1 { font-size: clamp(2.8rem, 6.2vw, 5.4rem); line-height: .98; letter-spacing: -.055em; font-weight: 700; color: var(--ink); margin-bottom: 1.6rem; }
.hx__rot { display: inline-grid; vertical-align: bottom; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.hx__rot span { grid-area: 1 / 1; white-space: nowrap; color: var(--hxc, #2F62E0); transform: translateY(105%); opacity: 0; transition: transform .7s var(--ease), opacity .5s, color .6s; }
.hx__rot span.is-on { transform: none; opacity: 1; }
.hx__rot span.is-out { transform: translateY(-105%); opacity: 0; }
.hx__l2 { display: block; background: linear-gradient(100deg, #0E0E0E 0%, #2F62E0 30%, #5B8CFF 45%, #8B7CFF 60%, #0E0E0E 90%); background-size: 260% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent; animation: hsGrad 8s ease-in-out infinite alternate; }
.hx__p { font-size: clamp(1rem, 1.25vw, 1.15rem); line-height: 1.6; color: var(--muted); max-width: 33em; }
.hx__cta { display: flex; gap: .7rem; flex-wrap: wrap; margin-top: 2rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.hx__viz { flex: 1.1 1 0; min-width: 0; position: relative; z-index: 1; animation: hxUp 1.1s var(--ease) both .3s; }
.hx__stage { position: relative; width: 100%; aspect-ratio: 640 / 460; container-type: inline-size; }
.hx__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.hx__wire { stroke: url(#hxw); stroke-width: 2; stroke-dasharray: 5 7; animation: hxDash 1.2s linear infinite; }
.hx__wire--out { stroke: url(#hxo); stroke-width: 2.5; opacity: .25; transition: opacity .5s; }
.hx.is-done .hx__wire--out { opacity: 1; }
@keyframes hxDash { to { stroke-dashoffset: -24; } }
.hx__in { position: absolute; left: 0; top: 0; width: 30.6%; height: 100%; }
.hx__chip { position: absolute; left: 0; width: 100%; display: flex; align-items: center; gap: 2.4cqw; padding: 1.8cqw 2cqw; border-radius: 2.6cqw; background: rgba(255, 255, 255, .92);
  box-shadow: 0 0 0 1px rgba(14, 22, 40, .07), 0 14px 30px -18px rgba(11, 21, 51, .35); transform: translate(-30px, -50%); opacity: 0; transition: transform .7s var(--ease), opacity .5s; backdrop-filter: blur(8px); }
.hx__chip:nth-child(1) { top: 20%; } .hx__chip:nth-child(2) { top: 50%; } .hx__chip:nth-child(3) { top: 80%; }
.hx__chip.is-in { transform: translate(0, -50%); opacity: 1; }
.hx__chip i { flex: none; width: 6.2cqw; height: 6.2cqw; border-radius: 1.8cqw; display: grid; place-items: center; color: #fff; background: var(--hxc, #2F62E0); transition: background .6s;
  box-shadow: 0 6px 14px -6px var(--hxc, #2F62E0); }
.hx__chip i svg { width: 3.4cqw; height: 3.4cqw; }
.hx__chip div { min-width: 0; display: grid; }
.hx__chip small { font: 500 1.65cqw var(--mono); color: var(--subtle); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hx__chip b { font-size: 2.05cqw; font-weight: 600; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: .3cqw; }

.hx__core { position: absolute; left: 56.25%; top: 50%; width: 17%; aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; display: grid; place-items: center;
  background: radial-gradient(circle at 35% 30%, #fff, #EEF3FF 60%, #DCE6FF); box-shadow: 0 0 0 1px rgba(47, 98, 224, .15), 0 20px 50px -14px rgba(47, 98, 224, .55), 0 0 60px rgba(91, 140, 255, .35); }
.hx__core img { width: 52%; height: auto; border-radius: 50%; animation: hxPulse 2.4s ease-in-out infinite; }
.hx__core em { position: absolute; bottom: -1.2cqw; font: 600 1.6cqw var(--mono); font-style: normal; color: #fff; background: linear-gradient(90deg, #2F62E0, #8B7CFF); padding: .4cqw 1.2cqw; border-radius: 99px; }
.hx__ring { position: absolute; inset: -12%; border-radius: 50%; padding: 2px; background: conic-gradient(from var(--hxa, 0deg), transparent 0 55%, #5B8CFF 75%, #8B7CFF 90%, transparent);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: hxSpin 2.6s linear infinite; }
.hx__ring--2 { inset: -26%; opacity: .45; animation-duration: 5s; animation-direction: reverse; }
@property --hxa { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
@keyframes hxSpin { to { --hxa: 360deg; } }
@keyframes hxPulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.06); } }

.hx__out { position: absolute; right: 0; top: 50%; width: 29%; translate: 0 -50%; padding: 2.4cqw; border-radius: 3cqw; background: #0B0F1E; color: #fff;
  box-shadow: 0 30px 60px -24px rgba(11, 21, 51, .6), 0 0 0 1px rgba(91, 140, 255, .25); transform: scale(.96); opacity: .55; transition: transform .6s var(--ease), opacity .6s; }
.hx.is-done .hx__out { transform: none; opacity: 1; }
.hx__out > small { font: 500 1.6cqw var(--mono); letter-spacing: .06em; text-transform: uppercase; color: #9DB8FF; }
.hx__out > b { display: block; font-size: 2.6cqw; font-weight: 600; letter-spacing: -.02em; margin: .8cqw 0 1.4cqw; min-height: 2.2em; line-height: 1.15; }
.hx__spark { height: 6.6cqw; }
.hx__spark svg { width: 100%; height: 100%; overflow: visible; }
.hx__sl { stroke-dasharray: 100; stroke-dashoffset: 100; }
.hx.is-done .hx__sl { animation: hxDraw 1.2s var(--ease) forwards; }
@keyframes hxDraw { to { stroke-dashoffset: 0; } }
.hx__kpi { display: flex; align-items: baseline; gap: 1cqw; margin-top: 1.2cqw; }
.hx__kpi span { font-size: 5.4cqw; font-weight: 600; letter-spacing: -.04em; font-variant-numeric: tabular-nums;
  background: linear-gradient(180deg, #fff, #9DB8FF); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hx__kpi small { font-size: 1.6cqw; color: rgba(255, 255, 255, .6); line-height: 1.2; }
@keyframes hxUp { from { opacity: 0; translate: 0 24px; } to { opacity: 1; translate: 0 0; } }

@media (max-width: 1024px) {
  .hx { flex-direction: column; text-align: left; padding: 7.5rem 5% 3rem; align-items: stretch; }
  .hx__copy { max-width: 680px; margin: 0 auto; text-align: center; }
  .hx__p { margin: 0 auto; }
  .hx__cta { justify-content: center; }
  .hx__viz { width: 100%; max-width: 640px; margin: 0 auto; }
}
@media (prefers-reduced-motion: reduce) {
  .hx__copy, .hx__viz, .hx__l2, .hx__wire, .hx__ring, .hx__core img { animation: none !important; }
  .hx__flow { display: none; }
}

/* portada · escena 3D */
.hx__copy, .hx__viz { will-change: transform; }
.hx__viz { flex: 1.25 1 0; }
.hx__stage { aspect-ratio: 16 / 11; }
.hx__gl { position: absolute; inset: -6% -4%; width: 108%; height: 112%; display: block; }
.hx.no-gl .hx__gl { display: none; }
.hx__tag { position: absolute; top: 4%; font: 500 max(11px, 1.6cqw) var(--mono); letter-spacing: .06em; text-transform: uppercase; padding: .45em .9em; border-radius: 99px;
  background: rgba(255,255,255,.75); backdrop-filter: blur(6px); box-shadow: inset 0 0 0 1px var(--line); color: var(--subtle); }
.hx__tag--a { left: 4%; }
.hx__tag--b { right: 4%; color: var(--accent-ink); box-shadow: inset 0 0 0 1px rgba(47,98,224,.25); }
.hx__out { top: auto; bottom: 0; right: auto; left: 2%; translate: none; width: 36%; padding: 2cqw 2.2cqw; border-radius: 2.6cqw; }
.hx__out > b { font-size: 2.2cqw; min-height: 0; margin: .6cqw 0 1cqw; }
.hx__out > small, .hx__kpi small { font-size: max(10px, 1.35cqw); }
.hx__spark { height: 4.6cqw; }
.hx__kpi span { font-size: 4.4cqw; }
.hx.no-gl .hx__out { position: relative; width: 100%; max-width: 360px; margin: 2rem auto 0; font-size: 16px; }
@media (max-width: 1024px) { .hx__out { width: 46%; } .hx__out > b { font-size: 3cqw; } .hx__kpi span { font-size: 6cqw; } .hx__out > small, .hx__kpi small { font-size: 2cqw; } }
@media (max-width: 560px) { .hx__out { width: 62%; } .hx__out > b { font-size: 4cqw; } .hx__out > small, .hx__kpi small { font-size: 2.8cqw; } .hx__kpi span { font-size: 8cqw; } .hx__spark { height: 7cqw; } }


/* ---------- Comunidad: degradado suave hacia la sección blanca + invitación ---------- */
.cstage { padding-bottom: clamp(9rem, 16vw, 13rem); }
.cstage::after { height: clamp(340px, 42vh, 520px) !important; z-index: 0; pointer-events: none;
  background: linear-gradient(180deg,
    rgba(255,255,255,0) 0%, rgba(240,244,255,.013) 8%, rgba(240,244,255,.049) 16%, rgba(240,244,255,.104) 24%, rgba(240,244,255,.175) 32%,
    rgba(240,244,255,.259) 40%, rgba(240,244,255,.352) 47%, rgba(242,245,255,.45) 54%, rgba(244,247,255,.55) 61%, rgba(246,248,255,.648) 68%,
    rgba(248,250,255,.741) 75%, rgba(250,251,255,.825) 81%, rgba(252,253,255,.896) 87%, rgba(254,254,255,.951) 92%, rgba(255,255,255,.987) 96%, #fff 100%) !important; }
.cstage__card { display: block; width: min(340px, 92%); padding: 0; border-radius: 20px; overflow: hidden; white-space: normal; bottom: -6%;
  background: rgba(17, 20, 40, .78); border: 1px solid rgba(255,255,255,.1); backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%);
  box-shadow: 0 30px 70px -20px rgba(0,0,0,.6), 0 0 0 1px rgba(88,101,242,.18), 0 0 60px -10px rgba(88,101,242,.45); animation: ccIn 1s cubic-bezier(.16,1,.3,1) both .5s; }
.ccard__banner { height: 54px; position: relative; overflow: hidden; background: linear-gradient(120deg, #3B47D6, #5865F2 40%, #8B7CFF 75%, #5B8CFF); background-size: 200% 100%; animation: hsGrad 6s ease-in-out infinite alternate; }
.ccard__banner span { position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%); transform: translateX(-100%); animation: ccShine 3.8s ease-in-out infinite 1.2s; }
.ccard__row { display: flex; align-items: flex-end; gap: .8rem; padding: 0 1rem; margin-top: -24px; position: relative; }
.ccard__row img { width: 58px; height: 58px; border-radius: 18px; border: 4px solid #11142A; background: #0E0E0E; flex: none; }
.ccard__id { padding-bottom: .1rem; min-width: 0; }
.ccard__id small { display: block; font-size: .68rem; text-transform: uppercase; letter-spacing: .06em; color: rgba(255,255,255,.5); font-weight: 600; }
.ccard__id b { display: block; font-size: 1.05rem; font-weight: 700; letter-spacing: -.01em; color: #fff; }
.ccard__meta { display: flex; gap: .35rem; margin-top: .45rem; }
.ccard__meta em { font-style: normal; font-size: .72rem; font-weight: 500; color: #C9D0FF; padding: .2rem .55rem; border-radius: 99px; background: rgba(88,101,242,.18); box-shadow: inset 0 0 0 1px rgba(88,101,242,.35); }
.ccard__foot { display: flex; align-items: center; justify-content: space-between; gap: .8rem; padding: .9rem 1rem 1rem; }
.ccard__av { display: flex; }
.ccard__av i { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font: 700 .72rem var(--sans, inherit); font-style: normal; color: #fff;
  background: var(--c); border: 2px solid #15182F; margin-left: -8px; animation: ccPop .6s cubic-bezier(.34,1.56,.64,1) both; }
.ccard__av i:first-child { margin-left: 0; }
.ccard__av i:nth-child(2) { animation-delay: .9s; } .ccard__av i:nth-child(3) { animation-delay: 1s; } .ccard__av i:nth-child(4) { animation-delay: 1.1s; } .ccard__av i:nth-child(1) { animation-delay: .8s; }
.ccard__go { display: inline-flex; align-items: center; gap: .5rem; padding: .62rem 1rem; border-radius: 12px; background: #5865F2; color: #fff; font-weight: 600; font-size: .88rem; text-decoration: none;
  box-shadow: 0 10px 24px -8px rgba(88,101,242,.8); transition: transform .3s cubic-bezier(.16,1,.3,1), background .3s; white-space: nowrap; }
.ccard__go svg { width: 18px; height: 18px; }
.ccard__go:hover { background: #4752C4; transform: translateY(-2px); }
@keyframes ccShine { 0%, 60% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }
@keyframes ccIn { from { opacity: 0; translate: 0 24px; } to { opacity: 1; translate: 0 0; } }
@keyframes ccPop { from { transform: scale(0); } to { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .cstage__card, .ccard__banner, .ccard__banner span, .ccard__av i { animation: none !important; } }
.cstage::after { bottom: -2px !important; }
.cstage__card { z-index: 3; }
.cstage__logo { z-index: 1; }
@media (max-width: 1024px) {
  .hx__out { position: relative; left: auto; right: auto; bottom: auto; top: auto; width: 100%; max-width: 380px; margin: .5rem auto 0; padding: 16px 18px; border-radius: 18px; }
  .hx__out > small, .hx__kpi small { font-size: 11px; }
  .hx__out > b { font-size: 17px; margin: 6px 0 10px; }
  .hx__spark { height: 34px; }
  .hx__kpi span { font-size: 34px; }
}
@media (max-width: 1024px) {
  .hx__stage { aspect-ratio: auto; padding-top: 70%; }
  .hx__gl { inset: auto; top: 0; left: -4%; width: 108%; height: auto; aspect-ratio: 16 / 11.5; }
  .hx__tag { top: 2%; }
}
