/* Guía Neón — estilos base */
:root {
  --bg: #0d0e17;
  --bg-soft: #151724;
  --line: #262940;
  --text: #ece8e1;
  --muted: #9c9aa6;
  --neon: #ff4f8b;      /* acento principal */
  --neon-soft: #ff4f8b22;
  --sky: #5fd4d0;       /* acento secundario, solo para detalles */
  --radius: 10px;
  --max: 720px;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-head: "Space Grotesk", var(--font-body);
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.65;
}

a { color: var(--neon); text-underline-offset: 3px; }
a:hover { color: #ff7aa8; }

img { max-width: 100%; height: auto; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 22px; }
.wrap-wide { max-width: 1040px; margin: 0 auto; padding: 0 22px; }

/* Cabecera */
.site-header {
  border-bottom: 1px solid var(--line);
}
.site-header .wrap-wide {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.logo {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.01em;
  color: var(--text);
  text-decoration: none;
}
.logo span { color: var(--neon); }
.nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 15px;
  margin-left: 22px;
}
.nav a:hover { color: var(--text); }

/* Portada */
.hero { padding: 88px 0 56px; }
.hero .kicker {
  font-size: 14px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--sky); margin: 0 0 18px;
}
.hero h1 {
  font-family: var(--font-head);
  font-size: clamp(40px, 7vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin: 0 0 22px;
  max-width: 14ch;
}
.hero h1 em { font-style: normal; color: var(--neon); }
.hero p { color: var(--muted); max-width: 52ch; margin: 0; font-size: 19px; }

.countdown {
  margin-top: 36px;
  display: inline-flex; gap: 10px; align-items: baseline;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 15px; color: var(--muted);
}
.countdown strong { color: var(--text); font-family: var(--font-head); font-size: 20px; }

/* Lista de guías */
.section-title {
  font-family: var(--font-head);
  font-size: 15px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 18px;
}
.cards { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); padding-bottom: 80px; }
.card {
  display: block;
  padding: 24px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--text);
  text-decoration: none;
  transition: border-color .15s ease;
}
.card:hover { border-color: var(--neon); color: var(--text); }
.card .tag { font-size: 13px; color: var(--sky); margin-bottom: 10px; display: block; }
.card h3 { font-family: var(--font-head); font-size: 22px; line-height: 1.2; margin: 0 0 10px; letter-spacing: -0.01em; }
.card p { color: var(--muted); font-size: 16px; margin: 0; }
.card.soon { opacity: .55; pointer-events: none; }

/* Artículo */
.article { padding: 56px 0 80px; }
.breadcrumb { font-size: 14px; color: var(--muted); margin-bottom: 26px; }
.breadcrumb a { color: var(--muted); }
.article h1 {
  font-family: var(--font-head);
  font-size: clamp(32px, 5.5vw, 48px);
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin: 0 0 16px;
}
.meta { font-size: 14px; color: var(--muted); margin-bottom: 34px; }
.answer {
  border-left: 3px solid var(--neon);
  background: var(--neon-soft);
  padding: 18px 20px;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 0 0 36px;
}
.answer p { margin: 0; }
.article h2 {
  font-family: var(--font-head);
  font-size: 26px; line-height: 1.2; letter-spacing: -0.015em;
  margin: 44px 0 12px;
}
.article h3 { font-family: var(--font-head); font-size: 20px; margin: 28px 0 8px; }
.article ul, .article ol { padding-left: 22px; }
.article li { margin-bottom: 6px; }

table { width: 100%; border-collapse: collapse; margin: 18px 0 8px; font-size: 16px; }
th, td { text-align: left; padding: 11px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--muted); font-weight: 600; font-size: 14px; }
.table-scroll { overflow-x: auto; }
.note { font-size: 15px; color: var(--muted); }

.callout {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px;
  margin: 26px 0;
  font-size: 16px;
}
.callout strong { color: var(--sky); }

.sources { margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 15px; color: var(--muted); }
.sources h2 { font-size: 17px; margin: 0 0 10px; }
.sources a { color: var(--muted); }

.related { margin-top: 44px; }

/* Pie */
.site-footer { border-top: 1px solid var(--line); padding: 32px 0 48px; font-size: 14px; color: var(--muted); }
.site-footer p { margin: 0 0 8px; }
.site-footer a { color: var(--muted); }

@media (max-width: 560px) {
  body { font-size: 17px; }
  .nav a { margin-left: 14px; }
  .hero { padding: 56px 0 40px; }
}
