/* ============================================================
   Extractor Web - hoja de estilos del sitio
   Misma paleta que la extension (azul 1e40af / fondo f6f8fb).
   Sin dependencias externas: funciona sin internet.
   ============================================================ */

:root {
  color-scheme: light;
  --ink: #0f172a;
  --ink-2: #0b1220;
  --muted: #5b6b84;
  --line: #e3e9f2;
  --bg: #f6f8fb;
  --card: #ffffff;
  --accent: #1e40af;
  --accent-2: #1d4ed8;
  --accent-soft: #eff6ff;
  --accent-line: #c7d8fb;
  --ok: #166534;
  --ok-bg: #f0fdf4;
  --ok-line: #bbf7d0;
  --warn: #92400e;
  --warn-bg: #fffbeb;
  --warn-line: #fde68a;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(15, 23, 42, .05), 0 14px 34px -20px rgba(15, 23, 42, .25);
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06), 0 8px 20px -14px rgba(15, 23, 42, .22);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: Consolas, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { line-height: 1.18; margin: 0 0 .5em; letter-spacing: -.015em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.3em; }
li { margin: .3em 0; }
code { font-family: var(--mono); font-size: .92em; background: #eef2f8; padding: 1px 6px; border-radius: 5px; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }

.container { max-width: 1080px; margin: 0 auto; padding: 0 22px; }
.container-narrow { max-width: 780px; }
.centrado { text-align: center; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 1px solid transparent; border-radius: 10px;
  padding: 12px 21px; font: inherit; font-size: 15.5px; font-weight: 650;
  cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: background .15s, border-color .15s, transform .12s, box-shadow .15s;
}
.btn:hover { text-decoration: none; }
.btn:focus-visible { outline: 3px solid #93b4fd; outline-offset: 2px; }
.btn-pri { background: var(--accent); color: #fff; box-shadow: 0 10px 22px -12px rgba(30, 64, 175, .55); }
.btn-pri:hover { background: var(--accent-2); transform: translateY(-1px); }
.btn-ghost { background: #fff; border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: #b9c6da; background: #fbfcfe; }
.btn-soft { background: var(--accent-soft); color: var(--accent); border-color: var(--accent-line); }
.btn-soft:hover { background: #e2ecfe; }
.btn-lg { padding: 14px 26px; font-size: 16.5px; border-radius: 12px; }
.btn-sm { padding: 8px 14px; font-size: 14px; border-radius: 9px; }

/* ---------- Cabecera ---------- */
.site-head {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .86);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.head-in { display: flex; align-items: center; gap: 18px; height: 62px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 750; font-size: 17.5px; color: var(--ink); white-space: nowrap; }
.brand:hover { text-decoration: none; }
.brand img { border-radius: 8px; }
.nav { display: flex; align-items: center; gap: 2px; margin-left: auto; overflow-x: auto; scrollbar-width: none; }
.nav::-webkit-scrollbar { display: none; }
.nav a { color: #33415c; font-size: 14.5px; font-weight: 550; padding: 7px 11px; border-radius: 8px; white-space: nowrap; }
.nav a:hover { background: #eef3fb; color: var(--ink); text-decoration: none; }
.head-cta { margin-left: 6px; }
.head-cta .btn { white-space: nowrap; }

/* ---------- Heroe ---------- */
.hero {
  padding: 64px 0 60px;
  background:
    radial-gradient(900px 380px at 82% -12%, #dbeafe 0%, rgba(219, 234, 254, 0) 62%),
    radial-gradient(720px 340px at -8% 8%, #e7edff 0%, rgba(231, 237, 255, 0) 58%),
    var(--bg);
  border-bottom: 1px solid var(--line);
}
.hero-grid { display: grid; grid-template-columns: 1.06fr .94fr; gap: 46px; align-items: center; }
.badge-line { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; }
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 5px 12px; font-size: 13px; font-weight: 600; color: #33415c;
}
.pill-verde { background: var(--ok-bg); border-color: var(--ok-line); color: var(--ok); }
.hero h1 { font-size: 46px; font-weight: 800; margin-bottom: 16px; }
.hero h1 .resalte { color: var(--accent); }
.hero .sub { font-size: 18.5px; color: var(--muted); max-width: 33em; margin-bottom: 26px; }
.hero-botones { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 14px; }
.hero-nota { font-size: 13.5px; color: var(--muted); }
.hero-nota b { color: #33415c; }

/* ---------- Maqueta del popup ---------- */
.mock-wrap { position: relative; justify-self: center; width: min(392px, 100%); }
.mock {
  position: relative; z-index: 2;
  background: var(--card); border: 1px solid var(--line); border-radius: 16px;
  box-shadow: var(--shadow); padding: 16px 16px 12px;
}
.mock-head { display: flex; gap: 10px; align-items: center; margin-bottom: 14px; }
.mock-head img { border-radius: 8px; }
.mock-head b { display: block; font-size: 14.5px; }
.mock-head span { display: block; font-size: 11.5px; color: var(--muted); }
.mock-sec { font-size: 10.5px; letter-spacing: .09em; color: var(--muted); font-weight: 700; margin: 12px 0 6px; display: flex; align-items: center; gap: 7px; }
.mock-sec .num { display: inline-flex; align-items: center; justify-content: center; width: 16px; height: 16px; border-radius: 50%; background: #eef2f8; color: var(--muted); font-size: 10px; }
.mock-select {
  display: flex; align-items: center; justify-content: space-between;
  border: 1px solid var(--line); border-radius: 9px; padding: 9px 12px;
  font-size: 13.5px; background: #fff;
}
.mock-select::after { content: "\25BE"; color: var(--muted); font-size: 12px; }
.mock-ok { margin-top: 8px; background: var(--ok-bg); border: 1px solid var(--ok-line); color: var(--ok); border-radius: 9px; padding: 8px 12px; font-size: 12.5px; font-weight: 600; }
.mock-hint { margin-top: 8px; background: #f8fafc; border: 1px solid var(--line); border-radius: 9px; padding: 8px 12px; font-size: 12.5px; color: #33415c; }
.mock-chips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mock-chip { text-align: center; border-radius: 9px; padding: 8px 0; font-size: 13px; font-weight: 650; border: 1px solid var(--line); background: #fff; color: var(--muted); }
.mock-chip.on { background: var(--accent); border-color: var(--accent); color: #fff; }
.mock-btn { margin-top: 14px; background: var(--accent); color: #fff; text-align: center; font-weight: 700; font-size: 14px; padding: 11px 0; border-radius: 10px; }
.mock-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; padding-top: 10px; border-top: 1px solid #eef2f8; font-size: 11px; color: var(--muted); }
.mock-foot b { color: var(--accent); font-weight: 700; }
.float-card {
  position: absolute; z-index: 3; background: #fff; border: 1px solid var(--line);
  border-radius: 10px; box-shadow: var(--shadow-sm); padding: 9px 13px; font-size: 12.5px; font-weight: 600; color: #33415c;
  display: flex; align-items: center; gap: 8px;
}
.float-card .punto { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; flex: 0 0 auto; }
.float-1 { left: -26px; bottom: 74px; }
.float-2 { right: -20px; top: -16px; }

/* ---------- Secciones ---------- */
.sec { padding: 64px 0; }
.sec-alt { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec-head { max-width: 720px; margin: 0 auto 40px; text-align: center; }
.kicker { display: inline-block; font-size: 12.5px; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); background: var(--accent-soft); border: 1px solid var(--accent-line); border-radius: 999px; padding: 4px 13px; margin-bottom: 14px; }
.sec h2 { font-size: 31px; font-weight: 800; }
.sec .bajada { color: var(--muted); font-size: 17px; margin: 0; }

/* ---------- Tarjetas de caracteristicas ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid-2 { 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 22px 18px; box-shadow: var(--shadow-sm);
}
.card h3 { font-size: 17.5px; font-weight: 750; margin-bottom: 7px; }
.card p { font-size: 14.5px; color: var(--muted); margin: 0; }
.card .ico { font-size: 22px; line-height: 1; margin-bottom: 12px; }
.card .ico-cuadro {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 11px; background: var(--accent-soft);
  border: 1px solid var(--accent-line); margin-bottom: 13px;
}
.card ul { font-size: 14.5px; color: var(--muted); padding-left: 1.1em; margin-bottom: 0; }
.card li::marker { color: var(--accent); }
.card > :last-child { margin-bottom: 0; }

/* ---------- Pasos ---------- */
.pasos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: paso; }
.paso {
  position: relative; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px 20px 18px; box-shadow: var(--shadow-sm);
}
.paso-num {
  position: absolute; top: -15px; left: 20px;
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--accent); color: #fff; font-weight: 750; font-size: 14.5px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 14px -8px rgba(30, 64, 175, .8);
}
.paso h3 { font-size: 16px; margin: 6px 0 6px; }
.paso p { font-size: 13.8px; color: var(--muted); margin: 0; }

.nota-caja {
  margin-top: 26px; background: var(--accent-soft); border: 1px solid var(--accent-line);
  border-radius: var(--radius); padding: 20px 24px;
}
.nota-caja h3 { font-size: 16.5px; margin-bottom: 8px; }
.nota-caja p, .nota-caja li { font-size: 14.5px; color: #33415c; }
.nota-caja ol { margin-bottom: 0; }

/* ---------- Casos de uso ---------- */
.usos { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.uso {
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 9px 18px; font-size: 14.5px; font-weight: 600; color: #33415c; box-shadow: var(--shadow-sm);
}

/* ---------- Capturas ---------- */
.shots { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.shot { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.shot a { display: block; }
.shot img { border-bottom: 1px solid var(--line); }
.shot figcaption { padding: 13px 17px 15px; font-size: 13.8px; color: var(--muted); }
.shot figcaption b { color: var(--ink); display: block; font-size: 14.5px; margin-bottom: 2px; }
.shot-ancha { grid-column: 1 / -1; }

/* ---------- Precios ---------- */
.precios { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; align-items: stretch; max-width: 880px; margin: 0 auto; }
.precio {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line);
  border-radius: 18px; padding: 28px 26px 24px; box-shadow: var(--shadow-sm); position: relative;
}
.precio-full { border: 2px solid var(--accent); box-shadow: var(--shadow); }
.precio-tag {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: #fff; font-size: 12px; font-weight: 750;
  letter-spacing: .06em; text-transform: uppercase; border-radius: 999px; padding: 4px 14px; white-space: nowrap;
}
.precio h3 { font-size: 18px; margin-bottom: 2px; }
.precio .lema { font-size: 13.5px; color: var(--muted); margin-bottom: 14px; }
.precio .monto { font-size: 34px; font-weight: 800; letter-spacing: -.02em; margin-bottom: 2px; }
.precio .monto small { font-size: 15px; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.precio .monto-nota { font-size: 13px; color: var(--muted); margin-bottom: 16px; }
.precio ul { list-style: none; padding: 0; margin: 0 0 22px; font-size: 14.5px; }
.precio li { display: flex; gap: 9px; align-items: flex-start; padding: 5.5px 0; color: #33415c; border-bottom: 1px dashed #eef2f8; }
.precio li:last-child { border-bottom: 0; }
.precio li .si { color: var(--ok); font-weight: 800; flex: 0 0 auto; }
.precio li .no { color: #94a3b8; font-weight: 800; flex: 0 0 auto; }
.precio li b { color: var(--ink); }
.precio .acciones { margin-top: auto; display: grid; gap: 10px; }
.precio .acciones .btn { width: 100%; }
.precio .chico { font-size: 12.8px; color: var(--muted); text-align: center; margin: 10px 0 0; }
.precios-nota { max-width: 880px; margin: 22px auto 0; text-align: center; font-size: 13.5px; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { max-width: 780px; margin: 0 auto; }
.faq details {
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  margin-bottom: 10px; box-shadow: var(--shadow-sm); overflow: hidden;
}
.faq summary {
  cursor: pointer; list-style: none; padding: 16px 20px;
  font-weight: 650; font-size: 15.5px; display: flex; align-items: center; gap: 12px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before {
  content: "+"; flex: 0 0 auto; width: 22px; height: 22px; border-radius: 50%;
  background: var(--accent-soft); color: var(--accent); font-weight: 800; font-size: 14px;
  display: inline-flex; align-items: center; justify-content: center;
}
.faq details[open] summary::before { content: "\2013"; }
.faq summary:hover { background: #fafcff; }
.faq .resp { padding: 0 20px 17px 54px; font-size: 14.5px; color: var(--muted); }
.faq .resp p { margin-bottom: .7em; }
.faq .resp p:last-child { margin-bottom: 0; }

/* ---------- Banda CTA ---------- */
.banda { padding: 0 0 64px; }
.banda-in {
  background: linear-gradient(120deg, #1e3a8a 0%, #1e40af 55%, #2b55d6 100%);
  border-radius: 20px; padding: 44px 40px; color: #fff;
  display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap;
  box-shadow: var(--shadow);
}
.banda h2 { font-size: 27px; margin-bottom: 6px; }
.banda p { color: #cdd9f6; margin: 0; font-size: 15.5px; max-width: 46em; }
.banda .acciones { display: flex; gap: 12px; flex-wrap: wrap; }
.banda .btn-pri { background: #fff; color: var(--accent); box-shadow: none; }
.banda .btn-pri:hover { background: #eef3ff; }
.banda .btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .45); }
.banda .btn-ghost:hover { background: rgba(255, 255, 255, .1); }

/* ---------- Pie ---------- */
.site-foot { background: var(--ink-2); color: #94a3b8; font-size: 14px; }
.site-foot a { color: #cbd5e1; }
.site-foot a:hover { color: #fff; }
.foot-in { padding: 48px 0 30px; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; }
.foot-marca { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 750; font-size: 16.5px; margin-bottom: 12px; }
.foot-marca img { border-radius: 8px; }
.foot-in h3 { color: #e2e8f0; font-size: 13px; text-transform: uppercase; letter-spacing: .09em; margin: 4px 0 12px; }
.foot-in ul { list-style: none; padding: 0; margin: 0; }
.foot-in li { margin: 7px 0; }
.foot-legal {
  border-top: 1px solid #1e293b; padding: 18px 0 26px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 12.5px; color: #94a3b8;
}
.foot-legal p { margin: 0; max-width: 70ch; }

/* ---------- Paginas legales y de soporte ---------- */
.page-head {
  background: #fff; border-bottom: 1px solid var(--line); padding: 44px 0 36px;
  background-image: radial-gradient(760px 300px at 85% -30%, #dbeafe 0%, rgba(219, 234, 254, 0) 65%);
}
.page-head h1 { font-size: 36px; font-weight: 800; margin-bottom: 8px; }
.page-head .fecha { color: var(--muted); font-size: 14.5px; margin: 0; }
.legal { padding: 46px 0 64px; }
.legal-in { max-width: 800px; margin: 0 auto; }
.legal h2 { font-size: 23px; font-weight: 750; margin: 2em 0 .55em; padding-top: .3em; border-top: 1px solid var(--line); }
.legal h2:first-of-type { margin-top: 0; border-top: 0; padding-top: 0; }
.legal h3 { font-size: 17.5px; font-weight: 700; margin: 1.5em 0 .45em; }
.legal p, .legal li { font-size: 15.3px; color: #26324a; }
.legal .destacado {
  background: var(--accent-soft); border: 1px solid var(--accent-line); border-radius: 12px;
  padding: 16px 20px; font-weight: 600; color: #1e3a8a;
}
.legal .nota {
  background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--accent);
  border-radius: 10px; padding: 14px 18px; font-size: 14.5px; color: #33415c;
}
.legal .pendiente { background: var(--warn-bg); border: 1px solid var(--warn-line); border-radius: 8px; padding: 2px 8px; font-family: var(--mono); font-size: .88em; color: var(--warn); }
.legal table { width: 100%; border-collapse: collapse; margin: 1em 0 1.4em; font-size: 14.5px; }
.legal th, .legal td { border: 1px solid var(--line); padding: 9px 12px; text-align: left; vertical-align: top; }
.legal th { background: #f8fafc; font-weight: 700; }
.toc { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px 20px; margin: 0 0 34px; box-shadow: var(--shadow-sm); }
.toc b { display: block; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 8px; }
.toc ol { margin: 0; padding-left: 1.2em; columns: 2; column-gap: 28px; }
.toc li { margin: 4px 0; font-size: 14px; }
.resumen-en { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 18px 22px 8px; margin-top: 40px; }
.resumen-en h2 { border: 0; padding: 0; margin: 0 0 .5em; font-size: 19px; }
.resumen-en p { font-size: 14.3px; color: var(--muted); }

/* ---------- Soporte ---------- */
.soporte-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 26px; align-items: start; }
.soporte-grid .card { padding: 24px 26px; }
.contacto-cajon {
  background: linear-gradient(140deg, #1e3a8a, #1e40af); color: #fff;
  border-radius: var(--radius); padding: 26px 26px 22px; box-shadow: var(--shadow);
}
.contacto-cajon h2 { font-size: 21px; margin-bottom: 8px; }
.contacto-cajon p { color: #cdd9f6; font-size: 14.5px; }
.contacto-cajon a { color: #fff; font-weight: 700; text-decoration: underline; }
.pasos-num { counter-reset: pnum; list-style: none; padding: 0; }
.pasos-num li { position: relative; padding: 0 0 14px 44px; margin: 0; }
.pasos-num li::before {
  counter-increment: pnum; content: counter(pnum);
  position: absolute; left: 0; top: 1px;
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--accent-soft); border: 1px solid var(--accent-line); color: var(--accent);
  font-weight: 750; font-size: 14px; display: flex; align-items: center; justify-content: center;
}

/* ---------- 404 ---------- */
.p404 { padding: 84px 0 90px; text-align: center; }
.p404 .gato { display: inline-block; border-radius: 22px; margin-bottom: 22px; box-shadow: var(--shadow); }
.p404 h1 { font-size: 40px; }
.p404 p { color: var(--muted); font-size: 17px; max-width: 44em; margin: 0 auto 26px; }

/* ---------- Diseno adaptable ---------- */
@media (max-width: 940px) {
  .nav { display: none; }
  .head-cta { margin-left: auto; }
  .hero h1 { font-size: 38px; }
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .mock-wrap { order: 2; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .pasos { grid-template-columns: repeat(2, 1fr); row-gap: 30px; }
  .foot-in { grid-template-columns: 1fr 1fr; }
  .soporte-grid { grid-template-columns: 1fr; }
  .float-1 { left: 4px; bottom: 46px; }
  .float-2 { right: 4px; }
}
@media (max-width: 640px) {
  .sec { padding: 48px 0; }
  .hero { padding: 44px 0 48px; }
  .hero h1 { font-size: 31.5px; }
  .hero .sub { font-size: 16.5px; }
  .sec h2 { font-size: 25px; }
  .grid-3, .grid-2, .shots, .precios { grid-template-columns: 1fr; }
  .pasos { grid-template-columns: 1fr; }
  .head-in { height: 58px; gap: 10px; }
  .nav { display: none; }
  .head-cta { margin-left: auto; }
  .banda-in { padding: 32px 24px; }
  .page-head h1 { font-size: 28px; }
  .toc ol { columns: 1; }
  .foot-in { grid-template-columns: 1fr; gap: 22px; }
  .float-1, .float-2 { display: none; }
  .precio .monto { font-size: 30px; }
}
@media print {
  .site-head, .banda, .site-foot .foot-in, .hero-nota { display: none; }
  body { background: #fff; }
}
