/* =====================================================================
   CuentaBien — Landing /pymes
   Sistema visual: navy profundo (oscuro) + verde marca, mono de datos.
   Concepto: "Al día / El Cuadre".
   ===================================================================== */

/* ---------- TOKENS ---------- */
:root {
  /* Azul de marca, más oscuro */
  --navy-900: #00060d;
  --navy-850: #000b16;
  --navy-800: #000f1d;   /* superficie principal */
  --navy-700: #06223b;
  --navy-600: #0a2f4f;
  --navy-card: #08273f;

  --green:       #7ec11d;
  --green-bright:#9bd92f;
  --green-deep:  #5d9410;

  /* Verde de BOTÓN (más profundo, para texto BLANCO legible) */
  --cta-from: #5f9f12;
  --cta-to:   #447910;

  --alert:     #f0594f;
  --alert-soft:#f5897f;

  /* Papel cálido */
  --paper:     #f5f4ee;
  --paper-100: #fbfaf5;
  --paper-200: #ecebe2;

  /* Texto */
  --ink:        #0d1b2a;
  --ink-soft:   #46586a;
  --ink-faint:  #76858f;
  --on-navy:    #eef3f7;
  --on-navy-soft:#a7bacb;
  --on-navy-faint:#647d92;

  --border-navy: rgba(255,255,255,.10);
  --border-ink:  rgba(13,27,42,.12);

  /* Tipografía */
  --f-display: "Plus Jakarta Sans", system-ui, sans-serif;
  --f-body: "Raleway", system-ui, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, monospace;
  --f-deco: "Playfair Display", Georgia, serif;

  /* Escala fluida (cuerpo un punto más grande para mejor lectura) */
  --step--1: clamp(0.9rem, 0.85rem + 0.25vw, 1.02rem);
  --step-0:  clamp(1.05rem, 1rem + 0.3vw, 1.2rem);
  --step-1:  clamp(1.25rem, 1.12rem + 0.55vw, 1.55rem);
  --step-2:  clamp(1.6rem, 1.35rem + 1.1vw, 2.15rem);
  --step-3:  clamp(2.1rem, 1.65rem + 2.1vw, 3.15rem);
  --step-4:  clamp(2.55rem, 1.7rem + 3vw, 3.95rem);

  --space-section: clamp(4.5rem, 3rem + 7vw, 8.5rem);
  --wrap: 1200px;
  --radius: 18px;
  --radius-sm: 12px;

  --ease: cubic-bezier(.22,.61,.36,1);
  --ease-spring: cubic-bezier(.34,1.56,.64,1);
  --shadow-card: 0 24px 60px -28px rgba(0,6,13,.7);
  --shadow-soft: 0 14px 34px -20px rgba(0,6,13,.4);
}

/* ---------- RESET ---------- */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--f-body);
  font-size: var(--step-0);
  line-height: 1.62;
  color: var(--ink);
  background: var(--navy-800);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; display: block; }
button { font: inherit; color: inherit; cursor: pointer; border: none; background: none; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 999;
  background: var(--green); color: var(--navy-900); padding: .6rem 1rem; border-radius: 0 0 8px 0;
  font-family: var(--f-display); font-weight: 600;
}
.skip-link:focus { left: 0; }

/* ---------- HELPERS ---------- */
.section__wrap { width: min(var(--wrap), 100% - 2.5rem); margin-inline: auto; }
.mono { font-family: var(--f-mono); font-feature-settings: "tnum"; }
.text-green { color: var(--green); }
.text-green-deep { color: var(--green-deep); }
.text-alert { color: var(--alert); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--f-body); font-size: var(--step--1); font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--green-deep);
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--green); border-radius: 2px; }
.eyebrow--alert { color: var(--alert); }
.eyebrow--alert::before { background: var(--alert); }
.eyebrow--center::before { display: none; }

.h2 {
  font-family: var(--f-display); font-weight: 700;
  font-size: var(--step-3); line-height: 1.1; letter-spacing: -.015em;
  color: var(--ink); margin-top: 1rem; max-width: 24ch;
}
.h2--light { color: var(--on-navy); }
.kicker {
  font-family: var(--f-body); font-size: var(--step--1); font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase; color: var(--green);
  display: inline-flex; align-items: center; gap: .6rem;
}
.kicker::before { content: ""; width: 30px; height: 2px; background: var(--green); }

.dotmark { width: 8px; height: 8px; border-radius: 50%; background: var(--green); flex-shrink: 0; box-shadow: 0 0 0 3px rgba(126,193,29,.18); }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  font-family: var(--f-display); font-weight: 600; font-size: var(--step-0);
  padding: .85rem 1.5rem; border-radius: 999px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s var(--ease), color .25s var(--ease);
  will-change: transform;
}
.btn__icon { width: 1.1em; height: 1.1em; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--ease); }
.btn--primary {
  background: linear-gradient(135deg, var(--cta-from), var(--cta-to));
  color: #fff; font-weight: 700; letter-spacing: .01em;
  text-shadow: 0 1px 1px rgba(0,16,31,.35);
}
.btn--primary:hover { background: linear-gradient(135deg, #6cb016, #4f8a10); transform: translateY(-2px); box-shadow: 0 16px 34px -12px rgba(126,193,29,.55); }
.btn--primary:hover .btn__icon { transform: translateX(4px); }
.btn--outline {
  background: transparent; color: #fff; font-weight: 600;
  border: 1px solid rgba(255,255,255,.28);
}
.btn--outline:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.5); transform: translateY(-2px); }
.btn--outline:hover .btn__icon { transform: translateX(4px); }
.btn--lg { padding: 1rem 1.85rem; font-size: clamp(1.02rem, 0.97rem + 0.3vw, 1.15rem); }
.btn--xl { padding: 1.1rem 2rem; font-size: var(--step-1); }
.btn--block { width: 100%; }

/* ---------- REVEAL ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- CURSOR suave (solo punteros finos) ---------- */
.cursor {
  position: fixed; top: 0; left: 0; width: 42px; height: 42px; border-radius: 50%;
  background: radial-gradient(circle, rgba(126,193,29,.5), rgba(126,193,29,0) 70%);
  filter: blur(4px); pointer-events: none; z-index: 9999; opacity: 0;
  transform: translate(-50%, -50%); transition: opacity .3s var(--ease), width .25s var(--ease), height .25s var(--ease);
  mix-blend-mode: screen;
}
.cursor.is-on { opacity: 1; }
.cursor.is-hot { width: 66px; height: 66px; }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* ---------- GRAIN / BG ---------- */
.hero__grain, .final__grain {
  position: absolute; inset: 0; pointer-events: none; opacity: .035; z-index: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}
/* Patrón sutil de líneas para fondos navy */
.hero__bg, .mech__glow, .cost__glow, .final__glow, .final__bg, .final__orbs { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero__bg, .final__bg {
  background-image:
    linear-gradient(rgba(255,255,255,.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.022) 1px, transparent 1px);
  background-size: 64px 64px; opacity: .6;
  -webkit-mask-image: radial-gradient(120% 90% at 70% 10%, #000 30%, transparent 75%);
  mask-image: radial-gradient(120% 90% at 70% 10%, #000 30%, transparent 75%);
}
.final__bg { -webkit-mask-image: radial-gradient(110% 120% at 50% 0%, #000 25%, transparent 70%); mask-image: radial-gradient(110% 120% at 50% 0%, #000 25%, transparent 70%); }
.final__orbs span { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .5; }
.final__orbs span:nth-child(1) { width: 34vmax; height: 34vmax; top: -12vmax; left: -8vmax; background: radial-gradient(circle, rgba(126,193,29,.22), transparent 65%); animation: breathe 11s ease-in-out infinite; }
.final__orbs span:nth-child(2) { width: 28vmax; height: 28vmax; bottom: -14vmax; right: -6vmax; background: radial-gradient(circle, rgba(10,47,79,.6), transparent 65%); animation: breathe 13s ease-in-out infinite reverse; }
.mech__glow { background: radial-gradient(60% 80% at 88% 12%, rgba(126,193,29,.10), transparent 60%); }
.cost__glow { background: radial-gradient(55% 70% at 12% 18%, rgba(126,193,29,.08), transparent 60%); }
.final__glow { background: radial-gradient(70% 90% at 80% 0%, rgba(126,193,29,.14), transparent 55%); }

/* =====================================================================
   TOP BAR — solo logo centrado, NO fija
   ===================================================================== */
.topbar {
  position: absolute; top: 0; left: 0; right: 0; z-index: 40;
  display: flex; justify-content: center;
  padding-block: clamp(1.1rem, .7rem + 1.4vw, 1.8rem);
}
.topbar__logo img { width: clamp(86px, 8vw, 118px); height: auto; }

/* =====================================================================
   HERO
   ===================================================================== */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(120% 90% at 86% -10%, rgba(126,193,29,.14), transparent 52%),
    linear-gradient(160deg, var(--navy-700) 0%, var(--navy-800) 45%, var(--navy-900) 100%);
  padding-top: clamp(7.5rem, 5.5rem + 8vw, 11rem);
  padding-bottom: var(--space-section);
}
.hero__glow {
  position: absolute; width: 55vmax; height: 55vmax; border-radius: 50%;
  top: -18vmax; right: -16vmax; z-index: 0;
  background: radial-gradient(circle, rgba(126,193,29,.10), transparent 60%);
  animation: breathe 9s ease-in-out infinite;
}
@keyframes breathe { 0%,100% { transform: scale(1); opacity: .8; } 50% { transform: scale(1.12); opacity: 1; } }

.hero__inner {
  position: relative; z-index: 2;
  width: min(var(--wrap), 100% - 2.5rem); margin-inline: auto;
  display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(2rem, 1rem + 3.5vw, 4rem);
  align-items: center;
}
.hero__title {
  font-family: var(--f-display); font-weight: 700; color: var(--on-navy);
  font-size: var(--step-4); line-height: 1.08; letter-spacing: -.02em;
  margin: 1.2rem 0 1.3rem; max-width: 17ch;
}
.hero__title-sub {
  display: block; margin-top: .85rem;
  font-family: var(--f-deco); font-style: italic; font-weight: 400;
  font-size: clamp(1.3rem, 1rem + 1.6vw, 2.2rem); line-height: 1.2;
  color: var(--green-bright); letter-spacing: 0;
}
.hero__subhead { font-size: var(--step-1); color: var(--on-navy-soft); max-width: 46ch; line-height: 1.55; }
.whisper { font-style: italic; color: var(--on-navy-soft); }
.hero__actions { margin-top: 2rem; display: flex; flex-direction: column; gap: .9rem; align-items: flex-start; }
.hero__microcopy { font-size: var(--step--1); color: var(--on-navy-faint); }

.hero__trust {
  margin-top: 2.4rem; display: flex; flex-wrap: wrap; gap: 2rem;
  border-top: 1px solid var(--border-navy); padding-top: 1.5rem;
}
.hero__trust li { display: flex; flex-direction: column; gap: .15rem; }
.hero__trust-num { font-family: var(--f-mono); font-weight: 600; font-size: 1.7rem; color: var(--green); line-height: 1; }
.hero__trust-lbl { font-size: var(--step--1); color: var(--on-navy-faint); max-width: 14ch; }

/* ---------- LEDGER (signature) ---------- */
.hero__panel { position: relative; z-index: 2; perspective: 1100px; }
.hero__stage { position: relative; transform-style: preserve-3d; transition: transform .5s var(--ease); will-change: transform; }
.ledger {
  background: linear-gradient(165deg, var(--navy-card), var(--navy-700));
  border: 1px solid var(--border-navy); border-radius: var(--radius);
  padding: 1.5rem 1.4rem; box-shadow: var(--shadow-card);
  position: relative; overflow: hidden;
}
.ledger::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(120deg, transparent 40%, rgba(126,193,29,.06));
}
.ledger__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.2rem; }
.ledger__id { display: flex; align-items: center; gap: .55rem; font-size: var(--step--1); color: var(--on-navy-soft); font-weight: 600; }
.ledger__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(126,193,29,.18); flex-shrink: 0; }
.ledger__pill {
  font-family: var(--f-mono); font-size: .74rem; font-weight: 500; letter-spacing: .02em;
  padding: .35rem .7rem; border-radius: 999px; white-space: nowrap;
}
.ledger__pill.is-ok { color: var(--green-bright); background: rgba(126,193,29,.14); }

.ledger__rows { display: flex; flex-direction: column; gap: .2rem; }
.ledger__row {
  display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: .8rem;
  padding: .85rem .2rem; border-bottom: 1px solid var(--border-navy);
}
.ledger__row:last-child { border-bottom: none; }
.ledger__label { color: var(--on-navy-soft); font-size: var(--step--1); }
.ledger__val { font-family: var(--f-mono); font-size: .82rem; font-weight: 500; text-align: right; }
.ledger__row.is-ok .ledger__val { color: var(--green-bright); }

.ledger__check {
  width: 22px; height: 22px; border-radius: 6px; flex-shrink: 0; position: relative;
  border: 1.5px solid var(--green); background: var(--green);
}
.ledger__check::after {
  content: ""; position: absolute; left: 6px; top: 2.5px; width: 6px; height: 11px;
  border: solid var(--navy-900); border-width: 0 2.2px 2.2px 0; transform: rotate(45deg);
}
/* Pop al cargar (una sola vez) */
.ledger.is-armed .ledger__row[data-pop] .ledger__check { transform: scale(0); opacity: 0; }
.ledger.is-armed .ledger__row[data-pop].pop .ledger__check {
  transform: scale(1); opacity: 1; transition: transform .5s var(--ease-spring), opacity .3s var(--ease);
}

.ledger__foot { margin-top: 1.3rem; display: flex; flex-direction: column; gap: .9rem; }
.ledger__metric {
  display: flex; align-items: baseline; justify-content: space-between; gap: 1rem;
  padding: .9rem 1rem; border-radius: var(--radius-sm); background: rgba(255,255,255,.04);
  border: 1px solid var(--border-navy);
}
.ledger__metric-label { font-size: var(--step--1); color: var(--on-navy-soft); }
.ledger__metric-val { font-family: var(--f-mono); font-weight: 600; font-size: 1.2rem; color: var(--on-navy); }
.ledger__metric-val--ok { color: var(--green-bright); }
.ledger__metric-val em { font-style: normal; color: var(--green-bright); }
.ledger__metric--alt .ledger__metric-val { font-size: .85rem; font-family: var(--f-body); }

/* Tokens 3D */
.token { position: absolute; z-index: 6; pointer-events: none; }
@keyframes floatB { 0%,100% { transform: translateY(0); } 50% { transform: translateY(11px); } }
@keyframes floatC { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
.token--check { width: 62px; height: 62px; top: -34px; left: -40px; animation: floatB 7s ease-in-out infinite; }
.badge3d {
  width: 100%; height: 100%; border-radius: 19px; display: grid; place-items: center; transform-style: preserve-3d;
  background: linear-gradient(150deg, #0f3d63, #06243d); border: 1px solid rgba(126,193,29,.5);
  box-shadow: 0 18px 30px -10px rgba(0,6,13,.8), inset 0 1px 0 rgba(255,255,255,.14);
  animation: tiltA 5.5s ease-in-out infinite;
}
@keyframes tiltA { 0%,100% { transform: rotateX(14deg) rotateY(-16deg); } 50% { transform: rotateX(-8deg) rotateY(16deg); } }
.badge3d svg { width: 38px; height: 38px; fill: none; stroke: var(--green-bright); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.token--doc { width: 64px; height: 82px; bottom: -30px; right: -34px; animation: floatC 8s ease-in-out infinite; }
.doc3d {
  width: 100%; height: 100%; border-radius: 11px; padding: 13px 11px; position: relative; transform-style: preserve-3d;
  background: linear-gradient(160deg, #ffffff, #e6ebf1); box-shadow: 0 18px 30px -12px rgba(0,6,13,.6);
  animation: tiltB 6.5s ease-in-out infinite;
}
@keyframes tiltB { 0%,100% { transform: rotateX(-10deg) rotateY(14deg); } 50% { transform: rotateX(8deg) rotateY(-12deg); } }
.doc3d__line { display: block; height: 4px; border-radius: 2px; background: #c4ccd6; margin-bottom: 7px; }
.doc3d__line--short { width: 58%; }
.doc3d__seal {
  position: absolute; bottom: -11px; right: -11px; width: 30px; height: 30px; border-radius: 50%;
  background: var(--green); display: grid; place-items: center; box-shadow: 0 7px 14px -4px rgba(126,193,29,.75);
}
.doc3d__seal svg { width: 16px; height: 16px; fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }

/* HUD */
.hud {
  position: absolute; left: -1.5rem; bottom: -1.6rem; z-index: 7;
  display: flex; align-items: center; gap: .7rem;
  background: rgba(0,6,13,.86); backdrop-filter: blur(10px);
  border: 1px solid var(--border-navy); border-radius: 14px; padding: .7rem .95rem;
  box-shadow: var(--shadow-card); animation: floaty 5s ease-in-out infinite;
}
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
.hud__ping { width: 10px; height: 10px; border-radius: 50%; background: var(--green); position: relative; flex-shrink: 0; }
.hud__ping::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid var(--green); animation: ping 1.8s var(--ease) infinite; }
@keyframes ping { 0% { transform: scale(.6); opacity: 1; } 100% { transform: scale(1.6); opacity: 0; } }
.hud__text { display: flex; flex-direction: column; line-height: 1.2; }
.hud__text strong { font-size: .85rem; color: var(--on-navy); font-weight: 600; }
.hud__text span { font-size: .74rem; color: var(--on-navy-faint); }

/* =====================================================================
   AGITACIÓN
   ===================================================================== */
.agita { background: var(--paper); color: var(--ink); padding-block: var(--space-section); position: relative; }
.agita__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem,1rem + 4vw,4.5rem); align-items: start; }
.agita__left { position: sticky; top: 90px; align-self: start; }
.agita__lead { margin-top: 1.6rem; }
.agita__lead p { color: var(--ink-soft); max-width: 46ch; }
.agita__lead p + p { margin-top: 1.1rem; }
.agita__lead strong { color: var(--ink); }

.risks { display: flex; flex-direction: column; gap: 1.1rem; }
.risk {
  display: flex; align-items: center; gap: 1.1rem;
  background: var(--paper-100); border: 1px solid var(--border-ink); border-left: 3px solid var(--alert);
  border-radius: var(--radius-sm); padding: 1.35rem 1.5rem;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.risk:hover { transform: translateY(-3px); box-shadow: var(--shadow-soft); }
.risk__ico {
  width: 46px; height: 46px; border-radius: 12px; flex-shrink: 0; display: grid; place-items: center;
  background: rgba(240,89,79,.1);
}
.risk__ico svg { width: 24px; height: 24px; fill: none; stroke: var(--alert); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.risk__body { display: flex; flex-direction: column; gap: .3rem; }
.risk__tag {
  font-family: var(--f-mono); font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .04em;
  color: var(--alert);
}
.risk p { font-size: var(--step-0); color: var(--ink-soft); }
.risk--out { border-left-color: var(--green); background: var(--navy-800); align-items: center; }
.risk--out p { color: var(--on-navy); font-size: var(--step-0); }
.risk--out strong { color: var(--green-bright); }
.risk__ico--out { background: rgba(126,193,29,.14); }
.risk__ico--out svg { stroke: var(--green-bright); }

/* =====================================================================
   MECANISMO
   ===================================================================== */
.mech { background: var(--navy-800); color: var(--on-navy); padding-block: var(--space-section); position: relative; overflow: hidden; }
.mech__head { position: relative; z-index: 2; max-width: 60ch; }
.mech__intro { margin-top: 1.3rem; color: var(--on-navy-soft); max-width: 58ch; }
.gcards {
  position: relative; z-index: 2; margin-top: clamp(3.5rem,2.5rem + 4vw,5.5rem);
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem;
}
.gcard {
  background: rgba(255,255,255,.035); border: 1px solid var(--border-navy);
  border-radius: var(--radius); padding: 1.8rem 1.7rem;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.gcard:hover { transform: translateY(-5px); box-shadow: var(--shadow-card); border-color: rgba(126,193,29,.35); }
.gcard--feature { background: linear-gradient(160deg, rgba(126,193,29,.16), rgba(126,193,29,.04)); border-color: rgba(126,193,29,.4); }
.gcard__ico { width: 50px; height: 50px; border-radius: 13px; display: grid; place-items: center; background: rgba(126,193,29,.14); margin-bottom: 1.2rem; }
.gcard__ico svg { width: 26px; height: 26px; fill: none; stroke: var(--green-bright); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.gcard--feature .gcard__ico svg { fill: var(--green-bright); stroke: none; }
.gcard__num { font-family: var(--f-mono); font-weight: 600; color: var(--green); font-size: clamp(2.2rem, 1.7rem + 1.6vw, 3rem); line-height: 1; display: flex; align-items: baseline; gap: .35rem; }
.gcard__num small { font-size: .8rem; color: var(--on-navy-faint); font-weight: 500; }
.gcard h3 { font-family: var(--f-display); font-weight: 600; font-size: var(--step-1); color: var(--on-navy); line-height: 1.2; margin: 1rem 0 .5rem; }
.gcard p { color: var(--on-navy-soft); font-size: var(--step--1); }
.mech__cta { position: relative; z-index: 2; margin-top: clamp(3.5rem,2.5rem + 4vw,5.5rem); text-align: center; }

/* =====================================================================
   LO QUE INCLUYE — 8 cards uniformes y compactas
   ===================================================================== */
.incl { background: var(--paper-100); color: var(--ink); padding-block: var(--space-section); }
.incl__head { max-width: 50ch; }
.incl__intro { margin-top: 1.2rem; color: var(--ink-soft); max-width: 56ch; }
.incl__grid {
  margin-top: clamp(3.4rem,2.4rem + 3vw,4.8rem);
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem;
}
.svc {
  background: #fff; border: 1px solid var(--border-ink); border-radius: var(--radius);
  padding: 1.4rem 1.35rem; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.svc:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); border-color: rgba(126,193,29,.4); }
.svc__ico { display: inline-flex; width: 44px; height: 44px; border-radius: 12px; align-items: center; justify-content: center; background: rgba(126,193,29,.12); margin-bottom: .9rem; }
.svc__ico svg { width: 23px; height: 23px; fill: none; stroke: var(--green-deep); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.svc h3 { font-family: var(--f-display); font-weight: 600; font-size: var(--step-0); color: var(--ink); line-height: 1.25; }
.svc p { margin-top: .45rem; color: var(--ink-soft); font-size: var(--step--1); }

/* =====================================================================
   PRUEBA
   ===================================================================== */
.proof { background: var(--navy-900); color: var(--on-navy); padding-block: var(--space-section); }
.proof__head { max-width: 42ch; }
.proof__grid {
  margin-top: clamp(3.2rem,2.2rem + 4vw,5rem);
  display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem,1rem + 4vw,4rem); align-items: center;
}
.proof__people { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; max-width: 430px; }
.person__photo { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); border: 1px solid var(--border-navy); }
.person figcaption { margin-top: .85rem; display: flex; flex-direction: column; gap: .15rem; }
.person figcaption strong { font-family: var(--f-display); font-weight: 600; color: var(--on-navy); }
.person figcaption span { font-size: .85rem; color: var(--on-navy-faint); line-height: 1.3; }
.proof__copy p { color: var(--on-navy-soft); font-size: var(--step-1); line-height: 1.5; }
.proof__stats { margin-top: 1.8rem; display: flex; flex-direction: column; gap: 1.1rem; }
.stat { display: flex; align-items: center; gap: 1rem; border-top: 1px solid var(--border-navy); padding-top: 1.1rem; }
.stat__ico { width: 46px; height: 46px; border-radius: 12px; flex-shrink: 0; display: grid; place-items: center; background: rgba(126,193,29,.12); }
.stat__ico svg { width: 24px; height: 24px; fill: none; stroke: var(--green-bright); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.stat__txt { display: flex; flex-direction: column; }
.stat__num { font-size: 1.9rem; color: var(--green); font-weight: 600; line-height: 1.1; }
.stat__lbl { font-size: var(--step--1); color: var(--on-navy-soft); }

.allies { margin-top: clamp(4rem,3rem + 4vw,6.5rem); border-top: 1px solid var(--border-navy); padding-top: clamp(2.2rem,1.6rem + 2vw,3rem); }
.allies__title { text-align: center; font-size: var(--step-0); color: var(--on-navy-soft); letter-spacing: .01em; }
.allies__row { margin-top: 1.6rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: clamp(1.8rem, 1rem + 4vw, 4rem); }
.allies__row img { height: auto; opacity: .5; filter: grayscale(1) brightness(0) invert(1); transition: opacity .3s var(--ease); }
.allies__row li:nth-child(1) img { width: 76px; }
.allies__row li:nth-child(2) img { width: 108px; }
.allies__row li:nth-child(3) img { width: 94px; }
.allies__row li:nth-child(4) img { width: 86px; }
.allies__row li:nth-child(5) img { width: 126px; }
.allies__row img:hover { opacity: .9; }

/* =====================================================================
   RESCATE
   ===================================================================== */
.rescue { background: var(--paper); color: var(--ink); padding-block: var(--space-section); }
.rescue__grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(2.5rem,1.5rem + 4vw,5rem); align-items: start; }
.rescue__copy p { color: var(--ink-soft); margin-top: 1.2rem; max-width: 48ch; }
.rescue__closing { font-size: var(--step--1); border-left: 3px solid var(--green); padding-left: 1.1rem; margin-left: .1rem; }
.rescue__findings {
  background: #fff; border: 1px solid var(--border-ink); border-radius: var(--radius);
  padding: clamp(1.7rem,1.3rem + 2vw,2.4rem); box-shadow: var(--shadow-soft); position: sticky; top: 90px;
}
.findings__topbar { display: flex; align-items: center; justify-content: space-between; gap: .8rem; padding-bottom: 1.1rem; margin-bottom: 1.1rem; border-bottom: 1px solid var(--border-ink); flex-wrap: wrap; }
.findings__topbar .ledger__id { color: var(--ink); min-width: 0; }
.findings__topbar .ledger__dot { background: var(--green); }
.findings__diag { font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-faint); flex-shrink: 0; }
.findings { display: flex; flex-direction: column; gap: 1rem; }
.findings li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: .8rem; align-items: center; }
.findings__mark { width: 26px; height: 26px; border-radius: 8px; background: rgba(126,193,29,.14); flex-shrink: 0; position: relative; }
.findings__mark::after { content: ""; position: absolute; left: 9px; top: 6px; width: 6px; height: 11px; border: solid var(--green-deep); border-width: 0 2.2px 2.2px 0; transform: rotate(45deg); }
.findings__txt { font-size: var(--step--1); color: var(--ink-soft); line-height: 1.4; min-width: 0; }
.findings__chip { font-size: .6rem; font-weight: 500; text-transform: uppercase; letter-spacing: .04em; color: var(--green-deep); background: rgba(126,193,29,.12); padding: .28rem .5rem; border-radius: 6px; white-space: nowrap; flex-shrink: 0; }

/* =====================================================================
   COSTO
   ===================================================================== */
.cost { background: linear-gradient(180deg, var(--navy-900), var(--navy-800)); color: var(--on-navy); padding-block: var(--space-section); position: relative; overflow: hidden; }
.cost__head { position: relative; z-index: 2; text-align: center; max-width: 44rem; margin-inline: auto; }
.cost__title { max-width: none; font-size: clamp(1.9rem, 1.45rem + 1.8vw, 2.8rem); line-height: 1.12; }
.cost__grid {
  position: relative; z-index: 2; margin-top: clamp(2.5rem,1.8rem + 3vw,4rem);
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.6rem,1rem + 3vw,3.2rem); align-items: start;
}
.cost__intro { color: var(--on-navy-soft); font-size: var(--step-0); max-width: 46ch; }

.ccards { margin-top: 1.8rem; display: flex; flex-direction: column; gap: 1rem; }
.ccard { display: flex; gap: 1rem; align-items: flex-start; background: rgba(255,255,255,.035); border: 1px solid var(--border-navy); border-radius: var(--radius-sm); padding: 1.2rem 1.3rem; transition: transform .3s var(--ease), border-color .3s var(--ease); }
.ccard:hover { transform: translateY(-3px); border-color: rgba(126,193,29,.35); }
.ccard__ico { width: 42px; height: 42px; border-radius: 11px; flex-shrink: 0; display: grid; place-items: center; background: rgba(126,193,29,.14); }
.ccard__ico svg { width: 22px; height: 22px; fill: none; stroke: var(--green-bright); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ccard__txt h3 { font-family: var(--f-display); font-weight: 600; font-size: var(--step-0); color: var(--on-navy); }
.ccard__txt p { margin-top: .3rem; font-size: var(--step--1); color: var(--on-navy-soft); }

/* .compare = solo disparador de la animación de barras */
.compare { position: relative; }
.compare__bar { position: relative; height: 14px; border-radius: 7px; background: rgba(255,255,255,.06); overflow: hidden; }
.compare__bar--anchor { height: 16px; }
.compare__bar-fill { position: absolute; left: 0; top: 0; bottom: 0; width: var(--w); border-radius: 7px; background: linear-gradient(90deg, var(--green-deep), var(--green)); transform-origin: left; transform: scaleX(0); transition: transform 1.1s var(--ease); }
.compare.is-in .compare__bar-fill { transform: scaleX(1); }
.compare__bar--anchor .compare__bar-fill { background: linear-gradient(90deg, #d8443b, #f0594f); }

.costcard { background: linear-gradient(165deg, var(--navy-card), var(--navy-850)); border: 1px solid var(--border-navy); border-radius: var(--radius); padding: clamp(1.5rem,1.1rem + 2vw,2.2rem); box-shadow: var(--shadow-card); }
.costcard__eyebrow { display: block; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--green-bright); }
.costcard__title { font-family: var(--f-display); font-weight: 700; font-size: var(--step-1); color: var(--on-navy); margin: .5rem 0 1.6rem; }
.costcard__anchor { margin-bottom: 1.5rem; }
.costcard__row { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: .6rem; flex-wrap: wrap; }
.costcard__label { font-size: var(--step--1); color: var(--on-navy-soft); }
.costcard__label em { font-style: normal; color: var(--on-navy-faint); }
.costcard__val { font-family: var(--f-mono); font-weight: 600; font-size: 1.2rem; color: var(--alert-soft); white-space: nowrap; }
.costcard__group { font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; color: var(--on-navy-faint); margin-bottom: 1.2rem; }
.costcard__chart { position: relative; padding-bottom: 1.7rem; }
.costcard__chart::before { content: ""; position: absolute; top: 0; bottom: 1.7rem; right: 0; border-right: 1px dashed rgba(240,89,79,.5); }
.costcard__plans { display: flex; flex-direction: column; gap: 1.15rem; }
.costcard__planhead { display: flex; align-items: center; justify-content: space-between; gap: .8rem; margin-bottom: .45rem; }
.costcard__pname { font-family: var(--f-display); font-weight: 600; font-size: var(--step--1); color: var(--on-navy); }
.costcard__tag { font-size: .6rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--green-bright); white-space: nowrap; padding-right: .5rem; }
.costcard__floor { position: absolute; right: 0; bottom: 0; font-family: var(--f-mono); font-size: .62rem; letter-spacing: .06em; text-transform: uppercase; color: var(--alert-soft); background: var(--navy-850); padding-left: .5rem; }
.costcard__foot { margin-top: 1.5rem; padding-top: 1.2rem; border-top: 1px solid var(--border-navy); font-size: .74rem; color: var(--on-navy-faint); line-height: 1.5; }

.cost__close-wrap { position: relative; z-index: 2; margin-top: clamp(2.8rem,2rem + 3vw,4.5rem); text-align: center; }
.cost__close { color: var(--on-navy-soft); font-size: var(--step-0); max-width: 62ch; margin: 0 auto 1.8rem; }

/* =====================================================================
   FAQ
   ===================================================================== */
.faq { background: var(--paper-100); color: var(--ink); padding-block: var(--space-section); }
.faq__head { text-align: center; max-width: 36ch; margin-inline: auto; }
.faq__head .h2 { max-width: none; }
.faq__list { margin-top: clamp(3.5rem,2.5rem + 3vw,5rem); max-width: 820px; margin-inline: auto; display: flex; flex-direction: column; gap: .9rem; }
.qa { background: #fff; border: 1px solid var(--border-ink); border-radius: var(--radius-sm); overflow: hidden; transition: border-color .3s var(--ease), box-shadow .3s var(--ease); }
.qa[open] { border-color: rgba(126,193,29,.5); box-shadow: var(--shadow-soft); }
.qa summary {
  list-style: none; cursor: pointer; padding: 1.2rem 1.4rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  font-family: var(--f-display); font-weight: 600; font-size: var(--step-0); color: var(--ink);
}
.qa summary::-webkit-details-marker { display: none; }
.qa__sign { position: relative; width: 20px; height: 20px; flex-shrink: 0; }
.qa__sign::before, .qa__sign::after { content: ""; position: absolute; background: var(--green-deep); border-radius: 2px; transition: transform .3s var(--ease); }
.qa__sign::before { top: 9px; left: 0; width: 20px; height: 2px; }
.qa__sign::after { top: 0; left: 9px; width: 2px; height: 20px; }
.qa[open] .qa__sign::after { transform: rotate(90deg); opacity: 0; }
.qa__body { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.qa[open] .qa__body { max-height: 460px; }
.qa__body p { padding: 0 1.4rem 1.3rem; color: var(--ink-soft); font-size: var(--step--1); }

/* =====================================================================
   CTA FINAL — centrado
   ===================================================================== */
.final { background: var(--navy-800); color: var(--on-navy); padding-block: var(--space-section); position: relative; overflow: hidden; }
.final__center { position: relative; z-index: 2; max-width: 800px; margin-inline: auto; text-align: center; display: flex; flex-direction: column; align-items: center; }
.final__title { font-family: var(--f-display); font-weight: 700; font-size: var(--step-3); line-height: 1.1; letter-spacing: -.015em; color: var(--on-navy); margin: 1rem 0 1.1rem; max-width: 20ch; }
.final__sub { color: var(--on-navy-soft); max-width: 50ch; font-size: var(--step-1); }
.final__btns { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }
.final__notes { margin-top: 1.6rem; display: flex; flex-wrap: wrap; gap: 1.5rem; justify-content: center; }
.final__notes span { display: inline-flex; align-items: center; gap: .55rem; font-size: var(--step--1); color: var(--on-navy-faint); }

/* =====================================================================
   FOOTER
   ===================================================================== */
.foot { background: var(--navy-900); color: var(--on-navy-faint); padding-block: 2.5rem; border-top: 1px solid var(--border-navy); }
.foot__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
.foot__inner img { width: 150px; height: auto; opacity: .9; }
.foot__inner p { font-size: var(--step--1); }

/* =====================================================================
   FLOATING CTA (con isotipo)
   ===================================================================== */
.floatcta {
  position: fixed; bottom: 1.2rem; right: 1.2rem; z-index: 70;
  display: inline-flex; align-items: center; gap: .55rem;
  background: linear-gradient(135deg, var(--cta-from), var(--cta-to)); color: #fff;
  font-family: var(--f-display); font-weight: 700; font-size: var(--step--1);
  text-shadow: 0 1px 1px rgba(0,16,31,.35);
  padding: .8rem 1.25rem; border-radius: 999px; box-shadow: 0 16px 36px -14px rgba(0,6,13,.8);
  transform: translateY(160%); opacity: 0; transition: transform .45s var(--ease-spring), opacity .3s var(--ease), background-color .25s var(--ease);
}
.floatcta.is-visible { transform: translateY(0); opacity: 1; }
.floatcta.is-hidden { transform: translateY(160%); opacity: 0; pointer-events: none; }
.floatcta:hover { background: linear-gradient(135deg, #6cb016, #4f8a10); }
.floatcta__iso { width: 22px; height: auto; }

/* =====================================================================
   MODAL FORM
   ===================================================================== */
.modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 1.2rem; }
.modal[hidden] { display: none; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(0,4,9,.82); backdrop-filter: blur(6px); animation: fade .3s var(--ease); }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.modal { padding: 1.4rem; }
.modal__card {
  position: relative; z-index: 2; width: min(560px, 100%); max-height: 90vh; overflow-y: auto;
  background:
    radial-gradient(120% 60% at 50% -10%, rgba(126,193,29,.10), transparent 60%),
    linear-gradient(170deg, var(--navy-700), var(--navy-900));
  border: 1px solid var(--border-navy);
  border-radius: var(--radius); padding: clamp(2rem,1.5rem + 2.5vw,3rem); box-shadow: 0 40px 90px -30px rgba(0,4,9,.9);
  animation: pop .45s var(--ease-spring);
}
@keyframes pop { from { opacity: 0; transform: translateY(24px) scale(.97); } to { opacity: 1; transform: none; } }
.modal__close { position: absolute; top: 1rem; right: 1rem; width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.06); display: grid; place-items: center; transition: background-color .25s var(--ease); }
.modal__close:hover { background: rgba(255,255,255,.14); }
.modal__close svg { width: 20px; height: 20px; fill: none; stroke: var(--on-navy); stroke-width: 2; stroke-linecap: round; }
.modal__head { margin-bottom: 1.5rem; }
.modal__badge { display: inline-flex; align-items: center; gap: .5rem; font-family: var(--f-mono); font-size: .74rem; color: var(--green-bright); background: rgba(126,193,29,.14); padding: .35rem .75rem; border-radius: 999px; }
.modal__head h2 { font-family: var(--f-display); font-weight: 700; font-size: var(--step-2); color: var(--on-navy); margin: .8rem 0 .5rem; }
.modal__head p { color: var(--on-navy-soft); font-size: var(--step--1); }

.cform__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.1rem; }
.field { display: flex; flex-direction: column; gap: .4rem; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .82rem; font-weight: 600; color: var(--on-navy-soft); font-family: var(--f-display); }
.field input, .field select {
  width: 100%; padding: .85rem .95rem; border-radius: 10px; font-family: var(--f-body); font-size: var(--step-0);
  background: rgba(255,255,255,.05); border: 1px solid var(--border-navy); color: var(--on-navy);
  transition: border-color .25s var(--ease), background-color .25s var(--ease);
}
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='none' stroke='%23a7bacb' stroke-width='2'%3E%3Cpath d='M3 5l4 4 4-4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .9rem center; }
.field select option { background: #0a2438; color: var(--on-navy); }
.field select option:disabled { color: var(--on-navy-faint); }
.field input::placeholder { color: var(--on-navy-faint); }
.field input:focus, .field select:focus { outline: none; border-color: var(--green); background: rgba(126,193,29,.06); }
.field.is-invalid input, .field.is-invalid select { border-color: var(--alert); }
.field__err { font-size: .74rem; color: var(--alert-soft); min-height: 0; }
.field.is-invalid .field__err { min-height: 1em; }
.cform button[type=submit] { margin-top: 1.4rem; }
.cform button[disabled] { opacity: .7; cursor: progress; }
.cform__micro { margin-top: .9rem; font-size: .74rem; color: var(--on-navy-faint); text-align: center; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.cform__success { text-align: center; padding: 1.5rem 0; }
.cform__success-ico { width: 70px; height: 70px; border-radius: 50%; background: rgba(126,193,29,.15); display: grid; place-items: center; margin: 0 auto 1.3rem; animation: pop .5s var(--ease-spring); }
.cform__success-ico svg { width: 36px; height: 36px; fill: none; stroke: var(--green); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.cform__success h3 { font-family: var(--f-display); font-weight: 700; font-size: var(--step-2); color: var(--on-navy); }
.cform__success p { margin-top: .7rem; color: var(--on-navy-soft); font-size: var(--step--1); }

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 980px) {
  .hero__inner { grid-template-columns: 1fr; gap: 3rem; }
  .hero__title { max-width: 18ch; }
  .hero__panel { max-width: 440px; margin-inline: auto; width: 100%; }
  .agita__grid { grid-template-columns: 1fr; }
  .agita__left { position: static; }
  .gcards { grid-template-columns: 1fr; }
  .incl__grid { grid-template-columns: repeat(2, 1fr); }
  .proof__grid { grid-template-columns: 1fr; }
  .rescue__grid { grid-template-columns: 1fr; }
  .rescue__findings { position: static; }
  .cost__grid { grid-template-columns: 1fr; gap: 1.6rem; }
  .cost__intro { max-width: none; }
}
@media (max-width: 620px) {
  .hero__trust { gap: 1.2rem 1.6rem; }
  .hero__trust li { flex: 1 1 26%; }
  .hud { left: 0; bottom: -1.3rem; }
  .token--check { width: 50px; height: 50px; top: -24px; left: -16px; }
  .badge3d svg { width: 26px; height: 26px; }
  .token--doc { width: 50px; height: 64px; bottom: -16px; right: -12px; }
  .incl__grid { grid-template-columns: 1fr; }
  .proof__people { grid-template-columns: 1fr 1fr; }
  .cform__grid { grid-template-columns: 1fr; }
  .cplan { grid-template-columns: 1fr; gap: .5rem; }
  .cplan__read { grid-column: 1; }
  .compare__bar-val { font-size: 1.05rem; }
  .final__btns { flex-direction: column; width: 100%; }
  .final__btns .btn { width: 100%; }
  .foot__inner { flex-direction: column; align-items: flex-start; }
  .floatcta { left: 1rem; right: 1rem; justify-content: center; }
}

/* =====================================================================
   REDUCED MOTION
   ===================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .compare__bar-fill { transform: scaleX(1); }
  .ledger.is-armed .ledger__row[data-pop] .ledger__check { transform: scale(1); opacity: 1; }
  .cursor { display: none; }
}
