/* Eleva Labs — hoja principal
   Paleta construida desde el logo: azul profundo, cian digital, verde impulso y gris técnico. */

:root {
  --ink-950: #060b17;
  --ink-900: #0b1223;
  --ink-850: #0f182d;
  --ink-800: #131d36;
  --ink-700: #1b2744;
  --ink-600: #283654;
  --ink-500: #3a4a6b;
  --slate-400: #a6b3c7;
  --slate-300: #c3cddb;
  --slate-200: #dde4ee;
  --slate-100: #edf1f7;
  --paper: #f5f8fc;
  --white: #ffffff;

  --cyan: #29c5e8;
  --cyan-300: #7fdcf2;
  --cyan-100: #dcf5fc;
  --cyan-700: #0a7ea4;
  --cyan-900: #0b3b52;
  --lime: #b7eb64;
  --lime-300: #d4f39f;
  --lime-100: #eefad9;
  --lime-700: #4d7c0f;
  --mint: #6fd9b0;

  --a-com: var(--cyan);
  --a-mkt: var(--lime);
  --a-ope: var(--mint);
  --a-per: var(--cyan-300);
  --a-fin: var(--lime-300);

  --txt-dark: #a9b6ca;     /* párrafo sobre fondo oscuro */
  --txt-light: #4a5873;    /* párrafo sobre fondo claro */

  --font: "Manrope", "Helvetica Neue", Helvetica, Arial, system-ui, sans-serif;
  --font-d: "Space Grotesk", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --r-sm: 12px;
  --r-md: 20px;
  --r-lg: 28px;
  --r-xl: 40px;
  --gut: 16px;
  --maxw: 1240px;
  --hdr-h: 64px;

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);
}

@media (min-width: 768px) { :root { --gut: 32px; --hdr-h: 72px; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--hdr-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; font-family: var(--font); font-size: 1rem; line-height: 1.6; color: var(--ink-900);
  background: var(--paper); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  -webkit-tap-highlight-color: transparent; overflow-x: clip;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: var(--cyan); color: var(--ink-900); }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.i { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.i--brand { fill: currentColor; stroke: none; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--lime); color: var(--ink-900); padding: 10px 16px; border-radius: 999px; font-weight: 600; }
.skip:focus { top: 12px; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: 100%; max-width: calc(var(--maxw) + var(--gut) * 2); margin-inline: auto; padding-inline: var(--gut); }

/* ---------- Tipografía ---------- */
.label {
  display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 10px; border-radius: 999px; justify-self: start; width: fit-content;
  font-size: .8125rem; font-weight: 600; letter-spacing: -0.005em; color: var(--cyan-700); background: var(--cyan-100);
}
.dark .label, .darker .label, .label--dark { color: var(--cyan); background: rgba(41, 197, 232, .12); }
.cyan .label, .lime .label { color: var(--ink-900); background: rgba(255, 255, 255, .6); }
.h-hero, .h-xl, .h-lg, .h-md, .h-sm { font-family: var(--font-d); }
.h-hero { font-size: clamp(2.5rem, 1.2rem + 4.4vw, 5rem); font-weight: 600; line-height: 1; letter-spacing: -0.045em; }
.h-hero .ln { display: block; }
.h-hero .ln-mark { position: relative; z-index: 0; display: inline-block; padding-inline: .06em; }
.h-hero .ln-mark::after {
  content: ""; position: absolute; z-index: -1; left: 0; right: 0; bottom: .06em; height: .46em; border-radius: 8px;
  background: var(--lime); transform: skewY(-2.5deg); transform-origin: 0 100%;
}
.js .h-hero .ln-mark::after { transform: skewY(-2.5deg) scaleX(0); transition: transform 900ms var(--ease-out) 450ms; }
.js .is-in .ln-mark::after, .js .is-in.ln-mark::after, .js [data-rv].is-in .ln-mark::after { transform: skewY(-2.5deg) scaleX(1); }
.h-xl { font-size: clamp(2.2rem, 1.3rem + 3.4vw, 3.9rem); font-weight: 600; line-height: 1.04; letter-spacing: -0.04em; }
.h-lg { font-size: clamp(1.85rem, 1.2rem + 2.3vw, 3rem); font-weight: 600; line-height: 1.08; letter-spacing: -0.035em; text-wrap: balance; }
.h-md { font-size: clamp(1.25rem, 1.05rem + .7vw, 1.6rem); font-weight: 600; line-height: 1.2; letter-spacing: -0.025em; }
.h-sm { font-size: 1.125rem; font-weight: 600; line-height: 1.3; letter-spacing: -0.015em; }
.lead { font-size: clamp(1.05rem, .98rem + .35vw, 1.25rem); line-height: 1.6; color: var(--txt-light); }
.dark .lead, .dark p { color: var(--txt-dark); }
p { color: var(--txt-light); text-wrap: pretty; }
.dark { color: var(--white); }
.hl-lime { color: var(--lime); }
.hl-cyan { color: var(--cyan); }
.light .hl-cyan, .white .hl-cyan { color: var(--cyan-700); }
.cyan .hl-cyan, .lime .hl-cyan { color: var(--ink-900); text-decoration: underline; text-underline-offset: 3px; }
.head { display: grid; gap: 16px; max-width: 760px; margin-bottom: clamp(40px, 6vw, 64px); justify-items: start; }
.head--center { margin-inline: auto; text-align: center; justify-items: center; }
.head--center .label, .hero__copy .label { justify-self: center; }
.head--split { max-width: 820px; }
.head--split .copy { justify-items: start; }

/* Mini isotipo: las tres barras de la marca */
.bars { display: inline-grid; gap: 2px; width: 18px; flex: none; }
.bars i { display: block; height: 3px; border-radius: 2px; background: currentColor; justify-self: end; transform: skewY(-9deg); }
.bars i:nth-child(1) { width: 60%; background: var(--lime); }
.bars i:nth-child(2) { width: 82%; }
.bars i:nth-child(3) { width: 100%; }
.label .bars { color: var(--cyan); }
.cyan .label .bars, .lime .label .bars { color: var(--ink-900); }
.lime .label .bars i:nth-child(1) { background: var(--cyan); }
.bars--sm { width: 22px; }
.bars--sm i { height: 4px; }

/* ---------- Botones ---------- */
.btn {
  --bg: var(--white); --fg: var(--ink-900);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px; border-radius: 999px; background: var(--bg); color: var(--fg);
  font-weight: 700; font-size: 1rem; letter-spacing: -0.01em; white-space: nowrap; user-select: none;
  transition: transform 160ms var(--ease-out), background-color 200ms ease, color 200ms ease, box-shadow 200ms ease;
}
.btn .i { width: 20px; height: 20px; transition: transform 200ms var(--ease-out); }
.btn:active { transform: scale(0.97); }
.btn--lime { --bg: var(--lime); --fg: var(--ink-900); }
.btn--cyan { --bg: var(--cyan); --fg: var(--ink-900); }
.btn--dark { --bg: var(--ink-900); --fg: var(--white); }
.btn--dark .i { color: var(--lime); }
.btn--ghost { --bg: transparent; --fg: var(--white); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.22); }
.btn--ghost-dark { --bg: transparent; --fg: var(--ink-900); box-shadow: inset 0 0 0 1.5px rgba(11,18,35,.18); }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: .9375rem; }
.btn--block { width: 100%; }
@media (hover: hover) and (pointer: fine) {
  .btn--lime:hover { --bg: #c6f27e; }
  .btn--cyan:hover { --bg: #4fd1ef; }
  .btn--dark:hover { --bg: var(--ink-700); }
  .btn--ghost:hover { box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.5); }
  .btn--ghost-dark:hover { box-shadow: inset 0 0 0 1.5px rgba(11,18,35,.45); }
  .btn:hover .i-arrow { transform: translateX(3px); }
  .btn:hover .i-up { transform: translate(2px, -2px); }
}
.btns { display: flex; flex-wrap: wrap; gap: 12px; }
.link {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--cyan-700);
  transition: gap 200ms var(--ease-out);
}
.dark .link, .darker .link { color: var(--cyan); }
.cyan .link, .lime .link { color: var(--ink-900); }
.link .i { width: 18px; height: 18px; }
@media (hover: hover) and (pointer: fine) { .link:hover { gap: 12px; } }

/* ---------- Barra de progreso ---------- */
.progress { position: fixed; inset: 0 0 auto; height: 3px; z-index: 120; pointer-events: none; }
.progress span { display: block; height: 100%; width: 100%; background: var(--cyan); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }

/* ---------- Cabecera (clara) ---------- */
.hdr { position: sticky; top: 0; z-index: 100; background: var(--white); color: var(--ink-900); transition: box-shadow 200ms ease; }
.hdr.is-scrolled { box-shadow: 0 1px 0 var(--slate-200), 0 10px 30px -20px rgba(11,18,35,.25); }
.hdr__in { display: flex; align-items: center; gap: 28px; height: var(--hdr-h); }
.hdr__logo img { width: 150px; height: auto; }
@media (min-width: 1100px) { .hdr__logo img { width: 166px; } }
.nav { display: none; }
.nav__list { display: flex; gap: 2px; }
.nav__link {
  display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 14px; border-radius: 999px;
  font-size: .9375rem; font-weight: 600; color: var(--ink-500); transition: color 150ms ease, background-color 150ms ease;
}
.nav__link .i { width: 16px; height: 16px; transition: transform 200ms var(--ease-out); }
.nav__link[aria-current="page"] { color: var(--ink-900); background: var(--cyan-100); }
.nav__trigger[aria-expanded="true"] { color: var(--ink-900); background: var(--slate-100); }
.nav__trigger[aria-expanded="true"] .i { transform: rotate(180deg); }
@media (hover: hover) and (pointer: fine) { .nav__link:hover { color: var(--ink-900); background: var(--slate-100); } }
.hdr__actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.kbtn {
  display: none; align-items: center; gap: 8px; height: 42px; padding: 0 8px 0 14px; border-radius: 999px;
  background: var(--slate-100); color: var(--ink-500); font-size: .875rem; font-weight: 500; transition: background-color 150ms ease;
}
.kbtn .i { width: 16px; height: 16px; }
.kbtn kbd { font-family: inherit; font-size: .75rem; padding: 3px 8px; border-radius: 999px; background: var(--white); color: var(--ink-500); }
.cmdk kbd { font-family: inherit; font-size: .75rem; padding: 3px 8px; border-radius: 999px; background: var(--ink-700); color: var(--slate-400); }
@media (hover: hover) and (pointer: fine) { .kbtn:hover { background: var(--slate-200); } }
.hdr__cta { display: none; }
.hdr__cta .i { width: 18px; height: 18px; }
.burger { position: relative; width: 44px; height: 44px; border-radius: 999px; background: var(--slate-100); }
.burger span { position: absolute; left: 13px; right: 13px; height: 2px; border-radius: 2px; background: var(--ink-900); transition: transform 250ms var(--ease-out); }
.burger span:nth-child(1) { top: 18px; }
.burger span:nth-child(2) { top: 24px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(3px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { transform: translateY(-3px) rotate(-45deg); }
@media (min-width: 1024px) {
  .nav { display: block; }
  .burger { display: none; }
  .kbtn { display: inline-flex; }
}
@media (min-width: 1240px) { .hdr__cta { display: inline-flex; } }
@media (min-width: 1024px) and (max-width: 1239px) { .kbtn span, .kbtn kbd { display: none; } .kbtn { padding: 0 13px; } }

/* Mega menú (claro) */
.nav__has-mega { position: static; }
.mega {
  position: absolute; left: 50%; top: calc(var(--hdr-h) - 6px); width: min(1080px, calc(100vw - 48px));
  transform: translateX(-50%) translateY(-6px) scale(.98); transform-origin: 50% 0; opacity: 0; visibility: hidden;
  transition: opacity 180ms var(--ease-out), transform 220ms var(--ease-out), visibility 0s linear 220ms;
  z-index: 110;
}
.mega.is-open { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0) scale(1); transition-delay: 0s; }
.mega__grid {
  display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: 8px; padding: 10px; border-radius: var(--r-lg);
  background: var(--white); box-shadow: 0 30px 80px -24px rgba(11,18,35,.35), 0 0 0 1px var(--slate-200);
}
.mega__feature {
  display: grid; align-content: start; gap: 10px; padding: 24px; border-radius: var(--r-md); background: var(--cyan);
  color: var(--ink-900); transition: background-color 200ms ease;
}
.mega__kicker { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-900); font-size: .8125rem; font-weight: 600; }
.mega__kicker .i { width: 16px; height: 16px; }
.mega__feature strong { font-family: var(--font-d); font-size: 1.3rem; line-height: 1.15; letter-spacing: -0.025em; font-weight: 600; }
.mega__txt { color: var(--ink-800); font-size: .9375rem; }
.mega__areas { display: flex; gap: 6px; margin-top: 6px; }
.mega__areas span { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: var(--ink-900); color: var(--c); }
.mega__areas .i { width: 18px; height: 18px; }
.mega__go { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; color: var(--ink-900); font-weight: 700; font-size: .9375rem; }
.mega__go .i { width: 16px; height: 16px; transition: transform 200ms var(--ease-out); }
.mega__col { display: grid; align-content: start; gap: 2px; padding: 14px 8px; }
.mega__head { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px 10px; font-size: .8125rem; font-weight: 600; color: var(--txt-light); }
.mega__head .i { width: 14px; height: 14px; }
.mega__item { display: flex; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 14px; transition: background-color 150ms ease; }
.mega__item strong { display: block; font-weight: 700; font-size: .9375rem; }
.mega__item small { display: block; color: var(--txt-light); font-size: .8125rem; line-height: 1.35; }
.mega__ic { --c: var(--cyan); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; flex: none; background: color-mix(in srgb, var(--c) 24%, white); color: color-mix(in srgb, var(--c) 45%, var(--ink-900)); }
.mega__ic .i { width: 18px; height: 18px; }
.mega__quiz { display: grid; gap: 6px; margin-top: 8px; padding: 18px; border-radius: var(--r-md); background: var(--lime); color: var(--ink-900); transition: background-color 200ms ease; }
.mega__quiz .bars { color: var(--ink-900); margin-bottom: 4px; }
.mega__quiz .bars i:nth-child(1) { background: var(--cyan); }
.mega__quiz small { color: var(--ink-800); font-size: .8125rem; line-height: 1.4; }
@media (hover: hover) and (pointer: fine) {
  .mega__item:hover { background: var(--paper); }
  .mega__feature:hover { background: #45cfee; }
  .mega__feature:hover .mega__go .i, .mega__quiz:hover .mega__go .i { transform: translateX(3px); }
  .mega__quiz:hover { background: #c6f27e; }
}

/* Menú móvil (hoja clara) */
.sheet {
  position: fixed; inset: var(--hdr-h) 0 0; z-index: 99; display: flex; flex-direction: column; gap: 20px;
  padding: 16px var(--gut) calc(24px + env(safe-area-inset-bottom)); background: var(--white); color: var(--ink-900);
  overflow-y: auto; overscroll-behavior: contain;
}
.sheet[hidden] { display: none; }
.sheet.is-open .sheet__nav > * { animation: sheetIn 320ms var(--ease-out) both; }
.sheet.is-open .sheet__nav > *:nth-child(2) { animation-delay: 30ms; }
.sheet.is-open .sheet__nav > *:nth-child(3) { animation-delay: 60ms; }
.sheet.is-open .sheet__nav > *:nth-child(4) { animation-delay: 90ms; }
.sheet.is-open .sheet__nav > *:nth-child(5) { animation-delay: 120ms; }
@keyframes sheetIn { from { opacity: 0; transform: translateY(10px); } }
.sheet__nav { display: grid; gap: 6px; }
.sheet__nav > a, .sheet__group > summary {
  display: flex; align-items: center; gap: 14px; min-height: 58px; padding: 0 16px; border-radius: 18px;
  font-family: var(--font-d); font-size: 1.1875rem; font-weight: 600; background: var(--paper); cursor: pointer; list-style: none;
}
.sheet__group > summary::-webkit-details-marker { display: none; }
.sheet__group > summary .i:last-child { margin-left: auto; transition: transform 200ms var(--ease-out); }
.sheet__group[open] > summary .i:last-child { transform: rotate(180deg); }
.sheet__nav .i { color: var(--cyan-700); }
.sheet__nav a[aria-current="page"] { background: var(--cyan); }
.sheet__nav a[aria-current="page"] .i { color: var(--ink-900); }
.sheet__group { display: grid; gap: 2px; }
.sheet__group a { display: block; padding: 12px 16px 12px 54px; color: var(--ink-600); font-weight: 600; }
.sheet__group a.sheet__sub { padding-left: 72px; font-size: .9375rem; color: var(--txt-light); font-weight: 500; }
.sheet__social { display: flex; gap: 10px; justify-content: center; }
.sheet .soc { background: var(--paper); color: var(--ink-900); }
body.no-scroll { overflow: hidden; }

/* Redes */
.soc { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 999px; background: var(--ink-800); color: var(--slate-300); transition: background-color 150ms ease, color 150ms ease, transform 160ms var(--ease-out); }
.soc .i { width: 18px; height: 18px; }
.soc:active { transform: scale(.94); }
@media (hover: hover) and (pointer: fine) { .soc:hover { background: var(--cyan); color: var(--ink-900); } }

/* ---------- Secciones: campos de color con borde inclinado (ángulo del isotipo) ---------- */
.sec { position: relative; padding-block: clamp(88px, 11vw, 168px); }
.sec--tight { padding-block: clamp(64px, 8vw, 112px); }
.light { background: var(--paper); color: var(--ink-900); }
.white { background: var(--white); color: var(--ink-900); }
.dark { background: var(--ink-900); }
.darker { background: var(--ink-950); color: var(--white); }
.darker p { color: var(--txt-dark); }
.cyan { background: var(--cyan); color: var(--ink-900); }
.lime { background: var(--lime); color: var(--ink-900); }
.cyan p, .cyan .lead, .lime p, .lime .lead { color: var(--ink-800); }
.round {
  --sl: clamp(32px, 5.5vw, 96px);
  clip-path: polygon(0 var(--sl), 100% 0, 100% 100%, 0 100%);
  margin-top: calc(var(--sl) * -1); padding-top: calc(clamp(88px, 11vw, 168px) + var(--sl) * .6); z-index: 1;
}
.round + .round { z-index: 2; }
.round + .round + .round { z-index: 3; }
.round + .round + .round + .round { z-index: 4; }
.round + .round + .round + .round + .round { z-index: 5; }
.round + .round + .round + .round + .round + .round { z-index: 6; }
@media (max-width: 767px) { :root { --r-xl: 28px; } }

/* ---------- Hero (claro, centrado, producto en escenario) ---------- */
.hero { position: relative; overflow: clip; padding-block: clamp(48px, 7vw, 92px) clamp(120px, 12vw, 190px); color: var(--ink-900); background: var(--paper); }
.hero__grid { position: relative; z-index: 1; display: grid; gap: clamp(40px, 5vw, 64px); justify-items: center; }
.hero__copy { display: grid; gap: 24px; justify-items: center; text-align: center; max-width: 940px; }
.hero__copy .lead { max-width: 680px; color: var(--txt-light); }
.hero__copy .btns { justify-content: center; margin-top: 4px; }
.hero__areas { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 12px; }
.hero .console { width: 100%; max-width: 1060px; }
.hero .btn--ghost, .phero .btn--ghost { --fg: var(--ink-900); box-shadow: inset 0 0 0 1.5px rgba(11,18,35,.18); }
@media (hover: hover) and (pointer: fine) { .hero .btn--ghost:hover, .phero .btn--ghost:hover { box-shadow: inset 0 0 0 1.5px rgba(11,18,35,.45); } }
.chip {
  --c: var(--cyan);
  display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px 0 10px; border-radius: 999px;
  background: var(--white); color: var(--ink-600); font-size: .875rem; font-weight: 600; box-shadow: 0 0 0 1px var(--slate-200);
  transition: background-color 150ms ease, color 150ms ease, box-shadow 150ms ease, transform 160ms var(--ease-out);
}
.chip .i { width: 18px; height: 18px; color: color-mix(in srgb, var(--c) 55%, var(--ink-900)); }
.chip:active { transform: scale(.96); }
.chip.is-active { background: var(--ink-900); color: var(--white); box-shadow: none; }
.chip.is-active .i { color: var(--c); }
@media (hover: hover) and (pointer: fine) { .chip:not(.is-active):hover { box-shadow: 0 0 0 1.5px var(--ink-900); color: var(--ink-900); } }

/* Patrón de marca: barras inclinadas a todo color */
.motif { position: absolute; pointer-events: none; z-index: 0; color: var(--cyan); }
.motif svg { width: 100%; height: auto; overflow: visible; }
.motif path { fill: currentColor; stroke: currentColor; stroke-width: 10; stroke-linejoin: round; }
.motif .m-top { fill: var(--lime); stroke: var(--lime); }
.hero__try { font-size: .875rem; font-weight: 600; color: var(--txt-light); }
.hero .motif { width: min(1500px, 170vw); left: 50%; bottom: -10vw; transform: translateX(-36%); }
@media (max-width: 767px) { .hero .motif { bottom: 40px; } }
.motif .m-bar { transform-box: fill-box; transform-origin: 100% 50%; }
.js .motif .m-bar { transform: translateX(14%); opacity: 0; transition: transform 1400ms var(--ease-out), opacity 900ms ease; }
.js .motif.is-in .m-bar { transform: none; opacity: 1; }
.js .motif.is-in .m-bar:nth-child(2) { transition-delay: 120ms; }
.js .motif.is-in .m-bar:nth-child(3) { transition-delay: 240ms; }

/* ---------- Consola del agente (fragmento de interfaz) ---------- */
.console {
  --c: var(--cyan);
  position: relative; display: grid; grid-template-rows: auto 1fr auto; height: 560px; border-radius: var(--r-lg);
  background: var(--ink-850); box-shadow: 0 0 0 1px rgba(255,255,255,.07), 0 40px 100px -30px rgba(0,0,0,.7);
  overflow: hidden; color: var(--white); font-size: .9375rem;
}
@media (max-width: 599px) { .console { height: 600px; } }
.console__top { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: var(--ink-800); }
.console__agent { display: flex; align-items: center; gap: 12px; min-width: 0; }
.console__avatar { position: relative; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 13px; flex: none; background: color-mix(in srgb, var(--c) 20%, var(--ink-700)); color: var(--c); transition: background-color 300ms ease, color 300ms ease; }
.console__avatar .i { width: 20px; height: 20px; }
.console__avatar::after { content: ""; position: absolute; right: -2px; bottom: -2px; width: 11px; height: 11px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 2.5px var(--ink-800); }
.console__name { font-weight: 600; font-size: .9375rem; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.console__status { font-size: .75rem; color: var(--slate-400); }
.console__demo { margin-left: auto; font-size: .6875rem; color: var(--slate-400); background: var(--ink-700); padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.console__tabs { display: flex; gap: 4px; padding: 8px 10px; background: var(--ink-800); overflow-x: auto; scrollbar-width: none; border-top: 1px solid rgba(255,255,255,.05); }
.console__tabs::-webkit-scrollbar { display: none; }
.console__tab {
  --c: var(--cyan);
  display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 12px 0 9px; border-radius: 10px; flex: none;
  color: var(--slate-400); font-size: .8125rem; font-weight: 500; transition: background-color 150ms ease, color 150ms ease;
}
.console__tab .i { width: 16px; height: 16px; color: var(--c); }
.console__tab[aria-selected="true"] { background: var(--ink-700); color: var(--white); }
@media (hover: hover) and (pointer: fine) { .console__tab:hover { color: var(--white); } }
.console__head { display: grid; }
.console__body { display: grid; grid-template-columns: 1fr; min-height: 0; }
@media (min-width: 600px) { .console__body { grid-template-columns: minmax(0, 1fr) 210px; } }
.console__chat { display: flex; flex-direction: column; gap: 10px; padding: 18px 16px; overflow-y: auto; scrollbar-width: thin; scrollbar-color: var(--ink-600) transparent; }
.msg { overflow-wrap: anywhere; max-width: 88%; padding: 10px 14px; border-radius: 16px; line-height: 1.45; font-size: .875rem; animation: msgIn 260ms var(--ease-out) both; }
@keyframes msgIn { from { opacity: 0; transform: translateY(8px) scale(.98); } }
.msg--in { align-self: flex-start; background: var(--ink-700); color: var(--slate-200); border-bottom-left-radius: 6px; }
.msg--out { align-self: flex-end; background: color-mix(in srgb, var(--c) 20%, var(--ink-800)); color: var(--white); border-bottom-right-radius: 6px; }
.msg__who { display: flex; align-items: center; gap: 6px; margin-bottom: 3px; font-size: .6875rem; font-weight: 600; color: var(--slate-400); }
.msg--out .msg__who { color: var(--c); }
.msg__who .i { width: 13px; height: 13px; }
.msg--typing { display: inline-flex; gap: 4px; padding: 14px 16px; }
.msg--typing span { width: 6px; height: 6px; border-radius: 50%; background: var(--slate-400); animation: dot 1s ease-in-out infinite; }
.msg--typing span:nth-child(2) { animation-delay: .15s; }
.msg--typing span:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 0%, 60%, 100% { opacity: .3; transform: none; } 30% { opacity: 1; transform: translateY(-3px); } }
.msg .btn { margin-top: 10px; min-height: 38px; font-size: .8125rem; padding: 0 14px; }
.console__side { display: none; flex-direction: column; gap: 8px; padding: 18px 14px; background: var(--ink-900); overflow-y: auto; scrollbar-width: none; }
@media (min-width: 600px) { .console__side { display: flex; } }
.console__side h3 { display: flex; align-items: center; gap: 6px; font-size: .75rem; font-weight: 600; color: var(--slate-400); margin-bottom: 4px; }
.console__side h3 .i { width: 14px; height: 14px; }
.act { padding: 12px; border-radius: 14px; background: var(--ink-800); animation: msgIn 300ms var(--ease-out) both; }
.act__t { display: flex; align-items: center; gap: 8px; font-size: .8125rem; font-weight: 600; line-height: 1.3; }
.act__t .i { width: 16px; height: 16px; color: var(--c); }
.act__d { margin-top: 4px; font-size: .75rem; color: var(--slate-400); line-height: 1.4; }
.act__s { display: inline-flex; align-items: center; gap: 5px; margin-top: 8px; font-size: .6875rem; font-weight: 600; padding: 3px 8px; border-radius: 999px; background: var(--ink-700); color: var(--slate-300); }
.act__s--ok { background: color-mix(in srgb, var(--lime) 18%, var(--ink-800)); color: var(--lime); }
.act__s--rev { background: color-mix(in srgb, var(--cyan) 16%, var(--ink-800)); color: var(--cyan); }
.act__s .i { width: 12px; height: 12px; }
.act__ok { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; margin-left: 4px; height: 26px; padding: 0 10px; border-radius: 999px; background: var(--lime); color: var(--ink-900); font-size: .6875rem; font-weight: 700; transition: transform 160ms var(--ease-out); }
.act__ok:active { transform: scale(.95); }
.act__empty { font-size: .75rem; color: var(--ink-500); line-height: 1.5; }
.console__foot { display: grid; gap: 10px; padding: 12px; background: var(--ink-800); }
.console__sugs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.console__sugs::-webkit-scrollbar { display: none; }
.sug { display: inline-flex; align-items: center; gap: 6px; flex: none; height: 32px; padding: 0 12px; border-radius: 999px; background: var(--ink-700); color: var(--slate-300); font-size: .75rem; font-weight: 500; transition: background-color 150ms ease, color 150ms ease, transform 160ms var(--ease-out); }
.sug .i { width: 14px; height: 14px; color: var(--c); }
.sug:active { transform: scale(.96); }
@media (hover: hover) and (pointer: fine) { .sug:hover { background: var(--ink-600); color: var(--white); } }
.console__form { display: flex; gap: 8px; }
.console__form input { flex: 1; min-width: 0; height: 44px; padding: 0 16px; border-radius: 999px; border: 0; background: var(--ink-900); color: var(--white); font-size: 1rem; }
.console__form input::placeholder { color: #7685a3; }
.console__form input:focus { outline: 2px solid color-mix(in srgb, var(--c) 60%, transparent); outline-offset: 0; }
.console__send { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 999px; background: var(--c); color: var(--ink-900); flex: none; transition: transform 160ms var(--ease-out), background-color 300ms ease; }
.console__send:active { transform: scale(.94); }
.console__send .i { width: 18px; height: 18px; }

/* ---------- Marquesina ---------- */
.marquee { position: relative; z-index: 2; overflow: hidden; padding-block: 18px; background: var(--lime); color: var(--ink-900); transform: skewY(-1.6deg); margin-block: -14px; }
.marquee__track { display: flex; gap: 12px; width: max-content; animation: marquee 48s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item { display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 18px 0 12px; border-radius: 999px; background: rgba(255,255,255,.55); font-size: .9375rem; font-weight: 700; white-space: nowrap; }
.marquee__item .i { width: 20px; height: 20px; color: var(--ink-900); }


@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Caos → orden ---------- */
.split { display: grid; gap: 48px; align-items: center; }
@media (min-width: 1024px) { .split { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 72px; } .split--rev > :first-child { order: 2; } }
.copy { display: grid; gap: 20px; align-content: start; }
.copy .btns { margin-top: 8px; }
.toggle { display: inline-flex; padding: 5px; gap: 4px; border-radius: 999px; background: var(--slate-100); position: relative; }
.toggle button { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 18px; border-radius: 999px; font-size: .9375rem; font-weight: 600; color: var(--txt-light); transition: color 250ms ease; }
.toggle button .i { width: 18px; height: 18px; }
.toggle button[aria-pressed="true"] { color: var(--white); }
.toggle__pill { position: absolute; z-index: 0; top: 5px; bottom: 5px; left: 5px; border-radius: 999px; background: var(--ink-900); transition: transform 450ms var(--ease-in-out), width 450ms var(--ease-in-out); }
.chaos {
  position: relative; height: 470px; border-radius: var(--r-lg); background: var(--white);
  container-type: size; overflow: hidden; box-shadow: 0 0 0 1px var(--slate-200);
}
.chaos__lane { position: absolute; left: 32px; top: 36px; bottom: 36px; width: 2px; border-radius: 2px; background: var(--slate-200); transform-origin: 50% 0; transform: scaleY(0); transition: transform 600ms var(--ease-in-out); }
.chaos__lane::after { content: ""; position: absolute; inset: 0; background: var(--cyan); transform-origin: 50% 0; transform: scaleY(0); transition: transform 900ms var(--ease-out) 300ms; }
.chaos[data-state="order"] .chaos__lane, .chaos[data-state="order"] .chaos__lane::after { transform: scaleY(1); }
@media (max-width: 599px) { .chaos { height: 600px; } }
.ccard {
  position: absolute; left: 0; top: 0; display: flex; align-items: center; gap: 12px; width: min(330px, 78cqw);
  padding: 12px 16px 12px 12px; border-radius: 16px; background: var(--paper); box-shadow: 0 0 0 1px var(--slate-200), 0 12px 24px -16px rgba(11,18,35,.25);
  transform: translate(calc(var(--x) * 1cqw), calc(var(--y) * 1cqh)) rotate(var(--r)); transition: transform 700ms var(--ease-in-out), background-color 400ms ease;
  will-change: transform;
}
.chaos[data-state="order"] @media (max-width: 599px) { .chaos { height: 600px; } }
.ccard { transform: translate(calc(56px), calc(var(--oy) * 1cqh)) rotate(0deg); background: var(--white); transition-delay: calc(var(--n) * 50ms); }
.ccard__ic { position: relative; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; flex: none; background: #fdecec; color: #c2410c; transition: background-color 400ms ease, color 400ms ease; }
.ccard__ic .i { position: absolute; width: 19px; height: 19px; transition: opacity 300ms ease, transform 400ms var(--ease-out); }
.ccard__ic .i:last-child { opacity: 0; transform: scale(.6); }
.chaos[data-state="order"] .ccard__ic { background: var(--lime-100); color: var(--lime-700); }
.chaos[data-state="order"] .ccard__ic .i:first-child { opacity: 0; transform: scale(.6); }
.chaos[data-state="order"] .ccard__ic .i:last-child { opacity: 1; transform: none; }
.ccard__txt { position: relative; display: grid; font-size: .875rem; font-weight: 500; line-height: 1.35; color: var(--ink-900); }
.ccard__txt span { grid-area: 1 / 1; transition: opacity 350ms ease, filter 350ms ease; }
.ccard__txt span:last-child { opacity: 0; filter: blur(4px); }
.chaos[data-state="order"] .ccard__txt span:first-child { opacity: 0; filter: blur(4px); }
.chaos[data-state="order"] .ccard__txt span:last-child { opacity: 1; filter: none; }
.ccard__tag { display: block; font-size: .6875rem; color: var(--txt-light); font-weight: 500; margin-top: 2px; }

/* ---------- Bento de beneficios ---------- */
.bento { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .bento { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .bento { grid-template-columns: repeat(6, 1fr); } .bento > :nth-child(1), .bento > :nth-child(2) { grid-column: span 3; } .bento > :nth-child(n+3) { grid-column: span 2; } }
.tile {
  --c: var(--cyan);
  position: relative; display: grid; align-content: start; gap: 12px; min-height: 300px; padding: 28px; border-radius: var(--r-lg);
  background: var(--white); overflow: hidden; transition: transform 300ms var(--ease-out), box-shadow 300ms ease;
}
@media (hover: hover) and (pointer: fine) { .tile:hover { transform: translateY(-4px); box-shadow: 0 24px 48px -28px rgba(11,18,35,.35); } }
.tile--dark { background: var(--ink-900); color: var(--white); }
.tile--dark p { color: var(--txt-dark); }
.tile__ic { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: color-mix(in srgb, var(--c) 18%, white); color: color-mix(in srgb, var(--c) 55%, var(--ink-900)); }
.tile--dark .tile__ic { background: color-mix(in srgb, var(--c) 16%, var(--ink-800)); color: var(--c); }
.tile__ic .i { width: 26px; height: 26px; }
.tile p { font-size: .9375rem; max-width: 44ch; }
.tile__viz { margin-top: auto; padding-top: 12px; }
.light .tile { box-shadow: 0 0 0 1px var(--slate-200); }
.white .tile:not(.tile--dark) { background: var(--paper); }
.cyan .tile:not(.tile--dark), .lime .tile:not(.tile--dark) { background: var(--white); box-shadow: none; }
.cyan .feat, .cyan .pro, .cyan .atab, .cyan .apanel, .cyan .stab, .cyan .sector, .lime .quiz__card { box-shadow: none; }
.cyan .tile__ic, .cyan .feat__ic { background: var(--ink-900); color: var(--c); }
.lime .quiz__aside li span { box-shadow: none; color: var(--ink-900); }
.white .viz-toggles div, .white .viz-nodes span { background: var(--white); }

/* mini visuales dentro de los tiles */
.viz-chat { display: grid; gap: 6px; }
.viz-chat span { justify-self: start; height: 30px; padding: 0 12px; display: inline-flex; align-items: center; border-radius: 12px; font-size: .75rem; background: var(--ink-700); color: var(--slate-200); opacity: 0; transform: translateY(6px); }
.viz-chat span:nth-child(even) { justify-self: end; background: color-mix(in srgb, var(--cyan) 22%, var(--ink-800)); color: var(--white); }
.is-in .viz-chat span { animation: vizChat 6s var(--ease-out) infinite; }
.is-in .viz-chat span:nth-child(2) { animation-delay: .6s; }
.is-in .viz-chat span:nth-child(3) { animation-delay: 1.2s; }
@keyframes vizChat { 0% { opacity: 0; transform: translateY(6px); } 8%, 85% { opacity: 1; transform: none; } 100% { opacity: 0; transform: none; } }
.viz-line { display: flex; align-items: center; gap: 0; }
.viz-line b { position: relative; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--slate-100); color: var(--txt-light); font-size: .6875rem; flex: none; }
.viz-line b .i { width: 14px; height: 14px; }
.viz-line i { flex: 1; height: 2px; background: var(--slate-200); position: relative; overflow: hidden; }
.viz-line i::after { content: ""; position: absolute; inset: 0; background: var(--cyan); transform: scaleX(0); transform-origin: 0 50%; }
.is-in .viz-line i::after { animation: lineFill 5s var(--ease-in-out) infinite; }
.is-in .viz-line i:nth-of-type(2)::after { animation-delay: .7s; }
.is-in .viz-line i:nth-of-type(3)::after { animation-delay: 1.4s; }
@keyframes lineFill { 0% { transform: scaleX(0); } 25%, 90% { transform: scaleX(1); } 100% { transform: scaleX(1); opacity: 0; } }
.viz-line b.on { background: var(--lime); color: var(--ink-900); }
.viz-toggles { display: grid; gap: 8px; }
.viz-toggles div { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: .8125rem; font-weight: 500; padding: 8px 10px 8px 12px; border-radius: 12px; background: var(--paper); }
.viz-toggles s { position: relative; width: 34px; height: 20px; border-radius: 999px; background: var(--slate-200); text-decoration: none; flex: none; transition: background-color 300ms ease; }
.viz-toggles s::after { content: ""; position: absolute; left: 3px; top: 3px; width: 14px; height: 14px; border-radius: 50%; background: var(--white); transition: transform 300ms var(--ease-out); box-shadow: 0 1px 2px rgba(0,0,0,.2); }
.is-in .viz-toggles s { animation: tgBg 4s ease infinite; }
.is-in .viz-toggles s::after { animation: tgDot 4s var(--ease-out) infinite; }
.is-in .viz-toggles div:nth-child(2) s, .is-in .viz-toggles div:nth-child(2) s::after { animation-delay: .5s; }
@keyframes tgBg { 0%, 15% { background: var(--slate-200); } 25%, 100% { background: var(--lime-700); } }
@keyframes tgDot { 0%, 15% { transform: none; } 25%, 100% { transform: translateX(14px); } }
.viz-nodes { position: relative; height: 92px; }
.viz-nodes span { position: absolute; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 13px; background: var(--paper); color: var(--ink-900); box-shadow: 0 0 0 1px var(--slate-200); }
.viz-nodes span .i { width: 18px; height: 18px; }
.viz-nodes svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.viz-nodes path { fill: none; stroke: var(--cyan); stroke-width: 2; stroke-dasharray: 6 6; }
.is-in .viz-nodes path { animation: dash 1.2s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -12; } }
.viz-bars { display: flex; align-items: flex-end; gap: 8px; height: 84px; }
.viz-bars i { flex: 1; border-radius: 8px 8px 4px 4px; background: color-mix(in srgb, var(--lime) 40%, white); height: var(--h); transform-origin: 50% 100%; transform: scaleY(.15); transition: transform 900ms var(--ease-out); }
.viz-bars i:last-child { background: var(--lime-700); }
.is-in .viz-bars i { transform: none; }
.is-in .viz-bars i:nth-child(2) { transition-delay: 80ms; } .is-in .viz-bars i:nth-child(3) { transition-delay: 160ms; } .is-in .viz-bars i:nth-child(4) { transition-delay: 240ms; } .is-in .viz-bars i:nth-child(5) { transition-delay: 320ms; } .is-in .viz-bars i:nth-child(6) { transition-delay: 400ms; }

/* ---------- Tarjetas de producto (oscuro) ---------- */
.offers { display: grid; gap: 14px; }
@media (min-width: 960px) { .offers { grid-template-columns: 1.25fr 1fr 1fr; } }
.offer {
  --mx: 50%; --my: 0%;
  position: relative; display: flex; flex-direction: column; gap: 16px; min-height: 440px; padding: 32px; border-radius: var(--r-lg);
  background: var(--ink-850); color: var(--white); isolation: isolate; overflow: hidden;
  transition: transform 300ms var(--ease-out);
}
.offer::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: radial-gradient(420px circle at var(--mx) var(--my), rgba(41,197,232,.13), transparent 60%); opacity: 0; transition: opacity 300ms ease; }
.offer::after { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255,255,255,.07); }
@media (hover: hover) and (pointer: fine) { .offer:hover { transform: translateY(-4px); } .offer:hover::before { opacity: 1; } }
.offer--main { background: var(--ink-800); }
.offer__tag { display: inline-flex; align-self: flex-start; align-items: center; gap: 6px; height: 28px; padding: 0 12px; border-radius: 999px; background: var(--ink-700); color: var(--slate-300); font-size: .75rem; font-weight: 600; }
.offer__tag .i { width: 14px; height: 14px; color: var(--lime); }
.offer p { color: var(--txt-dark); }
.offer__list { display: grid; gap: 10px; margin-top: 4px; }
.offer__list li { display: flex; gap: 10px; align-items: flex-start; font-size: .9375rem; color: var(--slate-300); line-height: 1.45; }
.offer__list .i { width: 18px; height: 18px; margin-top: 2px; color: var(--cyan); }
.offer .link { margin-top: auto; padding-top: 12px; }
.offer__ics { display: flex; gap: 8px; flex-wrap: wrap; }
.offer__ics span { --c: var(--cyan); display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: color-mix(in srgb, var(--c) 15%, var(--ink-800)); color: var(--c); transition: transform 300ms var(--ease-out); }
.offer__ics span .i { width: 22px; height: 22px; }
@media (hover: hover) and (pointer: fine) {
  .offer:hover .offer__ics span { transform: translateY(-3px); }
  .offer:hover .offer__ics span:nth-child(2) { transition-delay: 30ms; } .offer:hover .offer__ics span:nth-child(3) { transition-delay: 60ms; } .offer:hover .offer__ics span:nth-child(4) { transition-delay: 90ms; } .offer:hover .offer__ics span:nth-child(5) { transition-delay: 120ms; }
}
.offer__big { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 20px; background: color-mix(in srgb, var(--lime) 16%, var(--ink-800)); color: var(--lime); }
.offer__big .i { width: 30px; height: 30px; }

/* ---------- Flujo: empresa conectada ---------- */
.flow { display: grid; gap: 24px; }
@media (min-width: 1024px) { .flow { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 40px; align-items: start; } }
.flow__steps { display: grid; gap: 6px; counter-reset: step; }
.fstep {
  --c: var(--cyan);
  position: relative; display: grid; grid-template-columns: 44px 1fr; gap: 4px 14px; width: 100%; text-align: left; padding: 14px 16px 14px 14px; border-radius: 18px;
  transition: background-color 250ms ease;
}
.fstep__ic { grid-row: span 2; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--ink-800); color: var(--slate-400); transition: background-color 250ms ease, color 250ms ease; }
.fstep__ic .i { width: 20px; height: 20px; }
.fstep__t { font-weight: 600; color: var(--slate-300); line-height: 1.3; padding-top: 2px; transition: color 250ms ease; }
.fstep__d { font-size: .875rem; color: var(--txt-dark); line-height: 1.5; display: grid; grid-template-rows: 0fr; transition: grid-template-rows 350ms var(--ease-out); }
.fstep__d > span { overflow: hidden; }
.fstep[aria-current="step"] { background: var(--ink-800); }
.fstep[aria-current="step"] .fstep__ic { background: color-mix(in srgb, var(--c) 20%, var(--ink-700)); color: var(--c); }
.fstep[aria-current="step"] .fstep__t { color: var(--white); }
.fstep[aria-current="step"] .fstep__d { grid-template-rows: 1fr; }
.fstep.is-done .fstep__ic { color: var(--c); }
@media (hover: hover) and (pointer: fine) { .fstep:not([aria-current="step"]):hover { background: var(--ink-850); } }
.flow__stage { position: relative; display: grid; gap: 14px; padding: 20px; border-radius: var(--r-lg); background: var(--ink-850); box-shadow: inset 0 0 0 1px rgba(255,255,255,.06); }
@media (min-width: 1024px) { .flow__stage { position: sticky; top: calc(var(--hdr-h) + 24px); padding: 28px; } }
.flow__map { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; position: relative; }
.flow__node { --c: var(--cyan); display: grid; justify-items: center; gap: 6px; text-align: center; font-size: .6875rem; font-weight: 600; color: #7685a3; transition: color 300ms ease; }
.flow__node span { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 15px; background: var(--ink-800); color: var(--ink-500); transition: background-color 300ms ease, color 300ms ease, transform 300ms var(--ease-out); }
.flow__node span .i { width: 22px; height: 22px; }
.flow__node.is-on { color: var(--slate-300); }
.flow__node.is-on span { background: color-mix(in srgb, var(--c) 18%, var(--ink-800)); color: var(--c); }
.flow__node.is-now span { transform: translateY(-4px); box-shadow: 0 0 0 2px var(--c); }
.flow__rail { position: absolute; left: 10%; right: 10%; top: 24px; height: 2px; background: var(--ink-700); z-index: -1; }
.flow__rail i { position: absolute; inset: 0; background: var(--cyan); transform-origin: 0 50%; transform: scaleX(var(--f, 0)); transition: transform 600ms var(--ease-in-out); }
.flow__map { isolation: isolate; }
.record { border-radius: 20px; background: var(--white); color: var(--ink-900); overflow: hidden; }
.record__top { display: flex; align-items: center; gap: 12px; padding: 16px 18px; background: var(--paper); }
.record__av { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--ink-900); color: var(--lime); font-weight: 700; font-size: .875rem; flex: none; }
.record__top strong { display: block; font-size: .9375rem; line-height: 1.2; }
.record__top small { color: var(--txt-light); font-size: .75rem; }
.record__badge { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 999px; background: var(--cyan-100); color: var(--cyan-700); font-size: .6875rem; font-weight: 700; white-space: nowrap; transition: background-color 300ms ease, color 300ms ease; }
.record__badge.is-done { background: var(--lime-100); color: var(--lime-700); }
.record__rows { display: grid; padding: 6px 18px 14px; }
.rrow { display: grid; grid-template-columns: 30px 1fr auto; gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--slate-100); font-size: .8125rem; opacity: .4; transition: opacity 400ms ease; }
.rrow:last-child { border-bottom: 0; }
.rrow.is-on { opacity: 1; }
.rrow.is-new { animation: rowIn 500ms var(--ease-out); }
@keyframes rowIn { from { transform: translateX(-8px); } }
.rrow__ic { --c: var(--cyan); display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: color-mix(in srgb, var(--c) 20%, white); color: color-mix(in srgb, var(--c) 50%, var(--ink-900)); }
.rrow__ic .i { width: 15px; height: 15px; }
.rrow b { display: block; font-weight: 600; line-height: 1.25; }
.rrow small { color: var(--txt-light); font-size: .75rem; }
.rrow__st { font-size: .6875rem; font-weight: 600; color: var(--txt-light); white-space: nowrap; }
.flow__ctrl { display: flex; align-items: center; gap: 8px; }
.flow__ctrl button { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 999px; background: var(--ink-800); color: var(--white); transition: background-color 150ms ease, transform 160ms var(--ease-out); }
.flow__ctrl button:active { transform: scale(.94); }
.flow__ctrl button .i { width: 18px; height: 18px; }
@media (hover: hover) and (pointer: fine) { .flow__ctrl button:hover { background: var(--ink-700); } }
.flow__ctrl span { margin-left: auto; font-size: .8125rem; color: var(--slate-400); }

/* ---------- Quiz: encuentra tu solución ---------- */
.quiz { display: grid; gap: 32px; }
@media (min-width: 1024px) { .quiz { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 56px; align-items: start; } }
.quiz__card { position: relative; border-radius: var(--r-lg); background: var(--white); padding: clamp(22px, 4vw, 40px); box-shadow: 0 0 0 1px var(--slate-200), 0 40px 80px -50px rgba(11,18,35,.4); min-height: 470px; display: grid; align-content: start; }
.quiz__progress { display: flex; align-items: center; gap: 14px; margin-bottom: 28px; }
.qbars { display: grid; gap: 4px; width: 46px; }
.qbars i { height: 7px; border-radius: 4px; justify-self: end; background: var(--slate-200); transform: skewY(-9deg); transition: background-color 400ms ease; }
.qbars i:nth-child(1) { width: 58%; } .qbars i:nth-child(2) { width: 80%; } .qbars i:nth-child(3) { width: 100%; }
.qbars[data-step="1"] i:nth-child(3), .qbars[data-step="2"] i:nth-child(3), .qbars[data-step="2"] i:nth-child(2), .qbars[data-step="3"] i:nth-child(n+2) { background: var(--cyan); }
.qbars[data-step="3"] i:nth-child(1) { background: var(--lime); }
.qbars[data-step="1"] i:nth-child(3) { background: var(--cyan); }
.quiz__count { font-size: .875rem; font-weight: 600; color: var(--txt-light); }
.quiz__back { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; border-radius: 999px; font-size: .875rem; font-weight: 600; color: var(--txt-light); background: var(--paper); transition: background-color 150ms ease; }
.quiz__back .i { width: 16px; height: 16px; }
.quiz__back[hidden] { display: none; }
@media (hover: hover) and (pointer: fine) { .quiz__back:hover { background: var(--slate-100); } }
.quiz__q { animation: qIn 350ms var(--ease-out) both; }
@keyframes qIn { from { opacity: 0; transform: translateX(16px); } }
.quiz__q.is-back { animation-name: qInBack; }
@keyframes qInBack { from { opacity: 0; transform: translateX(-16px); } }
.quiz__q h3 { margin-bottom: 20px; }
.qopts { display: grid; gap: 10px; }
@media (min-width: 600px) { .qopts { grid-template-columns: 1fr 1fr; } }
.qopt {
  --c: var(--cyan);
  display: flex; align-items: center; gap: 14px; width: 100%; min-height: 68px; padding: 12px 16px 12px 12px; text-align: left; border-radius: 18px;
  background: var(--paper); box-shadow: inset 0 0 0 1.5px transparent; font-weight: 500; line-height: 1.35; font-size: .9375rem;
  transition: background-color 150ms ease, box-shadow 150ms ease, transform 160ms var(--ease-out);
}
.qopt:active { transform: scale(.98); }
.qopt__ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; flex: none; background: color-mix(in srgb, var(--c) 22%, white); color: color-mix(in srgb, var(--c) 50%, var(--ink-900)); }
.qopt__ic .i { width: 22px; height: 22px; }
.qopt small { display: block; color: var(--txt-light); font-size: .8125rem; font-weight: 400; }
.qopt.is-picked { box-shadow: inset 0 0 0 1.5px var(--ink-900); background: var(--white); }
@media (hover: hover) and (pointer: fine) { .qopt:hover { background: var(--white); box-shadow: inset 0 0 0 1.5px var(--slate-300); } }
.qres { animation: qIn 450ms var(--ease-out) both; display: grid; gap: 18px; }
.qres__top { display: flex; align-items: center; gap: 16px; }
.qres__ic { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 20px; background: var(--ink-900); color: var(--lime); flex: none; }
.qres__ic .i { width: 30px; height: 30px; }
.qres__k { font-size: .875rem; font-weight: 600; color: var(--cyan-700); }
.qres__why { padding: 16px 18px; border-radius: 18px; background: var(--paper); font-size: .9375rem; color: var(--txt-light); }
.qres__why strong { color: var(--ink-900); }
.qres__list { display: grid; gap: 8px; }
.qres__list li { display: flex; gap: 10px; align-items: flex-start; font-size: .9375rem; color: var(--ink-900); }
.qres__list .i { width: 18px; height: 18px; margin-top: 3px; color: var(--lime-700); }
.qres__share { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; padding-top: 6px; font-size: .875rem; color: var(--txt-light); }
.qres__share a, .qres__share button { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 999px; background: var(--paper); color: var(--ink-900); transition: background-color 150ms ease, transform 160ms var(--ease-out); }
.qres__share .i { width: 17px; height: 17px; }
.qres__share a:active, .qres__share button:active { transform: scale(.94); }
@media (hover: hover) and (pointer: fine) { .qres__share a:hover, .qres__share button:hover { background: var(--cyan-100); } }
.qres__again { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: .875rem; color: var(--txt-light); margin-left: auto; }
.qres__again .i { width: 16px; height: 16px; }
.quiz__aside { display: grid; gap: 20px; align-content: start; }
.quiz__aside ul { display: grid; gap: 12px; margin-top: 8px; }
.quiz__aside li { display: flex; gap: 12px; align-items: center; font-weight: 500; }
.quiz__aside li span { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 13px; background: var(--white); box-shadow: 0 0 0 1px var(--slate-200); color: var(--cyan-700); flex: none; }
.quiz__aside li .i { width: 20px; height: 20px; }

/* ---------- Sectores ---------- */
.sectors { display: grid; gap: 14px; }
@media (min-width: 700px) { .sectors { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .sectors { grid-template-columns: repeat(4, 1fr); } .sector { min-height: 300px; } }
.sector { position: relative; display: grid; align-content: start; gap: 14px; padding: 28px; border-radius: var(--r-lg); background: var(--white); box-shadow: 0 0 0 1px var(--slate-200); transition: transform 300ms var(--ease-out), box-shadow 300ms ease; }
.sector__ic { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 18px; background: var(--ink-900); color: var(--cyan); transition: transform 400ms var(--ease-out), background-color 300ms ease, color 300ms ease; }
.sector__ic .i { width: 26px; height: 26px; }
.sector p { font-size: .9375rem; }
.sector .link { margin-top: auto; }
@media (hover: hover) and (pointer: fine) {
  .sector:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px var(--slate-200), 0 24px 48px -28px rgba(11,18,35,.35); }
  .sector:hover .sector__ic { transform: rotate(-6deg) scale(1.05); background: var(--lime); color: var(--ink-900); }
}

/* ---------- Escalera: cómo empezamos ---------- */
.stairs { display: grid; gap: 14px; counter-reset: s; }
@media (min-width: 900px) { .stairs { grid-template-columns: repeat(4, 1fr); align-items: end; } .stair:nth-child(1) { margin-top: 84px; } .stair:nth-child(2) { margin-top: 56px; } .stair:nth-child(3) { margin-top: 28px; } }
.stair { position: relative; display: grid; gap: 12px; padding: 26px; border-radius: var(--r-lg); background: var(--ink-850); color: var(--white); }
.stair:last-child { background: var(--lime); color: var(--ink-900); }
.stair:last-child p { color: var(--ink-800); }
.stair:last-child .stair__ic { background: var(--ink-900); color: var(--lime); }
.stair__ic { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 16px; background: var(--ink-700); color: var(--cyan); }
.stair__ic .i { width: 24px; height: 24px; }
.stair p { font-size: .9375rem; color: var(--txt-dark); }
.light .stair { background: var(--white); color: var(--ink-900); box-shadow: 0 0 0 1px var(--slate-200); }
.light .stair p { color: var(--txt-light); }
.light .stair .stair__ic { background: var(--ink-900); }
.light .stair:last-child { background: var(--cyan); box-shadow: none; }
.light .stair:last-child p { color: var(--ink-800); }
.light .stair:last-child .stair__ic { color: var(--cyan); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; }
.faq--center { max-width: 860px; margin-inline: auto; }
.faq-foot { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px 20px; margin-top: 32px; text-align: center; }
.faq details { border-radius: 22px; background: var(--white); box-shadow: 0 0 0 1px var(--slate-200); transition: box-shadow 200ms ease; }
.faq details[open] { box-shadow: 0 0 0 1.5px var(--ink-900); }
.faq summary { display: flex; align-items: center; gap: 16px; min-height: 72px; padding: 16px 20px 16px 22px; cursor: pointer; list-style: none; font-weight: 600; font-size: 1.0625rem; letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary > .i:first-child { width: 22px; height: 22px; color: var(--cyan-700); }
.faq__pm { position: relative; margin-left: auto; width: 32px; height: 32px; border-radius: 999px; background: var(--paper); flex: none; transition: background-color 200ms ease, transform 300ms var(--ease-out); }
.faq__pm::before, .faq__pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; border-radius: 2px; background: var(--ink-900); transition: transform 300ms var(--ease-out); }
.faq__pm::after { transform: rotate(90deg); }
.faq details[open] .faq__pm { background: var(--lime); transform: rotate(180deg); }
.faq details[open] .faq__pm::after { transform: rotate(0deg); }
.faq__a { padding: 0 22px 22px 60px; animation: faqIn 300ms var(--ease-out); }
@keyframes faqIn { from { opacity: 0; transform: translateY(-6px); } }
.dark .faq details { background: var(--ink-850); box-shadow: none; }
.dark .faq details[open] { box-shadow: 0 0 0 1.5px var(--cyan); }
.dark .faq__pm { background: var(--ink-700); }
.dark .faq__pm::before, .dark .faq__pm::after { background: var(--white); }
.dark .faq details[open] .faq__pm::before, .dark .faq details[open] .faq__pm::after { background: var(--ink-900); }
.dark .faq summary > .i:first-child { color: var(--cyan); }

/* ---------- CTA final ---------- */
.cta { position: relative; overflow: hidden; border-radius: var(--r-xl); background: var(--cyan); color: var(--ink-900); padding: clamp(40px, 7vw, 96px) clamp(24px, 6vw, 80px); isolation: isolate; }
.cta .motif { width: 760px; right: -200px; bottom: -150px; color: rgba(255,255,255,.4); z-index: -1; }
@media (max-width: 767px) { .cta .motif { width: 520px; right: -260px; bottom: -200px; } .ftr { padding-bottom: calc(96px + env(safe-area-inset-bottom)); } }
.cta__in { display: grid; gap: 22px; max-width: 680px; }
.cta p { color: var(--ink-800); font-size: 1.125rem; }
.cta .label--dark { color: var(--ink-900); background: rgba(255,255,255,.6); }
.cta .label .bars { color: var(--ink-900); }
.cta .btn--lime { --bg: var(--ink-900); --fg: var(--white); }
.cta .btn--lime .i { color: var(--lime); }
.cta .btn--ghost { --fg: var(--ink-900); box-shadow: inset 0 0 0 1.5px rgba(11,18,35,.3); }
.cta__note { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 4px; font-size: .875rem; font-weight: 600; color: var(--ink-800); }
.cta__note span { display: inline-flex; align-items: center; gap: 8px; }
.cta__note .i { width: 16px; height: 16px; color: var(--ink-900); }

/* ---------- Footer ---------- */
.ftr { position: relative; z-index: 10; background: var(--ink-950); color: var(--white); padding: calc(clamp(64px, 8vw, 96px) + 40px) 0 calc(28px + env(safe-area-inset-bottom)); --sl: clamp(32px, 5.5vw, 96px); clip-path: polygon(0 var(--sl), 100% 0, 100% 100%, 0 100%); margin-top: calc(var(--sl) * -1); }
.ftr__top { display: grid; gap: 48px; }
@media (min-width: 1024px) { .ftr__top { grid-template-columns: minmax(0, .9fr) minmax(0, 1.4fr); gap: 64px; } }
.ftr__brand { display: grid; gap: 16px; align-content: start; }
.ftr__brand img { width: 190px; }
.ftr__claim { font-family: var(--font-d); font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem); font-weight: 600; line-height: 1.15; letter-spacing: -0.03em; color: var(--white); max-width: 18ch; margin-top: 8px; }
.ftr__desc { color: var(--txt-dark); font-size: .9375rem; max-width: 44ch; }
.ftr__social { display: flex; gap: 8px; margin-top: 4px; }
.ftr__cols { display: grid; gap: 32px; grid-template-columns: 1fr 1fr; }
@media (min-width: 768px) { .ftr__cols { grid-template-columns: repeat(4, 1fr); } }
.ftr__h { font-size: .8125rem; font-weight: 600; color: var(--slate-400); margin-bottom: 14px; }
.ftr__cols ul { display: grid; gap: 4px; }
.ftr__cols a, .ftr__muted { display: inline-flex; align-items: center; gap: 8px; padding: 6px 0; color: var(--slate-300); font-size: .9375rem; transition: color 150ms ease; }
.ftr__cols .i { width: 16px; height: 16px; color: var(--cyan); }
.ftr__muted { color: var(--slate-400); }
@media (hover: hover) and (pointer: fine) { .ftr__cols a:hover { color: var(--white); } }
.ftr__bottom { display: flex; flex-wrap: wrap; gap: 10px 28px; justify-content: space-between; margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.08); font-size: .8125rem; color: var(--slate-400); }
.ftr__bottom p { color: var(--slate-400); }
.ftr__bottom a { color: var(--slate-300); text-decoration: underline; text-decoration-color: rgba(255,255,255,.25); text-underline-offset: 3px; }
.ftr__legal { display: flex; gap: 18px; }

/* ---------- WhatsApp flotante ---------- */
.wa-float {
  position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 90; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 999px;
  background: #25d366; color: var(--white); box-shadow: 0 14px 30px -10px rgba(0,0,0,.45);
  transform: translateY(90px); opacity: 0; transition: transform 400ms var(--ease-out), opacity 300ms ease;
}
.wa-float.is-in { transform: none; opacity: 1; }
.wa-float .i { width: 28px; height: 28px; }
.wa-float:active { transform: scale(.94); }
.wa-float__tip { position: absolute; right: 70px; white-space: nowrap; padding: 8px 14px; border-radius: 999px; background: var(--white); color: var(--ink-900); font-size: .875rem; font-weight: 600; box-shadow: 0 10px 30px -10px rgba(0,0,0,.35); opacity: 0; transform: translateX(8px); transition: opacity 200ms ease, transform 250ms var(--ease-out); pointer-events: none; }
.wa-float.show-tip .wa-float__tip { opacity: 1; transform: none; }
@media (hover: hover) and (pointer: fine) { .wa-float:hover .wa-float__tip { opacity: 1; transform: none; } }
@media (min-width: 768px) { .wa-float { right: 24px; bottom: 24px; } }

/* ---------- Paleta de comandos ---------- */
.cmdk { width: min(620px, calc(100vw - 32px)); margin: 12vh auto auto; padding: 0; border: 0; border-radius: 24px; background: var(--ink-800); color: var(--white); box-shadow: 0 40px 120px -20px rgba(0,0,0,.7), 0 0 0 1px rgba(255,255,255,.08); }
.cmdk::backdrop { background: rgba(6,11,23,.6); }
.cmdk__search { display: flex; align-items: center; gap: 12px; padding: 0 16px; height: 60px; border-bottom: 1px solid rgba(255,255,255,.07); }
.cmdk__search .i { width: 20px; height: 20px; color: var(--slate-400); }
.cmdk__search input { flex: 1; min-width: 0; height: 100%; border: 0; background: none; outline: none; font-size: 1rem; }
.cmdk__search input::placeholder { color: #7685a3; }
.cmdk__list { max-height: min(420px, 55vh); overflow-y: auto; padding: 8px; }
.cmdk__group { padding: 10px 10px 6px; font-size: .75rem; font-weight: 600; color: var(--slate-400); }
.cmdk__item { display: flex; align-items: center; gap: 12px; padding: 10px 10px; border-radius: 12px; cursor: pointer; color: var(--slate-300); }
.cmdk__item .ci { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--ink-700); color: var(--cyan); flex: none; }
.cmdk__item .ci .i { width: 17px; height: 17px; }
.cmdk__item small { display: block; font-size: .75rem; color: var(--slate-400); }
.cmdk__item strong { font-weight: 500; color: var(--white); }
.cmdk__item[aria-selected="true"] { background: var(--ink-700); }
.cmdk__item[aria-selected="true"] .ci { background: var(--cyan); color: var(--ink-900); }
.cmdk__empty { padding: 28px 12px; text-align: center; color: var(--slate-400); font-size: .9375rem; }
.cmdk__foot { display: flex; gap: 18px; padding: 10px 16px; border-top: 1px solid rgba(255,255,255,.07); font-size: .75rem; color: var(--slate-400); }
.cmdk__foot span { display: inline-flex; align-items: center; gap: 6px; }
.cmdk__foot .i { width: 14px; height: 14px; }

/* ---------- Toasts ---------- */
.toasts { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom)); z-index: 150; display: grid; gap: 8px; transform: translateX(-50%); width: max-content; max-width: calc(100vw - 32px); pointer-events: none; }
.toast { display: flex; align-items: center; gap: 10px; padding: 12px 18px 12px 14px; border-radius: 999px; background: var(--ink-900); color: var(--white); font-size: .9375rem; font-weight: 500; box-shadow: 0 16px 40px -12px rgba(0,0,0,.5), 0 0 0 1px rgba(255,255,255,.08); transition: opacity 300ms ease, transform 400ms var(--ease-out); }
.toast .i { width: 18px; height: 18px; color: var(--lime); }
@starting-style { .toast { opacity: 0; transform: translateY(16px); } }
.toast.is-out { opacity: 0; transform: translateY(8px); transition-duration: 200ms; }

/* ---------- Páginas internas ---------- */
.phero { position: relative; overflow: clip; padding-block: clamp(48px, 7vw, 104px) clamp(130px, 13vw, 190px); background: var(--paper); color: var(--ink-900); }
.hero .label--dark, .phero .label--dark { color: var(--cyan-700); background: var(--cyan-100); }
.phero .motif { width: 820px; right: -300px; bottom: -150px; }
@media (max-width: 767px) { .phero .motif { width: 560px; right: -260px; bottom: -150px; } }
.phero__grid { position: relative; z-index: 1; display: grid; gap: 40px; align-items: center; }
@media (min-width: 1024px) { .phero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; } .phero__grid--wide { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); } }
.phero__copy { display: grid; gap: 22px; align-content: start; }
.phero__copy .lead { color: var(--txt-light); max-width: 600px; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: .8125rem; font-weight: 600; color: var(--txt-light); }
.crumbs a { color: var(--ink-600); transition: color 150ms ease; }
.crumbs .i { width: 14px; height: 14px; }
@media (hover: hover) and (pointer: fine) { .crumbs a:hover { color: var(--cyan-700); } }

.photo { position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--ink-800); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo--tall { aspect-ratio: 4 / 5; }
.photo--wide { aspect-ratio: 4 / 3; }
.photo__cap { position: absolute; left: 14px; right: 14px; bottom: 14px; display: flex; align-items: center; gap: 10px; padding: 10px 14px 10px 10px; border-radius: 16px; background: rgba(11,18,35,.82); color: var(--white); font-size: .8125rem; font-weight: 500; line-height: 1.35; }
.photo__cap span { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 11px; background: var(--lime); color: var(--ink-900); flex: none; }
.photo__cap .i { width: 18px; height: 18px; }
.js .photo img { transform: scale(1.06); transition: transform 1400ms var(--ease-out); }
.js .photo.is-in img { transform: scale(1); }

/* Explorador de áreas */
.areas { display: grid; gap: 20px; }
@media (min-width: 1024px) { .areas { grid-template-columns: 320px minmax(0, 1fr); gap: 28px; align-items: start; } }
.areas__tabs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--gut) * -1); padding-inline: var(--gut); scroll-snap-type: x mandatory; }
.areas__tabs::-webkit-scrollbar { display: none; }
@media (min-width: 1024px) { .areas__tabs { display: grid; overflow: visible; margin: 0; padding: 0; } }
.atab { --c: var(--cyan); display: flex; align-items: center; gap: 12px; flex: none; scroll-snap-align: start; min-height: 60px; padding: 10px 18px 10px 10px; border-radius: 18px; background: var(--white); box-shadow: 0 0 0 1px var(--slate-200); font-weight: 600; text-align: left; transition: background-color 200ms ease, box-shadow 200ms ease, color 200ms ease, transform 160ms var(--ease-out); }
.atab:active { transform: scale(.98); }
.atab__ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 13px; background: color-mix(in srgb, var(--c) 22%, white); color: color-mix(in srgb, var(--c) 50%, var(--ink-900)); flex: none; transition: background-color 200ms ease, color 200ms ease; }
.atab__ic .i { width: 20px; height: 20px; }
.atab small { display: block; font-weight: 400; color: var(--txt-light); font-size: .8125rem; }
.atab[aria-selected="true"] { background: var(--ink-900); color: var(--white); box-shadow: none; }
.atab[aria-selected="true"] small { color: var(--slate-400); }
.atab[aria-selected="true"] .atab__ic { background: color-mix(in srgb, var(--c) 18%, var(--ink-800)); color: var(--c); }
.apanel { --c: var(--cyan); display: grid; gap: 24px; padding: clamp(24px, 4vw, 40px); border-radius: var(--r-lg); background: var(--white); box-shadow: 0 0 0 1px var(--slate-200); }
@media (min-width: 900px) { .apanel { grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); align-items: start; } }
.apanel__copy { display: grid; gap: 14px; align-content: start; animation: qIn 350ms var(--ease-out) both; }
.apanel__k { display: inline-flex; align-items: center; gap: 8px; font-size: .875rem; font-weight: 600; color: color-mix(in srgb, var(--c) 45%, var(--ink-900)); }
.apanel__k .i { width: 18px; height: 18px; }
.apanel__agent { display: flex; gap: 12px; align-items: flex-start; padding: 16px; border-radius: 18px; background: var(--paper); font-size: .9375rem; color: var(--txt-light); }
.apanel__agent > .ag-ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 13px; background: var(--ink-900); color: var(--c); flex: none; }
.apanel__agent .i { width: 20px; height: 20px; }
.apanel__agent strong { display: block; color: var(--ink-900); }
.apanel__tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border-radius: 999px; background: var(--paper); font-size: .8125rem; font-weight: 500; color: var(--ink-900); }
.tag .i { width: 15px; height: 15px; color: var(--cyan-700); }
.dark .tag { background: var(--ink-800); color: var(--slate-300); }
.dark .tag .i { color: var(--cyan); }
.apanel__ui { animation: qIn 450ms var(--ease-out) 60ms both; }

/* Mini panel de interfaz por área */
.mini { border-radius: 20px; background: var(--ink-900); color: var(--white); padding: 16px; font-size: .8125rem; }
.mini__top { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.mini__top span { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: color-mix(in srgb, var(--c) 18%, var(--ink-800)); color: var(--c); }
.mini__top .i { width: 16px; height: 16px; }
.mini__top strong { font-size: .875rem; }
.mini__top small { margin-left: auto; color: var(--slate-400); font-size: .6875rem; }
.mini__rows { display: grid; gap: 6px; }
.mini__row { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: var(--ink-800); }
.mini__row .i { width: 16px; height: 16px; color: var(--c); }
.mini__row em { margin-left: auto; font-style: normal; font-size: .6875rem; font-weight: 600; padding: 3px 8px; border-radius: 999px; background: var(--ink-700); color: var(--slate-300); white-space: nowrap; }
.mini__row em.ok { background: color-mix(in srgb, var(--lime) 18%, var(--ink-800)); color: var(--lime); }
.mini__row em.rev { background: color-mix(in srgb, var(--cyan) 16%, var(--ink-800)); color: var(--cyan); }
.mini__ask { display: flex; align-items: center; gap: 8px; margin-top: 10px; padding: 10px 12px; border-radius: 999px; background: var(--ink-850); color: var(--slate-400); box-shadow: inset 0 0 0 1px var(--ink-700); }
.mini__ask .i { width: 15px; height: 15px; color: var(--lime); }
.mini__note { margin-top: 8px; font-size: .6875rem; color: var(--slate-400); text-align: right; }

/* Bloques de texto con ícono */
.feats { display: grid; gap: 14px; }
@media (min-width: 700px) { .feats { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .feats--3 { grid-template-columns: repeat(3, 1fr); } }
.feat { --c: var(--cyan); display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; align-items: start; padding: 24px; border-radius: var(--r-md); background: var(--white); box-shadow: 0 0 0 1px var(--slate-200); transition: transform 300ms var(--ease-out), box-shadow 300ms ease; }
.feat__ic { grid-row: span 2; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 15px; background: color-mix(in srgb, var(--c) 20%, white); color: color-mix(in srgb, var(--c) 50%, var(--ink-900)); }
.feat__ic .i { width: 24px; height: 24px; }
.feat p { font-size: .9375rem; }
@media (hover: hover) and (pointer: fine) { .feat:hover { transform: translateY(-3px); box-shadow: 0 0 0 1px var(--slate-200), 0 20px 40px -28px rgba(11,18,35,.35); } }
.dark .feat { background: var(--ink-850); box-shadow: none; }
.dark .feat__ic { background: color-mix(in srgb, var(--c) 16%, var(--ink-800)); color: var(--c); }
.white .feat { background: var(--paper); box-shadow: none; }

/* Superpoderes */
.power { position: relative; display: grid; gap: 24px; padding: clamp(28px, 5vw, 56px); border-radius: var(--r-xl); background: var(--lime); color: var(--ink-900); overflow: hidden; isolation: isolate; }
@media (min-width: 900px) { .power { grid-template-columns: auto 1fr; align-items: center; gap: 40px; } }
.power__ic { display: grid; place-items: center; width: 84px; height: 84px; border-radius: 26px; background: var(--ink-900); color: var(--lime); }
.power__ic .i { width: 40px; height: 40px; }
.power p { color: var(--ink-800); font-size: 1.125rem; max-width: 60ch; }
.power .motif { width: 520px; right: -140px; bottom: -120px; color: color-mix(in srgb, var(--ink-900) 8%, var(--lime)); z-index: -1; }
.power .motif .m-top { fill: color-mix(in srgb, var(--ink-900) 8%, var(--lime)); stroke: color-mix(in srgb, var(--ink-900) 8%, var(--lime)); }

.ideal { display: grid; gap: 16px; padding: 28px; border-radius: var(--r-lg); background: var(--ink-900); color: var(--white); }
.ideal__h { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; color: var(--lime); }
.ideal__h .i { width: 20px; height: 20px; }
.ideal p { color: var(--slate-200); font-size: 1.0625rem; }

/* Otros módulos */
.others { display: grid; gap: 10px; }
@media (min-width: 700px) { .others { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .others { grid-template-columns: repeat(4, 1fr); } }
.other { --c: var(--cyan); display: flex; align-items: center; gap: 14px; padding: 16px 18px 16px 14px; border-radius: 20px; background: var(--ink-850); color: var(--white); transition: background-color 200ms ease, transform 160ms var(--ease-out); }
.other:active { transform: scale(.98); }
.other > span:first-child { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: color-mix(in srgb, var(--c) 16%, var(--ink-800)); color: var(--c); flex: none; }
.other > span:first-child .i { width: 22px; height: 22px; }
.other strong { display: block; font-weight: 600; }
.other small { color: var(--slate-400); font-size: .8125rem; }
.other > .i { margin-left: auto; width: 18px; height: 18px; color: var(--slate-400); transition: transform 200ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .other:hover { background: var(--ink-800); } .other:hover > .i { transform: translateX(3px); color: var(--white); } }

/* Tarjetas Pro (listado) */
.pros { display: grid; gap: 14px; }
@media (min-width: 760px) { .pros { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .pros { grid-template-columns: repeat(6, 1fr); } .pros > * { grid-column: span 2; } .pros > :nth-child(4) { grid-column: 2 / span 2; } .pros > :nth-child(5) { grid-column: 4 / span 2; } }
.pro { --c: var(--cyan); position: relative; display: flex; flex-direction: column; gap: 14px; min-height: 340px; padding: 28px; border-radius: var(--r-lg); background: var(--white); box-shadow: 0 0 0 1px var(--slate-200); transition: transform 300ms var(--ease-out), box-shadow 300ms ease; overflow: hidden; }
.pro__top { display: flex; align-items: center; justify-content: space-between; }
.pro__ic { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 18px; background: var(--ink-900); color: var(--c); transition: transform 400ms var(--ease-out); }
.pro__ic .i { width: 26px; height: 26px; }
.pro__badge { height: 28px; padding: 0 12px; display: inline-flex; align-items: center; border-radius: 999px; background: color-mix(in srgb, var(--c) 25%, white); color: var(--ink-900); font-size: .75rem; font-weight: 700; }
.pro p { font-size: .9375rem; }
.pro .link { margin-top: auto; }
@media (hover: hover) and (pointer: fine) { .pro:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px var(--slate-200), 0 28px 56px -32px rgba(11,18,35,.4); } .pro:hover .pro__ic { transform: rotate(-6deg) scale(1.06); } }

/* Comparativa */
.compare { display: grid; gap: 14px; }
@media (min-width: 900px) { .compare { grid-template-columns: repeat(3, 1fr); } }
.cmp { display: grid; gap: 14px; align-content: start; padding: 28px; border-radius: var(--r-lg); background: var(--ink-850); color: var(--white); }
.cmp--on { background: var(--white); color: var(--ink-900); }
.cmp--on p { color: var(--txt-light) !important; }
.cmp__ic { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--ink-700); color: var(--cyan); }
.cmp--on .cmp__ic { background: var(--ink-900); color: var(--lime); }
.cmp__ic .i { width: 24px; height: 24px; }
.cmp .link { margin-top: 6px; }
.cmp--on .link { color: var(--cyan-700); }

/* Constructor de automatización (a medida) */
.builder { display: grid; gap: 20px; }
@media (min-width: 1024px) { .builder { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: start; } }
.builder__pick { display: grid; gap: 22px; }
.builder__group h3 { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; font-size: 1rem; font-weight: 600; }
.builder__group h3 b { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 999px; background: var(--ink-900); color: var(--lime); font-size: .75rem; }
.bopts { display: flex; flex-wrap: wrap; gap: 8px; }
.bopt { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px 0 12px; border-radius: 999px; background: var(--white); box-shadow: inset 0 0 0 1.5px var(--slate-200); font-size: .9375rem; font-weight: 500; transition: background-color 150ms ease, box-shadow 150ms ease, color 150ms ease, transform 160ms var(--ease-out); }
.bopt .i { width: 18px; height: 18px; color: var(--cyan-700); }
.bopt:active { transform: scale(.97); }
.bopt[aria-pressed="true"] { background: var(--ink-900); color: var(--white); box-shadow: none; }
.bopt[aria-pressed="true"] .i { color: var(--lime); }
@media (hover: hover) and (pointer: fine) { .bopt:hover { box-shadow: inset 0 0 0 1.5px var(--slate-400); } .bopt[aria-pressed="true"]:hover { box-shadow: none; } }
.canvas { position: relative; display: grid; gap: 0; padding: 24px; border-radius: var(--r-lg); background: var(--ink-900); color: var(--white); }
@media (min-width: 1024px) { .canvas { position: sticky; top: calc(var(--hdr-h) + 24px); } }
.canvas__h { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; font-size: .875rem; font-weight: 600; color: var(--slate-400); }
.canvas__h .i { width: 16px; height: 16px; color: var(--lime); }
.node { display: flex; align-items: center; gap: 14px; padding: 14px 16px 14px 14px; border-radius: 18px; background: var(--ink-800); transition: background-color 300ms ease; }
.node__ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--ink-700); color: var(--slate-400); flex: none; transition: background-color 300ms ease, color 300ms ease; }
.node__ic .i { width: 22px; height: 22px; }
.node small { display: block; font-size: .75rem; color: var(--slate-400); font-weight: 500; }
.node strong { display: block; font-weight: 600; line-height: 1.3; }
.node.is-set .node__ic { background: color-mix(in srgb, var(--cyan) 18%, var(--ink-800)); color: var(--cyan); }
.node.is-set.node--agent .node__ic { background: color-mix(in srgb, var(--lime) 18%, var(--ink-800)); color: var(--lime); }
.node.is-pop { animation: pop 450ms var(--ease-out); }
@keyframes pop { 0% { transform: scale(.97); } 50% { transform: scale(1.015); } 100% { transform: none; } }
.wire { position: relative; height: 34px; margin-left: 35px; width: 2px; background: var(--ink-700); overflow: hidden; }
.wire::after { content: ""; position: absolute; left: 0; width: 2px; height: 12px; border-radius: 2px; background: var(--cyan); top: -12px; }
.canvas.is-live .wire::after { animation: wire 1.4s linear infinite; }
.canvas.is-live .wire:nth-of-type(2)::after { animation-delay: .35s; }
@keyframes wire { to { top: 34px; } }
.canvas__out { margin-top: 18px; padding: 16px; border-radius: 18px; background: var(--ink-850); font-size: .9375rem; color: var(--slate-300); line-height: 1.55; box-shadow: inset 0 0 0 1px var(--ink-700); }
.canvas__out strong { color: var(--white); }
.canvas .btn { margin-top: 16px; }
.canvas__fine { margin-top: 10px; font-size: .75rem; color: var(--slate-400); }

/* Timeline (fases) */
.phases { display: grid; gap: 12px; }
@media (min-width: 900px) { .phases { grid-template-columns: repeat(4, 1fr); } }
.phase { position: relative; display: grid; gap: 10px; padding: 24px; border-radius: var(--r-md); background: var(--ink-850); }
.phase__ic { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--ink-700); color: var(--lime); }
.phase__ic .i { width: 22px; height: 22px; }
.phase p { font-size: .9375rem; }
@media (min-width: 900px) {
  .phase:not(:last-child)::after { content: ""; position: absolute; right: -12px; top: 46px; width: 12px; height: 2px; background: var(--ink-600); }
}

/* Sectores (página) */
.secx { display: grid; gap: 20px; }
@media (min-width: 1024px) { .secx { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 32px; align-items: stretch; } }
.secx__tabs { display: grid; gap: 8px; }
.stab { display: flex; align-items: center; gap: 14px; width: 100%; padding: 16px 18px 16px 14px; border-radius: 20px; background: var(--white); box-shadow: 0 0 0 1px var(--slate-200); text-align: left; transition: background-color 200ms ease, color 200ms ease, box-shadow 200ms ease, transform 160ms var(--ease-out); }
.stab:active { transform: scale(.98); }
.stab__ic { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 15px; background: var(--paper); color: var(--ink-900); flex: none; transition: background-color 200ms ease, color 200ms ease; }
.stab__ic .i { width: 24px; height: 24px; }
.stab strong { font-weight: 600; font-size: 1.0625rem; line-height: 1.3; }
.stab > .i { margin-left: auto; width: 18px; height: 18px; color: var(--slate-400); transition: transform 200ms var(--ease-out); }
.stab[aria-selected="true"] { background: var(--ink-900); color: var(--white); box-shadow: none; }
.stab[aria-selected="true"] .stab__ic { background: var(--lime); }
.stab[aria-selected="true"] > .i { transform: translateX(3px); color: var(--lime); }
.secx__panel { display: grid; gap: 18px; align-content: start; padding: clamp(24px, 4vw, 44px); border-radius: var(--r-lg); background: var(--ink-900); color: var(--white); }
.secx__panel > * { animation: qIn 350ms var(--ease-out) both; }
.secx__panel > *:nth-child(2) { animation-delay: 40ms; } .secx__panel > *:nth-child(3) { animation-delay: 80ms; } .secx__panel > *:nth-child(4) { animation-delay: 120ms; }
.secx__panel p { color: var(--txt-dark); font-size: 1.0625rem; }
.secx__big { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 22px; background: color-mix(in srgb, var(--lime) 16%, var(--ink-800)); color: var(--lime); }
.secx__big .i { width: 34px; height: 34px; }
.secx__note { display: flex; gap: 10px; padding: 14px 16px; border-radius: 16px; background: var(--ink-800); font-size: .875rem; color: var(--slate-300); }
.secx__note .i { width: 18px; height: 18px; color: var(--cyan); margin-top: 2px; }

/* Nosotros */
.values { display: grid; gap: 12px; }
@media (min-width: 700px) { .values { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .values { grid-template-columns: repeat(3, 1fr); } }
.promise { position: relative; overflow: hidden; display: grid; gap: 24px; padding: clamp(32px, 6vw, 80px); border-radius: var(--r-xl); background: var(--ink-850); color: var(--white); isolation: isolate; }
.promise blockquote { font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2.1rem); font-weight: 500; line-height: 1.3; letter-spacing: -0.02em; max-width: 30ch; color: var(--white); }
.promise .motif { width: 640px; right: -160px; bottom: -140px; color: var(--ink-800); z-index: -1; }
.gallery { display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .gallery { grid-template-columns: 1.3fr 1fr 1fr; } .gallery .photo:first-child { grid-row: span 2; } }
.gallery .photo { aspect-ratio: 1; }
@media (min-width: 900px) { .gallery .photo:first-child { aspect-ratio: auto; } }

/* Contacto */
.contact { display: grid; gap: 24px; }
@media (min-width: 1024px) { .contact { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 40px; align-items: start; } }
.wa-card { display: grid; gap: 16px; padding: 28px; border-radius: var(--r-lg); background: var(--ink-900); color: var(--white); }
.wa-card__ic { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 20px; background: #25d366; color: var(--white); }
.wa-card__ic .i { width: 30px; height: 30px; }
.wa-card p { color: var(--slate-300); }
.wa-card .wa-card__num { color: var(--white); font-size: 1.5rem; font-weight: 600; letter-spacing: -0.02em; }
.contact__side { display: grid; gap: 14px; }
.contact__row { display: flex; gap: 14px; align-items: center; padding: 18px; border-radius: 20px; background: var(--white); box-shadow: 0 0 0 1px var(--slate-200); transition: transform 160ms var(--ease-out), box-shadow 200ms ease; }
.contact__row:active { transform: scale(.98); }
.contact__row > span:first-child { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--paper); color: var(--ink-900); flex: none; }
.contact__row > span:first-child .i { width: 20px; height: 20px; }
.contact__row strong { display: block; }
.contact__row small { color: var(--txt-light); }
.contact__row > .i { margin-left: auto; width: 18px; height: 18px; color: var(--slate-400); }
@media (hover: hover) and (pointer: fine) { .contact__row:hover { box-shadow: 0 0 0 1.5px var(--ink-900); } }
.form { display: grid; gap: 18px; padding: clamp(22px, 4vw, 40px); border-radius: var(--r-lg); background: var(--white); box-shadow: 0 0 0 1px var(--slate-200), 0 40px 80px -50px rgba(11,18,35,.35); }
.form__row { display: grid; gap: 18px; }
@media (min-width: 640px) { .form__row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 8px; }
.field > span { font-size: .875rem; font-weight: 600; }
.field input, .field select, .field textarea { width: 100%; min-height: 52px; padding: 12px 16px; border-radius: 16px; border: 0; background: var(--paper); box-shadow: inset 0 0 0 1.5px var(--slate-200); font-size: 1rem; transition: box-shadow 150ms ease, background-color 150ms ease; appearance: none; -webkit-appearance: none; }
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%230b1223' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 44px; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; background: var(--white); box-shadow: inset 0 0 0 1.5px var(--ink-900), 0 0 0 4px var(--cyan-100); }
.field.is-bad input, .field.is-bad select, .field.is-bad textarea { box-shadow: inset 0 0 0 1.5px #dc2626; }
.field__err { font-size: .8125rem; color: #b91c1c; display: none; }
.field.is-bad .field__err { display: block; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips label { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 14px 0 10px; border-radius: 999px; background: var(--paper); box-shadow: inset 0 0 0 1.5px var(--slate-200); font-size: .875rem; font-weight: 500; cursor: pointer; transition: background-color 150ms ease, box-shadow 150ms ease, color 150ms ease, transform 160ms var(--ease-out); user-select: none; }
.chips label .i { width: 16px; height: 16px; color: var(--cyan-700); }
.chips label:active { transform: scale(.97); }
.chips input:checked + label { background: var(--ink-900); color: var(--white); box-shadow: none; }
.chips input:checked + label .i { color: var(--lime); }
.chips input:focus-visible + label { outline: 2px solid var(--cyan); outline-offset: 2px; }
.form__fine { font-size: .8125rem; color: var(--txt-light); }
.form__fine a { text-decoration: underline; text-underline-offset: 3px; }
.form__ok { display: none; gap: 14px; padding: 20px; border-radius: 20px; background: var(--lime-100); color: var(--ink-900); }
.form__ok.is-on { display: grid; animation: qIn 400ms var(--ease-out) both; }
.form__ok strong { display: flex; align-items: center; gap: 10px; font-size: 1.0625rem; }
.form__ok strong .i { width: 22px; height: 22px; color: var(--lime-700); }
.form__ok p { color: var(--ink-800); }

/* Legal / 404 */
.prose { display: grid; gap: 18px; max-width: 760px; }
.prose h2 { font-size: 1.375rem; font-weight: 600; letter-spacing: -0.02em; margin-top: 18px; }
.prose p, .prose li { color: var(--txt-light); }
.prose ul { list-style: disc; padding-left: 22px; display: grid; gap: 6px; }
.notice { display: flex; gap: 14px; padding: 18px 20px; border-radius: 20px; background: var(--cyan-100); color: var(--ink-900); font-size: .9375rem; }
.notice .i { width: 22px; height: 22px; color: var(--cyan-700); margin-top: 1px; }

/* Escalera de Módulos Pro (eco del isotipo) */
.prostack { display: grid; gap: 10px; }
.prostack a {
  --c: var(--cyan);
  display: flex; align-items: center; gap: 14px; min-height: 68px; padding: 10px 20px 10px 10px; border-radius: 20px;
  background: var(--ink-800); color: var(--white); font-weight: 600; transform: skewY(-3deg);
  transition: background-color 200ms ease, transform 300ms var(--ease-out);
}
.prostack a > * { transform: skewY(3deg); }
.prostack a > span { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 15px; background: color-mix(in srgb, var(--c) 18%, var(--ink-700)); color: var(--c); flex: none; }
.prostack a > span .i { width: 22px; height: 22px; }
.prostack a > .i:last-child { margin-left: auto; width: 18px; height: 18px; color: var(--slate-400); transition: transform 200ms var(--ease-out), color 200ms ease; }
@media (min-width: 600px) {
  .prostack li:nth-child(1) { margin-left: 34%; } .prostack li:nth-child(2) { margin-left: 26%; } .prostack li:nth-child(3) { margin-left: 17%; } .prostack li:nth-child(4) { margin-left: 8%; }
}
@media (hover: hover) and (pointer: fine) {
  .prostack a:hover { background: var(--ink-700); transform: skewY(-3deg) translateX(-6px); }
  .prostack a:hover > .i:last-child { color: var(--lime); transform: skewY(3deg) translate(2px, -2px); }
}

/* Accesos a sectores en el hero */
.sgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.sgrid a { display: grid; gap: 14px; align-content: space-between; min-height: 150px; padding: 18px; border-radius: var(--r-md); background: var(--ink-800); color: var(--white); font-weight: 600; line-height: 1.3; transition: background-color 200ms ease, transform 160ms var(--ease-out); }
.sgrid a:active { transform: scale(.98); }
.sgrid a span { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 16px; background: color-mix(in srgb, var(--cyan) 16%, var(--ink-700)); color: var(--cyan); transition: background-color 200ms ease, color 200ms ease, transform 300ms var(--ease-out); }
.sgrid a:nth-child(2) span, .sgrid a:nth-child(3) span { background: color-mix(in srgb, var(--lime) 16%, var(--ink-700)); color: var(--lime); }
.sgrid a span .i { width: 24px; height: 24px; }
@media (hover: hover) and (pointer: fine) { .sgrid a:hover { background: var(--ink-700); } .sgrid a:hover span { transform: rotate(-6deg); } }

/* Nosotros: cómo leemos tu empresa */
.reads { display: grid; gap: 8px; padding: clamp(20px, 3vw, 32px); border-radius: var(--r-lg); background: var(--ink-900); color: var(--white); }
.reads__h { display: flex; align-items: center; gap: 8px; font-size: .875rem; font-weight: 600; color: var(--slate-400) !important; margin-bottom: 4px; }
.reads__h .i { width: 16px; height: 16px; color: var(--cyan); }
.reads__h--out { margin-top: 14px; }
.reads__h--out .i { color: var(--lime); }
.reads__q { display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px; border-radius: 16px; background: var(--ink-800); font-weight: 500; transition: background-color 200ms ease, transform 300ms var(--ease-out); }
.reads__q span { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: var(--ink-700); color: var(--cyan); flex: none; }
.reads__q .i { width: 18px; height: 18px; }
@media (hover: hover) and (pointer: fine) { .reads__q:hover { background: var(--ink-700); transform: translateX(4px); } }
.reads__out { display: flex; flex-wrap: wrap; gap: 8px; }
.reads__out span { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px 0 12px; border-radius: 999px; background: var(--lime); color: var(--ink-900); font-size: .875rem; font-weight: 600; }
.reads__out .i { width: 16px; height: 16px; }
@media (max-width: 899px) { .gallery .photo:first-child { grid-column: span 2; aspect-ratio: 4 / 3; } }

/* Objetivos táctiles en pantallas táctiles */
@media (pointer: coarse) {
  .chip, .sug, .console__tab { min-height: 44px; }
  .act__ok { height: 36px; padding: 0 14px; }
  .qres__share a, .qres__share button, .flow__ctrl button { width: 44px; height: 44px; }
}

/* ---------- Revelado al hacer scroll ---------- */
.js [data-rv] { opacity: 0; transform: translateY(24px); transition: opacity 700ms var(--ease-out), transform 800ms var(--ease-out); transition-delay: calc(var(--d, 0) * 70ms); }
.js [data-rv].is-in { opacity: 1; transform: none; }
.js [data-rv="fade"] { transform: none; }
.js [data-rv="scale"] { transform: scale(.96); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; transition-duration: 1ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  .js [data-rv] { opacity: 1; transform: none; }
  .marquee__track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
  .marquee__item[aria-hidden="true"] { display: none; }
  .js .motif .m-bar { transform: none; opacity: 1; }
  .js .photo img { transform: none; }
}
