/* Estilos compartidos de las páginas internas (recursos, guías, privacidad).
   Mismo diseño que la portada: oscuro, verde botella y acento verde neón. */
:root {
  --bg: #06110c; --bg2: #081a12; --surface: #0c1f16; --surface2: #10291d;
  --line: rgba(190, 255, 220, .09); --line2: rgba(190, 255, 220, .16);
  --text: #e9f5ee; --muted: #93ad9f; --dim: #5f7a6b;
  --bottle: #0b5d3b; --green: #1f8a5b; --neon: #3ee08f; --mint: #b7f5d3; --gold: #e4c27a; --warn: #f1b44c;
  --display: "Space Grotesk", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body { margin: 0; color: var(--text); font: 17px/1.7 var(--body); -webkit-font-smoothing: antialiased; min-height: 100vh;
  background: radial-gradient(900px 500px at 85% -10%, rgba(11, 93, 59, .5), transparent 70%), var(--bg); }
body::before { content: ""; position: fixed; inset: 0; pointer-events: none; z-index: -1; opacity: .5;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 50% at 50% 0%, #000, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 50% at 50% 0%, #000, transparent 75%); }
::selection { background: var(--neon); color: var(--bg); }
a { color: var(--neon); }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 780px; }
h1, h2, h3 { font-family: var(--display); line-height: 1.12; letter-spacing: -.02em; margin: 0; }
h1 { font-size: clamp(2.1rem, 5.5vw, 3.4rem); margin-bottom: 14px; }
h2 { font-size: clamp(1.5rem, 3.4vw, 2rem); margin: 52px 0 14px; }
h3 { font-size: 1.2rem; margin: 28px 0 8px; }
p { margin: 0 0 16px; }
.lead { color: var(--muted); font-size: 1.12rem; max-width: 660px; margin-bottom: 32px; }
.grad { background: linear-gradient(100deg, var(--mint), var(--neon) 45%, #19b56f); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow { font: 500 .78rem/1 var(--mono); text-transform: uppercase; letter-spacing: .14em; color: var(--neon);
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.eyebrow::before { content: ""; width: 24px; height: 1px; background: currentColor; }
.muted { color: var(--muted); }

/* Barra superior */
.topbar { position: sticky; top: 0; z-index: 20; background: rgba(6, 17, 12, .75); backdrop-filter: blur(14px) saturate(140%); border-bottom: 1px solid var(--line); }
.topbar .in { max-width: 1080px; margin: 0 auto; padding: 0 16px; height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font: 600 1.02rem var(--display); white-space: nowrap; }
.brand i { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; font: 700 .78rem var(--display); font-style: normal;
  background: linear-gradient(135deg, var(--bottle), var(--green)); color: var(--mint); }
.topbar nav { display: flex; gap: 4px; align-items: center; }
.topbar nav a { color: var(--muted); text-decoration: none; font-size: .92rem; padding: 7px 11px; border-radius: 8px; }
.topbar nav a:hover, .topbar nav a.on { color: var(--text); background: rgba(255,255,255,.05); }
.topbar nav a.cta { color: #04150c; background: var(--neon); font-weight: 600; }
.topbar nav a.cta:hover { background: var(--mint); }
@media (max-width: 640px) { .topbar nav a:not(.cta) { display: none; } }

main { padding: 56px 0 80px; }
.crumbs { font: 500 .8rem var(--mono); color: var(--dim); margin-bottom: 22px; }
.crumbs a { color: var(--muted); text-decoration: none; }

/* Botones */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 20px; border-radius: 12px; font: 600 .98rem var(--body);
  text-decoration: none; border: 1px solid transparent; transition: transform .2s, box-shadow .2s; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: linear-gradient(135deg, var(--neon), #1fbf74); color: #04150c; box-shadow: 0 8px 30px -8px rgba(62, 224, 143, .55); }
.btn-ghost { color: var(--text); border-color: var(--line2); background: rgba(255,255,255,.03); }

/* Tarjetas */
.card { position: relative; border-radius: 18px; background: rgba(12, 31, 22, .85); border: 1px solid var(--line); padding: 26px; }
.callout { border-radius: 14px; padding: 16px 18px; margin: 22px 0; border: 1px solid rgba(62,224,143,.3); background: rgba(62,224,143,.07); color: var(--mint); }
.callout.warn { border-color: rgba(241,180,76,.35); background: rgba(241,180,76,.08); color: #f6d9a3; }
.callout b { color: inherit; }

/* Tablas */
.table-wrap { overflow-x: auto; margin: 18px 0 8px; border: 1px solid var(--line); border-radius: 14px; }
table { width: 100%; border-collapse: collapse; font-size: .9rem; }
th, td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: center; white-space: nowrap; }
th { font: 600 .78rem var(--body); color: var(--muted); background: rgba(0,0,0,.2); }
td:first-child, th:first-child { text-align: left; white-space: normal; }
tr:last-child td { border-bottom: 0; }
.si { color: var(--neon); font-weight: 700; }
.no { color: var(--dim); }

footer { border-top: 1px solid var(--line); padding: 28px 0; color: var(--dim); font-size: .88rem; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; }
footer a { color: var(--muted); text-decoration: none; }
footer a:hover { color: var(--neon); }
