/* Fuentes servidas desde Recivo (no desde Google): así ninguna página manda la IP del visitante a terceros. */
/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/Inter-latin-ext-749a30.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/Inter-latin-1ab1ad.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(assets/fonts/Inter-latin-ext-749a30.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(assets/fonts/Inter-latin-1ab1ad.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(assets/fonts/Inter-latin-ext-749a30.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(assets/fonts/Inter-latin-1ab1ad.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(assets/fonts/Inter-latin-ext-749a30.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(assets/fonts/Inter-latin-1ab1ad.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(assets/fonts/SpaceGrotesk-latin-ext-e911c2.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(assets/fonts/SpaceGrotesk-latin-a57c94.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(assets/fonts/SpaceGrotesk-latin-ext-e911c2.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(assets/fonts/SpaceGrotesk-latin-a57c94.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Space Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/SpaceMono-latin-ext-d4ba38.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Space Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/SpaceMono-latin-391873.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Space Mono';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(assets/fonts/SpaceMono-latin-ext-8a2467.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Space Mono';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(assets/fonts/SpaceMono-latin-df899b.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ============================================================
   RECIVO — landing (userecivo.com)
   Mismo sistema que el panel (public/css/style.css): navy-teal
   near-black, acento verde + azul, Inter / Space Grotesk / Space Mono.
   Un efecto firma (el ticket que se convierte en gasto, en el hero),
   reveal al hacer scroll y micro-elevación. Nada más.
   ============================================================ */

:root {
  --bg: #061318;
  --bg-2: #081A20;
  --surface: #0C1B21;
  --surface-2: #10222A;
  --surface-3: #162B33;
  --border: rgba(150, 230, 205, 0.10);
  --border-strong: rgba(150, 230, 205, 0.22);
  --highlight: rgba(255, 255, 255, 0.05);

  --text-primary: #EAF4F0;
  --text-secondary: #A9C0BA;
  --text-muted: #7F9698;

  --accent: #35E0A1;
  --accent-hover: #2BC98F;
  --accent-text: #7FEEC6;
  --accent-soft: rgba(53, 224, 161, 0.12);
  --accent-line: rgba(53, 224, 161, 0.32);
  --accent-2: #52A9FF;
  --grad: linear-gradient(115deg, #35E0A1 0%, #52A9FF 100%);
  --on-accent: #04140E;

  --wa-out: #0F3B2E;
  --wa-in: #13262D;

  --r-xl: 24px; --r-lg: 16px; --r-md: 12px; --r-sm: 8px;
  --font-ui: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-display: 'Space Grotesk', 'Inter', sans-serif;
  --font-mono: 'Space Mono', 'SF Mono', 'Roboto Mono', monospace;
  --ease: 160ms cubic-bezier(0.2, 0, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-card: 0 1px 2px rgba(0, 0, 0, 0.4), 0 12px 32px -12px rgba(0, 0, 0, 0.55);
  --shadow-pop: 0 30px 80px -24px rgba(0, 0, 0, 0.75);
  --maxw: 1160px;
  --gutter: 20px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; overflow-x: clip; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  font-family: var(--font-ui); font-size: 16px; line-height: 1.6; color: var(--text-primary);
  background-color: var(--bg);
  background-image:
    radial-gradient(1100px 560px at 80% -10%, rgba(53, 224, 161, 0.07), transparent 62%),
    radial-gradient(900px 520px at -10% 30%, rgba(82, 169, 255, 0.05), transparent 60%);
  background-repeat: no-repeat;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
ul, ol { list-style: none; padding: 0; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.025em; line-height: 1.08; text-wrap: balance; }
p { text-wrap: pretty; }
strong, b { font-weight: 600; color: var(--text-primary); }
::selection { background: var(--accent); color: var(--on-accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: max(var(--gutter), env(safe-area-inset-left)) max(var(--gutter), env(safe-area-inset-right)); }
.faq-wrap .faq { max-width: 860px; }
.skip-link { position: fixed; top: -100px; left: 16px; z-index: 200; padding: 10px 16px; border-radius: var(--r-sm); background: var(--surface-3); border: 1px solid var(--border-strong); }
.skip-link:focus { top: 12px; }
.accent-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.link { color: var(--accent-text); text-decoration: underline; text-decoration-color: var(--accent-line); text-underline-offset: 3px; transition: text-decoration-color var(--ease); }
.link:hover { text-decoration-color: currentColor; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px;
  font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-text);
}
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px;
  padding: 11px 20px; border-radius: var(--r-md); font-weight: 600; font-size: 0.95rem; line-height: 1.2; white-space: nowrap;
  transition: transform var(--ease), box-shadow var(--ease), background-color var(--ease), border-color var(--ease), filter var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: translateY(1px) scale(0.99); }
.btn-primary { background: var(--grad); color: var(--on-accent); box-shadow: 0 10px 28px -10px rgba(53, 224, 161, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.25); }
.btn-primary:hover { transform: translateY(-1px); filter: brightness(1.06); box-shadow: 0 14px 34px -10px rgba(53, 224, 161, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.25); }
.btn-ghost { border: 1px solid var(--border-strong); background: rgba(255, 255, 255, 0.02); color: var(--text-primary); }
.btn-ghost:hover { background: var(--surface-2); border-color: rgba(150, 230, 205, 0.32); }
.btn-secondary { background: var(--surface-3); color: var(--text-primary); border: 1px solid var(--border-strong); }
.btn-secondary:hover { background: #1B333C; }
.btn-lg { min-height: 52px; padding: 14px 26px; font-size: 1rem; border-radius: 14px; }
.btn-sm { min-height: 38px; padding: 8px 14px; font-size: 0.88rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.6; cursor: progress; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 100; padding-top: env(safe-area-inset-top);
  transition: background-color var(--ease), box-shadow var(--ease), backdrop-filter var(--ease);
}
.nav.is-scrolled { background: rgba(6, 19, 24, 0.82); -webkit-backdrop-filter: saturate(140%) blur(14px); backdrop-filter: saturate(140%) blur(14px); box-shadow: 0 1px 0 var(--border); }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .nav.is-scrolled { background: var(--bg); } }
.nav-inner { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; letter-spacing: -0.02em; }
.brand-mark { width: 32px; height: 32px; border-radius: 9px; }
.nav-links { display: none; gap: 4px; margin-left: 12px; }
.nav-links a { padding: 8px 12px; border-radius: var(--r-sm); font-size: 0.92rem; color: var(--text-secondary); transition: color var(--ease), background-color var(--ease); }
.nav-links a:hover { color: var(--text-primary); background: rgba(255, 255, 255, 0.03); }
.nav-end { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.nav-login { display: none; padding: 8px 12px; font-size: 0.92rem; font-weight: 500; color: var(--text-secondary); border-radius: var(--r-sm); transition: color var(--ease); }
.nav-login:hover { color: var(--text-primary); }

.country { display: inline-flex; padding: 3px; border-radius: 10px; background: var(--surface); border: 1px solid var(--border); }
.country-btn { min-height: 32px; padding: 4px 10px; border-radius: 7px; font-size: 0.8rem; font-weight: 600; color: var(--text-muted); transition: color var(--ease), background-color var(--ease); }
.country-btn:hover { color: var(--text-primary); }
.country-btn.is-on { background: var(--surface-3); color: var(--text-primary); box-shadow: inset 0 1px 0 var(--highlight); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 40px 0 64px; }
.hero-grid { display: grid; gap: 48px; align-items: center; }
.hero-title { font-size: clamp(2.3rem, 5.6vw, 3.55rem); margin-bottom: 22px; letter-spacing: -0.035em; }
.ht-line { display: block; max-width: 13ch; text-wrap: balance; }
.hero-sub { font-size: clamp(1.02rem, 1.6vw, 1.15rem); color: var(--text-secondary); max-width: 34rem; margin-bottom: 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-actions.center { justify-content: center; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 20px; font-size: 0.88rem; color: var(--text-muted); }
.hero-proof li { display: inline-flex; align-items: center; gap: 7px; }
.hero-proof li::before { content: ""; width: 14px; height: 14px; flex: none; background: var(--accent); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }

/* Visual: teléfono + panel */
.hero-visual { position: relative; display: grid; justify-items: center; padding-bottom: 40px; }
.hero-visual::before {
  content: ""; position: absolute; inset: 8% 4% 12%; z-index: -1; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(53, 224, 161, 0.16), transparent), radial-gradient(closest-side at 70% 70%, rgba(82, 169, 255, 0.12), transparent);
  filter: blur(30px);
}
.phone {
  width: min(100%, 340px); border-radius: 34px; padding: 10px; background: #0A1519;
  border: 1px solid var(--border-strong); box-shadow: var(--shadow-pop), inset 0 1px 0 var(--highlight);
}
.wa-top { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 26px 26px 6px 6px; background: var(--surface-2); }
.wa-top strong { display: block; font-size: 0.92rem; line-height: 1.2; }
.wa-top span { font-size: 0.74rem; color: var(--accent-text); }
.wa-avatar { width: 34px; height: 34px; border-radius: 50%; }
.wa-chat { display: flex; flex-direction: column; gap: 8px; padding: 14px 10px 16px; min-height: 470px; background: #08161B; border-radius: 6px 6px 26px 26px; }
.wa-msg { position: relative; max-width: 86%; padding: 8px 10px 18px; border-radius: 12px; font-size: 0.8rem; line-height: 1.45; box-shadow: 0 1px 1px rgba(0, 0, 0, 0.3); }
.wa-msg p + p { margin-top: 1px; }
.wa-out { align-self: flex-end; background: var(--wa-out); border-top-right-radius: 4px; }
.wa-in { align-self: flex-start; background: var(--wa-in); border-top-left-radius: 4px; color: var(--text-secondary); }
.wa-in b { color: var(--text-primary); }
.wa-strong { font-weight: 600; color: var(--text-primary); margin-bottom: 3px; }
.wa-time { position: absolute; right: 9px; bottom: 4px; font-size: 0.64rem; color: rgba(234, 244, 240, 0.5); font-variant-numeric: tabular-nums; }
.ticks { color: #53BDEB; letter-spacing: -2px; }
.wa-buttons { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; align-self: flex-start; width: 86%; }
.wa-buttons span { padding: 7px 4px; border-radius: 9px; background: var(--wa-in); text-align: center; font-size: 0.72rem; font-weight: 600; color: #53BDEB; box-shadow: 0 1px 1px rgba(0, 0, 0, 0.3); white-space: nowrap; }

.receipt {
  display: flex; flex-direction: column; gap: 2px; width: 196px; padding: 12px 12px 14px; border-radius: 6px;
  background: #F3F1EA; color: #262626; font-family: var(--font-mono); font-size: 0.62rem; line-height: 1.35;
  transform: rotate(-1.5deg); box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
  -webkit-mask: linear-gradient(#000 0 0) top / 100% calc(100% - 6px) no-repeat, radial-gradient(4px at 50% 100%, transparent 96%, #000) bottom / 8px 6px repeat-x;
  mask: linear-gradient(#000 0 0) top / 100% calc(100% - 6px) no-repeat, radial-gradient(4px at 50% 100%, transparent 96%, #000) bottom / 8px 6px repeat-x;
}
.receipt b { color: #111; font-size: 0.82rem; text-align: center; letter-spacing: 0.08em; }
.receipt i { font-style: normal; text-align: center; color: #555; }
.receipt i:last-of-type { margin-bottom: 6px; padding-bottom: 6px; border-bottom: 1px dashed #aaa; }
.r-line { display: flex; justify-content: space-between; gap: 8px; }
.r-line em { font-style: normal; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.r-more { color: #888; }
.r-total { margin-top: 6px; padding-top: 6px; border-top: 1px dashed #aaa; font-weight: 700; color: #111; font-size: 0.72rem; }

.wa-typing { align-self: flex-start; display: inline-flex; gap: 4px; padding: 10px 12px; border-radius: 12px; border-top-left-radius: 4px; background: var(--wa-in); }
.wa-typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--text-muted); animation: typing 1s infinite ease-in-out; }
.wa-typing i:nth-child(2) { animation-delay: 0.15s; }
.wa-typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes typing { 0%, 60%, 100% { transform: translateY(0); opacity: 0.5; } 30% { transform: translateY(-3px); opacity: 1; } }

.panel-mini {
  position: absolute; right: 0; bottom: 0; width: 262px; padding: 16px; border-radius: var(--r-lg);
  background: rgba(16, 34, 42, 0.92); border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-pop), inset 0 1px 0 var(--highlight);
}
.pm-head { display: flex; justify-content: space-between; align-items: center; font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); }
.pm-live { display: inline-flex; align-items: center; gap: 6px; color: var(--accent-text); }
.pm-live i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.pm-total { margin: 6px 0 10px; font-family: var(--font-display); font-weight: 700; font-size: 1.7rem; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.pm-row { display: grid; grid-template-columns: 28px 1fr auto; align-items: center; gap: 10px; padding: 8px; border-radius: 10px; font-size: 0.8rem; }
.pm-row + .pm-row { margin-top: 2px; }
.pm-ico { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: var(--surface-3); font-size: 0.85rem; }
.pm-name { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.pm-name b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 600; }
.pm-name small { font-size: 0.7rem; color: var(--text-muted); }
.pm-amt { font-family: var(--font-mono); font-size: 0.74rem; font-variant-numeric: tabular-nums; }
.pm-new { background: var(--accent-soft); box-shadow: inset 0 0 0 1px var(--accent-line); }

/* Secuencia del efecto firma (CSS puro). Sin movimiento reducido se reproduce una vez al cargar. */
@media (prefers-reduced-motion: no-preference) {
  .m1, .m3, .m4, .m5, .pm-new { opacity: 0; animation: pop 0.55s var(--ease-out) forwards; }
  .m1 { animation-delay: 0.35s; }
  .m2 { opacity: 0; animation: typingIn 1.5s linear 1s forwards; }
  .m3 { animation-delay: 2.5s; }
  .m4 { animation-delay: 2.85s; }
  .m5 { animation-delay: 3.2s; }
  .pm-new { animation: rowIn 0.6s var(--ease-out) 3.75s forwards; }
  @keyframes pop { from { opacity: 0; transform: translateY(10px) scale(0.98); } to { opacity: 1; transform: none; } }
  @keyframes rowIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
  @keyframes typingIn { 0% { opacity: 0; height: auto; } 8%, 92% { opacity: 1; } 100% { opacity: 0; height: 0; padding: 0; margin: -8px 0 0; } }
}
@media (prefers-reduced-motion: reduce) { .m2 { display: none; } }

/* ---------- Franja de confianza ---------- */
.trust { border-block: 1px solid var(--border); background: rgba(12, 27, 33, 0.6); }
.trust-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 20px; padding-block: 22px; }
.trust-grid li { display: flex; align-items: center; gap: 10px; font-size: 0.88rem; color: var(--text-secondary); }
.trust-grid svg { width: 20px; height: 20px; flex: none; fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Secciones ---------- */
.section { padding: 88px 0; }
.section-alt { background: linear-gradient(180deg, rgba(12, 27, 33, 0.55), rgba(12, 27, 33, 0.15)); border-block: 1px solid var(--border); }
.section-head { max-width: 720px; margin-bottom: 44px; }
.section-title { font-size: clamp(1.8rem, 4.2vw, 2.7rem); }
.section-lead { margin-top: 16px; font-size: 1.05rem; color: var(--text-secondary); max-width: 40rem; }

/* Problema */
.problem .section-title { max-width: 18ch; }
.pain-grid { display: grid; gap: 16px; margin-top: 40px; }
.pain { padding: 22px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--border); box-shadow: inset 0 1px 0 var(--highlight); }
.pain-n { font-family: var(--font-mono); font-size: 0.75rem; color: var(--text-muted); }
.pain h3 { margin: 10px 0 6px; font-size: 1.12rem; }
.pain p { color: var(--text-secondary); font-size: 0.95rem; }

/* Pasos */
.steps { display: grid; gap: 16px; counter-reset: s; }
.step { position: relative; padding: 26px 24px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-card), inset 0 1px 0 var(--highlight); }
.step-n { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; margin-bottom: 18px; background: var(--accent-soft); color: var(--accent-text); font-family: var(--font-display); font-weight: 700; box-shadow: inset 0 0 0 1px var(--accent-line); }
.step h3 { font-size: 1.15rem; margin-bottom: 8px; }
.step p { color: var(--text-secondary); font-size: 0.95rem; }
.step em { font-style: normal; color: var(--text-primary); }

/* Funciones */
.feature { display: grid; gap: 28px; align-items: center; padding: 36px 0; }
.feature + .feature { border-top: 1px solid var(--border); }
.feature-copy h3 { font-size: clamp(1.35rem, 2.6vw, 1.75rem); margin-bottom: 12px; }
.feature-copy > p { color: var(--text-secondary); }
.checks { display: grid; gap: 10px; margin-top: 18px; }
.checks li { position: relative; padding-left: 28px; font-size: 0.95rem; color: var(--text-secondary); }
.checks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.5 12.5l3.5 3.5 7.5-8' fill='none' stroke='%237FEEC6' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat; }
.shot { margin: 0; }
.shot picture { display: block; }
.shot img { width: 100%; border-radius: var(--r-lg); border: 1px solid var(--border-strong); box-shadow: var(--shadow-pop); background: var(--surface); }
.shot-phone { justify-self: center; width: min(100%, 360px); }
.shot-phone img { border-radius: 28px; border-width: 1px; }
.shot-fade img { -webkit-mask-image: linear-gradient(#000 82%, transparent); mask-image: linear-gradient(#000 82%, transparent); border-bottom: 0; }
.shot figcaption { margin-top: 10px; font-size: 0.78rem; color: var(--text-muted); }
.feature-chat { display: flex; flex-direction: column; gap: 8px; padding: 20px 16px; border-radius: var(--r-xl); background: #08161B; border: 1px solid var(--border-strong); box-shadow: var(--shadow-pop); }
.feature-chat .wa-msg { font-size: 0.86rem; max-width: 92%; }
.feature-chat .wa-buttons { width: 92%; max-width: 360px; }

.extras { display: grid; gap: 14px; margin-top: 40px; }
.extra { padding: 22px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--border); box-shadow: inset 0 1px 0 var(--highlight); transition: transform var(--ease), border-color var(--ease), box-shadow var(--ease); }
.extra:hover { transform: translateY(-2px); border-color: var(--border-strong); box-shadow: var(--shadow-card), inset 0 1px 0 var(--highlight); }
.extra-ico { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 11px; margin-bottom: 14px; background: var(--surface-3); font-size: 1.15rem; }
.extra h3 { font-size: 1.05rem; margin-bottom: 6px; }
.extra p { color: var(--text-secondary); font-size: 0.93rem; }

/* Calculadora */
.calc { display: grid; gap: 1px; border-radius: var(--r-xl); overflow: hidden; background: var(--border); border: 1px solid var(--border-strong); box-shadow: var(--shadow-pop); }
.calc-inputs, .calc-result { padding: 28px 24px; background: var(--surface); }
.calc-result { background: var(--surface-2); display: flex; flex-direction: column; gap: 16px; }
.calc-field { border: 0; padding: 0; min-width: 0; }
.calc-field + .calc-field { margin-top: 26px; }
.calc-field label, .calc-field legend { display: block; font-size: 0.92rem; font-weight: 500; margin-bottom: 12px; padding: 0; }
.calc-row { display: flex; align-items: center; gap: 16px; }
.calc-out { min-width: 64px; text-align: right; font-family: var(--font-mono); font-size: 0.95rem; font-variant-numeric: tabular-nums; color: var(--accent-text); }
input[type=range] { flex: 1; -webkit-appearance: none; appearance: none; height: 28px; background: transparent; --fill: 50%; }
input[type=range]::-webkit-slider-runnable-track { height: 6px; border-radius: 6px; background: linear-gradient(90deg, var(--accent) var(--fill), var(--surface-3) var(--fill)); }
input[type=range]::-moz-range-track { height: 6px; border-radius: 6px; background: var(--surface-3); }
input[type=range]::-moz-range-progress { height: 6px; border-radius: 6px; background: var(--accent); }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; margin-top: -8px; border-radius: 50%; background: #fff; border: 0; box-shadow: 0 0 0 4px var(--accent-line), 0 2px 6px rgba(0, 0, 0, 0.4); transition: box-shadow var(--ease); }
input[type=range]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 0; box-shadow: 0 0 0 4px var(--accent-line), 0 2px 6px rgba(0, 0, 0, 0.4); }
input[type=range]:focus-visible { outline: none; }
input[type=range]:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 4px var(--accent), 0 2px 6px rgba(0, 0, 0, 0.4); }
input[type=range]:focus-visible::-moz-range-thumb { box-shadow: 0 0 0 4px var(--accent), 0 2px 6px rgba(0, 0, 0, 0.4); }
.calc-seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 4px; border-radius: 12px; background: var(--bg-2); border: 1px solid var(--border); }
.calc-seg-btn { min-height: 40px; padding: 8px 6px; border-radius: 9px; font-size: 0.86rem; font-weight: 600; color: var(--text-secondary); transition: background-color var(--ease), color var(--ease); }
.calc-seg-btn:hover { color: var(--text-primary); }
.calc-seg-btn.is-on { background: var(--surface-3); color: var(--text-primary); box-shadow: inset 0 1px 0 var(--highlight), 0 1px 2px rgba(0, 0, 0, 0.3); }
.calc-hint { margin-top: 10px; font-size: 0.82rem; color: var(--text-muted); }
.calc-label { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted); }
.calc-big { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.6rem, 7vw, 3.6rem); letter-spacing: -0.035em; line-height: 1; font-variant-numeric: tabular-nums; }
.calc-big span { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.calc-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.calc-stats div { padding: 14px; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--border); }
.calc-stats strong { display: block; font-family: var(--font-display); font-size: 1.35rem; font-variant-numeric: tabular-nums; }
.calc-stats span { font-size: 0.8rem; color: var(--text-muted); }

/* Privacidad */
.privacy-grid { display: grid; gap: 14px; }
.privacy-grid li { padding: 22px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--border); box-shadow: inset 0 1px 0 var(--highlight); }
.privacy-grid h3 { font-size: 1.05rem; margin-bottom: 6px; }
.privacy-grid p { font-size: 0.93rem; color: var(--text-secondary); }

/* Precio */
.price { display: grid; gap: 32px; align-items: center; }
.price-card { padding: 28px 24px; border-radius: var(--r-xl); background: var(--surface); border: 1px solid var(--accent-line); box-shadow: var(--shadow-pop), 0 0 0 6px rgba(53, 224, 161, 0.04), inset 0 1px 0 var(--highlight); }
.price-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; padding-bottom: 20px; margin-bottom: 4px; border-bottom: 1px solid var(--border); }
.price-tag { padding: 4px 10px; border-radius: 20px; background: var(--accent-soft); color: var(--accent-text); font-size: 0.78rem; font-weight: 600; box-shadow: inset 0 0 0 1px var(--accent-line); }
.price-amount span { font-family: var(--font-display); font-weight: 700; font-size: 2.6rem; letter-spacing: -0.03em; }
.price-amount small { margin-left: 4px; color: var(--text-muted); }
.price-card .checks { margin: 20px 0 24px; }
.price-note { margin-top: 12px; text-align: center; font-size: 0.82rem; color: var(--text-muted); }

/* FAQ */
.faq { border-top: 1px solid var(--border); }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 64px; padding: 16px 0;
  font-weight: 600; font-size: 1.02rem; cursor: pointer; list-style: none; transition: color var(--ease);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--surface-3) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 6v12M6 12h12' stroke='%23A9C0BA' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / 14px no-repeat; transition: transform 0.25s var(--ease-out); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--accent-text); }
.faq details p { padding: 0 40px 22px 0; color: var(--text-secondary); }
.faq details[open] p { animation: faqIn 0.3s var(--ease-out); }
@keyframes faqIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

/* CTA final + contacto */
.final { padding-top: 40px; }
.final-card {
  position: relative; overflow: hidden; padding: 56px 24px; border-radius: var(--r-xl); text-align: center;
  background: radial-gradient(600px 260px at 50% 0%, rgba(53, 224, 161, 0.14), transparent 70%), var(--surface);
  border: 1px solid var(--border-strong); box-shadow: var(--shadow-pop), inset 0 1px 0 var(--highlight);
}
.final-title { font-size: clamp(1.9rem, 4.8vw, 3rem); }
.final-card .section-lead { margin: 14px auto 28px; }
.final-wa { margin-top: 22px; font-size: 0.9rem; color: var(--text-muted); }
.nowrap { white-space: nowrap; }
.contact { display: grid; gap: 28px; margin-top: 56px; padding-top: 48px; border-top: 1px solid var(--border); }
.contact-title { font-size: 1.4rem; margin-bottom: 10px; }
.contact-copy p { color: var(--text-secondary); max-width: 26rem; }
.contact-form { display: grid; gap: 16px; }
.field-row { display: grid; gap: 16px; }
.field label { display: block; margin-bottom: 6px; font-size: 0.86rem; font-weight: 500; color: var(--text-secondary); }
.opt { color: var(--text-muted); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 46px; padding: 11px 14px; border-radius: var(--r-md); font: inherit; font-size: 16px; color: var(--text-primary);
  background: var(--bg-2); border: 1px solid var(--border-strong); transition: border-color var(--ease), box-shadow var(--ease);
}
.field textarea { resize: vertical; min-height: 96px; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 40px; background: var(--bg-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 10l5 5 5-5' fill='none' stroke='%23A9C0BA' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 12px center / 18px no-repeat; }
.field input::placeholder, .field textarea::placeholder { color: var(--text-muted); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.was-validated .field :invalid { border-color: #E5787A; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 0.86rem; color: var(--text-secondary); cursor: pointer; }
.consent input { width: 20px; height: 20px; margin-top: 1px; flex: none; accent-color: var(--accent); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error { padding: 12px 14px; border-radius: var(--r-md); background: rgba(229, 120, 122, 0.12); color: #F2A6A7; font-size: 0.9rem; }
.lead-ok { padding: 22px; border-radius: var(--r-lg); background: var(--accent-soft); box-shadow: inset 0 0 0 1px var(--accent-line); }
.lead-ok strong { font-size: 1.05rem; }
.lead-ok p { color: var(--text-secondary); margin-top: 4px; }
.lead-ok:focus { outline: none; }

/* Footer */
.footer { padding: 56px 0 calc(32px + env(safe-area-inset-bottom)); border-top: 1px solid var(--border); background: rgba(8, 26, 32, 0.6); }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.footer-brand { grid-column: 1 / -1; }
.footer-brand p { margin-top: 10px; font-size: 0.9rem; color: var(--text-muted); }
.footer-col { display: flex; flex-direction: column; gap: 10px; font-size: 0.9rem; }
.footer-col h2 { font-family: var(--font-mono); font-weight: 400; font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 4px; }
.footer-col a { color: var(--text-secondary); transition: color var(--ease); }
.footer-col:last-child { grid-column: 1 / -1; }
.footer-col a:hover { color: var(--text-primary); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--border); font-size: 0.82rem; color: var(--text-muted); }

/* Reveal al hacer scroll (solo con JS: sin JS todo se ve) */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js [data-reveal] { transform: none; transition: opacity 0.4s linear; } }

/* Cambio de país: fundido corto del texto que cambia */
.is-swapping [data-t], .is-swapping [data-src-mx] { transition: opacity 0.18s linear; opacity: 0.35; }

/* ---------- Breakpoints ---------- */
@media (max-width: 539px) {
  .hero-actions .btn { flex: 1 1 100%; }
  .shot-fade img { -webkit-mask-image: none; mask-image: none; border-bottom: 1px solid var(--border-strong); }
  .nav-cta { display: none; }
  .panel-mini { position: relative; width: min(100%, 340px); margin-top: -36px; right: auto; }
  .hero-visual { padding-bottom: 0; }
}
@media (min-width: 540px) {
  .pain-grid, .privacy-grid { grid-template-columns: repeat(2, 1fr); }
  .extras { grid-template-columns: repeat(2, 1fr); }
  .field-row { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 720px) {
  :root { --gutter: 32px; }
  .nav-login { display: inline-flex; }
  .trust-grid { grid-template-columns: repeat(4, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .pain-grid { grid-template-columns: repeat(3, 1fr); }
  .calc { grid-template-columns: 1.15fr 1fr; }
  .calc-inputs, .calc-result { padding: 36px; }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
  .footer-brand, .footer-col:last-child { grid-column: auto; }
  .final-card { padding: 72px 40px; }
}
@media (min-width: 960px) {
  .nav-links { display: flex; }
  .hero { padding: 64px 0 96px; }
  .hero-grid { grid-template-columns: 1.05fr 1fr; gap: 56px; }
  .hero-visual { justify-items: start; padding: 0 0 0 8px; }
  .phone { margin-bottom: 150px; }
  .panel-mini { right: 0; bottom: 0; width: 270px; }
  .section { padding: 112px 0; }
  .feature { grid-template-columns: 1fr 1.15fr; gap: 64px; padding: 56px 0; }
  .feature-rev { grid-template-columns: 1.15fr 1fr; }
  .feature-rev .feature-copy { order: 2; }
  .extras { grid-template-columns: repeat(3, 1fr); }
  .privacy-grid { grid-template-columns: repeat(4, 1fr); }
  .price { grid-template-columns: 1fr 420px; gap: 64px; }
  .contact { grid-template-columns: 1fr 1.4fr; gap: 64px; }
}
