/* =========================================================
   Bisel · sitio comercial · v3 (más corto, con casos de uso)
   Dirección de arte: «el corte». El bisel del punto (esquina superior
   derecha cortada a 45°) es el lenguaje de toda la página: planos de
   color plenos con la esquina cortada, cero redondeos, rayado a 45° para
   lo manual y desordenado, y titulares con carácter.
   Paleta del manual: magenta · azul noche · blanco frío · rosa · gris.
   ========================================================= */

:root {
  /* Color */
  --ink: #141C36;          /* azul noche */
  --ink-2: #1D2647;
  --paper: #F6F4F7;        /* blanco frío */
  --white: #FFFFFF;
  --magenta: #E5007D;
  --magenta-ink: #C8006D;  /* magenta para texto chico sobre claro */
  --magenta-tint: #FDEFF6;
  --rosa: #F7C6DF;
  --gris: #5D5A6B;
  --gris-2: #8C889A;
  --rule: rgba(20, 28, 54, .14);
  --rule-2: rgba(20, 28, 54, .08);
  --rule-inv: rgba(246, 244, 247, .16);
  --mute-inv: #A9AEC6;
  --ok: #1D7A4E;   --ok-bg: #E7F5EE;
  --warn: #935400; --warn-bg: #FFF3E0;
  --danger: #B42346; --danger-bg: #FDECEF;

  /* Tipografía */
  --f-display: "Archivo", "Instrument Sans", ui-sans-serif, system-ui, sans-serif;
  --f-body: "Instrument Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  /* El corte */
  --cut-s: 10px;
  --cut: 18px;
  --cut-l: 44px;
  --cut-xl: 88px;
  --hatch: repeating-linear-gradient(135deg, transparent 0 9px, rgba(20, 28, 54, .075) 9px 10px);

  --ease: cubic-bezier(.2, .7, .2, 1);
  --gutter: max(28px, env(safe-area-inset-left, 0px));
  --nav-h: 68px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--f-body); font-size: 17px; line-height: 1.6;
  color: var(--ink); background: var(--paper);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
h1, h2, h3, h4, h5, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
section[id], [id="demo"] { scroll-margin-top: calc(var(--nav-h) + 8px); }
:focus-visible { outline: 2px solid var(--magenta); outline-offset: 3px; }
::selection { background: var(--rosa); color: var(--ink); }

.wrap { width: 100%; max-width: 1360px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 10px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 14px; }
.skip:focus { left: 10px; }
.nw { white-space: nowrap; }

.i { width: 1.1em; height: 1.1em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; display: inline-block; vertical-align: middle; }

/* ---------- Tipografía ---------- */
.h-xl, .h-l, .hero-title, .cost-title, .feat-name, .final h2, .pull, .ben h3, .s-n {
  font-family: var(--f-display); font-weight: 650; text-wrap: balance; color: inherit;
}
.h-xl { font-size: clamp(38px, 5.2vw, 78px); line-height: .98; letter-spacing: -.042em; }
.h-l { font-size: clamp(32px, 3.7vw, 54px); line-height: 1.02; letter-spacing: -.038em; }
.h-xl, .h-l, .pain-text, .close h2, .tus-rot, .cases h3 { word-spacing: .08em; }
.mute { color: rgba(20, 28, 54, .36); }
.lead { font-size: clamp(17px, 1.45vw, 20px); line-height: 1.55; color: var(--gris); max-width: 34em; text-wrap: pretty; }
.label {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px;
  font-family: var(--f-mono); font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--gris);
}
.label::before { content: ""; width: 8px; height: 8px; background: var(--magenta); clip-path: polygon(0 0, 60% 0, 100% 40%, 100% 100%, 0 100%); }
.label-inv { color: var(--mute-inv); }
.title-dot { display: inline-block; width: .15em; height: .15em; fill: var(--magenta); margin-left: .05em; vertical-align: baseline; }

/* Punto biselado como viñeta */
.ticks { display: grid; gap: 10px; margin-top: 26px; }
.ticks li { position: relative; padding-left: 22px; font-size: 16px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .55em; width: 9px; height: 9px; background: var(--magenta); clip-path: polygon(0 0, 60% 0, 100% 40%, 100% 100%, 0 100%); }

/* ---------- Logo ---------- */
.logo { display: inline-flex; align-items: center; color: var(--ink); padding: 8px 0; }
.logo-svg { height: 30px; width: auto; aspect-ratio: 290 / 93; }
.logo-light { color: #fff; }

/* ---------- Botones: siempre con el corte ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 46px; padding: 0 22px; border: 0; cursor: pointer;
  font-family: var(--f-body); font-size: 15.5px; font-weight: 600; letter-spacing: -.005em; line-height: 1; white-space: nowrap;
  clip-path: polygon(0 0, calc(100% - var(--cut-s)) 0, 100% var(--cut-s), 100% 100%, 0 100%);
  transition: background-color .2s, color .2s;
}
.btn .i { transition: transform .25s var(--ease); }
.btn:hover .i { transform: translateX(3px); }
.btn-lg { min-height: 56px; padding: 0 28px; font-size: 16.5px; --cut-s: 14px; }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 14.5px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--magenta); color: #fff; }
.btn-primary:hover { background: #CC006F; }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: #000; }
.btn[aria-busy="true"] { opacity: .75; cursor: progress; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 16px; border-bottom: 1.5px solid var(--ink); padding: 4px 0; }
.link-arrow .i { transition: transform .25s var(--ease); }
.link-arrow:hover .i { transform: translateX(3px); }

/* ---------- Navbar ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(246, 244, 247, .88); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid var(--rule); }
.nav { transition: background-color .35s, border-color .35s; }
.nav.nav-dark { background: rgba(20, 28, 54, .86); border-bottom-color: var(--rule-inv); }
.nav-dark .logo, .nav-dark .nav-login { color: #fff; }
.nav-dark .nav-links { color: var(--mute-inv); }
.nav-dark .nav-links a:hover { color: #fff; }
.nav-dark .nav-toggle { border-color: var(--rule-inv); color: #fff; }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: var(--nav-h); gap: 16px; }
.nav-links { display: flex; gap: 34px; font-size: 15px; color: var(--gris); }
.nav-links a { padding: 8px 0; transition: color .2s; }
.nav-links a:hover { color: var(--ink); }
.nav-actions { display: flex; align-items: center; gap: 20px; }
.nav-login { font-size: 15px; font-weight: 600; color: var(--ink); padding: 8px 2px; }
.nav-login:hover { color: var(--magenta-ink); }
.nav-toggle { display: none; width: 42px; height: 42px; border: 1px solid var(--rule); background: transparent; align-items: center; justify-content: center; cursor: pointer; }
.nav-toggle .i { width: 20px; height: 20px; }
.nav-mobile { border-top: 1px solid var(--rule); background: var(--paper); }
.nav-mobile nav { display: flex; flex-direction: column; padding-top: 8px; padding-bottom: 22px; }
.nav-mobile a:not(.btn) { padding: 14px 0; font-family: var(--f-display); font-size: 24px; font-weight: 600; letter-spacing: -.02em; border-bottom: 1px solid var(--rule-2); }
.nav-mobile .btn { margin-top: 18px; }
.show-xs { display: none; }

/* =========================================================
   HERO: titular enorme + producto que cruza al plano azul
   ========================================================= */
.hero { padding-top: 40px; position: relative; }
.hero-meta { display: flex; justify-content: space-between; gap: 20px; padding-bottom: 16px; border-bottom: 1px solid var(--rule); }
.hero-meta .label { margin: 0; }
.hero-meta-r::before { display: none; }
.hero-title {
  margin-top: 26px; font-size: clamp(52px, 10.2vw, 156px); font-weight: 700; line-height: .9; letter-spacing: -.058em; word-spacing: .12em;
}
.hero-title .ln { display: block; overflow: hidden; padding-bottom: .06em; }
/* Estela rosa: la letra se pinta al instante y vuelve al azul despacio, pasando por el rosa */
.hero-title .ch { display: inline-block; transition: color 1.4s cubic-bezier(.2, .7, .2, 1); }
.hero-title .ch.hot { color: var(--magenta); transition: color .08s linear; }
.hero-title .ln > span { display: inline-block; white-space: nowrap; }
.hero-title .ln-2 { padding-left: 1.06em; }
.js .hero-title .ln > span { transform: translateY(105%); transition: transform 1s var(--ease); }
.js .hero-title .ln-2 > span { transition-delay: .12s; }
.loaded .hero-title .ln > span { transform: none; }
.hero-row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; align-items: end; margin-top: 40px; }
.hero-lead { font-size: clamp(18px, 1.6vw, 22px); line-height: 1.5; color: var(--ink); max-width: 30em; }
.hero-act { justify-self: end; display: grid; gap: 18px; justify-items: end; }
.hero-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; }
.hero-note { font-size: 13.5px; color: var(--gris); text-align: right; }

.hero-product { position: relative; margin-top: 72px; color: var(--paper); }
.hero-product::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; top: 30%;
  background: var(--ink);
  clip-path: polygon(0 0, calc(100% - var(--cut-xl)) 0, 100% var(--cut-xl), 100% 100%, 0 100%);
}
.hero-product > .wrap { position: relative; }
.hero-visual { position: relative; max-width: 1120px; margin-left: auto; }
.hero-visual .fit { filter: drop-shadow(0 30px 40px rgba(20, 28, 54, .22)); }

.callouts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; margin-top: 56px; max-width: 1120px; margin-left: auto; }
.callouts li { display: flex; gap: 16px; align-items: flex-start; }
.callouts b { display: block; font-family: var(--f-display); font-size: 19px; font-weight: 600; letter-spacing: -.015em; color: #fff; }
.callouts p { margin-top: 4px; font-size: 15px; color: var(--mute-inv); line-height: 1.5; }
.mk {
  width: 26px; height: 26px; flex: none; display: inline-grid; place-items: center;
  font-family: var(--f-mono); font-size: 12px; font-weight: 500; font-style: normal; color: #fff; background: var(--magenta);
  clip-path: polygon(0 0, 60% 0, 100% 40%, 100% 100%, 0 100%);
}
.mk-wrap { position: relative; }
.mk-wrap > .mk { position: absolute; left: -13px; top: -13px; z-index: 2; }

.modules-line {
  display: flex; flex-wrap: wrap; gap: 6px 0; margin-top: 64px; padding: 26px 0 72px; border-top: 1px solid var(--rule-inv);
  font-family: var(--f-display); font-size: clamp(18px, 1.9vw, 26px); font-weight: 500; letter-spacing: -.02em; color: rgba(246, 244, 247, .55);
}
.modules-line span { display: inline-flex; align-items: center; }
.modules-line span + span::before { content: ""; width: 7px; height: 7px; margin: 0 18px; background: var(--magenta); clip-path: polygon(0 0, 60% 0, 100% 40%, 100% 100%, 0 100%); }

/* =========================================================
   MOCKUPS (interfaces de ejemplo en HTML/CSS)
   ========================================================= */
.fit { position: relative; width: 100%; }
.fit > .mock { width: var(--w, 100%); transform-origin: top left; transform: scale(var(--s, 1)); }
.no-fit .fit { overflow: hidden; }

.mock {
  container-type: inline-size;
  background: var(--white); text-align: left; overflow: hidden;
  font-family: var(--f-body); font-size: 13px; line-height: 1.4; color: var(--ink); font-weight: 450;
  clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, 0 100%);
}
.mock .i { width: 15px; height: 15px; }
.chrome { position: relative; display: flex; align-items: center; gap: 7px; height: 38px; padding: 0 14px 0 28px; background: #FBFAFC; border-bottom: 1px solid #ECE8EF; }
.chrome > span { width: 9px; height: 9px; border-radius: 50%; background: #E2DEE7; }
.chrome-url { position: absolute; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 6px; padding: 4px 14px; background: var(--white); border: 1px solid #EFECF2; font-size: 11.5px; color: var(--gris-2); }
.chrome-url .i { width: 11px; height: 11px; }

.app { display: grid; grid-template-columns: 196px minmax(0, 1fr); min-height: 100%; }
.app-side { display: flex; flex-direction: column; gap: 14px; padding: 14px 10px; background: #FBFAFC; border-right: 1px solid #ECE8EF; }
.app-brand { display: flex; align-items: center; gap: 9px; padding: 4px 6px 6px; font-weight: 600; font-size: 13px; }
.mini-logo { width: 26px; height: 26px; background: var(--ink); color: #fff; display: inline-grid; place-items: center; flex: none; clip-path: polygon(0 0, calc(100% - 6px) 0, 100% 6px, 100% 100%, 0 100%); }
.mini-logo svg { width: 16px; height: auto; aspect-ratio: 1; }
.app-nav { display: grid; gap: 2px; }
.app-nav li { display: flex; align-items: center; gap: 9px; padding: 7px 10px; color: var(--gris); font-size: 13px; }
.app-nav li.on { background: var(--white); color: var(--ink); font-weight: 600; box-shadow: inset 2px 0 0 var(--magenta); }
.app-nav li.on .i { color: var(--magenta); }
.app-nav em { margin-left: auto; font-style: normal; font-size: 11px; font-weight: 600; padding: 1px 7px; background: var(--magenta-tint); color: var(--magenta-ink); }
.app-nav-bottom { margin-top: auto; }
.app-main { min-width: 0; display: flex; flex-direction: column; }
.app-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 20px; border-bottom: 1px solid #EFECF2; }
.app-search { display: flex; align-items: center; gap: 8px; width: 330px; max-width: 60%; padding: 7px 12px; background: var(--paper); color: var(--gris-2); font-size: 12.5px; white-space: nowrap; overflow: hidden; }
.app-search.sm { width: 160px; }
.app-top-r { display: flex; align-items: center; gap: 12px; color: var(--gris); }
.bell { position: relative; display: inline-flex; }
.bell i { position: absolute; top: -1px; right: -1px; width: 7px; height: 7px; border-radius: 50%; background: var(--magenta); border: 1.5px solid #fff; }
.av { width: 28px; height: 28px; border-radius: 50%; display: inline-grid; place-items: center; font-size: 10.5px; font-weight: 650; font-style: normal; flex: none; }
.av-navy { background: var(--ink); color: #fff; }
.av-pink { background: var(--rosa); color: #A3005A; }
.av-gray { background: #E6E3EC; color: var(--gris); }
.app-body { display: grid; gap: 14px; padding: 22px 22px 24px; }
.app-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.app-head h3 { font-family: var(--f-display); font-size: 21px; font-weight: 650; letter-spacing: -.03em; }
.app-head p { color: var(--gris); font-size: 13px; margin-top: 2px; }
.m-btn { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; background: var(--magenta); color: #fff; font-size: 12.5px; font-weight: 600; white-space: nowrap; clip-path: polygon(0 0, calc(100% - 6px) 0, 100% 6px, 100% 100%, 0 100%); }
.m-btn .i { width: 13px; height: 13px; stroke-width: 2.4; }

.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.kpis-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.kpi { border: 1px solid #E6E2EA; padding: 12px 14px; background: var(--white); position: relative; }
.kpi span { display: block; font-size: 12px; color: var(--gris); }
.kpi strong { display: block; font-family: var(--f-display); font-size: 28px; font-weight: 650; letter-spacing: -.04em; line-height: 1.15; margin-top: 4px; font-variant-numeric: tabular-nums; }
.kpi small { display: block; font-size: 11.5px; color: var(--gris-2); margin-top: 2px; }
.kpi small.up { color: var(--ok); }
.kpi-accent { background: var(--ink); border-color: var(--ink); color: #fff; }
.kpi-accent span { color: var(--mute-inv); }
.kpi-accent small.up { color: var(--rosa); }

.card { border: 1px solid #E6E2EA; padding: 13px 14px; background: var(--white); min-width: 0; }
.card-h { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 6px; }
.card-h b { font-size: 13.5px; font-weight: 600; }
.card-h > span { font-size: 12px; color: var(--gris-2); }
.hero-cols { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 12px; }

.tasks li { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-top: 1px solid #EFECF2; }
.tasks li:first-child { border-top: 0; }
.tasks p { flex: 1; min-width: 0; font-size: 13px; }
.tasks p b { font-weight: 600; }
.tasks .done { color: var(--gris-2); text-decoration: line-through; }
.cb { width: 16px; height: 16px; border: 1.5px solid #CFC9D6; flex: none; display: grid; place-items: center; }
.cb-on { background: var(--magenta); border-color: var(--magenta); color: #fff; }
.cb-on .i { width: 11px; height: 11px; stroke-width: 3; }

.chip { display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px; font-size: 11px; font-weight: 600; font-style: normal; background: #F1EFF4; color: var(--gris); white-space: nowrap; }
.chip-warn { background: var(--warn-bg); color: var(--warn); }
.chip-ok { background: var(--ok-bg); color: var(--ok); }
.chip-danger { background: var(--danger-bg); color: var(--danger); }
.chip-pink { background: var(--magenta-tint); color: var(--magenta-ink); }

.stuck li { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 0 8px 10px; border-top: 1px solid #EFECF2; background: var(--hatch); }
.stuck li:first-child { border-top: 0; }
.stuck b { display: block; font-size: 13px; font-weight: 600; }
.stuck span { display: block; font-size: 11.5px; color: var(--gris); }
.stuck em { font-style: normal; font-size: 12px; font-weight: 700; color: var(--danger); white-space: nowrap; padding-right: 8px; }

.feed li { display: flex; align-items: center; gap: 10px; padding: 7px 0; }
.feed p { flex: 1; font-size: 12.5px; color: var(--gris); min-width: 0; }
.feed p b { color: var(--ink); font-weight: 600; }
.feed time { font-size: 11px; color: var(--gris-2); font-family: var(--f-mono); }
.feed .av { width: 26px; height: 26px; }

.bars li { display: grid; grid-template-columns: 70px 1fr 24px; align-items: center; gap: 10px; padding: 5px 0; font-size: 12px; color: var(--gris); }
.bars i { height: 8px; background: #EEECF1; position: relative; overflow: hidden; }
.bars i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: calc(var(--v) * 100%); background: var(--ink); transform-origin: left; }
.bars i.accent::after { background: var(--magenta); }
.bars b { text-align: right; color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.loaded .mock-hero .bars i::after { animation: grow 1.2s var(--ease) both .6s; }
@keyframes grow { from { transform: scaleX(0); } }

@container (max-width: 600px) {
  .mock-hero .app { grid-template-columns: 1fr; }
  .mock-hero .app-side, .mock-hero .chrome-url, .mock-hero .hero-cols-b, .mock-hero .m-btn { display: none; }
  .mock-hero .app-top { padding: 10px 14px; }
  .mock-hero .app-search { width: auto; max-width: none; flex: 1; }
  .mock-hero .app-body { padding: 20px 16px; }
  .mock-hero .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mock-hero .hero-cols { grid-template-columns: 1fr; gap: 18px; }
  .mock-hero .app-head h3 { font-size: 19px; }
}

/* Listado de propiedades */
.ml-top { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 18px 14px 26px; border-bottom: 1px solid #EFECF2; }
.ml-top > b { font-family: var(--f-display); font-size: 16px; font-weight: 650; letter-spacing: -.02em; display: flex; align-items: center; gap: 8px; }
.ml-top > b span { font-family: var(--f-body); font-size: 11.5px; font-weight: 600; color: var(--gris); background: #F1EFF4; padding: 2px 8px; }
.filters { display: flex; flex-wrap: wrap; gap: 6px; }
.filters-in { flex: 1; }
.filters span { display: inline-flex; align-items: center; gap: 4px; padding: 4px 11px; border: 1px solid #E6E2EA; font-size: 12px; color: var(--gris); background: var(--white); }
.filters span.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.filters .i { width: 12px; height: 12px; }

.tbl .tr { display: grid; grid-template-columns: 2.2fr 1.1fr .9fr 1.1fr 1.2fr 1fr; gap: 12px; align-items: center; padding: 11px 18px 11px 26px; border-top: 1px solid #EFECF2; font-size: 13px; }
.tbl .tr:first-child { border-top: 0; }
.tbl .th { padding: 9px 18px 9px 26px; background: #FBFAFC; font-family: var(--f-mono); font-size: 10.5px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--gris-2); }
.tbl .tr > span { min-width: 0; }
.tbl small { display: block; font-size: 11.5px; color: var(--gris-2); }
.tbl b { font-weight: 600; font-size: 13.5px; }
.tr-stuck { background: var(--hatch); }
.prop { display: flex; align-items: center; gap: 12px; }
.c-type { color: var(--gris); }
.c-own { display: inline-flex !important; align-items: center; gap: 8px; color: var(--gris); }
.num { font-variant-numeric: tabular-nums; font-weight: 600; white-space: nowrap; }
.op { font-style: normal; font-size: 11px; font-weight: 600; padding: 3px 8px; background: #EEF0F7; color: var(--ink); }
.op-r { background: var(--magenta-tint); color: var(--magenta-ink); }
.c-own .av { width: 24px; height: 24px; font-size: 9.5px; }
.ph { width: 52px; height: 38px; flex: none; position: relative; overflow: hidden; display: block; clip-path: polygon(0 0, calc(100% - 6px) 0, 100% 6px, 100% 100%, 0 100%); }
.ph::before { content: ""; position: absolute; top: 16%; left: 54%; width: 30%; height: 46%; background: rgba(255,255,255,.55); box-shadow: -15px 0 0 -2px rgba(255,255,255,.25); }
.ph::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 28%; background: rgba(40, 30, 20, .14); }
.ph1 { background: linear-gradient(155deg, #E4D8CB, #B49C83); }
.ph2 { background: linear-gradient(155deg, #D5DDE7, #8A9DB3); }
.ph3 { background: linear-gradient(155deg, #DCE2D3, #94A688); }
.ph4 { background: linear-gradient(155deg, #EBD6C8, #C08A6E); }
.ph5 { background: linear-gradient(155deg, #E3DAEA, #A595B6); }
@container (max-width: 560px) {
  .mock-list .ml-top { flex-wrap: wrap; }
  .mock-list .app-search.sm { display: none; }
  .mock-list .filters-in span:nth-child(n+4) { display: none; }
  .mock-list .tr { grid-template-columns: 1.9fr 1.2fr 1.1fr; }
  .mock-list .tr > :nth-child(2), .mock-list .tr > :nth-child(3), .mock-list .tr > :nth-child(6) { display: none; }
}

/* Tablero de ventas */
.seg { display: inline-flex; gap: 2px; padding: 3px; background: #F1EFF4; font-size: 12px; }
.seg span { display: inline-flex; align-items: center; gap: 4px; padding: 5px 11px; color: var(--gris); }
.seg span.on { background: var(--white); color: var(--ink); font-weight: 600; }
.seg .i { width: 12px; height: 12px; }
.cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; padding: 16px 18px 18px; background: #F8F7FA; }
.col-h { display: flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 600; padding: 0 2px 2px; }
.col-h i { width: 18px; height: 18px; display: grid; place-items: center; font-style: normal; font-family: var(--f-mono); font-size: 10.5px; background: var(--ink); color: #fff; flex: none; }
.col-h span { margin-left: auto; color: var(--gris-2); font-weight: 500; }
.tk { margin-top: 8px; padding: 12px; background: var(--white); border: 1px solid #E6E2EA; }
.tk b { display: block; font-size: 13.5px; font-weight: 600; }
.tk > span { display: block; font-size: 12px; color: var(--gris); }
.tk-f { display: flex; align-items: center; justify-content: space-between; gap: 6px; margin-top: 10px; }
.tk-f em { font-style: normal; font-size: 11.5px; color: var(--gris); display: inline-flex; align-items: center; gap: 4px; }
.tk-f em .i { width: 12px; height: 12px; }
.tk-f em.late { color: var(--warn); font-weight: 600; }
.tk-f em.ok { color: var(--ok); font-weight: 600; }
.tk-f .av { width: 22px; height: 22px; font-size: 9px; }
.tk-hl { border-color: var(--magenta); box-shadow: inset 3px 0 0 var(--magenta); }
.req { margin-top: 8px; display: flex; align-items: center; gap: 5px; padding: 5px 8px; background: var(--danger-bg); color: var(--danger); font-size: 11.5px; font-weight: 600; }
.req .i { width: 12px; height: 12px; }
@container (max-width: 500px) {
  .mock-board .cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mock-board .col:nth-child(3) { display: none; }
}

/* Alquileres */
.rent-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); }
.tbl-rent .tr { grid-template-columns: 1.3fr 1.2fr .7fr; }
.tbl-rent .tr.sel { background: var(--magenta-tint); box-shadow: inset 3px 0 0 var(--magenta); }
.c-own2 { font-size: 13px; }
.drawer { border-left: 1px solid #EFECF2; padding: 16px 18px; background: var(--white); }
.drawer > b { display: block; font-family: var(--f-display); font-size: 17px; font-weight: 650; letter-spacing: -.02em; }
.d-sub { display: block; font-size: 12px; color: var(--gris); margin-top: 2px; }
.d-sec { margin: 16px 0 6px; font-family: var(--f-mono); font-size: 10.5px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--gris-2); }
.checks li { display: flex; align-items: center; gap: 8px; padding: 5px 0; font-size: 12.5px; }
.checks i { width: 17px; height: 17px; border: 1.5px solid #CFC9D6; display: grid; place-items: center; flex: none; }
.checks li.ok i { background: var(--ok); border-color: var(--ok); color: #fff; }
.checks li.ok i .i { width: 10px; height: 10px; stroke-width: 3; }
.checks li:not(.ok) { font-weight: 600; }
.wa { margin-top: 14px; display: inline-flex; align-items: center; gap: 6px; padding: 7px 11px; border: 1px solid #E6E2EA; font-size: 12px; font-weight: 600; color: var(--ink); }
.wa .i { width: 13px; height: 13px; color: var(--ok); }
@container (max-width: 520px) {
  .mock-rent .rent-grid { grid-template-columns: 1fr; }
  .mock-rent .drawer { border-left: 0; border-top: 1px solid #EFECF2; }
  .mock-rent .tbl-rent .tr:nth-child(5) { display: none; }
  .mock-rent .filters-sm { display: none; }
}

/* Clientes y procesos */
.crm-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 12px; padding: 16px 18px 18px; background: #F8F7FA; }
.crm-side { display: grid; gap: 12px; align-content: start; }
.shows li { display: grid; grid-template-columns: 46px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 10px 0; border-top: 1px solid #EFECF2; }
.shows li:first-child { border-top: 0; }
.shows time { font-family: var(--f-mono); font-size: 12px; font-weight: 500; color: var(--ink); }
.shows b { display: block; font-size: 13.5px; font-weight: 600; }
.shows span { display: block; font-size: 11.5px; color: var(--gris); }
.ic-btns { display: inline-flex !important; gap: 6px; }
.ic-btns i { width: 28px; height: 28px; border: 1px solid #E6E2EA; display: grid; place-items: center; color: var(--ink); }
.ic-btns .i { width: 13px; height: 13px; }
.tasks-sm li { padding: 7px 0; }
.tasks-sm p { font-size: 12.5px; }
.feed-sm li { padding: 5px 0; }
@container (max-width: 500px) {
  .mock-crm .crm-grid { grid-template-columns: 1fr; }
  .mock-crm .crm-side .card:last-child { display: none; }
}

/* Editor de circuitos */
.mf-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px 16px 28px; border-bottom: 1px solid #EFECF2; }
.mf-title span { display: block; font-family: var(--f-mono); font-size: 10.5px; color: var(--gris-2); letter-spacing: .02em; }
.mf-title b { font-family: var(--f-display); font-size: 17px; font-weight: 650; letter-spacing: -.025em; }
.stages { display: flex; flex-wrap: wrap; gap: 8px 16px; padding: 16px 18px 16px 28px; background: #F8F7FA; border-bottom: 1px solid #EFECF2; }
.stages li { position: relative; display: inline-flex; align-items: center; gap: 7px; padding: 5px 11px 5px 6px; border: 1px solid #E6E2EA; background: var(--white); font-size: 12px; font-weight: 500; white-space: nowrap; }
.stages li + li::before { content: ""; position: absolute; left: -14px; top: 50%; width: 12px; height: 1px; background: #CFC8D6; }
.stages i { width: 18px; height: 18px; display: grid; place-items: center; font-style: normal; font-family: var(--f-mono); font-size: 10.5px; background: #F1EFF4; color: var(--gris); }
.stages .i { width: 10px; height: 10px; stroke-width: 3; }
.stages li.on { border-color: var(--magenta); background: var(--magenta-tint); color: #A3005A; font-weight: 600; }
.stages li.on i { background: var(--magenta); color: #fff; }
.stages li.end i { background: var(--ok-bg); color: var(--ok); }
.mf-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding: 18px 18px 20px 28px; }
.field { margin-bottom: 12px; }
.field label { display: block; font-size: 11.5px; font-weight: 600; color: var(--gris); margin-bottom: 5px; }
.input { display: flex; align-items: center; justify-content: space-between; padding: 7px 10px; border: 1px solid #E6E2EA; font-size: 13px; background: var(--white); }
.input .i { width: 13px; height: 13px; color: var(--gris-2); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.reqs li { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 6px 10px; border: 1px solid #E6E2EA; margin-bottom: 5px; font-size: 12.5px; }
.reqs li.add { border-style: dashed; color: var(--gris); justify-content: flex-start; gap: 6px; }
.reqs .add .i { width: 12px; height: 12px; }
.tog { width: 28px; height: 16px; border-radius: 999px; background: #D9D3DF; position: relative; flex: none; }
.tog::after { content: ""; position: absolute; top: 2px; left: 2px; width: 12px; height: 12px; border-radius: 50%; background: #fff; }
.tog.on { background: var(--magenta); }
.tog.on::after { left: 14px; }
.notice { display: flex; align-items: center; gap: 8px; padding: 8px 10px; background: #FBFAFC; border: 1px solid #EFECF2; font-size: 12.5px; margin-bottom: 6px; color: var(--gris); }
.notice b { color: var(--ink); font-weight: 600; }
.notice .i { color: var(--magenta); width: 14px; height: 14px; }
.role-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.role-chips span { padding: 4px 11px; border: 1px solid #E6E2EA; font-size: 12px; color: var(--gris); }
.role-chips span.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.mf-save { display: flex; justify-content: flex-end; align-items: center; gap: 8px; margin-top: 18px; }
.mf-save .ghost { padding: 8px 12px; font-size: 12.5px; color: var(--gris); }
@container (max-width: 560px) {
  .mock-flow .mf-panel { grid-template-columns: 1fr; gap: 0; }
  .mock-flow .mf-save, .mock-flow .seg-add { display: none; }
  .mock-flow .stages li:nth-child(n+5):not(.end) { display: none; }
}

/* Ficha de propiedad */
.rec-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; padding: 18px 20px 16px 30px; border-bottom: 1px solid #EFECF2; }
.crumb { display: block; font-family: var(--f-mono); font-size: 10.5px; color: var(--gris-2); letter-spacing: .02em; margin-bottom: 4px; }
.rec-top b { display: block; font-family: var(--f-display); font-size: 21px; font-weight: 650; letter-spacing: -.03em; }
.rec-sub { display: block; font-size: 12px; color: var(--gris); margin-top: 2px; }
.rec-price { text-align: right; }
.rec-price span { display: block; font-size: 11px; color: var(--gris-2); }
.rec-price b { font-size: 17px; font-variant-numeric: tabular-nums; }
.rec-steps { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; padding: 14px 20px 14px 30px; border-bottom: 1px solid #EFECF2; }
.rec-steps li { font-size: 10.5px; color: var(--gris-2); padding-top: 8px; position: relative; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rec-steps li::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: #E9E5EC; }
.rec-steps li.ok { color: var(--ink); }
.rec-steps li.ok::before { background: var(--ink); }
.rec-steps li.on { color: var(--magenta-ink); font-weight: 700; }
.rec-steps li.on::before { background: var(--magenta); }
.rec-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 14px 20px 20px 30px; }
.rec-box { border: 1px solid #E6E2EA; padding: 12px 14px; min-width: 0; }
.rec-box h5 { display: flex; justify-content: space-between; margin-bottom: 6px; font-size: 12.5px; font-weight: 600; }
.rec-box h5 span { font-weight: 500; color: var(--gris-2); }
.rec-wide { grid-column: 1 / -1; }
.ppl li { display: flex; align-items: center; gap: 9px; padding: 5px 0; }
.ppl .av { width: 26px; height: 26px; font-size: 9.5px; }
.ppl b { display: block; font-size: 12.5px; font-weight: 600; }
.ppl small { display: block; font-size: 11px; color: var(--gris); }
.hist li { display: grid; grid-template-columns: 66px 1fr; gap: 8px; padding: 5px 0; font-size: 12.5px; color: var(--gris); border-top: 1px solid #F1EFF4; }
.hist li:first-child { border-top: 0; }
.hist time { font-family: var(--f-mono); font-size: 11px; color: var(--gris-2); }
.hist b { color: var(--ink); font-weight: 600; }
@container (max-width: 500px) {
  .mock-record .rec-grid { grid-template-columns: 1fr; }
  .mock-record .rec-steps li { font-size: 9px; }
  .mock-record .rec-wide { display: none; }
}

/* Roles */
.mock-role .app { min-height: 380px; }
.mock-role .app-body { align-content: start; }
.mock-role .app-nav li { animation: navIn .35s var(--ease) both; }
@keyframes navIn { from { opacity: 0; transform: translateX(-6px); } }
.role-swap { animation: swap .4s var(--ease) both; }
@keyframes swap { from { opacity: 0; transform: translateY(6px); } }
@container (max-width: 600px) {
  .mock-role .app { grid-template-columns: 140px minmax(0, 1fr); }
  .mock-role .app-brand span:last-child { display: none; }
  .mock-role .app-nav li { font-size: 12px; padding: 6px 8px; gap: 7px; }
  .mock-role .app-body { padding: 18px 14px; }
  .mock-role .kpi { padding: 10px; }
  .mock-role .kpi strong { font-size: 18px; }
  .mock-role .kpi span { font-size: 11px; }
  .mock-role .tasks .chip { display: none; }
}

/* =========================================================
   HERO: la pantalla se endereza al scrollear
   ========================================================= */
.hero-product { margin-top: 64px; padding-bottom: 104px; }
.hero-visual[data-tilt] { transform-origin: 50% 0; will-change: transform; }

/* =========================================================
   EL PROBLEMA: una frase que se enciende palabra por palabra
   ========================================================= */
.pain { position: relative; padding: 144px 0; overflow: clip; }
.pain-inner { position: relative; }
.pain-text {
  font-family: var(--f-display); font-size: clamp(40px, 7vw, 108px); font-weight: 650; line-height: 1; letter-spacing: -.05em;
  max-width: 10em; text-wrap: balance;
}
.pain-text em { font-style: normal; color: var(--magenta-ink); }
.pain-text .w { transition: opacity .25s linear; }
.pain-frags .pf {
  position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: 9px 13px;
  background: var(--white); border: 1px solid #DCD6E1; box-shadow: 0 14px 30px -16px rgba(20, 28, 54, .45);
  font-size: 13.5px; white-space: nowrap; color: var(--ink);
  transform: translate3d(0, var(--py, 0px), 0) rotate(var(--r, 0deg));
}
.pf i { width: 11px; height: 13px; background: #8FB59B; flex: none; }
.pf .i { width: 14px; height: 14px; }
.pf-chat { border-radius: 16px 16px 16px 4px; }
.pf-warn { color: var(--warn); font-weight: 600; }
.pf b { font-family: var(--f-display); font-size: 22px; line-height: 1; color: #C9C3D1; }
.pf1 { right: 0; top: 4%; --r: 3deg; }
.pf2 { right: 6%; top: 34%; --r: -2deg; }
.pf3 { right: 1%; top: 60%; --r: 2deg; }
.pf4 { right: 9%; top: 84%; --r: -1.5deg; }

/* =========================================================
   CASOS DE USO (azul noche): pantalla fija + problemas que pasan
   ========================================================= */
.cases {
  background: var(--ink); color: var(--paper); padding: 136px 0 96px;
  clip-path: polygon(0 0, calc(100% - var(--cut-xl)) 0, 100% var(--cut-xl), 100% 100%, 0 100%);
}
.cases .mute { color: rgba(246, 244, 247, .4); }
.cases-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; align-items: end; }
.cases-index { display: flex; flex-direction: column; border-top: 1px solid var(--rule-inv); counter-reset: c; }
.cases-index a { display: flex; align-items: baseline; gap: 14px; padding: 11px 0; border-bottom: 1px solid var(--rule-inv); font-size: 16px; color: var(--mute-inv); transition: color .2s; }
.cases-index a::before { counter-increment: c; content: counter(c, decimal-leading-zero); font-family: var(--f-mono); font-size: 12px; color: rgba(246, 244, 247, .35); transition: color .2s; }
.cases-index a:hover, .cases-index a.on { color: #fff; }
.cases-index a.on::before { color: var(--magenta); }

.cases-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 72px; margin-top: 96px; }
.cases-stage { position: sticky; top: max(calc(var(--nav-h) + 24px), calc(50vh - var(--stage-h, 480px) / 2 + var(--nav-h) / 2 - 20px)); align-self: start; }
.stage-inner { position: relative; height: var(--stage-h, 480px); }
.stage-item {
  position: absolute; left: 0; top: 0; width: 100%; opacity: 0; pointer-events: none;
  transform: translateY(28px) scale(.97); filter: blur(8px);
  transition: opacity .6s var(--ease), transform .7s var(--ease), filter .6s var(--ease);
}
.stage-item.on { opacity: 1; transform: none; filter: none; }
.stage-item .fit, .case-visual .fit { filter: drop-shadow(0 30px 50px rgba(0, 0, 0, .45)); }
.stage-bar { position: relative; height: 2px; margin-top: 32px; background: var(--rule-inv); }
.stage-bar i { position: absolute; left: 0; top: 0; bottom: 0; width: calc(var(--prog, .2) * 100%); background: var(--magenta); transition: width .5s var(--ease); }

.case { display: flex; flex-direction: column; justify-content: center; min-height: 74vh; padding: 9vh 0; border-top: 1px solid var(--rule-inv); transition: opacity .5s var(--ease); }
.case:first-child { border-top: 0; padding-top: 0; justify-content: flex-start; min-height: 60vh; }
.has-stage .case { opacity: .26; }
.has-stage .case.on { opacity: 1; }
.case-n { font-family: var(--f-mono); font-size: 12px; letter-spacing: .08em; color: var(--magenta); }
.case h3 { margin-top: 14px; font-family: var(--f-display); font-size: clamp(26px, 2.4vw, 36px); font-weight: 600; line-height: 1.1; letter-spacing: -.03em; color: #fff; text-wrap: balance; }
.case > p { margin-top: 18px; font-size: 17px; line-height: 1.6; color: var(--mute-inv); max-width: 32em; }
.case .ticks li { color: #E4E6EF; font-size: 15.5px; }
.case-visual { margin-top: 36px; }
.has-stage .case-visual { display: none; }

/* Mockups nuevos de los casos */
.dash { display: grid; gap: 12px; padding: 16px 18px 18px 26px; background: #F8F7FA; }
.dash-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hbars li { grid-template-columns: 76px 1fr 26px; }
@container (max-width: 500px) {
  .mock-dash .dash-cols { grid-template-columns: 1fr; }
  .mock-dash .dash-cols .card:last-child { display: none; }
}
.who-pill { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 600; }
.who-pill .av { width: 24px; height: 24px; font-size: 9.5px; }
.pay-tot { display: grid; grid-template-columns: 1fr 1fr 1.3fr; border-bottom: 1px solid #EFECF2; }
.pay-tot > div { padding: 16px 18px 16px 26px; border-right: 1px solid #EFECF2; }
.pay-tot > div:last-child { border-right: 0; background: #F8F7FA; padding-left: 18px; }
.pay-tot span { display: block; font-size: 12px; color: var(--gris); }
.pay-tot strong { display: block; margin-top: 4px; font-family: var(--f-display); font-size: 26px; font-weight: 650; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.pay-scale b { display: block; margin-top: 4px; font-size: 14px; font-weight: 600; }
.pay-scale i { display: block; height: 6px; margin-top: 8px; background: #E9E5EC; position: relative; }
.pay-scale i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: calc(var(--v) * 100%); background: var(--magenta); }
.pay-scale small { display: block; margin-top: 6px; font-size: 11px; color: var(--gris); line-height: 1.35; }
.tbl-pay .tr { grid-template-columns: 1.3fr .8fr 1.3fr 1fr; }
.tbl-pay .tr > :last-child { text-align: right; }
.c-rule { color: var(--gris); font-size: 12px; }
@container (max-width: 520px) {
  .mock-pay .pay-tot { grid-template-columns: 1fr 1fr; }
  .mock-pay .pay-scale { grid-column: 1 / -1; border-top: 1px solid #EFECF2; padding-left: 26px !important; }
  .mock-pay .tbl-pay .tr { grid-template-columns: 1.4fr 1fr; }
  .mock-pay .tbl-pay .tr > :nth-child(2), .mock-pay .tbl-pay .tr > :nth-child(3) { display: none; }
}
.mock-list { position: relative; }
.mock-list .tbl { padding-bottom: 72px; }
.toast {
  position: absolute; right: 16px; bottom: 16px; display: flex; align-items: center; gap: 10px; padding: 10px 16px 10px 10px;
  background: var(--ink); color: #fff; font-size: 12.5px; line-height: 1.35;
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 0 100%);
}
.toast b { display: block; font-weight: 600; }
.toast span { display: block; color: var(--mute-inv); font-size: 11.5px; }
.toast-ic { width: 28px; height: 28px; display: grid; place-items: center; background: var(--magenta); flex: none; clip-path: polygon(0 0, 60% 0, 100% 40%, 100% 100%, 0 100%); }
.toast-ic .i { width: 14px; height: 14px; }
.notice-auto .i { color: var(--ok); }

/* =========================================================
   A TU MEDIDA (rosa) + cada persona ve lo suyo
   ========================================================= */
.custom { background: var(--rosa); padding: 136px 0; }
.custom-head { max-width: 1000px; }
.custom .label { color: var(--ink); }
.custom-head .soft { color: rgba(20, 28, 54, .58); }
.custom .lead { color: rgba(20, 28, 54, .78); margin-top: 24px; }
.tus-rot {
  display: flex; flex-wrap: wrap; align-items: baseline; column-gap: .2em; margin-top: 56px; padding-top: 28px; border-top: 2px solid var(--ink);
  font-family: var(--f-display); font-size: clamp(32px, 4.4vw, 64px); font-weight: 650; line-height: 1.08; letter-spacing: -.045em;
}
.rot { display: inline-grid; overflow: hidden; color: var(--magenta-ink); padding-bottom: .08em; }
.rot > span { grid-area: 1 / 1; transform: translateY(105%); opacity: 0; transition: transform .7s var(--ease), opacity .5s var(--ease); }
.rot > span.on { transform: none; opacity: 1; }
.rot > span.out { transform: translateY(-105%); opacity: 0; }
.roles-demo { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 64px; margin-top: 88px; align-items: start; }
.roles-title { font-family: var(--f-display); font-size: clamp(26px, 2.6vw, 36px); font-weight: 650; letter-spacing: -.03em; line-height: 1.08; text-wrap: balance; }
.roles-side > p { margin-top: 14px; color: rgba(20, 28, 54, .78); font-size: 16px; }
.role-tabs { position: relative; display: flex; flex-direction: column; margin-top: 28px; border-top: 1px solid rgba(20, 28, 54, .2); }
.tab-ind { position: absolute; left: 0; right: 0; top: var(--t, 0px); height: var(--h, 0px); background: rgba(255, 255, 255, .5); box-shadow: inset 3px 0 0 var(--magenta); pointer-events: none; transition: top .55s var(--ease), height .55s var(--ease), left .55s var(--ease), width .55s var(--ease); }
.tab-ind::after { content: ""; position: absolute; left: 0; bottom: -1px; height: 2px; width: 0; background: var(--magenta); }
.tab-ind.timing::after { animation: tabprog var(--dur, 4.5s) linear forwards; }
@keyframes tabprog { to { width: 100%; } }
.role-tabs button {
  position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; padding: 11px 16px; border: 0; border-bottom: 1px solid rgba(20, 28, 54, .2); background: none; cursor: pointer; text-align: left;
  font-family: var(--f-display); font-size: clamp(19px, 1.7vw, 23px); font-weight: 600; letter-spacing: -.02em; color: rgba(20, 28, 54, .45); transition: color .2s;
}
.role-tabs button:hover { color: rgba(20, 28, 54, .8); }
.role-tabs button[aria-selected="true"] { color: var(--ink); }
.role-stage:focus-visible { outline-offset: 8px; }
.mock-role { position: relative; }
.mock-role.sheen::after { content: ""; position: absolute; inset: -30%; z-index: 5; pointer-events: none; background: linear-gradient(135deg, transparent 42%, rgba(247, 198, 223, .55) 50%, transparent 58%); animation: sheen 1s var(--ease) forwards; }
@keyframes sheen { from { transform: translateX(-55%); } to { transform: translateX(55%); } }
.mock-role .kpi.pop { animation: pop .6s var(--ease) both; animation-delay: var(--dl, 0s); }
@keyframes pop { from { opacity: 0; transform: translateY(12px) scale(.96); filter: blur(4px); } }
.mock-role .tasks li.slide { animation: slidein .55s var(--ease) both; animation-delay: var(--dl, 0s); }
@keyframes slidein { from { opacity: 0; transform: translateX(-16px); } }
.mock-role .app-head.swap { animation: swap .45s var(--ease) both; }
.role-stage .fit { filter: drop-shadow(0 30px 40px rgba(122, 0, 66, .22)); }
.role-summary { margin-bottom: 18px; font-size: 17px; font-weight: 500; min-height: 1.6em; }
.role-note { margin-top: 16px; font-size: 13.5px; color: rgba(20, 28, 54, .7); }

/* =========================================================
   NOSOTROS + PREGUNTAS
   ========================================================= */
.about { padding: 128px 0; }
.about-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 72px; align-items: start; }
.about-copy > p:not(.label) { margin-top: 20px; font-size: 17px; color: var(--gris); max-width: 32em; }
.about-copy .about-who { padding-top: 20px; border-top: 1px solid var(--rule); }
.faq-title { font-family: var(--f-display); font-size: clamp(24px, 2.2vw, 30px); font-weight: 650; letter-spacing: -.03em; line-height: 1.05; margin-bottom: 22px; }
.faq-list { border-top: 2px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 0; font-family: var(--f-display); font-size: clamp(17px, 1.5vw, 21px); font-weight: 600; letter-spacing: -.02em; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .i { width: 20px; height: 20px; color: var(--magenta); transition: transform .25s var(--ease); }
.faq details[open] summary .i { transform: rotate(45deg); }
.faq details p { padding: 0 0 22px; color: var(--gris); font-size: 16px; line-height: 1.65; max-width: 44em; }

/* =========================================================
   CIERRE + FORMULARIO (magenta; el bloque se abre al llegar)
   ========================================================= */
.close {
  --ci: 0px;
  background: var(--magenta); color: #fff; padding: 128px 0 112px;
  clip-path: polygon(var(--ci) var(--ci), calc(100% - var(--ci) - var(--cut-xl)) var(--ci), calc(100% - var(--ci)) calc(var(--ci) + var(--cut-xl)), calc(100% - var(--ci)) 100%, var(--ci) 100%);
}
.close-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: start; }
.close h2 { font-family: var(--f-display); font-size: clamp(44px, 6.2vw, 96px); font-weight: 700; line-height: .92; letter-spacing: -.055em; text-wrap: balance; }
.close .title-dot { fill: var(--ink); }
.close-lead { margin-top: 28px; font-size: clamp(17px, 1.5vw, 20px); line-height: 1.55; max-width: 30em; color: rgba(255, 255, 255, .92); }
.close-steps { margin-top: 44px; border-top: 1px solid rgba(255, 255, 255, .38); }
.close-steps li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 10px; padding: 16px 0; border-bottom: 1px solid rgba(255, 255, 255, .38); font-size: 15px; color: rgba(255, 255, 255, .88); }
.close-steps span { font-family: var(--f-display); font-size: 30px; font-weight: 700; line-height: 1; letter-spacing: -.04em; color: var(--ink); }
.close-steps b { display: block; color: #fff; font-size: 16.5px; font-weight: 600; }
.close .form-card { color: var(--ink); }

/* =========================================================
   FORMULARIO
   ========================================================= */
.form-card { padding: 44px; background: var(--white); clip-path: polygon(0 0, calc(100% - var(--cut-l)) 0, 100% var(--cut-l), 100% 100%, 0 100%); }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.f-field { margin-bottom: 20px; }
.f-field label { display: block; margin-bottom: 8px; font-size: 14px; font-weight: 600; color: var(--ink); }
.f-field .opt { font-weight: 400; color: var(--gris-2); }
.f-field input, .f-field select, .f-field textarea {
  width: 100%; min-height: 50px; padding: 0 14px; border: 1px solid #D6D0DC; border-radius: 0; background: var(--paper);
  font-size: 16px; color: var(--ink); transition: border-color .2s, box-shadow .2s, background-color .2s; appearance: none; -webkit-appearance: none;
}
.f-field textarea { padding: 12px 14px; min-height: 104px; resize: vertical; line-height: 1.5; }
.f-field input::placeholder, .f-field textarea::placeholder { color: #A39EAE; }
.f-field input:hover, .f-field select:hover, .f-field textarea:hover { border-color: #B9B0C2; }
.f-field input:focus, .f-field select:focus, .f-field textarea:focus { outline: none; background: var(--white); border-color: var(--ink); box-shadow: inset 0 -2px 0 var(--magenta); }
.f-field [aria-invalid="true"] { border-color: var(--danger); background: #FFFBFC; }
.select { position: relative; }
.select select { padding-right: 40px; cursor: pointer; }
.select .i { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--gris); pointer-events: none; }
.f-err { margin-top: 6px; font-size: 13.5px; color: var(--danger); font-weight: 600; }
.f-err:empty { display: none; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.f-legal { margin-top: 14px; font-size: 13px; color: var(--gris); }
.f-legal a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }
.f-status:empty { display: none; }
.f-status { margin-top: 16px; padding: 14px 16px; font-size: 14.5px; line-height: 1.5; }
.f-status.is-error { background: var(--danger-bg); color: #8E1A33; }
.f-status.is-warn { background: var(--warn-bg); color: #6B3D00; }
.f-status a { font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.f-done { padding: 40px 8px; }
.f-done:focus { outline: none; }
.done-ic { width: 56px; height: 56px; display: inline-grid; place-items: center; background: var(--magenta); color: #fff; clip-path: polygon(0 0, 60% 0, 100% 40%, 100% 100%, 0 100%); }
.done-ic .i { width: 26px; height: 26px; stroke-width: 2.4; }
.f-done h3 { margin-top: 24px; font-family: var(--f-display); font-size: 28px; font-weight: 650; letter-spacing: -.035em; }
.f-done p { margin-top: 8px; color: var(--gris); font-size: 16.5px; max-width: 30em; }

/* =========================================================
   FOOTER
   ========================================================= */
.footer { background: var(--ink); color: var(--mute-inv); padding: 80px 0 0; font-size: 14.5px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 48px; }
.footer-brand p { max-width: 26em; line-height: 1.6; color: #C9CCDB; }
.footer-col h2 { font-family: var(--f-mono); font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: #fff; margin-bottom: 16px; }
.footer-col ul { display: grid; gap: 2px; }
.footer-col a { display: inline-flex; align-items: center; gap: 8px; padding: 6px 0; transition: color .2s; }
.footer-col a:hover, .footer-bottom a:hover { color: #fff; }
.footer-col .i { width: 16px; height: 16px; color: var(--rosa); }
.social { display: flex; gap: 10px; margin-top: 22px; }
.social a { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--rule-inv); color: #fff; transition: border-color .2s; }
.social a:hover { border-color: var(--magenta); }
.social .i { width: 18px; height: 18px; }
.footer-logo { margin-bottom: 18px; padding: 0; }
.footer-logo .logo-svg { height: 26px; }
.footer-bottom { position: relative; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; padding-bottom: 28px; margin-top: 72px; font-size: 13px; color: rgba(169, 174, 198, .8); }
.footer-bottom::before { content: ""; position: absolute; top: 0; left: var(--gutter); right: var(--gutter); height: 1px; background: var(--rule-inv); }

/* =========================================================
   Entrada
   ========================================================= */
.js .reveal { opacity: 0; transform: translateY(14px); filter: blur(6px); transition: opacity .8s var(--ease), transform .8s var(--ease), filter .8s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; filter: none; }

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

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1023px) {
  .hero-row, .cases-head, .about-grid, .close-grid, .roles-demo { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .hero-act { justify-self: start; justify-items: start; }
  .hero-note { text-align: left; }
  .cases-grid { grid-template-columns: minmax(0, 1fr); margin-top: 40px; }
  .cases-stage { display: none; }
  .case, .case:first-child { min-height: 0; padding: 48px 0; }
  .case:first-child { padding-top: 8px; }
  .pain-frags { display: none; }
  .role-tabs { flex-direction: row; overflow-x: auto; gap: 22px; border: 0; margin-top: 24px; scrollbar-width: none; }
  .role-tabs::-webkit-scrollbar { display: none; }
  .role-tabs button { flex: none; border: 0; padding: 8px 0; gap: 8px; }
  .tab-ind { top: auto !important; bottom: 0; height: 2px !important; left: var(--l, 0px); right: auto; width: var(--w, 0px); background: var(--magenta); box-shadow: none; }
  .tab-ind::after { display: none; }
}

@media (max-width: 899px) {
  .nav-links, .nav-actions .nav-login { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-actions { gap: 10px; }
}

@media (max-width: 760px) {
  :root { --gutter: max(16px, env(safe-area-inset-left, 0px)); --nav-h: 60px; --cut-xl: 48px; --cut-l: 28px; }
  body { font-size: 16px; }
  .hero { padding-top: 24px; }
  .hero-meta-r { display: none; }
  .hero-title { margin-top: 20px; font-size: 11.4vw; }
  .hero-title .ln-2 { padding-left: .5em; }
  .hero-row { margin-top: 28px; gap: 28px; }
  .hero-ctas { gap: 20px; }
  .hero-ctas .btn { width: 100%; }
  .hero-product { margin-top: 40px; padding-bottom: 56px; }
  .hero-product::before { top: 22%; }
  .pain { padding: 96px 0; }
  .cases { padding: 96px 0 56px; }
  .case { padding: 40px 0; }
  .custom { padding: 88px 0; }
  .tus-rot { margin-top: 40px; }
  .roles-demo { margin-top: 56px; }
  .about { padding: 88px 0; }
  .close { padding: 96px 0 64px; }
  .form-card { padding: 22px; }
  .f-row { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .footer { padding-top: 64px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px 24px; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 400px) {
  .hide-xs { display: none; }
  .show-xs { display: inline; }
}
