/* Sintex — marca: grafito oscuro, verde agua → violeta eléctrico, Montserrat + Inter.
   Layout: columna centrada de 1120px, bandas a todo el ancho, gradiente solo donde hay "conexión". */
:root {
  --bg: #111318;          /* Grafito */
  --bg-raise: #171a21;
  --bg-sunk: #0c0e12;
  --line: #262a34;
  --fg: #f4f6f9;
  --muted: #a3abba;
  --dim: #6f7787;
  --aqua: #63e6d4;        /* Verde Agua */
  --violet: #7c3aed;      /* Violeta Eléctrico */
  --violet-soft: #a98bf5;
  --grad: linear-gradient(90deg, var(--aqua), var(--violet));
  --wa: #25d366;
  --display: "Montserrat", "Segoe UI", system-ui, sans-serif;
  --body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --wrap: 1120px;
  --radius: 14px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--aqua); outline-offset: 3px; border-radius: 6px; }

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}

h1, h2, h3 { font-family: var(--display); text-wrap: balance; margin: 0; line-height: 1.12; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 600; line-height: 1.3; }
p { margin: 0; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--muted); max-width: 58ch; }

/* Etiqueta con la línea de gradiente, como en el manual */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--display); font-size: clamp(1.05rem, 2.6vw, 1.48rem); font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--aqua);
}
.eyebrow::before { content: ""; flex: none; width: 44px; height: 3px; border-radius: 2px; background: var(--grad); }

.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Header ---------- */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 30; background: var(--bg); }
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20;
  background: rgba(17, 19, 24, 0.86);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex-shrink: 0; }
.brand img.iso { height: 34px; width: auto; }
.brand img.word { height: 15px; width: auto; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a.link { text-decoration: none; color: var(--muted); font-size: 0.92rem; font-weight: 500; }
.nav a.link:hover { color: var(--fg); }
@media (max-width: 860px) { .nav a.link { display: none; } }
@media (max-width: 420px) { .brand img.word { display: none; } }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--display); font-weight: 600; font-size: 0.95rem;
  padding: 14px 22px; border-radius: 999px; text-decoration: none;
  border: 1px solid transparent; cursor: pointer; transition: transform .15s ease, background .15s ease, border-color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-wa { background: var(--fg); color: var(--bg); }
.btn-wa svg { width: 18px; height: 18px; color: #128c4a; }
.btn-ghost { border-color: var(--line); color: var(--fg); background: transparent; }
.btn-ghost:hover { border-color: var(--dim); }
.btn-sm { padding: 10px 16px; font-size: 0.85rem; }
@media (prefers-reduced-motion: reduce) { .btn { transition: none; } .btn:hover { transform: none; } }

/* ---------- Secciones ---------- */
section { padding-block: clamp(64px, 9vw, 112px); }
.section-head { display: grid; gap: 16px; margin-bottom: clamp(36px, 5vw, 56px); max-width: 720px; }
.band { background: var(--bg-sunk); border-block: 1px solid var(--line); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding-block: clamp(56px, 8vw, 104px); }
.hero::before {
  content: ""; position: absolute; inset: -30% auto auto 55%; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px;
  background: radial-gradient(closest-side, rgba(124, 58, 237, 0.22), transparent 70%); pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; inset: auto auto -45% -20%; width: 60vw; height: 60vw; max-width: 760px; max-height: 760px;
  background: radial-gradient(closest-side, rgba(99, 230, 212, 0.12), transparent 70%); pointer-events: none;
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(36px, 5vw, 64px); align-items: center; }
.hero-copy { display: grid; gap: 22px; min-width: 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.pillars { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 8px; font-family: var(--display); font-size: 0.72rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--dim); }
.pillars span + span::before { content: "/"; margin-right: 18px; color: var(--violet-soft); }
@media (min-width: 1041px) { .hero-grid.hero-demo { grid-template-columns: 0.85fr 1.15fr; } .hero-demo .demo { grid-template-columns: minmax(0, 1fr) 190px; } }
@media (max-width: 920px) { .hero-grid, .hero-grid.hero-demo { grid-template-columns: 1fr; } }

/* ---------- Soluciones ---------- */
.sol-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.sol { background: var(--bg); padding: clamp(24px, 3vw, 36px); display: grid; gap: 14px; align-content: start; min-width: 0; }
.sol .k { font: 600 0.72rem var(--display); letter-spacing: 0.22em; text-transform: uppercase; color: var(--violet-soft); }
.sol p { color: var(--muted); }
.sol ul { list-style: none; padding: 0; margin: 6px 0 0; display: grid; gap: 8px; }
.sol li { display: flex; gap: 10px; font-size: 0.93rem; }
.sol li::before { content: ""; flex: 0 0 auto; width: 6px; height: 6px; margin-top: 9px; border-radius: 2px; background: var(--aqua); transform: rotate(45deg); }
@media (max-width: 760px) { .sol-grid { grid-template-columns: 1fr; } }


/* ---------- Proceso ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; counter-reset: s; }
.steps li { position: relative; display: grid; gap: 10px; padding-top: 26px; min-width: 0; }
.steps li::before {
  counter-increment: s; content: counter(s, decimal-leading-zero);
  font: 700 0.8rem var(--display); letter-spacing: .1em; color: var(--aqua);
  position: absolute; top: 0; left: 0;
}
.steps li::after { content: ""; position: absolute; top: 9px; left: 36px; right: 0; height: 1px; background: linear-gradient(90deg, var(--line), transparent); }
.steps p { color: var(--muted); font-size: 0.93rem; }
.steps.five { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 900px) { .steps, .steps.five { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .steps, .steps.five { grid-template-columns: 1fr; } }

/* ---------- Bloque destacado inmobiliarias ---------- */
.feature {
  position: relative; display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: center;
  padding: clamp(28px, 4vw, 48px); border-radius: 22px; overflow: hidden;
  background: var(--bg-raise); border: 1px solid var(--line);
}
.feature::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 2px; background: var(--grad); }
.feature-copy { display: grid; gap: 16px; min-width: 0; }
.feature-copy p { color: var(--muted); }
.feature-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.feature-list li { display: flex; gap: 12px; align-items: baseline; padding: 12px 14px; border-radius: 12px; background: var(--bg-sunk); border: 1px solid var(--line); font-size: 0.93rem; }
.feature-list b { font-family: var(--display); color: var(--aqua); font-size: 0.8rem; min-width: 52px; }
@media (max-width: 820px) { .feature { grid-template-columns: 1fr; } }

/* ---------- CTA final ---------- */
.cta { text-align: center; }
.cta .wrap { display: grid; justify-items: center; gap: 20px; }
.cta .lead { margin: 0 auto; }
.wa-number { font-family: var(--display); font-size: 0.95rem; color: var(--muted); user-select: all; }
.wa-number b { color: var(--fg); font-weight: 600; letter-spacing: .02em; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding-block: 36px; padding-bottom: calc(36px + env(safe-area-inset-bottom, 0px)); }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 18px; }
.site-footer .tagline { font-family: var(--display); font-size: 0.68rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--dim); line-height: 1.8; }
.site-footer small { color: var(--dim); }

/* ---------- Inmobiliarias: demo de chat ---------- */
.demo { display: grid; grid-template-columns: minmax(0, 1fr) 230px; gap: 14px; align-items: stretch; min-width: 0; }
.phone {
  background: #0b141a; border: 1px solid var(--line); border-radius: 26px; overflow: hidden;
  display: flex; flex-direction: column; min-width: 0; box-shadow: 0 30px 80px -40px rgba(0,0,0,.9);
}
.phone-bar { display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: #1f2c34; }
.phone-bar .av { width: 34px; height: 34px; border-radius: 50%; background: var(--grad); display: grid; place-items: center; font: 700 0.8rem var(--display); color: #fff; flex-shrink: 0; }
.phone-bar .who { font-size: 0.9rem; font-weight: 600; line-height: 1.2; color: #e9edef; }
.phone-bar .st { font-size: 0.74rem; color: #8696a0; }
.chat {
  height: 400px; overflow-y: auto; padding: 14px 12px; display: flex; flex-direction: column; gap: 6px;
  background-color: #0b141a;
  background-image: radial-gradient(rgba(255,255,255,.025) 1px, transparent 1px); background-size: 18px 18px;
  scroll-behavior: smooth;
}
.day { align-self: center; font-size: 0.7rem; color: #8696a0; background: #182229; padding: 4px 10px; border-radius: 8px; margin-bottom: 6px; }
.msg { max-width: 84%; padding: 7px 10px 6px; border-radius: 10px; font-size: 0.88rem; line-height: 1.4; color: #e9edef; position: relative; animation: pop .25s ease both; }
.msg .time { display: block; text-align: right; font-size: 0.66rem; color: #8696a0; margin-top: 2px; }
.msg.in { align-self: flex-start; background: #202c33; border-top-left-radius: 3px; }
.msg.out { align-self: flex-end; background: #005c4b; border-top-right-radius: 3px; }
.msg.out .time { color: #9fc9bf; }
.typing { align-self: flex-end; background: #005c4b; border-radius: 10px; padding: 10px 12px; display: flex; gap: 4px; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: #9fc9bf; animation: blink 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes pop { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes blink { 0%, 100% { opacity: .3; } 50% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .msg, .typing i { animation: none; } .chat { scroll-behavior: auto; } }
.phone-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 12px; background: #1f2c34; }
.phone-foot small { color: #8696a0; font-size: 0.72rem; }
.phone-foot .ctrls { display: flex; gap: 6px; }
.ctrl { font: 600 0.75rem var(--display); color: #e9edef; background: #2a3942; border: 0; border-radius: 999px; padding: 7px 12px; cursor: pointer; }
.ctrl:hover { background: #33454f; }

.lead-card { background: var(--bg-raise); border: 1px solid var(--line); border-radius: 18px; padding: 16px; display: grid; align-content: start; gap: 4px; min-width: 0; }
.lead-card h3 { font-size: 0.7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.field { display: grid; gap: 1px; padding: 8px 0; border-top: 1px solid var(--line); }
.field span { font-size: 0.68rem; color: var(--dim); text-transform: uppercase; letter-spacing: .08em; }
.field b { font-size: 0.86rem; font-weight: 500; color: var(--dim); transition: color .3s ease; }
.field.on b { color: var(--fg); }
.status { margin-top: 8px; font: 600 0.72rem var(--display); letter-spacing: .06em; text-transform: uppercase; padding: 8px 10px; border-radius: 10px; text-align: center; border: 1px solid var(--line); color: var(--dim); transition: all .3s ease; }
.status.s1 { color: #f0b37e; border-color: rgba(240,179,126,.35); }
.status.s2 { color: var(--aqua); border-color: rgba(99,230,212,.4); background: rgba(99,230,212,.06); }
.status.s3 { color: #fff; border-color: transparent; background: var(--grad); }
.demo-note { margin-top: 12px; font-size: 0.8rem; color: var(--dim); }
@media (max-width: 1040px) and (min-width: 921px) { .demo { grid-template-columns: 1fr; } .lead-card { grid-template-columns: repeat(2, minmax(0,1fr)); column-gap: 14px; } .lead-card h3, .lead-card .status { grid-column: 1 / -1; } }
@media (max-width: 640px) { .demo { grid-template-columns: 1fr; } .chat { height: 360px; } .lead-card { grid-template-columns: repeat(2, minmax(0,1fr)); column-gap: 14px; } .lead-card h3, .lead-card .status { grid-column: 1 / -1; } }

/* ---------- Inmobiliarias: problema / capacidades ---------- */
.pains { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.pain { display: grid; gap: 12px; align-content: start; padding: 26px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--bg); min-width: 0; }
.pain .clock { font: 700 1.6rem var(--display); font-variant-numeric: tabular-nums; color: var(--violet-soft); letter-spacing: -.01em; }
.pain p { color: var(--muted); font-size: 0.95rem; }
@media (max-width: 1060px) { .pains { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .pains { grid-template-columns: 1fr; } }

.caps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 28px; }
.cap { display: grid; gap: 8px; align-content: start; padding-left: 18px; border-left: 2px solid transparent; border-image: var(--grad) 1; min-width: 0; }
.cap p { color: var(--muted); font-size: 0.94rem; }
@media (max-width: 860px) { .caps { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 540px) { .caps { grid-template-columns: 1fr; } }

.trust { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.trust p { color: var(--muted); }
.trust .quote { font-family: var(--display); font-size: clamp(1.3rem, 2.4vw, 1.7rem); font-weight: 600; line-height: 1.3; color: var(--fg); text-wrap: balance; }
.trust ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.trust li { display: grid; gap: 2px; padding: 16px 18px; border-radius: 12px; background: var(--bg-raise); border: 1px solid var(--line); }
.trust li span { color: var(--muted); font-size: 0.92rem; }
@media (max-width: 820px) { .trust { grid-template-columns: 1fr; } }

.faq { display: grid; gap: 10px; max-width: 780px; }
.faq details { border: 1px solid var(--line); border-radius: 12px; background: var(--bg-raise); padding: 0 20px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 0; font-family: var(--display); font-weight: 600; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--aqua); font-size: 1.2rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); padding-bottom: 18px; }

/* ---------- Auditoría gratuita ---------- */
.hero-note { color: var(--aqua); font-size: 0.92rem; font-weight: 500; text-decoration: none; justify-self: start; }
.hero-note:hover { text-decoration: underline; text-underline-offset: 4px; }
.audit { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 5vw, 72px); align-items: start; }
.audit-copy { display: grid; gap: 22px; min-width: 0; }
.audit-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; counter-reset: a; }
.audit-steps li { position: relative; display: grid; gap: 2px; padding: 14px 0 14px 46px; border-top: 1px solid var(--line); }
.audit-steps li::before { counter-increment: a; content: counter(a, decimal-leading-zero); position: absolute; left: 0; top: 16px; font: 700 0.8rem var(--display); letter-spacing: .1em; color: var(--aqua); }
.audit-steps h3 { font-size: 1rem; }
.audit-steps p { color: var(--muted); font-size: 0.93rem; }
.keep { display: grid; gap: 4px; padding: 16px 18px; border-radius: 14px; background: rgba(99, 230, 212, 0.06); border: 1px solid rgba(99, 230, 212, 0.3); }
.keep strong { font-family: var(--display); color: var(--aqua); }
.keep span { color: var(--fg); font-size: 0.95rem; }

.wf-card { margin: 0; background: var(--bg-raise); border: 1px solid var(--line); border-radius: 20px; padding: 22px; min-width: 0; position: relative; overflow: hidden; box-shadow: 0 30px 80px -40px rgba(0,0,0,.8); }
.wf-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 2px; background: var(--grad); }
.wf-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.wf-head span { font: 600 0.72rem var(--display); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.wf-head small { font-size: 0.78rem; color: var(--dim); }
.wf { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; position: relative; }
.wf::before { content: ""; position: absolute; left: 19px; top: 20px; bottom: 20px; width: 2px; background: linear-gradient(var(--aqua), var(--violet)); opacity: .45; }
.wf-node { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-left: 40px; padding: 11px 14px; border-radius: 12px; background: var(--bg-sunk); border: 1px solid var(--line); min-width: 0; }
.wf-node::before { content: ""; position: absolute; left: -26px; top: 50%; width: 12px; height: 12px; margin-top: -6px; border-radius: 3px; transform: rotate(45deg); background: var(--bg-raise); border: 2px solid var(--dim); }
.wf-node::after { content: ""; position: absolute; left: -14px; top: 50%; width: 14px; height: 1px; background: var(--line); }
.wf-txt { display: grid; min-width: 0; }
.wf-txt b { font-size: 0.92rem; font-weight: 600; }
.wf-txt small { font-size: 0.8rem; color: var(--muted); line-height: 1.4; }
.wf-node em { font: 600 0.64rem var(--display); font-style: normal; letter-spacing: .08em; text-transform: uppercase; padding: 4px 8px; border-radius: 999px; white-space: nowrap; flex-shrink: 0; }
.wf-node.warn { border-color: rgba(240,179,126,.35); }
.wf-node.warn::before { border-color: #f0b37e; }
.wf-node.warn em { color: #f0b37e; background: rgba(240,179,126,.08); }
.wf-node.auto { border-color: rgba(99,230,212,.35); }
.wf-node.auto::before { border-color: var(--aqua); background: var(--aqua); }
.wf-node.auto em { color: var(--aqua); background: rgba(99,230,212,.08); }
.wf-node.ok::before { border-color: var(--violet-soft); }
.wf-legend { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 0.8rem; color: var(--muted); }
.wf-legend span { display: inline-flex; align-items: center; gap: 8px; }
.dot { width: 9px; height: 9px; border-radius: 2px; transform: rotate(45deg); display: inline-block; }
.dot.warn { background: #f0b37e; } .dot.auto { background: var(--aqua); } .dot.ok { background: var(--violet-soft); }
@media (max-width: 900px) { .audit { grid-template-columns: 1fr; } }
@media (max-width: 440px) { .wf-node { flex-direction: column; align-items: flex-start; gap: 6px; } }

/* ---------- Manual vs Con Sintex ---------- */
:root { --bad: #ff7a6b; --bad-bg: rgba(255, 122, 107, 0.12); --good-bg: rgba(99, 230, 212, 0.12); }
.ic { width: 18px; height: 18px; flex-shrink: 0; }
.mk { width: 16px; height: 16px; flex-shrink: 0; stroke-width: 3; }
.vs-card { background: var(--bg-raise); border: 1px solid var(--line); border-radius: 22px; padding: 20px; min-width: 0; box-shadow: 0 30px 80px -40px rgba(0,0,0,.8); }
.vs-head, .vs-rows li, .vs-foot { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr) minmax(0, 1fr); gap: 8px; align-items: center; }
.vs-head { margin-bottom: 10px; }
.vs-cap { font: 600 0.68rem var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
.vs-tag { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 8px; border-radius: 12px; font: 700 0.86rem var(--display); letter-spacing: .02em; }
.vs-tag.bad { background: var(--bad); color: #2a0e0a; }
.vs-tag.good { background: var(--grad); color: #fff; }
.vs-rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.vs-step { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 0.92rem; color: var(--fg); }
.vs-step .ic { color: var(--muted); }
.vs-cell { display: flex; align-items: center; gap: 8px; padding: 12px 10px; border-radius: 12px; font-weight: 600; font-size: 0.86rem; line-height: 1.2; min-width: 0; }
.vs-cell.bad { background: var(--bad-bg); color: var(--bad); }
.vs-cell.good { background: var(--good-bg); color: var(--aqua); box-shadow: inset 0 0 0 1px rgba(99,230,212,.25); }
.vs-foot { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.vs-num { text-align: center; font: 700 2.4rem/1 var(--display); font-variant-numeric: tabular-nums; }
.vs-num.bad { color: var(--bad); }
.vs-num.good { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
@keyframes glow { 0%, 100% { box-shadow: inset 0 0 0 1px rgba(99,230,212,.25); } 50% { box-shadow: inset 0 0 0 1px rgba(99,230,212,.7), 0 0 18px -4px rgba(99,230,212,.5); } }
.vs-rows li:nth-child(1) .vs-cell.good { animation: glow 2.4s ease 0.2s 1; }
.vs-rows li:nth-child(2) .vs-cell.good { animation: glow 2.4s ease 0.5s 1; }
.vs-rows li:nth-child(3) .vs-cell.good { animation: glow 2.4s ease 0.8s 1; }
.vs-rows li:nth-child(4) .vs-cell.good { animation: glow 2.4s ease 1.1s 1; }
.vs-rows li:nth-child(5) .vs-cell.good { animation: glow 2.4s ease 1.4s 1; }
@media (prefers-reduced-motion: reduce) { .vs-cell.good { animation: none !important; } }
@media (max-width: 480px) {
  .vs-card { padding: 16px; }
  .vs-head, .vs-rows li, .vs-foot { grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 6px 8px; }
  .vs-head .vs-cap { display: none; }
  .vs-step { grid-column: 1 / -1; font-size: 0.7rem; font-family: var(--display); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); gap: 6px; margin-top: 4px; }
  .vs-step .ic { width: 14px; height: 14px; }
  .vs-cell { font-size: 0.86rem; padding: 11px 10px; }
  .vs-foot .vs-cap { grid-column: 1 / -1; text-align: center; }
}

/* ---------- Rubros ---------- */
.sectors { margin-top: clamp(48px, 6vw, 72px); display: grid; gap: 24px; }
.sectors-head { display: grid; gap: 10px; }
.sectors-head h3 { font-size: clamp(1.3rem, 2.2vw, 1.6rem); font-weight: 700; }
.sector-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.sector-grid li { display: grid; justify-items: start; gap: 14px; padding: 20px 18px; border-radius: 16px; background: var(--bg-raise); border: 1px solid var(--line); font: 600 1rem var(--display); line-height: 1.25; transition: border-color .2s ease, transform .2s ease; }
.sector-grid li:hover { border-color: rgba(99,230,212,.45); transform: translateY(-2px); }
.sector-ic { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; color: var(--aqua); background: linear-gradient(135deg, rgba(99,230,212,.16), rgba(124,58,237,.2)); border: 1px solid rgba(99,230,212,.25); }
.sector-ic .ic { width: 24px; height: 24px; }
@media (max-width: 1000px) { .sector-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 520px) { .sector-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .sector-grid li { padding: 16px 14px; font-size: 0.92rem; } }
@media (prefers-reduced-motion: reduce) { .sector-grid li { transition: none; } .sector-grid li:hover { transform: none; } }

/* ---------- Inmobiliarias v2 ---------- */
.pain .clock { font-size: 1.25rem; }
.cap { gap: 10px; }
.cap-ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; color: var(--aqua); background: linear-gradient(135deg, rgba(99,230,212,.16), rgba(124,58,237,.2)); border: 1px solid rgba(99,230,212,.25); margin-bottom: 4px; }
.cap-ic .ic { width: 22px; height: 22px; }
.demo-note b { color: var(--aqua); font-family: var(--display); }
.shift { display: grid; gap: 12px; }
.shift-card { display: grid; gap: 12px; justify-items: start; padding: 18px; border-radius: 16px; border: 1px solid var(--line); }
.shift-card p { color: var(--fg); font-size: 0.98rem; }
.shift-card.bad { background: var(--bad-bg); border-color: rgba(255,122,107,.3); }
.shift-card.good { background: var(--good-bg); border-color: rgba(99,230,212,.35); }
.shift-card .vs-tag { padding: 8px 14px; font-size: 0.8rem; }
@media (max-width: 1040px) and (min-width: 921px), (max-width: 640px) { .lead-card .field b { font-size: 0.82rem; } }

/* ---------- Versión corta ---------- */
.sol-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 860px) { .sol-grid { grid-template-columns: 1fr; } }
.sol { gap: 10px; }
.sol-ic, .pain-ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; color: var(--aqua); background: linear-gradient(135deg, rgba(99,230,212,.16), rgba(124,58,237,.2)); border: 1px solid rgba(99,230,212,.25); margin-bottom: 6px; }
.sol-ic .ic, .pain-ic .ic { width: 22px; height: 22px; }
.pain-ic { color: var(--bad); background: var(--bad-bg); border-color: rgba(255,122,107,.3); }
.pain h3 { font-size: 1.1rem; }
.sectors { gap: 18px; }
.sectors-title { font-size: clamp(1.15rem, 2vw, 1.35rem); font-weight: 700; }
.wf-node { padding: 12px 14px; }
.cta h2 { max-width: 22ch; }

/* Link a inmobiliarias visible en celular */
@media (max-width: 860px) { .nav { gap: 14px; } .nav a.link.nav-keep { display: inline; color: var(--fg); font-size: 0.88rem; } }

/* ---------- Demo: el chat ocupa todo el alto del teléfono ---------- */
.phone .chat { height: auto; flex: 1 1 0; min-height: 400px; }
@media (max-width: 640px) { .phone .chat { min-height: 360px; flex: none; height: 360px; } }

/* ---------- Auditoría v2 ---------- */
.audit-top { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; margin-bottom: clamp(32px, 4vw, 48px); }
.audit-side { display: grid; gap: 18px; min-width: 0; }
@media (max-width: 900px) { .audit-top { grid-template-columns: 1fr; } }
.free-pill {
  justify-self: start; display: inline-flex; align-items: center; gap: 10px;
  font: 700 clamp(1rem, 1.6vw, 1.2rem) var(--display); letter-spacing: .01em; color: #0b1a17;
  padding: 10px 18px 10px 14px; border-radius: 999px; background: var(--grad);
  box-shadow: 0 10px 30px -10px rgba(99,230,212,.55), 0 0 0 4px rgba(99,230,212,.12);
}
.free-pill .ic { width: 22px; height: 22px; }

.wf-doc { margin: 0; border-radius: 22px; background: var(--bg-raise); border: 1px solid var(--line); overflow: hidden; box-shadow: 0 40px 90px -50px rgba(0,0,0,.9); }
.wf-doc-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px 24px; padding: 18px 22px; border-bottom: 1px solid var(--line); background: linear-gradient(90deg, rgba(99,230,212,.06), rgba(124,58,237,.08)); }
.wf-doc-title { display: flex; align-items: center; gap: 12px; }
.wf-doc-title b { display: block; font-family: var(--display); font-size: 1rem; }
.wf-doc-title small { color: var(--muted); font-size: 0.82rem; }
.wf-file { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: var(--grad); color: #fff; flex-shrink: 0; }
.wf-file .ic { width: 20px; height: 20px; }
.wf-legend { display: flex; flex-wrap: wrap; gap: 8px 16px; margin: 0; padding: 0; border: 0; font-size: 0.8rem; color: var(--muted); }
.wf-legend span { display: inline-flex; align-items: center; gap: 7px; }
.sw { width: 12px; height: 12px; border-radius: 4px; display: inline-block; border: 1.5px solid; }
.sw-bad { border-color: var(--bad); background: var(--bad-bg); }
.sw-auto { border-color: var(--aqua); background: var(--good-bg); }
.sw-ok { border-color: var(--violet-soft); background: rgba(169,139,245,.12); }
.wf-doc-body { display: grid; grid-template-columns: minmax(0, 1fr) 280px; }
.wf-canvas { padding: 16px; min-width: 0; background: var(--bg-sunk); display: grid; align-content: center; }
.wf-svg { display: block; width: 100%; height: auto; }
.wf-v { display: none; max-width: 420px; margin: 0 auto; }
@media (max-width: 720px) { .wf-h { display: none; } .wf-v { display: block; } }
@media (max-width: 980px) { .wf-doc-body { grid-template-columns: 1fr; } }

.wf-svg .dot-grid { fill: rgba(255,255,255,.06); }
.wf-svg .lane { fill: rgba(255,255,255,.015); stroke: var(--line); stroke-width: 1; }
.wf-svg .lane-alt { fill: rgba(124,58,237,.035); }
.wf-svg .t-lane { font: 700 9.5px var(--display); letter-spacing: .18em; fill: var(--dim); }
.wf-svg .t-mid { text-anchor: middle; }
.wf-svg text { font-family: var(--body); }
.wf-svg .t-lab { font-size: 12.5px; font-weight: 600; fill: var(--fg); text-anchor: middle; }
.wf-svg .t-sm { font-size: 10px; }
.wf-v .t-lab { font-size: 11.5px; }
.wf-svg .t-tag { font: 700 8px var(--display); letter-spacing: .1em; text-anchor: middle; }
.wf-svg .t-num { font: 700 11px var(--display); text-anchor: middle; fill: #111318; }
.wf-svg .t-yn { font: 700 10px var(--display); fill: var(--muted); }
.wf-svg .nd rect, .wf-svg .nd path { stroke-width: 1.5; }
.wf-svg .nd-start rect { fill: #1d2230; stroke: var(--dim); }
.wf-svg .nd-bad rect, .wf-svg .nd-lost rect { fill: rgba(255,122,107,.12); stroke: var(--bad); }
.wf-svg .nd-lost rect { stroke-dasharray: 5 4; }
.wf-svg .nd-bad .t-tag, .wf-svg .nd-lost .t-tag { fill: var(--bad); }
.wf-svg .nd-auto rect { fill: rgba(99,230,212,.12); stroke: var(--aqua); }
.wf-svg .nd-auto .t-tag { fill: var(--aqua); }
.wf-svg .nd-ok rect { fill: rgba(169,139,245,.13); stroke: var(--violet-soft); }
.wf-svg .nd-ok .t-tag { fill: var(--violet-soft); }
.wf-svg .nd-decision path { fill: #1d2230; stroke: var(--muted); }
.wf-svg .nd-bad .badge, .wf-svg .nd-lost .badge { fill: var(--bad); }
.wf-svg .nd-auto .badge { fill: var(--aqua); }
.wf-svg .pulse { fill: none; stroke-width: 2; transform-box: fill-box; transform-origin: center; animation: wfpulse 2.2s ease-out infinite; }
.wf-svg .nd-bad .pulse, .wf-svg .nd-lost .pulse { stroke: var(--bad); }
.wf-svg .nd-auto .pulse { stroke: var(--aqua); }
@keyframes wfpulse { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(2.1); opacity: 0; } }
.wf-svg .flow { fill: none; stroke: var(--aqua); stroke-width: 1.8; stroke-dasharray: 6 5; animation: wfflow 1.2s linear infinite; opacity: .85; }
.wf-svg .flow-lost { stroke: var(--bad); }
.wf-svg .ah { fill: var(--aqua); }
@keyframes wfflow { to { stroke-dashoffset: -22; } }
@media (prefers-reduced-motion: reduce) { .wf-svg .flow, .wf-svg .pulse { animation: none; } .wf-svg .pulse { display: none; } }

.wf-findings { padding: 20px; border-left: 1px solid var(--line); display: grid; gap: 16px; align-content: start; min-width: 0; }
@media (max-width: 980px) { .wf-findings { border-left: 0; border-top: 1px solid var(--line); } }
.wf-sum { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 0.85rem; color: var(--muted); }
.wf-sum b { font: 700 1.4rem var(--display); margin-right: 4px; vertical-align: -2px; }
.c-bad { color: var(--bad); } .c-auto { color: var(--aqua); }
.fd-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
@media (max-width: 980px) and (min-width: 560px) { .fd-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.fd { display: flex; gap: 12px; align-items: flex-start; padding: 12px; border-radius: 12px; background: var(--bg-sunk); border: 1px solid var(--line); }
.fd b { display: block; font-size: 0.9rem; }
.fd div span { display: block; color: var(--muted); font-size: 0.82rem; line-height: 1.4; }
.fd-n { flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font: 700 0.75rem var(--display); color: #111318; }
.fd-bad .fd-n { background: var(--bad); } .fd-auto .fd-n { background: var(--aqua); }

/* h1 más contenido en la portada de inmobiliarias */
.hero-demo h1, .hero-demo h2 { font-size: clamp(2rem, 3.6vw, 3rem); }

/* Inmobiliarias: el problema como apertura */
.hero-problem .wrap { position: relative; z-index: 1; }
.hero-problem .hero-copy { max-width: 860px; }
.hero-problem .pains { margin-top: clamp(40px, 6vw, 64px); }

/* Inmobiliarias: textos y botones de apoyo */
.section-actions { margin-top: clamp(36px, 5vw, 52px); }
.shift-text { color: var(--fg); font-size: 1.08rem; line-height: 1.6; max-width: 46ch; }
