/* ============================================================
   Kelp · sistema compartido (revamp 2026)
   Tokens, tipografía, acciones, marco, superficies, nav, pie,
   FAQ y el motor de escenas (agente, tira de pasos).
   Convención: las clases de este fichero son del sistema. Una
   página nunca redefine una clase del sistema para otra cosa:
   sus componentes llevan nombres propios (ver lint_css.py).
   ============================================================ */
/* Bricolage Grotesque (SIL OFL), servida desde la web: subconjuntos latín y latín extendido de Google Fonts, ejes opsz y wght */
@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(fonts/bricolage-v9-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(fonts/bricolage-v9-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
:root {
  --deep: #012120; --teal: #004A48; --foam: #C6EEE3; --ember: #FAE7C7;
  --paper: #FEFCF8; --white: #fff;
  --ink: #0B1F1E; --ink-2: rgb(1 33 32 / .68); --ink-3: rgb(1 33 32 / .48);
  --line: rgb(1 33 32 / .09); --line-2: rgb(1 33 32 / .15); --tint: rgb(1 33 32 / .025);
  --foam-2: #E6F6F0; --ember-2: #FDF2DF; --ember-ink: #8A5A17; --ok: #0E6B54;
  --font: "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif;
  --track: -0.03em; --w-head: 500;
  --ease: cubic-bezier(.65, 0, .35, 1); --ease-out: cubic-bezier(.2, .8, .2, 1);
  --shadow-card: 0 0 0 1px rgb(1 33 32 / .07), 0 1px 2px rgb(1 33 32 / .05), 0 14px 32px -18px rgb(1 33 32 / .35);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { overflow-x: clip; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { font-family: var(--font); font-size: 16px; line-height: 1.6; color: var(--ink); background: var(--paper);
       -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg { display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul { list-style: none; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; border-radius: 4px; }
.ic { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.num { font-variant-numeric: tabular-nums; }
.h1 { font-size: clamp(42px, 5.4vw, 70px); line-height: 1.02; letter-spacing: var(--track); font-weight: var(--w-head); }
.h2 { font-size: clamp(30px, 3.2vw, 44px); line-height: 1.08; letter-spacing: var(--track); font-weight: var(--w-head); text-wrap: balance; }
.soft { color: var(--ink-3); }
.lede { font-size: clamp(17px, 1.3vw, 19px); line-height: 1.55; color: var(--ink-2); text-wrap: pretty; }
.small { font-size: 14.5px; line-height: 1.55; color: var(--ink-2); }
.ph { display: inline-block; }
@media (min-width: 760px) {
  .ph { white-space: nowrap; }
}
.btn { display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 20px; border-radius: 8px; font-size: 15px; font-weight: 600;
       letter-spacing: -0.005em; white-space: nowrap; background: var(--deep); color: #fff; transition: background-color .2s; }
.btn:hover { background: var(--teal); }
.btn.ghost { background: var(--white); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn.ghost:hover { background: var(--paper); }
.btn.sm { height: 38px; padding: 0 15px; font-size: 14px; }
.btn.foam { background: var(--foam); color: var(--deep); }
.btn.foam:hover { background: #fff; }
.arrow { display: inline-block; transition: translate .2s; }
a:hover .arrow { translate: 3px 0; }
.link { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 600; color: var(--ink); }
.link:hover { color: var(--teal); }
.frame { max-width: 1216px; margin-inline: auto; border-inline: 1px solid var(--line); position: relative; }
.row { position: relative; border-top: 1px solid var(--line); }
.row::before, .row::after { content: ""; position: absolute; top: -5px; width: 9px; height: 9px; z-index: 3;
  background: linear-gradient(var(--line-2) 0 0) center / 9px 1px no-repeat, linear-gradient(var(--line-2) 0 0) center / 1px 9px no-repeat; }
.row::before { left: -5px; }
.row::after { right: -5px; }
/* sin margen alrededor del marco, las cruces de las esquinas se salen de la pantalla */
@media (max-width: 1230px) { .row::before, .row::after { display: none; } }
.head { padding: clamp(64px, 7.5vw, 96px) clamp(24px, 4.5vw, 56px) 48px; display: grid; grid-template-columns: 1fr 1fr; gap: 24px 64px; align-items: end; }
.head .lede { max-width: 46ch; }
.dots { background-color: #FBF9F4; background-image: radial-gradient(rgb(1 33 32 / .10) 1px, transparent 1.2px); background-size: 14px 14px; }
/* Fondo de las escenas. Todo en una sola capa de fondo, sin filter ni mix-blend-mode: en WebKit (todo iOS)
   el desenfoque y la fusión se recalculaban en cada repintado de la escena y las animaciones iban a tirones.
   Los degradados ya llevan la caída suave que antes daba blur(46px), y el grano trae su color. */
.mesh { position: relative; isolation: isolate; overflow: hidden; background: #0d4a45; }
.mesh.sea { background:
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.0863 0 0 0 0 0.494 0 0 0 0 0.463 0 0 0 0.252 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"),
  radial-gradient(47.6% 58.8% at 5.2% 10.8%, #1F7A6CD1 0%, #1F7A6CBB 17.2%, #1F7A6C87 34.4%, #1F7A6C4A 51.6%, #1F7A6C16 68.8%, transparent 86%),
  radial-gradient(53.2% 64.4% at 94.8% 5.2%, #0E5A55D1 0%, #0E5A55BB 17.2%, #0E5A5587 34.4%, #0E5A554A 51.6%, #0E5A5516 68.8%, transparent 86%),
  radial-gradient(58.8% 70% at 80.8% 103.2%, #9FD9C6D1 0%, #9FD9C6BB 17.2%, #9FD9C687 34.4%, #9FD9C64A 51.6%, #9FD9C616 68.8%, transparent 86%),
  radial-gradient(42% 50.4% at -0.4% 103.2%, #E9D8A6D1 0%, #E9D8A6BB 17.2%, #E9D8A687 34.4%, #E9D8A64A 51.6%, #E9D8A616 68.8%, transparent 86%),
  radial-gradient(56% 56% at 47.2% 57%, #0A2F2CD1 0%, #0A2F2CBB 17.2%, #0A2F2C87 34.4%, #0A2F2C4A 51.6%, #0A2F2C16 68.8%, transparent 86%),
  #0B3F3B; }
.mesh.foam { background:
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.3 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"),
  radial-gradient(56% 63% at 1% 8%, #BFE7D8D1 0%, #BFE7D8BB 17.2%, #BFE7D887 34.4%, #BFE7D84A 51.6%, #BFE7D816 68.8%, transparent 86%),
  radial-gradient(56% 70% at 99% 15%, #F6E7C4D1 0%, #F6E7C4BB 17.2%, #F6E7C487 34.4%, #F6E7C44A 51.6%, #F6E7C416 68.8%, transparent 86%),
  radial-gradient(63% 70% at 78% 99%, #9FD2C2D1 0%, #9FD2C2BB 17.2%, #9FD2C287 34.4%, #9FD2C24A 51.6%, #9FD2C216 68.8%, transparent 86%),
  radial-gradient(56% 63% at 8% 99%, #FFFFFFD1 0%, #FFFFFFBB 17.2%, #FFFFFF87 34.4%, #FFFFFF4A 51.6%, #FFFFFF16 68.8%, transparent 86%),
  #DDF1E9; }
.mesh.dawn { background:
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.3 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"),
  radial-gradient(56% 63% at 8% 15%, #FBEFD6D1 0%, #FBEFD6BB 17.2%, #FBEFD687 34.4%, #FBEFD64A 51.6%, #FBEFD616 68.8%, transparent 86%),
  radial-gradient(56% 63% at 92% 8%, #CDEBDFD1 0%, #CDEBDFBB 17.2%, #CDEBDF87 34.4%, #CDEBDF4A 51.6%, #CDEBDF16 68.8%, transparent 86%),
  radial-gradient(63% 70% at 85% 99%, #E7C98FD1 0%, #E7C98FBB 17.2%, #E7C98F87 34.4%, #E7C98F4A 51.6%, #E7C98F16 68.8%, transparent 86%),
  radial-gradient(56% 63% at 1% 99%, #B9E0D2D1 0%, #B9E0D2BB 17.2%, #B9E0D287 34.4%, #B9E0D24A 51.6%, #B9E0D216 68.8%, transparent 86%),
  #F4E6CB; }
.mesh.deep { background:
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.00784 0 0 0 0 0.259 0 0 0 0 0.251 0 0 0 0.21 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"),
  radial-gradient(63% 77% at -3.2% -20%, #0E5650D1 0%, #0E5650BB 17.2%, #0E565087 34.4%, #0E56504A 51.6%, #0E565016 68.8%, transparent 86%),
  radial-gradient(56% 70% at 106% 113%, #13695FD1 0%, #13695FBB 17.2%, #13695F87 34.4%, #13695F4A 51.6%, #13695F16 68.8%, transparent 86%),
  radial-gradient(42% 56% at 78% 22%, #06403BD1 0%, #06403BBB 17.2%, #06403B87 34.4%, #06403B4A 51.6%, #06403B16 68.8%, transparent 86%),
  radial-gradient(35% 42% at 22% 106%, #2A6B5AD1 0%, #2A6B5ABB 17.2%, #2A6B5A87 34.4%, #2A6B5A4A 51.6%, #2A6B5A16 68.8%, transparent 86%),
  #012120; }
.card { background: #fff; border-radius: 12px; box-shadow: var(--shadow-card); color: var(--ink); font-size: 13px; line-height: 1.45; text-align: left; }
.tag { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; font-weight: 600; padding: 2px 8px; border-radius: 99px; white-space: nowrap; }
.tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.tag.ok { background: var(--foam-2); color: var(--ok); }
.tag.run { background: #EDF1F5; color: #3E5470; }
.tag.warn { background: var(--ember-2); color: var(--ember-ink); }
.tag.neu { background: var(--tint); color: var(--ink-2); }
/* Insignia de una empresa (iniciales sobre su color, --c) */
.co { width: 22px; height: 22px; border-radius: 6px; background: var(--c); color: #fff; font-size: 9.5px; font-weight: 700; letter-spacing: .02em; display: grid; place-items: center; flex: none; }
.kbot { width: 28px; height: 28px; border-radius: 7px; display: grid; place-items: center; background: var(--deep); color: var(--foam); flex: none; }
.kbot svg { width: 72%; height: 72%; fill: currentColor; }
.spin svg, svg.spin { animation: turn 2.1s var(--ease) infinite; }
/* el símbolo de Kelp siempre gira en sentido antihorario, un tercio cada vez */
@keyframes turn { 0% { rotate: 0deg; } 42.857% { rotate: -120deg; } 100% { rotate: -120deg; } }
.nav { position: sticky; top: 0; z-index: 60; background: rgb(254 252 248 / .88); -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4); border-bottom: 1px solid var(--line); }
.nav-in { max-width: 1216px; margin-inline: auto; display: flex; align-items: center; gap: 28px; height: 64px; padding-inline: clamp(20px, 3vw, 32px); }
.nav .logo { width: 84px; fill: var(--deep); }
.menu { display: flex; align-items: center; gap: 2px; font-size: 14.5px; font-weight: 500; }
.menu > li { position: relative; }
.menu > li.m-only { display: none; }
.menu > li > a, .menu > li > button { display: inline-flex; align-items: center; gap: 5px; padding: 8px 12px; border-radius: 8px; color: var(--ink-2); }
.menu > li > a:hover, .menu > li > button:hover, .menu > li.open > button, .menu > li.open > a { color: var(--ink); background: var(--tint); }
.menu > li.cur > a, .menu > li.cur > button { color: var(--ink); }
.drop-list a[aria-current] { background: var(--paper); }
.menu .chev { width: 13px; height: 13px; opacity: .6; transition: rotate .2s; }
.menu > li.open .chev { rotate: 180deg; }
.drop { position: absolute; top: calc(100% + 10px); left: -12px; z-index: 70; opacity: 0; visibility: hidden; translate: 0 6px;
  transition: opacity .18s, translate .18s, visibility 0s linear .18s; }
.menu > li.open .drop { opacity: 1; visibility: visible; translate: 0 0; transition-delay: 0s; }
.drop-in { display: grid; grid-template-columns: 1fr auto; gap: 8px; padding: 8px; background: #fff; border-radius: 16px;
  box-shadow: 0 0 0 1px rgb(1 33 32 / .08), 0 24px 60px -20px rgb(1 33 32 / .35); }
.drop-list { display: grid; grid-template-columns: repeat(var(--cols, 1), 280px); gap: 2px; padding: 4px; }
.drop-list a { display: grid; grid-template-columns: 36px 1fr; gap: 12px; align-items: center; padding: 10px; border-radius: 10px; }
.drop-list a:hover { background: var(--paper); }
.drop-list .di { width: 36px; height: 36px; border-radius: 9px; display: grid; place-items: center; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); color: var(--deep); }
.drop-list .di .ic { width: 17px; height: 17px; }
.drop-list b { display: block; font-size: 14px; font-weight: 600; color: var(--ink); }
.drop-list span span { display: block; font-size: 13px; color: var(--ink-3); line-height: 1.35; margin-top: 1px; }
.drop-feat { width: 230px; border-radius: 12px; padding: 18px; display: flex; flex-direction: column; justify-content: flex-end; min-height: 100%; color: #fff; }
.drop-feat b { font-size: 15px; font-weight: 600; line-height: 1.3; }
.drop-feat span { font-size: 13px; opacity: .8; margin-top: 4px; }
.drop-feat .ksym { width: 34px; height: 34px; fill: var(--foam); margin-bottom: auto; }
.nav-end { margin-left: auto; display: flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 500; }
.nav-end > a:not(.btn) { color: var(--ink-2); padding: 8px 12px; }
.nav-end > a[aria-current] { color: var(--ink); }
.nav-end > a.lang { padding: 8px 10px; letter-spacing: .02em; }
.nav-end > a.lang:hover { color: var(--ink); }
.c-h { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-bottom: 1px solid var(--line); font-size: 12px; font-weight: 600; }
.c-h .ic { width: 14px; height: 14px; color: var(--teal); }
.c-h .end { margin-left: auto; font-weight: 400; color: var(--ink-3); font-size: 11.5px; }
.c-b { padding: 12px; }
.swap { display: inline-grid; justify-items: end; }
.swap > * { grid-area: 1 / 1; }
.cv { position: absolute; left: 50%; top: 50%; width: var(--cw, 800px); height: var(--ch, 400px); translate: -50% -50%; }
.hubk { width: 64px; height: 64px; border-radius: 18px; background: var(--deep); display: grid; place-items: center; box-shadow: 0 0 0 8px rgb(1 33 32 / .06), 0 16px 30px -12px rgb(1 33 32 / .5); position: relative; }
.hubk svg { width: 38px; height: 38px; fill: var(--foam); }
.stepbar { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgb(1 33 32 / .1); background: rgb(255 255 255 / .55); flex: none; }   /* sin backdrop-filter: detrás solo hay el degradado del fondo, y en WebKit se recalculaba con cada avance de la barra */
.sbs { position: relative; padding: 18px 22px 20px; border-right: 1px solid rgb(1 33 32 / .08); font-size: 14px; line-height: 1.4; color: var(--ink-3); transition: color .3s; }
.sbs:last-child { border-right: 0; }
.sbs i:not(.pr) { display: block; font-style: normal; font-size: 12px; font-weight: 600; font-variant-numeric: tabular-nums; margin-bottom: 4px; }
.sbs.on, .sbs.done { color: var(--ink); }
.sbs.done i:not(.pr)::after { content: " ✓"; color: var(--teal); }
.sbs .pr { position: absolute; left: 0; right: 0; top: -1px; height: 2px; background: var(--deep); transform-origin: left; transform: scaleX(0); }
/* ---- Bloque de caso de uso: texto con sus pasos y la escena que los enseña ----
   Los pasos (.vsteps .sbs) avanzan con la escena mediante KELP.u.stepsSeq. */
.uc { display: grid; grid-template-columns: 5fr 7fr; }
.uc-t { padding: 56px clamp(24px, 4.5vw, 56px); border-right: 1px solid var(--line); display: flex; flex-direction: column; justify-content: center; }
.uc.flip { grid-template-columns: 7fr 5fr; }
.uc.flip .uc-t { order: 2; border-right: 0; border-left: 1px solid var(--line); }
.uc-n { font-size: 13px; font-weight: 600; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.h3 { font-size: clamp(26px, 2.3vw, 32px); line-height: 1.12; letter-spacing: var(--track); font-weight: var(--w-head); text-wrap: balance; }
.uc-t .h3 { margin-top: 10px; }
.uc-t > p { margin-top: 14px; font-size: 17px; line-height: 1.55; color: var(--ink-2); max-width: 40ch; text-wrap: pretty; }
.uc-s { position: relative; height: 500px; margin: 24px; border-radius: 18px; --cw: 600px; --ch: 420px; }
.vsteps { margin-top: 26px; display: grid; gap: 2px; }
.vsteps .sbs { border-right: 0; padding: 7px 0 7px 22px; font-size: 15px; }
.vsteps .sbs.done { color: var(--ink-2); }
.vsteps .sbs i { position: absolute; left: 2px; top: 15px; width: 8px; height: 8px; margin: 0; border-radius: 50%; background: var(--line-2); transition: background-color .3s, box-shadow .3s; }
.vsteps .sbs.on i { background: var(--deep); box-shadow: 0 0 0 4px rgb(1 33 32 / .08); }
.vsteps .sbs.done i { background: var(--teal); }
.vsteps .sbs.done i::after { content: none; }
/* ---- Fila de diferencias o beneficios: icono, titular y una línea ---- */
.diffs { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); margin-top: 56px; }
.diff { padding: 26px 28px 30px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.diff:nth-child(4n) { border-right: 0; }
.diff:nth-last-child(-n+4) { border-bottom: 0; }
.diff .ic { width: 20px; height: 20px; color: var(--teal); margin-bottom: 14px; }
.diff b { display: block; font-size: 15.5px; font-weight: 600; letter-spacing: -0.01em; }
.diff span { display: block; font-size: 14px; color: var(--ink-2); margin-top: 4px; line-height: 1.5; }
.band { color: var(--foam); }
.band .h2 { color: #F2FBF8; }
.band .soft { color: rgb(198 238 227 / .55); }
.band .lede { color: rgb(198 238 227 / .72); }
.faq { display: grid; grid-template-columns: 5fr 7fr; border-top: 1px solid var(--line); }
.faq-l { padding: 48px clamp(24px, 4.5vw, 56px); border-right: 1px solid var(--line); }
.faq-l .lede { margin-top: 16px; }
.faq-l .btn { margin-top: 28px; }
.faq-r { padding: 24px clamp(24px, 4vw, 48px) 48px; }
.faq-r details { border-bottom: 1px solid var(--line); }
.faq-r summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 20px 0; font-size: 16.5px; font-weight: 600; letter-spacing: -0.01em; }
.faq-r summary::-webkit-details-marker { display: none; }
.faq-r summary .pm { position: relative; width: 12px; height: 12px; flex: none; transition: rotate .3s var(--ease-out); }
.faq-r summary .pm::before, .faq-r summary .pm::after { content: ""; position: absolute; background: var(--ink-3); border-radius: 1px; }
.faq-r summary .pm::before { left: 0; right: 0; top: 5.25px; height: 1.5px; }
.faq-r summary .pm::after { top: 0; bottom: 0; left: 5.25px; width: 1.5px; }
.faq-r details[open] summary .pm { rotate: 45deg; }
.faq-r details p { padding: 0 40px 22px 0; font-size: 15px; color: var(--ink-2); line-height: 1.6; }
.faq-r details p a { color: var(--teal); font-weight: 600; }
footer .ft { max-width: 1216px; margin-inline: auto; padding: 56px clamp(24px, 4.5vw, 56px) 32px; display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 32px; }
footer .logo { width: 80px; fill: var(--deep); }
footer h6 { font-size: 13px; font-weight: 600; margin-bottom: 12px; }
footer a { display: block; font-size: 14px; color: var(--ink-2); padding: 3px 0; }
footer a:hover { color: var(--ink); }
footer .legal { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; padding-top: 24px; margin-top: 16px; border-top: 1px solid var(--line); font-size: 13px; color: var(--ink-3); }
footer .legal span { display: flex; flex-wrap: wrap; gap: 4px 18px; }
footer .legal a { display: inline; font-size: 13px; color: var(--ink-3); padding: 0; }
.agent { position: absolute; left: 0; top: 0; width: 40px; height: 40px; z-index: 20; pointer-events: none; }
.agent .kbot { width: 40px; height: 40px; border-radius: 12px; box-shadow: 0 0 0 4px rgb(255 255 255 / .9), 0 12px 24px -8px rgb(1 33 32 / .55); }
.agent .kbot svg { width: 26px; height: 26px; }
.agent.busy .kbot svg, .hubk.busy > svg, .kbot.busy > svg { animation: turn 2.1s var(--ease) infinite; }
.rp { position: absolute; left: 50%; top: 50%; width: 40px; height: 40px; margin: -20px 0 0 -20px; border-radius: 50%; box-shadow: 0 0 0 2px var(--teal); opacity: 0; pointer-events: none; }
.hubk .rp { width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 22px; }
.hubk.big { width: 80px; height: 80px; border-radius: 22px; }
.hubk.big svg { width: 46px; height: 46px; }
.pkt { position: absolute; left: 0; top: 0; width: 12px; height: 12px; border-radius: 4px; background: var(--teal); box-shadow: 0 0 0 3px rgb(0 74 72 / .18); opacity: 0; z-index: 12; }
.ft { padding: 6px 12px; border-radius: 7px; font-size: 12.5px; font-weight: 600; color: var(--ink-3); transition: background-color .3s, color .3s; }
.ft.on { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgb(1 33 32 / .15); }
.mcur { position: absolute; left: 0; top: 0; z-index: 10; pointer-events: none; opacity: 0; }
.mcur svg { width: 20px; height: 20px; fill: var(--cc); stroke: #fff; stroke-width: 1.5; stroke-linejoin: round; filter: drop-shadow(0 2px 3px rgb(0 0 0 / .25)); }
.mcur span { position: absolute; left: 16px; top: 16px; padding: 2px 8px; border-radius: 99px 99px 99px 4px; background: var(--cc); color: #fff; font-size: 11px; font-weight: 600; white-space: nowrap; }
.burger { display: none; width: 40px; height: 40px; border-radius: 10px; place-items: center; box-shadow: inset 0 0 0 1px var(--line-2); }
.burger .ic { width: 18px; height: 18px; }
/* ---- Hero de página: titular centrado y escenario debajo ---- */
.hero-copy { text-align: center; padding: clamp(72px, 9vw, 112px) 24px clamp(48px, 5.5vw, 64px); }
.hero-copy .lede { max-width: 46ch; margin: 22px auto 0; }
.hero-copy .ctas { display: flex; gap: 10px; justify-content: center; margin-top: 32px; }
.stage { height: 680px; border-top: 1px solid var(--line); }
/* ---- Herramientas: teselas en marquesina sobre banda oscura ---- */
.conn-in { padding: clamp(72px, 8vw, 104px) 0 0; text-align: center; }
.conn-in .h2, .conn-in .lede { padding-inline: 24px; }
.conn-in .lede { max-width: 52ch; margin: 18px auto 0; }
.tools { position: relative; margin-top: 56px; overflow-x: clip; display: grid; gap: 14px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent); mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent); }
.trow { display: flex; gap: 14px; width: max-content; animation: marq 60s linear infinite; }
.trow.rev { animation-direction: reverse; animation-duration: 70s; }
.trow.slow { animation-duration: 84s; }
.tile { width: 64px; height: 64px; border-radius: 16px; background: #fff; display: grid; place-items: center; box-shadow: 0 10px 24px -12px rgb(0 0 0 / .5); flex: none; }
.tile img { width: 30px; height: 30px; object-fit: contain; }
.hub { position: absolute; left: 50%; top: 50%; translate: -50% -50%; width: 104px; height: 104px; border-radius: 28px; background: var(--deep); display: grid; place-items: center; box-shadow: 0 0 0 1px rgb(198 238 227 / .25), 0 0 0 12px rgb(1 33 32 / .55), 0 0 70px 10px rgb(198 238 227 / .18); z-index: 2; }
.hub svg { width: 60px; height: 60px; fill: var(--foam); }
.tools.lt .tile { box-shadow: 0 0 0 1px var(--line), 0 10px 22px -14px rgb(1 33 32 / .4); }
.tools.lt .hub { box-shadow: 0 0 0 10px var(--paper), 0 0 0 11px var(--line), 0 24px 48px -16px rgb(1 33 32 / .5); }
.conn-pts { display: grid; grid-template-columns: repeat(var(--n, 3), 1fr); margin-top: 64px; border-top: 1px solid rgb(198 238 227 / .12); text-align: left; }
.conn-pts > div { padding: 30px clamp(24px, 3.5vw, 44px) 40px; border-right: 1px solid rgb(198 238 227 / .12); }
.conn-pts > div:last-child { border-right: 0; }
.conn-pts b { display: block; color: #F2FBF8; font-size: 16px; font-weight: 600; letter-spacing: -0.01em; }
.conn-pts span { display: block; margin-top: 6px; font-size: 14.5px; color: rgb(198 238 227 / .68); line-height: 1.5; }
.conn-pts .ic { width: 20px; height: 20px; color: var(--foam); margin-bottom: 14px; }
@keyframes marq { to { translate: -50% 0; } }
/* ---- iPhone con WhatsApp ---- */
.iph { position: absolute; left: 0; top: 0; width: 306px; height: 632px; border-radius: 54px; padding: 10px;
  background: linear-gradient(145deg, #3A4442, #121918 45%, #2B3432); box-shadow: inset 0 0 0 1.5px rgb(255 255 255 / .14), 0 0 0 1px rgb(0 0 0 / .5), 0 50px 90px -30px rgb(0 0 0 / .7); }
.iph::before { content: ""; position: absolute; left: -3px; top: 150px; width: 3px; height: 60px; border-radius: 2px 0 0 2px; background: #2A3230; box-shadow: 0 80px 0 #2A3230; }
.scr { position: relative; width: 100%; height: 100%; border-radius: 44px; overflow: hidden; display: flex; flex-direction: column; background: #EFE7DE; font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif; color: #111B21; }
.scr .wall2 { position: absolute; inset: 0; opacity: .55; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' fill='none' stroke='%23C9BFB3' stroke-width='1.2'%3E%3Ccircle cx='14' cy='16' r='5'/%3E%3Cpath d='M50 10l8 8M58 10l-8 8'/%3E%3Cpath d='M20 56c4-6 12-6 16 0'/%3E%3Crect x='56' y='50' width='12' height='12' rx='3'/%3E%3C/svg%3E"); }
.sbar { position: relative; z-index: 1; height: 46px; display: flex; align-items: center; justify-content: space-between; padding: 6px 28px 0 34px; font-size: 14px; font-weight: 600; background: #F6F6F6; }
.sbar .di { position: absolute; left: 50%; top: 10px; translate: -50% 0; width: 96px; height: 28px; border-radius: 20px; background: #000; }
.sbar .ics { display: flex; align-items: center; gap: 5px; }
.sbar svg { height: 11px; width: auto; fill: #111; }
.wah { position: relative; z-index: 1; display: flex; align-items: center; gap: 8px; padding: 4px 12px 8px 8px; background: #F6F6F6; border-bottom: 1px solid #E2E2E2; }
.wah .bk { color: #007AFF; width: 22px; height: 22px; }
.wah .kbot { width: 34px; height: 34px; border-radius: 50%; }
.wah b { display: block; font-size: 15px; font-weight: 600; line-height: 1.2; }
.wah small { display: block; font-size: 11.5px; color: #667781; }
.wah .acts { margin-left: auto; display: flex; gap: 18px; color: #007AFF; }
.wah .acts svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.wth { position: relative; z-index: 1; flex: 1; min-height: 0; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; gap: 4px; padding: 10px 10px 8px; }
.wday { align-self: center; font-size: 11px; font-weight: 500; color: #54656F; background: #fff; padding: 3px 9px; border-radius: 7px; box-shadow: 0 1px .5px rgb(0 0 0 / .1); margin-bottom: 4px; }
.wm { position: relative; max-width: 82%; padding: 6px 8px 5px 9px; border-radius: 9px; font-size: 13.5px; line-height: 1.36; box-shadow: 0 1px .5px rgb(0 0 0 / .13); background: #fff; align-self: flex-start; margin-left: 6px; }
.wm.me { background: #DCF8C6; align-self: flex-end; margin: 0 6px 0 0; }
.wm.tail::before { content: ""; position: absolute; top: 0; left: -7px; border-top: 9px solid #fff; border-left: 8px solid transparent; }
.wm.me.tail::before { left: auto; right: -7px; border-left: 0; border-right: 8px solid transparent; border-top-color: #DCF8C6; }
.wm ul { padding-left: 1.05em; list-style: disc; margin: 3px 0; }
.wm .t { float: right; margin: 6px 0 -3px 8px; font-size: 10.5px; color: #667781; }
.wm .t .tk { color: #53BDEB; margin-left: 2px; }
.wv2 { display: flex; align-items: center; gap: 8px; min-width: 196px; padding: 2px 0; }
.wv2 .av2 { width: 30px; height: 30px; border-radius: 50%; overflow: hidden; flex: none; }
.wv2 .av2 img { width: 100%; height: 100%; object-fit: cover; }
.wv2 .wplay { width: 0; height: 0; border-left: 10px solid #54656F; border-top: 7px solid transparent; border-bottom: 7px solid transparent; }
.wv2 .wave { display: flex; align-items: center; gap: 2px; flex: 1; }
.wv2 .wave i { width: 2.5px; border-radius: 2px; background: #8FA59A; height: calc(var(--h) * 1px); }
.wv2 .du { font-size: 10.5px; color: #667781; }
.wdoc { display: flex; align-items: center; gap: 9px; margin: 2px 0 4px; padding: 8px; border-radius: 7px; background: #F1F7F4; min-width: 200px; }
.wdoc .pg { width: 26px; height: 32px; border-radius: 3px; background: #fff; box-shadow: 0 0 0 1px #D5DFDB; display: grid; place-items: center; color: var(--teal); }
.wdoc .pg .ic { width: 13px; height: 13px; }
.wdoc b { display: block; font-size: 12.5px; font-weight: 600; }
.wdoc small { display: block; font-size: 11px; color: #667781; }
.wtyp { align-self: flex-start; margin-left: 6px; padding: 9px 12px; border-radius: 9px; background: #fff; box-shadow: 0 1px .5px rgb(0 0 0 / .13); display: flex; gap: 3px; }
.wtyp i { width: 6px; height: 6px; border-radius: 50%; background: #9AA6AC; animation: wdot 1.2s infinite; }
.wtyp i:nth-child(2) { animation-delay: .15s; }
.wtyp i:nth-child(3) { animation-delay: .3s; }
@keyframes wdot { 0%, 60%, 100% { opacity: .35; translate: 0 0; } 30% { opacity: 1; translate: 0 -3px; } }
.wbar { position: relative; z-index: 1; display: flex; align-items: center; gap: 10px; padding: 7px 12px 26px; background: #F6F6F6; color: #007AFF; }
.wbar .inp { flex: 1; height: 32px; border-radius: 16px; background: #fff; box-shadow: inset 0 0 0 1px #E2E2E2; }
.wbar svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
/* ---- Cierre: banda oscura con el símbolo girando ---- */
.close-in { position: relative; padding: clamp(88px, 10vw, 128px) clamp(24px, 4.5vw, 56px) clamp(56px, 6vw, 72px); overflow: hidden; }
.close-in .h1 { color: #F2FBF8; max-width: 14ch; }
.close-in .soft { color: rgb(198 238 227 / .55); }
.close-in > p { margin-top: 22px; max-width: 46ch; font-size: 18px; color: rgb(198 238 227 / .75); }
.close-in .btn { margin-top: 32px; }
.close-in .sym { position: absolute; right: -80px; top: 40px; width: 520px; height: 520px; fill: rgb(198 238 227 / .08); animation: turn 6.3s var(--ease) infinite; }
@media (max-width: 1180px) {
  .stage { height: 600px; }
  .faq { grid-template-columns: 1fr; }
  .faq-l { border-right: 0; border-bottom: 1px solid var(--line); }
}
@media (max-width: 1040px) {
  .diffs { grid-template-columns: 1fr 1fr; }
  .diff:nth-child(4n) { border-right: 1px solid var(--line); }
  .diff:nth-child(2n) { border-right: 0; }
  .diff:nth-last-child(-n+4) { border-bottom: 1px solid var(--line); }
  .diff:nth-last-child(-n+2) { border-bottom: 0; }
}
@media (max-width: 980px) {
  .uc, .uc.flip { grid-template-columns: 1fr; }
  .uc-t, .uc.flip .uc-t { order: 0; border: 0; padding-bottom: 0; }
  .conn-pts { grid-template-columns: 1fr; }
  .conn-pts > div { border-right: 0; border-bottom: 1px solid rgb(198 238 227 / .12); }
  .menu, .nav-end > a:not(.btn) { display: none; }
  .nav-end > a.lang { display: inline-flex; padding: 8px 4px; }
  .burger { display: grid; }
  html:has(.nav.m-open) { overflow: hidden; }
  html:has(.nav.m-open) body > [class*="kchat-"] { visibility: hidden; }
  .nav.m-open { background: var(--paper); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .nav.m-open .menu { display: flex; position: fixed; top: 65px; left: 0; right: 0; bottom: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 4px 20px 48px; overflow-y: auto; background: var(--paper); font-size: 17px; }
  .nav.m-open .menu > li { border-bottom: 1px solid var(--line); }
  .nav.m-open .menu > li.m-only { display: block; }
  .nav.m-open .menu > li > a { display: flex; padding: 15px 2px; border-radius: 0; color: var(--ink); background: none; }
  .nav.m-open .chev, .nav.m-open .drop-feat { display: none; }
  .nav.m-open .drop { position: static; opacity: 1; visibility: visible; translate: none; transition: none; }
  .nav.m-open .drop-in { display: block; padding: 0 0 10px; background: none; box-shadow: none; }
  .nav.m-open .drop-list { grid-template-columns: 1fr; padding: 0; }
  .nav.m-open .drop-list a { padding: 7px 0; }
  .nav-end { gap: 10px; }
  .head { grid-template-columns: 1fr; }
  footer .ft { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
  /* Diferencias y puntos de conexión en lista compacta: icono a la izquierda, titular y línea a su lado */
  .diffs { grid-template-columns: 1fr; }
  .diff:nth-child(n) { border-right: 0; border-bottom: 1px solid var(--line); }
  .diff:last-child { border-bottom: 0; }
  .diff, .conn-pts > div { display: grid; grid-template-columns: 20px minmax(0, 1fr); column-gap: 14px; padding: 16px 20px; }
  .diff .ic, .conn-pts .ic { grid-row: span 2; margin: 2px 0 0; }
  .diff span, .conn-pts span { margin-top: 2px; }
  /* Toque: nada por debajo de 44 px */
  .btn.sm { height: 44px; }
  footer a { padding: 11px 0; }
  footer .legal a { display: inline-block; padding: 12px 8px 12px 0; }
  /* El botón del chat se aparta mientras se baja leyendo y vuelve al subir (kelp.js pone .kc-away) */
  body .kchat-launcher { transition: transform .35s var(--ease), opacity .35s; }
  html.kc-away body .kchat-launcher { transform: translateY(96px); opacity: 0; }
  .stage { height: 330px; }
  .hero-copy .ctas { flex-direction: column; align-items: stretch; max-width: 320px; margin-inline: auto; }
  .hero-copy .ctas .btn { justify-content: center; }
  .close-in .sym { width: 360px; height: 360px; right: -140px; margin-top: -180px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* ---- Modal de demo (kelp.js la inyecta en todas las páginas) ---- */
html:has(.demo-modal[open]) { overflow: hidden; }
.demo-modal { width: min(560px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); margin: auto; padding: 0; border: 0; border-radius: 20px; background: var(--paper); color: var(--ink);
  box-shadow: 0 30px 80px -24px rgb(1 33 32 / .5); opacity: 0; translate: 0 12px; transition: opacity .25s var(--ease-out), translate .25s var(--ease-out); }
.demo-modal.go { opacity: 1; translate: 0 0; }
.demo-modal::backdrop { background: rgb(1 33 32 / .45); backdrop-filter: blur(4px); }
.dm-in { position: relative; padding: 32px; }
.dm-x { position: absolute; top: 16px; right: 16px; width: 36px; height: 36px; border-radius: 50%; color: var(--ink-2); }
.dm-x:hover { background: var(--tint); color: var(--ink); }
.dm-k { display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 18px; border-radius: 11px; background: var(--deep); }
.dm-k svg { width: 24px; height: 24px; fill: var(--foam); }
.dm-in h3 { font-size: 26px; line-height: 1.15; letter-spacing: var(--track); font-weight: var(--w-head); }
.dm-sub { margin-top: 8px; font-size: 15px; color: var(--ink-2); }
.dm-form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 24px; }
.dm-f { display: grid; gap: 6px; }
.dm-f.w, .dm-c, .dm-form .btn, .dm-err, .dm-nota { grid-column: 1 / -1; }
.dm-f label { font-size: 13px; font-weight: 600; color: var(--ink-2); }
.dm-f input, .dm-f select { height: 44px; padding: 0 12px; border: 0; border-radius: 10px; font: inherit; font-size: 15px; color: var(--ink); background: var(--white); box-shadow: inset 0 0 0 1px var(--line-2); }
.dm-f input:focus, .dm-f select:focus { outline: 0; box-shadow: inset 0 0 0 2px var(--teal); }
.dm-c { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.45; color: var(--ink-2); }
.dm-c input { width: 16px; height: 16px; margin-top: 2px; flex: none; accent-color: var(--deep); }
.dm-c a { text-decoration: underline; }
.dm-form .btn { justify-content: center; margin-top: 6px; }
.dm-err { display: none; font-size: 13.5px; color: #9B2C2C; }
.dm-err.show { display: block; }
.dm-nota { font-size: 13px; color: var(--ink-3); text-align: center; }
@media (max-width: 560px) { .dm-in { padding: 24px 20px; } .dm-form { grid-template-columns: 1fr; } }
.dm-kchat { width: 100%; justify-content: center; margin-top: 12px; }
[data-kchat] .ic { width: 18px; height: 18px; fill: currentColor; stroke: none; }
/* En móvil la burbuja «¿Hablamos?» tapa el contenido en cada pantalla: queda solo el botón del chat */
@media (max-width: 700px) { body .kchat-bubble { display: none; } }
