:root {
  --bg: #0e0f13;
  --bg-2: #15171d;
  --card: #1a1d25;
  --line: #2a2e38;
  --text: #eef0f4;
  --muted: #a3a9b6;
  --accent: #25d366;
  --accent-2: #1ebe5a;
  --warm: #ffb547;
  --radius: 16px;
  --max: 1080px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* Encabezado */
header.top { position: sticky; top: 0; z-index: 10; background: rgba(14, 15, 19, .85); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
header.top .wrap { 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(--text); letter-spacing: -.3px; }
.logo:hover { text-decoration: none; }
.logo .mark { width: 32px; height: 32px; border-radius: 9px; background: linear-gradient(135deg, var(--accent), #0fa14a); display: grid; place-items: center; color: #06240f; font-size: 17px; font-weight: 900; }
nav.links { display: flex; gap: 22px; font-size: 15px; }
nav.links a { color: var(--muted); }
nav.links a:hover { color: var(--text); text-decoration: none; }
@media (max-width: 640px) { nav.links { display: none; } }

/* Botones */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 22px; border-radius: 999px; font-weight: 700; font-size: 16px; border: 1px solid transparent; }
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--accent); color: #06240f; }
.btn-primary:hover { background: var(--accent-2); }
.btn-ghost { border-color: var(--line); color: var(--text); }
.btn-ghost:hover { border-color: var(--muted); }

/* Portada */
.hero { padding: 88px 0 72px; background: radial-gradient(900px 420px at 80% -10%, rgba(37, 211, 102, .16), transparent 60%), radial-gradient(700px 380px at 0% 10%, rgba(255, 181, 71, .08), transparent 60%); }
.hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
@media (max-width: 860px) { .hero .wrap { grid-template-columns: 1fr; } .hero { padding-top: 56px; } }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; color: var(--accent); background: rgba(37, 211, 102, .1); border: 1px solid rgba(37, 211, 102, .25); padding: 6px 12px; border-radius: 999px; }
h1 { font-size: clamp(34px, 5.2vw, 56px); line-height: 1.08; letter-spacing: -1.2px; margin: 18px 0 18px; }
h1 .hl { color: var(--accent); }
.lead { font-size: 19px; color: var(--muted); max-width: 560px; margin: 0 0 30px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }

/* Teléfono de ejemplo */
.phone { background: #0b141a; border: 1px solid var(--line); border-radius: 28px; padding: 16px; box-shadow: 0 30px 80px rgba(0, 0, 0, .45); max-width: 360px; justify-self: center; width: 100%; }
.phone .bar { display: flex; align-items: center; gap: 10px; padding: 6px 6px 14px; border-bottom: 1px solid #1f2c33; margin-bottom: 12px; }
.phone .avatar { width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg, var(--accent), #0fa14a); display: grid; place-items: center; color: #06240f; font-weight: 900; }
.phone .name { font-weight: 700; font-size: 15px; }
.phone .sub { font-size: 12px; color: #8696a0; }
.msg { max-width: 88%; padding: 9px 12px; border-radius: 12px; font-size: 14px; margin: 8px 0; line-height: 1.45; }
.msg.in { background: #202c33; border-top-left-radius: 4px; }
.msg.out { background: #005c4b; margin-left: auto; border-top-right-radius: 4px; }
.msg .dots { letter-spacing: 2px; }
.msg .btnlike { display: block; text-align: center; margin-top: 8px; padding-top: 8px; border-top: 1px solid #2f3b43; color: #53bdeb; font-weight: 600; }

/* Secciones */
section { padding: 80px 0; }
section.alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
h2 { font-size: clamp(28px, 3.6vw, 40px); letter-spacing: -.8px; line-height: 1.15; margin: 0 0 14px; }
.section-lead { color: var(--muted); font-size: 18px; max-width: 640px; margin: 0 0 40px; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; }
@media (max-width: 800px) { .steps { grid-template-columns: 1fr; } }
.step { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; position: relative; }
.step::before { counter-increment: s; content: counter(s); position: absolute; top: 22px; right: 22px; width: 30px; height: 30px; border-radius: 50%; background: rgba(37, 211, 102, .12); color: var(--accent); display: grid; place-items: center; font-weight: 800; font-size: 14px; }
.step .ic { font-size: 30px; }
.step h3 { margin: 12px 0 6px; font-size: 19px; }
.step p { margin: 0; color: var(--muted); }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 900px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grid { grid-template-columns: 1fr; } }
.feat { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.feat .ic { font-size: 26px; }
.feat h3 { margin: 10px 0 6px; font-size: 17px; }
.feat p { margin: 0; color: var(--muted); font-size: 15px; }

.niches { display: flex; flex-wrap: wrap; gap: 12px; }
.chip { padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); font-weight: 600; font-size: 15px; }
.chip.on { border-color: rgba(37, 211, 102, .5); background: rgba(37, 211, 102, .1); color: var(--accent); }
.chip small { color: var(--muted); font-weight: 500; margin-left: 6px; }

.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 760px) { .contact { grid-template-columns: 1fr; } }
.contact .box { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.contact .box h3 { margin: 0 0 6px; }
.contact .box p { margin: 0 0 16px; color: var(--muted); }

/* Pie */
footer { border-top: 1px solid var(--line); padding: 36px 0 44px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 18px; justify-content: space-between; }
footer .legal a { color: var(--muted); margin-right: 18px; }
footer .legal a:hover { color: var(--text); }

/* Páginas legales */
.doc { padding: 56px 0 80px; }
.doc .wrap { max-width: 820px; }
.doc h1 { font-size: clamp(30px, 4vw, 42px); margin-top: 0; }
.doc h2 { font-size: 22px; margin: 36px 0 10px; letter-spacing: -.3px; }
.doc p, .doc li { color: #d3d7df; }
.doc ul { padding-left: 22px; }
.doc .meta { color: var(--muted); font-size: 15px; }
.doc .box { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px; margin: 18px 0; }
