/* ═══════════════════════════════════════════════════════════
   éxodo bpo — DETALLE DE SERVICIO · CINEMÁTICA
   Identidad: tinta dominante + zonas más oscuras · acento azul #268DB5
   Carga DESPUÉS de home-cine.css
   ═══════════════════════════════════════════════════════════ */
:root {
  --azul: #268DB5;
  --azul-luz: #6fc1e0;
  --ink-2: #070708;      /* zona más oscura */
  --panel: #101013;
}
.blue { color: var(--azul-luz); }

#nav { mix-blend-mode: normal; color: #fff; }
#nav.scrolled {
  background: rgba(7, 7, 8, 0.82);
  backdrop-filter: blur(20px) saturate(1.3);
  -webkit-backdrop-filter: blur(20px) saturate(1.3);
  border-bottom-color: rgba(255, 255, 255, 0.05);
}
.n-links li.active a { opacity: 1; }
.n-links li.active a::after { transform: scaleX(1); }

/* ═ HERO TINTA ═ */
.sdh {
  height: 100vh; height: 100svh; position: relative;
  display: flex; align-items: flex-end; overflow: hidden;
  background: var(--ink);
}
#heroCanvas { position: absolute; inset: 0; z-index: 0; }
.sdh-vig {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(ellipse 90% 70% at 18% 100%, rgba(38, 141, 181, 0.13), transparent 55%),
    radial-gradient(ellipse 120% 90% at 50% 110%, rgba(7, 7, 8, 0.6), transparent 55%),
    radial-gradient(ellipse 140% 110% at 50% 50%, transparent 40%, rgba(7, 7, 8, 0.85) 100%);
}
.sdh-ct { position: relative; z-index: 3; width: 100%; padding: 0 var(--pad) clamp(64px, 11vh, 130px); }
.sdh-bc {
  display: flex; align-items: center; gap: 12px;
  font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: 0.18em;
  text-transform: uppercase; margin-bottom: clamp(18px, 2.6vh, 30px);
  opacity: 0; transform: translateY(12px);
}
.sdh-bc a { color: var(--mut-d); transition: color 0.3s; }
.sdh-bc a:hover { color: var(--fg); }
.sdh-bc .sep { color: var(--mut-d); }
.sdh-bc .cur { color: var(--azul-luz); }
.sdh-h {
  font-size: clamp(40px, min(7.6vw, 12.5svh), 124px);
  font-weight: 760; letter-spacing: -0.045em; line-height: 0.98;
  margin-bottom: clamp(24px, 3.6vh, 40px);
}
.sdh-h .hl { display: block; overflow: hidden; padding-bottom: 0.07em; margin-bottom: -0.06em; }
.sdh-h .hl-in { display: block; transform: translateY(112%); will-change: transform; }
.sdh-h em { font-size: 1.04em; line-height: 0.9; color: var(--azul-luz); }
.sdh-p {
  font-size: clamp(14px, 1.15vw, 17px); font-weight: 300; line-height: 1.85;
  color: var(--mut); max-width: 470px;
  opacity: 0; transform: translateY(16px);
}
.sdh-scroll {
  position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%); z-index: 3;
  display: flex; flex-direction: column; align-items: center; gap: 10px; opacity: 0;
}
.sdh-scroll .mono { font-size: 8px; color: var(--mut-d); letter-spacing: 0.3em; }

/* ═ DECLARACIÓN EDITORIAL (hueso — único respiro claro) ═ */
.sd-stmt { background: var(--bone); color: var(--ink); padding: clamp(100px, 15vh, 200px) var(--pad); }
.sd-stmt-in {
  max-width: 1060px; margin: 0 auto;
  font-size: clamp(26px, 3.4vw, 54px); font-weight: 650; letter-spacing: -0.03em;
  line-height: 1.22; text-wrap: pretty;
}
.sd-stmt-in .qw { opacity: 0.12; }
.sd-stmt-in em { font-size: 1.05em; }
.sd-stmt-in .blue { color: var(--azul); }
.sd-stmt-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(40px, 6vw, 110px); align-items: start; max-width: none; }
.sd-stmt-h { font-size: clamp(28px, 3.4vw, 52px); font-weight: 750; letter-spacing: -0.035em; line-height: 1.08; }
.sd-stmt-h em { font-size: 1.05em; }
.sd-stmt-right p { font-size: 15px; font-weight: 300; line-height: 1.95; color: #6e6b65; margin-bottom: 20px; text-wrap: pretty; }
.sd-stmt-right strong { font-weight: 600; color: var(--ink); }

/* ═ PROCESO HORIZONTAL PINNEADO ═ */
.hproc-w { position: relative; }
.hproc {
  position: sticky; top: 0; height: 100vh; height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  overflow: hidden; background: var(--ink-2);
  padding: clamp(90px, 12vh, 130px) 0 clamp(36px, 5vh, 56px);
}
.hproc-head { padding: 0 var(--pad); margin-bottom: clamp(32px, 5vh, 56px); display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.hproc-counter { font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.2em; color: var(--mut-d); font-variant-numeric: tabular-nums; white-space: nowrap; }
.hproc-counter b { color: var(--azul-luz); font-weight: 500; }
.hproc-track {
  display: flex; gap: clamp(18px, 2vw, 32px);
  padding: 0 var(--pad); will-change: transform; width: max-content;
}
.hcard {
  width: clamp(360px, 34vw, 520px); flex-shrink: 0;
  background: var(--panel); border: 1px solid rgba(255, 255, 255, 0.06);
  padding: clamp(26px, 2.6vw, 42px);
  display: flex; flex-direction: column; min-height: clamp(280px, 38vh, 380px);
  position: relative; overflow: hidden;
}
.hcard::after {
  content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 2px;
  background: var(--azul); transform: scaleX(0); transform-origin: left;
  transition: transform 0.6s var(--ease);
}
.hcard:hover::after { transform: scaleX(1); }
.hcard-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: auto; padding-bottom: 36px; }
.hcard-num { font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: 0.25em; color: var(--mut-d); }
.hcard-icon { font-size: 22px; color: var(--azul-luz); opacity: 0.75; }
.hcard-ti { font-size: clamp(20px, 1.9vw, 27px); font-weight: 700; letter-spacing: -0.02em; margin-bottom: 12px; }
.hcard-de { font-size: 13px; font-weight: 300; line-height: 1.85; color: var(--mut); text-wrap: pretty; }
.hproc-rail { margin: clamp(32px, 5vh, 52px) var(--pad) 0; height: 1px; background: rgba(255, 255, 255, 0.07); position: relative; }
.hproc-rail i { position: absolute; inset: 0; background: var(--azul); transform: scaleX(0); transform-origin: left; display: block; }

/* ═ TABS AUTO-CYCLE (cómo lo hacemos) ═ */
.how { padding: clamp(90px, 13vh, 180px) var(--pad); background: var(--ink); }
.how-grid { display: grid; grid-template-columns: minmax(280px, 420px) 1fr; gap: clamp(40px, 6vw, 110px); align-items: start; margin-top: clamp(44px, 6vh, 72px); }
.how-tabs { display: flex; flex-direction: column; }
.how-tab {
  background: none; border: none; cursor: pointer; text-align: left;
  font-family: 'Outfit', sans-serif; color: var(--mut-d);
  font-size: clamp(18px, 1.9vw, 26px); font-weight: 700; letter-spacing: -0.02em;
  padding: clamp(16px, 2.2vh, 24px) 0; border-top: 1px solid rgba(255, 255, 255, 0.07);
  position: relative; transition: color 0.45s, padding-left 0.45s var(--ease);
  display: flex; align-items: center; gap: 14px;
}
.how-tab:last-of-type { border-bottom: 1px solid rgba(255, 255, 255, 0.07); }
.how-tab .ht-n { font-family: 'JetBrains Mono', monospace; font-size: 9px; letter-spacing: 0.2em; color: var(--mut-d); transition: color 0.4s; }
.how-tab.on { color: var(--fg); padding-left: 14px; }
.how-tab.on .ht-n { color: var(--azul-luz); }
.how-tab .ht-bar {
  position: absolute; top: -1px; left: 0; width: 100%; height: 1px;
  background: var(--azul); transform: scaleX(0); transform-origin: left;
}
.how-panels { position: relative; min-height: 300px; }
.how-panel {
  position: absolute; inset: 0; opacity: 0; transform: translateY(18px);
  pointer-events: none; display: flex; flex-direction: column; gap: 28px;
}
.how-panel.on { pointer-events: auto; }
.how-panel p { font-size: clamp(15px, 1.4vw, 19px); font-weight: 300; line-height: 1.9; color: var(--mut); max-width: 560px; text-wrap: pretty; }
.how-panel strong { font-weight: 600; color: var(--fg); }
.how-hl {
  border-left: 2px solid var(--azul); padding: 18px 26px;
  background: rgba(38, 141, 181, 0.06); max-width: 480px;
}
.how-hl p { font-size: 15px; font-weight: 600; color: var(--fg); margin-bottom: 6px; }
.how-hl small { font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: 0.08em; color: var(--mut); line-height: 1.7; display: block; }

/* ═ ACORDEÓN (industrias / ejemplos) ═ */
.acc { padding: clamp(90px, 13vh, 180px) var(--pad); background: var(--ink-2); }
.acc-list { margin-top: clamp(44px, 6vh, 72px); border-top: 1px solid rgba(255, 255, 255, 0.08); }
.acc-item { border-bottom: 1px solid rgba(255, 255, 255, 0.08); opacity: 0; transform: translateY(22px); }
.acc-trig {
  width: 100%; background: none; border: none; cursor: pointer; text-align: left;
  display: grid; grid-template-columns: 64px 1fr 40px; align-items: baseline; gap: clamp(14px, 2vw, 28px);
  padding: clamp(22px, 3.2vh, 36px) 0; color: var(--fg); font-family: 'Outfit', sans-serif;
}
.acc-num { font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: 0.22em; color: var(--mut-d); transition: color 0.4s; }
.acc-item.open .acc-num { color: var(--azul-luz); }
.acc-ti {
  font-size: clamp(22px, 2.8vw, 44px); font-weight: 700; letter-spacing: -0.03em;
  line-height: 1.05; color: var(--mut-d); transition: color 0.45s, transform 0.5s var(--ease);
  transform-origin: left center;
}
.acc-item.open .acc-ti, .acc-trig:hover .acc-ti { color: var(--fg); }
.acc-x {
  font-size: 26px; font-weight: 200; color: var(--mut-d); line-height: 1;
  transition: transform 0.45s var(--ease), color 0.4s; justify-self: end;
}
.acc-item.open .acc-x { transform: rotate(45deg); color: var(--azul-luz); }
.acc-body { max-height: 0; overflow: hidden; transition: max-height 0.65s var(--ease); }
.acc-in {
  display: grid; grid-template-columns: 1fr minmax(240px, 360px); gap: clamp(28px, 4vw, 72px);
  padding: 0 0 clamp(28px, 4vh, 44px) calc(64px + clamp(14px, 2vw, 28px));
}
.acc-de { font-size: 14px; font-weight: 300; line-height: 1.95; color: var(--mut); text-wrap: pretty; }
.acc-hl { border-left: 2px solid var(--azul); padding: 16px 22px; background: rgba(38, 141, 181, 0.06); height: fit-content; }
.acc-hl p { font-size: 14px; font-weight: 600; color: var(--fg); margin-bottom: 6px; line-height: 1.5; }
.acc-hl small { font-family: 'JetBrains Mono', monospace; font-size: 9.5px; letter-spacing: 0.06em; color: var(--mut); line-height: 1.7; display: block; }
.acc-hl a { color: var(--azul-luz); text-decoration: underline; text-underline-offset: 3px; }
.acc-meta { font-size: 14px; font-weight: 500; color: #c9c6bf; line-height: 2.1; }
.acc-meta-label { font-family: 'JetBrains Mono', monospace; font-size: 9px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--mut-d); margin-bottom: 10px; }

/* ═ ANTES / DESPUÉS ═ */
.tf { padding: clamp(90px, 13vh, 180px) var(--pad); background: var(--ink); }
.tf-grid {
  display: grid; grid-template-columns: 1fr 1px 1fr; gap: 0 clamp(28px, 4vw, 64px);
  margin-top: clamp(44px, 6vh, 72px); align-items: stretch;
}
.tf-divider { background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.12), transparent); }
.tf-label { font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: 0.25em; text-transform: uppercase; padding-bottom: 22px; }
.tf-label.before { color: var(--mut-d); }
.tf-label.after { color: var(--azul-luz); }
.tf-row {
  padding: clamp(18px, 2.6vh, 26px) 0; border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: clamp(14px, 1.3vw, 17px); font-weight: 300; line-height: 1.7; color: var(--mut);
  display: flex; gap: 14px; align-items: baseline;
  opacity: 0; transform: translateY(16px); text-wrap: pretty;
}
.tf-col.b .tf-row { color: var(--mut-d); }
.tf-col.b .tf-row::before { content: '×'; color: rgba(255, 255, 255, 0.18); font-weight: 400; flex-shrink: 0; }
.tf-col.a .tf-row { color: #d9d6cf; }
.tf-col.a .tf-row::before { content: '→'; color: var(--azul-luz); font-weight: 400; flex-shrink: 0; }

/* ═ EOR DIAGRAMA ═ */
.eor { padding: clamp(90px, 13vh, 180px) var(--pad); background: var(--ink); }
.eor-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 110px); align-items: center; }
.eor-p { font-size: 15px; font-weight: 300; line-height: 1.9; color: var(--mut); margin-bottom: 20px; max-width: 460px; text-wrap: pretty; }
.eor-p strong { font-weight: 600; color: var(--fg); }
.eor-diagram {
  background: var(--panel); border: 1px solid rgba(255, 255, 255, 0.06);
  padding: clamp(28px, 3vw, 48px); position: relative; overflow: hidden;
}
.eor-flow { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: 14px; align-items: center; }
.eor-box {
  border: 1px solid rgba(255, 255, 255, 0.12); padding: 20px 12px; text-align: center;
  font-size: clamp(12px, 1.1vw, 15px); font-weight: 600; letter-spacing: -0.01em;
  position: relative; background: var(--ink-2);
}
.eor-box.x { border-color: var(--azul); color: var(--azul-luz); box-shadow: 0 0 32px rgba(38, 141, 181, 0.12); }
.eor-arrow { color: var(--mut-d); font-size: 18px; position: relative; overflow: hidden; width: 26px; text-align: center; }
.eor-arrow i {
  position: absolute; left: -100%; top: 0; width: 100%; height: 100%;
  color: var(--azul-luz); font-style: normal;
  animation: eor-flow-anim 2.6s ease-in-out infinite;
}
.eor-arrow:nth-of-type(4) i { animation-delay: 1.3s; }
@keyframes eor-flow-anim {
  0% { left: -100%; opacity: 0; }
  30% { left: 0; opacity: 1; }
  60% { left: 0; opacity: 1; }
  100% { left: 100%; opacity: 0; }
}
@media (prefers-reduced-motion: reduce) { .eor-arrow i { display: none; } }
.eor-labels { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 14px; margin-top: 16px; }
.eor-label { font-family: 'JetBrains Mono', monospace; font-size: 8.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--mut-d); text-align: center; line-height: 1.7; }

/* ═ FLIP CARDS ═ */
.resp { padding: clamp(90px, 13vh, 180px) var(--pad); background: var(--ink-2); }
.resp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 1.6vw, 24px); margin-top: clamp(44px, 6vh, 72px); }
.flip { perspective: 1200px; min-height: 230px; opacity: 0; transform: translateY(26px); }
.flip-in { position: relative; width: 100%; height: 100%; min-height: 230px; transform-style: preserve-3d; transition: transform 0.7s var(--ease); }
.flip:hover .flip-in, .flip.tapped .flip-in { transform: rotateY(180deg); }
.flip-f, .flip-b {
  position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden;
  padding: clamp(22px, 2.2vw, 34px); display: flex; flex-direction: column;
}
.flip-f { background: var(--panel); border: 1px solid rgba(255, 255, 255, 0.06); }
.flip-f .fi { font-size: 24px; color: var(--azul-luz); opacity: 0.8; margin-bottom: auto; }
.flip-f .ft { font-size: clamp(17px, 1.6vw, 22px); font-weight: 700; letter-spacing: -0.015em; margin-top: 40px; }
.flip-f .fh { font-family: 'JetBrains Mono', monospace; font-size: 8.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--mut-d); margin-top: 10px; }
.flip-b { background: var(--azul); color: #fff; transform: rotateY(180deg); justify-content: center; }
.flip-b .fl { font-family: 'JetBrains Mono', monospace; font-size: 8.5px; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255, 255, 255, 0.65); margin-bottom: 14px; }
.flip-b .fx { font-size: 13.5px; font-weight: 400; line-height: 1.8; text-wrap: pretty; }

/* ═ OFFLOAD GRID ═ */
.offl { padding: clamp(90px, 13vh, 180px) var(--pad); background: var(--ink); }
.offl-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.07); margin-top: clamp(44px, 6vh, 72px); }
.offl-cell { background: var(--ink); padding: clamp(24px, 2.6vw, 40px); min-height: 210px; display: flex; flex-direction: column; opacity: 0; transform: translateY(24px); transition: background 0.4s; }
.offl-cell:hover { background: var(--panel); }
.offl-no { font-family: 'JetBrains Mono', monospace; font-size: 9px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--azul-luz); margin-bottom: auto; }
.offl-ti { font-size: clamp(18px, 1.8vw, 24px); font-weight: 700; letter-spacing: -0.02em; margin: 36px 0 8px; }
.offl-de { font-size: 13px; font-weight: 300; line-height: 1.8; color: var(--mut); text-wrap: pretty; }

/* ═ CALCULADORA ═ */
.calc { padding: clamp(90px, 13vh, 180px) var(--pad); background: var(--ink-2); }
.calc-box { background: var(--panel); border: 1px solid rgba(255, 255, 255, 0.07); padding: clamp(26px, 3vw, 52px); margin-top: clamp(44px, 6vh, 72px); max-width: 1060px; margin-left: auto; margin-right: auto; }
.calc-inputs { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 3vw, 48px); margin-bottom: 32px; }
.calc-sl-label { display: flex; justify-content: space-between; align-items: baseline; font-size: 13px; font-weight: 300; color: var(--mut); margin-bottom: 14px; }
.calc-sl-label strong { font-size: 17px; font-weight: 600; color: var(--fg); font-variant-numeric: tabular-nums; }
.calc-slider { -webkit-appearance: none; appearance: none; width: 100%; height: 2px; background: rgba(255, 255, 255, 0.12); outline: none; cursor: pointer; }
.calc-slider::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none; width: 18px; height: 18px; border-radius: 50%;
  background: var(--azul-luz); cursor: grab; border: none;
  box-shadow: 0 0 0 5px rgba(38, 141, 181, 0.18);
}
.calc-slider::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: var(--azul-luz); cursor: grab; border: none; box-shadow: 0 0 0 5px rgba(38, 141, 181, 0.18); }
.calc-segments { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 3vw, 48px); margin-bottom: 40px; }
.calc-seg-label { font-family: 'JetBrains Mono', monospace; font-size: 9px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--mut-d); margin-bottom: 10px; }
.calc-seg { display: flex; border: 1px solid rgba(255, 255, 255, 0.12); }
.calc-seg button {
  flex: 1; background: none; border: none; cursor: pointer; padding: 12px 8px;
  font-family: 'Outfit', sans-serif; font-size: 12px; font-weight: 500; color: var(--mut);
  transition: background 0.3s, color 0.3s;
}
.calc-seg button.active { background: var(--azul); color: #fff; }
.calc-headline { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.08); margin-bottom: 36px; }
.calc-hl-cell { background: var(--ink-2); padding: clamp(20px, 2.4vw, 36px); text-align: center; }
.calc-hl-cell.exodo { background: rgba(38, 141, 181, 0.1); }
.calc-hl-label { font-family: 'JetBrains Mono', monospace; font-size: 9px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--mut-d); margin-bottom: 12px; }
.calc-hl-num { font-size: clamp(26px, 3vw, 44px); font-weight: 250; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.calc-hl-cell.exodo .calc-hl-num { color: var(--azul-luz); }
.calc-hl-meta { font-size: 11px; font-weight: 300; color: var(--mut-d); margin-top: 8px; }
.calc-hl-meta strong { color: var(--mut); font-weight: 500; }
.calc-tabs { display: flex; border-bottom: 1px solid rgba(255, 255, 255, 0.1); margin-bottom: 30px; }
.calc-tab {
  flex: 1; background: none; border: none; cursor: pointer; padding: 15px 8px;
  font-family: 'Outfit', sans-serif; font-size: 12.5px; font-weight: 500; color: var(--mut-d);
  position: relative; transition: color 0.3s;
}
.calc-tab::after { content: ''; position: absolute; bottom: -1px; left: 0; width: 100%; height: 2px; background: var(--azul); transform: scaleX(0); transition: transform 0.4s var(--ease); }
.calc-tab.active { color: var(--fg); }
.calc-tab.active::after { transform: scaleX(1); }
.calc-panel { display: none; }
.calc-panel.active { display: block; animation: calc-fade 0.45s var(--ease); }
@keyframes calc-fade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.calc-sec-ti { font-family: 'JetBrains Mono', monospace; font-size: 9px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--mut-d); margin: 28px 0 16px; }
.calc-sec-ti:first-child { margin-top: 0; }
.calc-row { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.05); font-size: 13px; font-weight: 300; color: var(--mut); }
.calc-row .pct { font-family: 'JetBrains Mono', monospace; font-size: 10px; color: var(--mut-d); margin-left: auto; }
.calc-row span:last-child { font-variant-numeric: tabular-nums; color: #d9d6cf; font-weight: 400; white-space: nowrap; }
.calc-total { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0 4px; font-size: 15px; font-weight: 600; color: var(--fg); }
.calc-total span:last-child { font-variant-numeric: tabular-nums; }
.calc-total-pct { text-align: right; font-family: 'JetBrains Mono', monospace; font-size: 10px; color: var(--azul-luz); margin-top: 4px; }
.calc-pct { font-size: 12px; font-weight: 300; color: var(--mut); text-align: center; margin-top: 22px; padding: 14px 18px; background: rgba(255, 255, 255, 0.025); line-height: 1.7; }
.calc-pct strong { color: var(--fg); font-weight: 600; }
.calc-note { text-align: center; margin-top: 18px; font-size: 11px; color: var(--mut-d); font-style: italic; line-height: 1.7; max-width: 720px; margin-left: auto; margin-right: auto; }
.calc-note a { color: var(--azul-luz); text-decoration: underline; text-underline-offset: 2px; }
.calc-ex-hero { text-align: center; padding: 28px 0 22px; }
.calc-ex-hero-num { font-size: clamp(38px, 4.4vw, 64px); font-weight: 230; letter-spacing: -0.035em; color: var(--azul-luz); font-variant-numeric: tabular-nums; }
.calc-detail-toggle {
  display: block; margin: 0 auto 8px; background: none; border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--mut); font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: 0.12em;
  padding: 9px 22px; cursor: pointer; border-radius: 100px; transition: color 0.3s, border-color 0.3s;
}
.calc-detail-toggle:hover { color: var(--fg); border-color: rgba(255, 255, 255, 0.3); }
.calc-detail-wrap { max-height: 0; overflow: hidden; transition: max-height 0.5s var(--ease); }
.calc-detail-wrap.open { max-height: 200px; }
.calc-arr { margin-top: 26px; border: 1px solid rgba(38, 141, 181, 0.3); padding: 22px clamp(18px, 2vw, 30px); }
.calc-arr-ti { font-family: 'JetBrains Mono', monospace; font-size: 9px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--azul-luz); margin-bottom: 14px; }
.calc-arr-note { font-size: 11px; font-weight: 300; color: var(--mut-d); line-height: 1.7; margin-top: 12px; }
.calc-take { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 1.6vw, 24px); }
.calc-take-it { border-top: 1px solid rgba(255, 255, 255, 0.08); padding-top: 16px; }
.calc-take-no { font-family: 'JetBrains Mono', monospace; font-size: 8.5px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--azul-luz); margin-bottom: 10px; }
.calc-take-ti { font-size: 15px; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 6px; }
.calc-take-de { font-size: 12px; font-weight: 300; line-height: 1.75; color: var(--mut); text-wrap: pretty; }

/* ═ STEPPER HORIZONTAL ═ */
.steps { padding: clamp(90px, 13vh, 180px) var(--pad); background: var(--ink); }
.stepper { display: flex; position: relative; margin-top: clamp(52px, 7vh, 84px); }
.stepper::before { content: ''; position: absolute; top: 8px; left: 0; right: 0; height: 1px; background: rgba(255, 255, 255, 0.08); }
.stepper-line { position: absolute; top: 8px; left: 0; height: 1px; background: var(--azul); width: 0; }
.step-it { flex: 1; position: relative; padding: 36px 18px 0 0; }
.step-dot {
  position: absolute; top: 0; left: 0; width: 17px; height: 17px; border-radius: 50%;
  background: var(--ink); border: 1px solid rgba(255, 255, 255, 0.18);
  transition: background 0.4s, border-color 0.4s, box-shadow 0.4s;
}
.step-it.active .step-dot { background: var(--azul); border-color: var(--azul); box-shadow: 0 0 18px rgba(38, 141, 181, 0.45); }
.step-num { font-family: 'JetBrains Mono', monospace; font-size: 9px; letter-spacing: 0.2em; color: var(--mut-d); margin-bottom: 10px; transition: color 0.4s; }
.step-it.active .step-num { color: var(--azul-luz); }
.step-ti { font-size: clamp(15px, 1.4vw, 19px); font-weight: 700; letter-spacing: -0.01em; margin-bottom: 7px; color: var(--mut-d); transition: color 0.4s; }
.step-it.active .step-ti { color: var(--fg); }
.step-de { font-size: 12px; font-weight: 300; color: var(--mut-d); line-height: 1.7; max-width: 190px; transition: color 0.4s; text-wrap: pretty; }
.step-it.active .step-de { color: var(--mut); }

/* ═ FAQ ═ */
.faq { padding: clamp(90px, 13vh, 180px) var(--pad); background: var(--ink-2); }
.faq-list { margin-top: clamp(44px, 6vh, 72px); border-top: 1px solid rgba(255, 255, 255, 0.08); max-width: 960px; }
.faq-item { border-bottom: 1px solid rgba(255, 255, 255, 0.08); opacity: 0; transform: translateY(18px); }
.faq-item summary {
  list-style: none; cursor: pointer; padding: clamp(22px, 3vh, 30px) 0;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  font-size: clamp(16px, 1.5vw, 20px); font-weight: 600; line-height: 1.4; letter-spacing: -0.01em;
  transition: color 0.3s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-weight: 200; font-size: 26px; color: var(--azul-luz); transition: transform 0.35s var(--ease); flex-shrink: 0; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item summary:hover { color: var(--azul-luz); }
.faq-a { padding: 0 0 28px; font-size: 14px; font-weight: 300; line-height: 1.9; color: var(--mut); max-width: 780px; text-wrap: pretty; }

/* ═ QUOTE BREAK (hueso) ═ */
.qbrk { background: var(--bone); color: var(--ink); padding: clamp(100px, 14vh, 190px) var(--pad); text-align: center; }
.qbrk-in {
  font-size: clamp(24px, 3vw, 46px); font-weight: 300; letter-spacing: -0.02em;
  line-height: 1.45; max-width: 800px; margin: 0 auto; text-wrap: pretty;
}
.qbrk-in .qw { opacity: 0.12; }
.qbrk-in strong { font-weight: 750; }
.qbrk-in em { font-size: 1.05em; color: var(--azul); }

/* ═ CTA dark ═ */
.sd-cta {
  min-height: 70vh; display: flex; align-items: center; justify-content: center;
  text-align: center; background: var(--ink); padding: clamp(90px, 12vh, 150px) 32px;
}
.sd-cta .cta-h { font-size: clamp(40px, 7vw, 110px); }
.sd-cta .cta-h em { color: var(--azul-luz); }
.sd-cta .cta-tagline { color: var(--mut-d); }
.cta-btn.azul { background: var(--azul); color: #fff; }
.cta-btn.azul:hover { box-shadow: 0 24px 70px rgba(38, 141, 181, 0.35); }

/* ═ encabezados de sección (versión oscura) ═ */
.sd-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; flex-wrap: wrap; }
.sd-h {
  font-size: clamp(30px, 4.2vw, 64px); font-weight: 750; letter-spacing: -0.04em;
  line-height: 1.04; max-width: 800px;
}
.sd-h em { font-size: 1.05em; }
.sd-h .blue { color: var(--azul-luz); }
.sd-sub { font-size: 14px; font-weight: 300; color: var(--mut); max-width: 460px; line-height: 1.85; margin-top: 20px; text-wrap: pretty; }

/* ═ RESPONSIVE ═ */
@media (max-width: 1024px) {
  .sd-stmt-grid, .eor-grid { grid-template-columns: 1fr; }
  .how-grid { grid-template-columns: 1fr; }
  .how-panels { min-height: 380px; }
  .resp-grid { grid-template-columns: repeat(2, 1fr); }
  .offl-grid { grid-template-columns: repeat(2, 1fr); }
  .calc-take { grid-template-columns: 1fr; gap: 22px; }
  .acc-in { grid-template-columns: 1fr; }
  .stepper { flex-wrap: wrap; gap: 26px 0; }
  .stepper::before, .stepper-line { display: none; }
  .step-it { flex: none; width: 50%; padding-top: 30px; }
  .step-dot { top: 0; }
}
@media (max-width: 768px) {
  .resp-grid, .offl-grid { grid-template-columns: 1fr; }
  .calc-inputs, .calc-segments, .calc-headline { grid-template-columns: 1fr; }
  .tf-grid { grid-template-columns: 1fr; }
  .tf-divider { display: none; }
  .tf-col.a { margin-top: 36px; }
  .step-it { width: 100%; }
  .acc-trig { grid-template-columns: 40px 1fr 30px; }
  .acc-in { padding-left: 0; }
  .hcard { width: 82vw; }
}
@media (prefers-reduced-motion: reduce) {
  .sdh-h .hl-in, .sdh-bc, .sdh-p, .sdh-scroll,
  .acc-item, .flip, .offl-cell, .tf-row, .faq-item { opacity: 1 !important; transform: none !important; }
  .sd-stmt-in .qw, .qbrk-in .qw { opacity: 1 !important; }
  .hproc-w { height: auto !important; }
  .hproc { position: static; height: auto; }
  .hproc-track { flex-wrap: wrap; width: auto; }
}

/* ═ FILAS ABIERTAS — contenido siempre visible, coreografiado por scroll ═ */
.open-rows { margin-top: clamp(44px, 6vh, 72px); border-top: 1px solid rgba(255, 255, 255, 0.08); }
.orow {
  display: grid; grid-template-columns: 64px 1.3fr minmax(220px, 340px);
  gap: clamp(20px, 3vw, 56px); align-items: start;
  padding: clamp(32px, 5vh, 56px) 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: relative; opacity: 0; transform: translateY(30px);
}
.orow::before {
  content: ''; position: absolute; top: -1px; left: 0; width: 100%; height: 1px;
  background: var(--azul); transform: scaleX(0); transform-origin: left;
  transition: transform 0.8s var(--ease);
}
.orow:hover::before { transform: scaleX(1); }
.orow-num { font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: 0.25em; color: var(--mut-d); padding-top: 12px; }
.orow-ti {
  font-size: clamp(22px, 2.8vw, 44px); font-weight: 700; letter-spacing: -0.03em;
  line-height: 1.05; margin-bottom: 14px; transition: transform 0.6s var(--ease);
}
.orow:hover .orow-ti { transform: translateX(10px); }
.orow-de { font-size: 13.5px; font-weight: 300; line-height: 1.9; color: var(--mut); max-width: 560px; text-wrap: pretty; }
.orow-side { padding-top: 8px; }
.orow-hl { border-left: 2px solid var(--azul); padding: 16px 22px; background: rgba(38, 141, 181, 0.06); }
.orow-hl p { font-size: 14px; font-weight: 600; color: var(--fg); margin-bottom: 6px; line-height: 1.5; }
.orow-hl small { font-family: 'JetBrains Mono', monospace; font-size: 9.5px; letter-spacing: 0.06em; color: var(--mut); line-height: 1.7; display: block; }
.orow-hl a { color: var(--azul-luz); text-decoration: underline; text-underline-offset: 3px; }
.orow-meta-label { font-family: 'JetBrains Mono', monospace; font-size: 9px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--mut-d); margin-bottom: 10px; }
.orow-meta { font-size: 14px; font-weight: 500; color: #c9c6bf; line-height: 2.1; }

/* ═ RESPONSABILIDADES — tarjetas abiertas ═ */
.resp-card {
  background: var(--panel); border: 1px solid rgba(255, 255, 255, 0.06);
  padding: clamp(22px, 2.2vw, 34px); display: flex; flex-direction: column;
  position: relative; overflow: hidden; opacity: 0; transform: translateY(26px); min-height: 230px;
}
.resp-card::before {
  content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 2px;
  background: var(--azul); transform: scaleX(0); transform-origin: left;
  transition: transform 0.6s var(--ease);
}
.resp-card:hover::before { transform: scaleX(1); }
.resp-head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: auto; padding-bottom: 30px; gap: 12px; }
.resp-who { font-family: 'JetBrains Mono', monospace; font-size: 8.5px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--azul-luz); }
.resp-card.mine .resp-who { color: #d9d6cf; }
.resp-ico { font-size: 20px; color: var(--azul-luz); opacity: 0.75; line-height: 1; }
.resp-ti { font-size: clamp(17px, 1.6vw, 22px); font-weight: 700; letter-spacing: -0.015em; margin-bottom: 8px; }
.resp-de { font-size: 12.5px; font-weight: 300; line-height: 1.8; color: var(--mut); text-wrap: pretty; }

/* ═ destacado dentro de proc-step ═ */
.proc-hl { margin-top: 16px; border-left: 2px solid var(--azul); padding: 12px 18px; background: rgba(38, 141, 181, 0.06); max-width: 420px; }
.proc-hl p { font-size: 13px; font-weight: 600; color: var(--fg); margin-bottom: 4px; line-height: 1.5; }
.proc-hl small { font-family: 'JetBrains Mono', monospace; font-size: 9px; letter-spacing: 0.06em; color: var(--mut); line-height: 1.7; display: block; }

@media (max-width: 1024px) {
  .orow { grid-template-columns: 40px 1fr; }
  .orow-side { grid-column: 2; }
}
@media (prefers-reduced-motion: reduce) {
  .orow, .resp-card { opacity: 1 !important; transform: none !important; }
}

/* ═ palabras-acento siempre en azul ═ */
.sdh-h em, .sd-h em { color: var(--azul-luz); }
.sd-stmt-in em, .sd-stmt-h em, .qbrk-in em { color: var(--azul); }
