/* Atendo — página de descarga (estática, sin build: sube la carpeta tal cual) */
:root {
  --ink: #1b1a3a;
  --muted: #5d5c7d;
  --brand: #2d2a66;
  --brand-2: #3a3690;
  --accent: #128c7e;
  --accent-dark: #0e6f64;
  --bg: #f6f7fc;
  --card: #ffffff;
  --line: #e4e5f2;
  --warn-bg: #fff8e8;
  --warn-line: #f0d48a;
  --radius: 14px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}
a { color: var(--brand-2); }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 20px; }

/* ---------- Header ---------- */
header.site {
  background: #fff;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
}
.header-in { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; color: var(--ink); text-decoration: none; }
.logo .dot { width: 26px; height: 26px; border-radius: 8px; background: linear-gradient(135deg, var(--brand), var(--brand-2)); display: inline-flex; align-items: center; justify-content: center; color: #fff; font-size: 14px; }
nav.site { display: flex; gap: 22px; align-items: center; }
nav.site a { color: var(--muted); text-decoration: none; font-size: 15px; font-weight: 600; }
nav.site a:hover { color: var(--ink); }
.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff !important;
  font-weight: 700;
  text-decoration: none !important;
  padding: 12px 22px;
  border-radius: 10px;
  border: 0;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.15s ease;
}
.btn:hover { background: var(--accent-dark); }
.btn.ghost { background: #eceefb; color: var(--brand) !important; }
.btn.ghost:hover { background: #dfe3f8; }
.btn.small { padding: 9px 16px; font-size: 14px; }

/* ---------- Hero ---------- */
.hero { padding: 64px 0 48px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 40px; align-items: center; }
.eyebrow { color: var(--accent); font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; font-size: 13px; }
.hero h1 { font-size: 42px; line-height: 1.15; margin: 10px 0 14px; }
.hero p.sub { font-size: 18px; color: var(--muted); margin: 0 0 22px; }
.hero .cta-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.badge-free { display: inline-block; margin-top: 16px; background: #e9f7f4; color: var(--accent-dark); border: 1px solid #bfe6df; padding: 8px 14px; border-radius: 999px; font-size: 14px; font-weight: 700; }
.small-note { font-size: 13px; color: var(--muted); margin-top: 10px; }

/* Mock de ventana */
.mock {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 18px 40px rgba(27, 26, 58, 0.14);
  overflow: hidden;
}
.mock .bar { display: flex; gap: 6px; padding: 10px 14px; background: #eceefb; border-bottom: 1px solid var(--line); }
.mock .bar i { width: 10px; height: 10px; border-radius: 50%; background: #c9cbe4; display: inline-block; }
.mock .body { padding: 18px; display: flex; flex-direction: column; gap: 10px; background: #fafbfe; }
.bub { max-width: 82%; padding: 10px 14px; border-radius: 12px; font-size: 14px; }
.bub.in { background: #eceefb; align-self: flex-start; }
.bub.out { background: #d6f3ee; align-self: flex-end; border: 1px solid #bfe6df; }
.mock .who { font-size: 12px; font-weight: 800; color: var(--brand); padding: 0 18px 4px; }
.mock .tag { font-size: 11px; color: var(--accent-dark); font-weight: 800; padding: 4px 18px 0; }

/* ---------- Secciones ---------- */
section { padding: 46px 0; }
section h2 { font-size: 30px; margin: 0 0 8px; }
section .lead { color: var(--muted); margin: 0 0 28px; font-size: 17px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.card h3 { margin: 8px 0 6px; font-size: 18px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.step-n { width: 34px; height: 34px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.feat-i { font-size: 26px; }

/* Límites */
.limits { background: var(--brand); color: #fff; border-radius: var(--radius); padding: 30px; }
.limits h2 { color: #fff; }
.limits .lead { color: #c9c7ef; }
.limits ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 26px; }
.limits li { padding-left: 26px; position: relative; font-size: 15.5px; }
.limits li::before { content: "✓"; position: absolute; left: 0; color: #59e0c9; font-weight: 800; }
.limits .up { margin-top: 22px; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.18); border-radius: 12px; padding: 16px 18px; font-size: 15px; }
.limits .up a { color: #59e0c9; font-weight: 800; }

/* Descargas */
.dl-card { text-align: center; padding: 26px 18px; }
.dl-card h3 { margin-top: 4px; }
.dl-card .req { font-size: 13px; color: var(--muted); margin-top: 10px; }

/* FAQ */
details.faq { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 0 18px; margin-bottom: 10px; }
details.faq summary { cursor: pointer; font-weight: 700; padding: 15px 0; list-style: none; }
details.faq summary::after { content: "+"; float: right; color: var(--brand-2); font-size: 20px; }
details.faq[open] summary::after { content: "–"; }
details.faq p { margin: 0 0 16px; color: var(--muted); font-size: 15px; }

/* Aviso */
.notice {
  background: var(--warn-bg);
  border: 1px solid var(--warn-line);
  border-radius: 12px;
  padding: 16px 18px;
  font-size: 14.5px;
  color: #6b5518;
}
.notice b { color: #4d3a08; }

/* Footer */
footer.site { background: var(--ink); color: #b9b8d6; margin-top: 40px; padding: 36px 0 26px; font-size: 14px; }
footer.site a { color: #d9d8f1; }
.footer-grid { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
footer .brandline { font-weight: 800; color: #fff; font-size: 17px; margin-bottom: 6px; }
footer .links { display: flex; gap: 18px; flex-wrap: wrap; }
footer .copy { border-top: 1px solid #343356; margin-top: 24px; padding-top: 16px; font-size: 13px; }

/* Páginas internas */
.page-head { background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; padding: 42px 0; }
.page-head h1 { margin: 0; font-size: 32px; }
.page-head p { margin: 8px 0 0; color: #c9c7ef; }
.prose { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 34px; margin: 30px 0; }
.prose h2 { font-size: 21px; margin: 26px 0 8px; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: #46456b; font-size: 15.5px; }
.prose ul { padding-left: 20px; }

/* Badge Pro */
.badge-pro { display: inline-block; margin-top: 16px; background: #eef0ff; color: var(--brand-2); border: 1px solid #c9c7ef; padding: 8px 14px; border-radius: 999px; font-size: 14px; font-weight: 700; }

/* Tabla comparativa (Pro) */
.tbl-scroll { overflow-x: auto; }
table.cmp { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--card); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; font-size: 15px; }
table.cmp th, table.cmp td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--line); }
table.cmp thead th { background: var(--brand); color: #fff; font-size: 14.5px; }
table.cmp thead th.pro { background: var(--brand-2); }
table.cmp td:first-child { font-weight: 600; color: var(--ink); }
table.cmp tr:last-child td { border-bottom: 0; }
table.cmp td.ok { color: var(--accent-dark); font-weight: 700; }
table.cmp td.no { color: #b34a4a; font-weight: 700; }

/* Modal de captura antes de descargar */
.modal-bg { position: fixed; inset: 0; background: rgba(27, 26, 58, 0.55); display: flex; align-items: center; justify-content: center; z-index: 100; padding: 20px; }
.modal-bg[hidden] { display: none; }
.modal { background: #fff; border-radius: 16px; max-width: 460px; width: 100%; padding: 26px 26px 22px; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3); }
.modal h3 { margin: 0 0 6px; font-size: 20px; }
.modal .modal-sub { color: var(--muted); font-size: 14.5px; margin: 0 0 16px; }
.modal label { display: block; font-weight: 700; font-size: 14px; margin-bottom: 12px; }
.modal input[type="text"], .modal input[type="email"] { display: block; width: 100%; margin-top: 6px; padding: 11px 12px; border: 1px solid var(--line); border-radius: 9px; font-size: 15px; box-sizing: border-box; font-family: inherit; }
.modal label.check { font-weight: 500; font-size: 13.5px; color: var(--muted); display: flex; gap: 8px; align-items: flex-start; }
.modal label.check input { margin-top: 3px; }
.modal-actions { display: flex; gap: 10px; margin-top: 6px; }
.modal-actions .btn { flex: 1; text-align: center; }

@media (max-width: 860px) {
  .hero-grid, .grid3, .grid2, .limits ul { grid-template-columns: 1fr; }
  .hero h1 { font-size: 32px; }
  nav.site a:not(.btn) { display: none; }
  table.cmp { font-size: 14px; }
  table.cmp th, table.cmp td { padding: 10px 12px; }
}
