:root {
  --lime: #c8f542; --lime-d: #a7d61c; --lime-soft: #f1fbd5;
  --ink: #0d0f0c; --ink-2: #1b1e19; --gray: #5c6158; --line: #e6e9e0; --soft: #f6f8f1; --white: #fff;
  --font: 'Montserrat', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --r: 22px; --ease: cubic-bezier(.2, .7, .2, 1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--white); line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: clip; }
svg { display: block; }
a { color: inherit; }
.wrap { max-width: 1180px; margin: 0 auto; padding-left: clamp(16px, 4vw, 32px); padding-right: clamp(16px, 4vw, 32px); }
h1, h2, h3 { margin: 0; line-height: 1.08; }
mark { background: linear-gradient(transparent 58%, var(--lime) 58%); color: inherit; font-style: italic; font-weight: 800; padding: 0 .08em; }

/* Navegación */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .3s, box-shadow .3s; }
.nav.is-solid { background: rgba(255, 255, 255, .9); backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--line); }
.nav__in { display: flex; align-items: center; gap: 24px; padding-top: 14px; padding-bottom: 14px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.logo__mark { width: 38px; height: 38px; border-radius: 12px; background: var(--lime); display: grid; place-items: center; }
.logo__mark svg { width: 22px; height: 22px; fill: none; stroke: var(--ink); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.logo__txt { font-weight: 600; letter-spacing: -.02em; font-size: 17px; }
.logo__txt b { font-weight: 900; }
.nav__links { display: flex; gap: 24px; margin-left: auto; font-size: 14.5px; font-weight: 600; }
.nav__links a { text-decoration: none; color: var(--gray); }
.nav__links a:hover { color: var(--ink); }

/* Botones */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 24px; border-radius: 999px; font-weight: 700; text-decoration: none; border: 2px solid transparent; transition: transform .2s var(--ease), background .2s, color .2s, box-shadow .2s, border-color .2s; cursor: pointer; font-size: 15px; }
.btn:hover { transform: translateY(-2px); }
.btn--sm { padding: 9px 18px; font-size: 14px; }
.btn--lg { padding: 17px 30px; font-size: 16px; }
.btn--block { width: 100%; }
.btn--lime { background: var(--lime); color: var(--ink); box-shadow: 0 12px 24px -14px rgba(167, 214, 28, .9); }
.btn--lime:hover { background: var(--lime-d); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--ink-2); }
.btn--line { border-color: var(--ink); color: var(--ink); }
.btn--line:hover { background: var(--ink); color: #fff; }
.btn--line-dark { border-color: var(--ink); color: var(--ink); }
.btn--line-dark:hover { background: var(--ink); color: #fff; }

/* Portada (escritorio: fija mientras se hace scroll y avanza la simulación) */
.hero { position: relative; height: 260vh; background: radial-gradient(60% 50% at 80% 30%, var(--lime-soft), transparent 70%), var(--white); }
.hero__sticky { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; justify-content: center; padding-top: 70px; overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; width: 100%; }
.kicker { text-transform: uppercase; letter-spacing: .18em; font-size: 12px; font-weight: 800; color: var(--gray); margin: 0 0 16px; }
.kicker--lime { color: var(--lime); }
.hero h1 { font-weight: 800; font-size: clamp(34px, 3.6vw, 50px); letter-spacing: -.035em; }
.lead { font-size: clamp(16px, 1.4vw, 18px); color: var(--gray); margin: 20px 0 28px; max-width: 540px; font-weight: 500; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; }
.cta-row--center { justify-content: center; }
.ticks { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 14px; color: var(--gray); font-weight: 500; }
.ticks li::before { content: '✓ '; color: var(--ink); background: var(--lime); border-radius: 50%; font-size: 11px; padding: 1px 5px; margin-right: 6px; font-weight: 800; }
.hero__hint { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); font-size: 13px; color: var(--gray); font-weight: 600; transition: opacity .3s; }
.hero.is-done .hero__hint { opacity: 0; }

/* Ventana simulada */
.mock { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 40px 80px -40px rgba(13, 15, 12, .35); overflow: hidden; will-change: transform; }
.mock__bar { display: flex; align-items: center; gap: 6px; padding: 11px 14px; background: var(--soft); border-bottom: 1px solid var(--line); font-size: 12px; color: var(--gray); }
.mock__bar i { width: 10px; height: 10px; border-radius: 50%; background: #dcdfd6; }
.mock__bar span { margin-left: 10px; background: #fff; padding: 3px 12px; border-radius: 8px; border: 1px solid var(--line); }
.mock__body { padding: 20px; min-height: 380px; }
.mock__title { font-weight: 800; font-size: 22px; letter-spacing: -.02em; margin: 0 0 14px; }
.mock__search { display: grid; grid-template-columns: 1fr 1fr 1fr auto; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; padding: 5px 5px 5px 8px; }
.f { padding: 6px 12px; border-radius: 999px; display: flex; flex-direction: column; font-size: 12.5px; line-height: 1.25; transition: background .3s; position: relative; }
.f + .f { border-left: 1px solid var(--line); }
.f small { font-weight: 800; font-size: 10.5px; text-transform: uppercase; letter-spacing: .06em; }
.f .ph { color: #a3a89e; }
.f b { display: none; font-weight: 700; }
.go { background: var(--ink); color: #fff; border-radius: 999px; padding: 11px 18px; font-weight: 700; font-size: 13px; display: flex; align-items: center; gap: 8px; }
.spin { display: none; width: 14px; height: 14px; border: 2px solid var(--lime); border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.mock__cal { max-height: 0; overflow: hidden; transition: max-height .45s var(--ease), margin .45s; }
.cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; padding: 12px; border: 1px solid var(--line); border-radius: 16px; width: 290px; font-size: 12px; text-align: center; }
.cal span { font-weight: 800; color: var(--gray); font-size: 10.5px; }
.cal i { font-style: normal; padding: 6px 0; border-radius: 8px; transition: background .3s, color .3s; }
.mock__status { margin: 14px 0 8px; font-size: 13px; font-weight: 700; min-height: 20px; }
.mock__status .st { display: none; }
.st--search { color: var(--gray); }
.st--found { color: var(--ink); }
.st--found::before { content: ''; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--lime-d); margin-right: 8px; }
.mock__results { display: grid; gap: 8px; }
.res { display: grid; grid-template-columns: 54px 1fr auto; gap: 12px; align-items: center; border: 1px solid var(--line); border-radius: 14px; padding: 8px; font-size: 13px; opacity: 0; transform: translateY(14px); transition: opacity .45s var(--ease), transform .45s var(--ease), border-color .3s, box-shadow .3s; }
.res b, .res small { display: block; }
.res small { color: var(--gray); font-size: 11.5px; }
.res em { font-style: normal; font-weight: 800; }
.res__img { height: 44px; border-radius: 10px; }
.ph1 { background: linear-gradient(135deg, #b7d6a6, #3f6b4d); }
.ph2 { background: linear-gradient(135deg, #2c3d55, #a9b8d6); }
.ph3 { background: linear-gradient(135deg, #d7c3a1, #7a5c3c); }
.mock__toast { position: absolute; right: 16px; bottom: 16px; background: var(--ink); color: #fff; font-weight: 700; font-size: 13px; padding: 10px 14px; border-radius: 12px; display: flex; gap: 8px; align-items: center; opacity: 0; transform: translateY(10px); transition: opacity .4s, transform .4s var(--ease); }
.mock__toast span { background: var(--lime); color: var(--ink); width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; }

/* Etapas de la simulación (clases s1…s7 acumulativas) */
.mock.s1 .f--in, .mock.s2 .f--out { background: var(--lime-soft); }
.mock.s1 .mock__cal { max-height: 200px; margin-top: 12px; }
.mock.s1 .f--in .ph, .mock.s2 .f--out .ph, .mock.s3 .f--g .ph { display: none; }
.mock.s1 .f--in b, .mock.s2 .f--out b, .mock.s3 .f--g b { display: block; }
.mock.s1 .cal .d1 { background: var(--ink); color: #fff; }
.mock.s2 .cal .r { background: var(--lime-soft); }
.mock.s2 .cal .d2 { background: var(--ink); color: #fff; }
.mock.s3 .f--g { background: var(--lime-soft); }
.mock.s3 .f--out { background: none; }
.mock.s4 .mock__cal { max-height: 0; margin-top: 0; }
.mock.s4 .f { background: none; }
.mock.s4 .spin { display: inline-block; }
.mock.s4 .go__txt::after { content: 'ndo'; }
.mock.s4 .st--search { display: inline; }
.mock.s5 .st--search, .mock.s5 .spin { display: none; }
.mock.s5 .go__txt::after { content: ''; }
.mock.s5 .st--found { display: inline; }
.mock.s5 .res--1, .mock.s6 .res--2, .mock.s6 .res--3 { opacity: 1; transform: none; }
.mock.s6 .res--3 { transition-delay: .12s; }
.mock.s7 .res--2 { border-color: var(--ink); box-shadow: 0 0 0 3px var(--lime); }
.mock.s7 .mock__toast { opacity: 1; transform: none; }

/* Franja */
.band { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 18px 0; }
.band__in { display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: center; align-items: center; color: var(--gray); font-size: 14px; font-weight: 500; }
.band__in b { color: var(--ink); font-weight: 800; }
.band__in i { width: 6px; height: 6px; background: var(--lime-d); border-radius: 50%; }

/* Secciones */
.section { padding: clamp(72px, 9vw, 120px) 0; }
.section--soft { background: var(--soft); }
.section--dark { background: var(--ink); color: #fff; }
.h2 { font-weight: 800; font-size: clamp(30px, 3.8vw, 48px); letter-spacing: -.03em; max-width: 800px; margin-bottom: 38px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 26px; }
.card { border: 1px solid var(--line); border-radius: var(--r); padding: 26px; }
.card h3 { font-size: 19px; font-weight: 800; margin-bottom: 8px; letter-spacing: -.02em; }
.card p { margin: 0; color: var(--gray); font-weight: 500; }

.calc { display: grid; grid-template-columns: 1.4fr 1fr; background: var(--ink); color: #fff; border-radius: 28px; overflow: hidden; }
.calc__in { padding: 32px; display: grid; gap: 20px; }
.calc label { display: grid; grid-template-columns: 1fr auto; gap: 8px; font-size: 15px; font-weight: 600; }
.calc output { font-weight: 800; color: var(--lime); }
.calc input { grid-column: 1 / -1; accent-color: var(--lime); width: 100%; }
.calc__out { background: var(--lime); color: var(--ink); padding: 32px; display: flex; flex-direction: column; justify-content: center; gap: 2px; font-weight: 600; }
.calc__out strong { font-size: clamp(42px, 5vw, 60px); font-weight: 900; letter-spacing: -.04em; line-height: 1.05; }
.calc__out small { opacity: .7; margin-top: 10px; font-weight: 500; }

/* Funciones con íconos */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.feat { position: relative; background: #fff; border-radius: var(--r); padding: 24px; border: 1px solid var(--line); transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s; overflow: hidden; }
.feat::after { content: ''; position: absolute; inset: auto -40% -60% auto; width: 160px; height: 160px; border-radius: 50%; background: var(--lime); opacity: 0; transform: scale(.4); transition: opacity .4s, transform .5s var(--ease); z-index: 0; }
.feat > * { position: relative; z-index: 1; }
.feat__ico { width: 48px; height: 48px; border-radius: 14px; background: var(--soft); border: 1px solid var(--line); display: grid; place-items: center; margin-bottom: 16px; transition: background .35s, transform .45s var(--ease), border-color .35s; }
.feat__ico svg { width: 24px; height: 24px; fill: none; stroke: var(--ink); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.feat__ico svg .fill { fill: var(--ink); stroke: none; }
.feat h3 { font-size: 16.5px; font-weight: 800; margin-bottom: 8px; letter-spacing: -.01em; }
.feat p { margin: 0; color: var(--gray); font-size: 14.5px; font-weight: 500; }
.feat:hover { transform: translateY(-6px); box-shadow: 0 24px 40px -26px rgba(13, 15, 12, .4); border-color: var(--ink); }
.feat:hover::after { opacity: .35; transform: scale(1); }
.feat:hover .feat__ico { background: var(--lime); border-color: var(--lime); transform: rotate(-8deg) scale(1.08); }

/* Ejemplo en vivo: teléfono con la web real */
.example { display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: center; }
.phone { position: relative; justify-self: center; width: 290px; padding: 14px; background: var(--ink); border-radius: 46px; box-shadow: 0 50px 80px -40px rgba(13, 15, 12, .55), inset 0 0 0 2px #2a2e27; }
.phone__notch { position: absolute; top: 20px; left: 50%; transform: translateX(-50%); width: 84px; height: 22px; background: var(--ink); border-radius: 999px; z-index: 2; }
.phone__screen { width: 262px; height: 520px; border-radius: 34px; overflow: hidden; background: #f7f8fd; position: relative; display: flex; flex-direction: column; color: #1d1f24; }
.phone__status { height: 34px; flex: none; display: flex; align-items: center; justify-content: space-between; padding: 0 22px 0 26px; font-size: 12px; font-weight: 700; }
.phone__page { margin: 0 8px; border-radius: 12px; overflow: hidden; background: #fff; aspect-ratio: 438 / 596; flex: none; box-shadow: 0 1px 0 rgba(13, 15, 12, .06), 0 0 0 1px rgba(13, 15, 12, .05); }
.phone__page video { width: 100%; height: 100%; object-fit: cover; display: block; }
.phone__bar { flex: 1; display: flex; flex-direction: column; align-items: center; padding: 12px 14px 0; gap: 14px; position: relative; }
.phone__url { width: 100%; height: 34px; border-radius: 11px; background: #fff; box-shadow: 0 1px 4px rgba(13, 15, 12, .08); display: flex; align-items: center; justify-content: center; gap: 5px; font-size: 11.5px; font-weight: 500; color: #3a3d44; white-space: nowrap; overflow: hidden; }
.phone__url svg { color: #8a8d94; flex: none; }
.phone__tools { width: 100%; display: flex; justify-content: space-between; padding: 0 8px; color: #2f6fe4; }
.phone__tools svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.phone__home { position: absolute; bottom: 8px; left: 50%; transform: translateX(-50%); width: 96px; height: 4px; border-radius: 4px; background: #1d1f24; }

/* Pasos: en escritorio la sección queda fija y avanza lento con el scroll */
.steps-sec { padding: 0; }
.steps-sec__sticky { padding-top: clamp(72px, 9vw, 120px); padding-bottom: clamp(72px, 9vw, 120px); }
@media (min-width: 1001px) {
  .steps-sec { height: 300vh; }
  .steps-sec__sticky { position: sticky; top: 0; min-height: 100vh; display: flex; flex-direction: column; justify-content: center; }
}

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; }
.steps__line { position: absolute; left: 0; right: 0; top: 19px; height: 3px; background: #2a2e27; border-radius: 3px; z-index: 0; }
.steps__line span { display: block; height: 100%; width: 0; background: var(--lime); border-radius: 3px; transition: width .35s var(--ease); }
.step { position: relative; z-index: 1; padding-top: 0; opacity: .3; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.step__n { display: inline-block; background: #2a2e27; color: #fff; font-weight: 800; font-size: 13px; letter-spacing: .04em; padding: 9px 16px; border-radius: 999px; margin-bottom: 18px; transition: background .4s, color .4s, transform .4s var(--ease); }
.step h3 { font-size: 20px; font-weight: 800; margin-bottom: 8px; letter-spacing: -.02em; }
.step p { margin: 0; color: #b9beb2; font-weight: 500; }
.step.is-on { opacity: 1; transform: none; }
.step.is-on .step__n { background: var(--lime); color: var(--ink); transform: scale(1.06); }

/* Planes */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; max-width: 920px; }
.plan { border: 1.5px solid var(--line); border-radius: 28px; padding: 32px; position: relative; display: flex; flex-direction: column; background: #fff; transition: transform .3s var(--ease), box-shadow .3s; }
.plan:hover { transform: translateY(-4px); box-shadow: 0 30px 50px -36px rgba(13, 15, 12, .45); }
.plan--pro { background: var(--ink); color: #fff; border-color: var(--ink); }
.plan__badge { position: absolute; top: -13px; right: 26px; background: var(--lime); color: var(--ink); font-size: 12px; font-weight: 800; padding: 5px 12px; border-radius: 999px; }
.plan h3 { font-size: 26px; font-weight: 900; letter-spacing: -.03em; }
.plan__for { color: var(--gray); margin: 6px 0 18px; font-weight: 500; }
.plan--pro .plan__for { color: #b9beb2; }
.plan__price { margin: 0; display: flex; align-items: baseline; gap: 6px; font-weight: 600; }
.plan__price b { font-size: 46px; font-weight: 900; letter-spacing: -.04em; }
.plan__setup { margin: 4px 0 20px; font-size: 14.5px; font-weight: 500; opacity: .8; }
.plan ul { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 10px; flex: 1; font-weight: 500; font-size: 15px; }
.plan li::before { content: '✓'; display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: var(--lime); color: var(--ink); font-size: 11px; font-weight: 900; margin-right: 10px; }
.fine { color: var(--gray); font-size: 14px; margin-top: 20px; font-weight: 500; }

/* Preguntas */
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 18px 22px; margin-bottom: 12px; max-width: 840px; transition: border-color .3s; }
.faq details[open] { border-color: var(--ink); }
.faq summary { cursor: pointer; font-weight: 700; font-size: 16.5px; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; width: 26px; height: 26px; flex: none; border-radius: 50%; background: var(--lime); display: grid; place-items: center; font-weight: 800; transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--gray); margin: 12px 0 0; font-weight: 500; }

.cta { background: var(--lime); text-align: center; }
.cta h2 { font-size: clamp(32px, 4.4vw, 54px); font-weight: 900; letter-spacing: -.035em; }
.cta p { font-size: 18px; margin: 14px 0 28px; font-weight: 500; }
.cta .btn--lime { background: var(--ink); color: #fff; box-shadow: none; }
.cta .btn--lime:hover { background: var(--ink-2); }

.foot { background: var(--ink); color: #b9beb2; padding: 26px 0; font-size: 14px; font-weight: 500; }
.foot__in { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; align-items: center; }
.foot .logo__txt { color: #fff; }

.wa { position: fixed; right: 18px; bottom: 18px; z-index: 40; width: 58px; height: 58px; border-radius: 50%; background: #25d366; display: grid; place-items: center; box-shadow: 0 12px 28px -8px rgba(0, 0, 0, .35); transition: transform .2s var(--ease); }
.wa:hover { transform: scale(1.08); }
.wa svg { width: 32px; height: 32px; }

/* Aparición al hacer scroll */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
:focus-visible { outline: 3px solid var(--lime-d); outline-offset: 3px; border-radius: 8px; }

@media (max-width: 1000px) {
  .nav__links { display: none; }
  .nav__in > .btn { margin-left: auto; }
  .hero { height: auto; }
  .hero__sticky { position: relative; height: auto; padding: 110px 0 60px; }
  .hero__hint { display: none; }
  .hero__grid, .example, .calc { grid-template-columns: 1fr; }
  .grid3, .plans { grid-template-columns: 1fr; }
  .features { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 34px; }
  .steps__line { display: none; }
}
@media (max-width: 600px) {
  .features, .steps { grid-template-columns: 1fr; }
  .mock__search { grid-template-columns: 1fr 1fr; border-radius: 20px; gap: 4px; }
  .f + .f { border-left: 0; }
  .go { grid-column: 1 / -1; justify-content: center; }
  .cal { width: 100%; }
  .mock__toast { left: 16px; right: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, .step { opacity: 1; transform: none; }
}
