:root {
  --brand: #1a73e8;
  --brand-dark: #0d47a1;
  --brand-light: #eaf2fe;
  --ink: #111827;
  --muted: #4b5563;
  --line: #e5e9f0;
  --bg: #f6f8fc;
  --card: #ffffff;
  --ok: #1b8a3e;
}

* { 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;
  -webkit-text-size-adjust: 100%;
}
img { max-width: 100%; display: block; }
a { color: var(--brand); }
.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* ── Cabecera ── */
.top {
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  color: #fff;
  position: relative;
  overflow: hidden;
}
.top::before, .top::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,.07);
}
.top::before { width: 420px; height: 420px; top: -180px; right: -120px; }
.top::after { width: 220px; height: 220px; bottom: -90px; left: -60px; }
nav.bar { display: flex; align-items: center; justify-content: space-between; padding: 18px 0; position: relative; z-index: 1; }
nav.bar img { height: 38px; width: auto; }
nav.bar ul { list-style: none; display: flex; gap: 22px; margin: 0; padding: 0; }
nav.bar a { color: #fff; text-decoration: none; font-weight: 600; font-size: 15px; opacity: .92; }
nav.bar a:hover { opacity: 1; text-decoration: underline; }

.hero { position: relative; z-index: 1; padding: 36px 0 84px; display: grid; grid-template-columns: 1.15fr .85fr; gap: 36px; align-items: center; }
.hero > * { min-width: 0; }
.hero h1 { font-size: clamp(32px, 5vw, 48px); line-height: 1.1; margin: 0 0 16px; letter-spacing: -.02em; }
.hero p.lead { font-size: 18px; margin: 0 0 26px; opacity: .95; max-width: 520px; }
.hero .pills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.pill { background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.25); padding: 6px 13px; border-radius: 999px; font-size: 13px; font-weight: 600; }
.hero-card {
  background: #fff; color: var(--ink); border-radius: 22px; padding: 22px;
  box-shadow: 0 20px 50px rgba(5, 30, 80, .35);
}
.hero-card .row { display: flex; align-items: center; gap: 14px; }
.hero-card .avatar { width: 58px; height: 58px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 800; font-size: 24px; display: grid; place-items: center; flex: none; }
.hero-card h3 { margin: 0; font-size: 18px; }
.hero-card .role { color: var(--brand); font-weight: 600; font-size: 14px; }
.hero-card .stars { color: #f5a623; letter-spacing: 2px; font-size: 15px; margin-top: 2px; }
.hero-card .stars span { color: var(--muted); letter-spacing: 0; font-size: 13px; margin-left: 6px; }
.verified { display: inline-flex; align-items: center; gap: 6px; background: #e7f6ec; color: var(--ok); font-weight: 700; font-size: 12px; padding: 4px 11px; border-radius: 999px; margin-top: 14px; }
.hero-card ul { list-style: none; padding: 0; margin: 16px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.hero-card li { background: var(--brand-light); color: #1857b6; font-weight: 600; font-size: 13px; padding: 6px 12px; border-radius: 999px; }

/* ── Botones ── */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; border-radius: 12px; font-weight: 700; text-decoration: none; font-size: 16px; border: 0; cursor: pointer; }
.btn-light { background: #fff; color: var(--brand-dark); }
.btn-light:hover { background: #f1f6ff; }
.btn-dark { background: #111; color: #fff; }
.btn-dark small { display: block; font-size: 11px; font-weight: 500; opacity: .8; line-height: 1.1; }
.btn-dark strong { display: block; font-size: 17px; line-height: 1.1; }
.btn[aria-disabled="true"] { opacity: .85; cursor: default; pointer-events: none; }

/* ── Secciones ── */
section { padding: 64px 0; }
section.alt { background: #fff; }
.eyebrow { color: var(--brand); font-weight: 800; letter-spacing: .08em; text-transform: uppercase; font-size: 13px; margin: 0 0 8px; }
h2 { font-size: clamp(26px, 4vw, 36px); line-height: 1.15; margin: 0 0 14px; letter-spacing: -.01em; }
.sub { color: var(--muted); font-size: 17px; max-width: 700px; margin: 0 0 34px; }

.concept { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 24px; }
.card h3 { margin: 0 0 8px; font-size: 19px; }
.card p { margin: 0; color: var(--muted); }
.ico { width: 44px; height: 44px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-size: 20px; margin-bottom: 14px; }

.steps-title { display: flex; align-items: center; gap: 10px; margin: 0 0 18px; font-size: 22px; }
.steps-title .tag { background: var(--brand-light); color: var(--brand-dark); font-size: 12px; font-weight: 800; padding: 4px 11px; border-radius: 999px; letter-spacing: .04em; text-transform: uppercase; }
.steps { list-style: none; counter-reset: s; padding: 0; margin: 0 0 44px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.steps li { counter-increment: s; background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 22px 20px; position: relative; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 800; margin-bottom: 12px; }
.steps h4 { margin: 0 0 6px; font-size: 16px; }
.steps p { margin: 0; color: var(--muted); font-size: 14.5px; }

/* ── Planes ── */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 28px 24px; display: flex; flex-direction: column; position: relative; }
.plan.featured { border: 2px solid var(--brand); box-shadow: 0 14px 40px rgba(26, 115, 232, .18); }
.plan .badge { position: absolute; top: -13px; left: 24px; background: var(--brand); color: #fff; font-size: 12px; font-weight: 800; padding: 4px 12px; border-radius: 999px; }
.plan h3 { margin: 0; font-size: 20px; }
.plan .price { font-size: 38px; font-weight: 800; letter-spacing: -.02em; margin: 10px 0 2px; }
.plan .price small { font-size: 15px; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.plan .per { color: var(--muted); font-size: 14px; margin: 0 0 18px; }
.plan ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.plan li { padding-left: 26px; position: relative; font-size: 15px; }
.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--ok); font-weight: 800; }
.note { margin-top: 22px; color: var(--muted); font-size: 14.5px; background: var(--brand-light); border-radius: 14px; padding: 16px 18px; }

/* ── Descarga ── */
.download { background: linear-gradient(135deg, var(--brand), var(--brand-dark)); color: #fff; text-align: center; border-radius: 26px; padding: 50px 24px; }
.download h2 { margin-bottom: 10px; }
.download p { margin: 0 auto 26px; max-width: 560px; opacity: .95; }
.download .actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }

/* ── FAQ ── */
details { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px 20px; margin-bottom: 12px; }
summary { cursor: pointer; font-weight: 700; font-size: 16px; }
details p { margin: 10px 0 0; color: var(--muted); }

/* ── Pie ── */
footer { background: #0b1f3f; color: #c9d6ee; padding: 44px 0 30px; font-size: 14.5px; }
footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 30px; }
footer h4 { color: #fff; margin: 0 0 10px; font-size: 15px; }
footer a { color: #c9d6ee; text-decoration: none; display: block; margin-bottom: 6px; }
footer a:hover { color: #fff; text-decoration: underline; }
footer img { height: 34px; width: auto; margin-bottom: 12px; }
footer .legal { margin-top: 28px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.14); font-size: 13px; color: #93a7c9; }

/* ── Páginas legales ── */
.doc { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 34px 30px; margin: -40px auto 60px; max-width: 820px; position: relative; z-index: 2; }
.doc h1 { margin: 0 0 6px; font-size: 30px; }
.doc .updated { color: var(--muted); font-size: 14px; margin: 0 0 20px; }
.doc h2 { font-size: 20px; margin: 28px 0 8px; }
.doc p, .doc li { color: #2b3445; }
.doc ul, .doc ol { padding-left: 22px; }
.doc li { margin-bottom: 6px; }
.doc .cta { margin-top: 26px; }
.top.small .hero { display: none; }
.top.small { padding-bottom: 70px; }

@media (max-width: 880px) {
  .hero { grid-template-columns: 1fr; padding-bottom: 70px; }
  .concept, .plans { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  footer .cols { grid-template-columns: 1fr; }
  nav.bar ul { display: none; }
}
@media (max-width: 520px) {
  .steps { grid-template-columns: 1fr; }
  section { padding: 48px 0; }
  .doc { padding: 24px 18px; }
}
