/* =========================================================
   Secure Business — landing premium (info.html)
   Paleta Blue Premium: tinta, azul real, cielo, papel.
   ========================================================= */
:root {
  --ink: #071634;
  --ink-2: #0b2150;
  --ink-3: #12306e;
  --royal: #2b5ce6;
  --royal-2: #1e48c4;
  --sky: #8cc4ff;
  --paper: #f3f6fb;
  --white: #ffffff;
  --line: #dce5f1;
  --text: #0e1b33;
  --muted: #55667f;
  --on-ink: #e8effb;
  --on-ink-muted: #a9b9d6;
  --ok: #14a372;
  --ok-soft: #e3f6ee;
  --amber: #c9821d;
  --amber-soft: #fbf0dc;

  --display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --body: "Geist", "Segoe UI", system-ui, sans-serif;

  --wrap: 1200px;
  --ease: cubic-bezier(.22, .8, .2, 1);
  --ease-spring: cubic-bezier(.34, 1.4, .5, 1);
  --shadow-lg: 0 40px 80px -30px rgba(4, 14, 40, .55), 0 18px 36px -18px rgba(4, 14, 40, .35);
  --shadow-md: 0 18px 40px -22px rgba(13, 33, 80, .35);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--body); font-size: 17px; line-height: 1.6; color: var(--text);
  background: var(--paper); -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--display); margin: 0; line-height: 1.08; letter-spacing: -.02em; font-weight: 700; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 6px; }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.anchor-alias { position: absolute; top: -80px; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--white); color: var(--ink); padding: 10px 16px; border-radius: 8px; font-weight: 600; }
.skip-link:focus { top: 12px; }

/* ---------- Botones ---------- */
.btn {
  --b-bg: transparent; --b-fg: currentColor;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 22px; border-radius: 12px; border: 1px solid transparent;
  background: var(--b-bg); color: var(--b-fg); font-weight: 600; font-size: 16px; line-height: 1.2;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .2s, border-color .2s;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn-sm { padding: 9px 16px; font-size: 15px; border-radius: 10px; }
.btn-lg { padding: 16px 26px; font-size: 17px; border-radius: 14px; }
.btn-primary {
  --b-bg: linear-gradient(180deg, #3a6cf4 0%, var(--royal) 55%, var(--royal-2) 100%); --b-fg: #fff;
  background: var(--b-bg);
  box-shadow: 0 1px 0 rgba(255,255,255,.35) inset, 0 10px 24px -10px rgba(43, 92, 230, .8);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 1px 0 rgba(255,255,255,.35) inset, 0 16px 30px -12px rgba(43, 92, 230, .9); }
.btn-glass { --b-fg: var(--on-ink); background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.18); backdrop-filter: blur(8px); }
.btn-glass:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.32); }
.btn-ghost { --b-fg: var(--text); border-color: var(--line); background: var(--white); }
.btn-outline { --b-fg: var(--ink); border-color: #c6d3e6; background: var(--white); }
.btn-outline:hover { border-color: var(--royal); color: var(--royal); }
.btn img { width: 20px; height: 20px; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; margin-top: 28px; font-weight: 600; color: var(--royal); text-decoration: none; }
.link-arrow::after { content: ""; width: 18px; height: 2px; background: currentColor; transition: width .3s var(--ease); }
.link-arrow:hover::after { width: 30px; }

.tag { display: inline-block; font-size: 14px; font-weight: 600; color: var(--royal); margin-bottom: 14px; }
.section-head { max-width: 760px; margin-bottom: 56px; }
.section-head h2 { font-size: clamp(32px, 4.2vw, 52px); }
.section-head p:not(.tag) { margin-top: 18px; color: var(--muted); font-size: 18px; max-width: 62ch; }
.lede { color: var(--muted); font-size: 18px; margin-top: 20px; max-width: 54ch; }

.chip { font-style: normal; font-size: 12.5px; font-weight: 600; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.chip-ok { background: var(--ok-soft); color: #0c7a54; }
.chip-wait { background: var(--amber-soft); color: #93600f; }
.chip-info { background: #e5edff; color: var(--royal-2); }

.checks { margin-top: 26px; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 30px; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 19px; height: 19px; border-radius: 50%;
  background: var(--ok-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5 6.8 11 12 5' fill='none' stroke='%230c7a54' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/13px no-repeat;
}

/* ---------- Navegación ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; color: var(--on-ink); transition: background-color .35s, box-shadow .35s, color .35s; }
.nav-inner { width: min(1280px, 100% - 32px); margin-inline: auto; height: 72px; display: flex; align-items: center; gap: 28px; }
.nav.is-scrolled { background: rgba(7, 22, 52, .82); backdrop-filter: saturate(160%) blur(14px); box-shadow: 0 1px 0 rgba(255,255,255,.06); }
.nav-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-weight: 700; font-size: 19px; letter-spacing: -.01em; }
.nav-brand img { width: 160px; height: auto; display: block; }
.nav-links { display: flex; align-items: center; gap: 4px; margin-left: 8px; }
.nav-links > a, .nav-menu-toggle { padding: 8px 12px; border-radius: 8px; text-decoration: none; font-size: 15px; font-weight: 500; color: var(--on-ink-muted); background: none; border: 0; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; transition: color .2s, background-color .2s; }
.nav-links > a:hover, .nav-menu-toggle:hover, .nav-links > a.is-active { color: #fff; background: rgba(255,255,255,.07); }
.nav-menu-toggle svg { width: 12px; transition: transform .25s; }
.nav-menu { position: relative; }
.nav-menu.open .nav-menu-toggle svg { transform: rotate(180deg); }
.nav-menu-panel {
  position: absolute; top: calc(100% + 10px); left: -10px; width: 300px; padding: 8px;
  background: #fff; color: var(--text); border-radius: 14px; box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .2s, transform .25s var(--ease), visibility .2s;
}
.nav-menu.open .nav-menu-panel, .nav-menu:focus-within .nav-menu-panel { opacity: 1; visibility: visible; transform: none; }
.nav-menu-panel a { display: grid; padding: 10px 12px; border-radius: 10px; text-decoration: none; }
.nav-menu-panel a:hover { background: var(--paper); }
.nav-menu-panel strong { font-size: 15px; }
.nav-menu-panel span { font-size: 13.5px; color: var(--muted); }
.nav-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.nav-login { text-decoration: none; font-size: 15px; font-weight: 500; padding: 8px 12px; color: var(--on-ink); }
.nav-login:hover { text-decoration: underline; text-underline-offset: 4px; }
.nav-burger { display: none; width: 44px; height: 44px; border-radius: 10px; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.06); cursor: pointer; position: relative; }
.nav-burger span { position: absolute; left: 12px; right: 12px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .3s var(--ease), top .3s; }
.nav-burger span:first-child { top: 16px; } .nav-burger span:last-child { top: 25px; }
.nav-burger[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.nav-burger[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }
.mobile-nav { background: var(--ink); padding: 8px 20px 24px; border-top: 1px solid rgba(255,255,255,.08); max-height: calc(100vh - 72px); overflow-y: auto; }
.mobile-nav a:not(.btn) { display: block; padding: 13px 4px; text-decoration: none; font-size: 17px; border-bottom: 1px solid rgba(255,255,255,.07); }
.mobile-nav-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
.mobile-nav-actions .btn-ghost { background: transparent; color: var(--on-ink); border-color: rgba(255,255,255,.2); }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden; color: var(--on-ink);
  background: radial-gradient(120% 90% at 85% 0%, #17398a 0%, var(--ink-2) 38%, var(--ink) 72%);
  padding: 148px 0 0;
}
.hero-light {
  position: absolute; z-index: -1; width: 1100px; height: 700px; right: -260px; top: -180px; pointer-events: none;
  background: conic-gradient(from 210deg at 50% 50%, rgba(140,196,255,0) 0deg, rgba(140,196,255,.28) 40deg, rgba(43,92,230,.0) 110deg);
  filter: blur(60px); transform: rotate(-12deg);
}
.hero-grid {
  position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(140,196,255,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(140,196,255,.07) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(80% 70% at 70% 30%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(80% 70% at 70% 30%, #000 20%, transparent 75%);
}
.hero-inner { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px; align-items: center; }
.hero-kicker { display: inline-flex; align-items: center; gap: 10px; font-size: 14.5px; font-weight: 500; color: var(--sky); padding: 6px 14px 6px 10px; border-radius: 999px; background: rgba(140,196,255,.08); border: 1px solid rgba(140,196,255,.2); }
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: #3fe0a5; box-shadow: 0 0 0 0 rgba(63,224,165,.6); animation: pulse 2.4s ease-out 3; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(63,224,165,0); } 100% { box-shadow: 0 0 0 0 rgba(63,224,165,0); } }
.hero-title {
  margin-top: 22px; font-size: clamp(42px, 5.6vw, 76px); line-height: .98; letter-spacing: -.035em; font-weight: 800; color: #fff;
  font-variation-settings: "opsz" 96;
}
.hero-sub { margin-top: 24px; font-size: 19px; line-height: 1.55; color: var(--on-ink-muted); max-width: 46ch; }
.hero-ctas { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero-proof { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 14.5px; color: var(--on-ink-muted); }
.hero-proof li { display: inline-flex; align-items: center; gap: 8px; }
.hero-proof li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--sky); }

.hero-stage { position: relative; perspective: 1800px; min-height: 520px; margin-right: -120px; }
.hero-screen {
  margin: 0; position: absolute; left: 0; top: 10px; width: 112%; border-radius: 16px; overflow: hidden; background: #0d1d40;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(140,196,255,.18);
  transform: rotateY(-16deg) rotateX(7deg) rotateZ(1deg); transform-origin: 0% 50%;
}
.window-bar { height: 34px; display: flex; align-items: center; gap: 7px; padding: 0 14px; background: #0f2149; border-bottom: 1px solid rgba(255,255,255,.06); }
.window-bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.18); }
.window-bar span { margin-left: 12px; font-size: 12px; color: var(--on-ink-muted); letter-spacing: .01em; }
.hero-screen img { width: 100%; }

.invoice-card {
  position: absolute; left: -36px; bottom: 6px; width: 330px; z-index: 3; color: var(--text);
  background: rgba(255,255,255,.97); border-radius: 18px; padding: 18px 18px 14px;
  box-shadow: 0 30px 60px -20px rgba(2,10,30,.7), 0 0 0 1px rgba(255,255,255,.6) inset;
}
.invoice-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.invoice-type { font-family: var(--display); font-weight: 700; font-size: 15px; white-space: nowrap; }
.invoice-num { font-size: 10.5px; flex: none; color: var(--muted); font-variant-numeric: tabular-nums; }
.invoice-client { margin-top: 4px; font-size: 13.5px; color: var(--muted); }
.invoice-lines { margin-top: 12px; border-top: 1px dashed var(--line); padding-top: 8px; }
.invoice-lines li { display: flex; justify-content: space-between; gap: 10px; font-size: 13.5px; padding: 4px 0; }
.invoice-lines b { font-weight: 600; font-variant-numeric: tabular-nums; }
.invoice-total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 8px; padding-top: 10px; border-top: 1px solid var(--line); }
.invoice-total span { font-weight: 600; }
.invoice-total strong { font-family: var(--display); font-size: 26px; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.invoice-status { position: relative; height: 38px; margin-top: 12px; }
.invoice-status > span { position: absolute; inset: 0; display: flex; align-items: center; gap: 9px; padding: 0 12px; border-radius: 10px; font-weight: 600; font-size: 14px; transition: opacity .45s var(--ease), transform .45s var(--ease); }
.status-sending { background: #eef3fb; color: var(--muted); opacity: 0; }
.status-ok { background: var(--ok-soft); color: #0c7a54; }
.status-ok svg { width: 18px; height: 18px; }
.spinner { width: 15px; height: 15px; border-radius: 50%; border: 2px solid #c9d6ea; border-top-color: var(--royal); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.invoice-foot { margin-top: 9px; font-size: 12px; color: var(--muted); }

.hero-phone { position: absolute; right: 150px; top: -40px; width: 168px; z-index: 2; transform: rotate(6deg); }
.hero-phone .phone-frame { border-radius: 28px; padding: 7px; }
.hero-phone img { border-radius: 22px; aspect-ratio: 430 / 760; object-fit: cover; object-position: top; }
.hero-demo-note { position: relative; z-index: 2; padding: 64px 0 22px; font-size: 13px; color: rgba(169,185,214,.75); }

/* Secuencia de entrada del hero (solo con JS y movimiento permitido) */
.js .hero [data-hero] { opacity: 0; transform: translateY(18px); }
.js .hero .hero-screen { opacity: 0; transform: rotateY(-28deg) rotateX(14deg) rotateZ(2deg) translate3d(80px, 40px, -120px); }
.js .hero .invoice-card { opacity: 0; transform: translate3d(-20px, 40px, 0) scale(.96); }
.js .hero .hero-phone { opacity: 0; transform: translate3d(30px, 60px, 0) rotate(12deg); }
.js .hero .invoice-lines li { opacity: 0; transform: translateX(-8px); }
.hero.is-in [data-hero] { opacity: 1; transform: none; transition: opacity .8s var(--ease), transform .9s var(--ease); }
.hero.is-in [data-hero="2"] { transition-delay: .08s; }
.hero.is-in [data-hero="3"] { transition-delay: .18s; }
.hero.is-in [data-hero="4"] { transition-delay: .28s; }
.hero.is-in [data-hero="5"] { transition-delay: .38s; }
.hero.is-in .hero-screen { opacity: 1; transform: rotateY(-16deg) rotateX(7deg) rotateZ(1deg); transition: opacity 1s var(--ease) .2s, transform 1.6s var(--ease) .2s; }
.hero.is-in .hero-phone { opacity: 1; transform: rotate(6deg); transition: opacity .9s var(--ease) .7s, transform 1.3s var(--ease-spring) .7s; }
.hero.is-in .invoice-card { opacity: 1; transform: none; transition: opacity .7s var(--ease) 1s, transform 1s var(--ease-spring) 1s; }
.hero.is-in .invoice-lines li { opacity: 1; transform: none; transition: opacity .4s, transform .5s var(--ease); }
.hero.is-in .invoice-lines li:nth-child(1) { transition-delay: 1.35s; }
.hero.is-in .invoice-lines li:nth-child(2) { transition-delay: 1.5s; }
.hero.is-in .invoice-lines li:nth-child(3) { transition-delay: 1.65s; }
.js .invoice-status.is-sending .status-sending { opacity: 1; }
.js .invoice-status.is-sending .status-ok { opacity: 0; transform: translateY(6px); }
.invoice-status.is-ok .status-ok { animation: pop .55s var(--ease-spring); }
@keyframes pop { 0% { transform: scale(.92); } 100% { transform: scale(1); } }

/* ---------- Clientes ---------- */
.clients { background: var(--ink); color: var(--on-ink-muted); padding: 26px 0 36px; border-top: 1px solid rgba(255,255,255,.06); }
.clients-inner { display: grid; grid-template-columns: 240px 1fr; gap: 32px; align-items: center; }
.clients-title { font-family: var(--body); font-size: 14.5px; font-weight: 500; line-height: 1.4; letter-spacing: 0; color: var(--on-ink-muted); }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; align-items: center; gap: 56px; width: max-content; }
.marquee-track a { flex: none; display: grid; place-items: center; height: 60px; opacity: .78; transition: opacity .25s; }
.marquee-track a:hover { opacity: 1; }
.marquee-track img { max-height: 46px; width: auto; filter: brightness(0) invert(1); }
.js .marquee.is-running .marquee-track { animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Problema ---------- */


/* ---------- App móvil ---------- */
.mobile {
  position: relative; isolation: isolate; overflow: hidden; color: var(--on-ink); padding: 140px 0 130px;
  background: radial-gradient(90% 80% at 75% 55%, #1b46a8 0%, #0d2b6b 35%, var(--ink) 75%);
}
.mobile-beam { position: absolute; z-index: -1; left: 55%; top: -10%; width: 520px; height: 130%; background: linear-gradient(180deg, rgba(140,196,255,.35), rgba(140,196,255,0) 70%); filter: blur(50px); transform: rotate(14deg); pointer-events: none; }
.mobile-inner { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 48px; align-items: center; }
.mobile .tag { color: var(--sky); }
.mobile-title { font-size: clamp(46px, 6.4vw, 92px); line-height: .95; letter-spacing: -.04em; font-weight: 800; color: #fff; }
.mobile-lede { margin-top: 24px; font-size: 19px; color: var(--on-ink-muted); max-width: 46ch; }
.stores { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.store { display: inline-flex; align-items: center; height: 55px; border-radius: 12px; transition: transform .25s var(--ease); }
.store-apple:hover { transform: translateY(-2px); }
.store-apple img { height: 55px; width: auto; }
.store-google { gap: 10px; padding: 0 18px 0 14px; border: 1px solid rgba(255,255,255,.25); color: #fff; background: rgba(0,0,0,.35); text-decoration: none; }
.store-google svg { width: 26px; height: 26px; }
.store-google > span { display: grid; line-height: 1.15; font-weight: 600; font-size: 18px; }
.store-google small { font-size: 11px; font-weight: 500; color: var(--on-ink-muted); }

.phone-frame {
  display: block; padding: 9px; border: 0; cursor: zoom-in; border-radius: 40px;
  background: linear-gradient(145deg, #2a3a5e, #0c1530 45%, #1d2b4d);
  box-shadow: 0 0 0 1px rgba(255,255,255,.12) inset, 0 50px 80px -30px rgba(0,0,0,.7);
}
.phone-frame img { border-radius: 32px; width: 100%; aspect-ratio: 9 / 19.5; object-fit: cover; object-position: top; background: #fff; }

/* ---------- Módulos ---------- */
.module { padding: 130px 0; }
.module h2 { font-size: clamp(32px, 4vw, 50px); color: var(--ink); }
.module-split { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.module-fe { background: var(--white); }
.module-acc { background: var(--paper); }
.module-pay { background: var(--white); }

.doc-stack { position: relative; display: grid; gap: 12px; padding: 34px; border-radius: 22px; background: linear-gradient(160deg, #eef3fb, #dfe8f6); }
.doc { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 16px 18px; border-radius: 14px; background: #fff; box-shadow: 0 1px 0 var(--line), var(--shadow-md); }
.doc-code { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-family: var(--display); font-weight: 800; font-size: 15px; color: #fff; background: linear-gradient(150deg, var(--royal), var(--ink-3)); }
.doc strong { display: block; font-size: 16px; }
.doc small { color: var(--muted); font-size: 13.5px; }
.doc-2 { margin-left: 22px; } .doc-3 { margin-left: 44px; } .doc-4 { margin-left: 22px; }
.doc:hover { transform: translateX(-4px); }
.doc { transition: transform .35s var(--ease); }
.js .doc-stack.reveal .doc { opacity: 0; transform: translateY(30px) rotate(-1.5deg); }
.js .doc-stack.reveal.in-view .doc, .doc-stack.in-view .doc { opacity: 1; transform: none; transition: opacity .6s var(--ease), transform .8s var(--ease-spring); }
.doc-stack.in-view .doc-2 { transition-delay: .12s; } .doc-stack.in-view .doc-3 { transition-delay: .24s; } .doc-stack.in-view .doc-4 { transition-delay: .36s; }

.pipeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; counter-reset: none; }
.pipeline::before { content: ""; position: absolute; top: 21px; left: 22px; right: 22px; height: 2px; background: linear-gradient(90deg, var(--royal), var(--sky)); transform-origin: left; }
.js .pipeline:not(.is-in)::before { transform: scaleX(0); }
.pipeline.is-in::before { transform: scaleX(1); transition: transform 1.4s var(--ease); }
.pipeline li { position: relative; }
.pipe-step { position: relative; z-index: 1; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-family: var(--display); font-weight: 800; color: #fff; background: var(--royal); box-shadow: 0 0 0 6px var(--paper); }
.pipeline h3 { margin-top: 18px; font-size: 24px; }
.pipeline p { margin-top: 6px; color: var(--muted); font-size: 16px; }
.acc-showcase { margin-top: 70px; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 48px; align-items: center; }
.acc-shot { margin: 0; border-radius: 18px; overflow: hidden; box-shadow: 0 50px 90px -40px rgba(10,30,80,.5), 0 0 0 1px var(--line); cursor: zoom-in; }
.js .acc-shot.reveal { opacity: 0; transform: perspective(1400px) rotateX(10deg) translateY(40px); transform-origin: 50% 100%; }
.acc-shot.in-view { opacity: 1 !important; transform: none !important; transition: opacity .8s var(--ease), transform 1.2s var(--ease); }
.acc-facts { display: grid; gap: 0; }
.acc-facts li { padding: 16px 0; border-bottom: 1px solid var(--line); display: grid; color: var(--muted); font-size: 16px; }
.acc-facts strong { color: var(--ink); font-family: var(--display); font-size: 19px; }

.module-split--rev { grid-template-columns: 1fr 1fr; }
.payroll-run { border-radius: 22px; padding: 26px; color: var(--on-ink); background: linear-gradient(160deg, var(--ink-2), var(--ink)); box-shadow: var(--shadow-lg); }
.run-head { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 14px; border-bottom: 1px solid rgba(255,255,255,.1); }
.run-head strong { font-family: var(--display); font-size: 20px; color: #fff; }
.run-head span { font-size: 14px; color: var(--on-ink-muted); }
.payroll-run ul li { display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto auto; column-gap: 12px; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.07); }
.payroll-run b { font-weight: 600; color: #fff; }
.payroll-run li span { grid-row: 2; font-size: 14px; color: var(--on-ink-muted); }
.payroll-run .chip { grid-row: 1 / 3; grid-column: 2; align-self: center; background: rgba(20,163,114,.18); color: #5ee3b0; }
.run-bar { height: 6px; margin-top: 18px; border-radius: 6px; background: rgba(255,255,255,.08); overflow: hidden; }
.run-bar i { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--royal), #3fe0a5); transform-origin: left; }
.js .payroll-run.reveal .chip { opacity: 0; transform: scale(.7); }
.js .payroll-run.reveal .run-bar i { transform: scaleX(0); }
.js .payroll-run.reveal.in-view .run-bar i, .payroll-run.in-view .run-bar i { transform: scaleX(1); transition: transform 2s var(--ease) .2s; }
.js .payroll-run.reveal.in-view .chip, .payroll-run.in-view .chip { opacity: 1; transform: none; transition: opacity .3s, transform .5s var(--ease-spring); }
.payroll-run.in-view li:nth-child(1) .chip { transition-delay: .5s; }
.payroll-run.in-view li:nth-child(2) .chip { transition-delay: .85s; }
.payroll-run.in-view li:nth-child(3) .chip { transition-delay: 1.2s; }
.payroll-run.in-view li:nth-child(4) .chip { transition-delay: 1.55s; }
.payroll-run.in-view li:nth-child(5) .chip { transition-delay: 1.9s; }


/* ---------- QuickBooks ---------- */
.qbo { padding: 120px 0; background: var(--white); }
.qbo-logo { width: 196px; height: auto; margin-bottom: 26px; padding: 12px 18px; border-radius: 12px; background: var(--ink); }
.flows { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.flows--two { grid-template-columns: repeat(2, 1fr); max-width: 900px; }
.flow { padding: 28px; border-radius: 18px; background: var(--paper); border: 1px solid var(--line); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.flow:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.flow-line { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; font-size: 13.5px; font-weight: 600; color: var(--ink); margin-bottom: 22px; }
.flow-line span { padding: 6px 11px; border-radius: 8px; background: #fff; border: 1px solid var(--line); }
.flow-line svg { width: 100%; height: 12px; overflow: visible; }
.flow-line path { stroke: var(--royal); stroke-width: 2; fill: none; stroke-dasharray: 4 6; }
.js .flow.reveal .flow-line path { stroke-dashoffset: 120; }
.flow.in-view .flow-line path { animation: dash 1.6s var(--ease) forwards; }
@keyframes dash { from { stroke-dashoffset: 120; } to { stroke-dashoffset: 0; } }
.flow h3 { font-size: 22px; }
.flow p { margin-top: 8px; color: var(--muted); font-size: 16px; }

/* ---------- Bento ---------- */

/* ---------- Precios ---------- */
.pricing { padding: 120px 0; background: var(--paper); }
.price-tabs { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 5px; border-radius: 14px; background: #e3eaf5; margin-bottom: 34px; }
.price-tab { border: 0; background: none; padding: 10px 18px; border-radius: 10px; font-weight: 600; font-size: 15px; color: var(--muted); cursor: pointer; transition: background-color .25s, color .25s, box-shadow .25s; }
.price-tab:hover { color: var(--ink); }
.price-tab.active { background: #fff; color: var(--ink); box-shadow: 0 4px 12px -6px rgba(13,33,80,.35); }
.price-panel { animation: panel-in .45s var(--ease); }
@keyframes panel-in { from { opacity: 0; transform: translateY(8px); } }
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.price-grid--many { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.price-card { position: relative; display: flex; flex-direction: column; padding: 30px; border-radius: 20px; background: #fff; border: 1px solid var(--line); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.price-card.featured { background: linear-gradient(165deg, var(--ink-3), var(--ink)); color: var(--on-ink); border-color: transparent; box-shadow: var(--shadow-lg); }
.price-card.featured h3, .price-card.featured .price { color: #fff; }
.price-card.featured .price-note, .price-card.featured small { color: var(--on-ink-muted); }
.badge { align-self: flex-start; font-size: 12.5px; font-weight: 600; padding: 5px 11px; border-radius: 999px; background: #e5edff; color: var(--royal-2); margin-bottom: 16px; }
.featured .badge { background: rgba(140,196,255,.18); color: var(--sky); }
.price-card h3 { font-size: 24px; color: var(--ink); }
.price { margin-top: 12px; font-family: var(--display); font-size: 38px; font-weight: 800; letter-spacing: -.03em; color: var(--ink); font-variant-numeric: tabular-nums; }
.price small { font-family: var(--body); font-size: 15px; font-weight: 500; letter-spacing: 0; color: var(--muted); }
.price-note { margin-top: 6px; color: var(--muted); font-size: 15.5px; }
.price-features { margin: 22px 0 26px; display: grid; gap: 9px; font-size: 15.5px; }
.price-features li { position: relative; padding-left: 26px; }
.price-features li::before { content: ""; position: absolute; left: 0; top: 7px; width: 14px; height: 9px; border-left: 2px solid var(--ok); border-bottom: 2px solid var(--ok); transform: rotate(-45deg); }
.featured .price-features li::before { border-color: #5ee3b0; }
.price-action { margin-top: auto; }
.price-action .btn { width: 100%; }
.pricing-note { margin-top: 20px; color: var(--muted); font-size: 15.5px; }
.bundle-price { max-width: 820px; padding: 38px; border-radius: 20px; background: #fff; border: 1px solid var(--line); }
.bundle-price h3 { font-size: 30px; color: var(--ink); }
.bundle-price > p { margin: 12px 0 24px; color: var(--muted); }
.payroll-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-bottom: 8px; }
.payroll-detail h4 { font-size: 18px; color: var(--ink); }
.payroll-detail .price-features { margin: 14px 0 0; }
.bundle-price .btn { margin-top: 22px; }

/* ---------- FAQ ---------- */
.faq { padding: 120px 0; background: var(--white); }
.faq-inner { display: grid; grid-template-columns: 1fr 1.5fr; gap: 70px; }
.faq-head h2 { font-size: clamp(32px, 4vw, 48px); color: var(--ink); }
.faq-head p { margin-top: 16px; color: var(--muted); }
.faq-head a { color: var(--royal); font-weight: 600; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; padding: 22px 0; font-family: var(--display); font-weight: 700; font-size: 20px; color: var(--ink); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: ""; flex: none; width: 24px; height: 24px; margin-top: 2px; border-radius: 50%; background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 3v10M3 8h10' stroke='%232b5ce6' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") center/12px no-repeat; transition: transform .3s var(--ease); }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { padding: 0 40px 22px 0; color: var(--muted); }
.faq-list details[open] p { animation: panel-in .35s var(--ease); }

/* ---------- CTA ---------- */
.cta { position: relative; isolation: isolate; overflow: hidden; padding: 140px 0; text-align: center; color: var(--on-ink); background: radial-gradient(70% 90% at 50% 100%, #1d4bb5 0%, var(--ink-2) 45%, var(--ink) 80%); }
.cta-light { position: absolute; z-index: -1; left: 50%; bottom: -260px; width: 900px; height: 500px; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(rgba(140,196,255,.45), transparent 65%); filter: blur(30px); }
.cta h2 { font-size: clamp(36px, 5vw, 66px); line-height: 1; letter-spacing: -.035em; color: #fff; max-width: 17ch; margin-inline: auto; }
.cta-inner > p { margin: 22px auto 0; font-size: 19px; color: var(--on-ink-muted); max-width: 52ch; }
.cta-actions { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.cta-mail { margin-top: 24px !important; font-size: 15.5px !important; }
.cta-mail a { color: #fff; }

/* ---------- Footer ---------- */
.footer { background: #050f26; color: var(--on-ink-muted); padding: 70px 0 30px; font-size: 15.5px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; }
.footer-brand img { width: 180px; height: auto; filter: brightness(0) invert(1); opacity: .92; }
.footer-brand p { margin-top: 16px; max-width: 36ch; }
.footer h4 { font-family: var(--body); font-size: 14.5px; font-weight: 600; color: #fff; letter-spacing: 0; margin-bottom: 14px; }
.footer nav a { display: block; padding: 5px 0; text-decoration: none; }
.footer nav a:hover { color: #fff; }
.footer-bottom { margin-top: 50px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.08); display: flex; justify-content: space-between; gap: 20px; font-size: 14px; }
.footer-bottom a { text-decoration: none; }
.footer-socials { display: flex; gap: 10px; margin-top: 20px; }
.footer-social-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: rgba(255,255,255,.06); transition: background-color .2s; }
.footer-social-icon:hover { background: rgba(255,255,255,.14); }
.footer-social-icon img { width: 20px; height: 20px; filter: brightness(0) invert(1); }

/* ---------- Visor de imágenes ---------- */
.viewer { border: 0; padding: 0; background: transparent; max-width: min(1400px, 94vw); max-height: 92vh; overflow: visible; }
.viewer::backdrop { background: rgba(3, 10, 28, .82); backdrop-filter: blur(6px); }
.viewer[open] { animation: viewer-in .35s var(--ease); }
@keyframes viewer-in { from { opacity: 0; transform: scale(.96); } }
.viewer img { max-height: 88vh; width: auto; border-radius: 14px; box-shadow: var(--shadow-lg); background: #fff; }
.viewer-close { position: absolute; top: -18px; right: -18px; width: 42px; height: 42px; border-radius: 50%; border: 0; background: #fff; color: var(--ink); font-size: 24px; line-height: 1; cursor: pointer; box-shadow: var(--shadow-md); }
body.no-scroll { overflow: hidden; }

/* ---------- Reveal genérico (variado por data-anim) ---------- */
.js .reveal:not([data-anim]) { opacity: 0; transform: translateY(22px); }
.js .reveal[data-anim="rise"] { opacity: 0; transform: translateY(36px) scale(.98); }
.js .reveal[data-anim="slide"] { opacity: 0; transform: translateX(-26px); }
.js .reveal[data-anim="flow"] { opacity: 0; transform: translateY(24px); }
.reveal.in-view:not([data-anim="stack"]):not([data-anim="run"]):not([data-anim="sort"]):not([data-anim="tilt"]):not([data-anim="strike"]) { opacity: 1; transform: none; transition: opacity .8s var(--ease) var(--d, 0s), transform .9s var(--ease) var(--d, 0s); }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .nav-links { display: none; }
  .nav-burger { display: block; color: inherit; }
  .hero-stage { margin-right: -40px; }
  .hero-phone { right: 60px; }
}
@media (max-width: 999px) {
  body { font-size: 16.5px; }
  .hero { padding-top: 120px; }
  .hero-inner { grid-template-columns: 1fr; gap: 56px; }
  .hero-stage { margin-right: 0; min-height: 0; aspect-ratio: 16 / 12; }
  .hero-screen { width: 100%; transform: none !important; position: relative; top: 0; }
  .js .hero .hero-screen { transform: translateY(40px) !important; }
  .hero.is-in .hero-screen { transform: none !important; }
  .invoice-card { left: 50%; margin-left: -150px; width: 300px; bottom: -40px; }
  .hero-phone { right: -6px; top: auto; bottom: -30px; width: 120px; }
  .hero-demo-note { padding-top: 90px; }
  .clients-inner { grid-template-columns: 1fr; gap: 12px; }
  .mobile-inner { grid-template-columns: 1fr; }
  .module-split, .module-split--rev { grid-template-columns: 1fr; gap: 56px; }
  .module-pay .module-copy { order: -1; }
  .pipeline { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .pipeline::before { display: none; }
  .acc-showcase { grid-template-columns: 1fr; }
  .flows { grid-template-columns: 1fr; }
  .price-grid { grid-template-columns: 1fr; max-width: 520px; }
  .faq-inner { grid-template-columns: 1fr; gap: 30px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .wrap { width: calc(100% - 32px); }
  .nav-login, .nav-actions > .btn { display: none; }
  .hero-title { font-size: clamp(38px, 11vw, 52px); }
  .hero-sub { font-size: 17.5px; }
  .hero-ctas .btn { width: 100%; }
  .hero-stage { aspect-ratio: auto; padding-bottom: 210px; }
  .invoice-card { width: calc(100% - 40px); left: 20px; margin-left: 0; bottom: 0; }
  .hero-phone { display: none; }
  .hero-demo-note { padding-top: 32px; }
  .mobile, .cta { padding: 96px 0; }
  .doc-stack { padding: 18px; }
  .doc-2, .doc-3, .doc-4 { margin-left: 0; }
  .doc { grid-template-columns: auto 1fr; }
  .doc .chip { grid-column: 2; justify-self: start; }
  .pipeline { grid-template-columns: 1fr; }
  .price-tabs { display: flex; overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; }
  .price-tab { flex: none; }
  .payroll-detail { grid-template-columns: 1fr; }
  .bundle-price { padding: 26px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
  .cta-actions .btn { width: 100%; }
}

/* ---------- Movimiento reducido ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .js .reveal, .js .hero [data-hero], .js .hero .hero-screen, .js .hero .invoice-card, .js .hero .hero-phone, .js .hero .invoice-lines li { opacity: 1 !important; }
  .spinner { animation: none; }
}

/* =========================================================
   Tema claro — paleta de Secure Business Mobile
   ========================================================= */
:root {
  --ink: #0d2947; --ink-2: #16314e; --ink-3: #29425d;
  --royal: #3479bd; --royal-2: #176bb7; --sky: #81b9ee;
  --paper: #f8fbfe; --soft: #eff6fd; --line: #dfeaf5;
  --text: #0d2947; --muted: #607c9c;
  --on-ink: #0d2947; --on-ink-muted: #607c9c;
  --ok: #1d8a5d; --ok-soft: #e3f4ec;
  --shadow-lg: 0 40px 80px -36px rgba(13, 41, 71, .28), 0 14px 30px -18px rgba(13, 41, 71, .16);
  --shadow-md: 0 16px 36px -22px rgba(13, 41, 71, .22);
}
.btn-primary { background: linear-gradient(180deg, #4189cf 0%, var(--royal) 55%, #2b6aa8 100%); box-shadow: 0 1px 0 rgba(255,255,255,.3) inset, 0 10px 22px -10px rgba(52,121,189,.6); }
.btn-primary:hover { box-shadow: 0 1px 0 rgba(255,255,255,.3) inset, 0 16px 28px -12px rgba(52,121,189,.7); }
.btn-glass { --b-fg: var(--ink); background: #fff; border-color: var(--line); backdrop-filter: none; }
.btn-glass:hover { background: var(--soft); border-color: #c5daef; }
.tag, .mobile .tag, .link-arrow { color: var(--royal-2); }
:focus-visible { outline-color: var(--royal); }

/* Navegación */
.nav { color: var(--ink); }
.nav.is-scrolled { background: rgba(248, 251, 254, .9); box-shadow: 0 1px 0 var(--line); }
.nav-links > a, .nav-menu-toggle { color: var(--muted); }
.nav-links > a:hover, .nav-menu-toggle:hover, .nav-links > a.is-active { color: var(--ink); background: var(--soft); }
.nav-login { color: var(--ink); }
.nav-burger { border-color: var(--line); background: #fff; }
.mobile-nav { background: #fff; border-top-color: var(--line); box-shadow: var(--shadow-md); }
.mobile-nav a:not(.btn) { border-bottom-color: var(--line); }
.mobile-nav-actions .btn-ghost { color: var(--ink); border-color: var(--line); background: #fff; }

/* Hero */
.hero { color: var(--ink); background: linear-gradient(180deg, #e9f3fd 0%, #f2f8fe 55%, var(--paper) 100%); }
.hero-light { background: radial-gradient(closest-side, rgba(129,185,238,.45), rgba(129,185,238,0)); filter: blur(40px); transform: none; }
.hero-grid { background-image: linear-gradient(rgba(52,121,189,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(52,121,189,.07) 1px, transparent 1px); }
.hero-kicker { color: var(--royal-2); background: #fff; border-color: var(--line); }
.hero-title { color: var(--ink); }
.hero-sub, .hero-proof { color: var(--muted); }
.hero-proof li::before { background: var(--royal); }
.hero-screen { background: #fff; box-shadow: var(--shadow-lg), 0 0 0 1px var(--line); }
.window-bar, .tour-frame .window-bar { background: #eef4fb; border-bottom-color: var(--line); }
.window-bar i { background: #c9d8ea; }
.window-bar span { color: var(--muted); }
.invoice-card { background: #fff; box-shadow: 0 30px 60px -24px rgba(13,41,71,.35), 0 0 0 1px var(--line); }
.hero-demo-note { color: var(--muted); }

/* Clientes */
.clients { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.clients-title { color: var(--muted); }
.marquee-track img { filter: grayscale(1); opacity: .75; }
.marquee-track a:hover img { filter: none; opacity: 1; }

/* App móvil */
.mobile { color: var(--ink); background: linear-gradient(180deg, #e6f1fc 0%, #eff6fd 50%, var(--paper) 100%); }
.mobile-beam { background: radial-gradient(closest-side, rgba(129,185,238,.5), rgba(129,185,238,0)); transform: none; left: 45%; top: 5%; width: 760px; height: 90%; }
.mobile-title { color: var(--ink); }
.mobile-lede, .mobile-features span { color: var(--muted); }
.store-google { background: #000; border-color: #000; }
.store-google small { color: #c9d3df; }
.phone-frame { background: linear-gradient(145deg, #3a4a66, #16233d 50%, #2c3b58); box-shadow: 0 0 0 1px rgba(255,255,255,.15) inset, 0 40px 70px -30px rgba(13,41,71,.45); }

/* Módulos */
.doc-stack { background: var(--soft); }
.doc { box-shadow: 0 0 0 1px var(--line), var(--shadow-md); }
.doc-code { background: #e3effb; color: var(--royal-2); }
.payroll-run { color: var(--ink); background: #fff; box-shadow: var(--shadow-lg), 0 0 0 1px var(--line); }
.run-head { border-bottom-color: var(--line); }
.run-head strong, .payroll-run b { color: var(--ink); }
.run-head span, .payroll-run li span { color: var(--muted); }
.payroll-run ul li { border-bottom-color: var(--line); }
.payroll-run .chip { background: var(--ok-soft); color: var(--ok); }
.run-bar { background: var(--soft); }
.run-bar i { background: linear-gradient(90deg, var(--royal), #2fb37f); }
.pipe-step { background: var(--royal); }

/* QuickBooks */
.qbo-logo { background: var(--royal-2); }

/* Diferenciadores */

/* Precios */
.price-tabs { background: #e6eff9; }
.price-card.featured { background: linear-gradient(165deg, #3f87cc, var(--royal-2)); color: #fff; box-shadow: 0 30px 60px -30px rgba(23,107,183,.6); }
.price-card.featured .price-note, .price-card.featured small { color: #d8e8f8; }
.featured .badge { background: rgba(255,255,255,.2); color: #fff; }
.featured .price-features li::before { border-color: #fff; }
.price-card.featured .btn-primary { background: #fff; color: var(--royal-2); box-shadow: none; }
.badge { background: #e3effb; color: var(--royal-2); }

/* CTA */
.cta { color: var(--ink); background: linear-gradient(180deg, var(--paper) 0%, #e6f1fc 100%); }
.cta-light { background: radial-gradient(rgba(129,185,238,.5), transparent 65%); }
.cta h2 { color: var(--ink); }
.cta-inner > p { color: var(--muted); }
.cta-mail a { color: var(--royal-2); }

/* Footer */
.footer { background: #fff; color: var(--muted); border-top: 1px solid var(--line); }
.footer-brand img { filter: none; opacity: 1; }
.footer h4 { color: var(--ink); }
.footer nav a:hover { color: var(--royal-2); }
.footer-bottom { border-top-color: var(--line); }
.footer-social-icon { background: var(--soft); }
.footer-social-icon:hover { background: #e3effb; }
.footer-social-icon img { filter: none; }

.viewer::backdrop { background: rgba(13, 41, 71, .55); }


/* =========================================================
   Carrusel de producto
   ========================================================= */
.tour { position: relative; isolation: isolate; overflow: hidden; padding: 130px 0 120px; background: linear-gradient(180deg, var(--paper) 0%, #e8f2fc 45%, var(--paper) 100%); }
.tour-glow { position: absolute; z-index: -1; left: 50%; top: 38%; width: 1200px; height: 700px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(129,185,238,.45), rgba(129,185,238,0)); filter: blur(30px); pointer-events: none; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center p:not(.tag) { margin-inline: auto; }

.showcase { position: relative; }
.showcase-tabs { position: relative; display: flex; justify-content: center; gap: 6px; width: fit-content; max-width: 100%; margin: 0 auto 34px; padding: 6px; border-radius: 16px; background: #fff; box-shadow: 0 0 0 1px var(--line), var(--shadow-md); overflow-x: auto; scrollbar-width: none; }
.showcase-tabs::-webkit-scrollbar { display: none; }
.showcase-tab { position: relative; overflow: hidden; flex: none; border: 0; background: none; cursor: pointer; padding: 11px 20px; border-radius: 11px; font-weight: 600; font-size: 15.5px; color: var(--muted); transition: color .25s, background-color .25s; }
.showcase-tab:hover { color: var(--ink); background: var(--soft); }
.showcase-tab.is-active { color: #fff; background: var(--royal); box-shadow: 0 8px 18px -10px rgba(52,121,189,.9); }
.tab-fill { position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: rgba(255,255,255,.75); transform: scaleX(0); transform-origin: left; }
.showcase.is-playing .showcase-tab.is-active .tab-fill { animation: tabfill var(--sc-dur, 7s) linear forwards; }
@keyframes tabfill { to { transform: scaleX(1); } }

.showcase-track { display: grid; }
.slide { grid-area: 1 / 1; display: grid; grid-template-columns: minmax(0, 7.4fr) minmax(0, 3.6fr); gap: 56px; align-items: center; }
.slide-shot { position: relative; margin: 0; border-radius: 18px; background: #fff; padding-top: 34px; box-shadow: 0 60px 100px -50px rgba(13,41,71,.45), 0 0 0 1px var(--line); cursor: zoom-in; }
.slide-shot::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 34px; border-radius: 18px 18px 0 0; border-bottom: 1px solid var(--line);
  background: radial-gradient(circle at 20px 17px, #f1a7a1 5px, transparent 5.5px), radial-gradient(circle at 38px 17px, #f3d38d 5px, transparent 5.5px), radial-gradient(circle at 56px 17px, #9fd8b4 5px, transparent 5.5px), #eef4fb; }
.slide-shot img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; border-radius: 0 0 18px 18px; }
.slide-callout { position: absolute; left: -22px; bottom: 34px; display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 14px; background: #fff; font-weight: 600; font-size: 14.5px; color: var(--ink); box-shadow: 0 24px 44px -20px rgba(13,41,71,.45), 0 0 0 1px var(--line); }
.slide-callout i { width: 26px; height: 26px; border-radius: 50%; flex: none; background: var(--ok) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5 6.8 11 12 5' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; }
.callout-info i { background-color: var(--royal); }
.callout-wait i { background: #e7a23a url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Ccircle cx='8' cy='8' r='5' fill='none' stroke='white' stroke-width='1.8'/%3E%3Cpath d='M8 5.5V8l1.8 1.2' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") center/16px no-repeat; }
.slide-text h3 { font-size: clamp(26px, 2.6vw, 34px); color: var(--ink); }
.slide-text p { margin-top: 14px; color: var(--muted); font-size: 17.5px; }
.slide-text .checks { margin-top: 22px; }

/* Con JS: una diapositiva a la vez, con transición */
.js .showcase .slide { visibility: hidden; }
.js .showcase .slide.is-active { visibility: visible; }
.js .showcase .slide .slide-shot { opacity: 0; transform: translateX(var(--from, 60px)) scale(.97) rotate(var(--rot, 1deg)); transition: opacity .55s var(--ease), transform .8s var(--ease); }
.js .showcase .slide .slide-callout { opacity: 0; transform: translateY(14px) scale(.95); transition: opacity .4s var(--ease), transform .6s var(--ease-spring); }
.js .showcase .slide .slide-text > * { opacity: 0; transform: translateY(16px); transition: opacity .45s var(--ease), transform .6s var(--ease); }
.js .showcase .slide.is-active .slide-shot { opacity: 1; transform: none; }
.js .showcase .slide.is-active .slide-callout { opacity: 1; transform: none; transition-delay: .45s; }
.js .showcase .slide.is-active .slide-text > * { opacity: 1; transform: none; }
.js .showcase .slide.is-active .slide-text > :nth-child(1) { transition-delay: .12s; }
.js .showcase .slide.is-active .slide-text > :nth-child(2) { transition-delay: .2s; }
.js .showcase .slide.is-active .slide-text > :nth-child(3) { transition-delay: .28s; }
.js .showcase.go-back .slide { --from: -60px; --rot: -1deg; }
.slide-shot:hover img { filter: saturate(1.05); }

/* Sin JS: todas visibles, una debajo de otra */
html:not(.js) .showcase-tabs, html:not(.js) .showcase-nav { display: none; }
html:not(.js) .showcase-track { gap: 80px; }
html:not(.js) .slide { grid-area: auto; }

.showcase-nav { display: flex; align-items: center; gap: 16px; margin-top: 30px; }
.sc-arrow { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; box-shadow: var(--shadow-md); transition: transform .25s var(--ease), background-color .2s, color .2s; }
.sc-arrow svg { width: 20px; height: 20px; }
.sc-arrow:hover { background: var(--royal); color: #fff; border-color: var(--royal); transform: translateY(-2px); }
.sc-count { font-size: 15px; color: var(--muted); font-variant-numeric: tabular-nums; }
.sc-count b { color: var(--ink); }

@media (max-width: 999px) {
  .slide { grid-template-columns: 1fr; gap: 30px; }
  .slide-callout { left: 12px; bottom: 12px; }
  .showcase-tabs { justify-content: flex-start; width: 100%; }
  .flows--two { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .tour { padding: 90px 0; }
  .showcase-tab { padding: 10px 14px; font-size: 14.5px; }
  .slide-shot { padding-top: 26px; border-radius: 14px; }
  .slide-shot::before { height: 26px; border-radius: 14px 14px 0 0; }
  .slide-callout { font-size: 13px; padding: 9px 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .js .showcase .slide .slide-shot, .js .showcase .slide .slide-callout, .js .showcase .slide .slide-text > * { opacity: 1; transform: none; }
}

.js .showcase .slide { transition: visibility 0s linear .55s; }
.js .showcase .slide.is-active { transition-delay: 0s; }

/* ---- Capturas completas en el carrusel ---- */
.slide-shot img { aspect-ratio: auto; height: auto; object-fit: initial; }
.slide { align-items: start; }
.slide-text { padding-top: 40px; }

/* ---- Clientes: a color y destacados ---- */
.clients { padding: 70px 0 64px; background: #fff; }
.clients-inner { display: block; text-align: center; }
.clients-title { font-family: var(--display); font-size: clamp(24px, 2.6vw, 32px); font-weight: 700; letter-spacing: -.02em; color: var(--ink); margin-bottom: 34px; }
.marquee { padding: 14px 0 22px; }
.marquee-track { gap: 22px; }
.marquee-track a { height: 104px; width: 200px; padding: 18px 24px; border-radius: 18px; background: #fff; opacity: 1; box-shadow: 0 0 0 1px var(--line), 0 14px 30px -20px rgba(13,41,71,.35); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.marquee-track a:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px #c5daef, 0 20px 36px -18px rgba(52,121,189,.45); }
.marquee-track img, .marquee-track a:hover img { filter: none; opacity: 1; max-height: 64px; max-width: 100%; width: auto; object-fit: contain; }
@media (max-width: 600px) {
  .clients { padding: 52px 0 46px; }
  .marquee-track a { height: 86px; width: 160px; padding: 14px 18px; }
  .marquee-track img { max-height: 52px; }
}


/* =========================================================
   V3 — movimiento que demuestra, CTA y conexiones
   ========================================================= */

/* ---------- CTA ---------- */
.btn-cta .btn-arrow { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.btn-cta:hover .btn-arrow { transform: translateX(4px); }
.hero-assure { margin-top: 18px; font-size: 15px; color: var(--muted); }

/* ---------- Hero: factura que viaja ---------- */
.invoice-steps { display: flex; gap: 6px; margin-top: 12px; }
.invoice-steps li { flex: 1; padding-top: 8px; border-top: 3px solid var(--line); font-size: 12px; font-weight: 600; color: var(--muted); transition: border-color .4s var(--ease), color .4s; }
.invoice-steps li.is-done { border-color: var(--ok); color: var(--ok); }
.invoice-steps li.is-now { border-color: var(--royal); color: var(--royal-2); }
html:not(.js) .invoice-steps li { border-color: var(--ok); color: var(--ok); }

.hero-pop {
  position: absolute; z-index: 4; left: 26%; top: 74px; display: flex; align-items: center; gap: 10px;
  padding: 11px 16px 11px 11px; border-radius: 14px; background: #fff; font-size: 13px; color: var(--muted);
  box-shadow: 0 22px 40px -18px rgba(13,41,71,.4), 0 0 0 1px var(--line);
}
.hero-pop svg { width: 30px; height: 30px; padding: 7px; border-radius: 50%; background: var(--royal); color: #fff; flex: none; }
.hero-pop span { display: grid; line-height: 1.3; }
.hero-pop b { font-size: 14px; color: var(--ink); }
.js .hero-pop { opacity: 0; transform: translateY(14px) scale(.94); }
.js .hero-pop.is-in { opacity: 1; transform: none; transition: opacity .5s var(--ease), transform .7s var(--ease-spring); }

/* ---------- Flujo conectado ---------- */
.connect { padding: 120px 0 110px; background: #fff; }
.flow-track { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; --p: 0; }
.flow-track::before, .flow-track::after { content: ""; position: absolute; top: 15px; left: 12.5%; right: 12.5%; height: 3px; border-radius: 3px; }
.flow-track::before { background: var(--line); }
.flow-track::after { background: linear-gradient(90deg, var(--royal), #2fb37f); transform: scaleX(var(--p)); transform-origin: left; transition: transform .9s var(--ease); }
.flow-token {
  position: absolute; z-index: 2; top: -4px; left: 12.5%; width: 42px; height: 42px; margin-left: -21px; border-radius: 12px;
  display: grid; place-items: center; font-family: var(--display); font-weight: 800; font-size: 13px; color: #fff;
  background: linear-gradient(150deg, #4189cf, var(--royal-2)); box-shadow: 0 12px 24px -10px rgba(23,107,183,.7);
  transform: translateX(calc(var(--p) * var(--track-w, 0px))); transition: transform .9s var(--ease);
}
.flow-node { position: relative; z-index: 1; text-align: center; }
.node-dot { display: block; width: 34px; height: 34px; margin: 0 auto 22px; border-radius: 50%; background: #fff; border: 3px solid var(--line); transition: background-color .4s, border-color .4s, transform .5s var(--ease-spring); }
.flow-node.is-on .node-dot { border-color: var(--royal); background: var(--royal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5 6.8 11 12 5' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; transform: scale(1.08); }
.flow-node h3 { font-size: 21px; color: var(--ink); }
.flow-node p { margin: 8px auto 0; max-width: 24ch; color: var(--muted); font-size: 15.5px; }
.node-result { display: inline-block; margin-top: 16px; font-style: normal; font-weight: 700; font-size: 15px; padding: 8px 14px; border-radius: 10px; background: var(--soft); color: var(--ink); font-variant-numeric: tabular-nums; }
.node-ok { background: var(--ok-soft); color: var(--ok); }
.node-info { background: #e3effb; color: var(--royal-2); }
.js .flow-node .node-result { opacity: 0; transform: translateY(10px) scale(.9); }
.js .flow-node.is-on .node-result { opacity: 1; transform: none; transition: opacity .4s var(--ease) .25s, transform .6s var(--ease-spring) .25s; }
.js .flow-node:not(.is-on) h3, .js .flow-node:not(.is-on) p { opacity: .55; }
.flow-node h3, .flow-node p { transition: opacity .4s; }

/* ---------- Carrusel: indicador deslizante y barrido de pantalla ---------- */
.showcase-tabs { position: relative; }
.tab-indicator { position: absolute; z-index: 0; top: 6px; bottom: 6px; left: 0; width: 0; border-radius: 11px; background: var(--royal); box-shadow: 0 8px 18px -10px rgba(52,121,189,.9); transition: transform .45s var(--ease), width .45s var(--ease); }
.showcase-tab { z-index: 1; }
.has-indicator .showcase-tab.is-active { background: transparent; box-shadow: none; }
.js .showcase .slide .slide-shot img { clip-path: inset(0 0 0 100%); transition: clip-path .75s var(--ease) .1s; }
.js .showcase.go-back .slide .slide-shot img { clip-path: inset(0 100% 0 0); }
.js .showcase .slide.is-active .slide-shot img { clip-path: inset(0 0 0 0); }

/* ---------- App móvil publicitaria ---------- */
.mobile-lede { font-size: 19px; }
.mfeatures { display: grid; gap: 8px; margin-top: 30px; }
.mfeature { position: relative; display: grid; gap: 2px; text-align: left; padding: 16px 18px 16px 24px; border-radius: 16px; border: 1px solid transparent; background: transparent; cursor: pointer; transition: background-color .3s, border-color .3s, box-shadow .3s; }
.mfeature strong { font-family: var(--display); font-size: 19px; color: var(--ink); }
.mfeature > span:not(.mf-bar) { font-size: 15.5px; color: var(--muted); }
.mfeature:hover { background: rgba(255,255,255,.6); }
.mfeature.is-active { background: #fff; border-color: var(--line); box-shadow: var(--shadow-md); }
.mf-bar { position: absolute; left: 10px; top: 16px; bottom: 16px; width: 3px; border-radius: 3px; background: var(--line); overflow: hidden; }
.mf-bar i { display: block; width: 100%; height: 100%; background: var(--royal); transform: scaleY(0); transform-origin: top; }
.mfeature.is-active .mf-bar i { transform: scaleY(1); }
.mfeatures.is-playing .mfeature.is-active .mf-bar i { transform: scaleY(0); animation: mfill var(--mf-dur, 5s) linear forwards; }
@keyframes mfill { to { transform: scaleY(1); } }

.phone-stage { position: relative; height: 660px; display: grid; place-items: center; perspective: 1600px; }
.phone-ring { position: absolute; width: 560px; height: 560px; border-radius: 50%; background: radial-gradient(circle, rgba(129,185,238,.55) 0%, rgba(129,185,238,.18) 45%, transparent 70%); box-shadow: 0 0 0 1px rgba(52,121,189,.12), 0 0 0 70px rgba(255,255,255,.25), 0 0 0 71px rgba(52,121,189,.08); }
.phone { position: relative; margin: 0; }
.phone-main { width: 292px; z-index: 2; transform: rotateY(-10deg) rotateX(3deg); transition: transform 1.2s var(--ease); }
.phone-back { position: absolute; z-index: 1; width: 220px; right: 2%; top: 13%; transform: rotate(9deg) translateZ(-80px); opacity: .85; }
.phone-back .phone-frame { cursor: default; }
.phone-screens { position: relative; padding: 9px; }
.phone-screens::before { content: ""; display: block; aspect-ratio: 9 / 19.5; }
.mscreen { position: absolute; inset: 9px; padding: 0; border: 0; border-radius: 32px; overflow: hidden; background: #fff; cursor: zoom-in; transform: translateY(102%); transition: transform .75s var(--ease), opacity .5s; }
.mscreen img { width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; object-position: top; border-radius: 0; }
.mscreen.is-active { transform: none; z-index: 2; }
.mscreen.was-active { transform: translateY(-14%) scale(.95); opacity: 0; z-index: 1; }
.phone-toasts { position: absolute; z-index: 3; left: 2%; top: 56%; width: 250px; height: 70px; }
.phone-toast { position: absolute; inset: 0 auto auto 0; display: flex; align-items: center; gap: 10px; padding: 12px 18px 12px 12px; border-radius: 16px; background: #fff; color: var(--text); font-size: 13.5px; white-space: nowrap; box-shadow: 0 22px 40px -18px rgba(13,41,71,.45), 0 0 0 1px var(--line); opacity: 0; transform: translateY(14px) scale(.94); transition: opacity .35s var(--ease), transform .5s var(--ease-spring); }
.phone-toast.is-active { opacity: 1; transform: none; transition-delay: .3s; }
.phone-toast svg { width: 30px; height: 30px; padding: 7px; border-radius: 50%; background: var(--ok); color: #fff; flex: none; }
.toast-info svg { background: var(--royal); }
.toast-team svg { background: var(--royal-2); }
.phone-toast span { display: grid; line-height: 1.25; }
.phone-toast b { font-size: 14px; }
.js .phone-stage:not(.is-in) .phone-main { transform: rotateY(-28deg) rotateX(10deg) translateY(40px); }
.js .phone-stage:not(.is-in) .phone-back { opacity: 0; transform: rotate(18deg) translate(40px, 30px); }
.phone-stage .phone-back { transition: transform 1.2s var(--ease) .15s, opacity .8s var(--ease) .15s; }
.js .phone-stage:not(.is-in) .phone-ring { transform: scale(.8); opacity: 0; }
.phone-ring { transition: transform 1.2s var(--ease), opacity 1s var(--ease); }

/* ---------- Barra CTA fija en móvil ---------- */
.mcta { display: none; }
@media (max-width: 760px) {
  .mcta { position: fixed; z-index: 40; left: 12px; right: 12px; bottom: 12px; display: flex; gap: 8px; padding: 8px; border-radius: 18px; background: rgba(255,255,255,.94); backdrop-filter: blur(12px); box-shadow: 0 18px 40px -16px rgba(13,41,71,.45), 0 0 0 1px var(--line); transform: translateY(140%); transition: transform .45s var(--ease); }
  .mcta.is-visible { transform: none; }
  .mcta .btn-primary { flex: 1; }
  .mcta-wa { width: 50px; padding: 0; }
  .footer { padding-bottom: 110px; }
}

/* ---------- Responsive v3 ---------- */
@media (max-width: 999px) {
  .hero-pop { left: 8%; top: 20px; }
  .flow-track { grid-template-columns: 1fr; gap: 30px; }
  .flow-track::before, .flow-track::after { top: 16px; bottom: 16px; left: 15px; right: auto; width: 3px; height: auto; }
  .flow-track::after { transform: scaleY(var(--p)); transform-origin: top; }
  .flow-token { display: none; }
  .flow-node { text-align: left; padding-left: 58px; }
  .node-dot { position: absolute; left: 0; top: 0; margin: 0; }
  .flow-node p { margin-left: 0; }
  .node-result { margin-top: 12px; }
  .phone-stage { height: 600px; }
}
@media (max-width: 600px) {
  .hero-pop { display: none; }
  .phone-stage { height: 540px; }
  .phone-main { width: 236px; }
  .phone-back { width: 170px; right: -4%; }
  .phone-ring { width: 380px; height: 380px; }
  .phone-toasts { left: 0; top: 64%; }
  .connect { padding: 84px 0; }
}
@media (prefers-reduced-motion: reduce) {
  .js .hero-pop, .js .flow-node .node-result { opacity: 1; transform: none; }
  .js .showcase .slide .slide-shot img { clip-path: none; }
}
.phone-screens { overflow: hidden; border-radius: 40px; }
.flow-token { transition: transform .9s var(--ease), opacity .4s var(--ease) .2s, scale .4s var(--ease) .2s; }
.flow-track.is-done .flow-token { opacity: 0; scale: .6; }

/* Contabilidad: capacidades en orden de prioridad */
.module-acc .acc-showcase { margin-top: 0; align-items: start; }
.acc-facts li { padding: 13px 0; }
.acc-facts li.acc-lead { padding: 16px 18px; margin-bottom: 6px; border: 0; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px var(--line), var(--shadow-md); }
.acc-lead strong { color: var(--royal-2); }

/* =========================================================
   Ajustes según skills (frontend-design, ui-ux-pro-max, seo-audit)
   ========================================================= */
:root { --muted: #506b8a; --on-ink-muted: #506b8a; }
picture { display: contents; }

/* H1 con palabra clave: la etiqueta vive dentro del H1 */
.hero-title { margin-top: 0; }
.hero-title .hero-kicker { display: flex; width: fit-content; margin-bottom: 22px; font-family: var(--body); font-size: 15px; font-weight: 600; line-height: 1.4; letter-spacing: 0; }

/* Movimiento solo donde demuestra algo: sin entradas genéricas de cada bloque */
.js .reveal:not([data-anim]), .js .reveal[data-anim="rise"], .js .reveal[data-anim="slide"], .js .reveal[data-anim="flow"] { opacity: 1; transform: none; }

/* Sin elevación decorativa en cada tarjeta */
.price-card:hover, .flow:hover { transform: none; box-shadow: none; }
.price-card.featured:hover { box-shadow: 0 30px 60px -30px rgba(23,107,183,.6); }

/* Precio destacado con contraste suficiente */
.price-card.featured { background: linear-gradient(165deg, #2a72b8, var(--royal-2)); }
.price-card.featured .price-note, .price-card.featured small { color: #eef5fd; }

/* Áreas táctiles de al menos 44px */
.showcase-tab, .price-tab { min-height: 44px; }
.nav-menu-toggle, .nav-actions .btn-sm { min-height: 44px; }

/* App móvil: el portal del trabajador como función secundaria */
.mobile-extra { margin-top: 18px; padding-left: 24px; font-size: 15px; color: var(--muted); max-width: 46ch; }
.phone-back { opacity: .7; filter: saturate(.85); }

/* =========================================================
   Fondo igual al de /login/ (landing-background-light.svg)
   ========================================================= */
body { background: #f5f7fa; }
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: #f5f7fa url("../img/landing-background-light.svg") center / cover no-repeat;
}
.hero, .tour, .mobile, .module-acc, .pricing, .cta { background: transparent; }
.hero-light, .hero-grid, .tour-glow, .mobile-beam, .cta-light { display: none; }
.clients, .connect, .module-fe, .module-pay, .qbo, .faq { background: #fff; }
.footer { background: #fff; }

/* Hero sin teléfono; espacio para la tarjeta de factura en escritorio */
.invoice-card { bottom: -140px; }
.hero-demo-note { padding-top: 104px; }
@media (max-width: 999px) { .invoice-card { bottom: -70px; } .hero-demo-note { padding-top: 110px; } }
@media (max-width: 600px) { .invoice-card { bottom: 0; } .hero-demo-note { padding-top: 32px; } }

/* Facturación Electrónica: 3 planes + complemento QuickBooks */
[data-price-panel="fe"] .price-grid { grid-template-columns: repeat(4, 1fr); }
.price-card--addon { background: var(--soft); border-style: dashed; border-color: #b9d0ea; }
@media (max-width: 1180px) { [data-price-panel="fe"] .price-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 999px) { [data-price-panel="fe"] .price-grid { grid-template-columns: 1fr; } }
.price small { white-space: nowrap; }
[data-price-panel="fe"] .price { font-size: 32px; }

/* =========================================================
   Planes más llamativos
   ========================================================= */
.pricing .price-tabs { padding: 6px; border-radius: 16px; background: #fff; box-shadow: 0 0 0 1px var(--line), var(--shadow-md); }
.pricing .price-tab { padding: 12px 22px; font-size: 16px; border-radius: 12px; }
.pricing .price-tab.active { background: var(--royal); color: #fff; box-shadow: 0 10px 22px -12px rgba(52,121,189,.9); }

.pricing .price-grid { gap: 22px; align-items: stretch; padding-top: 16px; }
.price-card {
  overflow: hidden; border-radius: 22px; padding: 34px 30px 30px; border: 1px solid var(--line);
  box-shadow: 0 24px 48px -36px rgba(13,41,71,.45);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .3s;
}
.price-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: linear-gradient(90deg, var(--royal), var(--sky)); }
.price-card:hover { transform: translateY(-6px); border-color: #c5daef; box-shadow: 0 34px 60px -34px rgba(23,107,183,.5); }
.price-card .price { font-size: 42px; letter-spacing: -.035em; }
[data-price-panel="fe"] .price-card .price { font-size: 36px; }

.price-card.featured {
  border: 0; transform: translateY(-14px);
  background: radial-gradient(120% 80% at 100% 0%, rgba(129,185,238,.55) 0%, transparent 55%), linear-gradient(165deg, #3a83c9 0%, #2569b0 55%, #175a9c 100%);
  box-shadow: 0 46px 80px -34px rgba(23,107,183,.75), 0 0 0 1px rgba(255,255,255,.25) inset;
}
.price-card.featured::before { background: linear-gradient(90deg, rgba(255,255,255,.9), rgba(255,255,255,.35)); }
.price-card.featured:hover { transform: translateY(-20px); box-shadow: 0 56px 90px -34px rgba(23,107,183,.85), 0 0 0 1px rgba(255,255,255,.3) inset; }
.price-card.featured .badge { background: #fff; color: var(--royal-2); box-shadow: 0 6px 16px -8px rgba(0,0,0,.35); }
.price-card.featured .btn-primary { background: #fff; color: var(--royal-2); box-shadow: 0 12px 24px -12px rgba(0,0,0,.45); }
.price-card.featured .btn-primary:hover { transform: translateY(-2px); }

.price-features li { padding-left: 32px; }
.price-features li::before {
  top: 2px; width: 21px; height: 21px; border: 0; border-radius: 50%; transform: none;
  background: var(--ok-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5 6.8 11 12 5' fill='none' stroke='%231d8a5d' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/13px no-repeat;
}
.featured .price-features li::before {
  background: rgba(255,255,255,.22) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5 6.8 11 12 5' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/13px no-repeat;
}

.price-save { display: inline-flex; align-items: center; gap: 6px; width: fit-content; margin-top: 10px; padding: 6px 12px; border-radius: 999px; background: var(--ok-soft); color: var(--ok); font-size: 13.5px; font-weight: 700; }
.price-save[hidden] { display: none; }

.price-card--addon { background: linear-gradient(180deg, #f4fbf2 0%, #fff 60%); border: 1px dashed #a9d79f; }
.price-card--addon::before { background: linear-gradient(90deg, #2ca01c, #7fd36d); }
.price-card--addon .badge { background: #e4f5e0; color: #1f7a13; }

.bundle-price { position: relative; overflow: hidden; border-radius: 22px; box-shadow: 0 24px 48px -36px rgba(13,41,71,.45); }
.bundle-price::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: linear-gradient(90deg, var(--royal), var(--sky)); }

@media (max-width: 999px) {
  .price-card.featured, .price-card.featured:hover { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .price-card:hover, .price-card.featured:hover { transform: none; }
  .price-card.featured { transform: none; }
}
.price-card .price { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 8px; row-gap: 2px; line-height: 1.05; }
[data-price-panel="fe"] .price-card .price { font-size: 34px; }
.price small { font-size: 14.5px; }
.price-save { white-space: nowrap; }
.price-card .price { margin-bottom: 10px; }

/* Planilla: tarjeta destacada + detalle con complementos */
.payroll-pricing { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 22px; align-items: stretch; padding-top: 16px; }
.payroll-pricing .price-card.featured { transform: translateY(-8px); }
.payroll-includes h3 { margin-bottom: 18px; }
.payroll-includes .payroll-detail { margin-bottom: 0; }
.payroll-addons { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 24px; padding-top: 22px; border-top: 1px dashed var(--line); }
.addon { display: grid; gap: 2px; padding: 14px 16px; border-radius: 14px; background: var(--soft); border: 1px solid var(--line); }
.addon strong { font-size: 15px; color: var(--ink); }
.addon span { font-size: 14px; color: var(--muted); }
.addon-qbo { background: #f4fbf2; border-color: #cfe9c8; }
@media (max-width: 999px) {
  .payroll-pricing { grid-template-columns: 1fr; max-width: 560px; }
  .payroll-pricing .price-card.featured { transform: none; }
  .payroll-addons { grid-template-columns: 1fr; }
}
