:root {
  --ink: #111a15; --muted: #667066; --paper: #fbfcf9; --tint: #f2f5ee; --line: #e2e7de;
  --forest: #122019; --forest-2: #1b2c22; --lime: #c8f169; --lime-deep: #4f7a1f;
  --font-body: "DM Sans", system-ui, sans-serif; --font-display: "Manrope", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body { background: var(--paper); color: var(--ink); font: 16px/1.55 var(--font-body); -webkit-font-smoothing: antialiased; overflow: hidden; }
h1, h2, h3 { margin: 0; font-family: var(--font-display); letter-spacing: -.02em; line-height: 1.1; }
p { margin: 0; }
#deck { height: 100dvh; overflow-y: auto; scroll-snap-type: y mandatory; scroll-behavior: smooth; }
.slide { min-height: 100dvh; scroll-snap-align: start; display: grid; align-items: center; padding: 56px 0; }
.wrap { width: min(1100px, 100% - 40px); margin-inline: auto; display: grid; gap: 22px; }
.wrap.two { grid-template-columns: 1.1fr .9fr; align-items: center; gap: 48px; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--lime-deep); }
h2 { font-size: clamp(30px, 4.4vw, 50px); max-width: 860px; }
.lead { font-size: clamp(17px, 2vw, 21px); color: var(--muted); max-width: 720px; }
.lead.small { font-size: 16px; }
.dark { background: var(--forest); color: #eef4ec; }
.dark .eyebrow { color: var(--lime); }
.dark .lead, .dark p { color: #b8c4b9; }
.dark h2, .dark h3 { color: #fff; }

/* Portada y cierre */
.hero { background: radial-gradient(1200px 600px at 85% -10%, #c8f16955, transparent 60%), var(--forest); color: #fff; text-align: left; }
.hero .lead { color: #c4d0c5; }
.hero h1 { font-size: clamp(40px, 7vw, 84px); }
.hero h1 em { font-style: normal; color: var(--lime); }
.hero h2 { color: #fff; }
.brand { display: flex; align-items: center; gap: 10px; font: 800 22px var(--font-display); }
.logo { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--lime); color: var(--forest); font: 800 20px var(--font-display); }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pills span { padding: 7px 14px; border-radius: 99px; border: 1px solid #2c3d31; background: #1b2c22; font-size: 14px; font-weight: 600; }
.hint { font-size: 13px; color: #8a978c; }

/* Tarjetas */
.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.pain, .feat { padding: 22px; border: 1px solid var(--line); border-radius: 18px; background: #fff; display: grid; gap: 8px; align-content: start; }
.pain b, .feat b { font-size: 28px; }
.pain h3, .feat h3 { font-size: 18px; }
.pain p, .feat p { color: var(--muted); font-size: 15px; }
.pain { background: #fff8f3; border-color: #fde3cf; }

/* Flujo */
.flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; counter-reset: s; }
.flow li { position: relative; padding: 20px; border-radius: 18px; background: var(--forest-2); border: 1px solid #2c3d31; display: grid; gap: 8px; align-content: start; }
.flow li b { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--lime); color: var(--forest); font-weight: 800; }
.flow h3 { font-size: 17px; }
.flow p { font-size: 14.5px; }

/* Control + teléfono */
.checks { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 30px; font-size: 16.5px; }
.checks li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 22px; height: 22px; border-radius: 50%; background: var(--lime); color: var(--forest); display: grid; place-items: center; font-size: 13px; font-weight: 800; }
.phone { justify-self: center; width: min(340px, 100%); border-radius: 34px; padding: 10px; background: var(--forest); box-shadow: 0 30px 80px #111a1530; }
.ph-top { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 26px 26px 0 0; background: #0f5c4c; color: #fff; }
.ph-top small { display: block; font-size: 12px; opacity: .8; }
.ph-body { display: grid; gap: 8px; padding: 16px 12px 20px; border-radius: 0 0 26px 26px; background: #ece5dc; min-height: 360px; align-content: start; }
.ph-body p { max-width: 85%; padding: 8px 12px; border-radius: 12px; font-size: 14px; line-height: 1.4; box-shadow: 0 1px 1px #0000001a; }
.ph-body .in { background: #fff; justify-self: start; border-top-left-radius: 4px; }
.ph-body .out { background: #d9fdd3; justify-self: end; border-top-right-radius: 4px; }
.ph-body .note { justify-self: center; background: var(--forest); color: var(--lime); font-weight: 700; font-size: 13px; }

/* Calculadora */
.calc { display: grid; gap: 12px; margin-top: 8px; }
.calc label { display: grid; gap: 6px; font-size: 14.5px; font-weight: 600; color: #dfe8df; }
.calc input { width: 100%; padding: 12px 14px; border-radius: 12px; border: 1px solid #2c3d31; background: #0d1813; color: #fff; font: 600 18px var(--font-body); }
.calc input:focus { outline: none; border-color: var(--lime); box-shadow: 0 0 0 3px #c8f16933; }
.result { display: grid; gap: 4px; padding: 30px; border-radius: 24px; background: linear-gradient(160deg, #1f3524, #142219); border: 1px solid #c8f16955; }
.result span { color: #b8c4b9; font-size: 14px; }
.result strong { font: 800 44px var(--font-display); color: #fff; margin-bottom: 10px; }
.result strong.big { font-size: 60px; color: var(--lime); }
.result p { margin-top: 6px; padding-top: 14px; border-top: 1px solid #2c3d31; color: #dfe8df; font-weight: 600; }

/* Precios */
.free { padding: 14px 18px; border-radius: 14px; background: #eef9d8; border: 1px solid #d7ef9f; font-size: 15.5px; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; align-items: stretch; }
.plan { position: relative; display: grid; gap: 6px; align-content: start; padding: 24px; border: 1px solid var(--line); border-radius: 20px; background: #fff; }
.plan.top { border: 2px solid var(--forest); box-shadow: 0 24px 60px #111a1520; }
.plan .tag { position: absolute; top: -13px; left: 20px; padding: 4px 12px; border-radius: 99px; background: var(--lime); color: var(--forest); font-size: 12.5px; font-weight: 800; }
.plan h3 { font-size: 21px; }
.plan .for { color: var(--muted); font-size: 14px; }
.plan .price { margin-top: 6px; font-size: 16px; color: var(--muted); }
.plan .price b { font: 800 44px var(--font-display); color: var(--ink); }
.plan .year { font-size: 13.5px; font-weight: 700; color: var(--lime-deep); }
.plan ul { margin: 8px 0 0; padding: 0; list-style: none; display: grid; gap: 7px; }
.plan li { position: relative; padding-left: 22px; font-size: 14.5px; }
.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--lime-deep); font-weight: 800; }
.fine { font-size: 13px; color: var(--muted); }

/* Cierre */
.steps { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.steps li { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-radius: 14px; background: #1b2c22; border: 1px solid #2c3d31; font-size: 17px; font-weight: 600; }
.steps b { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--lime); color: var(--forest); }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-flex; align-items: center; min-height: 52px; padding: 0 24px; border-radius: 14px; font: 700 16px var(--font-body); text-decoration: none; }
.btn.lime { background: var(--lime); color: var(--forest); box-shadow: 0 8px 24px #c8f16940; }
.btn.ghost { border: 1px solid #3a4d40; color: #fff; }

/* Navegación */
.dots { position: fixed; right: 18px; top: 50%; transform: translateY(-50%); z-index: 5; display: grid; gap: 10px; }
.dots button { width: 10px; height: 10px; padding: 0; border-radius: 50%; border: 0; background: #9aa69b80; cursor: pointer; }
.dots button.on { background: var(--lime); box-shadow: 0 0 0 3px #12201955; transform: scale(1.3); }
.counter { position: fixed; left: 20px; bottom: 18px; z-index: 5; font-size: 13px; font-weight: 700; color: #8a978c; }
.nav-btns { position: fixed; right: 18px; bottom: 18px; z-index: 5; display: flex; gap: 8px; }
.nav-btns button { width: 44px; height: 44px; border-radius: 12px; border: 1px solid #ffffff30; background: #122019d9; color: #fff; font-size: 18px; cursor: pointer; }
.nav-btns button:disabled { opacity: .35; cursor: default; }

@media (max-width: 900px) {
  .grid4, .grid3, .plans { grid-template-columns: 1fr 1fr; }
  .flow { grid-template-columns: 1fr 1fr; }
  .wrap.two { grid-template-columns: 1fr; gap: 28px; }
  .phone { display: none; }
}
@media (max-width: 600px) {
  .slide { padding: 40px 0 76px; }
  .wrap { width: calc(100% - 32px); gap: 16px; }
  .grid4, .grid3, .plans, .flow { grid-template-columns: 1fr; }
  .dots { display: none; }
  .pain, .feat, .flow li { padding: 16px; }
  .result strong.big { font-size: 46px; }
}
@media print {
  body { overflow: visible; } #deck { height: auto; overflow: visible; }
  .slide { break-after: page; min-height: auto; padding: 32px 0; }
  .dots, .nav-btns, .counter, .hint { display: none; }
}

.plans.plans-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .plans.plans-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .plans.plans-4 { grid-template-columns: 1fr; } }
