:root {
  color-scheme: dark;
  --bg: #08090b;
  --bg-2: #101215;
  --card: #14171b;
  --line: rgb(255 255 255 / 8%);
  --text: #f4f5f6;
  --muted: #9ba1a9;
  --green: #2be06e;
  --green-soft: rgb(43 224 110 / 12%);
  --radius: 18px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
.wrap { width: min(1120px, 100% - 32px); margin: 0 auto; }

/* Barra de arriba */
.top {
  position: sticky; top: 0; z-index: 10;
  backdrop-filter: blur(14px);
  background: rgb(8 9 11 / 78%);
  border-bottom: 1px solid var(--line);
}
.top .wrap { display: flex; align-items: center; gap: 16px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 19px; letter-spacing: -0.02em; }
.brand img { width: 32px; height: 32px; border-radius: 9px; }
.top nav { margin-left: auto; display: flex; align-items: center; gap: 22px; font-size: 15px; }
.top nav a { text-decoration: none; color: var(--muted); }
.top nav a:hover { color: var(--text); }
.top nav .btn { color: #04140a; }

/* Botones */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 46px; padding: 0 22px; border-radius: 999px;
  font-weight: 700; font-size: 15px; text-decoration: none;
  background: var(--green); color: #04140a; border: 0;
  transition: transform .15s ease, background .15s ease;
}
.btn:hover { background: #4cf088; transform: translateY(-1px); }
.btn.ghost { background: transparent; color: var(--text); border: 1px solid rgb(255 255 255 / 22%); }
.btn.ghost:hover { border-color: rgb(255 255 255 / 45%); background: rgb(255 255 255 / 4%); }
.btn svg { width: 20px; height: 20px; }
.top nav .btn { min-height: 38px; padding: 0 18px; }

/* Portada */
.hero { padding: 96px 0 72px; text-align: center; position: relative; overflow: hidden; }
.hero::before {
  content: ''; position: absolute; inset: -40% 10% auto; height: 520px; z-index: -1;
  background: radial-gradient(closest-side, rgb(43 224 110 / 14%), transparent);
}
.hero img.mark { width: 96px; height: 96px; border-radius: 24px; margin-bottom: 28px; box-shadow: 0 20px 60px rgb(0 0 0 / 60%); }
.hero h1 { margin: 0 auto 18px; max-width: 820px; font-size: clamp(36px, 6vw, 64px); line-height: 1.05; letter-spacing: -0.035em; font-weight: 850; }
.hero h1 span { color: var(--green); }
.hero p.lead { margin: 0 auto 34px; max-width: 620px; color: var(--muted); font-size: clamp(17px, 2.2vw, 20px); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.small { margin-top: 18px; color: var(--muted); font-size: 13px; }

/* Secciones */
section.block { padding: 72px 0; border-top: 1px solid var(--line); }
.kicker { color: var(--green); font-weight: 700; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 10px; }
h2 { margin: 0 0 14px; font-size: clamp(28px, 4vw, 40px); letter-spacing: -0.03em; line-height: 1.1; }
.intro { color: var(--muted); max-width: 640px; margin: 0 0 40px; font-size: 17px; }

.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; transition: border-color .2s ease, transform .2s ease;
}
.card:hover { border-color: rgb(43 224 110 / 35%); transform: translateY(-2px); }
.card .ico {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: var(--green-soft); color: var(--green); margin-bottom: 16px;
}
.card .ico svg { width: 24px; height: 24px; }
.card h3 { margin: 0 0 6px; font-size: 18px; letter-spacing: -0.01em; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }

.steps { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); counter-reset: step; }
.step { padding: 26px; border-radius: var(--radius); background: var(--bg-2); border: 1px solid var(--line); }
.step::before {
  counter-increment: step; content: counter(step);
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  background: var(--green); color: #04140a; font-weight: 800; margin-bottom: 14px;
}
.step h3 { margin: 0 0 6px; font-size: 17px; }
.step p { margin: 0; color: var(--muted); font-size: 15px; }

.cta { text-align: center; padding: 88px 0; border-top: 1px solid var(--line); }
.cta p { color: var(--muted); margin: 0 0 28px; }

/* Pie */
footer { border-top: 1px solid var(--line); padding: 32px 0 40px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; }
footer nav { margin-left: auto; display: flex; flex-wrap: wrap; gap: 20px; }
footer a { text-decoration: none; }
footer a:hover { color: var(--text); }

/* Páginas legales */
.legal { padding: 56px 0 80px; }
.legal .wrap { max-width: 760px; }
.legal h1 { font-size: clamp(30px, 5vw, 44px); letter-spacing: -0.03em; line-height: 1.1; margin: 0 0 8px; }
.legal .date { color: var(--muted); margin: 0 0 36px; font-size: 14px; }
.legal h2 { font-size: 21px; margin: 36px 0 10px; letter-spacing: -0.01em; }
.legal p, .legal li { color: #c9cdd2; }
.legal ul { padding-left: 22px; }
.legal li { margin: 6px 0; }
.legal a { color: var(--green); }

@media (max-width: 640px) {
  .top nav a:not(.btn) { display: none; }
  .hero { padding: 64px 0 48px; }
  section.block { padding: 56px 0; }
  footer nav { margin-left: 0; }
}
