:root {
  --ink: #1e1b4b;
  --ink-2: #312e81;
  --text: #0f172a;
  --muted: #475569;
  --line: #e2e8f0;
  --bg: #ffffff;
  --bg-soft: #f8fafc;
  --lavender: #a5b4fc;
  --amber: #fbbf24;
  --red: #b91c1c;
  --red-bg: #fef2f2;
  --radius: 16px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; }
a { color: inherit; }
h1, h2, h3 { color: var(--ink); line-height: 1.15; letter-spacing: -0.02em; margin: 0; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); font-weight: 800; }
h3 { font-size: 1.1rem; font-weight: 700; }
p { margin: 0; }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }

/* Navegación */
.nav { position: sticky; top: 0; z-index: 10; background: rgba(255, 255, 255, 0.9); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 1.25rem; color: var(--ink); letter-spacing: -0.02em; }
.brand.small { font-size: 1rem; gap: 8px; }
.nav-links { display: flex; gap: 28px; }
.nav-links a { text-decoration: none; color: var(--muted); font-weight: 500; font-size: 0.95rem; }
.nav-links a:hover { color: var(--ink); }

/* Botones */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 12px 22px; border-radius: 12px; background: var(--ink); color: #fff; text-decoration: none; font-weight: 700; border: 0; font-size: 1rem; cursor: pointer; font-family: inherit; }
.btn:hover { background: var(--ink-2); }
.btn-small { padding: 9px 16px; font-size: 0.9rem; }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-ghost:hover { background: var(--bg-soft); }
.btn-amber { background: var(--amber); color: var(--ink); }
.btn-amber:hover { background: #f59e0b; }

/* Hero */
.hero { padding: 72px 0 64px; }
.hero-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 44px; align-items: center; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.78rem; font-weight: 700; color: var(--ink-2); margin-bottom: 14px; }
.eyebrow.light { color: var(--lavender); }
.lead { margin-top: 20px; font-size: 1.15rem; color: var(--muted); max-width: 560px; }
.lead strong { color: var(--ink); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.fineprint { margin-top: 18px; font-size: 0.85rem; color: var(--muted); }

/* Evidencia: dijo / hizo / mundo */
.evidence { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 20px; box-shadow: 0 20px 50px -24px rgba(30, 27, 75, 0.35); }
.evidence figcaption { font-size: 0.78rem; color: var(--muted); font-weight: 600; }
.ev-case { margin-top: 6px; font-weight: 700; color: var(--ink); }
.ev-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 14px; }
.ev-col { background: var(--bg-soft); border-radius: 12px; padding: 12px; font-size: 0.9rem; }
.ev-title { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.06em; font-weight: 700; color: var(--muted); margin-bottom: 8px; }
.bubble { background: #fff; border: 1px solid var(--line); border-radius: 12px 12px 12px 4px; padding: 8px 10px; }
.action { font-weight: 600; color: var(--ink); }
.muted { color: var(--muted); font-size: 0.82rem; margin-top: 6px; }
.change.bad { background: var(--red-bg); color: var(--red); border-radius: 10px; padding: 8px 10px; font-weight: 600; }
.ev-verdict { margin-top: 14px; background: var(--red-bg); color: var(--red); font-weight: 700; border-radius: 10px; padding: 10px 12px; font-size: 0.95rem; }

/* Secciones */
.section { padding: 88px 0; }
.section.alt { background: var(--bg-soft); }
.band { background: var(--ink); color: #e0e7ff; padding: 80px 0; }
.band h2 { color: #fff; }
.band .section-lead { color: #c7d2fe; }
.section-lead { margin-top: 16px; font-size: 1.1rem; color: var(--muted); max-width: 760px; }
.section-lead.light { color: #c7d2fe; }

.pain-grid { list-style: none; padding: 0; margin: 36px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.pain-grid li { background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(165, 180, 252, 0.25); border-radius: var(--radius); padding: 18px; color: #c7d2fe; }
.pain-grid strong { display: block; color: #fff; margin-bottom: 4px; }

.steps { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.steps li { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.num { display: inline-flex; width: 32px; height: 32px; align-items: center; justify-content: center; border-radius: 50%; background: var(--ink); color: var(--amber); font-weight: 800; margin-bottom: 14px; }
.steps p { margin-top: 8px; color: var(--muted); font-size: 0.95rem; }

.check-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 36px; }
.check-grid article { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.check-grid p { margin-top: 6px; color: var(--muted); font-size: 0.95rem; }
.stat { display: flex; gap: 20px; align-items: center; margin-top: 28px; background: #fff; border: 1px solid var(--line); border-left: 5px solid var(--amber); border-radius: var(--radius); padding: 20px 24px; color: var(--muted); }
.stat-label { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 700; color: var(--ink-2); white-space: nowrap; }
.inline-link { color: #fff; font-weight: 600; text-underline-offset: 3px; }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.ticks li { position: relative; padding: 14px 16px 14px 44px; border: 1px solid var(--line); border-radius: 12px; font-weight: 500; }
.ticks li::before { content: "✓"; position: absolute; left: 16px; top: 13px; color: var(--ink); font-weight: 800; }

/* Formulario */
.cta-section { background: var(--ink); }
.cta-section h2 { color: #fff; }
.form { background: #fff; border-radius: 20px; padding: 24px; display: grid; gap: 14px; }
.form label { display: grid; gap: 6px; font-size: 0.9rem; font-weight: 600; color: var(--ink); }
.form input, .form select, .form textarea { font: inherit; font-weight: 400; padding: 11px 12px; border: 1px solid var(--line); border-radius: 10px; color: var(--text); background: #fff; width: 100%; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--lavender); border-color: var(--ink-2); }
.form .consent { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; color: var(--muted); }
.form .consent input { width: auto; margin-top: 4px; }
.hidden { display: none; }
.form-error { background: var(--red-bg); color: var(--red); border-radius: 10px; padding: 10px 12px; font-weight: 600; font-size: 0.9rem; }

.footer { border-top: 1px solid var(--line); padding: 28px 0; color: var(--muted); font-size: 0.9rem; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }

/* Móvil y tableta */
@media (max-width: 960px) {
  .hero-grid, .two-col { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .pain-grid, .check-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .nav-links { display: none; }
  .hero { padding: 48px 0; }
  .section, .band { padding: 64px 0; }
  .ev-cols, .steps, .pain-grid, .check-grid { grid-template-columns: 1fr; }
  .stat { flex-direction: column; align-items: flex-start; }
  .btn-small { padding: 8px 12px; font-size: 0.85rem; }
}
