/* ==========================================================================
   VISORA · Estilos de las páginas Soluciones y Contacto
   Referencia visual: video de referencia (oscuro cálido, serif + sans, acento lima)
   Medidas tomadas sobre un viewport de 1920 px.
   ========================================================================== */

@font-face {
  font-family: "Source Serif";
  src: url("/assets/fonts/source-serif-4.woff2") format("woff2-variations"), url("/assets/fonts/source-serif-4.woff2") format("woff2");
  font-weight: 200 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/inter.woff2") format("woff2-variations"), url("/assets/fonts/inter.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
}

:root {
  /* Color */
  --bg: #0f0a07;
  --bg-deep: #050302;
  --surface: #140f0b;
  --surface-2: #1a1410;
  --surface-3: #221b16;
  --line: rgba(255, 236, 210, .065);
  --line-2: rgba(255, 236, 210, .11);
  --line-3: rgba(255, 236, 210, .18);
  --text: #f6ecdc;
  --text-2: rgba(246, 236, 220, .70);
  --text-3: rgba(246, 236, 220, .54);
  --text-4: rgba(246, 236, 220, .28);
  --accent: #d2f011;          /* lima del video — cambialo acá para usar otro acento */
  --accent-ink: #151a00;
  --accent-glow: rgba(210, 240, 17, .28);
  --cream: #fef0d4;
  --cream-ink: #1a120a;
  --amber-1: #2a1a0b;
  --amber-2: #6a4418;
  --amber-3: #b87d38;
  --amber-4: #f0cf88;
  --warn: #f5a524;
  --ok: #5ad17a;
  --blue: #3b82f6;

  /* Tipografía */
  --serif: "Source Serif", "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --fs-display: clamp(32px, 1.6vw + 15px, 47px);
  --fs-statement: clamp(23px, .9vw + 13px, 31px);
  --fs-body: clamp(15px, .2vw + 13px, 17px);

  /* Layout */
  --container: 976px;
  --container-wide: 1072px;
  --gutter: 16px;
  --hdr-h: 75px;
  --ann-h: 80px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 90px; }
html:focus-within { scroll-behavior: smooth; }
body {
  margin: 0; min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans); font-size: 16px; line-height: 1.55;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
  font-feature-settings: "cv11", "ss01";
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, h5, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: var(--accent); color: var(--accent-ink); }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 999px; background: var(--cream); color: var(--cream-ink); font-weight: 500; text-decoration: none; transition: top .2s; }
.skip:focus { top: 12px; }

.wrap { width: min(var(--container), 100% - 2 * var(--gutter)); margin-inline: auto; position: relative; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

/* ---------- Botones ---------- */
.btn {
  --h: 44px;
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  height: var(--h); padding: 0 22px; border-radius: 999px; border: 0;
  font: 500 14px/1 var(--sans); letter-spacing: -.005em; text-decoration: none; white-space: nowrap;
  cursor: pointer; transition: background-color .25s var(--ease), color .25s, box-shadow .3s var(--ease), transform .25s var(--ease), border-color .25s;
}
.btn-sm { --h: 34px; padding: 0 16px; font-size: 13.5px; }
.btn-accent { position: relative; overflow: hidden; isolation: isolate; background: var(--accent); color: var(--accent-ink);
  box-shadow: 0 0 0 1px rgba(236, 255, 120, .55) inset, 0 0 22px -2px rgba(210, 240, 17, .5), 0 10px 36px -10px rgba(210, 240, 17, .55); }
.btn-accent::after { content: ""; position: absolute; inset: -2px; z-index: -1; pointer-events: none;
  background: linear-gradient(105deg, transparent 34%, rgba(255, 255, 255, .7) 50%, transparent 66%); transform: translateX(-130%); animation: sweep 5.2s ease-in-out infinite; }
@keyframes sweep { 0%, 64% { transform: translateX(-130%); } 88%, 100% { transform: translateX(130%); } }
.btn-accent:hover { background: #def94a; box-shadow: 0 0 0 1px rgba(240, 255, 140, .7) inset, 0 0 30px 0 rgba(210, 240, 17, .55), 0 12px 40px -8px rgba(210, 240, 17, .6); }
.btn-cream { background: var(--cream); color: var(--cream-ink); box-shadow: 0 0 20px -6px rgba(254, 240, 212, .45); }
.btn-cream:hover { background: #fff7e6; }
.btn-outline { background: rgba(255, 236, 210, .03); color: var(--text); box-shadow: 0 0 0 1px var(--line-3) inset; }
.btn-outline:hover { background: rgba(255, 236, 210, .08); }
.btn-quiet { background: transparent; color: var(--text-2); padding: 0 14px; }
.btn-quiet:hover { color: var(--text); }
.btn-quiet svg { transition: transform .25s var(--ease); }
.btn-quiet:hover svg { transform: translateY(2px); }
.btn:active { transform: translateY(1px); }
.btn-block { width: 100%; }

/* ---------- Encabezado ---------- */
.hdr { position: absolute; inset: 0 0 auto 0; z-index: 50; height: var(--hdr-h); }
.hdr::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--line); }
.hdr-in { height: 100%; width: min(var(--container-wide), 100% - 2 * var(--gutter)); margin-inline: auto;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px;
  transition: width .5s var(--ease-out); }
.brand { justify-self: start; display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text);
  font: 500 21px/1 var(--sans); letter-spacing: -.02em; }
.brand-mark { width: 32px; height: 31px; color: var(--text); overflow: visible; }
.brand-mark .ant, .node-hub .ant { fill: var(--accent); filter: drop-shadow(0 0 2.5px rgba(210, 240, 17, .95)); animation: antGlow 2.8s ease-in-out infinite; }
@keyframes antGlow { 50% { filter: drop-shadow(0 0 5px rgba(210, 240, 17, 1)); } }
.brand-mark .eye, .node-hub .eye, .app-logo .eye, .bot .eye { transform-box: fill-box; transform-origin: center; animation: blinkBot 6s ease-in-out infinite; }
@keyframes blinkBot { 0%, 93%, 100% { transform: scaleY(1); } 95% { transform: scaleY(.12); } }
.hdr-nav { display: flex; gap: 34px; font-size: 14px; }
.hdr-nav a { color: var(--text); text-decoration: none; opacity: .88; transition: opacity .2s; }
.hdr-nav a:hover { opacity: 1; }
.hdr-end { justify-self: end; display: flex; align-items: center; gap: 8px; }
.btn-hdr { --h: 32px; padding: 0 14px; font-size: 14px; background: rgba(255,236,210,.04); color: var(--text); box-shadow: 0 0 0 1px var(--line-3) inset; }
.btn-hdr:hover { background: rgba(255,236,210,.1); }
.hdr-menu { display: none; height: 32px; padding: 0 12px; border-radius: 999px; border: 0; background: rgba(255,236,210,.04); box-shadow: 0 0 0 1px var(--line-2) inset; cursor: pointer; font-size: 13.5px; align-items: center; gap: 7px; }
.hdr-menu i { display: grid; gap: 3px; width: 12px; }
.hdr-menu i::before, .hdr-menu i::after { content: ""; height: 1.5px; background: currentColor; border-radius: 2px; transition: transform .3s var(--ease); }
.hdr-menu[aria-expanded="true"] i::before { transform: translateY(2.25px) rotate(45deg); }
.hdr-menu[aria-expanded="true"] i::after { transform: translateY(-2.25px) rotate(-45deg); }
.hdr-sheet { position: absolute; top: calc(100% + 8px); left: var(--gutter); right: var(--gutter); padding: 8px; border-radius: 16px;
  background: rgba(20, 15, 11, .96); box-shadow: 0 0 0 1px var(--line-2) inset, 0 24px 60px rgba(0,0,0,.5);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.hdr-sheet a { display: block; padding: 14px 14px; border-radius: 10px; text-decoration: none; font-size: 16px; }
.hdr-sheet a:hover { background: rgba(255,236,210,.05); }
.hdr-sheet a + a { border-top: 1px solid var(--line); }

/* Estado fijo: aparece al bajar, más angosto y con botón lleno (como en el video) */
.hdr.is-fixed { position: fixed; animation: hdrIn .55s var(--ease-out) both;
  background: rgba(8, 5, 3, .72); -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2); }
.hdr.is-fixed .hdr-in { width: min(var(--container), 100% - 2 * var(--gutter)); }
.hdr.is-fixed .btn-hdr { background: var(--cream); color: var(--cream-ink); box-shadow: 0 0 18px -4px rgba(254, 240, 212, .5); }
.hdr.is-fixed .btn-hdr:hover { background: #fff7e6; }
@keyframes hdrIn { from { transform: translateY(-100%); } to { transform: none; } }

/* ---------- Fondo general y líneas de plano ---------- */
.page-glow { position: absolute; inset: 0 0 auto 0; height: 1100px; pointer-events: none; z-index: 0;
  background:
    linear-gradient(180deg, var(--bg-deep) 0, var(--bg-deep) 75px, rgba(5,3,2,.0) 300px),
    radial-gradient(60% 50% at 15% 30%, rgba(70, 20, 20, .14), transparent 70%),
    radial-gradient(60% 50% at 85% 30%, rgba(70, 20, 20, .12), transparent 70%); }
.vline, .hline { position: absolute; pointer-events: none; background: var(--line); }
.vline { width: 1px; top: 0; bottom: 0; }
.hline { height: 1px; left: 0; right: 0; }

/* ---------- Hero ---------- */
.hero { position: relative; z-index: 1; min-height: 905px; padding-top: var(--hdr-h); overflow: hidden; }
.hero-canvas { position: absolute; left: 0; top: 0; width: 100%; height: 100%; pointer-events: none; }
.hero .vline { opacity: .9; }
.hero-lines .vline:nth-child(1) { left: calc(50% - 536px); }
.hero-lines .vline:nth-child(2) { left: calc(50% + 536px); }
.hero-lines .vline:nth-child(3) { left: calc(50% - 488px); top: calc(var(--hdr-h) + var(--ann-h)); opacity: .6; }
.hero-lines .vline:nth-child(4) { left: calc(50% + 488px); top: calc(var(--hdr-h) + var(--ann-h)); opacity: .6; }
.hero-lines .hline { top: calc(var(--hdr-h) + var(--ann-h)); }
.hero-lines { position: absolute; inset: 0; pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, #000 0, #000 55%, transparent 92%); mask-image: linear-gradient(180deg, #000 0, #000 55%, transparent 92%); }

.announce-row { position: relative; height: var(--ann-h); display: grid; place-items: center; }
.announce { display: inline-flex; align-items: center; gap: 12px; color: var(--text); text-decoration: none; font-size: 14px; letter-spacing: -.005em; opacity: .92; transition: opacity .2s; }
.announce:hover { opacity: 1; }
.announce-tag { height: 26px; padding: 0 10px; display: inline-grid; place-items: center; border-radius: 999px; font-size: 13px;
  background: rgba(255, 236, 210, .05); box-shadow: 0 0 0 1px var(--line-2) inset; }
.announce svg { width: 12px; height: 12px; opacity: .8; transition: transform .25s var(--ease); }
.announce:hover svg { transform: translateX(3px); }

.hero-copy { position: relative; text-align: center; padding-top: 32px; }
.display, .h2 { text-shadow: 0 0 30px rgba(255, 226, 176, .16), 0 0 1px rgba(255, 240, 215, .35); }
.shine { background: linear-gradient(100deg, var(--text) 0%, var(--text) 38%, #fffdf3 46%, #f8e4b0 50%, var(--text) 58%, var(--text) 100%);
  background-size: 280% 100%; background-position: 100% 0; -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
  text-shadow: none; filter: drop-shadow(0 0 10px rgba(255, 226, 170, .3)); animation: textShine 7.5s ease-in-out infinite; }
@keyframes textShine { 0%, 52% { background-position: 100% 0; } 86%, 100% { background-position: 0 0; } }
.display { font-family: var(--serif); font-weight: 380; font-size: var(--fs-display); line-height: 1.07; letter-spacing: -.012em;
  font-variation-settings: "opsz" 36; color: var(--text); text-wrap: balance; }
.hero-sub { max-width: 35em; margin: 18px auto 0; font-size: var(--fs-body); line-height: 1.55; color: var(--text-2); text-wrap: balance; }
.hero-cta { margin-top: 30px; display: flex; justify-content: center; align-items: center; gap: 10px; flex-wrap: wrap; }
.hero-cta .btn-quiet { background: rgba(12, 8, 5, .74); color: var(--text); box-shadow: 0 0 0 1px var(--line-2) inset; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); padding: 0 18px; }
.hero-cta .btn-quiet:hover { background: rgba(30, 22, 16, .85); }

/* Entrada del hero (coordinada con la animación del globo) */
.js .hero [data-intro] { opacity: 0; filter: blur(12px); transform: translateY(8px); }
.js .hero.intro-text [data-intro] { opacity: 1; filter: blur(0); transform: none;
  transition: opacity 1s var(--ease), filter 1.1s var(--ease), transform 1.1s var(--ease); transition-delay: calc(var(--d, 0) * 1ms); }
.js .hdr.pre { opacity: 0; }
.js .hdr { transition: opacity .9s var(--ease); }

/* ---------- Secciones ---------- */
.sec { position: relative; z-index: 1; }
.h2 { font-family: var(--serif); font-weight: 380; font-size: var(--fs-display); line-height: 1.08; letter-spacing: -.012em;
  font-variation-settings: "opsz" 36; text-wrap: balance; }
.lead { margin-top: 14px; font-size: var(--fs-body); color: var(--text-2); text-wrap: pretty; }
.lead b, .lead strong { color: var(--text); font-weight: 500; }
.muted { color: var(--text-2); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; color: var(--text); margin-bottom: 14px; }
.eyebrow svg { width: 16px; height: 16px; }

/* Aparición al hacer scroll */
.js .reveal { opacity: 0; filter: blur(8px); transform: translateY(14px); transition: opacity .9s var(--ease), filter 1s var(--ease), transform 1s var(--ease); transition-delay: calc(var(--d, 0) * 1ms); }
.js .reveal.in { opacity: 1; filter: none; transform: none; }

/* ---------- Producto: sistema de ejemplo ---------- */
.sec-product { padding-top: 0; }
.sec-product > .wrap:first-child { padding-bottom: 50px; }
.app-stage { position: relative; width: min(1240px, 100% - 2 * var(--gutter)); margin: 0 auto; }
.app-fig { position: relative; height: 100%; }
.app { position: relative; width: 100%; display: grid; grid-template-columns: 63px 1fr;
  border: 1px solid var(--line-2); border-radius: 14px; box-shadow: 0 40px 90px -40px rgba(0,0,0,.8);
  background: linear-gradient(180deg, rgba(25,19,15,.92), rgba(15,10,7,.92)); overflow: hidden; font-size: 14px; }
.app-side { border-right: 1px solid var(--line); display: flex; flex-direction: column; align-items: center; gap: 22px; padding-top: 18px; color: var(--text-3); }
.app-logo { width: 22px; height: 22px; border-radius: 6px; background: var(--accent); display: grid; place-items: center; margin-bottom: 8px; }
.app-logo svg { width: 15px; color: var(--accent-ink); }
.app-logo .ant { fill: currentColor; filter: none; animation: none; }
.app-logo { --bot-eye: var(--accent); }
.app-side svg.ic { width: 16px; height: 16px; }
.app-side .on { color: var(--text); }
.app-main { display: grid; grid-template-rows: 52px 1fr; min-width: 0; }
.app-top { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 22px; border-bottom: 1px solid var(--line); font-size: 13.5px; }
.app-back { color: var(--text); opacity: .9; display: inline-flex; gap: 8px; align-items: center; }
.app-title { color: var(--text); opacity: .9; }
.app-title em { font-style: normal; margin-left: 6px; font-size: 11.5px; padding: 2px 6px; border-radius: 5px; background: rgba(255,236,210,.06); color: var(--text-2); }
.app-actions { justify-self: end; display: inline-flex; align-items: center; gap: 12px; padding-right: 8px; color: var(--text-3); font-size: 12.5px; }
.app-avatar { width: 24px; height: 24px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #e9c9a6, #8a5a3b 70%); box-shadow: 0 0 0 2px #1b140f; opacity: 0; transition: opacity .6s; }
.app.s2 .app-avatar { opacity: 1; }
.app-status { display: inline-flex; align-items: center; gap: 7px; height: 26px; padding: 0 11px; border-radius: 7px; box-shadow: 0 0 0 1px var(--line-2) inset; background: rgba(255,236,210,.03); }
.app-status i { width: 9px; height: 9px; border-radius: 50%; box-shadow: 0 0 0 1.5px var(--text-3) inset; }
.app-body { display: grid; grid-template-columns: 402px 1fr; min-height: 0; }
.app-report { min-width: 0; display: flex; flex-direction: column; }
.tabs { height: 52px; display: flex; align-items: center; gap: 8px; padding-left: 14px; border-bottom: 1px solid var(--line); font-size: 13.5px; color: var(--text-3); }
.tabs span { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 8px; }
.tabs span svg { width: 13px; height: 13px; }
.tabs .on { color: var(--text); background: rgba(255,236,210,.04); }
.report { padding: 38px 40px 34px 56px; max-width: 980px; }
.report h3 { font: 500 21px/1.3 var(--sans); letter-spacing: -.015em; color: var(--text); }
.tags { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 16px 0 34px; font-size: 12.5px; color: var(--text-3); align-items: center; }
.tags span { display: inline-flex; gap: 5px; align-items: center; }
.tag-warn { background: #b58a10; color: #1a1300 !important; padding: 3px 8px; border-radius: 5px; font-weight: 500; }
.report h4 { font: 500 14px/1.4 var(--sans); color: var(--text); margin-bottom: 10px; }
.report p { color: var(--text-2); font-size: 14px; line-height: 1.75; margin-bottom: 30px; max-width: 640px; }
.report code { font-family: var(--mono); font-size: 13px; color: var(--text); background: rgba(255,236,210,.06); padding: 2px 6px; border-radius: 5px; }
.cursor { position: absolute; z-index: 3; left: 0; top: 0; display: flex; align-items: flex-start; gap: 2px; pointer-events: none; opacity: 0; transition: opacity .5s; }
.cursor svg { width: 16px; height: 16px; }
.cursor b { font: 500 11px/1 var(--sans); padding: 4px 6px; border-radius: 5px; margin-top: 12px; }
.cur-you { color: #fff; }
.cur-you b { background: var(--cream); color: var(--cream-ink); }
.cur-b { color: #a970ff; }
.cur-b b { background: #8b5cf6; color: #fff; }
.cursor { transition: opacity .5s, transform 1.1s var(--ease); }
.app.s1 .cur-you { opacity: 1; }
.app-badge { position: absolute; z-index: 4; right: 18px; top: 62px; font-size: 12px; color: var(--text-2); padding: 6px 10px; border-radius: 999px; background: rgba(15,10,7,.85); box-shadow: 0 0 0 1px var(--line-2) inset; }


/* Ejemplo de automatización: recordatorio de turnos */
.app-status.is-live { color: var(--text); }
.app-status.is-live i { box-shadow: none; background: var(--ok); box-shadow: 0 0 0 3px rgba(90, 209, 122, .18), 0 0 10px rgba(90, 209, 122, .7); }
.app-agenda { border-right: 1px solid var(--line); display: flex; flex-direction: column; padding: 22px 18px 28px; gap: 14px; min-width: 0; }
.ag-head { display: flex; justify-content: space-between; align-items: baseline; }
.ag-head b { font-weight: 500; font-size: 14px; }
.ag-head span { font-size: 12.5px; color: var(--text-3); }
.ag-list { display: grid; gap: 8px; }
.ag-list li { display: grid; grid-template-columns: 46px 1fr auto; align-items: center; gap: 10px; padding: 11px 12px; border-radius: 10px;
  background: rgba(255,236,210,.025); box-shadow: 0 0 0 1px var(--line) inset; font-size: 13px; transition: background .5s, box-shadow .5s; }
.ag-list time { font-variant-numeric: tabular-nums; color: var(--text-2); }
.ag-who { color: var(--text); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ag-st { font-size: 12px; padding: 3px 8px; border-radius: 999px; color: var(--text-2); background: rgba(255,236,210,.05); white-space: nowrap; transition: color .4s, background .4s; }
.ag-list li.ok .ag-st { color: #bff5cd; background: rgba(90, 209, 122, .16); }
.ag-list li.cancel .ag-st { color: #ffc2b5; background: rgba(240, 101, 67, .16); }
.ag-list li.free .ag-st { color: #d9ecff; background: rgba(79, 141, 247, .18); }
.ag-list li.wait .ag-st { color: #ffe1a6; background: rgba(245, 165, 36, .16); }
.ag-list li.flash { background: rgba(255,236,210,.06); box-shadow: 0 0 0 1px var(--line-3) inset; }
.ag-foot { margin-top: 6px; display: grid; gap: 10px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 13px; }
.ag-foot > div:first-child { display: flex; justify-content: space-between; color: var(--text-2); }
.ag-foot b { font-weight: 500; color: var(--text); font-variant-numeric: tabular-nums; }
.ag-bar { height: 6px; border-radius: 3px; background: rgba(255,236,210,.07); overflow: hidden; }
.ag-bar i { display: block; height: 100%; width: var(--p, 0%); border-radius: inherit; background: var(--ok); box-shadow: 0 0 12px rgba(90,209,122,.6); transition: width .8s var(--ease); }
.tag-ok { display: inline-flex; gap: 6px; align-items: center; color: #bff5cd !important; background: rgba(90, 209, 122, .14); padding: 3px 9px; border-radius: 5px; font-weight: 500; }
.tag-ok i { width: 6px; height: 6px; border-radius: 50%; background: var(--ok); }
.app-report { container-type: inline-size; }
.flow-wrap { display: grid; gap: 28px; }
@container (min-width: 760px) { .flow-wrap { grid-template-columns: minmax(0, 1fr) 270px; align-items: start; } }
.flow { display: grid; gap: 6px; counter-reset: none; }
.flow li { display: grid; grid-template-columns: 30px 1fr; gap: 14px; padding: 14px 16px; border-radius: 12px; transition: background .5s, box-shadow .5s, opacity .5s; opacity: .55; }
.flow li.on { opacity: 1; }
.flow li.cur { background: rgba(255,236,210,.045); box-shadow: 0 0 0 1px var(--line-2) inset, 0 0 30px -8px rgba(210, 240, 17, .25); }
.fi { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: 12.5px; font-weight: 500; color: var(--text-2); box-shadow: 0 0 0 1px var(--line-3) inset; transition: background .4s, color .4s, box-shadow .4s; }
.flow li.on .fi { background: var(--accent); color: var(--accent-ink); box-shadow: 0 0 14px rgba(210, 240, 17, .55); }
.flow h4 { font: 500 14.5px/1.35 var(--sans); color: var(--text); margin: 4px 0 4px; }
.flow p { margin: 0 !important; font-size: 13.5px; line-height: 1.55; color: var(--text-2); }
.wa { border-radius: 14px; padding: 14px; background: #0b1410; box-shadow: 0 0 0 1px rgba(90, 209, 122, .18) inset; display: grid; gap: 10px; transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .app:not(.s1) .wa { opacity: 0; transform: translateY(10px); }
.wa-label { font-size: 11.5px; color: var(--text-3); }
.wa-msg { justify-self: start; max-width: 100%; padding: 10px 12px 6px; border-radius: 4px 12px 12px 12px; background: #1f2c25; font-size: 13.5px; line-height: 1.45; color: #eaf3ee; }
.wa-msg p { margin: 0 !important; color: inherit !important; font-size: 13.5px !important; }
.wa-msg small { display: block; text-align: right; font-size: 10.5px; color: rgba(234,243,238,.5); margin-top: 2px; }
.wa-btns { display: grid; gap: 6px; }
.wa-b { text-align: center; padding: 8px; border-radius: 9px; background: #1a2620; color: #8fe3a8; font-size: 13px; transition: background .3s, box-shadow .3s, color .3s; }
.wa-b.pressed { background: #2a4a37; color: #d9ffe5; box-shadow: 0 0 0 1px rgba(143,227,168,.5) inset, 0 0 16px rgba(90,209,122,.35); }

/* Línea de característica */
.feature-line { display: grid; grid-template-columns: 26px 1fr; gap: 16px; align-items: start; padding: 66px 0 70px; border-bottom: 1px solid var(--line); }
.feature-line svg { width: 22px; height: 22px; margin-top: 3px; }
.feature-line p { font-size: var(--fs-body); line-height: 1.55; color: var(--text-2); max-width: 30em; }
.feature-line strong { color: var(--text); font-weight: 500; }

/* Dúo: Operaciones / Automatización */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; padding: 100px 0 40px; }
.duo-h { display: flex; align-items: center; gap: 12px; font: 500 26px/1.2 var(--sans); letter-spacing: -.02em; }
.duo-h svg { width: 20px; height: 20px; }
.duo p { margin-top: 14px; color: var(--text-2); font-size: var(--fs-body); max-width: 25em; text-wrap: pretty; }
.viz { position: relative; height: 470px; margin-top: 34px; }
.viz-win { position: absolute; left: 24px; right: 24px; bottom: 30px; height: 292px; border-radius: 12px; background: linear-gradient(180deg, #19130f, #110c09);
  box-shadow: 0 0 0 1px var(--line-2) inset, 0 30px 60px -20px rgba(0,0,0,.6); overflow: hidden; }
.viz-win::after { content: ""; position: absolute; inset: auto 0 0 0; height: 60%; background: linear-gradient(180deg, transparent, rgba(15,10,7,.9)); }
.win-bar { height: 34px; display: flex; align-items: center; gap: 6px; padding: 0 14px; border-bottom: 1px solid var(--line); font-size: 11.5px; color: var(--text-3); }
.win-bar i { width: 7px; height: 7px; border-radius: 50%; background: #ef4444; }
.win-bar i:nth-child(2) { background: #f59e0b; } .win-bar i:nth-child(3) { background: #22c55e; }
.win-bar .url { margin-inline: auto; display: inline-flex; gap: 6px; align-items: center; }
.win-bar .url-r { margin-left: 0; }
.sk { display: grid; gap: 14px; padding: 22px 18px; }
.sk span { height: 7px; border-radius: 4px; background: rgba(255,236,210,.06); }
.sk-cols { display: grid; grid-template-columns: 110px 1fr; gap: 14px; padding: 18px; }
.sk-cols > div { border-radius: 8px; background: rgba(255,236,210,.025); box-shadow: 0 0 0 1px var(--line) inset; height: 200px; }
.pr { position: absolute; left: calc(50% - 169px); width: 338px; display: grid; grid-template-columns: 18px 1fr; gap: 10px; padding: 12px 14px; border-radius: 10px;
  background: rgba(25,19,15,.9); box-shadow: 0 0 0 1px var(--line) inset; font-size: 12px; color: var(--text-2); }
.pr b { font-weight: 400; color: var(--text); font-size: 12.5px; }
.pr small { display: flex; align-items: center; gap: 5px; margin-top: 3px; font-size: 11.5px; color: var(--text-3); }
.pr small i { width: 12px; height: 12px; border-radius: 50%; background: var(--accent); display: inline-block; }
.pr svg { width: 14px; color: #8b7cf6; margin-top: 2px; }
.pr-1 { top: 0; animation: prFloat 6s ease-in-out infinite; }
.pr-2 { top: 86px; animation: prFloat 6s ease-in-out -3s infinite; }
@keyframes prFloat { 0%, 100% { transform: translateY(0); opacity: .75; } 50% { transform: translateY(-6px); opacity: 1; } }
.calc { position: absolute; left: 50%; bottom: 42px; transform: translateX(-50%); z-index: 2; height: 34px; padding: 0 16px 0 14px; border-radius: 999px;
  display: inline-flex; align-items: center; gap: 10px; font-size: 13px; color: var(--text); white-space: nowrap; background: #120d0a; isolation: isolate; }
.calc::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; z-index: -2;
  background: conic-gradient(from var(--ang, 0deg), rgba(255,236,210,.12), #3b82f6, #ec4899, #f59e0b, rgba(255,236,210,.12) 60%); animation: ang 4s linear infinite; }
.calc::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: #120d0a; z-index: -1; }
.calc i { width: 6px; height: 6px; border-radius: 50%; background: var(--text); animation: blink 1.4s ease-in-out infinite; }
.calc-glow { position: absolute; left: 50%; bottom: 20px; width: 260px; height: 80px; transform: translateX(-50%); filter: blur(30px); opacity: .45;
  background: conic-gradient(from var(--ang, 0deg), #3b82f6, #ec4899, #f59e0b, #3b82f6); animation: ang 4s linear infinite; border-radius: 50%; }
@property --ang { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes ang { to { --ang: 360deg; } }
@keyframes blink { 50% { opacity: .2; } }

.viz-auto .viz-win { right: 24px; }
.core { position: absolute; left: 50%; top: 172px; width: 46px; height: 46px; margin-left: -23px; border-radius: 50%; z-index: 2;
  background: radial-gradient(circle at 40% 30%, #6aa4ff, #2563eb 60%, #1d3fa8); box-shadow: 0 0 0 4px rgba(59,130,246,.25), 0 0 40px 8px rgba(59,130,246,.45);
  display: grid; place-items: center; color: #fff; }
.core svg { width: 20px; height: 20px; }
.pulse { position: absolute; left: 50%; top: 195px; width: 300px; height: 300px; margin: -150px 0 0 -150px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(59,130,246,.22), rgba(59,130,246,.06) 60%, transparent); }
.pulse i { position: absolute; inset: 35%; border-radius: 50%; box-shadow: 0 0 0 1px rgba(110,160,255,.35); animation: ripple 3.2s var(--ease) infinite; }
.pulse i:nth-child(2) { animation-delay: 1.07s; } .pulse i:nth-child(3) { animation-delay: 2.14s; }
@keyframes ripple { from { transform: scale(.6); opacity: .9; } to { transform: scale(2.6); opacity: 0; } }
.chip { position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 8px; font-size: 12px; color: var(--text);
  background: rgba(20,15,11,.92); box-shadow: 0 0 0 1px var(--line-2) inset, 0 8px 20px rgba(0,0,0,.4); white-space: nowrap;
  opacity: 0; transform: translateY(8px) scale(.96); transition: opacity .5s var(--ease), transform .6s var(--ease); }
.chip.on { opacity: 1; transform: none; }
.chip svg { width: 13px; height: 13px; }
.chip .w { color: var(--warn); } .chip .k { color: var(--ok); }

/* ---------- Reloj de arena ---------- */
.sand { position: relative; z-index: 1; height: 860px; margin-top: 90px; overflow: hidden;
  background: linear-gradient(180deg, rgba(20,12,6,0) 0%, #1c1209 11%, #3d2713 24%, #66431c 36%, #93632a 46%, #c18b44 54%, #e2b66f 60%, #f0cf88 64%,
    #e0b670 67%, #b98141 72%, #8a5a26 77%, #5c3c19 83%, #36230f 89%, #1d130a 95%, var(--bg) 100%); }
.sand::after { content: ""; position: absolute; left: -10%; right: -10%; top: 64%; height: 220px; transform: translateY(-50%); pointer-events: none;
  background: radial-gradient(50% 50% at 50% 50%, rgba(255, 230, 170, .28), transparent 70%); }
.sand-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.sand-copy { position: relative; z-index: 1; height: 100%; display: flex; flex-direction: column; align-items: center; padding-top: 154px; }
.sand-title { display: grid; grid-template-columns: 1fr 120px 1fr; align-items: center; width: min(720px, 100% - 32px); font: 400 21px/1.3 var(--sans); letter-spacing: -.01em; color: var(--text); text-shadow: 0 2px 16px rgba(0,0,0,.35); }
.sand-title span:first-child { text-align: right; }
.sand-copy .btn { margin-top: 40px; }

/* ---------- A medida ---------- */
.sec-custom { padding-top: 170px; }
.build-zone { position: relative; padding: 90px 0 80px; }
.build-zone .hline { display: none; top: 168px; left: calc(-1 * max(var(--gutter), (100vw - var(--container)) / 2)); right: auto; width: calc(max(var(--gutter), (100vw - var(--container)) / 2) + 60px);
  background: linear-gradient(90deg, transparent, var(--line-2)); }
.build-zone .vline { top: 0; bottom: 0; background: linear-gradient(180deg, transparent, var(--line), transparent); }
.build-zone .vline.a { left: 60px; } .build-zone .vline.b { right: 60px; }
.build { position: relative; width: min(820px, 100%); margin: 0 auto; display: grid; gap: 22px; }
.build-q { text-align: center; font-size: 14px; color: var(--text-2); }
.mods { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.mod { display: inline-flex; align-items: center; gap: 9px; height: 42px; padding: 0 14px 0 10px; border-radius: 999px; border: 0; cursor: pointer;
  background: rgba(30, 23, 18, .9); color: var(--text-2); box-shadow: 0 0 0 1px var(--line-2) inset; font-size: 14px; transition: background .25s, color .25s, box-shadow .3s, transform .2s; }
.mod svg { width: 20px; height: 20px; opacity: .55; transition: opacity .25s, filter .3s; }
.mod:hover { color: var(--text); background: rgba(40, 31, 25, .95); }
.mod:active { transform: scale(.97); }
.mod-check { width: 16px; height: 16px; border-radius: 50%; box-shadow: 0 0 0 1.5px var(--text-4) inset; position: relative; transition: background .25s, box-shadow .25s; }
.mod[aria-pressed="true"] { color: var(--text); background: rgba(48, 38, 30, .95); box-shadow: 0 0 0 1px var(--line-3) inset, 0 0 22px -6px rgba(255, 226, 176, .35); }
.mod[aria-pressed="true"] svg { opacity: 1; filter: drop-shadow(0 0 6px rgba(255, 230, 180, .35)); }
.mod[aria-pressed="true"] .mod-check { background: var(--accent); box-shadow: 0 0 10px rgba(210, 240, 17, .6); }
.mod[aria-pressed="true"] .mod-check::after { content: ""; position: absolute; left: 5px; top: 3px; width: 4px; height: 7px; border: solid var(--accent-ink); border-width: 0 1.6px 1.6px 0; transform: rotate(45deg); }
.board { border-radius: 16px; overflow: hidden; background: linear-gradient(180deg, #1a140f, #120d0a); box-shadow: 0 0 0 1px var(--line-2) inset, 0 40px 80px -30px rgba(0,0,0,.7); }
.board-bar { height: 40px; display: flex; align-items: center; gap: 6px; padding: 0 16px; border-bottom: 1px solid var(--line); font-size: 12.5px; color: var(--text-3); }
.board-bar i { width: 8px; height: 8px; border-radius: 50%; background: #ef4444; }
.board-bar i:nth-child(2) { background: #f59e0b; } .board-bar i:nth-child(3) { background: #22c55e; }
.board-name { margin-left: 12px; color: var(--text-2); }
.board-count { margin-left: auto; font-variant-numeric: tabular-nums; }
.board-body { display: grid; grid-template-columns: 176px 1fr; min-height: 340px; }
.board-side { border-right: 1px solid var(--line); padding: 14px 10px; display: grid; align-content: start; gap: 2px; }
.board-side li { display: none; align-items: center; gap: 9px; padding: 8px 10px; border-radius: 8px; font-size: 13px; color: var(--text-2); }
.board-side li svg { width: 16px; height: 16px; flex: none; }
.board-side li.on { display: flex; animation: wIn .45s var(--ease) both; }
.board-side li.on:first-child, .board-side li.on.first { background: rgba(255,236,210,.05); color: var(--text); }
.board-grid { padding: 16px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; align-content: start; }
.w.on.wide { grid-column: 1 / -1; }
.w { display: none; border-radius: 12px; padding: 14px; background: rgba(255,236,210,.03); box-shadow: 0 0 0 1px var(--line) inset; min-width: 0; }
.w.on { display: block; animation: wIn .55s var(--ease) both; }
@keyframes wIn { from { opacity: 0; transform: translateY(8px) scale(.97); } to { opacity: 1; transform: none; } }
.w h5 { margin: 0 0 12px; font: 500 13px/1.3 var(--sans); color: var(--text); }
.w-rows { display: grid; gap: 8px; font-size: 12.5px; }
.w-rows li { display: flex; justify-content: space-between; gap: 8px; align-items: center; color: var(--text-2); }
.w-rows li span { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pl { flex: none; font-style: normal; font-size: 11px; padding: 2px 7px; border-radius: 999px; white-space: nowrap; }
.pl.amber { color: #ffe1a6; background: rgba(245,165,36,.16); } .pl.blue { color: #d9ecff; background: rgba(79,141,247,.18); } .pl.green { color: #bff5cd; background: rgba(90,209,122,.16); }
.w-bars { display: grid; gap: 10px; font-size: 12.5px; color: var(--text-2); }
.w-bars li { display: grid; gap: 5px; }
.w-bars em { font-style: normal; font-size: 11px; color: #ffe1a6; margin-left: 4px; }
.w-bars i { display: block; height: 6px; border-radius: 3px; background: linear-gradient(90deg, #f5b545 var(--v), rgba(255,236,210,.07) var(--v)); }
.w-bars li.low i { background: linear-gradient(90deg, #f06543 var(--v), rgba(255,236,210,.07) var(--v)); }
.w-slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; font-size: 11.5px; font-variant-numeric: tabular-nums; }
.w-slots span { padding: 7px 4px; border-radius: 7px; text-align: center; }
.w-slots .t { background: rgba(90,209,122,.14); color: #bff5cd; } .w-slots .f { color: var(--text-3); box-shadow: 0 0 0 1px var(--line-2) inset; }
.w-people { display: grid; gap: 9px; font-size: 12.5px; }
.w-people li { display: grid; grid-template-columns: 22px 1fr; column-gap: 9px; align-items: center; }
.w-people i { width: 22px; height: 22px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff8, var(--c) 45%, #0005 100%); grid-row: span 2; }
.w-people span { color: var(--text); } .w-people small { color: var(--text-3); font-size: 11px; }
.w-map, .w-spark { width: 100%; height: auto; display: block; }
.w-foot { margin: 8px 0 0; font-size: 11.5px; color: var(--text-3); }
.w-days { display: flex; justify-content: space-between; margin-top: 6px; font-size: 10.5px; color: var(--text-3); }
.board-empty { display: none; grid-column: 1 / -1; padding: 40px 10px; text-align: center; color: var(--text-3); font-size: 13.5px; }
.board.empty .board-empty { display: block; }
.build-foot { display: grid; justify-items: center; gap: 12px; }
.build-note { font-size: 12.5px; color: var(--text-3); text-align: center; }
.lead-sm { font-size: var(--fs-body); color: var(--text-2); max-width: 24em; line-height: 1.55; text-wrap: pretty; }
.lead-sm b { color: var(--text); font-weight: 500; }
.wave-line { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 12px 14px; padding: 140px 0 40px; font-size: clamp(17px, .5vw + 12px, 21px); letter-spacing: -.01em; }
.wave { display: inline-flex; }
.wave span { display: inline-block; white-space: pre; animation: wave 4.2s var(--ease) infinite; animation-delay: calc(var(--i) * 28ms); }
@keyframes wave { 0%, 14%, 100% { transform: translateY(0); } 5% { transform: translateY(-4px); } }
.flip { position: relative; height: 54px; min-width: 196px; perspective: 600px; }
.flip-item { position: absolute; inset: 0; display: inline-flex; align-items: center; gap: 12px; padding: 0 20px 0 14px; border-radius: 999px; white-space: nowrap;
  background: rgba(30,23,18,.95); box-shadow: 0 0 0 1px var(--line-2) inset; backface-visibility: hidden; transform-origin: 50% 50% -27px;
  transition: transform .7s var(--ease), opacity .7s var(--ease); opacity: 0; transform: rotateX(-90deg); }
.flip-item.on { opacity: 1; transform: none; }
.flip-item.out { opacity: 0; transform: rotateX(90deg); }
.flip-item svg { width: 26px; height: 26px; flex: none; }

/* ---------- Integraciones ---------- */
.sec-int { padding: 160px 0 100px; }
.int-grid { display: grid; grid-template-columns: 1fr; justify-items: center; text-align: center; }
.int-copy { display: grid; justify-items: center; }
.int-copy .muted { margin-top: 14px; font-size: var(--fs-body); max-width: 30em; }
.int-copy .btn { margin-top: 26px; }
.int-status { margin-top: 34px; display: flex; justify-content: center; align-items: center; gap: 10px; font-size: 13.5px; color: var(--text-2); height: 20px; overflow: hidden; }
.int-status svg { width: 15px; height: 15px; flex: none; }
.roll { position: relative; display: inline-block; height: 20px; width: 290px; text-align: left; }
.roll span { position: absolute; left: 0; top: 0; line-height: 20px; white-space: nowrap; transition: transform .6s var(--ease), opacity .6s var(--ease), filter .6s; }
.roll span.next { transform: translateY(100%); opacity: 0; filter: blur(3px); }
.roll span.prev { transform: translateY(-100%); opacity: 0; filter: blur(3px); }
.orbit { position: relative; width: 100%; height: 460px; margin-top: 40px; }
.node { --sz: calc(92px * var(--ns, 1)); position: absolute; left: 0; top: 0; width: var(--sz); height: var(--sz); margin: calc(var(--sz) / -2) 0 0 calc(var(--sz) / -2); border-radius: 50%; display: grid; place-items: center;
  background: radial-gradient(circle at 50% 30%, #2a221c, #16110d 70%); box-shadow: 0 0 0 1px var(--line-2) inset, 0 14px 30px rgba(0,0,0,.45); will-change: transform, opacity; }
.node svg { width: 42%; height: 42%; }
.node-hub { --sz: calc(112px * var(--ns, 1)); z-index: 20 !important; transition: box-shadow .6s var(--ease); }
.node-hub svg { width: 56%; height: 56%; color: var(--text); }
.node-hub.live { box-shadow: 0 0 0 1px rgba(140, 220, 160, .55) inset, 0 0 0 1px rgba(140,220,160,.18), 0 0 46px 6px rgba(90, 209, 122, .22); }

/* ---------- Proceso ---------- */
.sec-proc { padding: 130px 0 90px; }
.statement { font-family: var(--serif); font-weight: 380; font-size: var(--fs-statement); line-height: 1.28; letter-spacing: -.01em; font-variation-settings: "opsz" 30; max-width: 20em; text-wrap: balance; }
.statement .dim { color: var(--text-3); }
.steps { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 28px; margin-top: 70px; padding-top: 34px; }
.steps::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--line-2); }
.steps::after { content: ""; position: absolute; top: -5px; left: -60px; width: 71px; height: 11px; pointer-events: none;
  background: radial-gradient(circle at calc(100% - 5.5px) 50%, var(--bg) 0 4.2px, var(--text-2) 4.6px 5.4px, transparent 5.8px), linear-gradient(90deg, transparent, var(--text-2)) 0 50% / 60px 1px no-repeat;
  animation: travel 10s var(--ease) infinite; }
@keyframes travel { 0% { left: -60px; } 16%, 20% { left: calc(20% - 66px); } 36%, 40% { left: calc(40% - 66px); } 56%, 60% { left: calc(60% - 66px); } 76%, 80% { left: calc(80% - 66px); } 96%, 100% { left: calc(100% - 71px); } }
.step-n { font-family: var(--serif); font-weight: 380; font-size: 44px; line-height: 1; letter-spacing: -.02em; font-variation-settings: "opsz" 40; }
.steps h3 { margin-top: 18px; font: 500 15px/1.3 var(--sans); color: var(--text); }
.steps p { margin-top: 8px; font-size: 14px; line-height: 1.55; color: var(--text-3); text-wrap: pretty; }

/* ---------- Equipo ---------- */
.sec-team { padding: 80px 0 120px; }
.team-lead { margin-top: 22px; max-width: 36em; color: var(--text-2); font-size: var(--fs-body); text-wrap: pretty; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; margin-top: 60px; }
.stat { position: relative; padding: 10px 0 30px; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 16px; }
.stat-v { text-shadow: 0 0 22px rgba(255, 226, 176, .2); display: block; font-family: var(--serif); font-weight: 380; font-size: clamp(28px, 1.2vw + 14px, 38px); line-height: 1.15; letter-spacing: -.015em; font-variation-settings: "opsz" 36; }
.stat-l { display: block; margin-top: 10px; color: var(--text-2); font-size: 15px; }
.glyph { width: 70px; height: 70px; color: var(--text); opacity: .9; }
.g-slide .knob { animation: slide 4s ease-in-out infinite; }
.g-slide .tail { animation: tail 4s ease-in-out infinite; transform-origin: right center; transform-box: fill-box; }
@keyframes slide { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(-10px); } }
@keyframes tail { 0%, 100% { transform: scaleX(1); } 50% { transform: scaleX(.6); } }
.g-swing .arm { transform-origin: 35px 14px; animation: swing 2.8s ease-in-out infinite; }
@keyframes swing { 0%, 100% { transform: rotate(16deg); } 50% { transform: rotate(-4deg); } }

/* ---------- Proyectos (se muestra solo si hay datos en config.js) ---------- */
.sec-proj { padding: 40px 0 120px; }
.proj-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 40px; }
.proj { border-radius: 14px; padding: 24px; background: var(--surface); box-shadow: 0 0 0 1px var(--line-2) inset; display: grid; gap: 12px; align-content: start; }
.proj-tag { justify-self: start; font-size: 12px; padding: 4px 9px; border-radius: 999px; box-shadow: 0 0 0 1px var(--line-2) inset; color: var(--text-2); }
.proj h3 { font: 500 19px/1.3 var(--sans); }
.proj dl { margin: 0; display: grid; gap: 10px; font-size: 14px; }
.proj dt { color: var(--text-3); font-size: 12.5px; }
.proj dd { margin: 2px 0 0; color: var(--text-2); }
.proj img { border-radius: 10px; aspect-ratio: 16/10; object-fit: cover; width: 100%; background: var(--surface-2); }

/* ---------- Cierre ---------- */
.cta-final { position: relative; z-index: 1; padding: 150px 0 160px; text-align: center; overflow: hidden; }
.cta-final .display { margin-bottom: 30px; }
.cta-lines { position: absolute; inset: 0; pointer-events: none; }
.cta-lines .vline { background: linear-gradient(180deg, transparent, var(--line) 20%, var(--line) 80%, transparent); }
.cta-lines .vline:nth-child(1) { left: calc(50% - 600px); } .cta-lines .vline:nth-child(2) { left: calc(50% - 560px); top: 40px; bottom: 120px; }
.cta-lines .vline:nth-child(3) { left: calc(50% - 395px); top: 0; bottom: 200px; }
.cta-lines .vline:nth-child(4) { left: calc(50% + 395px); top: 0; bottom: 200px; } .cta-lines .vline:nth-child(5) { left: calc(50% + 560px); top: 40px; bottom: 120px; }
.cta-lines .vline:nth-child(6) { left: calc(50% + 600px); }
.cta-lines .hline { background: linear-gradient(90deg, transparent, var(--line) 15%, var(--line) 85%, transparent); }
.cta-lines .hline:nth-child(7) { top: 72px; } .cta-lines .hline:nth-child(8) { bottom: 92px; }

/* ---------- Pie ---------- */
.ftr { position: relative; z-index: 1; padding: 70px 0 0; border-top: 1px solid var(--line); overflow: hidden; }
.ftr::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(70% 60% at 50% 100%, rgba(40, 26, 16, .55), transparent 70%); }
.ftr-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.ftr-h { font: 400 14px/1.3 var(--sans); color: var(--text-3); margin-bottom: 18px; }
.ftr-cols li + li { margin-top: 12px; }
.ftr-cols a { font-size: 14.5px; color: var(--text); text-decoration: none; opacity: .9; }
.ftr-cols a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--line-3); }
.ftr-status { margin-top: 64px; display: flex; align-items: center; gap: 16px; }
.pill-status { display: inline-flex; align-items: center; gap: 10px; height: 28px; padding: 0 12px; border-radius: 999px; font-size: 13.5px; color: var(--text); background: rgba(255,236,210,.025); box-shadow: 0 0 0 1px var(--line) inset; white-space: nowrap; }
.pill-status i { width: 5px; height: 5px; border-radius: 50%; background: var(--text); box-shadow: 0 0 0 3px rgba(246,236,220,.08); }
.ftr-status .rule { flex: 1; height: 1px; background: linear-gradient(90deg, var(--line-2), transparent); }
.ftr-meta { margin-top: 44px; display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap; font-size: 13.5px; color: var(--text-3); }
.ftr-meta .creds { display: block; }
.ftr-meta .creds b { font-weight: 400; color: var(--text-2); display: inline-flex; align-items: center; gap: 5px; margin-left: 4px; vertical-align: bottom; }
.ftr-meta .creds svg { width: 13px; height: 13px; }
.totop { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border-radius: 999px; color: var(--text-2); text-decoration: none; font-size: 13px; background: rgba(255,236,210,.03); box-shadow: 0 0 0 1px var(--line-2) inset; }
.totop:hover { color: var(--text); }
.wordmark { container-type: inline-size; display: flex; align-items: center; justify-content: space-between; margin: 60px 0 0; padding-bottom: 46px; user-select: none; }
.wm-bot { width: 17cqw; flex: none; overflow: visible; }
.wm-text { font: 500 16.6cqw/.8 var(--sans); letter-spacing: -.045em; margin-right: -.04em;
  background: linear-gradient(180deg, #4b443e 0%, #2c2621 30%, #171310 62%, #221c18 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
  -webkit-text-stroke: 1px rgba(255, 236, 210, .07); filter: drop-shadow(0 1px 0 rgba(255,236,210,.06)) drop-shadow(0 -1px 0 rgba(0,0,0,.6)); }
.ftr-legal { padding: 0 0 26px; font-size: 12.5px; color: var(--text-4); }

/* ---------- Contacto ---------- */
.quote { position: relative; z-index: 1; padding: calc(var(--hdr-h) + 80px) 0 140px; }
.quote-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 488px); gap: 60px; align-items: start; }
.quote-copy p { margin-top: 18px; color: var(--text-2); font-size: var(--fs-body); max-width: 22em; text-wrap: pretty; }
.quote-copy .display { margin-bottom: 26px; }
.direct { margin-top: 44px; display: grid; gap: 2px; max-width: 22em; }
.direct a { display: flex; justify-content: space-between; gap: 12px; padding: 13px 0; border-top: 1px solid var(--line); text-decoration: none; font-size: 14.5px; }
.direct a:last-child { border-bottom: 1px solid var(--line); }
.direct a span:last-child { color: var(--text-3); }
.direct a:hover span:first-child { text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--line-3); }
.quote-form { position: relative; border-radius: 16px; padding: 30px 30px 26px; background: linear-gradient(180deg, rgba(25,19,15,.6), rgba(15,10,7,.4)); box-shadow: 0 0 0 1px var(--line) inset; }
.field + .field { margin-top: 20px; }
.field label { display: block; font-size: 14px; color: var(--text); margin-bottom: 8px; }
.field label small { color: var(--text-3); font-size: 12.5px; margin-left: 6px; }
.input { width: 100%; height: 38px; padding: 0 12px; border-radius: 7px; border: 0; background: rgba(255,236,210,.035); box-shadow: 0 0 0 1px var(--line) inset; font-size: 14px; color: var(--text); transition: box-shadow .2s, background .2s; }
textarea.input { height: 96px; padding: 10px 12px; resize: vertical; line-height: 1.5; }
.input::placeholder { color: var(--text-4); }
.input:hover { background: rgba(255,236,210,.05); }
.input:focus { outline: 0; box-shadow: 0 0 0 1px var(--line-3) inset, 0 0 0 3px rgba(210,240,17,.12); }
select.input { appearance: none; -webkit-appearance: none; padding-right: 34px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 10 10'%3E%3Cpath d='M2 3.5 5 6.5 8 3.5' fill='none' stroke='%23f6ecdc' stroke-opacity='.6' stroke-width='1.3'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; }
select.input option { background: #1a1410; color: var(--text); }
.field-err { display: none; margin-top: 6px; font-size: 12.5px; color: #ffb4a8; }
.field.invalid .input { box-shadow: 0 0 0 1px rgba(255, 140, 120, .55) inset; }
.field.invalid .field-err { display: block; }
.form-actions { margin-top: 34px; display: grid; gap: 12px; }
.form-alt { text-align: center; font-size: 13.5px; color: var(--text-3); }
.form-alt button { background: none; border: 0; padding: 0; cursor: pointer; color: var(--text); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-3); }
.form-note { margin-top: 18px; font-size: 12.5px; line-height: 1.5; color: var(--text-3); text-align: center; }
.form-status { margin-top: 14px; font-size: 13px; color: var(--text-2); text-align: center; min-height: 1.5em; }

/* ---------- 404 ---------- */
.notfound { position: relative; z-index: 1; min-height: 100vh; display: grid; place-items: center; text-align: center; padding: 120px 16px; }
.notfound p { margin: 16px auto 30px; color: var(--text-2); max-width: 28em; text-wrap: balance; }
.notfound .actions { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
  .app-body { grid-template-columns: 330px 1fr; }
  .report { padding-left: 40px; }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 44px; }
  .steps::before, .steps::after { display: none; }
}
@media (max-width: 900px) {
  :root { --hdr-h: 64px; --ann-h: 64px; }
  .hdr-nav { display: none; }
  .hdr-menu { display: inline-flex; }
  .hdr-in, .hdr.is-fixed .hdr-in { grid-template-columns: 1fr auto; }
  .hero { min-height: 760px; }
  .sec-product { margin-top: -40px; }
  .app-stage { height: 640px; margin-right: var(--gutter); }
  .app { width: 100%; border-right: 1px solid var(--line-2); border-radius: 14px 14px 0 0; grid-template-columns: 48px 1fr; }
  .app-body { grid-template-columns: 1fr; }
  .app-top { grid-template-columns: 1fr auto; padding: 0 14px; }
  .app-top .app-back { display: none; }
  .app-actions .app-avatar, .app-actions > svg { display: none; }
  .report { padding: 26px 18px 24px; }
  .cursor { display: none; }
  .app-agenda { order: 2; border-right: 0; border-top: 1px solid var(--line); }
  .app-stage { height: auto; -webkit-mask-image: none; mask-image: none; overflow: visible; }
  .app-badge { position: static; display: inline-block; margin-bottom: 10px; }
  .app { position: relative; inset: auto; }
  .app-title em { display: none; }
  .app-title { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
  .app-top { grid-template-columns: minmax(0, 1fr); }
  .app-actions { display: none; }
  .duo { grid-template-columns: 1fr; gap: 90px; padding-top: 80px; }
  .viz { max-width: 480px; }
  .sec-custom { padding-top: 120px; }
  .build-zone .vline, .build-zone .hline { display: none; }
  .orbit { height: 360px; margin-top: 24px; }
  .quote-grid { grid-template-columns: 1fr; gap: 44px; }
  .cta-lines .vline:nth-child(n+2):nth-child(-n+5) { display: none; }
}
@media (max-width: 640px) {
  .hero { min-height: 790px; }
  .hero-sub { font-size: 15.5px; }
  .hero-cta { flex-direction: column; gap: 2px; }
  .hero-lines .vline { display: none; }
  .announce { font-size: 13px; gap: 9px; }
  .announce-tag { height: 24px; font-size: 12px; }
  .tags { margin-bottom: 24px; }
  .app { grid-template-columns: 1fr; }
  .app-side { display: none; }
  .tabs { overflow: hidden; padding-left: 8px; gap: 2px; }
  .tabs span { white-space: nowrap; padding: 6px 10px; }
  .flow li { padding: 12px 10px; gap: 12px; }
  .report p { margin-bottom: 22px; }
  .feature-line { padding: 50px 0; }
  .viz { height: 440px; }
  .pr { left: 8px; right: 8px; width: auto; }
  .viz-win, .viz-auto .viz-win { left: 0; right: 0; height: 236px; }
  .calc, .calc-glow { transform: translateX(-50%); }
  .core { left: 50%; } .pulse { left: 50%; }
  .sand { height: 760px; }
  .board-body { grid-template-columns: 1fr; }
  .board-side { display: none; }
  .board-grid { grid-template-columns: 1fr; padding: 12px; }
  .mod { height: 38px; font-size: 13.5px; }
  .sand-copy { padding-top: 110px; }
  .sand-title { grid-template-columns: 1fr; gap: 150px; text-align: center; font-size: 19px; }
  .sand-title span:first-child { text-align: center; }
  .sand-gap { display: none; }
  .sand-copy .btn { margin-top: 70px; }
  .build-zone { padding: 50px 0 40px; }
  .wave-line { padding-top: 90px; }
  .sec-int { padding: 120px 0 60px; }
  .orbit { height: 330px; }
  .roll { width: 250px; }
  .sec-proc { padding: 100px 0 60px; }
  .steps { grid-template-columns: 1fr; gap: 0; margin-top: 44px; padding-top: 0; }
  .steps li { display: grid; grid-template-columns: 56px 1fr; column-gap: 12px; padding: 22px 0; border-top: 1px solid var(--line); }
  .steps .step-n { font-size: 32px; grid-row: span 2; }
  .steps h3 { margin-top: 2px; }
  .stats { grid-template-columns: 1fr; margin-top: 40px; }
  .stat { padding-top: 24px; }
  .glyph { width: 54px; height: 54px; }
  .cta-final { padding: 110px 0 120px; }
  .ftr-cols { grid-template-columns: 1fr 1fr; }
  .ftr-cols > div:last-child { grid-column: 1 / -1; }
  .wordmark { margin-top: 40px; padding-bottom: 30px; }
  .quote { padding-top: calc(var(--hdr-h) + 48px); }
  .quote-form { padding: 22px 18px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js .reveal, .js .hero [data-intro] { opacity: 1; filter: none; transform: none; }
}

/* ==========================================================================
   Composición centrada
   ========================================================================== */
.sec-product > .wrap:first-child, .sec-custom > .wrap, .sec-proc .wrap, .sec-team .wrap, .sec-proj .wrap { text-align: center; }
.lead, .lead-sm, .team-lead, .statement { margin-inline: auto; }
.lead { max-width: 40em; }
.build { text-align: left; }
.build-q, .build-foot { text-align: center; }
.feature-line { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 14px; }
.feature-line p { margin-inline: auto; }
.duo-item { text-align: center; }
.duo-h { justify-content: center; }
.duo p { margin-inline: auto; }
.viz { margin-inline: auto; max-width: 480px; }
.stat { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 12px; padding-top: 24px; }
.stat .glyph { order: -1; }
.ftr-cols { text-align: center; }
.ftr-status { justify-content: center; }
.ftr-status .rule { display: none; }
.ftr-meta { flex-direction: column; justify-content: center; text-align: center; gap: 16px; }
.ftr-legal { text-align: center; }
.quote-grid { grid-template-columns: 1fr; max-width: 640px; margin-inline: auto; gap: 40px; }
.quote-copy { text-align: center; }
.quote-copy p { margin-inline: auto; max-width: 30em; }
.direct { margin-inline: auto; width: min(26em, 100%); text-align: left; }
@media (min-width: 641px) { .steps { text-align: center; } }
@media (max-width: 640px) { .steps { text-align: left; } }
@media (max-width: 400px) { .brand { font-size: 19px; gap: 8px; } .brand-mark { width: 28px; height: 27px; } .hdr-end { gap: 6px; } .btn-hdr, .hdr-menu { padding: 0 11px; } }

/* ==========================================================================
   Botón flotante de WhatsApp
   ========================================================================== */
.wa-float { position: fixed; z-index: 70; right: calc(22px + env(safe-area-inset-right, 0px)); bottom: calc(22px + env(safe-area-inset-bottom, 0px));
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; color: #fff; text-decoration: none;
  background: radial-gradient(circle at 35% 30%, #3fe07c, #1fb855 70%);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .16) inset, 0 10px 26px -8px rgba(37, 211, 102, .65), 0 0 22px -4px rgba(37, 211, 102, .45);
  animation: waIn .6s var(--ease-out) 1.2s both; transition: transform .25s var(--ease), box-shadow .3s; }
.wa-float svg { width: 27px; height: 27px; }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 2px rgba(37, 211, 102, .55); animation: waRing 3.2s ease-out 2.4s infinite; pointer-events: none; }
.wa-float:hover { transform: translateY(-2px) scale(1.05); box-shadow: 0 0 0 1px rgba(255, 255, 255, .22) inset, 0 14px 30px -8px rgba(37, 211, 102, .75), 0 0 30px -2px rgba(37, 211, 102, .55); }
.wa-float:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 50%; }
.wa-float-tip { position: absolute; right: calc(100% + 10px); top: 50%; transform: translate(6px, -50%); white-space: nowrap; padding: 7px 12px; border-radius: 999px;
  font: 500 13px/1 var(--sans); color: var(--text); background: rgba(20, 15, 11, .94); box-shadow: 0 0 0 1px var(--line-2) inset, 0 10px 24px rgba(0, 0, 0, .45);
  opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s var(--ease); }
.wa-float:hover .wa-float-tip, .wa-float:focus-visible .wa-float-tip { opacity: 1; transform: translate(0, -50%); }
@keyframes waIn { from { opacity: 0; transform: translateY(16px) scale(.8); } to { opacity: 1; transform: none; } }
@keyframes waRing { 0% { opacity: .9; transform: scale(1); } 70%, 100% { opacity: 0; transform: scale(1.55); } }
@media (max-width: 640px) { .wa-float { width: 48px; height: 48px; right: calc(14px + env(safe-area-inset-right, 0px)); bottom: calc(14px + env(safe-area-inset-bottom, 0px)); } .wa-float svg { width: 25px; height: 25px; } .wa-float-tip { display: none; } }
@media (prefers-reduced-motion: reduce) { .wa-float::before { display: none; } }
