/* VendePro · página pública. Minimalista, móvil primero, claro/oscuro automático. */
:root {
  --bg: #fafaf9; --surface: #ffffff; --alt: #f3f3f1; --fg: #141414; --muted: #63635f; --line: #e6e6e2;
  --ink: #111111; --on-ink: #ffffff; --accent: #0b7a57; --accent-bg: #10b981; --accent-soft: #dcf3e9;
  --warn: #b45309; --danger: #c2271f; --radius: 18px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0e0e10; --surface: #17171a; --alt: #131316; --fg: #f3f3f1; --muted: #a3a39d; --line: #2a2a2e;
    --ink: #f3f3f1; --on-ink: #111111; --accent: #3fcf98; --accent-soft: #10392b; color-scheme: dark;
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 16px/1.6 var(--font); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -.02em; margin: 0; }
h2 { font-size: clamp(26px, 4vw, 36px); text-align: center; }
h3 { font-size: 19px; }
.muted { color: var(--muted); }
.ic { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Navegación */
.nav { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; gap: 16px; padding: 12px max(16px, calc((100% - 1120px) / 2)); background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; text-decoration: none; }
.brand img { border-radius: 9px; }
.nav nav { display: flex; gap: 22px; margin-left: auto; }
.nav nav a { text-decoration: none; color: var(--muted); font-weight: 500; font-size: 15px; }
.nav nav a:hover { color: var(--fg); }
@media (max-width: 720px) { .nav nav { display: none; } .nav .btn-sm { margin-left: auto; } }

/* Botones */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; background: var(--ink); color: var(--on-ink); text-decoration: none; font-weight: 600; border-radius: 14px; padding: 13px 22px; border: 1.5px solid var(--ink); transition: transform .15s ease, opacity .15s ease; }
.btn:hover { opacity: .9; } .btn:active { transform: scale(.98); }
.btn-sm { padding: 8px 16px; font-size: 14px; border-radius: 11px; }
.btn-lg { padding: 16px 28px; font-size: 18px; border-radius: 16px; }
.btn-outline { background: transparent; color: var(--fg); }
.btn-wa { background: #25d366; border-color: #25d366; color: #0b2e1a; }
.btn:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid var(--accent-bg); outline-offset: 3px; }

/* Portada */
.hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; max-width: 1120px; margin: 0 auto; padding: 72px 16px 56px; }
.eyebrow { text-transform: uppercase; letter-spacing: .1em; font-size: 13px; font-weight: 700; color: var(--accent); margin: 0 0 14px; }
.hero h1 { font-size: clamp(36px, 6vw, 60px); }
.hero h1 span { color: var(--muted); }
.lead { font-size: 19px; color: var(--muted); max-width: 34ch; margin: 18px 0 28px; }
.cta .meta { margin: 12px 0 0; color: var(--muted); font-size: 14px; }
.trial { margin: 18px 0 0; display: inline-block; background: var(--accent-soft); color: var(--accent); padding: 8px 14px; border-radius: 99px; font-size: 14px; }
.hero-art { display: flex; justify-content: center; }
.phone { width: 270px; border-radius: 40px; padding: 12px; background: #111; box-shadow: 0 30px 60px -20px rgba(0,0,0,.35); }
.screen { background: #fafaf9; color: #141414; border-radius: 30px; padding: 22px 16px; display: grid; gap: 10px; min-height: 480px; align-content: start; }
.s-head { display: flex; gap: 10px; align-items: center; }
.s-head b { display: block; font-size: 15px; } .s-head small { color: #6b6b67; font-size: 11px; }
.s-logo { width: 34px; height: 34px; border-radius: 10px; background: #111 url("icon.svg") center/100%; }
.s-card { background: #fff; border: 1px solid #e6e6e2; border-radius: 16px; padding: 14px; }
.s-card small { color: #6b6b67; font-size: 11px; } .s-card b { display: block; font-size: 24px; letter-spacing: -.02em; }
.bars { display: flex; align-items: end; gap: 6px; height: 46px; margin-top: 8px; }
.bars i { flex: 1; background: #e6e6e2; border-radius: 4px; }
.bars i:nth-child(1) { height: 40%; } .bars i:nth-child(2) { height: 65%; } .bars i:nth-child(3) { height: 50%; } .bars i:nth-child(4) { height: 80%; }
.bars i:nth-child(5) { height: 60%; } .bars i:nth-child(6) { height: 70%; } .bars i:nth-child(7) { height: 95%; background: #10b981; }
.s-row { display: flex; justify-content: space-between; align-items: center; background: #fff; border: 1px solid #e6e6e2; border-radius: 12px; padding: 10px 12px; font-size: 13px; }
.s-row em { font-style: normal; font-size: 11px; font-weight: 600; padding: 2px 8px; border-radius: 99px; background: #f0f0ee; }
.s-row em.late { background: #fde2e1; color: #b42318; } .s-row em.ok { background: #dcf3e9; color: #0b7a57; }
.s-btn { margin-top: 6px; background: #111; color: #fff; text-align: center; border-radius: 14px; padding: 12px; font-weight: 600; font-size: 14px; }
@media (max-width: 860px) { .hero { grid-template-columns: 1fr; padding-top: 44px; text-align: left; } .hero-art { order: 2; } }

/* Secciones */
.section { max-width: 1120px; margin: 0 auto; padding: 72px 16px; }
.section.alt { max-width: none; background: var(--alt); border-block: 1px solid var(--line); }
.section.alt > * { max-width: 1088px; margin-left: auto; margin-right: auto; }
.sub { text-align: center; color: var(--muted); margin: 12px auto 36px; max-width: 56ch; }
.center { text-align: center; margin: 48px 0 20px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 820px) { .two { grid-template-columns: 1fr; } }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.panel h3 { margin-bottom: 14px; }
.panel p { margin: 0 0 12px; color: var(--muted); }
.features { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.features li { display: flex; gap: 14px; }
.features .ic { color: var(--accent); margin-top: 3px; }
.features b { display: block; } .features span { color: var(--muted); font-size: 15px; }
.grid-features { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; }
.grid-features li { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 18px; display: grid; gap: 6px; }
.grid-features .ic { color: var(--accent); }
.grid-features span { color: var(--muted); font-size: 14px; }

.steps { list-style: none; counter-reset: s; padding: 0; margin: 36px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.steps li { counter-increment: s; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 20px; display: grid; gap: 4px; }
.steps li::before { content: counter(s); width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--on-ink); font-weight: 700; margin-bottom: 8px; }
.steps span { color: var(--muted); font-size: 15px; }

/* Planes */
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.plan.featured { border: 2px solid var(--ink); }
.plan header p { color: var(--muted); margin: 6px 0 0; }
.price-main { display: flex; align-items: baseline; gap: 8px; }
.price-main .amount { font-size: 44px; font-weight: 800; letter-spacing: -.03em; }
.price-main .per { color: var(--muted); }
.save { margin: -6px 0 0; color: var(--accent); font-weight: 600; font-size: 14px; }
.price-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.price-list li { display: flex; justify-content: space-between; padding: 11px 0; border-bottom: 1px solid var(--line); }
.price-list small { color: var(--muted); font-weight: 400; }
.plan .btn { margin-top: auto; }
.note { text-align: center; color: var(--muted); margin: 24px auto 0; max-width: 60ch; }

/* Instalación */
.install { margin: 0; padding-left: 22px; display: grid; gap: 12px; font-size: 16px; }
.install li::marker { font-weight: 700; }
.notes { background: var(--alt); border-radius: 12px; padding: 14px; font-size: 15px; margin-bottom: 12px; }
.hash summary { cursor: pointer; color: var(--muted); font-size: 14px; }
.hash code { display: block; margin-top: 8px; word-break: break-all; font-size: 12px; background: var(--alt); padding: 10px; border-radius: 10px; }

/* Preguntas */
.faq { max-width: 760px; margin: 32px auto 0; display: grid; gap: 10px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 4px 18px; }
.faq summary { cursor: pointer; font-weight: 600; padding: 14px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--muted); }
.faq details[open] summary::after { content: "–"; }
.faq p { margin: 0 0 16px; color: var(--muted); }

.contact { text-align: center; padding: 72px 16px; }
.contact p { color: var(--muted); margin: 12px 0 24px; }
.foot { border-top: 1px solid var(--line); text-align: center; padding: 28px 16px 40px; font-size: 14px; }
.foot p { margin: 4px 0; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } }
