/* =========================================================
   Gestión PI 360 — landing
   ========================================================= */
:root {
  --bg: #ffffff;
  --bg-soft: #f7f7f5;
  --bg-soft-2: #ededea;
  --ink: #111111;
  --text: #1f1f1f;
  --text-soft: #5f5f5c;
  --text-faint: #8f8f8a;
  --line: #e8e7e3;
  --line-strong: #d6d4ce;

  /* color de marca (coral por defecto; ver temas al final) */
  --brand: #e8604c;
  --brand-600: #cf4c39;
  --brand-2: #f27e6b;
  --brand-100: #fce3de;
  --brand-200: #f8cbc3;
  --brand-900: #111111;
  --brand-soft: #fdedea;
  --brand-tint: #fef8f6;
  --sky: #f7a799;
  --brand-rgb: 232, 96, 76;
  --glow-rgb: 242, 126, 107;
  --light-rgb: 247, 167, 153;
  --brand-text: var(--brand);
  --on-brand: #fff;
  --hl-1: var(--brand);
  --hl-2: var(--brand-2);

  --green: #2f8a5f;
  --red: #c2463a;
  --amber-text: #8a6d12;

  /* estados del loteo */
  --st-op: #2f8a5f;
  --st-obra: #e0a526;
  --st-sin: #9aa0a6;
  --st-disp: #3a3a3a;

  --radius: 14px;
  --shadow-sm: 0 1px 2px rgba(17, 17, 17, .04), 0 4px 12px rgba(17, 17, 17, .04);
  --shadow: 0 2px 4px rgba(17, 17, 17, .03), 0 24px 48px -16px rgba(17, 17, 17, .14);
  --font: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; line-height: 1.1; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.wrap--narrow { width: min(820px, 100% - 32px); }
.mono { font-variant-numeric: tabular-nums; letter-spacing: .01em; }
.tiny { font-size: 12px; }
.muted { color: var(--text-soft); }
.caps { text-transform: uppercase; letter-spacing: .16em; font-size: 11px; }

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

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px; border-radius: 8px; border: 1px solid transparent;
  font-weight: 600; font-size: 15px;
  transition: background .2s, color .2s, border-color .2s, box-shadow .2s;
}
.btn svg { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--primary { background: var(--brand); color: var(--on-brand); box-shadow: 0 8px 20px -8px rgba(var(--brand-rgb), .55); }
.btn--primary:hover { background: var(--brand-600); }
.btn--ghost { color: var(--ink); border-color: var(--line-strong); background: #fff; }
.btn--ghost:hover { border-color: var(--brand-text); color: var(--brand-text); }
.btn--sm { padding: 9px 18px; font-size: 14px; box-shadow: none; }
.btn--block { width: 100%; }

/* ---------- logo ---------- */
.logo { display: inline-flex; align-items: center; gap: 11px; color: var(--ink); }
.logo__mark { width: 34px; height: 34px; border-radius: 4px; overflow: hidden; flex: none; }
.logo__word { font-size: 20px; font-weight: 750; font-stretch: 112%; letter-spacing: -.01em; line-height: 1; white-space: nowrap; }
.logo__word em { font-style: normal; color: var(--brand-text); }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  background: rgba(255, 255, 255, .75);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s;
}
.nav.is-scrolled { background: rgba(255, 255, 255, .94); border-color: var(--line); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 20px; }
.nav__links { display: flex; align-items: center; gap: 30px; font-size: 14.5px; }
.nav__links a:not(.btn) { color: var(--text-soft); transition: color .2s; }
.nav__links a:not(.btn):hover { color: var(--brand-text); }
.nav__burger { display: none; background: none; border: 0; width: 44px; height: 44px; position: relative; color: var(--ink); }
.nav__burger span { position: absolute; left: 11px; right: 11px; height: 1.5px; background: currentColor; transition: transform .25s var(--ease); }
.nav__burger span:first-child { top: 18px; }
.nav__burger span:last-child { top: 25px; }
.nav__burger[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden; padding: 160px 0 100px;
  background:
    radial-gradient(700px 480px at 82% 30%, rgba(var(--brand-rgb), .10), transparent 70%),
    radial-gradient(500px 360px at 0% 100%, rgba(var(--light-rgb), .12), transparent 70%),
    var(--bg);
}
.hero__grid-bg {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(var(--brand-rgb), .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--brand-rgb), .06) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 75% 35%, #000 10%, transparent 60%);
  -webkit-mask-image: radial-gradient(ellipse at 75% 35%, #000 10%, transparent 60%);
}
.hero__inner { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600;
  color: var(--brand-text);
  background: var(--brand-soft); border-radius: 999px; padding: 7px 14px;
}
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--brand); flex: none; }
.hero__title {
  margin-top: 28px;
  font-size: clamp(42px, 4.9vw, 70px); font-stretch: 112%;
  font-weight: 800; letter-spacing: -.035em; line-height: .98;
  color: var(--ink);
}
.hl {
  white-space: nowrap;
  background: linear-gradient(90deg, var(--hl-1), var(--hl-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__lead { margin-top: 26px; max-width: 540px; font-size: 18px; color: var(--text-soft); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero__checks { display: flex; flex-wrap: wrap; gap: 8px 26px; margin-top: 32px; font-size: 14px; color: var(--text-soft); }
.hero__checks li { display: flex; align-items: center; gap: 8px; }
.hero__checks li::before {
  content: "✓"; width: 16px; height: 16px; border-radius: 50%; flex: none;
  display: grid; place-items: center; font-size: 10px; font-weight: 800;
  background: var(--brand-soft); color: var(--brand-text);
}

/* map card */
.map-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 20px; box-shadow: var(--shadow); }
.map-card__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 14px; }
.map-card__head strong { display: block; font-size: 18px; font-weight: 700; margin-top: 4px; color: var(--ink); }
.live { display: inline-flex; align-items: center; gap: 7px; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--green); font-weight: 600; }
.live span { width: 6px; height: 6px; border-radius: 50%; background: var(--green); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(47, 138, 95, .5); } 100% { box-shadow: 0 0 0 9px rgba(47, 138, 95, 0); } }
.map-card__svg { position: relative; border-radius: 10px; overflow: hidden; background: var(--brand-tint); }
#loteo { width: 100%; height: auto; }
#loteo .road { fill: #fff; }
#loteo .road-line { stroke: var(--line-strong); stroke-dasharray: 6 8; stroke-width: 1; fill: none; }
#loteo .block-bg { fill: #ecebe7; }
#loteo .block-label { fill: var(--text-faint); font: 600 8.5px var(--font); letter-spacing: .16em; }
#loteo .lot {
  stroke: #fff; stroke-width: 2; cursor: pointer;
  transition: opacity .25s, transform .25s var(--ease), filter .25s;
  transform-box: fill-box; transform-origin: center;
  opacity: 0;
}
#loteo .lot.in { opacity: 1; }
#loteo .lot:hover, #loteo .lot.is-hot { filter: brightness(1.08) saturate(1.1); transform: scale(1.05); }
#loteo .lot.is-dim { opacity: .15; }
#loteo .lot[data-st="sin"] { fill: url(#hatch); }
#loteo .lot[data-st="op"] { fill: var(--st-op); }
#loteo .lot[data-st="obra"] { fill: var(--st-obra); }
#loteo .lot[data-st="disp"] { fill: rgba(17, 17, 17, .05); stroke: var(--st-disp); stroke-width: 1; stroke-dasharray: 3 2; }
#loteo .gate { fill: var(--brand); }
#loteo .gate-label { fill: var(--brand-text); font: 600 8.5px var(--font); letter-spacing: .18em; }
.tip {
  position: absolute; pointer-events: none; z-index: 2;
  background: var(--ink); color: #fff;
  padding: 9px 13px; border-radius: 8px; font-size: 13px; line-height: 1.4;
  box-shadow: 0 12px 30px -8px rgba(0, 0, 0, .35);
  opacity: 0; transform: translate(-50%, -110%) scale(.97); transition: opacity .15s, transform .15s;
  white-space: nowrap;
}
.tip.on { opacity: 1; transform: translate(-50%, -116%) scale(1); }
.tip b { display: block; font-size: 14px; font-weight: 700; }
.tip .mono { font-size: 12px; color: rgba(255, 255, 255, .65); }
.tip i { display: inline-block; width: 8px; height: 8px; border-radius: 2px; margin-right: 6px; }
.legend { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.legend button {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; color: var(--text);
  border: 1px solid var(--line); border-radius: 6px;
  padding: 6px 11px; font-size: 13px; transition: border-color .2s, opacity .2s, background .2s;
}
.legend button:hover { border-color: var(--line-strong); }
.legend button.is-on { border-color: var(--brand-text); background: var(--brand-soft); }
.legend button.is-off { opacity: .45; }
.legend i { width: 9px; height: 9px; border-radius: 2px; }
.legend b { font-weight: 500; font-size: 12px; color: var(--text-faint); font-variant-numeric: tabular-nums; }
.map-hint { margin-top: 14px; text-align: center; color: var(--text-faint); }

/* ---------- panel rotativo del hero ---------- */
.hs-tabs { display: flex; justify-content: flex-end; align-items: center; gap: 4px; margin-top: 14px; }
.hs-tab { position: relative; padding: 2px 0 5px; border: 0; background: none; font-size: 11.5px; font-weight: 500; color: var(--text-faint); transition: color .2s; }
.hs-tab + .hs-tab::before { content: "·"; margin-right: 4px; color: var(--line-strong); }
.hs-tab:hover { color: var(--ink); }
.hs-tab.is-active { color: var(--brand-text); font-weight: 650; }
.hs-tab i { position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; border-radius: 2px; overflow: hidden; }
.hs-tab + .hs-tab i { left: 10px; }
.hs-tab.is-active i::after { content: ""; position: absolute; inset: 0; transform-origin: left; transform: scaleX(0); background: var(--brand); animation: hsProgress var(--hs-dur, 7s) linear forwards; }
.map-card:hover .hs-tab.is-active i::after, .map-card:focus-within .hs-tab.is-active i::after { animation-play-state: paused; }
.map-card.is-manual .hs-tab.is-active i::after { animation: none; transform: scaleX(1); }
@keyframes hsProgress { to { transform: scaleX(1); } }

.hs-stage { display: grid; }
.hs-slide { grid-area: 1 / 1; min-width: 0; opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .45s var(--ease), transform .45s var(--ease), visibility 0s .45s; }
.hs-slide.is-active { opacity: 1; visibility: visible; transform: none; transition: opacity .45s var(--ease), transform .45s var(--ease), visibility 0s; }

.hs-body { display: grid; grid-template-columns: 170px 1fr; gap: 24px; align-items: center; padding: 18px; border-radius: 12px; background: var(--brand-tint); border: 1px solid var(--line); }
.donut { position: relative; width: 170px; aspect-ratio: 1; }
.donut svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.donut circle { fill: none; stroke-width: 14; }
.donut__track { stroke: var(--bg-soft-2); }
.donut__val { stroke: var(--brand); stroke-linecap: round; stroke-dasharray: 314.16; stroke-dashoffset: 314.16; transition: stroke-dashoffset 1.3s var(--ease) .15s; }
.hs-slide.is-active .donut__val { stroke-dashoffset: calc(314.16 - 314.16 * var(--p) / 100); }
.donut__label { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; line-height: 1; }
.donut__label b { font-size: 38px; font-weight: 800; font-stretch: 110%; letter-spacing: -.03em; color: var(--ink); }
.donut__label span { margin-top: 4px; font-size: 12px; color: var(--text-soft); }
.hs-stats { display: grid; gap: 10px; }
.hs-stats li { display: grid; grid-template-columns: 12px 1fr auto; align-items: center; gap: 8px; font-size: 13.5px; color: var(--text-soft); padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.hs-stats li:last-child { border-bottom: 0; padding-bottom: 0; }
.hs-stats b { color: var(--ink); font-weight: 700; font-variant-numeric: tabular-nums; }
.dot { width: 10px; height: 10px; border-radius: 3px; }
.dot--ok { background: var(--brand); }
.dot--due { background: #e0a526; }
.dot--late { background: var(--red); }

.hs-feed, .hs-steps, .hs-due { display: grid; gap: 8px; margin-top: 12px; }
.hs-feed li, .hs-steps li, .hs-due li {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px;
  padding: 11px 14px; border-radius: 12px; background: #fff; border: 1px solid var(--line);
}
.hs-feed div, .hs-steps div, .hs-due div { display: grid; min-width: 0; line-height: 1.3; }
.hs-feed b, .hs-steps b, .hs-due b { font-size: 13.5px; font-weight: 650; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hs-feed div span, .hs-steps div > span, .hs-due div span { font-size: 12px; color: var(--text-faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hs-feed em, .hs-steps em { font-style: normal; font-size: 13.5px; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.hs-feed__ico { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: rgba(47, 138, 95, .12); color: var(--green); font-size: 13px; font-weight: 800; }
.hs-feed em { color: var(--green); }

.hs-steps { margin-top: 0; gap: 7px; }
.hs-steps li { padding: 9px 14px; opacity: .35; transform: translateX(-6px); transition: opacity .4s var(--ease), transform .4s var(--ease); }
.hs-slide.is-active .hs-steps li { opacity: 1; transform: none; }
.hs-slide.is-active .hs-steps li:nth-child(2) { transition-delay: .25s; }
.hs-slide.is-active .hs-steps li:nth-child(3) { transition-delay: .5s; }
.hs-slide.is-active .hs-steps li:nth-child(4) { transition-delay: .75s; }
.hs-slide.is-active .hs-steps li:nth-child(5) { transition-delay: 1s; }
.hs-step__ico { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--brand); color: var(--on-brand); font-size: 12px; font-weight: 800; }
.hs-steps em b { font-size: 13.5px; }
.hs-bar { display: block; height: 5px; margin-top: 5px; border-radius: 99px; background: var(--bg-soft-2); overflow: hidden; }
.hs-bar i { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--brand), var(--brand-2)); transition: width 1.6s var(--ease) .6s; }
.hs-slide.is-active .hs-bar i { width: 100%; }
.hs-file { font-size: 10.5px !important; letter-spacing: .1em; color: var(--brand-text) !important; background: var(--brand-soft); border-radius: 5px; padding: 3px 8px; }

.hs-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.hs-tiles div { display: grid; gap: 4px; padding: 14px; border-radius: 12px; background: var(--brand-tint); border: 1px solid var(--line); min-width: 0; }
.hs-tiles span { font-size: 11.5px; color: var(--text-soft); line-height: 1.25; }
.hs-tiles b { font-size: 17px; font-weight: 750; letter-spacing: -.01em; color: var(--ink); white-space: nowrap; font-variant-numeric: tabular-nums; }
.hs-tiles b.neg { color: var(--red); }
.hs-sub { margin: 16px 0 0; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--text-faint); }
.hs-due { margin-top: 8px; }
.hs-due em { font-style: normal; }
.hs-date { width: 42px; display: grid; justify-items: center; line-height: 1; padding: 6px 0; border-radius: 9px; background: var(--brand-soft); color: var(--brand-text); font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.hs-date b { font-size: 17px; color: var(--brand-text); letter-spacing: 0; margin-bottom: 2px; }

/* ---------- pilares ---------- */
.pillars { border-block: 1px solid var(--line); background: #fff; }
.pillars__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.pillar { display: flex; gap: 14px; align-items: flex-start; padding: 30px 24px; }
.pillar + .pillar { border-left: 1px solid var(--line); }
.pillar:first-child { padding-left: 0; }
.pillar__icon { transition: transform .35s var(--ease), background .3s, color .3s; flex: none; width: 42px; height: 42px; border-radius: 10px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand-text); }
.pillar__icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.pillar b { display: block; font-size: 15px; color: var(--ink); font-weight: 700; }
.pillar p { font-size: 13.5px; color: var(--text-soft); line-height: 1.45; margin-top: 3px; }

/* ---------- experiencia ---------- */
.trust { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--brand-tint), #fff); padding: 80px 0; border-bottom: 1px solid var(--line); }
.trust__bg {
  position: absolute; inset: 0; pointer-events: none; animation: trustDrift 16s ease-in-out infinite alternate;
  background:
    radial-gradient(520px 320px at 8% 50%, rgba(var(--brand-rgb), .16), transparent 70%),
    radial-gradient(460px 300px at 100% 0%, rgba(var(--light-rgb), .22), transparent 70%),
    linear-gradient(rgba(var(--brand-rgb), .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--brand-rgb), .05) 1px, transparent 1px);
  background-size: auto, auto, 56px 56px, 56px 56px;
}
.trust__grid { position: relative; display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
.trust__exp { display: flex; align-items: center; gap: 24px; }
.trust__num {
  font-size: clamp(88px, 11vw, 150px); font-weight: 850; font-stretch: 115%; letter-spacing: -.05em; line-height: .85;
  background: linear-gradient(110deg, var(--brand) 0%, var(--brand-2) 30%, var(--sky) 45%, var(--brand-2) 60%, var(--brand) 100%); background-size: 250% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent; animation: trustShine 6s ease-in-out infinite;
  font-variant-numeric: tabular-nums;
  filter: drop-shadow(0 14px 22px rgba(var(--brand-rgb), .22));
}
.trust__exp b { display: block; font-size: clamp(22px, 2.4vw, 30px); font-weight: 750; font-stretch: 110%; letter-spacing: -.02em; line-height: 1.1; color: var(--ink); }
.trust__exp p { margin-top: 8px; color: var(--text-soft); font-size: 17px; max-width: 300px; }
.trust__custom { position: relative; padding-left: 56px; }
.trust__custom::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 1px; background: linear-gradient(180deg, transparent, rgba(var(--brand-rgb), .45), transparent); transform: scaleY(0); transform-origin: top; transition: transform 1.1s var(--ease) .2s; }
.trust__custom.is-in::before, html:not(.js) .trust__custom::before { transform: scaleY(1); }
.trust__kicker { font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--brand-text); }
.trust__custom h2 { margin-top: 12px; font-size: clamp(24px, 2.6vw, 34px); font-weight: 750; font-stretch: 110%; letter-spacing: -.025em; line-height: 1.1; color: var(--ink); }
.trust__lead { margin-top: 14px; color: var(--text-soft); font-size: 16px; }
.trust__ways { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.trust__ways li {
  transition: transform .35s var(--ease), background .35s, color .35s, box-shadow .35s, opacity .5s var(--ease);
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px 9px 12px; border-radius: 99px;
  background: #fff; border: 1px solid rgba(var(--brand-rgb), .2); color: var(--ink); font-size: 14.5px; font-weight: 600;
  box-shadow: 0 6px 14px -10px rgba(var(--brand-rgb), .6);
}
.js .trust__ways li { opacity: 0; transform: translateY(10px) scale(.96); }
.js .trust__custom.is-in .trust__ways li { opacity: 1; transform: none; }
.trust__custom.is-in .trust__ways li:nth-child(1) { transition-delay: .35s; }
.trust__custom.is-in .trust__ways li:nth-child(2) { transition-delay: .45s; }
.trust__custom.is-in .trust__ways li:nth-child(3) { transition-delay: .55s; }
.trust__custom.is-in .trust__ways li:nth-child(4) { transition-delay: .65s; }
.trust__custom.is-in .trust__ways li.is-hot, .trust__ways li:hover {
  background: var(--brand); color: var(--on-brand); border-color: transparent; transform: translateY(-3px);
  box-shadow: 0 12px 22px -10px rgba(var(--brand-rgb), .8); transition-delay: 0s;
}
.trust__ways li.is-hot svg, .trust__ways li:hover svg { stroke: var(--on-brand); }
.trust__ways svg { transition: stroke .35s; width: 18px; height: 18px; fill: none; stroke: var(--brand-text); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.pillar:hover .pillar__icon { transform: translateY(-3px) rotate(-6deg); background: var(--brand); color: var(--on-brand); }
.trust__num { white-space: nowrap; flex: none; }
.trust__digits { display: inline-grid; }
.trust__digits > span { grid-area: 1 / 1; text-align: left; }
.trust__ghost { visibility: hidden; }
@keyframes trustShine { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
@keyframes trustDrift { from { background-position: 0 0, 0 0, 0 0, 0 0; } to { background-position: 60px 30px, -80px 40px, 0 0, 0 0; } }

/* ---------- sections ---------- */
.section { padding: 120px 0; position: relative; background: var(--bg); }
.section--paper { background: var(--bg-soft); }
.section--tint { background: linear-gradient(180deg, var(--brand-tint), #fff); }
.section__head { max-width: 740px; margin-bottom: 60px; }
.kicker {
  font-size: 12px; letter-spacing: .16em; text-transform: uppercase; font-weight: 600;
  color: var(--brand-text); margin-bottom: 18px; display: flex; align-items: center; gap: 12px;
}
.kicker::before { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }
.h2 {
  font-size: clamp(32px, 4vw, 50px); font-stretch: 110%;
  font-weight: 750; letter-spacing: -.03em; line-height: 1.06; color: var(--ink);
}
.lead { margin-top: 20px; font-size: 18px; color: var(--text-soft); max-width: 640px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }

/* desafío: comparación antes / después */
.challenge { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: end; margin-bottom: 48px; }
.challenge .lead { margin-top: 0; }
.challenge--wide { grid-template-columns: 1.45fr .85fr; gap: 48px; }
.vs { background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); overflow: hidden; }
.vs__head, .vs li { display: grid; grid-template-columns: 1fr 44px 1.15fr; align-items: center; }
.vs__head { padding: 16px 28px; border-bottom: 1px solid var(--line); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--text-faint); }
.vs__head .vs__brand { grid-column: 3; color: var(--brand-text); }
.vs li { padding: 14px 28px; font-size: 15.5px; line-height: 1.4; transition: background .2s; }
.vs li + li { border-top: 1px solid var(--line); }
.vs li:hover { background: var(--brand-tint); }
.vs__old, .vs__new { display: flex; align-items: center; gap: 12px; }
.vs__old { color: var(--text-faint); }
.vs__new { color: var(--ink); font-weight: 600; }
.vs__old::before, .vs__new::before {
  content: ""; flex: none; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center;
  font-size: 11px; font-weight: 800; font-style: normal;
}
.vs__old::before { content: "×"; background: rgba(194, 70, 58, .1); color: var(--red); font-size: 14px; }
.vs__new::before { content: "✓"; background: rgba(47, 138, 95, .12); color: var(--green); }
.vs__arrow { font-style: normal; text-align: center; color: var(--brand-text); font-weight: 700; }

/* bento */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.card { background: #fff; padding: 30px; display: flex; flex-direction: column; gap: 10px; transition: background .3s; }
.card:hover { background: var(--brand-tint); }
.card h3 { font-size: 19px; font-weight: 700; letter-spacing: -.015em; color: var(--ink); }
.card p { color: var(--text-soft); font-size: 15px; }
.card__icon {
  width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center;
  background: var(--brand-soft); color: var(--brand-text); margin-bottom: 10px;
}
.card__icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

.card--xl {
  grid-column: span 2; grid-row: span 2; color: var(--ink); position: relative; overflow: hidden;
  background:
    radial-gradient(420px 300px at 100% 0%, rgba(var(--light-rgb), .45), transparent 70%),
    radial-gradient(360px 260px at 0% 100%, rgba(var(--brand-rgb), .14), transparent 70%),
    linear-gradient(160deg, var(--brand-tint) 0%, var(--brand-soft) 100%);
}
.card--xl:hover { background:
    radial-gradient(420px 300px at 100% 0%, rgba(var(--light-rgb), .55), transparent 70%),
    radial-gradient(360px 260px at 0% 100%, rgba(var(--brand-rgb), .18), transparent 70%),
    linear-gradient(160deg, var(--brand-tint) 0%, var(--brand-soft) 100%); }
.card--xl h3 { font-size: 28px; font-stretch: 110%; letter-spacing: -.025em; color: var(--ink); }
.card--xl p { color: var(--text-soft); font-size: 16px; max-width: 520px; }
.card--xl .card__icon { background: var(--brand); color: var(--on-brand); box-shadow: 0 10px 20px -10px rgba(var(--brand-rgb), .8); }
.liq-viz { margin-top: 14px; background: #fff; border: 1px solid rgba(var(--brand-rgb), .15); border-radius: 14px; padding: 16px 18px; box-shadow: 0 18px 36px -22px rgba(var(--brand-rgb), .55); }
.liq-viz__head { display: flex; justify-content: space-between; gap: 10px; font-size: 11.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--text-faint); margin-bottom: 8px; }
.liq-viz__row { display: grid; grid-template-columns: 82px 1fr 96px; align-items: center; gap: 12px; padding: 7px 0; font-size: 13.5px; }
.liq-viz__row span { color: var(--text-soft); }
.liq-viz__row i { height: 8px; border-radius: 99px; background: var(--bg-soft-2); position: relative; overflow: hidden; }
.liq-viz__row i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--brand), var(--brand-2)); transition: width 1.2s var(--ease) .3s; }
.card--xl.is-in .liq-viz__row i::after { width: var(--w); }
.liq-viz__row b { text-align: right; font-weight: 650; color: var(--ink); font-variant-numeric: tabular-nums; }
.liq-viz__total { display: flex; justify-content: space-between; gap: 10px; margin-top: 8px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 14px; }
.liq-viz__total span { color: var(--text-soft); }
.liq-viz__total b { color: var(--brand-text); font-variant-numeric: tabular-nums; }
.mini-flow { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 6px; margin-top: 18px; font-size: 11.5px; }
.mini-flow::before { content: ""; position: absolute; left: 8px; right: 8px; top: 50%; height: 2px; background: linear-gradient(90deg, var(--brand), var(--brand-2)); opacity: .5; }
.mini-flow span { position: relative; padding: 5px 9px; white-space: nowrap; background: #fff; border: 1px solid rgba(var(--brand-rgb), .18); border-radius: 99px; color: var(--ink); font-weight: 600; }
.mini-flow b { display: none; }

.card--wide { grid-column: span 2; }
.plan { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 8px; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.plan div { display: grid; gap: 2px; padding: 12px 14px; background: var(--bg-soft); }
.plan div + div { border-left: 1px solid var(--line); }
.plan span { font-size: 12px; color: var(--text-soft); }
.plan b { font-size: 17px; font-weight: 750; color: var(--ink); font-variant-numeric: tabular-nums; letter-spacing: -.01em; white-space: nowrap; }
.plan__out { color: var(--red) !important; }
.plan .plan__total { background: rgba(47, 138, 95, .08); }
.plan__total b { color: var(--green); }
.card--brand { background: #fff; }
.card--brand:hover { background: var(--brand-tint); }
.card--brand .card__icon { background: var(--brand); color: var(--on-brand); }
.link-arrow { margin-top: 4px; font-weight: 600; font-size: 15px; color: var(--brand-text); align-self: flex-start; }
.link-arrow:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- integraciones ---------- */
.integ-head, .center-head { max-width: 780px; margin: 0 auto 56px; text-align: center; }
.integ-head .kicker, .center-head .kicker { justify-content: center; }
.integ-head .kicker::after, .center-head .kicker::after { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }
.integ-head .lead, .center-head .lead { margin-inline: auto; }
.integ-head .h2, .center-head .h2 { text-wrap: balance; }
.hub { display: flex; align-items: center; justify-content: center; margin-top: 36px; }
.hub__node, .hub__core {
  display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px 10px 10px; border-radius: 99px;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); font-size: 15px; font-weight: 700; color: var(--ink); white-space: nowrap;
}
.hub__node i { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand-text); }
.hub__node svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.hub__core { padding: 12px 22px 12px 12px; font-size: 16px; font-weight: 750; font-stretch: 110%; border-color: rgba(var(--brand-rgb), .3); box-shadow: 0 16px 34px -16px rgba(var(--brand-rgb), .7); }
.hub__core em { font-style: normal; color: var(--brand-text); }
.hub__mark { width: 34px; height: 34px; border-radius: 6px; overflow: hidden; }
.hub__line {
  width: clamp(36px, 9vw, 110px); height: 2px; flex: none;
  background: repeating-linear-gradient(90deg, var(--brand) 0 8px, transparent 8px 16px); background-size: 16px 2px;
  animation: hubFlow .9s linear infinite;
}
.hub__line--r { animation-direction: reverse; }
@keyframes hubFlow { to { background-position: 16px 0; } }


.integ { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.integ__card {
  background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 28px;
  display: flex; flex-direction: column; gap: 10px; transition: transform .3s var(--ease), box-shadow .3s;
}
.integ__card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.integ__card--wide { grid-column: 1 / -1; }
.integ__demo--chips { display: flex; flex-wrap: wrap; gap: 8px; }
.integ__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.integ__icon { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: var(--brand); color: var(--on-brand); box-shadow: 0 10px 20px -10px rgba(var(--brand-rgb), .8); }
.integ__icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.integ__tag { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--brand-text); background: var(--brand-soft); border-radius: 99px; padding: 4px 10px; }
.integ__card h3 { font-size: 20px; font-weight: 700; letter-spacing: -.015em; color: var(--ink); }
.integ__card p { color: var(--text-soft); font-size: 15px; margin-bottom: 14px; }
.integ__demo { margin-top: auto; padding: 14px; border-radius: 12px; background: var(--bg-soft); border: 1px solid var(--line); display: grid; gap: 8px; }
.integ__row { display: flex; justify-content: space-between; gap: 10px; font-size: 13px; color: var(--text-soft); }
.integ__row b { color: var(--ink); font-weight: 700; font-variant-numeric: tabular-nums; }
.integ__row b.ok { color: var(--green); }
.integ__bar { display: block; height: 6px; border-radius: 99px; background: var(--bg-soft-2); overflow: hidden; }
.integ__bar i { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--brand), var(--brand-2)); transition: width 1.2s var(--ease) .4s; }
.integ__card.is-in .integ__bar i, html:not(.js) .integ__bar i { width: var(--v); }
.file { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 6px 10px; }
.file i { font-style: normal; font-size: 9.5px; font-weight: 800; letter-spacing: .08em; color: var(--brand-text); background: var(--brand-soft); border-radius: 4px; padding: 2px 6px; }

/* ---------- screens ---------- */
.center-head { margin-bottom: 40px; }
@keyframes hintPulse { 0% { box-shadow: 0 0 0 0 rgba(var(--brand-rgb), .55); } 100% { box-shadow: 0 0 0 10px rgba(var(--brand-rgb), 0); } }
.app__menu { margin: 0 12px 8px; font-size: 10.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--text-faint); }
.app__side li[data-for] { position: relative; cursor: pointer; }
.app__side li[data-for]:hover:not(.is-on) { background: var(--bg-soft); color: var(--ink); }

.tabs { display: none; gap: 2px; padding: 4px; border-radius: 10px; background: #fff; border: 1px solid var(--line); margin-bottom: 28px; width: fit-content; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab { flex: none; white-space: nowrap; background: none; border: 0; color: var(--text-soft); padding: 8px 13px; border-radius: 7px; font-weight: 600; font-size: 14px; transition: background .2s, color .2s; }
.tab:hover { color: var(--brand-text); }
.tab.is-active { background: var(--brand); color: var(--on-brand); }

.browser { border-radius: 12px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 40px 90px -40px rgba(0, 0, 0, .35), 0 2px 6px rgba(17, 17, 17, .04); background: #fff; }
.browser__bar { display: flex; align-items: center; gap: 16px; padding: 11px 16px; background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.browser__dots { display: flex; gap: 7px; }
.browser__dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-strong); }
.browser__url { flex: 1; max-width: 420px; margin-inline: auto; text-align: center; font-size: 12px; color: var(--text-faint); background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 5px 12px; }

.app { display: grid; grid-template-columns: 210px 1fr; min-height: 560px; font-size: 14px; }
.app__side { background: #fcfcfa; border-right: 1px solid var(--line); padding: 20px 12px; }
.app__brand { display: flex; align-items: center; gap: 9px; font-weight: 750; font-stretch: 110%; font-size: 14.5px; padding: 2px 10px 20px; color: var(--ink); white-space: nowrap; }
.app__brand em { font-style: normal; color: var(--brand-text); }
.app__brand .sq { width: 20px; height: 20px; border-radius: 3px; overflow: hidden; flex: none; }
.app__side li { padding: 8px 12px; border-radius: 6px; color: var(--text-soft); font-size: 13.5px; transition: background .2s, color .2s; }
.app__side li.is-on { background: var(--brand-soft); color: var(--brand-text); font-weight: 600; }
.app__main { padding: 26px; min-width: 0; }
.app__title { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.app__title h4 { font-size: 18px; font-weight: 700; letter-spacing: -.01em; color: var(--ink); }
.pill { font-size: 11.5px; padding: 4px 10px; border-radius: 6px; background: var(--bg-soft); border: 1px solid var(--line); color: var(--text-soft); white-space: nowrap; }
.pill--ok { background: rgba(47, 138, 95, .08); border-color: rgba(47, 138, 95, .2); color: var(--green); }
.screen { animation: fadeUp .45s var(--ease); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 14px; }
.kpis--3 { grid-template-columns: repeat(3, 1fr); }
.kpi { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.kpi:first-child { box-shadow: inset 0 3px 0 var(--brand); }
.kpi span { font-size: 12px; color: var(--text-soft); }
.kpi strong { font-size: 20px; font-weight: 700; color: var(--ink); letter-spacing: -.01em; font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kpi em { font-style: normal; font-size: 12px; color: var(--text-faint); }
.kpi em.up { color: var(--green); }
.kpi em.warn { color: var(--amber-text); }

.panel-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 14px; }
.box { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 16px; min-width: 0; overflow-x: auto; }
.box__head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 12px; gap: 10px; }
.box__head b { font-weight: 700; color: var(--ink); }
.bars { display: flex; align-items: flex-end; gap: 10px; height: 190px; padding-top: 10px; }
.bar { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; height: 100%; justify-content: flex-end; }
.bar i { width: 100%; border-radius: 4px 4px 0 0; background: var(--brand-200); height: var(--h); }
.bar:last-child i { background: var(--brand); }
.bar span { font-size: 10.5px; letter-spacing: .08em; color: var(--text-faint); }

.tbl { width: 100%; border-collapse: collapse; font-size: 13px; }
.tbl td, .tbl th { padding: 9px 8px; border-top: 1px solid var(--line); text-align: left; white-space: nowrap; }
.tbl tr:first-child td { border-top: 0; }
.tbl--head th { font-weight: 600; color: var(--text-faint); font-size: 11.5px; letter-spacing: .04em; border-top: 0; }
.tbl--head tr:first-child td { border-top: 1px solid var(--line); }
.num { text-align: right !important; font-variant-numeric: tabular-nums; font-size: 13px; }
.pos { color: var(--green); }
.neg { color: var(--red); }
.st { font-size: 11.5px; padding: 3px 9px; border-radius: 5px; background: var(--brand-soft); color: var(--brand-text); }
.st--warn { background: rgba(224, 165, 38, .14); color: var(--amber-text); }
.st--ok { background: rgba(47, 138, 95, .1); color: var(--green); }
.st--op { background: rgba(47, 138, 95, .1); color: var(--green); }
.st--obra { background: rgba(224, 165, 38, .14); color: var(--amber-text); }
.st--sin { background: var(--bg-soft-2); color: var(--text-soft); }
.st--disp { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-strong); }
.asiento-auto { margin-top: 12px; }
.pdf-chip { display: inline-flex; align-items: center; gap: 4px; font-size: 10px; font-weight: 800; letter-spacing: .08em; color: var(--brand-text); background: var(--brand-soft); border-radius: 4px; padding: 3px 7px; }
.pdf-chip::before { content: ""; width: 9px; height: 11px; border-radius: 1.5px; border: 1.5px solid currentColor; }

/* auditorio */
.kpi__bar { display: block; height: 6px; margin-top: 6px; border-radius: 99px; background: var(--bg-soft-2); position: relative; overflow: hidden; }
.kpi__bar::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--v); border-radius: inherit; background: linear-gradient(90deg, var(--brand), var(--brand-2)); }
.agenda { display: grid; grid-template-columns: 78px repeat(5, minmax(108px, 1fr)); grid-template-rows: auto 104px 104px; gap: 8px; min-width: 640px; }
.agenda__corner { grid-column: 1; grid-row: 1; }
.agenda__day { grid-row: 1; display: grid; justify-items: center; gap: 2px; padding-bottom: 4px; }
.agenda__day small { font-size: 10.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--text-faint); }
.agenda__day b { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-size: 15px; font-weight: 750; color: var(--ink); }
.agenda__day--hl small { color: var(--brand-text); }
.agenda__day--hl b { background: var(--brand); color: var(--on-brand); box-shadow: 0 6px 14px -6px rgba(var(--brand-rgb), .7); }
.agenda__turno { grid-column: 1; display: grid; align-content: center; gap: 1px; }
.agenda__turno b { font-size: 12.5px; font-weight: 700; color: var(--ink); }
.agenda__turno span { font-size: 11px; color: var(--text-faint); }
.slot { border-radius: 12px; padding: 10px 11px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 4px; font-size: 12px; min-width: 0; }
.slot--free {
  border: 1.5px dashed var(--line-strong); color: var(--text-faint); align-items: center; font-weight: 600; font-size: 11.5px;
  transition: border-color .2s, background .2s, color .2s; cursor: pointer;
}
.slot--free:hover { border-color: var(--brand); background: var(--brand-tint); color: var(--brand-text); }
.slot--res {
  position: relative; overflow: hidden; color: var(--text-soft);
  background: linear-gradient(150deg, #fff 0%, var(--brand-soft) 100%);
  border: 1px solid rgba(var(--brand-rgb), .22);
  box-shadow: 0 8px 18px -12px rgba(var(--brand-rgb), .6);
  transition: transform .2s var(--ease), box-shadow .2s;
}
.slot--res:hover { transform: translateY(-2px); box-shadow: 0 14px 24px -14px rgba(var(--brand-rgb), .7); }
.slot--res::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: linear-gradient(180deg, var(--brand), var(--brand-2)); }
.slot--res b { color: var(--ink); font-size: 12px; font-weight: 650; line-height: 1.25; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.slot__av {
  width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; flex: none;
  background: var(--brand); color: var(--on-brand); font-size: 10.5px; font-weight: 800;
}
.slot__st { font-style: normal; font-size: 10.5px; font-weight: 700; padding: 2px 8px; border-radius: 99px; }
.slot__st--ok { background: rgba(47, 138, 95, .12); color: var(--green); }
.slot__st--due { background: rgba(224, 165, 38, .16); color: var(--amber-text); }
.slot--full {
  justify-content: flex-end; gap: 6px;
  background:
    radial-gradient(160px 120px at 100% 0%, rgba(var(--light-rgb), .45), transparent 70%),
    linear-gradient(160deg, var(--brand-soft), var(--brand-100));
}
.slot--full .slot__av { width: 34px; height: 34px; font-size: 12px; }
.slot--full b { font-size: 13px; white-space: normal; }
.slot__tag { position: absolute; top: 11px; left: 12px; right: 8px; font-size: 11px; font-weight: 700; color: var(--brand-text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.agenda__legend { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 11.5px; color: var(--text-soft); }
.agenda__legend span { display: inline-flex; align-items: center; gap: 6px; }
.lg { width: 10px; height: 10px; border-radius: 3px; }
.lg--ok { background: var(--green); }
.lg--due { background: #e0a526; }
.lg--free { border: 1.5px dashed var(--line-strong); }
.agenda__note { margin-left: auto; color: var(--text-faint); }

/* reclamos */
.kanban { display: grid; grid-template-columns: repeat(3, minmax(190px, 1fr)); gap: 12px; overflow-x: auto; }
.kanban__col { background: var(--bg-soft); border-radius: 10px; padding: 12px; display: grid; align-content: start; gap: 10px; }
.kanban__title { font-size: 12.5px; font-weight: 700; color: var(--ink); display: flex; justify-content: space-between; }
.kanban__title b { font-weight: 600; color: var(--text-faint); }
.kcard { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 11px 12px; display: grid; gap: 4px; justify-items: start; }
.kcard b { font-size: 13px; font-weight: 600; color: var(--ink); line-height: 1.35; }
.kcard span { font-size: 11.5px; color: var(--text-faint); }
.kcard em { font-style: normal; margin-top: 4px; }
.kcard--done b { color: var(--text-soft); }

.liq { display: grid; grid-template-columns: 1fr 1.2fr; gap: 14px; }
.gastos li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 13.5px; }
.gastos li:first-child { border-top: 0; }
.gastos b { font-weight: 500; font-size: 13px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.gastos .total { border-top: 2px solid var(--brand); color: var(--brand-text); font-weight: 700; margin-top: 4px; padding-top: 14px; }
.gastos .total b { font-weight: 700; }
.progress { height: 5px; border-radius: 99px; background: var(--bg-soft-2); margin: 16px 0 8px; overflow: hidden; }
.progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--brand), var(--green)); border-radius: inherit; transition: width 1.4s var(--ease); }
.progress span { width: var(--p); }

/* ---------- pantallas: rotación y animaciones de entrada ---------- */
.app__main { position: relative; }
.app__progress { position: absolute; top: 0; left: 0; right: 0; height: 3px; transform-origin: left; transform: scaleX(0); background: linear-gradient(90deg, var(--brand), var(--brand-2)); will-change: transform; }
.browser.is-manual .app__progress { display: none; }

@keyframes scrIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes rowIn { from { opacity: 0; transform: translateX(-10px); } to { opacity: 1; transform: none; } }
@keyframes popIn { from { opacity: 0; transform: scale(.7); } to { opacity: 1; transform: none; } }
@keyframes barUp { from { height: 0; } }
@keyframes growW { from { width: 0; } }
@keyframes flashRow { 0%, 100% { background: transparent; } 30% { background: var(--brand-soft); } }

.screen.is-active .kpi, .screen.is-active .box, .screen.is-active .kanban__col, .screen.is-active .slot { animation: scrIn .55s var(--ease) backwards; }
.screen.is-active .kpi:nth-child(2) { animation-delay: .07s; }
.screen.is-active .kpi:nth-child(3) { animation-delay: .14s; }
.screen.is-active .kpi:nth-child(4) { animation-delay: .21s; }
.screen.is-active .box + .box, .screen.is-active .kanban__col:nth-child(2) { animation-delay: .15s; }
.screen.is-active .kanban__col:nth-child(3) { animation-delay: .3s; }
.screen.is-active .kpis + .box, .screen.is-active .kpis + .panel-grid .box, .screen.is-active .kpis + .liq .box { animation-delay: .2s; }
.screen.is-active tbody tr, .screen.is-active .gastos li, .screen.is-active .kcard { animation: rowIn .45s var(--ease) backwards; }
.screen.is-active tbody tr:nth-child(1), .screen.is-active .gastos li:nth-child(1), .screen.is-active .kcard:nth-of-type(1) { animation-delay: .3s; }
.screen.is-active tbody tr:nth-child(2), .screen.is-active .gastos li:nth-child(2), .screen.is-active .kcard:nth-of-type(2) { animation-delay: .38s; }
.screen.is-active tbody tr:nth-child(3), .screen.is-active .gastos li:nth-child(3), .screen.is-active .kcard:nth-of-type(3) { animation-delay: .46s; }
.screen.is-active tbody tr:nth-child(4), .screen.is-active .gastos li:nth-child(4) { animation-delay: .54s; }
.screen.is-active tbody tr:nth-child(5), .screen.is-active .gastos li:nth-child(5) { animation-delay: .62s; }
.screen.is-active .gastos li:nth-child(6) { animation-delay: .7s; }
.screen.is-active .st, .screen.is-active .pdf-chip, .screen.is-active .slot__st, .screen.is-active .slot__av { animation: popIn .4s var(--ease) backwards .75s; }
.screen.is-active .bar i { animation: barUp .9s var(--ease) backwards .2s; }
.screen.is-active .bar:nth-child(2) i { animation-delay: .28s; }
.screen.is-active .bar:nth-child(3) i { animation-delay: .36s; }
.screen.is-active .bar:nth-child(4) i { animation-delay: .44s; }
.screen.is-active .bar:nth-child(5) i { animation-delay: .52s; }
.screen.is-active .bar:nth-child(6) i { animation-delay: .6s; }
.screen.is-active .progress span { animation: growW 1.4s var(--ease) backwards .5s; }
.screen.is-active .slot:nth-child(n+9) { animation-delay: .1s; }
.screen.is-active .slot:nth-child(n+11) { animation-delay: .2s; }
.screen.is-active .slot:nth-child(n+13) { animation-delay: .3s; }
#sc-panel.is-active .tbl tbody tr:first-child td { animation: flashRow 1.8s ease 1.1s; }

/* ---------- portal ---------- */
.steps { counter-reset: s; margin-top: 32px; display: grid; }
.steps li { counter-increment: s; position: relative; padding: 15px 0 15px 54px; border-top: 1px solid var(--line); color: var(--text-soft); }
.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps li b { color: var(--ink); font-weight: 650; }
.steps li::before {
  content: counter(s, decimal-leading-zero); position: absolute; left: 0; top: 13px;
  width: 36px; height: 28px; display: grid; place-items: center; border-radius: 7px;
  background: var(--brand-soft); color: var(--brand-text); font-size: 12.5px; font-weight: 700;
}

.phone-stage { position: relative; display: grid; place-items: center; padding: 40px 0; }
.phone-stage::before {
  content: ""; position: absolute; width: 480px; max-width: 100%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--brand-rgb), .18), rgba(var(--light-rgb), .08) 45%, transparent 70%);
}
.phone-wrap { position: relative; z-index: 1; }
.phone {
  position: relative; width: 300px; max-width: 100%; border-radius: 46px; padding: 10px;
  background: #111; box-shadow: 0 50px 90px -30px rgba(0, 0, 0, .45), inset 0 0 0 1.5px #333;
}
.phone__notch { position: absolute; top: 18px; left: 50%; width: 88px; height: 24px; border-radius: 99px; background: #000; transform: translateX(-50%); z-index: 2; }
.phone__screen {
  border-radius: 37px; padding: 14px 16px 10px; color: var(--text); font-size: 13px; min-height: 590px;
  display: flex; flex-direction: column; overflow: hidden;
  background: linear-gradient(180deg, var(--brand-soft) 0, #fafaf8 190px);
}
.p-status { display: flex; justify-content: space-between; align-items: center; padding: 2px 8px 0; font-size: 11.5px; font-weight: 700; color: var(--ink); height: 26px; }
.p-status__icons { display: flex; gap: 4px; align-items: flex-end; }
.p-status__icons i { width: 4px; border-radius: 1px; background: var(--ink); }
.p-status__icons i:nth-child(1) { height: 5px; }
.p-status__icons i:nth-child(2) { height: 8px; }
.p-status__icons i:nth-child(3) { height: 11px; }

.p-top { display: flex; align-items: center; gap: 10px; margin-top: 16px; }
.p-avatar {
  width: 36px; height: 36px; border-radius: 50%; flex: none; display: grid; place-items: center;
  background: var(--brand); color: var(--on-brand); font-weight: 800; font-size: 13px; letter-spacing: .02em;
  box-shadow: 0 0 0 3px #fff;
}
.p-hello { display: grid; line-height: 1.2; min-width: 0; }
.p-hello span { font-size: 11.5px; color: var(--text-soft); }
.p-hello b { font-size: 14px; font-weight: 750; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.p-bell { margin-left: auto; width: 34px; height: 34px; border-radius: 50%; background: #fff; display: grid; place-items: center; position: relative; box-shadow: var(--shadow-sm); color: var(--ink); flex: none; }
.p-bell svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.p-bell::after { content: ""; position: absolute; top: 7px; right: 8px; width: 7px; height: 7px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 2px #fff; }

.p-balance {
  position: relative; overflow: hidden; margin-top: 16px; color: #fff; border-radius: 18px; padding: 16px 16px 14px;
  background: linear-gradient(140deg, var(--brand-900) 0%, #2a2a2a 45%, var(--brand) 140%);
  box-shadow: 0 16px 30px -14px rgba(var(--brand-rgb), .55);
}
.p-balance::before, .p-balance::after { content: ""; position: absolute; border-radius: 50%; pointer-events: none; }
.p-balance::before { width: 150px; height: 150px; right: -50px; top: -60px; background: rgba(var(--light-rgb), .22); }
.p-balance::after { width: 90px; height: 90px; right: 40px; bottom: -55px; background: rgba(255, 255, 255, .08); }
.p-balance__row { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.p-balance__row span { font-size: 11.5px; color: rgba(255, 255, 255, .7); }
.p-balance__row em { font-style: normal; font-size: 10.5px; font-weight: 700; padding: 3px 8px; border-radius: 99px; background: rgba(255, 255, 255, .16); color: #fff; }
.p-balance__row small { font-size: 11px; color: rgba(255, 255, 255, .6); }
.p-balance strong { position: relative; z-index: 1; display: block; margin: 6px 0 12px; font-size: 27px; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.p-btn { background: #fff; color: var(--ink); border: 0; border-radius: 99px; padding: 7px 18px; font-weight: 700; font-size: 12.5px; transition: transform .2s, background .2s; }
.p-btn:hover { transform: scale(1.04); }
.p-bank { margin-top: 10px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 6px 12px; animation: fadeUp .35s var(--ease); }
.p-bank div { display: grid; grid-template-columns: 1fr auto; align-items: center; padding: 7px 0; gap: 0 8px; }
.p-bank div + div { border-top: 1px solid var(--line); }
.p-bank span { grid-column: 1; font-size: 11px; color: var(--text-soft); }
.p-bank b { grid-column: 1; font-size: 11px; font-weight: 500; overflow: hidden; text-overflow: ellipsis; }
.copy { grid-column: 2; grid-row: 1 / 3; background: var(--brand-soft); color: var(--brand-text); border: 0; border-radius: 6px; padding: 6px 10px; font-size: 11.5px; font-weight: 600; }
.copy.ok { background: rgba(47, 138, 95, .12); color: var(--green); }

.p-actions { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 16px; }
.p-actions span { display: grid; justify-items: center; gap: 6px; font-size: 10.5px; font-weight: 600; color: var(--text-soft); }
.p-actions i {
  width: 46px; height: 46px; border-radius: 15px; display: grid; place-items: center;
  background: #fff; color: var(--brand-text); box-shadow: var(--shadow-sm); border: 1px solid var(--line);
  transition: transform .2s var(--ease), background .2s, color .2s;
}
.p-actions span:hover i { transform: translateY(-2px); background: var(--brand); color: var(--on-brand); border-color: transparent; }
.p-actions svg, .p-feed svg, .p-tabs svg, .fb-ico svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.p-sub { margin: 18px 2px 8px; font-size: 10.5px; text-transform: uppercase; letter-spacing: .14em; color: var(--text-faint); font-weight: 700; }
.p-feed { background: #fff; border-radius: 16px; border: 1px solid var(--line); padding: 4px 12px; }
.p-feed li { display: flex; align-items: center; gap: 10px; padding: 9px 0; }
.p-feed li + li { border-top: 1px solid var(--line); }
.p-feed div { display: grid; line-height: 1.25; min-width: 0; flex: 1; }
.p-feed b { font-size: 12px; font-weight: 650; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.p-feed span { font-size: 10.5px; color: var(--text-faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.p-feed em { font-style: normal; font-size: 12px; font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }
.p-feed em.due { color: var(--ink); }
.p-feed em.ok { color: var(--green); }
.p-feed em.doc { font-size: 9.5px; letter-spacing: .1em; color: var(--brand-text); background: var(--brand-soft); border-radius: 4px; padding: 2px 6px; }
.p-ico { width: 32px; height: 32px; border-radius: 10px; flex: none; display: grid; place-items: center; }
.p-ico svg { width: 16px; height: 16px; }
.p-ico--due { background: rgba(224, 165, 38, .15); color: var(--amber-text); }
.p-ico--ok { background: rgba(47, 138, 95, .12); color: var(--green); }
.p-ico--doc { background: var(--brand-soft); color: var(--brand-text); }

.p-tabs {
  margin: auto -16px -10px; padding: 10px 14px 14px; display: flex; justify-content: space-around;
  background: #fff; border-top: 1px solid var(--line); font-size: 10px; color: var(--text-faint);
}
.p-tabs span { display: grid; justify-items: center; gap: 3px; }
.p-tabs svg { width: 18px; height: 18px; }
.p-tabs .on { color: var(--brand-text); font-weight: 700; }

.float-badge {
  position: absolute; z-index: 2; width: max-content; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 11px 13px;
  box-shadow: var(--shadow); animation: bob 6s ease-in-out infinite;
  display: flex; align-items: center; gap: 10px;
}
.float-badge div { display: grid; line-height: 1.3; white-space: nowrap; }
.float-badge b { font-size: 13px; font-weight: 700; color: var(--ink); }
.float-badge span { font-size: 11.5px; color: var(--text-soft); }
.fb-ico { width: 34px; height: 34px; border-radius: 10px; flex: none; display: grid; place-items: center; background: var(--brand); color: var(--on-brand); }
.fb-ico svg { width: 17px; height: 17px; }
.fb-ico--ok { background: var(--green); color: #fff; }
.float-badge--a { top: 150px; left: -168px; }
.float-badge--b { top: 400px; right: -168px; animation-delay: -3s; }
.float-badge--c { top: 218px; right: -172px; animation-delay: -1.5s; }
.fb-ico--pay { background: var(--ink); color: #fff; }
.float-badge--d { top: 300px; left: -200px; animation-delay: -4.5s; white-space: nowrap; }
.float-badge--e { top: 470px; left: -150px; animation-delay: -2.2s; }
.fb-ico--soft { background: var(--brand-soft); color: var(--brand-text); }
@media (min-width: 861px) and (max-width: 1140px) { .float-badge { display: none; } }
@keyframes bob { 50% { transform: translateY(-8px); } }

/* ---------- roles ---------- */
.roles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.role {
  position: relative; overflow: hidden; display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 28px;
  transition: transform .35s var(--ease), box-shadow .35s, border-color .35s;
}
.role::before {
  content: ""; position: absolute; top: 0; left: 0; height: 3px; width: 56px; border-radius: 0 0 3px 0;
  background: linear-gradient(90deg, var(--brand), var(--brand-2)); transition: width .5s var(--ease);
}
.role::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(320px 220px at 100% 0%, rgba(var(--light-rgb), .28), transparent 70%), linear-gradient(180deg, var(--brand-tint), #fff 70%);
}
.role > * { position: relative; z-index: 1; }
.role:hover { transform: translateY(-6px); box-shadow: 0 26px 46px -24px rgba(var(--brand-rgb), .45); border-color: rgba(var(--brand-rgb), .25); }
.role:hover::before { width: 100%; }
.role:hover::after { opacity: 1; }
.role__bg {
  position: absolute; top: -14px; right: 6px; z-index: 0; font-size: 110px; font-weight: 850; font-stretch: 115%; letter-spacing: -.05em; line-height: 1;
  color: transparent; -webkit-text-stroke: 1.5px rgba(var(--brand-rgb), .14); transition: transform .5s var(--ease), -webkit-text-stroke-color .4s;
}
.role:hover .role__bg { transform: translate(-6px, 6px); -webkit-text-stroke-color: rgba(var(--brand-rgb), .3); }
.role__icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 18px;
  background: var(--brand); color: var(--on-brand); box-shadow: 0 12px 22px -12px rgba(var(--brand-rgb), .9);
  transition: transform .4s var(--ease);
}
.role__icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.role:hover .role__icon { transform: rotate(-8deg) scale(1.08); }
.role__n { font-size: 12px; font-weight: 700; letter-spacing: .14em; color: var(--brand-text); }
.role h3 { font-size: 20px; font-weight: 700; letter-spacing: -.015em; margin: 6px 0 10px; color: var(--ink); }
.role p { color: var(--text-soft); font-size: 15px; }

/* ---------- implementación ---------- */
.section--impl { overflow: hidden; background: linear-gradient(180deg, #fff, var(--brand-tint)); }
.impl__bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(520px 320px at 100% 100%, rgba(var(--light-rgb), .25), transparent 70%),
    radial-gradient(480px 300px at 0% 30%, rgba(var(--brand-rgb), .08), transparent 70%),
    linear-gradient(rgba(var(--brand-rgb), .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--brand-rgb), .045) 1px, transparent 1px);
  background-size: auto, auto, 56px 56px, 56px 56px;
  mask-image: linear-gradient(180deg, transparent, #000 30%);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 30%);
}
.section--impl .wrap { position: relative; }

.timeline { position: relative; padding-top: 6px; }
.tl__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.tl__track { position: absolute; top: 30px; left: 28px; right: 28px; height: 3px; border-radius: 3px; background: var(--bg-soft-2); overflow: hidden; }
.tl__fill { position: absolute; inset: 0; transform-origin: left; transform: scaleX(0); background: linear-gradient(90deg, var(--brand), var(--brand-2)); transition: transform 2.4s cubic-bezier(.4, 0, .2, 1); }
.tl__fill::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 120px; left: -120px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .9), transparent);
}
.timeline.is-run .tl__fill { transform: scaleX(1); }
.timeline.is-done .tl__fill::after { animation: tlShine 3.2s ease-in-out infinite; }
@keyframes tlShine { from { left: -120px; } to { left: 100%; } }

.timeline li { position: relative; display: flex; flex-direction: column; }
.tl__node {
  position: relative; z-index: 1; width: 52px; height: 52px; border-radius: 50%; margin: 4px 0 20px 4px;
  display: grid; place-items: center; background: #fff; color: var(--text-faint);
  border: 2px solid var(--line-strong); box-shadow: 0 0 0 6px #fff;
  transition: background .5s, color .5s, border-color .5s, box-shadow .5s, transform .5s var(--ease);
  transition-delay: calc(var(--i) * .6s);
}
.tl__node svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.timeline.is-run .tl__node { background: var(--brand); color: var(--on-brand); border-color: var(--brand); box-shadow: 0 0 0 6px #fff, 0 12px 24px -10px rgba(var(--brand-rgb), .8); }
.tl__card {
  flex: 1; padding: 22px; border-radius: 16px; background: rgba(255, 255, 255, .85); border: 1px solid var(--line);
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
  opacity: 0; transform: translateY(14px);
  transition: opacity .6s var(--ease), transform .6s var(--ease), box-shadow .35s, border-color .35s;
  transition-delay: calc(var(--i) * .6s + .15s), calc(var(--i) * .6s + .15s), 0s, 0s;
}
html:not(.js) .tl__card, .timeline.is-run .tl__card { opacity: 1; transform: none; }
.tl__step { font-size: 11.5px; font-weight: 700; letter-spacing: .16em; color: var(--brand-text); }
.timeline h3 { font-size: 19px; font-weight: 700; letter-spacing: -.015em; margin: 8px 0 8px; color: var(--ink); }
.timeline p { color: var(--text-soft); font-size: 14.5px; }
.timeline li.is-hot .tl__card, .timeline li:hover .tl__card { border-color: rgba(var(--brand-rgb), .3); box-shadow: 0 22px 40px -24px rgba(var(--brand-rgb), .55); transform: translateY(-4px); transition-delay: 0s; }
.timeline li.is-hot .tl__node, .timeline li:hover .tl__node { transform: scale(1.1); transition-delay: 0s; }
.timeline li.is-hot .tl__node::after { content: ""; position: absolute; inset: -2px; border-radius: 50%; animation: hintPulse 1.6s infinite; }

/* ---------- faq ---------- */
.faq-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 64px; align-items: start; }
.faq-side { position: sticky; top: 110px; }
.faq-side .lead { font-size: 17px; }
.faq-cta {
  display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; align-items: center; margin-top: 32px; padding: 20px;
  border-radius: 16px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.faq-cta__icon { grid-row: span 2; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand-text); }
.faq-cta__icon svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.faq-cta div { display: grid; gap: 2px; }
.faq-cta b { font-size: 15px; color: var(--ink); }
.faq-cta div span { font-size: 13.5px; color: var(--text-soft); }
.faq-cta .btn { grid-column: 1 / -1; justify-self: start; margin-top: 10px; }

.faq { display: grid; gap: 8px; }
.faq details {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden;
  transition: border-color .25s, box-shadow .25s, background .25s;
}
.faq details::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--brand); transform: scaleY(0); transition: transform .3s var(--ease); }
.faq details:hover { border-color: rgba(var(--brand-rgb), .3); }
.faq details[open] { border-color: rgba(var(--brand-rgb), .3); box-shadow: 0 16px 30px -22px rgba(var(--brand-rgb), .6); }
.faq details[open]::before { transform: scaleY(1); }
.faq summary {
  list-style: none; cursor: pointer; padding: 15px 52px 15px 20px; position: relative;
  font-size: 15px; font-weight: 600; letter-spacing: -.005em; line-height: 1.4; color: var(--ink); transition: color .2s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover, .faq details[open] summary { color: var(--brand-text); }
.faq summary::after {
  content: ""; position: absolute; right: 16px; top: 50%; width: 24px; height: 24px; margin-top: -12px; border-radius: 50%;
  background:
    linear-gradient(currentColor, currentColor) center/10px 1.5px no-repeat,
    linear-gradient(currentColor, currentColor) center/1.5px 10px no-repeat,
    var(--bg-soft);
  color: var(--text-soft); transition: transform .3s var(--ease), background-color .25s;
}
.faq summary:hover::after { background-color: var(--brand-soft); color: var(--brand-text); }
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--brand); color: var(--on-brand); }
.faq details p { padding: 0 52px 18px 20px; color: var(--text-soft); font-size: 14.5px; line-height: 1.6; }
.faq details[open] p { animation: faqIn .35s var(--ease); }
@keyframes faqIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ---------- cta ---------- */
.section--cta { color: #fff; overflow: hidden; background: linear-gradient(135deg, var(--brand-900) 0%, #262626 55%, var(--brand) 100%); }
.cta-bg {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    radial-gradient(520px 380px at 90% 10%, rgba(var(--light-rgb), .35), transparent 70%),
    radial-gradient(420px 320px at 0% 100%, rgba(var(--glow-rgb), .3), transparent 70%),
    linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: auto, auto, 56px 56px, 56px 56px;
}
.cta { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.kicker--light { color: var(--sky); }
.section--cta .h2 { color: #fff; }
.section--cta .lead { color: rgba(255, 255, 255, .75); }
.cta__list { margin-top: 28px; display: grid; gap: 12px; }
.cta__list li { display: flex; align-items: center; gap: 12px; color: rgba(255, 255, 255, .9); font-size: 15.5px; }
.cta__list li::before {
  content: "✓"; width: 24px; height: 24px; border-radius: 50%; flex: none;
  display: grid; place-items: center; font-size: 12px; font-weight: 700;
  background: rgba(255, 255, 255, .14); color: #fff;
}
.form { background: #fff; color: var(--text); border-radius: 16px; padding: 32px; display: grid; gap: 16px; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: grid; gap: 6px; font-size: 12.5px; font-weight: 600; color: var(--text-soft); }
.form input, .form select, .form textarea {
  font: inherit; font-size: 15px; font-weight: 400; color: var(--ink);
  background: #fff; border: 1px solid var(--line-strong); border-radius: 8px;
  padding: 11px 13px; transition: border-color .2s, box-shadow .2s; width: 100%;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--brand-text); box-shadow: 0 0 0 3px rgba(var(--brand-rgb), .12); }
.form .is-invalid { border-color: var(--red); }
.form textarea { resize: vertical; }
.form__msg { font-size: 14px; min-height: 1.4em; text-align: center; }
.form__msg.ok { color: var(--green); }
.form__msg.err { color: var(--red); }

/* ---------- footer ---------- */
.footer { background: #fff; border-top: 1px solid var(--line); padding: 28px 0; }
.footer__inner { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }
.logo--sm .logo__mark { width: 28px; height: 28px; }
.footer__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 28px; font-size: 14px; }
.footer__links a { color: var(--text-soft); transition: color .2s; }
.footer__links a:hover { color: var(--brand-text); }
.logo--sm .logo__word { font-size: 17px; }

/* ---------- reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
html:not(.js) .liq-viz__row i::after { width: var(--w); }

/* evita que el contenido ensanche las columnas del grid */
.hero__inner > *, .split > *, .cta > *, .bento > *, .liq > *, .panel-grid > * { min-width: 0; }

/* ---------- temas de color ---------- */
html[data-theme="amarillo"] {
  --brand: #f2b705; --brand-600: #dba400; --brand-2: #f7c928;
  --brand-100: #fdf0c6; --brand-200: #fae29a;
  --brand-soft: #fef6da; --brand-tint: #fffcf2; --sky: #f7d35c;
  --brand-rgb: 242, 183, 5; --glow-rgb: 247, 201, 40; --light-rgb: 247, 211, 92;
  --brand-text: #9a6f00; --on-brand: #111111;
  --hl-1: #c99400; --hl-2: #e5ad00;
  --st-obra: #c8693a;
}
html[data-theme="lila"] {
  --brand: #7c5cdb; --brand-600: #6847c4; --brand-2: #9c82f0;
  --brand-100: #e9e2fc; --brand-200: #d9cdfa;
  --brand-soft: #f1ecfd; --brand-tint: #f9f7fe; --sky: #c4b3f5;
  --brand-rgb: 124, 92, 219; --glow-rgb: 156, 130, 240; --light-rgb: 196, 179, 245;
}
html[data-theme="rosa"] {
  --brand: #d6457a; --brand-600: #bc3366; --brand-2: #ee6b9b;
  --brand-100: #fbe0ea; --brand-200: #f7c6d8;
  --brand-soft: #fdebf2; --brand-tint: #fef7fa; --sky: #f5a3c2;
  --brand-rgb: 214, 69, 122; --glow-rgb: 238, 107, 155; --light-rgb: 245, 163, 194;
}

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .hero__inner { grid-template-columns: minmax(0, 1fr); gap: 56px; }
  .pillars__grid { grid-template-columns: repeat(2, 1fr); }
  .integ { grid-template-columns: minmax(0, 1fr); }
  .trust__grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .trust__custom { padding: 28px 0 0; border-top: 1px solid rgba(var(--brand-rgb), .25); }
  .trust__custom::before { display: none; }
  .pillar:nth-child(3) { border-left: 0; padding-left: 0; }
  .pillar:nth-child(n+3) { border-top: 1px solid var(--line); }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .roles { grid-template-columns: repeat(2, 1fr); }
  .tl__list { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; }
  .tl__track { display: none; }
  .kpis { grid-template-columns: repeat(2, 1fr); }
  .panel-grid, .liq { grid-template-columns: 1fr; }
}
@media (max-width: 960px) {
  .nav__burger { display: block; }
  .nav__links {
    position: fixed; top: 76px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 8px 16px 20px;
    transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s var(--ease);
  }
  .nav__links.is-open { opacity: 1; transform: none; pointer-events: auto; }
  .nav__links a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 16px; color: var(--ink); }
  .nav__cta { margin-top: 16px; padding: 14px; }
  .nav.menu-open { background: #fff; }
}
@media (max-width: 860px) {
  body { font-size: 16px; }
  .section { padding: 88px 0; }
  .split, .cta { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .faq-layout { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .faq-side { position: static; }
  .challenge { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .app { grid-template-columns: 1fr; min-height: 0; }
  .app__side { display: none; }
  .tabs { display: flex; margin-inline: auto; }
  .app__main { padding: 16px; }
  .hero { padding: 124px 0 80px; }
}
@media (max-width: 600px) {
  .pillars__grid, .bento, .roles, .tl__list { grid-template-columns: minmax(0, 1fr); }
  .vs__head { display: none; }
  .vs li { grid-template-columns: minmax(0, 1fr); gap: 6px; padding: 14px 18px; }
  .vs__arrow { display: none; }
  .pillar, .pillar + .pillar, .pillar:nth-child(3) { padding: 20px 0; border-left: 0; }
  .pillar + .pillar { border-top: 1px solid var(--line); }
  .trust__exp { flex-direction: column; align-items: flex-start; gap: 12px; }
  .hub__node { padding: 6px 12px 6px 6px; font-size: 13px; gap: 6px; }
  .hub__node i { width: 28px; height: 28px; }
  .hub__core { padding: 8px 12px 8px 8px; font-size: 13px; gap: 6px; }
  .hub__mark { width: 26px; height: 26px; }
  .hub__line { width: 18px; }
  .card--xl, .card--wide { grid-column: auto; grid-row: auto; }
  .plan { grid-template-columns: 1fr; }
  .plan div + div { border-left: 0; border-top: 1px solid var(--line); }
  .card--xl h3 { font-size: 24px; }
  .mini-flow { flex-wrap: wrap; justify-content: flex-start; }
  .mini-flow::before { display: none; }
  .liq-viz { padding: 14px; }
  .liq-viz__row { grid-template-columns: 66px 1fr 80px; gap: 8px; font-size: 12.5px; }
  .kpis, .kpis--3 { grid-template-columns: 1fr 1fr; }
  .kpis--3 .kpi:last-child { grid-column: 1 / -1; }
  .kpi strong { font-size: 17px; }
  .form__row { grid-template-columns: 1fr; }
  .form { padding: 24px; }
  .float-badge { display: flex; padding: 8px 10px; gap: 8px; border-radius: 12px; }
  .float-badge b { font-size: 12px; }
  .float-badge span { font-size: 10.5px; }
  .float-badge .fb-ico { width: 28px; height: 28px; border-radius: 8px; }
  .float-badge .fb-ico svg { width: 15px; height: 15px; }
  .float-badge--a { top: 118px; left: -10px; }
  .float-badge--c { top: 214px; right: -10px; left: auto; }
  .float-badge--d { top: 310px; left: -10px; }
  .float-badge--b { top: 406px; right: -10px; left: auto; }
  .float-badge--e { top: 502px; left: -10px; }
  .hero__title { font-size: clamp(32px, 13vw, 56px); font-stretch: 88%; line-height: 1.1; }
  .eyebrow { font-size: clamp(10.5px, 3.2vw, 12px); letter-spacing: 0; text-transform: none; white-space: nowrap; padding: 6px 12px; gap: 8px; }
  .hero__ctas .btn { width: 100%; }
  .legend button { font-size: 12px; padding: 5px 9px; }
  .hs-body { grid-template-columns: 1fr; justify-items: center; }
  .hs-stats { width: 100%; }
  .hs-tiles { grid-template-columns: minmax(0, 1fr); }
}

.to-top {
  position: fixed; right: 20px; bottom: 20px; z-index: 50; width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center; background: var(--brand); color: var(--on-brand);
  box-shadow: 0 14px 28px -12px rgba(var(--brand-rgb), .9);
  transition: opacity .3s, transform .3s var(--ease), visibility .3s;
}
.to-top svg { width: 20px; height: 20px; }
.to-top:hover { transform: translateY(-3px); }
.js .to-top:not(.is-visible) { opacity: 0; visibility: hidden; transform: translateY(12px); }
@media (max-width: 600px) { .to-top { right: 16px; bottom: 16px; width: 44px; height: 44px; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; }
  .liq-viz__row i::after { width: var(--w) !important; }
}
