/* Relator SST: paleta y fuente del video de venta (video/venta-01/assets/tokens.css) */
@font-face {
  font-family: "Montserrat";
  src: url("fonts/montserrat-latin-wght.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #0D1626;
  --panel: #16233A;
  --panel2: #1C2C47;
  --line: #2A3B58;
  --fg: #F3F0E8;
  --muted: #B4BFD0;
  --accent: #FFC629;
  --accent-dark: #E5AC00;
  --ink: #1A1300;
  --paper: #F6F3EC;
  --paper2: #ECE7DC;
  --paper-ink: #1D2433;
  --paper-muted: #4A5468;
  --teal: #1F6F6B;
  --red: #B42318;
  --radius: 14px;
  --maxw: 1120px;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--paper-ink);
  background: var(--paper);
}

img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(30px, 7.4vw, 52px); font-weight: 800; }
h2 { font-size: clamp(25px, 5.6vw, 36px); font-weight: 800; }
h3 { font-size: 19px; font-weight: 700; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--accent); color: var(--ink); padding: 8px 12px; border-radius: 8px; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.light :focus-visible { outline-color: var(--teal); }

/* Franja de seguridad */
.hazard {
  height: 8px;
  background: repeating-linear-gradient(-45deg, var(--accent) 0 14px, var(--bg) 14px 28px);
}

/* Encabezado */
.site-header { background: var(--bg); color: var(--fg); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.brand { font-weight: 800; font-size: 22px; text-decoration: none; letter-spacing: -0.02em; white-space: nowrap; }
.brand span { color: var(--accent); }
.header-links { display: flex; align-items: center; gap: 18px; font-size: 15px; }
.header-links a.plain { color: var(--muted); text-decoration: none; white-space: nowrap; }
@media (max-width: 479px) { .header-links a.plain.wide { display: none; } }
.header-links a.plain:hover { color: var(--fg); text-decoration: underline; }
.header-links .btn { display: none; }

/* Botones */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 12px 22px;
  border-radius: 999px; border: 2px solid transparent;
  font: inherit; font-weight: 700; font-size: 16px; line-height: 1.2;
  text-decoration: none; cursor: pointer; text-align: center;
}
.btn svg { width: 22px; height: 22px; flex: none; }
.btn-primary { background: var(--accent); color: var(--ink); }
.btn-primary:hover { background: #FFD45C; }
.btn-ghost { background: transparent; color: var(--fg); border-color: #4A5E80; }
.btn-ghost:hover { border-color: var(--fg); }
.light .btn-ghost { color: var(--paper-ink); border-color: #B9B2A2; }
.light .btn-ghost:hover { border-color: var(--paper-ink); }
.btn-small { min-height: 42px; padding: 8px 16px; font-size: 15px; }

/* Secciones */
section { padding: 56px 0; }
.dark { background: var(--bg); color: var(--fg); }
.light { background: var(--paper); color: var(--paper-ink); }
.light.alt { background: var(--paper2); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 13px; letter-spacing: .02em;
  color: var(--muted); margin-bottom: 14px;
}
.light .eyebrow { color: var(--paper-muted); }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex: none; }
.light .eyebrow::before { background: var(--accent-dark); }

.lead { font-size: 18px; color: var(--muted); max-width: 640px; }
.light .lead { color: var(--paper-muted); }

.demo-tag {
  display: inline-block; font-family: var(--mono); font-size: 13px;
  background: rgba(255,198,41,.14); color: var(--accent);
  border: 1px solid rgba(255,198,41,.45); border-radius: 999px; padding: 4px 12px; margin-bottom: 14px;
}

/* Hero */
.hero { padding: 40px 0 48px; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(169,181,200,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(169,181,200,0.05) 1px, transparent 1px);
  background-size: 40px 40px;
}
.hero .wrap { position: relative; }
.hero-grid { display: grid; gap: 36px; }
.hero h1 { margin-bottom: 16px; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero .sub { font-size: 18px; color: var(--muted); max-width: 560px; margin-bottom: 24px; }
.cta-row { display: flex; flex-direction: column; gap: 12px; margin-bottom: 14px; }
.price-line { font-size: 15px; color: var(--muted); margin: 0; }
.price-line strong { color: var(--fg); }

.hero-visual { display: none; }
.hero-visual figure { margin: 0; position: relative; }
.hero-visual img { border-radius: 8px; box-shadow: 0 24px 60px rgba(0,0,0,.45); transform: rotate(1.5deg); }

/* Caja de piloto */
.piloto {
  margin-top: 4px; background: var(--panel); border: 1px solid var(--line);
  border-left: 6px solid var(--accent); border-radius: var(--radius); padding: 18px 18px 6px;
}
.piloto-tag { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--accent); margin: 0 0 6px; }
.piloto-text { font-size: 16px; color: var(--muted); margin: 0 0 16px; }
.piloto-text strong { color: var(--fg); font-weight: 700; }

/* Cómo funciona */
.steps { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 16px; counter-reset: paso; }
.steps li {
  background: #fff; border: 1px solid #E2DCCF; border-radius: var(--radius);
  padding: 20px 20px 18px 72px; position: relative; counter-increment: paso;
}
.steps li::before {
  content: counter(paso); position: absolute; left: 20px; top: 20px;
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--bg); color: var(--accent); font-weight: 800; font-size: 18px;
  display: grid; place-items: center;
}
.steps h3 { margin-bottom: 4px; }
.steps p { margin: 0; color: var(--paper-muted); }
.steps-note { margin-top: 20px; font-size: 15px; color: var(--paper-muted); }

/* Demo */
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 24px 0; max-width: 880px; }
.stat { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.stat b { display: block; font-size: clamp(22px, 6vw, 30px); font-weight: 800; color: var(--accent); line-height: 1.1; margin-bottom: 6px; }
.stat span { font-size: 14px; color: var(--muted); line-height: 1.35; display: block; }
.demo-note { font-size: 15px; color: var(--muted); }
.mark { font-family: var(--mono); font-size: .9em; color: #FF8A80; white-space: nowrap; }
.light .mark { color: var(--red); }

.pages { display: grid; gap: 20px; margin-top: 40px; }
.pages figure { margin: 0; }
.pages a { display: block; border-radius: 8px; overflow: hidden; border: 1px solid var(--line); background: #fff; }
.pages img { width: 100%; height: auto; }
.pages figcaption { font-size: 14px; color: var(--muted); margin-top: 8px; }

.sample-card {
  margin-top: 40px; background: var(--panel2); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px; display: grid; gap: 18px; align-items: center;
}
.sample-card img { width: 120px; border-radius: 6px; border: 1px solid var(--line); background: #fff; }
.sample-card h3 { margin-bottom: 6px; }
.sample-card p { color: var(--muted); font-size: 15px; margin-bottom: 14px; }

/* FAQ */
.faq { margin-top: 24px; display: grid; gap: 10px; max-width: 820px; }
.faq details { background: #fff; border: 1px solid #E2DCCF; border-radius: 12px; }
.faq summary {
  cursor: pointer; list-style: none; padding: 16px 48px 16px 18px; font-weight: 700; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%);
  font-size: 24px; font-weight: 600; color: var(--teal);
}
.faq details[open] summary::after { content: "−"; }
.faq .answer { padding: 0 18px 16px; color: var(--paper-muted); }
.faq .answer p:last-child { margin-bottom: 0; }

/* Cierre */
.final { text-align: center; }
.final .lead { margin: 0 auto 24px; }
.final .cta-row { align-items: center; justify-content: center; }
.final .firma { margin: 22px 0 0; color: var(--fg); }
.final .mail { margin-top: 10px; font-size: 15px; color: var(--muted); }

/* Pie */
.site-footer { background: #091019; color: var(--muted); font-size: 14px; padding: 32px 0 40px; }
.site-footer p { margin: 0 0 6px; }
.site-footer a { color: var(--fg); }
.site-footer .brand { font-size: 18px; color: var(--fg); display: inline-block; margin-bottom: 10px; }

/* Botón fijo de WhatsApp en el celular */
.sticky-wa {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 50;
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
}
body.has-sticky { padding-bottom: 84px; background: #091019; }

/* Política de datos */
.policy { padding: 40px 0 64px; }
.policy .wrap { max-width: 820px; }
.policy h1 { font-size: clamp(28px, 6vw, 40px); }
.policy h2 { font-size: clamp(21px, 4.6vw, 26px); margin-top: 40px; padding-top: 8px; }
.policy .summary-box { background: #fff; border: 1px solid #E2DCCF; border-left: 6px solid var(--accent-dark); border-radius: var(--radius); padding: 18px 20px; margin: 20px 0 8px; }
.aviso { margin: 0; }
.aviso div { padding: 12px 0; border-top: 1px solid #EEE9DE; }
.aviso div:first-child { border-top: 0; padding-top: 0; }
.aviso dt { font-family: var(--mono); font-size: 12px; color: var(--paper-muted); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 2px; }
.aviso dd { margin: 0; }
.policy .fecha { margin-top: 16px; font-size: 15px; color: var(--paper-muted); }

/* Escritorio */
@media (min-width: 760px) {
  body { font-size: 18px; }
  section { padding: 80px 0; }
  .wrap { padding: 0 32px; }
  .cta-row { flex-direction: row; flex-wrap: wrap; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .pages { grid-template-columns: 1fr 1fr; }
  .sample-card { grid-template-columns: 120px 1fr; }
  .stats { grid-template-columns: repeat(4, 1fr); }
  .header-links .btn { display: inline-flex; }
  .sticky-wa { display: none; }
  body.has-sticky { padding-bottom: 0; }
}
@media (min-width: 1000px) {
  .hero { padding: 64px 0 72px; }
  .hero-grid { grid-template-columns: 1.15fr .85fr; align-items: center; gap: 56px; }
  .hero-visual { display: block; }
}
