/* ═══════════════════════════════════════════════════
   La HaciendIA · v59 · Clean Professional Design
   Inspired by Bloomberg, Yahoo Finance, FT
   ═══════════════════════════════════════════════════ */

:root {
  --bg: #0a0e17;
  --bg-card: #0f1320;
  --bg-hover: #151a2a;
  --bg-surface: #121728;
  --border: rgba(255,255,255,0.08);
  --border-hover: rgba(212,175,85,0.35);
  --gold: #d4af55;
  --gold-bright: #ecc96e;
  --gold-dim: rgba(212,175,85,0.1);
  --text: #e8e4db;
  --text-secondary: #8b92a5;
  --text-muted: #4d556a;
  --green: #34c77b;
  --red: #e85454;
  --blue: #5b9cf6;
  --section-gap: 0;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Outfit', sans-serif;
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: rgba(212,175,85,0.25); color: var(--text); }
.build-stamp { display: none; }

/* ── NAV ── */
nav {
  position: fixed; top: 0; width: 100%; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 2.5rem; height: 56px;
  background: rgba(10,14,23,0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.logo-wrap img, .logo-wrap svg { height: 48px; width: auto; display: block; }
nav ul { list-style: none; display: flex; gap: 1.8rem; align-items: center; }
nav a {
  font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--text-secondary); text-decoration: none; font-weight: 500;
  transition: color 0.15s;
}
nav a:hover { color: var(--gold); }
.nav-cta {
  font-family: 'DM Mono', monospace;
  font-size: 0.65rem !important; letter-spacing: 0.1em !important;
  color: var(--bg) !important; background: var(--gold) !important;
  padding: 0.45rem 1.2rem !important; border-radius: 3px; font-weight: 600 !important;
}
.nav-cta:hover { background: var(--gold-bright) !important; }
.brand-main { color: var(--text); font-weight: 700; }
.brand-ia { color: var(--gold); font-weight: 800; font-style: italic; }

/* Mobile nav */
.nav-hamburger {
  display: none; background: none; border: none; cursor: pointer;
  width: 24px; height: 18px; position: relative; z-index: 101;
}
.nav-hamburger span {
  display: block; width: 100%; height: 2px; background: var(--text-secondary);
  position: absolute; left: 0; transition: all 0.25s ease;
}
.nav-hamburger span:nth-child(1) { top: 0; }
.nav-hamburger span:nth-child(2) { top: 8px; }
.nav-hamburger span:nth-child(3) { top: 16px; }
.nav-hamburger.active span:nth-child(1) { top: 8px; transform: rotate(45deg); background: var(--gold); }
.nav-hamburger.active span:nth-child(2) { opacity: 0; }
.nav-hamburger.active span:nth-child(3) { top: 8px; transform: rotate(-45deg); background: var(--gold); }

/* ── HERO ── */
.glow {
  position: absolute; top: -180px; right: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(212,175,85,0.06) 0%, transparent 65%);
  pointer-events: none; z-index: 0;
}

.hero {
  position: relative; z-index: 1;
  display: flex; flex-direction: column;
  padding: 5rem 2.5rem 2rem;
  max-width: 1200px; margin: 0 auto;
}
.hero-tag {
  font-family: 'DM Mono', monospace; font-size: 0.65rem;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold);
  margin-bottom: 1.2rem; display: flex; align-items: center; gap: 0.7rem;
  animation: fadeUp 0.5s ease both;
}
.hero-tag::before { content: ''; width: 28px; height: 1px; background: var(--gold); }

h1 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2.4rem, 5vw, 4rem); line-height: 1.08;
  letter-spacing: -0.02em; max-width: 750px; margin-bottom: 1rem;
  animation: fadeUp 0.5s 0.08s ease both; font-weight: 400;
}
h1 .gold, h1 em { color: var(--gold); }
h1 em { font-style: italic; }

.hero-desc {
  font-size: 0.98rem; line-height: 1.7; color: var(--text-secondary);
  max-width: 520px; margin-bottom: 1.8rem;
  animation: fadeUp 0.5s 0.16s ease both;
}

.hero-props {
  display: flex; flex-wrap: wrap; gap: 1.5rem 2.5rem;
  margin-top: 1.8rem; padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  animation: fadeUp 0.5s 0.3s ease both;
}
.hero-prop {
  font-size: 0.82rem; color: var(--text-secondary); line-height: 1.5;
}
.hero-prop strong { color: var(--text); }

/* ── BUTTONS ── */
.btn-primary {
  font-family: 'DM Mono', monospace; font-size: 0.7rem;
  letter-spacing: 0.1em; text-transform: uppercase;
  background: var(--gold); color: var(--bg);
  padding: 0.75rem 1.8rem; border: none; border-radius: 3px;
  cursor: pointer; text-decoration: none; font-weight: 600;
  transition: background 0.15s; display: inline-flex; align-items: center; gap: 0.5rem;
}
.btn-primary:hover { background: var(--gold-bright); }

.btn-ghost {
  font-family: 'DM Mono', monospace; font-size: 0.7rem;
  letter-spacing: 0.1em; text-transform: uppercase;
  background: transparent; color: var(--text-secondary);
  padding: 0.75rem 1.4rem; border: 1px solid var(--border); border-radius: 3px;
  cursor: pointer; text-decoration: none; transition: all 0.15s; display: inline-block;
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }

/* ── TICKER ── */
.ticker-bar {
  position: relative; z-index: 1;
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  overflow: hidden; padding: 0.6rem 0; background: var(--bg-card);
}
.ticker-bar::before, .ticker-bar::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 80px; z-index: 2; pointer-events: none;
}
.ticker-bar::before { left: 0; background: linear-gradient(90deg, var(--bg-card), transparent); }
.ticker-bar::after { right: 0; background: linear-gradient(270deg, var(--bg-card), transparent); }
.ticker-track { display: flex; gap: 2.5rem; animation: ticker 50s linear infinite; width: max-content; }
.ticker-item {
  font-family: 'DM Mono', monospace; font-size: 0.65rem; letter-spacing: 0.06em;
  color: var(--text-secondary); white-space: nowrap;
}
.up { color: var(--green); font-weight: 500; }
.down { color: var(--red); font-weight: 500; }
.ticker-sep { color: rgba(255,255,255,0.08); }
@keyframes ticker { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ── SECTIONS ── */
section {
  position: relative; z-index: 1;
  max-width: 1200px; margin: 0 auto; padding: 2.2rem 2.5rem;
}
.news-section { border-top: 1px solid var(--border); position: relative; z-index: 1; }

.section-label {
  font-family: 'DM Mono', monospace; font-size: 0.62rem;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 0.7rem;
}

h2 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem); line-height: 1.15; margin-bottom: 0.8rem; font-weight: 400;
}
h2 em { font-style: italic; color: var(--gold); }
.section-subtitle { color: var(--text-secondary); font-size: 0.9rem; line-height: 1.65; max-width: 65ch; }

/* ── RADAR HERO (Clave del día) ── */
.radar-hero {
  display: grid; grid-template-columns: 1.5fr 1fr;
  gap: 1px; background: var(--border);
  border: 1px solid var(--border); border-radius: 8px;
  overflow: hidden; margin: 1.2rem 0;
}
.radar-hero-main {
  background: var(--bg-card); padding: 1.8rem 2rem;
  text-decoration: none; color: inherit; display: block;
  transition: background 0.15s; position: relative;
}
.radar-hero-main::before {
  content: 'CLAVE DEL DÍA'; position: absolute; top: 0.9rem; right: 1rem;
  font-family: 'DM Mono', monospace; font-size: 0.52rem;
  letter-spacing: 0.15em; color: var(--gold); opacity: 0.5;
}
.radar-hero-main:hover { background: var(--bg-hover); }
.radar-hero-main h3 {
  font-family: 'DM Serif Display', serif; font-size: 1.25rem;
  line-height: 1.3; margin-bottom: 0.6rem; color: var(--text); font-weight: 400;
}
.radar-hero-main p { font-size: 0.84rem; color: var(--text-secondary); line-height: 1.6; margin-bottom: 0.7rem; }
.radar-hero-side { background: var(--bg-card); display: flex; flex-direction: column; }
.radar-hero-item {
  padding: 0.9rem 1.2rem; text-decoration: none; color: inherit; display: block;
  border-bottom: 1px solid var(--border); transition: background 0.15s; flex: 1;
}
.radar-hero-item:last-child { border-bottom: none; }
.radar-hero-item:hover { background: var(--bg-hover); }
.radar-hero-item h4 { font-family: 'DM Serif Display', serif; font-size: 0.84rem; line-height: 1.3; color: var(--text); font-weight: 400; }

/* ── MARKET SNAPSHOT ── */
.market-snapshot {
  display: flex; border: 1px solid var(--border); border-radius: 6px;
  overflow: hidden; margin-bottom: 1rem; background: var(--bg-card);
}
.market-item {
  flex: 1; padding: 0.55rem 0.8rem;
  display: flex; flex-direction: column; align-items: center; gap: 1px;
  border-right: 1px solid var(--border); text-align: center;
}
.market-item:last-child { border-right: none; }
.market-label { font-family: 'DM Mono', monospace; font-size: 0.55rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); }
.market-val { font-size: 0.85rem; font-weight: 600; color: var(--text); }
.market-val.up { color: var(--green); }
.market-val.down { color: var(--red); }
.market-val.gold { color: var(--gold); }
.market-val small { font-size: 0.62rem; font-weight: 400; }

/* ── CATEGORY FILTERS ── */
.radar-filters { display: flex; gap: 5px; margin-bottom: 0.8rem; flex-wrap: wrap; }
.radar-filter {
  background: transparent; border: 1px solid var(--border); color: var(--text-secondary);
  font-family: 'DM Mono', monospace; font-size: 0.62rem; letter-spacing: 0.06em;
  padding: 4px 12px; border-radius: 4px; cursor: pointer; transition: all 0.15s;
}
.radar-filter:hover { border-color: var(--gold); color: var(--gold); }
.radar-filter.active { background: var(--gold); border-color: var(--gold); color: var(--bg); font-weight: 600; }

/* ── NEWS GRID ── */
.news-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--border); border: 1px solid var(--border);
  border-radius: 8px; overflow: hidden; margin-top: 0.8rem;
}
.news-card {
  background: var(--bg-card); padding: 1.2rem 1.3rem;
  cursor: pointer; text-decoration: none; color: inherit; display: block;
  transition: background 0.15s;
}
.news-card:hover { background: var(--bg-hover); }
.news-date {
  font-family: 'DM Mono', monospace; font-size: 0.58rem;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.4rem;
}
.news-card h3 {
  font-family: 'DM Serif Display', serif; font-size: 0.92rem;
  line-height: 1.3; margin-bottom: 0.35rem; color: var(--text); font-weight: 400;
}
.news-card p { font-size: 0.78rem; color: var(--text-secondary); line-height: 1.55; margin-bottom: 0.6rem; }
.news-footer, .news-source {
  font-family: 'DM Mono', monospace; font-size: 0.52rem;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted);
}

/* ── CARDS GRID ── */
.cards-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: 1.2rem; }
.card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: 8px;
  padding: 1.3rem; transition: border-color 0.2s, transform 0.2s;
  cursor: pointer; text-decoration: none; color: inherit; display: block;
}
.card:hover { border-color: var(--border-hover); transform: translateY(-2px); }
.card-icon {
  font-family: 'DM Mono', monospace; font-size: 0.55rem;
  letter-spacing: 0.12em; color: var(--gold); margin-bottom: 0.8rem;
}
.card h3 { font-family: 'DM Serif Display', serif; font-size: 0.95rem; margin-bottom: 0.4rem; line-height: 1.3; font-weight: 400; }
.card p { font-size: 0.78rem; color: var(--text-secondary); line-height: 1.55; margin-bottom: 0.7rem; }
.card-arrow { font-family: 'DM Mono', monospace; font-size: 0.58rem; letter-spacing: 0.08em; color: var(--gold); text-transform: uppercase; }

/* ── ANÁLISIS ── */
.latest-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; margin-top: 1.2rem; }
.post-featured {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: 8px;
  padding: 1.6rem; display: block; text-decoration: none; color: inherit;
  transition: border-color 0.2s, transform 0.2s; position: relative; overflow: hidden;
}
.post-featured:hover { border-color: var(--border-hover); transform: translateY(-2px); }
.post-featured::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
}
.post-featured h3 { font-family: 'DM Serif Display', serif; font-size: 1.15rem; line-height: 1.3; margin: 0.5rem 0 0.4rem; font-weight: 400; }
.post-featured p { font-size: 0.84rem; color: var(--text-secondary); line-height: 1.6; }

.post-list { display: flex; flex-direction: column; gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: 8px; overflow: hidden; }
.post-item { background: var(--bg-card); padding: 1rem 1.2rem; display: block; text-decoration: none; color: inherit; transition: background 0.15s; }
.post-item:hover { background: var(--bg-hover); }
.post-item h4 { font-family: 'DM Serif Display', serif; font-size: 0.9rem; line-height: 1.3; margin-top: 0.25rem; font-weight: 400; }
.post-link { text-decoration: none; color: inherit; }

.post-tag {
  font-family: 'DM Mono', monospace; font-size: 0.55rem; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 0.15rem 0.5rem; border-radius: 3px; display: inline-block;
}
.tag-ia { background: var(--gold-dim); color: var(--gold); border: 1px solid rgba(212,175,85,0.2); }
.tag-emp { background: rgba(91,156,246,0.08); color: var(--blue); border: 1px solid rgba(91,156,246,0.2); }
.post-meta { font-family: 'DM Mono', monospace; font-size: 0.55rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); }

/* ── OPINIÓN ── */
.opinion-card, .debate-card {
  background: var(--bg-card); border: 1px solid var(--border-hover); border-radius: 8px;
  padding: 1.4rem; display: block; text-decoration: none; color: inherit;
  transition: border-color 0.2s, transform 0.2s; margin-bottom: 0.8rem;
}
.opinion-card:hover, .debate-card:hover { border-color: var(--gold); transform: translateY(-2px); }
.opinion-featured { font-family: 'DM Mono', monospace; font-size: 0.55rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.4rem; }
.news-tag { font-family: 'DM Mono', monospace; font-size: 0.58rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 0.35rem; }
.news-title { font-family: 'DM Serif Display', serif; font-size: 1.05rem; line-height: 1.3; color: var(--text); margin-bottom: 0.35rem; font-weight: 400; }
.news-desc { font-size: 0.82rem; color: var(--text-secondary); line-height: 1.6; }

/* ── STATS ── */
.stats-compact { position: relative; z-index: 1; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--bg-card); }
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; max-width: 1200px; margin: 0 auto; padding: 0 2.5rem; background: var(--border); }
.stat-card { background: var(--bg-card); padding: 1.1rem 1.3rem; }
.stat-num { font-family: 'DM Serif Display', serif; font-size: 1.8rem; line-height: 1; color: var(--gold); }
.stat-label { margin-top: 0.3rem; color: var(--text-secondary); font-size: 0.78rem; }

/* ── CURSOS ── */
.cursos-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 1.2rem; }
.curso-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: 8px;
  padding: 1.3rem; display: flex; flex-direction: column;
  transition: border-color 0.2s, transform 0.2s;
}
.curso-card:hover { border-color: var(--border-hover); transform: translateY(-2px); }
.curso-tipo {
  font-family: 'DM Mono', monospace; font-size: 0.55rem; letter-spacing: 0.12em;
  text-transform: uppercase; padding: 0.18rem 0.55rem; border-radius: 3px;
  display: inline-block; margin-bottom: 0.7rem; width: fit-content;
}
.tipo-curso { background: var(--gold-dim); color: var(--gold); border: 1px solid rgba(212,175,85,0.25); }
.tipo-manual { background: rgba(91,156,246,0.08); color: var(--blue); border: 1px solid rgba(91,156,246,0.2); }
.curso-card h3 { font-family: 'DM Serif Display', serif; font-size: 0.95rem; line-height: 1.3; margin-bottom: 0.45rem; font-weight: 400; }
.curso-card p { font-size: 0.78rem; color: var(--text-secondary); line-height: 1.55; flex: 1; }
.curso-footer { display: flex; align-items: center; justify-content: space-between; margin-top: 1rem; padding-top: 0.8rem; border-top: 1px solid var(--border); }
.curso-precio { font-family: 'DM Mono', monospace; font-size: 0.6rem; letter-spacing: 0.05em; color: var(--text-muted); }
.curso-precio.is-upcoming { font-style: italic; }
.curso-cta {
  font-family: 'DM Mono', monospace; font-size: 0.6rem; letter-spacing: 0.08em;
  text-transform: uppercase; background: var(--gold); color: var(--bg);
  padding: 0.4rem 1rem; border: none; border-radius: 3px; cursor: pointer;
  text-decoration: none; font-weight: 600; transition: background 0.15s; display: inline-block;
}
.curso-cta:hover { background: var(--gold-bright); }
.curso-cta.disabled { background: rgba(255,255,255,0.06); color: var(--text-muted); cursor: not-allowed; }

/* ── FORMS ── */
.registro-form input[type="email"] {
  width: 100%; margin-top: 0.6rem;
  background: var(--bg); border: 1px solid var(--border); border-radius: 3px;
  padding: 0.5rem 0.75rem; color: var(--text); font-family: 'Outfit', sans-serif;
  font-size: 0.82rem; transition: border-color 0.15s;
}
.registro-form input[type="email"]:focus { outline: none; border-color: var(--gold); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* ── NEWSLETTER ── */
.newsletter-section { position: relative; z-index: 1; background: var(--bg-card); border-top: 1px solid var(--border); }
.newsletter-inner { max-width: 1200px; margin: 0 auto; padding: 2.5rem; display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.newsletter-form { display: flex; }
.newsletter-form input[type="email"] {
  flex: 1; background: var(--bg); border: 1px solid var(--border); border-right: none;
  padding: 0.65rem 1rem; color: var(--text); font-family: 'Outfit', sans-serif;
  font-size: 0.82rem; border-radius: 3px 0 0 3px;
}
.newsletter-form input[type="email"]:focus { outline: none; border-color: var(--gold); }
.newsletter-form button {
  background: var(--gold); color: var(--bg); border: none;
  padding: 0.65rem 1.3rem; border-radius: 0 3px 3px 0;
  font-family: 'DM Mono', monospace; font-size: 0.62rem; letter-spacing: 0.1em;
  text-transform: uppercase; font-weight: 600; cursor: pointer; transition: background 0.15s;
}
.newsletter-form button:hover { background: var(--gold-bright); }
.newsletter-note { font-family: 'DM Mono', monospace; font-size: 0.55rem; letter-spacing: 0.06em; color: var(--text-muted); margin-top: 0.5rem; }

/* ── PRODUCTO ── */
.producto-central { position: relative; z-index: 1; background: var(--bg-card); border-top: 1px solid var(--border); }
.producto-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1rem; }
.producto-box { background: var(--bg-surface); border: 1px solid var(--border); border-radius: 8px; padding: 1.2rem; }
.producto-box h3 { font-family: 'DM Mono', monospace; font-size: 0.65rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.6rem; font-weight: 600; }
.producto-box p { font-size: 0.82rem; color: var(--text-secondary); line-height: 1.6; margin-bottom: 0.35rem; }
.producto-box ol, .producto-box ul { padding-left: 1.1rem; margin-top: 0.35rem; }
.producto-box li { font-size: 0.8rem; color: var(--text-secondary); margin-bottom: 0.25rem; line-height: 1.5; }
.producto-box strong { color: var(--text); }
.producto-cta { display: flex; gap: 0.8rem; margin-top: 1.2rem; flex-wrap: wrap; }
.producto-btn {
  font-family: 'DM Mono', monospace; font-size: 0.65rem; letter-spacing: 0.08em;
  text-transform: uppercase; padding: 0.7rem 1.5rem; border-radius: 3px;
  cursor: pointer; text-decoration: none; font-weight: 600; transition: all 0.15s; display: inline-block;
}
.producto-btn.primary { background: var(--gold); color: var(--bg); border: 1px solid transparent; }
.producto-btn.primary:hover { background: var(--gold-bright); }
.producto-btn:not(.primary) { background: transparent; color: var(--text-secondary); border: 1px solid var(--border); }
.producto-btn:not(.primary):hover { border-color: var(--gold); color: var(--gold); }
.producto-legal { margin-top: 1.2rem; padding: 1rem 1.2rem; background: rgba(255,255,255,0.015); border: 1px solid var(--border); border-radius: 6px; }
.producto-legal h4 { font-family: 'DM Mono', monospace; font-size: 0.55rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 0.35rem; }
.producto-legal p { font-size: 0.72rem; color: var(--text-muted); line-height: 1.6; }

/* ── DEBATE ── */
.debate-card { margin-top: 1rem; }
.meta { display: flex; gap: 0.4rem; flex-wrap: wrap; margin-bottom: 0.6rem; }
.tag { font-family: 'DM Mono', monospace; font-size: 0.55rem; letter-spacing: 0.08em; text-transform: uppercase; padding: 0.15rem 0.5rem; border-radius: 3px; background: var(--gold-dim); color: var(--gold); border: 1px solid rgba(212,175,85,0.2); }
.debate-card h3 { font-family: 'DM Serif Display', serif; font-size: 1.05rem; line-height: 1.3; margin-bottom: 0.35rem; color: var(--text); font-weight: 400; }
.debate-card p { font-size: 0.82rem; color: var(--text-secondary); line-height: 1.6; }
.btn { font-family: 'DM Mono', monospace; font-size: 0.62rem; letter-spacing: 0.08em; text-transform: uppercase; background: var(--gold); color: var(--bg); padding: 0.45rem 1.1rem; border-radius: 3px; font-weight: 600; text-decoration: none; }
.actions { display: flex; gap: 0.6rem; flex-wrap: wrap; }

.debate-section { margin-top: 1.5rem; padding-top: 0.8rem; border-top: 1px solid var(--border); }
.debate-article p { margin: 0.6rem 0; max-width: 900px; font-size: 0.88rem; line-height: 1.7; }
.debate-article h2 { margin-top: 0.8rem; }
.debate-article h3 { margin-top: 0.9rem; font-size: 1rem; }
.debate-article ul { margin: 0.6rem 0 0.6rem 1.1rem; }
.debate-table-wrap { margin-top: 1.2rem; border: 1px solid var(--border); background: rgba(255,255,255,0.015); border-radius: 8px; overflow-x: auto; }
.debate-table { width: 100%; border-collapse: collapse; min-width: 700px; }
.debate-table thead th { text-align: left; font-weight: 600; font-size: 0.78rem; padding: 0.7rem 0.9rem; color: var(--text); border-bottom: 1px solid var(--border); }
.debate-table tbody td { padding: 0.7rem 0.9rem; color: var(--text-secondary); border-bottom: 1px solid var(--border); font-size: 0.8rem; line-height: 1.55; }
.debate-table tbody tr:last-child td { border-bottom: none; }
.debate-table strong { color: var(--gold); }

#radarCounter { color: var(--text-muted); font-size: 0.78rem; }

/* ── ARTICLE PAGES ── */
.container { max-width: 900px; margin: 0 auto; padding: 2rem 2.5rem; }
.article-hero { padding: 3rem 0 1.5rem; border-bottom: 1px solid var(--border); margin-bottom: 1.5rem; }
.eyebrow { font-family: 'DM Mono', monospace; font-size: 0.6rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.6rem; }
.article-hero h1 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 0.8rem; }
.lead { font-size: 0.95rem; color: var(--text-secondary); line-height: 1.65; margin-bottom: 0.8rem; }
.article-meta { font-family: 'DM Mono', monospace; font-size: 0.6rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); }
.article-content h2 { font-size: 1.2rem; margin: 1.5rem 0 0.6rem; }
.article-content p { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.7; margin-bottom: 0.8rem; }
.article-content ul { padding-left: 1.2rem; margin-bottom: 1rem; }
.article-content li { font-size: 0.88rem; color: var(--text-secondary); line-height: 1.6; margin-bottom: 0.35rem; }
.muted { color: var(--text-muted); font-style: italic; font-size: 0.82rem; }

/* ── FOOTER ── */
footer { position: relative; z-index: 1; background: var(--bg-card); border-top: 1px solid var(--border); }
.footer-inner { max-width: 1200px; margin: 0 auto; padding: 2rem 2.5rem; display: grid; grid-template-columns: auto 1fr auto; gap: 2.5rem; align-items: center; }
.footer-logo-text { font-family: 'DM Serif Display', serif; font-size: 1.15rem; margin-bottom: 0.2rem; }
.footer-sub { font-family: 'DM Mono', monospace; font-size: 0.55rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-muted); }
.footer-links { display: flex; gap: 1.5rem; justify-content: center; flex-wrap: wrap; }
.footer-links a { font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-muted); text-decoration: none; transition: color 0.15s; }
.footer-links a:hover { color: var(--gold); }
.footer-meta { text-align: right; }
.footer-email { font-family: 'DM Mono', monospace; font-size: 0.72rem; color: var(--gold); text-decoration: none; display: block; margin-bottom: 0.25rem; }
.footer-note { font-size: 0.65rem; color: var(--text-muted); }
.footer-legal { max-width: 1200px; margin: 0 auto; padding: 0.6rem 2.5rem 1.2rem; font-size: 0.65rem; color: var(--text-muted); border-top: 1px solid var(--border); text-align: center; }
.footer-legal a { color: var(--text-muted); text-decoration: none; transition: color 0.15s; margin: 0 0.6rem; }
.footer-legal a:hover { color: var(--gold); }

/* ── ANIMATIONS ── */
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.5s ease, transform 0.5s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.divider { border: none; height: 1px; background: var(--border); margin: 0; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .cursos-grid, .news-grid { grid-template-columns: repeat(2, 1fr); }
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .nav-hamburger { display: block; }
  nav ul {
    display: none; position: fixed; top: 56px; left: 0; right: 0;
    background: rgba(10,14,23,0.97); backdrop-filter: blur(20px);
    flex-direction: column; padding: 1.2rem 1.5rem 1.5rem; gap: 1rem;
    border-bottom: 1px solid var(--border);
  }
  nav ul.open { display: flex; }
  nav { padding: 0 1.2rem; }
  .hero { padding: 4rem 1.2rem 1.2rem; }
  .hero-props { flex-direction: column; gap: 0.6rem; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  section { padding: 1.5rem 1.2rem; }
  .news-grid, .cards-grid, .cursos-grid, .latest-grid, .producto-grid { grid-template-columns: 1fr; }
  .radar-hero { grid-template-columns: 1fr; }
  .market-snapshot { flex-wrap: wrap; }
  .market-item { flex: 0 0 33.33%; border-bottom: 1px solid var(--border); }
  .newsletter-inner { grid-template-columns: 1fr; gap: 1.5rem; padding: 1.5rem 1.2rem; }
  .footer-inner { grid-template-columns: 1fr; gap: 1.2rem; text-align: center; padding: 1.5rem 1.2rem; }
  .footer-meta { text-align: center; }
  .footer-links { justify-content: center; }
  .stats-row { grid-template-columns: repeat(2, 1fr); padding: 0 1.2rem; }
}
@media (max-width: 480px) {
  h1 { font-size: 1.75rem; }
  .stats-row { grid-template-columns: 1fr; }
  .market-item { flex: 0 0 50%; }
  .newsletter-form { flex-direction: column; }
  .newsletter-form input[type="email"] { border-right: 1px solid var(--border); border-radius: 3px; }
  .newsletter-form button { border-radius: 3px; }
  .radar-filters { gap: 3px; }
  .radar-filter { font-size: 0.58rem; padding: 3px 8px; }
}
