/* VMADE Recargas · sitio 2026
   Identidad tomada del logo y de la app: morado #652051, rojo de la hormiga #FD2000
   y las tarjetas con degradado del tablero (coral, magenta, menta, azul). */
:root {
  --plum-950: #2A0B21;
  --plum-900: #3D1031;
  --plum-800: #521A43;
  --plum: #652051;
  --plum-600: #7D2C67;
  --plum-300: #C99BBB;
  --plum-100: #F5EAF2;
  --plum-50: #FBF6FA;
  --red: #FD2000;
  --red-600: #D91B00;

  --g-coral: linear-gradient(135deg, #FF8E6E 0%, #FFA785 100%);
  --g-magenta: linear-gradient(135deg, #E2578B 0%, #B54BA9 100%);
  --g-mint: linear-gradient(135deg, #47C69C 0%, #84DDBA 100%);
  --g-blue: linear-gradient(135deg, #5A84E3 0%, #6F5FD0 100%);

  --bg: #FFFFFF;
  --bg-alt: var(--plum-50);
  --surface: #FFFFFF;
  --fg: #1E1420;
  --muted: #5E5160;
  --line: #E8DCE5;
  --accent: var(--plum);
  --accent-strong: var(--plum-800);
  --link: #7D2C67;
  --band: var(--plum);
  --band-deep: var(--plum-900);
  --band-fg: #FFF7FC;
  --band-muted: #E3C8DA;
  --focus: #FD2000;
  --shadow: 0 1px 2px rgba(61, 16, 49, .06), 0 8px 24px rgba(61, 16, 49, .08);
  --shadow-lg: 0 2px 6px rgba(42, 11, 33, .12), 0 24px 60px rgba(42, 11, 33, .28);

  --font-display: "Barlow Condensed", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Barlow", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --step--1: .875rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: 1.6rem;
  --step-3: clamp(2.1rem, 1.5rem + 2.4vw, 3.1rem);
  --step-4: clamp(2.7rem, 1.6rem + 4.6vw, 5.1rem);

  --radius: 14px;
  --radius-sm: 8px;
  --max: 1180px;
  --header-h: 72px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #160A13; --bg-alt: #1E0E1A; --surface: #261322; --fg: #F6ECF3; --muted: #C3AEBE;
    --line: #3B2236; --accent: #E59ACB; --accent-strong: #F2C1E1; --link: #F0AED8;
    --band: #4A1640; --band-deep: #250A1F; --plum-100: #3A1A33; --plum-50: #1E0E1A;
    --shadow: 0 1px 2px rgba(0,0,0,.3), 0 8px 24px rgba(0,0,0,.35);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #160A13; --bg-alt: #1E0E1A; --surface: #261322; --fg: #F6ECF3; --muted: #C3AEBE;
  --line: #3B2236; --accent: #E59ACB; --accent-strong: #F2C1E1; --link: #F0AED8;
  --band: #4A1640; --band-deep: #250A1F; --plum-100: #3A1A33; --plum-50: #1E0E1A;
  --shadow: 0 1px 2px rgba(0,0,0,.3), 0 8px 24px rgba(0,0,0,.35);
  color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font: 400 var(--step-0)/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-underline-offset: 3px; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; line-height: 1.02; letter-spacing: -.005em; margin: 0; text-wrap: balance; }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-2); line-height: 1.1; font-weight: 700; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; background: var(--red); color: #fff; padding: 10px 14px; border-radius: 8px; z-index: 100; font-weight: 600; }
.skip:focus { top: 12px; }

.wrap {
  max-width: var(--max); margin-inline: auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section-alt { background: var(--bg-alt); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font: 600 var(--step--1)/1 var(--font-body); letter-spacing: .08em; text-transform: uppercase;
  color: var(--accent);
}
.eyebrow::before { content: ""; width: 18px; height: 3px; border-radius: 2px; background: var(--red); }
.section-head { max-width: 720px; margin-bottom: clamp(32px, 5vw, 52px); }
.section-head h2 { margin-top: 12px; }
.section-head p { margin-top: 16px; color: var(--muted); font-size: var(--step-1); }
.section-head.center { margin-inline: auto; text-align: center; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px; border-radius: 999px; border: 2px solid transparent;
  font: 600 var(--step-0)/1 var(--font-body); text-decoration: none; cursor: pointer;
  transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-red { background: var(--red); color: #fff; box-shadow: 0 6px 18px rgba(253, 32, 0, .32); }
.btn-red:hover { background: var(--red-600); }
.btn-plum { background: var(--plum); color: #fff; }
.btn-plum:hover { background: var(--plum-800); }
.btn-ghost { border-color: rgba(255,255,255,.55); color: #fff; background: transparent; }
.btn-ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.btn-outline { border-color: var(--plum); color: var(--accent); background: transparent; }
:root[data-theme="dark"] .btn-outline { border-color: var(--accent); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .btn-outline { border-color: var(--accent); } }
.btn-outline:hover { background: var(--plum-100); }
.btn-sm { min-height: 40px; padding: 8px 16px; font-size: .975rem; }

/* ---------- Encabezado ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; background: var(--band);
  transition: box-shadow .2s ease, background-color .2s ease;
}
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(42, 11, 33, .35); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; flex: none; }
.brand img { height: 62px; width: auto; margin-left: -10px; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav-links { display: flex; gap: 22px; list-style: none; }
.nav-links a { color: var(--band-fg); text-decoration: none; font-weight: 500; font-size: 1rem; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav-links a:hover, .nav-links a[aria-current="page"] { border-bottom-color: var(--red); }
.nav-actions { display: flex; gap: 10px; }
.nav-toggle {
  display: none; width: 46px; height: 46px; border-radius: 10px; border: 0;
  background: rgba(255,255,255,.1); color: #fff; cursor: pointer; align-items: center; justify-content: center;
}
.nav-toggle svg { width: 24px; height: 24px; }
.nav-toggle .i-close { display: none; }
.nav.is-open ~ .nav-toggle .i-open, .header-row.is-open .nav-toggle .i-open { display: none; }
.header-row.is-open .nav-toggle .i-close { display: block; }

@media (max-width: 1020px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0; background: var(--band-deep);
    flex-direction: column; align-items: stretch; gap: 0; padding: 8px 16px 24px;
    max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .18s ease, transform .18s ease, visibility .18s;
    box-shadow: 0 20px 40px rgba(0,0,0,.35);
  }
  .header-row.is-open .nav { transform: none; opacity: 1; visibility: visible; }
  .nav-links { flex-direction: column; gap: 0; }
  .nav-links a { display: block; padding: 14px 4px; border-bottom: 1px solid rgba(255,255,255,.1); font-size: 1.1rem; }
  .nav-links a:hover, .nav-links a[aria-current="page"] { border-bottom-color: rgba(255,255,255,.1); color: #fff; }
  .nav-actions { flex-direction: column; margin-top: 18px; }
  .nav-actions .btn { width: 100%; min-height: 50px; }
}

/* ---------- Héroe ---------- */
.hero {
  position: relative; overflow: hidden; color: var(--band-fg);
  background:
    radial-gradient(900px 520px at 88% 18%, rgba(253, 32, 0, .22), transparent 60%),
    radial-gradient(700px 600px at 0% 100%, rgba(181, 75, 169, .35), transparent 60%),
    linear-gradient(180deg, var(--band) 0%, var(--band-deep) 100%);
  padding: clamp(40px, 7vw, 88px) 0 clamp(120px, 14vw, 170px);
}
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero .eyebrow { color: #FFD3C9; }
.hero h1 { font-size: var(--step-4); margin-top: 18px; font-weight: 800; letter-spacing: -.01em; }
.hero h1 em { font-style: normal; color: #FF7A5C; }
.hero-lead { margin-top: 20px; font-size: var(--step-1); color: var(--band-muted); max-width: 34em; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-note { margin-top: 18px; font-size: var(--step--1); color: var(--band-muted); display: flex; flex-wrap: wrap; gap: 6px 18px; }
.hero-note span { display: inline-flex; align-items: center; gap: 6px; }
.hero-note svg { width: 16px; height: 16px; color: #7BE0B8; }
.hero-visual { position: relative; display: flex; justify-content: center; }
.hero-ant { position: absolute; width: 220px; right: -30px; top: -40px; opacity: .14; transform: rotate(14deg); pointer-events: none; }

/* Teléfono (maqueta en CSS, sin datos reales) */
.phone {
  position: relative; width: min(300px, 78vw); aspect-ratio: 9 / 19; border-radius: 42px;
  background: #121014; padding: 10px; box-shadow: var(--shadow-lg), inset 0 0 0 2px #2b2530;
}
.phone::before { content: ""; position: absolute; top: 18px; left: 50%; width: 90px; height: 22px; border-radius: 12px; background: #121014; transform: translateX(-50%); z-index: 3; }
.screen { position: relative; height: 100%; border-radius: 33px; overflow: hidden; background: #F4F1F4; display: flex; flex-direction: column; color: #222; font-size: 12px; }
.app-bar { background: #7A2A6B; color: #fff; padding: 46px 16px 12px; display: flex; align-items: center; gap: 12px; font-weight: 600; font-size: 15px; }
.app-bar svg { width: 18px; height: 18px; }
.app-profile { background: #7A2A6B; color: #fff; text-align: center; padding: 4px 16px 34px; border-radius: 0 0 50% 50% / 0 0 28px 28px; }
.app-avatar { width: 46px; height: 46px; border-radius: 50%; background: #fff; margin: 0 auto 8px; display: grid; place-items: center; color: #7A2A6B; }
.app-avatar svg { width: 30px; height: 30px; }
.app-profile b { display: block; font-weight: 500; font-size: 13px; letter-spacing: .02em; }
.app-profile small { opacity: .8; font-size: 11px; }
.app-cards { display: grid; gap: 9px; padding: 0 12px; margin-top: -18px; }
.kpi { position: relative; border-radius: 10px; padding: 9px 12px 10px; color: #fff; overflow: hidden; box-shadow: 0 4px 12px rgba(0,0,0,.12); }
.kpi::after { content: ""; position: absolute; inset: auto -10% -30% 30%; height: 70%; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 60' preserveAspectRatio='none'%3E%3Cpath d='M0 50 L30 30 L55 42 L85 12 L110 34 L140 20 L170 38 L200 8 L200 60 L0 60Z' fill='white' fill-opacity='.18'/%3E%3C/svg%3E") no-repeat center / 100% 100%; }
.kpi span { display: block; font-size: 12px; opacity: .95; letter-spacing: .03em; }
.kpi b { display: block; font: 700 22px/1.1 var(--font-display); letter-spacing: .03em; margin-top: 2px; }
.kpi-coral { background: var(--g-coral); }
.kpi-magenta { background: var(--g-magenta); }
.kpi-mint { background: var(--g-mint); }
.kpi-blue { background: var(--g-blue); }
.app-fab { position: absolute; right: 16px; bottom: 18px; width: 46px; height: 46px; border-radius: 50%; background: #6B2160; color: #fff; display: grid; place-items: center; box-shadow: 0 6px 14px rgba(0,0,0,.3); }
.app-fab svg { width: 24px; height: 24px; }

.toast {
  position: absolute; left: max(-24px, -4vw); bottom: 7%; z-index: 4;
  display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px;
  background: #fff; color: #1E1420; border-radius: 14px; box-shadow: var(--shadow-lg);
  animation: floaty 6s ease-in-out infinite;
}
.toast .tick { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: #E4F7EF; color: #12895E; flex: none; }
.toast .tick svg { width: 20px; height: 20px; }
.toast small { display: block; color: #6B5D69; font-size: 12px; }
.toast b { font: 700 18px/1.1 var(--font-display); color: #12895E; letter-spacing: .02em; }
.toast-2 { left: auto; right: max(-18px, -3vw); bottom: auto; top: 16%; animation-delay: -3s; }
.toast-2 .tick { background: var(--plum-100); color: var(--plum); }
.toast-2 b { color: var(--plum); }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* ---------- Franja de datos ---------- */
.stats { position: relative; z-index: 2; margin-top: calc(clamp(120px, 14vw, 170px) * -1 + 40px); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow-lg); overflow: hidden; }
.stat { padding: 26px 24px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat b { display: block; font: 800 clamp(2rem, 1.5rem + 1.6vw, 2.8rem)/1 var(--font-display); color: var(--accent); }
.stat b small { font-size: .55em; font-weight: 700; margin-left: 2px; }
.stat span { display: block; margin-top: 8px; color: var(--muted); font-size: .98rem; line-height: 1.35; }

/* ---------- Ganancias ---------- */
.earn-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.check-list { list-style: none; display: grid; gap: 14px; margin-top: 26px; }
.check-list li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; align-items: start; }
.check-list svg { width: 26px; height: 26px; color: var(--red); margin-top: 1px; }
.earn-copy .btn { margin-top: 30px; }
.calc { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); padding: clamp(20px, 3vw, 32px); }
.calc h3 { font-size: 1.5rem; }
.calc-label { display: block; font-weight: 600; margin: 20px 0 10px; font-size: .98rem; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  min-width: 64px; min-height: 44px; padding: 8px 14px; border-radius: 10px; cursor: pointer;
  border: 1.5px solid var(--line); background: var(--bg); color: var(--fg);
  font: 700 1.15rem/1 var(--font-display); letter-spacing: .02em;
}
.chip:hover { border-color: var(--plum-300); }
.chip[aria-pressed="true"] { background: var(--plum); border-color: var(--plum); color: #fff; }
.calc-rows { margin-top: 22px; border-top: 1px dashed var(--line); }
.calc-row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 12px 0; border-bottom: 1px dashed var(--line); }
.calc-row span { color: var(--muted); }
.calc-row b { font: 700 1.35rem/1 var(--font-display); letter-spacing: .02em; }
.calc-row.win { border-bottom: 0; }
.calc-row.win span { color: var(--fg); font-weight: 600; }
.calc-row.win b { font-size: 2rem; color: #12895E; }
:root[data-theme="dark"] .calc-row.win b { color: #6FE0B2; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .calc-row.win b { color: #6FE0B2; } }
.range-wrap { display: flex; align-items: center; gap: 14px; }
.range-wrap output { min-width: 3ch; font: 700 1.4rem/1 var(--font-display); color: var(--accent); text-align: right; }
input[type="range"] { flex: 1; accent-color: var(--plum); height: 32px; }
.calc-month { margin-top: 18px; padding: 16px 18px; border-radius: 12px; background: var(--plum-100); display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.calc-month span { font-weight: 600; }
.calc-month b { font: 800 2rem/1 var(--font-display); color: var(--accent); }
.fine { margin-top: 14px; font-size: .875rem; color: var(--muted); }

/* ---------- Servicios ---------- */
.tabs { display: inline-flex; flex-wrap: wrap; gap: 6px; padding: 6px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); margin-bottom: 28px; }
.tab { min-height: 44px; padding: 8px 18px; border-radius: 999px; border: 0; background: transparent; color: var(--fg); font: 600 1rem/1 var(--font-body); cursor: pointer; }
.tab[aria-selected="true"] { background: var(--plum); color: #fff; }
.tab-panel[hidden] { display: none; }
.panel-intro { color: var(--muted); margin-bottom: 20px; max-width: 60ch; }
.logo-grid { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.logo-grid li { background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; transition: transform .15s ease, box-shadow .15s ease; }
.logo-grid li:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.logo-grid img { width: 100%; aspect-ratio: 2 / 1; object-fit: contain; }
.group-title { font: 700 1.25rem/1.2 var(--font-display); letter-spacing: .02em; margin: 30px 0 14px; color: var(--accent); }
.group-title:first-child { margin-top: 0; }
.more-note { margin-top: 22px; color: var(--muted); }

/* ---------- Canales de venta ---------- */
.channels { display: grid; grid-template-columns: 1.25fr 1fr; gap: 24px; }
.channel { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; display: flex; flex-direction: column; }
.channel-visual { background: linear-gradient(160deg, var(--plum-100), transparent 70%), var(--bg-alt); padding: 28px 24px 0; display: flex; justify-content: center; align-items: flex-end; min-height: 290px; }
.channel-body { padding: 26px 28px 30px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.channel-body p { color: var(--muted); }
.channel-body .check-list { margin-top: 4px; gap: 10px; }
.channel-body .btn { align-self: flex-start; margin-top: auto; }
.channel-body .check-list svg { width: 22px; height: 22px; }
.channel-body .check-list li { grid-template-columns: 22px 1fr; }

.browser { width: 100%; max-width: 560px; background: #fff; border-radius: 12px 12px 0 0; box-shadow: var(--shadow-lg); overflow: hidden; color: #222; }
.browser-bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; background: #2D3A4A; }
.browser-bar i { width: 9px; height: 9px; border-radius: 50%; background: #FF6159; }
.browser-bar i:nth-child(2) { background: #FFBD2E; }
.browser-bar i:nth-child(3) { background: #28C941; }
.browser-bar span { margin-left: 10px; flex: 1; background: rgba(255,255,255,.12); color: #DCE4EE; border-radius: 6px; font-size: 11px; padding: 4px 10px; }
.pv-top { background: #2D3A4A; color: #fff; display: flex; justify-content: space-between; align-items: center; padding: 6px 14px 10px; font-size: 11px; }
.pv-top img { height: 22px; width: auto; }
.pv-body { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 14px; background: #F2F3F5; }
.pv-body .kpi { padding: 8px 10px; }
.pv-body .kpi b { font-size: 18px; }
.pv-steps { grid-column: 1 / -1; background: #fff; border-radius: 6px; overflow: hidden; box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.pv-steps-head { background: #1C2733; color: #fff; display: flex; gap: 14px; padding: 7px 10px; font-size: 10.5px; }
.pv-steps-head span:first-child { color: #fff; font-weight: 600; }
.pv-steps-head span { color: #9FB0C2; }
.pv-logos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; padding: 10px; }
.pv-logos img { border: 1px solid #E5E7EB; border-radius: 4px; aspect-ratio: 2 / 1; object-fit: contain; width: 100%; }

.phone-sm { width: 220px; aspect-ratio: 9 / 15.5; border-radius: 34px 34px 0 0; padding: 9px 9px 0; }
.phone-sm::before { top: 16px; width: 70px; height: 18px; }
.phone-sm .screen { border-radius: 26px 26px 0 0; }
.phone-sm .app-bar { padding: 40px 14px 10px; font-size: 13px; }
.stepper { background: #7A2A6B; display: flex; justify-content: space-around; padding: 4px 8px 10px; color: rgba(255,255,255,.65); font-size: 9.5px; }
.stepper span { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.stepper i { width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.65); display: grid; place-items: center; font-style: normal; font-size: 9px; }
.stepper .on { color: #fff; }
.stepper .on i { background: #fff; color: #7A2A6B; border-color: #fff; font-weight: 700; }
.app-logos { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 10px; }
.app-logos img { background: #fff; border-radius: 6px; box-shadow: 0 1px 4px rgba(0,0,0,.12); aspect-ratio: 2 / 1; object-fit: contain; width: 100%; }

/* ---------- Tipos de negocio ---------- */
.biz-grid { list-style: none; display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.biz { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 20px 12px 18px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; font-weight: 600; font-size: .98rem; line-height: 1.25; }
.biz-ico { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; color: #fff; }
.biz-ico svg { width: 26px; height: 26px; }
.biz:nth-child(4n+1) .biz-ico { background: var(--g-magenta); }
.biz:nth-child(4n+2) .biz-ico { background: var(--g-coral); }
.biz:nth-child(4n+3) .biz-ico { background: var(--g-mint); }
.biz:nth-child(4n+4) .biz-ico { background: var(--g-blue); }

/* ---------- Pasos ---------- */
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: step; }
.step { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 30px 26px 28px; }
.step-num { font: 800 4.4rem/.8 var(--font-display); color: var(--red); display: block; }
.step h3 { margin-top: 18px; }
.step p { margin-top: 10px; color: var(--muted); }
.step a { font-weight: 600; }
.steps-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 40px; }

/* ---------- Banda de la app ---------- */
.app-band { background: linear-gradient(120deg, var(--band-deep), var(--band)); color: var(--band-fg); overflow: hidden; position: relative; }
.app-band-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: 40px; align-items: center; padding-block: clamp(48px, 7vw, 80px); }
.app-band h2 { color: #fff; }
.app-band p { margin-top: 16px; color: var(--band-muted); font-size: var(--step-1); max-width: 36em; }
.app-band .btn { margin-top: 28px; }
.gplay { background: #000; color: #fff; border-radius: 12px; padding: 10px 20px 10px 16px; min-height: 58px; border: 1px solid rgba(255,255,255,.35); }
.gplay svg { width: 28px; height: 28px; }
.gplay span { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.05; text-align: left; }
.gplay small { font-size: .72rem; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; opacity: .85; }
.gplay b { font-size: 1.3rem; font-weight: 600; }
.gplay:hover { background: #111; }
.qr { justify-self: center; background: #fff; border-radius: 18px; padding: 16px; text-align: center; color: #3D1031; box-shadow: var(--shadow-lg); }
.qr img { width: 170px; height: 170px; }
.qr small { display: block; margin-top: 8px; font-weight: 600; font-size: .9rem; }

/* ---------- Contacto ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.contact-card { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 24px 22px; display: flex; flex-direction: column; gap: 8px; }
.contact-card .ico { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--plum-100); color: var(--accent); margin-bottom: 8px; }
.contact-card .ico svg { width: 24px; height: 24px; }
.contact-card .ico.wa { background: #25D366; color: #fff; }
.contact-card h3 { font-size: 1.35rem; }
.contact-card p, .contact-card a { color: var(--muted); }
.contact-card a { font-weight: 600; color: var(--link); text-decoration: none; overflow-wrap: anywhere; }
.contact-card a:hover { text-decoration: underline; }
.social { display: flex; gap: 10px; margin-top: 28px; justify-content: center; }
.social a { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--plum-100); color: var(--accent); }
.social a:hover { background: var(--plum); color: #fff; }
.social svg { width: 20px; height: 20px; }

/* ---------- Pie ---------- */
.site-footer { background: var(--plum-950); color: #E8D5E2; padding: 52px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer-grid img { height: 76px; width: auto; margin-left: -10px; }
.footer-grid p { margin-top: 12px; color: #BFA6B7; font-size: .95rem; max-width: 30ch; }
.footer-grid h3 { font: 600 .82rem/1 var(--font-body); letter-spacing: .1em; text-transform: uppercase; color: #fff; margin-bottom: 14px; }
.footer-grid ul { list-style: none; display: grid; gap: 8px; }
.footer-grid a { color: #E8D5E2; text-decoration: none; font-size: .98rem; }
.footer-grid a:hover { color: #fff; text-decoration: underline; }
.footer-bottom { margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .9rem; color: #A88E9F; }
.footer-bottom .social { margin: 0; }
.footer-bottom .social a { width: 38px; height: 38px; background: rgba(255,255,255,.08); color: #fff; }
.footer-bottom .social a:hover { background: var(--red); }
.footer-bottom .social svg { width: 17px; height: 17px; }

/* WhatsApp flotante */
.wa-float {
  position: fixed; right: max(18px, env(safe-area-inset-right, 0px)); bottom: max(18px, env(safe-area-inset-bottom, 0px)); z-index: 40;
  width: 58px; height: 58px; border-radius: 50%; background: #25D366; color: #fff; display: grid; place-items: center;
  box-shadow: 0 8px 22px rgba(0,0,0,.28); transition: transform .15s ease;
}
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 30px; height: 30px; }

/* ---------- Páginas interiores ---------- */
.page-hero { background: linear-gradient(180deg, var(--band), var(--band-deep)); color: var(--band-fg); padding: clamp(44px, 7vw, 80px) 0 clamp(40px, 6vw, 64px); position: relative; overflow: hidden; }
.page-hero h1 { font-size: clamp(2.4rem, 1.6rem + 3.4vw, 4rem); font-weight: 800; margin-top: 14px; }
.page-hero p { margin-top: 14px; color: var(--band-muted); font-size: var(--step-1); max-width: 40em; }
.page-hero .eyebrow { color: #FFD3C9; }
.page-hero .hero-ant { width: 180px; right: 4%; top: 10%; }

.about-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.about-grid h2 { margin-bottom: 18px; }
.about-grid p + p { margin-top: 14px; }
.about-grid p { color: var(--muted); font-size: 1.1rem; }
.about-aside { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 28px; box-shadow: var(--shadow); }
.about-aside img { width: 230px; margin: 0 0 12px -10px; }
.about-aside p { font-size: 1rem; }
.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.mv { border-radius: 20px; padding: 32px 30px; color: #fff; }
.mv h2 { font-size: 2.2rem; color: #fff; }
.mv p { margin-top: 12px; font-size: 1.1rem; color: rgba(255,255,255,.92); }
.mv-1 { background: var(--g-magenta); }
.mv-2 { background: var(--g-blue); }
.cta-band { text-align: center; }
.cta-band p { color: var(--muted); margin: 14px auto 0; max-width: 40em; font-size: var(--step-1); }
.cta-band .steps-cta { margin-top: 28px; }

.legal { padding: clamp(40px, 6vw, 72px) 0 clamp(56px, 8vw, 96px); }
.legal-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 48px; align-items: start; }
.legal-toc { position: sticky; top: calc(var(--header-h) + 20px); font-size: .95rem; }
.legal-toc h2 { font: 600 .8rem/1 var(--font-body); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.legal-toc ol { margin: 0; padding-left: 20px; display: grid; gap: 8px; color: var(--muted); }
.legal-toc a { color: var(--fg); text-decoration: none; }
.legal-toc a:hover { color: var(--link); text-decoration: underline; }
.legal-body { max-width: 760px; }
.legal-body h2 { font-size: 1.85rem; margin: 44px 0 14px; scroll-margin-top: calc(var(--header-h) + 16px); }
.legal-body h2:first-child { margin-top: 0; }
.legal-body h3 { font-size: 1.3rem; margin: 26px 0 10px; }
.legal-body p, .legal-body li { color: var(--fg); }
.legal-body p + p { margin-top: 12px; }
.legal-body ul, .legal-body ol { padding-left: 22px; margin: 12px 0; display: grid; gap: 8px; }
.legal-meta { color: var(--muted); font-size: .95rem; margin-bottom: 30px; }
.callout { margin: 20px 0; padding: 18px 20px; border-radius: 14px; background: var(--plum-100); border-left: 4px solid var(--plum); }
.callout p { margin: 0; }
.callout.warn { background: #FFF1EC; border-left-color: var(--red); color: #4A1A10; }
:root[data-theme="dark"] .callout.warn { background: #3A1610; color: #FFDCD2; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .callout.warn { background: #3A1610; color: #FFDCD2; } }
.data-table { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: .98rem; }
.data-table th, .data-table td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.data-table th { background: var(--bg-alt); font-weight: 600; }
.del-steps { list-style: none; padding: 0 !important; counter-reset: d; display: grid; gap: 14px !important; }
.del-steps li { counter-increment: d; position: relative; padding: 18px 18px 18px 64px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.del-steps li::before { content: counter(d); position: absolute; left: 18px; top: 16px; width: 32px; height: 32px; border-radius: 50%; background: var(--plum); color: #fff; font: 700 1.1rem/32px var(--font-display); text-align: center; }
.del-steps b { display: block; margin-bottom: 4px; }
.contact-inline { display: flex; flex-wrap: wrap; gap: 12px; margin: 18px 0; }

.notfound { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: 80px 0; }
.notfound b { font: 800 7rem/1 var(--font-display); color: var(--red); display: block; }
.notfound p { color: var(--muted); margin: 12px 0 26px; }

/* ---------- Responsivo ---------- */
@media (max-width: 1020px) {
  .hero-grid, .earn-grid, .about-grid { grid-template-columns: 1fr; }
  .hero-visual { margin-top: 12px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .channels { grid-template-columns: 1fr; }
  .biz-grid { grid-template-columns: repeat(4, 1fr); }
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .legal-layout { grid-template-columns: 1fr; gap: 24px; }
  .legal-toc { position: static; background: var(--bg-alt); border-radius: 14px; padding: 18px 20px; }
}
@media (max-width: 720px) {
  :root { --header-h: 64px; }
  .brand img { height: 54px; }
  .steps, .mv-grid { grid-template-columns: 1fr; }
  .biz-grid { grid-template-columns: repeat(2, 1fr); }
  .app-band-grid { grid-template-columns: 1fr; }
  .qr { justify-self: start; }
  .hero-ctas .btn { flex: 1 1 100%; }
  .toast { left: 0; }
  .toast-2 { display: none; }
  .logo-grid { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 10px; }
  .tabs { display: flex; border-radius: 16px; }
  .tab { flex: 1 1 auto; }
  .data-table, .data-table tbody, .data-table tr, .data-table td, .data-table th { display: block; width: 100%; }
  .data-table thead { display: none; }
  .data-table tr { border: 1px solid var(--line); border-radius: 12px; margin-bottom: 10px; overflow: hidden; }
  .data-table td { border-bottom: 0; padding: 8px 14px; }
  .data-table td:first-child { background: var(--bg-alt); font-weight: 600; }
}
@media (max-width: 520px) {
  .stats-grid, .contact-grid, .footer-grid { grid-template-columns: 1fr; }
  .stat { border-right: 0; border-bottom: 1px solid var(--line); }
  .stat:last-child { border-bottom: 0; }
  .pv-logos { grid-template-columns: repeat(3, 1fr); }
  .pv-logos img:nth-child(n+7) { display: none; }
  .channel-visual { padding: 20px 14px 0; min-height: 0; }
  .calc-month { flex-direction: column; align-items: flex-start; }
}
mark { background: #FFE58A; color: #1E1420; padding: 0 4px; border-radius: 4px; }

/* ---------- Ganancias: bonificación y calculadoras ---------- */
.bonus { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: center; gap: 16px; background: var(--plum-100); border-radius: 20px; padding: clamp(18px, 3vw, 28px); margin-bottom: 24px; }
.bonus-step { background: var(--surface); border-radius: 14px; padding: 18px 20px; text-align: center; box-shadow: var(--shadow); }
.bonus-step span { display: block; font-weight: 600; color: var(--muted); font-size: .95rem; }
.bonus-step b { display: block; font: 800 clamp(2rem, 1.6rem + 1.4vw, 2.8rem)/1.05 var(--font-display); color: var(--accent); margin: 4px 0 2px; }
.bonus-step small { color: var(--muted); font-size: .9rem; }
.bonus-step.win { background: var(--plum); }
.bonus-step.win span, .bonus-step.win small { color: #F2D9EA; }
.bonus-step.win b { color: #fff; }
.bonus-arrow { color: var(--red); }
.bonus-arrow svg { width: 28px; height: 28px; }
.calc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.calc-sub { color: var(--muted); margin-top: 6px; }
.chip-wide { padding-inline: 16px; font-size: 1.05rem; }
.calc-compare { display: grid; grid-template-columns: 40px 1fr; gap: 12px; align-items: start; margin-top: 16px; padding: 14px 16px; border-radius: 12px; background: #EAF7F1; color: #12452F; font-size: .97rem; line-height: 1.45; }
.calc-compare .ico { width: 40px; height: 40px; border-radius: 10px; background: #12895E; color: #fff; display: grid; place-items: center; }
.calc-compare .ico svg { width: 22px; height: 22px; }
.calc-compare [data-out="saving"] { display: block; margin-top: 4px; font-weight: 700; color: #0D6B48; }
:root[data-theme="dark"] .calc-compare { background: #10342A; color: #CFF3E3; }
:root[data-theme="dark"] .calc-compare [data-out="saving"] { color: #6FE0B2; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .calc-compare { background: #10342A; color: #CFF3E3; } :root:not([data-theme="light"]) .calc-compare [data-out="saving"] { color: #6FE0B2; } }
#ganancias > .wrap > .fine { margin-top: 18px; text-align: center; max-width: 820px; margin-inline: auto; }
#ganancias .steps-cta { margin-top: 24px; }
@media (max-width: 1020px) { .calc-grid { grid-template-columns: 1fr; } }
@media (max-width: 720px) {
  .bonus { grid-template-columns: 1fr; gap: 8px; }
  .bonus-arrow { justify-self: center; transform: rotate(90deg); }
}

/* ---------- Formulario de contacto ---------- */
.contact-layout { display: grid; grid-template-columns: 1.45fr 1fr; gap: 24px; align-items: start; }
.contact-layout .contact-grid { grid-template-columns: 1fr; gap: 12px; }
.contact-layout .contact-card { display: grid; grid-template-columns: 46px 1fr; column-gap: 16px; row-gap: 2px; padding: 18px 20px; align-items: start; }
.contact-layout .contact-card .ico { grid-row: 1 / span 3; margin: 0; }
.contact-layout .contact-card > :not(.ico) { grid-column: 2; }
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: clamp(22px, 3vw, 34px); box-shadow: var(--shadow); }
.form-card h3 { font-size: 1.7rem; }
.form-intro { color: var(--muted); margin-top: 6px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; margin-top: 22px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field-full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: .95rem; }
.field label span { color: var(--red); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 11px 14px; border-radius: 10px; border: 1.5px solid var(--line);
  background: var(--bg); color: var(--fg); font: 400 1rem/1.4 var(--font-body);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--plum); box-shadow: 0 0 0 3px color-mix(in srgb, var(--plum) 22%, transparent); }
.field [aria-invalid="true"] { border-color: var(--red); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-legal { margin: 18px 0 16px; font-size: .9rem; color: var(--muted); }
.form-card .btn[disabled] { opacity: .7; cursor: progress; transform: none; }
.form-status { margin-top: 16px; padding: 14px 16px; border-radius: 12px; font-weight: 500; }
.form-status[data-type="success"] { background: #E4F7EF; color: #0D5A3C; }
.form-status[data-type="error"] { background: #FFF1EC; color: #8A1C08; }
:root[data-theme="dark"] .form-status[data-type="success"] { background: #10342A; color: #CFF3E3; }
:root[data-theme="dark"] .form-status[data-type="error"] { background: #3A1610; color: #FFDCD2; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .form-status[data-type="success"] { background: #10342A; color: #CFF3E3; }
  :root:not([data-theme="light"]) .form-status[data-type="error"] { background: #3A1610; color: #FFDCD2; }
}
@media (max-width: 1020px) { .contact-layout { grid-template-columns: 1fr; } .contact-layout .contact-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .form-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .contact-layout .contact-grid { grid-template-columns: 1fr; } }
