/* ==========================================================================
   Revach Capital — landing v2
   Tokens to base to components to sections to popups to responsive
   ========================================================================== */

:root {
  /* 60 % canvas: warm grey "hueso" neutrals */
  --bg: #ECEBE6;
  --panel: #E2E1DA;
  --panel-cyan: #DBE9E8;
  --card: #F7F6F2;
  --line: #D6D4CB;
  --line-strong: #C3C1B7;

  /* 30 % support: dark neutral greys for text and structure */
  --ink: #1C1D22;
  --ink-2: #44464E;
  --ink-3: #565860;          /* 5.6:1 on --bg, 4.9:1 on --panel */

  --navy: #150961;
  --navy-2: #1E1478;
  --navy-deep: #0D0640;
  --cyan: #0CC0DF;
  --cyan-ink: #066173;       /* 5.4:1 on --bg. Hero color (10 %): --cyan on actions and key marks only */

  --ok: #0F7A5A;   --ok-bg: #E1EFE8;   --ok-line: #BFE3D3;
  --warn: #B4540A; --warn-ink: #9A4407; --warn-bg: #F6EADB; --warn-line: #F3D3AF;
  --bad: #B42318;  --bad-bg: #F6E3DF;  --bad-line: #F4C7C2;

  --on-dark: #FFFFFF;
  --on-dark-2: rgba(255, 255, 255, .74);
  --on-dark-line: rgba(255, 255, 255, .12);

  --shadow-card: 0 1px 2px rgba(28, 29, 34, .06), 0 8px 24px -10px rgba(28, 29, 34, .16);
  --shadow-pop: 0 2px 4px rgba(28, 29, 34, .07), 0 24px 48px -16px rgba(28, 29, 34, .26);

  --r-box: 20px;
  --r-card: 14px;
  --r-btn: 10px;
  --r-pill: 999px;

  --ease: cubic-bezier(.16, 1, .3, 1);
  --nav-h: 64px;
  --gutter: 24px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  scrollbar-width: thin;
  scrollbar-color: var(--line-strong) transparent;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-feature-settings: "cv11", "ss01";
  font-variant-numeric: tabular-nums;
  font-size: 1.0625rem;
  line-height: 1.6;
  accent-color: var(--cyan);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { background: var(--line-strong); border-radius: 10px; border: 2px solid var(--bg); }
::-webkit-scrollbar-track { background: transparent; }
::selection { background: rgba(12, 192, 223, .28); color: var(--ink); }

h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }
a { color: inherit; text-underline-offset: 3px; }
table { border-collapse: collapse; }

:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; border-radius: 4px; }
.band :focus-visible, .popup :focus-visible { outline-color: var(--cyan); }

.container { width: 100%; max-width: 1248px; margin-inline: auto; padding-inline: var(--gutter); }
.num { font-variant-numeric: tabular-nums; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip {
  position: fixed; left: 16px; top: 12px; z-index: 200; transform: translateY(-200%); background: var(--navy); color: #fff;
  padding: 10px 16px; border-radius: var(--r-btn); font-weight: 600; font-size: .9rem; transition: transform .2s;
}
.skip:focus { transform: none; }

/* Icons: one family, 1.5px stroke, round caps */
.ic {
  width: 18px; height: 18px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
  transition: transform .2s var(--ease);
}
.ic-lg { width: 20px; height: 20px; }

/* Brand motif: cyan square over navy bar */
.mk, .tl-node::before, .st-node::before, .mk-list li::before {
  content: ""; display: block; width: 8px; height: 12px; flex: none;
  background:
    linear-gradient(var(--cyan), var(--cyan)) 0 0 / 8px 8px no-repeat,
    linear-gradient(var(--navy), var(--navy)) 0 8px / 8px 4px no-repeat;
}

/* ---------- Type ---------- */
.display, .h2, .h3 { text-wrap: balance; }
.display {
  font-size: clamp(3rem, 5.2vw, 4.75rem);
  font-weight: 800; letter-spacing: -.04em; line-height: 1;
}
.h2 {
  font-size: clamp(1.9rem, 3.2vw, 2.75rem);
  font-weight: 600; letter-spacing: -.03em; line-height: 1.1;
  max-width: 21em;
}
.h2-sm { font-size: clamp(1.75rem, 2.6vw, 2.25rem); }
.h3 { font-size: 1.3125rem; font-weight: 600; letter-spacing: -.02em; line-height: 1.25; }
.muted { color: var(--ink-3); }
.lede { margin-top: 24px; max-width: 54ch; color: var(--ink-2); font-size: 1.125rem; line-height: 1.6; }
p { max-width: 65ch; }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 46px; padding: 0 22px; border-radius: var(--r-btn);
  border: 1px solid transparent; font-size: .95rem; font-weight: 600; letter-spacing: -.005em;
  text-decoration: none; cursor: pointer; text-align: center; line-height: 1.2;
  transition: background-color .18s, border-color .18s, color .18s, box-shadow .18s, transform .12s;
}
.btn:hover > .ic:last-child { transform: translateX(2px); }
.btn:active { transform: translateY(1px); }
.btn-sm { height: 38px; padding: 0 16px; font-size: .875rem; }
.btn-lg { height: 54px; padding: 0 28px; font-size: 1rem; }
.btn-xl { height: 60px; padding: 0 32px; font-size: 1.0625rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--cyan); color: var(--ink); }
.btn-primary:hover { background: #09A9C5; }
.btn-secondary { background: var(--card); color: var(--ink); border-color: var(--line-strong); }
.btn-secondary:hover { background: var(--panel); border-color: var(--ink-3); }
.btn-cyan { background: var(--cyan); color: var(--ink); }
.btn-cyan:hover { background: #3AD0E8; }
.btn-ghost { background: transparent; color: var(--ink-2); font-weight: 500; height: 40px; }
.btn-ghost:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: .95rem; color: var(--navy); text-decoration: none;
  border-bottom: 1px solid transparent; padding-bottom: 1px;
  transition: border-color .18s, color .18s;
}
.link-arrow:hover { border-color: currentColor; }
.link-arrow:hover .ic { transform: translateX(2px); }

/* ---------- Pills ---------- */
.pill {
  display: inline-flex; align-items: center; white-space: nowrap;
  font-size: .75rem; font-weight: 500; line-height: 1.4; letter-spacing: .005em;
  padding: 2px 9px; border-radius: var(--r-pill); border: 1px solid var(--line-strong);
  color: var(--ink-2); background: var(--card);
}
.pill-neutral { background: var(--panel); border-color: var(--line); color: var(--ink-2); }
.pill-cyan { background: var(--panel-cyan); border-color: #A9CFD2; color: var(--cyan-ink); }
.pill-ok { background: var(--ok-bg); border-color: var(--ok-line); color: var(--ok); }
.pill-warn { background: var(--warn-bg); border-color: var(--warn-line); color: var(--warn-ink); }
.pill-bad { background: var(--bad-bg); border-color: var(--bad-line); color: var(--bad); }

/* ---------- Navbar ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--nav-h);
  background: var(--bg); border-bottom: 1px solid transparent;
  transition: background-color .25s, border-color .25s;
}
.nav.is-scrolled, .nav.is-open { border-bottom-color: var(--line); }
.nav.is-scrolled { background: rgba(236, 235, 230, .94); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.nav.is-open { background: var(--bg); }
.nav-inner { height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav-logo { display: flex; align-items: center; flex: none; border-radius: 4px; }
.nav-logo img { height: 30px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 32px; margin-left: auto; margin-right: 32px; }
.nav-links a { font-size: .9rem; font-weight: 500; color: var(--ink-2); text-decoration: none; transition: color .15s; padding: 6px 0; }
.nav-links a:hover { color: var(--ink); }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.nav-toggle {
  display: none; width: 40px; height: 40px; align-items: center; justify-content: center;
  background: transparent; border: 0; border-radius: var(--r-btn); color: var(--ink); cursor: pointer;
}
.nav-toggle:hover { background: var(--panel); }
.nav-toggle path { transform-box: fill-box; transform-origin: center; transition: transform .3s var(--ease), opacity .2s; }
.nav-toggle[aria-expanded="true"] .l1 { transform: translateY(5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .l2 { opacity: 0; }
.nav-toggle[aria-expanded="true"] .l3 { transform: translateY(-5px) rotate(-45deg); }
.nav-panel {
  position: absolute; top: var(--nav-h); left: 0; right: 0; background: var(--bg);
  border-bottom: 1px solid var(--line); box-shadow: var(--shadow-card);
  max-height: calc(100dvh - var(--nav-h)); overflow: auto;
}
.nav-panel[hidden] { display: none; }
.nav-panel .container { display: flex; flex-direction: column; padding-block: 8px 24px; }
.nav-panel a:not(.btn) {
  font-size: 1.375rem; font-weight: 600; letter-spacing: -.02em; text-decoration: none;
  padding: 16px 0; border-bottom: 1px solid var(--line);
}
.nav-panel .btn { margin-top: 24px; }

/* ---------- Layout ---------- */
.section { padding-block: 120px 0; scroll-margin-top: 0; }
.section-last { padding-bottom: 120px; }
section[id] { scroll-margin-top: 72px; }
.section > .container > .h2 { margin-bottom: 56px; }
.section-line { margin: -32px 0 48px; color: var(--ink-2); max-width: 60ch; }
.center-cta { display: flex; justify-content: center; margin-top: 56px; }


/* ---------- Record card (product-UI primitive) ---------- */
.rec-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-card);
  box-shadow: var(--shadow-card); overflow: hidden;
}
.rec-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.rec-head-sm { padding: 12px 16px; }
.rec-title { font-size: .875rem; font-weight: 600; letter-spacing: -.005em; line-height: 1.3; }
.rec-foot { padding: 12px 20px; border-top: 1px solid var(--line); font-size: .8125rem; color: var(--ink-3); }
.head-pills { display: inline-flex; gap: 6px; }

.mini-table { width: 100%; font-size: .75rem; line-height: 1.3; }
.mini-table th, .mini-table td { padding: 9px 12px; text-align: right; white-space: nowrap; }
.mini-table th:first-child, .mini-table td:first-child { text-align: left; padding-left: 16px; }
.mini-table th:last-child, .mini-table td:last-child { padding-right: 16px; }
.mini-table thead th { font-size: .6875rem; font-weight: 500; color: var(--ink-3); padding-block: 8px; border-bottom: 1px solid var(--line); }
.mini-table tbody td { border-bottom: 1px solid var(--line); color: var(--ink); }
.mini-table tbody tr:last-child td { border-bottom: 0; }
.mini-table tfoot th, .mini-table tfoot td { font-weight: 600; border-top: 1px solid var(--line-strong); background: var(--panel); }
.mini-table tfoot th { color: var(--ink); text-align: left; }
.mini-table .dim { color: var(--ink-3); }
.mini-table .bad { color: var(--bad); }

/* ---------- 1. Hero ---------- */
.hero { padding-top: 140px; padding-bottom: 0; }
.hero-grid { display: grid; grid-template-columns: 7fr 5fr; column-gap: 40px; align-items: center; }
.hero-copy { padding-right: 8px; }
.hero-visual { min-width: 0; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 28px; margin-top: 36px; }
.micro-row { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 28px; font-size: .875rem; color: var(--ink-3); font-weight: 500; }
.micro-row li { display: inline-flex; align-items: center; gap: 8px; }

.hero-box {
  position: relative; background: var(--panel); border-radius: var(--r-box);
  padding: 40px; min-height: 0;
}
.plan { max-width: 100%; }
.timeline { padding: 8px 20px; }
.tl-row {
  position: relative; display: grid; grid-template-columns: 20px minmax(0, 1fr) auto; column-gap: 14px; align-items: center;
  padding: 11px 0;
}
.tl-row::before { content: ""; position: absolute; left: 9.5px; top: 0; bottom: 0; width: 1px; background: var(--line-strong); }
.tl-row:first-child::before { top: 50%; }
.tl-row:last-child::before { bottom: 50%; }
.tl-node { position: relative; z-index: 1; display: grid; place-items: center; width: 20px; height: 26px; background: var(--card); }
.tl-main { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.tl-title { font-size: .9375rem; font-weight: 600; letter-spacing: -.01em; line-height: 1.3; }
.tl-meta { font-size: .75rem; color: var(--ink-3); line-height: 1.4; }
.tl-side { display: flex; align-items: center; gap: 10px; }
.tl-dur { font-size: .8125rem; color: var(--ink-2); font-weight: 500; min-width: 44px; text-align: right; }


/* Hero load motion: the one authored moment */
.js .tl-row { opacity: 0; transform: translateY(8px); }
.js.hero-in .tl-row {
  opacity: 1; transform: none;
  transition: opacity .5s var(--ease), transform .5s var(--ease);
  transition-delay: calc(var(--i, 6) * 60ms + 120ms);
}

.facts {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  margin-top: 72px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-card);
  overflow: hidden; box-shadow: var(--shadow-card);
}
.facts li { display: flex; gap: 14px; align-items: flex-start; padding: 24px; background: var(--card); }
.facts .ic { margin-top: 2px; color: var(--navy); }
.facts strong { display: block; font-size: .9375rem; font-weight: 600; letter-spacing: -.01em; line-height: 1.35; }
.facts p { margin-top: 4px; font-size: .875rem; color: var(--ink-2); line-height: 1.5; }

/* ---------- 2. Problema (bento) ---------- */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.box { display: flex; flex-direction: column; min-width: 0; text-align: center; }
.box-art { display: grid; place-items: center; height: 260px; padding: 28px; border-radius: var(--r-box); background: #E3E0D5; }
.box:nth-child(2) .box-art { background: #DCE2DF; }
.box:nth-child(3) .box-art { background: #E4DDD9; }
.box-art svg { width: 100%; max-width: 330px; height: auto; max-height: 100%; }
.box .h3 { margin: 28px auto 0; font-size: 1.75rem; line-height: 1.15; letter-spacing: -.025em; max-width: 14em; min-height: 2.3em; }
.box-lead { margin: 8px auto 0; max-width: 30ch; color: var(--ink-2); font-size: 1rem; line-height: 1.5; }
.sum-strip > div { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 17px 16px; border-top: 1px solid var(--line); font-size: .8125rem; }
.sum-strip dt { color: var(--ink-2); }
.sum-strip dd { font-weight: 600; }
.sum-strip .bad { color: var(--bad); }
.sum-strip .dim { color: var(--ink-3); }

.chat-from { display: inline-flex; align-items: center; gap: 10px; }
.avatar { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--panel); border: 1px solid var(--line); color: var(--ink-2); }
.avatar .ic { width: 16px; height: 16px; }
.bubble { margin: 16px; padding: 12px 14px; background: var(--panel); border-radius: 12px 12px 12px 4px; font-size: .9375rem; line-height: 1.45; color: var(--ink); }
.vg-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 12px 16px; border-top: 1px solid var(--line); }
.vg-note { font-size: .75rem; color: var(--ink-2); }
.vg-note b { font-weight: 600; color: var(--bad); }

.kv > div { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 11px 16px; border-bottom: 1px solid var(--line); font-size: .8125rem; }
.kv dt { color: var(--ink-3); }
.kv dd { font-weight: 500; }
.field-bad { display: inline-block; padding: 2px 10px; border-radius: 6px; background: var(--bad-bg); border: 1px solid var(--bad-line); color: var(--bad); font-weight: 600; }
.vg-alert { display: flex; align-items: center; gap: 8px; padding: 12px 16px; font-size: .8125rem; font-weight: 500; color: var(--bad); max-width: none; }

/* ---------- 3. Beneficios ---------- */
.pillars-wrap { display: grid; grid-template-columns: 5fr 7fr; column-gap: 64px; align-items: start; }
.pillars { border-bottom: 1px solid var(--line); }
.pillar { position: relative; border-top: 1px solid var(--line); }
.pillar-h { font-size: inherit; font-weight: inherit; }
.pillar-h button {
  display: block; width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  padding: 24px 0; font-size: 1.375rem; font-weight: 600; letter-spacing: -.025em; line-height: 1.25;
  color: var(--ink-3); transition: color .2s; border-radius: 4px;
}
.pillar-h button:hover { color: var(--ink-2); }
.pillar.is-active .pillar-h button { color: var(--ink); }
.pillar-h button:disabled { cursor: default; color: var(--ink); }
.pillar-inner > p { color: var(--ink-2); font-size: 1rem; }
.pillar-inner > p strong { color: var(--ink); font-weight: 600; }
.pillar-inner .mk-list { margin: 20px 0; }
.pillar-inner .link-arrow { margin-bottom: 28px; }
.mk-list li { position: relative; padding-left: 24px; font-size: .9375rem; color: var(--ink); line-height: 1.5; }
.mk-list li + li { margin-top: 10px; }
.mk-list li::before { position: absolute; left: 0; top: .32em; }

.pillar-progress { position: absolute; left: 0; bottom: -1px; width: 100%; height: 2px; background: var(--cyan); transform: scaleX(0); transform-origin: left; pointer-events: none; }
.pillar.is-active .pillar-progress { transform: scaleX(1); transition: transform .7s var(--ease); }

.js .pillar-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); }
.js .pillar.is-active .pillar-body { grid-template-rows: 1fr; }
.js .pillar-inner { overflow: hidden; min-height: 0; visibility: hidden; transition: visibility 0s .5s; }
.js .pillar.is-active .pillar-inner { visibility: visible; transition-delay: 0s; }

.stage { position: sticky; top: 96px; }
.stage-box { position: relative; background: var(--panel); border-radius: var(--r-box); padding: 32px; display: grid; gap: 20px; }
.js .stage-box { height: 400px; display: block; }
.js .vg {
  position: absolute; top: 40px; left: 40px; right: 40px; display: flex; align-items: flex-start;
  opacity: 0; transform: translateY(6px); filter: blur(4px); visibility: hidden;
  transition: opacity .45s var(--ease), transform .45s var(--ease), filter .45s var(--ease), visibility 0s .45s;
}
.js .vg.is-active { opacity: 1; transform: none; filter: none; visibility: visible; transition-delay: 0s; }
.vg-card { width: 100%; }
.stage-box { overflow: hidden; }

.lbl-short { display: none; }
.big-fig { font-size: 4.25rem; font-weight: 600; letter-spacing: -.04em; line-height: 1; }
.session-meta { padding: 14px 20px 10px; font-size: .8125rem; color: var(--ink-3); max-width: none; }
.agenda { padding: 0 20px; }
.agenda li { display: grid; grid-template-columns: 52px 1fr; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); font-size: .875rem; line-height: 1.4; }
.ag-t { color: var(--cyan-ink); font-weight: 600; font-size: .8125rem; }
.session-q { padding: 16px 20px 24px; border-top: 1px solid var(--line); }
.mini-h { font-size: .75rem; font-weight: 600; color: var(--ink-3); margin-bottom: 10px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; font-size: .8125rem; line-height: 1.45; color: var(--ink); }
.check-list li + li { margin-top: 9px; }
.check-list .ic { width: 16px; height: 16px; margin-top: 1px; color: var(--cyan-ink); }
.q-list li { padding: 8px 10px; background: var(--panel); border-radius: 8px; font-size: .78125rem; line-height: 1.4; color: var(--ink-2); }
.q-list li + li { margin-top: 6px; }

.supply-top { display: flex; align-items: flex-end; gap: 18px; padding: 20px 20px 0; }
.supply-top .big-fig { font-size: 3.25rem; }
.supply-cap { font-size: .8125rem; color: var(--ink-3); padding-bottom: 6px; max-width: 24ch; line-height: 1.4; }
.chart { width: 100%; height: auto; overflow: visible; }
#supplyChart { height: 220px; padding: 0 8px 8px; }
.chart text { font-family: inherit; font-variant-numeric: tabular-nums; }

.tx-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 20px; }
.tx-amount { display: block; font-size: 1.75rem; font-weight: 600; letter-spacing: -.025em; line-height: 1.15; }
.tx-real { display: block; margin-top: 4px; font-size: .8125rem; color: var(--ink-3); }
.tx-real b { color: var(--ok); font-weight: 600; }
.steps-tl { padding: 0 20px 6px; }
.steps-tl li { position: relative; display: grid; grid-template-columns: 20px 1fr auto; column-gap: 12px; align-items: center; padding: 9px 0; font-size: .8125rem; }
.steps-tl li::before { content: ""; position: absolute; left: 9.5px; top: 0; bottom: 0; width: 1px; background: var(--line-strong); }
.steps-tl li:first-child::before { top: 50%; }
.steps-tl li:last-child::before { bottom: 50%; }
.st-node { position: relative; z-index: 1; display: grid; place-items: center; width: 20px; height: 24px; background: var(--card); }
.st-name { font-weight: 600; }
.st-time { color: var(--ink-3); font-size: .75rem; }
.tx-counter { display: flex; align-items: baseline; justify-content: space-between; padding: 14px 20px 10px; border-top: 1px solid var(--line); margin-top: 8px; font-size: .8125rem; }
.tx-count-label { color: var(--ink-3); }
.tx-count { font-size: 1rem; color: var(--ink-3); }
.tx-count b { color: var(--ink); font-weight: 600; }
.vg-card > .meter { margin: 0 20px 20px; }
.meter { height: 6px; background: var(--line); border-radius: var(--r-pill); overflow: hidden; }
.meter span { display: block; height: 100%; background: linear-gradient(90deg, var(--navy) calc(100% - 4px), var(--cyan) 0); border-radius: var(--r-pill); }

/* ---------- 4. ¿Es para ti? ---------- */
.fit-box {
  display: grid; grid-template-columns: 1fr 1fr; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--r-box); box-shadow: var(--shadow-card);
}
.fit-col { padding: 40px; }
.fit-col + .fit-col { border-left: 1px solid var(--line); }
.fit-h { font-size: 1.25rem; font-weight: 600; letter-spacing: -.02em; margin-bottom: 12px; }
.fit-list li { display: flex; gap: 14px; align-items: flex-start; padding: 15px 0; border-top: 1px solid var(--line); font-size: 1rem; line-height: 1.5; }
.fit-list .ic { margin-top: 1px; }
.fit-yes .ic { color: var(--navy); }
.fit-no li { color: var(--ink-2); }
.fit-no .ic { color: var(--ink-3); }

/* ---------- 5. Las 6 sesiones ---------- */
.track { display: grid; grid-template-columns: repeat(3, 1fr); }
.step { position: relative; }
.step-node { position: relative; height: 26px; margin-bottom: 14px; padding-left: 28px; display: flex; align-items: center; }
.step-node::before { content: ""; position: absolute; top: 50%; height: 1px; background: var(--line-strong); left: 0; right: 0; }
.step:first-child .step-node::before { left: 28px; }
.step:last-child .step-node::before { right: auto; width: 28px; }
.step-node .mk { position: relative; z-index: 1; box-shadow: 0 0 0 6px var(--bg); }
.step-body { padding: 4px 28px 28px; border: 1px solid transparent; border-radius: var(--r-card); }
.step-main .step-body { background: var(--card); border-color: var(--line); box-shadow: var(--shadow-card); padding-top: 24px; margin-top: -4px; }
.step-n { color: var(--ink-3); font-weight: 500; }
.step-meta { margin: 6px 0 14px; font-size: .9375rem; font-weight: 500; color: var(--ink-2); }
.step-body > p:last-child { font-size: 1rem; color: var(--ink-2); }

/* ---------- 6. Calculadora (navy band) ---------- */
.band { background: var(--navy); color: var(--on-dark); margin-top: 120px; padding-block: 120px; }
.band .h2 { color: #fff; }
.band .muted { color: rgba(255, 255, 255, .64); }
.instrument {
  display: grid; grid-template-columns: 5fr 7fr; background: var(--navy-deep);
  border: 1px solid var(--on-dark-line); border-radius: var(--r-box); overflow: hidden;
}
.inst-inputs { padding: 32px; display: flex; flex-direction: column; gap: 32px; border-right: 1px solid var(--on-dark-line); }
.field label, .year-head label { display: block; font-size: .875rem; font-weight: 500; color: var(--on-dark-2); margin-bottom: 10px; }
.input-wrap { position: relative; }
.input-prefix { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); font-size: 1.375rem; font-weight: 500; color: var(--on-dark-2); pointer-events: none; }
#calcMonto {
  width: 100%; height: 58px; padding: 0 16px 0 38px; background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .2); border-radius: var(--r-btn); color: #fff;
  font: inherit; font-size: 1.5rem; font-weight: 600; letter-spacing: -.02em; font-variant-numeric: tabular-nums;
  transition: border-color .15s, background-color .15s;
}
#calcMonto:hover { border-color: rgba(255, 255, 255, .34); }
#calcMonto:focus-visible { border-color: var(--cyan); outline-offset: 2px; border-radius: var(--r-btn); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.chip {
  height: 34px; padding: 0 14px; background: transparent; color: #fff; cursor: pointer;
  border: 1px solid rgba(255, 255, 255, .24); border-radius: var(--r-btn); font-size: .8125rem; font-weight: 500;
  transition: background-color .15s, border-color .15s, color .15s;
}
.chip:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .4); }
.chip:active { transform: translateY(1px); }
.chip[aria-pressed="true"] { background: var(--cyan); color: var(--ink); border-color: var(--cyan); }
.field-hint { margin-top: 10px; font-size: .75rem; color: var(--on-dark-2); }
.field-hint.is-error { color: #FFB4AB; }

.year-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.year-head label { margin: 0; padding-bottom: 8px; }
.year-out { font-size: 3rem; font-weight: 600; letter-spacing: -.04em; line-height: 1; color: #fff; }
.range { -webkit-appearance: none; appearance: none; width: 100%; height: 28px; background: transparent; cursor: pointer; --p: 60%; margin: 0; }
.range::-webkit-slider-runnable-track { height: 4px; border-radius: 4px; background: linear-gradient(to right, var(--cyan) var(--p), rgba(255, 255, 255, .22) var(--p)); }
.range::-moz-range-track { height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .22); }
.range::-moz-range-progress { height: 4px; border-radius: 4px; background: var(--cyan); }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; margin-top: -9px; border-radius: 50%; background: #fff; border: 5px solid var(--cyan); box-shadow: 0 1px 4px rgba(0, 0, 0, .3); transition: transform .15s; }
.range::-moz-range-thumb { width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 5px solid var(--cyan); box-shadow: 0 1px 4px rgba(0, 0, 0, .3); }
.range:hover::-webkit-slider-thumb { transform: scale(1.08); }
.range:active::-webkit-slider-thumb { transform: scale(.96); }
.range:focus-visible { outline: 2px solid var(--cyan); outline-offset: 4px; border-radius: 6px; }
.range-scale { display: flex; justify-content: space-between; margin-top: 2px; font-size: .75rem; color: var(--on-dark-2); }

.inst-read { display: flex; flex-direction: column; }
.fig { padding: 24px 32px; display: flex; flex-direction: column; gap: 4px; border-top: 1px solid var(--on-dark-line); flex: 1; justify-content: center; }
.fig:first-child { border-top: 0; }
.fig-label { font-size: .875rem; font-weight: 500; color: var(--on-dark-2); }
.fig-val { font-size: 2.25rem; font-weight: 600; letter-spacing: -.035em; line-height: 1.1; color: #fff; }
.fig-main .fig-val { font-size: 3.5rem; letter-spacing: -.04em; }
.fig-detail { font-size: .875rem; color: var(--on-dark-2); line-height: 1.5; max-width: 46ch; }

.inst-chart { grid-column: 1 / -1; border-top: 1px solid var(--on-dark-line); padding: 24px 32px 20px; }
.chart-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-bottom: 12px; }
.chart-title { font-size: .875rem; font-weight: 500; color: #fff; }
.chart-sub { font-size: .75rem; color: var(--on-dark-2); }
.chart-bars { height: 190px; }
.chart-bars text { fill: rgba(255, 255, 255, .74); font-size: 11px; }
.chart-bars .lbl-strong { fill: #fff; font-weight: 600; }

.bridge { display: grid; grid-template-columns: 1fr auto; gap: 48px; align-items: center; margin-top: 72px; padding-top: 48px; border-top: 1px solid var(--on-dark-line); }
.bridge .h3 { font-size: clamp(1.4rem, 2.2vw, 1.75rem); color: #fff; max-width: 40ch; }
.bridge p { margin-top: 14px; color: var(--on-dark-2); max-width: 60ch; }
.bridge-cta { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.micro { font-size: .8125rem; color: var(--ink-3); }
.band .micro { color: var(--on-dark-2); }
.bridge-cta .micro { text-align: left; margin: 0; max-width: none; }
.micro-center { text-align: center; margin-inline: auto; }

/* ---------- 7. Precios ---------- */
.price-card {
  display: grid; grid-template-columns: 5fr 7fr; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--r-box); box-shadow: var(--shadow-card);
}
.price-left { padding: 48px 40px; border-right: 1px solid var(--line); display: flex; flex-direction: column; }
.price-title { font-size: 1.5rem; font-weight: 600; letter-spacing: -.025em; line-height: 1.2; }
.price-fig { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 14px; margin-top: 32px; margin-bottom: 36px; }
.price-amount { font-size: 5.5rem; font-weight: 600; letter-spacing: -.05em; line-height: 1; }
.price-unit { font-size: .9375rem; color: var(--ink-3); font-weight: 500; }
.pay-methods { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px 14px; margin-top: 20px; font-size: .8125rem; color: var(--ink-2); max-width: none; }
.pay-methods span { display: inline-flex; align-items: center; gap: 8px; }
.pay-methods .ic { width: 16px; height: 16px; color: var(--ink-3); }
.pay-methods .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--line-strong); }
.price-right { padding: 40px; }
.includes-h { font-size: 1rem; font-weight: 600; letter-spacing: -.01em; margin-bottom: 8px; }
.includes li { display: flex; gap: 16px; align-items: flex-start; padding: 15px 0; border-top: 1px solid var(--line); font-size: .9375rem; color: var(--ink-2); line-height: 1.5; }
.includes .ic { margin-top: 2px; color: var(--navy); }
.includes strong { color: var(--ink); font-weight: 600; }
.notice { display: flex; gap: 14px; align-items: flex-start; margin-top: 20px; padding: 18px 22px; background: var(--panel); border-radius: var(--r-card); font-size: .9375rem; color: var(--ink-2); line-height: 1.55; max-width: none; }
.notice .ic { margin-top: 2px; color: var(--navy); }
.notice strong { color: var(--ink); font-weight: 600; }

/* ---------- 8. FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: 4fr 8fr; column-gap: 64px; align-items: start; }
.faq-aside { position: sticky; top: 96px; align-self: start; }
.faq-aside .h2 { margin-bottom: 28px; }
.faq-list { border-bottom: 1px solid var(--line); }
.faq-item { border-top: 1px solid var(--line); }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; cursor: pointer; list-style: none;
  padding: 24px 0; font-size: 1.125rem; font-weight: 500; letter-spacing: -.015em; line-height: 1.4; color: var(--ink);
  border-radius: 4px; transition: color .15s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--navy); }
.faq-ic { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; color: var(--ink-3); }
.faq-ic path { transform-box: fill-box; transform-origin: center; transition: transform .3s var(--ease); }
.faq-item[open] .faq-ic .v { transform: scaleY(0); }
.faq-item[open] .faq-ic { color: var(--navy); }
.faq-a { overflow: hidden; }
.faq-a-in { padding: 0 48px 26px 0; color: var(--ink-2); }

/* ---------- 9. CTA final ---------- */
.cta-box {
  position: relative; overflow: hidden; background: var(--panel-cyan); border-radius: var(--r-box);
  padding: 72px 28% 72px 64px; display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: 48px; align-items: center;
}
.cta-box .h2 { margin-bottom: 0; }
.cta-copy p { margin-top: 24px; color: var(--ink-2); max-width: 54ch; }
.cta-action { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; position: relative; z-index: 1; }
.cta-box .micro { color: var(--ink-2); max-width: 28ch; }
.cta-motif { position: absolute; right: -3%; bottom: -70px; width: 24%; height: auto; pointer-events: none; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 48px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; align-items: start; }
.footer-brand { display: flex; flex-direction: column; align-self: stretch; }
.footer-brand img { height: 30px; width: auto; align-self: flex-start; }
.footer-brand > p { margin-top: 14px; font-size: .9375rem; color: var(--ink-2); max-width: 36ch; }
.footer-legal { margin-top: auto; padding-top: 40px; display: grid; gap: 6px; }
.footer-legal p { font-size: .8125rem; color: var(--ink-3); max-width: 44ch; }
.footer-col { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.footer-label { font-size: .8125rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 4px; }
.footer-nav a { font-size: 1.125rem; color: var(--ink); text-decoration: none; font-weight: 500; line-height: 1.3; }
.footer-nav a:hover { color: var(--cyan-ink); text-decoration: underline; }
.footer-wa { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--cyan); color: var(--ink); transition: background .2s; }
.footer-wa:hover { background: #09A9C5; }
.footer-wa .ic { width: 26px; height: 26px; }

/* ---------- Popups ---------- */
.popup-layer { position: relative; z-index: 150; }
.popup[hidden], .overlay[hidden] { display: none; }
.popup {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-box); box-shadow: var(--shadow-pop);
  padding: 28px; position: relative; outline: none;
}
.popup-slide {
  position: fixed; right: 24px; bottom: 24px; width: 380px; z-index: 90;
  opacity: 0; transform: translateY(16px); transition: opacity .4s var(--ease), transform .5s var(--ease);
}
.popup-slide.is-in { opacity: 1; transform: none; }
.popup p { font-size: .9375rem; color: var(--ink-2); line-height: 1.55; }
.popup p strong { color: var(--ink); font-weight: 600; }
.popup-h { font-size: 1.125rem; font-weight: 600; letter-spacing: -.02em; line-height: 1.3; padding-right: 28px; margin-bottom: 10px; text-wrap: balance; }
.popup-h-lg { font-size: 1.5rem; letter-spacing: -.03em; line-height: 1.2; margin-bottom: 16px; }
.popup-sub { margin: -4px 0 20px; }
.popup-x {
  position: absolute; top: 12px; right: 12px; width: 32px; height: 32px; display: grid; place-items: center;
  background: transparent; border: 0; border-radius: 8px; color: var(--ink-3); cursor: pointer;
  transition: background-color .15s, color .15s;
}
.popup-x:hover { background: var(--panel); color: var(--ink); }
.popup-actions { display: flex; flex-direction: column; gap: 8px; margin-top: 20px; }
.popup-slide .popup-actions .btn { height: 42px; }

.overlay {
  position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center;
  padding: 16px; background: rgba(14, 11, 46, .55); opacity: 0; transition: opacity .3s;
}
.overlay.is-in { opacity: 1; }
.popup-modal { width: 100%; max-width: 520px; max-height: calc(100dvh - 32px); overflow: auto; padding: 40px; transform: translateY(12px) scale(.98); transition: transform .45s var(--ease); }
.overlay.is-in .popup-modal { transform: none; }
.supply-meter { padding: 18px 20px 16px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-card); margin-bottom: 20px; }
.supply-meter-fig { display: block; font-size: 2rem; font-weight: 600; letter-spacing: -.035em; line-height: 1.1; margin-bottom: 12px; }
.supply-meter-label { display: block; margin-top: 10px; font-size: .75rem; color: var(--ink-3); }
.check-list-lg li { font-size: .9375rem; color: var(--ink-2); }
.check-list-lg li strong { color: var(--ink); }
.check-list-lg li + li { margin-top: 12px; }
.check-list-lg .ic { width: 18px; height: 18px; margin-top: 2px; }

body.scroll-lock { overflow: hidden; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .hero-copy { padding-right: 8px; }
  .pillars-wrap { column-gap: 40px; }
  .price-left, .price-right { padding-inline: 32px; }
  .cta-box { padding: 56px 28% 56px 40px; gap: 32px; }
}

@media (max-width: 1023px) {
  .hero { padding-top: 120px; }
  .hero-grid { display: block; }
  .hero-copy { padding: 0; }
  .hero-visual { margin-top: 56px; }
  .hero-box { max-width: 640px; }
  .facts { grid-template-columns: repeat(2, 1fr); margin-top: 56px; }
  .fit-col { padding: 32px; }
  .price-card { grid-template-columns: 1fr; }
  .price-left { border-right: 0; border-bottom: 1px solid var(--line); }
  .faq-grid { grid-template-columns: 1fr; row-gap: 40px; }
  .faq-aside { position: static; }
  .bridge { grid-template-columns: 1fr; gap: 32px; align-items: start; }
  .instrument { grid-template-columns: 1fr; }
  .inst-inputs { border-right: 0; border-bottom: 1px solid var(--on-dark-line); }
  .fig:first-child { border-top: 0; }
}

@media (max-width: 899px) {
  :root { --gutter: 24px; }
  .section { padding-top: 96px; }
  .section-last { padding-bottom: 96px; }
  .band { margin-top: 96px; padding-block: 96px; }
  .section > .container > .h2 { margin-bottom: 40px; }
  .section-line { margin-top: -20px; }

  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }

  .bento { grid-template-columns: 1fr; }
  .box-lead, .box .h3 { min-height: 0; }

  /* Beneficios: no tabs; stacked blocks, vignette below its text */
  .pillars-wrap { display: block; }
  .stage { display: none; }
  .js .pillar-body { grid-template-rows: 1fr; }
  .js .pillar-inner { visibility: visible; }
  .js .pillar .pillar-progress { display: none; }
  .pillar-h button { padding-bottom: 14px; color: var(--ink); cursor: default; }
  .pillar-inner > p { margin-top: 0; }
  .pillar-inner .vg {
    position: static; opacity: 1; transform: none; filter: none; visibility: visible; display: block;
    background: var(--panel); border-radius: var(--r-box); padding: 16px; margin: 0 0 32px;
  }
  .pillar-inner .link-arrow { margin-bottom: 24px; }
  .pillar { padding-bottom: 0; }

  .track { grid-template-columns: 1fr; }
  .step { padding-left: 36px; }
  .step::before { content: ""; position: absolute; left: 3.5px; top: 22px; bottom: -6px; width: 1px; background: var(--line-strong); }
  .step:last-child::before { display: none; }
  .step-node { position: absolute; left: 0; top: 6px; margin: 0; padding: 0; width: 8px; height: 12px; }
  .step-node::before { display: none; }
  .step-node .mk { box-shadow: 0 0 0 4px var(--bg); }
  .step-body { padding: 0 0 36px; }
  .step-main .step-body { padding: 20px 20px 24px; margin: 0 0 36px; }
  .step-main { padding-left: 36px; }

  .cta-box { grid-template-columns: 1fr; padding: 48px 28px 150px; gap: 32px; }
  .cta-motif { bottom: -48px; right: -28px; width: 140px; }
}

@media (max-width: 720px) {
  .hero-box { padding: 20px 16px 20px; min-height: 0; }
  .timeline { padding-inline: 14px; }
  .col-fee { display: none; }
  .fit-box { grid-template-columns: 1fr; }
  .fit-col + .fit-col { border-left: 0; border-top: 1px solid var(--line); }
}

@media (max-width: 640px) {
  .popup-slide { left: 0; right: 0; bottom: 0; width: auto; border-radius: var(--r-box) var(--r-box) 0 0; padding-bottom: 24px; transform: translateY(100%); opacity: 1; }
  .popup-slide.is-in { transform: none; }
  .popup-modal { padding: 32px 24px 24px; }
  .popup-h-lg { font-size: 1.3rem; }
}

@media (max-width: 599px) {
  .lbl-long { display: none; }
  .lbl-short { display: inline; }
}

@media (max-width: 560px) {
  .nav-cta { display: none; }
  .facts { grid-template-columns: 1fr; margin-top: 48px; }
  .facts li { padding: 20px; }
  .box-art { height: 220px; padding: 20px; }
  .fig, .inst-inputs { padding: 24px 20px; }
  .inst-chart { padding: 20px 20px 16px; }
  .fig-main .fig-val { font-size: 2.75rem; }
  .fig-val { font-size: 2rem; }
  .year-out { font-size: 2.5rem; }
  .price-left, .price-right { padding: 32px 20px; }
  .price-amount { font-size: 4.5rem; }
  .fit-col { padding: 28px 20px; }
  .faq-a-in { padding-right: 0; }
  .faq-item summary { font-size: 1.0625rem; padding: 20px 0; }
  .cta-box .btn, .hero-actions .btn, .center-cta .btn { width: 100%; }
  .center-cta .btn { height: auto; min-height: 50px; padding-block: 12px; }
  .hero-actions { gap: 20px; }
  .bridge-cta .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-legal { padding-top: 24px; }
}

@media (max-width: 479px) {
  .chips { display: grid; grid-template-columns: 1fr 1fr; }
  .chip { width: 100%; }
  :root { --gutter: 16px; }
  .section { padding-top: 80px; }
  .section-last { padding-bottom: 80px; }
  .band { margin-top: 80px; padding-block: 80px; }
  .big-fig { font-size: 3.5rem; }
  .supply-top .big-fig { font-size: 2.75rem; }
  .supply-top { flex-direction: column; align-items: flex-start; gap: 8px; }
  .cta-box { padding-inline: 20px; }
  .step-main .step-body { margin-left: -4px; }
  .notice { padding: 16px; }
}

@media (max-width: 360px) {
  .display { font-size: 2.2rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .js .tl-row { opacity: 1; transform: none; }
}

@media (max-width: 380px) {
  .btn-lg, .btn-xl { padding: 0 14px; font-size: .9rem; gap: 8px; }
}
