/* =====================================================================
   landings.css · CSS compartido del ecosistema ISORGA
   Páginas que lo usan:
     - /sistema-iso-integrado
     - /software-iso-9001
     - /software-iso-14001
     - /software-iso-50001
     - /software-iso-45001
     - /requisitos-legales
     - /blog (listado)
     - /blog/<slug> (posts)
   La home (/) tiene CSS propio (modales, pricing dinámico, partículas).
   ===================================================================== */

:root {
  --primary-color: #00f5ff;
  --secondary-color: #ff006e;
  --accent-color: #8b5cf6;
  --bg-dark: #0a0a0a;
  --bg-card: #1a1a2e;
  --text-primary: #ffffff;
  --text-secondary: #a0a0a0;
  --gradient-cyber: linear-gradient(135deg, #00f5ff, #8b5cf6, #ff006e);
  --glow-effect: 0 0 20px rgba(0, 245, 255, 0.3);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: "Inter", sans-serif;
  background: var(--bg-dark);
  color: var(--text-primary);
  overflow-x: hidden;
  scroll-behavior: smooth;
}

.bg-animation {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: -1;
  background:
    radial-gradient(circle at 20% 80%, rgba(0, 245, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255, 0, 110, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 40% 40%, rgba(139, 92, 246, 0.1) 0%, transparent 50%);
}

/* ===== Navbar ===== */
.navbar {
  position: fixed; top: 0; width: 100%;
  padding: 20px 0; z-index: 1000;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}
.navbar.scrolled { background: rgba(10, 10, 10, 0.9); padding: 15px 0; }
.nav-container {
  max-width: 1200px; margin: 0 auto; padding: 0 20px;
  display: flex; justify-content: space-between; align-items: center;
}
.logo { display: flex; align-items: center; gap: 12px; font-family: "Orbitron", monospace; font-size: 28px; font-weight: 900; }
.logo a {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none;
  background: var(--gradient-cyber);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: var(--glow-effect);
}
.logo img {
  height: 40px; width: auto;
  filter: drop-shadow(0 0 10px rgba(0, 245, 255, 0.5));
  animation: logoGlow 2s ease-in-out infinite alternate;
}
@keyframes logoGlow {
  from { filter: drop-shadow(0 0 10px rgba(0, 245, 255, 0.5)); }
  to { filter: drop-shadow(0 0 20px rgba(255, 0, 110, 0.7)); }
}
.nav-right { display: flex; align-items: center; gap: 25px; }
.nav-links { display: flex; list-style: none; gap: 30px; }
.nav-links a {
  color: var(--text-primary); text-decoration: none; font-weight: 500;
  transition: all 0.3s ease; position: relative;
}
.nav-links a:hover { color: var(--primary-color); text-shadow: 0 0 10px var(--primary-color); }
.nav-links a::after {
  content: ""; position: absolute; bottom: -5px; left: 0;
  width: 0; height: 2px;
  background: var(--gradient-cyber);
  transition: width 0.3s ease;
}
.nav-links a:hover::after { width: 100%; }
.login-btn {
  background: var(--gradient-cyber); color: white;
  padding: 12px 25px; border-radius: 25px;
  text-decoration: none; font-weight: 600;
  display: flex; align-items: center; gap: 8px;
  box-shadow: 0 4px 15px rgba(0, 245, 255, 0.3);
  border: 1px solid rgba(0, 245, 255, 0.5);
  transition: all 0.3s ease;
}
.login-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(0, 245, 255, 0.5); }

/* ===== Botones ===== */
.btn {
  padding: 15px 30px; border: none; border-radius: 50px;
  font-size: 1.1rem; font-weight: 600;
  cursor: pointer; transition: all 0.3s ease;
  text-decoration: none; display: inline-flex; align-items: center; gap: 10px;
}
.btn-primary { background: var(--gradient-cyber); color: white; box-shadow: var(--glow-effect); }
.btn-secondary { background: transparent; color: var(--primary-color); border: 2px solid var(--primary-color); }
.btn:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(0, 245, 255, 0.4); }

/* ===== Container y secciones ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
section { padding: 80px 0; }

h2.section-title {
  font-family: "Orbitron", monospace;
  font-size: 2.4rem; font-weight: 700;
  text-align: center; margin-bottom: 30px;
  background: var(--gradient-cyber);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.seccion-intro {
  text-align: center; font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 800px; margin: 0 auto 40px;
  line-height: 1.65;
}

/* ===== Hero genérico ===== */
.hero {
  min-height: 80vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 140px 20px 60px;
}
.hero-content { max-width: 1000px; }
.hero h1 {
  font-family: "Orbitron", monospace;
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 900;
  background: var(--gradient-cyber);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 25px; line-height: 1.15;
  animation: glow 2s ease-in-out infinite alternate;
}
@keyframes glow {
  from { filter: drop-shadow(0 0 20px rgba(0, 245, 255, 0.5)); }
  to { filter: drop-shadow(0 0 30px rgba(255, 0, 110, 0.5)); }
}
.hero-subtitle {
  font-size: 1.3rem; color: var(--text-secondary);
  margin-bottom: 40px; line-height: 1.55; font-weight: 300;
}
.hero-ctas, .cta-final-botones {
  display: flex; gap: 20px; justify-content: center; flex-wrap: wrap;
}

/* ===== Bloque pedagógico (genérico) ===== */
.bloque-pedagogico { background: linear-gradient(135deg, rgba(26,26,46,0.5), rgba(10,10,10,0.7)); }
.bloque-pedagogico .container { max-width: 900px; }
.bloque-pedagogico p {
  color: var(--text-secondary);
  font-size: 1.08rem; line-height: 1.75;
  margin-bottom: 20px;
}
.bloque-pedagogico strong { color: var(--primary-color); font-weight: 600; }
.bloque-pedagogico h2 {
  font-family: "Orbitron", monospace;
  font-size: 2.2rem; font-weight: 700;
  text-align: center; margin-bottom: 30px;
  background: var(--gradient-cyber);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ===== Bloque cultural (9001, requisitos-legales) ===== */
.bloque-cultural { background: linear-gradient(135deg, rgba(26,26,46,0.5), rgba(10,10,10,0.7)); }
.bloque-cultural .container { max-width: 900px; }
.bloque-cultural p {
  font-size: 1.05rem; line-height: 1.8;
  margin-bottom: 20px; color: var(--text-secondary);
}
.bloque-cultural strong { color: var(--primary-color); font-weight: 600; }

/* ===== Bloque detalle (14001, requisitos-legales) ===== */
.bloque-detalle { background: linear-gradient(135deg, rgba(26,26,46,0.5), rgba(10,10,10,0.7)); }
.bloque-detalle .container { max-width: 900px; }
.bloque-detalle h2 {
  font-family: "Orbitron", monospace;
  font-size: 2rem; text-align: center;
  margin-bottom: 35px; line-height: 1.3;
  background: var(--gradient-cyber);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.bloque-detalle p {
  font-size: 1.05rem; line-height: 1.8;
  margin-bottom: 22px; color: var(--text-secondary);
}
.bloque-detalle strong { color: var(--primary-color); font-weight: 600; }

/* ===== Lista pedagógica destacada (14001) ===== */
.lista-pedagogica {
  list-style: none; padding: 0;
  margin: 28px 0 30px;
  display: flex; flex-direction: column; gap: 14px;
}
.lista-pedagogica li {
  padding: 16px 20px;
  background: rgba(0, 245, 255, 0.04);
  border-left: 3px solid var(--primary-color);
  border-radius: 6px;
  line-height: 1.6;
  color: var(--text-secondary);
}
.lista-pedagogica li strong { color: var(--primary-color); font-weight: 600; }

/* ===== Lista de problemas (9001) ===== */
.lista-problemas {
  list-style: none; padding: 0;
  margin: 28px 0 30px;
  display: flex; flex-direction: column; gap: 12px;
}
.lista-problemas li {
  padding: 16px 20px 16px 44px;
  background: rgba(255, 0, 110, 0.04);
  border-left: 3px solid var(--secondary-color);
  border-radius: 6px;
  line-height: 1.6;
  color: var(--text-secondary);
  position: relative;
}
.lista-problemas li::before {
  content: "✕";
  position: absolute;
  left: 18px; top: 16px;
  color: var(--secondary-color);
  font-weight: 700;
}

/* ===== Bloque dolor + casos-grid (50001, 14001) ===== */
.bloque-dolor { background: linear-gradient(135deg, rgba(10,10,10,0.7), rgba(26,26,46,0.5)); }
.casos-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
  margin-top: 20px;
}
.caso {
  padding: 28px;
  background: rgba(255, 255, 255, 0.02);
  border-left: 3px solid var(--secondary-color);
  border-radius: 8px;
  transition: all 0.3s ease;
}
.caso:hover {
  transform: translateY(-3px);
  background: rgba(255, 0, 110, 0.05);
  box-shadow: 0 10px 30px rgba(255, 0, 110, 0.12);
}
.caso h3 {
  font-family: "Orbitron", monospace;
  color: var(--primary-color);
  font-size: 1.1rem;
  margin-bottom: 12px;
  line-height: 1.35;
}
.caso p { color: var(--text-secondary); line-height: 1.65; }

/* ===== Pilares (todas las landings de producto) ===== */
.pilares-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.pilar {
  padding: 24px;
  background: var(--bg-card);
  border: 1px solid rgba(139, 92, 246, 0.22);
  border-radius: 12px;
  transition: all 0.3s ease;
}
.pilar:hover { border-color: var(--accent-color); box-shadow: 0 10px 30px rgba(139, 92, 246, 0.15); }
.pilar h3 {
  color: var(--accent-color);
  font-family: "Orbitron", monospace;
  font-size: 1.15rem; margin-bottom: 12px;
}
.pilar p { color: var(--text-secondary); line-height: 1.65; }

/* ===== Bloque integración con cross-link a paraguas ===== */
.bloque-integracion {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.06), rgba(10, 10, 10, 0.4));
  border-top: 1px solid rgba(139, 92, 246, 0.2);
  border-bottom: 1px solid rgba(139, 92, 246, 0.2);
}
.bloque-integracion .container { max-width: 900px; }
.bloque-integracion h2 {
  font-family: "Orbitron", monospace;
  font-size: 2rem; text-align: center;
  margin-bottom: 30px;
  color: var(--accent-color);
  text-shadow: 0 0 20px rgba(139, 92, 246, 0.3);
}
.bloque-integracion p {
  color: var(--text-secondary);
  font-size: 1.05rem; line-height: 1.75;
  margin-bottom: 20px; text-align: center;
}
.bloque-integracion strong { color: var(--primary-color); }
.bloque-integracion em { color: var(--secondary-color); font-style: normal; font-weight: 500; }
.bloque-integracion .bloque-cta { text-align: center; margin-top: 30px; margin-bottom: 0; }

.link-paraguas {
  display: inline-block;
  padding: 12px 28px;
  color: var(--primary-color);
  font-weight: 600; text-decoration: none;
  border: 1px solid rgba(0, 245, 255, 0.4);
  border-radius: 30px;
  transition: all 0.3s ease;
}
.link-paraguas:hover {
  background: rgba(0, 245, 255, 0.08);
  border-color: var(--primary-color);
  text-shadow: 0 0 10px var(--primary-color);
  transform: translateY(-2px);
}

/* ===== Bloque fundador (paraguas, 9001) ===== */
.bloque-fundador { background: linear-gradient(135deg, rgba(10,10,10,0.7), rgba(26,26,46,0.5)); }
.fundador-grid {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 40px;
  align-items: start;
  max-width: 1000px;
  margin: 0 auto;
}
.fundador-foto img {
  width: 100%; height: auto;
  border-radius: 50%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border: 3px solid var(--secondary-color);
  box-shadow: 0 0 30px rgba(255, 0, 110, 0.3);
}
.fundador-texto p {
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 18px;
  font-size: 1.05rem;
}
.fundador-texto strong { color: var(--primary-color); }
.fundador-cta {
  color: var(--text-primary) !important;
  padding-top: 10px;
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 24px;
}
.fundador-cta strong { color: var(--primary-color); font-family: "Orbitron", monospace; }
.fundador-cta a { color: var(--primary-color); text-decoration: none; font-weight: 600; }
.fundador-cta a:hover { text-shadow: 0 0 10px var(--primary-color); }

/* ===== Paraguas · grid de 4 normas ===== */
.grid-normas {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 20px;
}
.norma-card {
  background: var(--bg-card);
  border: 1px solid rgba(0, 245, 255, 0.18);
  border-left: 4px solid var(--primary-color);
  padding: 28px;
  border-radius: 12px;
  transition: all 0.3s ease;
}
.norma-card:hover {
  transform: translateY(-4px);
  border-left-color: var(--secondary-color);
  box-shadow: 0 12px 30px rgba(0, 245, 255, 0.15);
}
.norma-card h3 {
  font-family: "Orbitron", monospace;
  color: var(--primary-color);
  font-size: 1.25rem;
  margin-bottom: 12px;
}
.norma-card p { color: var(--text-secondary); line-height: 1.6; margin-bottom: 14px; }
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}
.card-link:hover { text-shadow: 0 0 10px var(--primary-color); transform: translateX(3px); }

/* ===== Paraguas · ventajas ===== */
.bloque-ventajas { background: linear-gradient(135deg, rgba(10,10,10,0.7), rgba(26,26,46,0.5)); }
.ventajas-lista {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.ventaja {
  padding: 24px;
  border-top: 2px solid var(--accent-color);
  background: rgba(255,255,255,0.02);
  border-radius: 8px;
}
.ventaja h3 {
  color: var(--primary-color);
  font-family: "Orbitron", monospace;
  font-size: 1.15rem;
  margin-bottom: 12px;
}
.ventaja p { color: var(--text-secondary); line-height: 1.65; }

/* ===== Paraguas · ICP ===== */
.bloque-icp { background: linear-gradient(135deg, rgba(26,26,46,0.6), rgba(10,10,10,0.7)); }
.bloque-icp .container { max-width: 900px; }
.bloque-icp p { color: var(--text-secondary); line-height: 1.7; margin-bottom: 18px; font-size: 1.05rem; }
.bloque-icp strong { color: var(--primary-color); }
.bloque-icp .sectores {
  list-style: none; padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 20px 0 35px;
}
.bloque-icp .sectores li {
  padding: 10px 14px;
  background: rgba(0, 245, 255, 0.05);
  border-left: 2px solid var(--primary-color);
  border-radius: 4px;
  color: var(--text-primary);
}
.bloque-icp h3 {
  font-family: "Orbitron", monospace;
  color: var(--secondary-color);
  font-size: 1.2rem;
  margin: 30px 0 14px;
}

/* ===== Paraguas · comparativa ===== */
.comparativa-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin: 30px 0;
}
.competidor {
  padding: 26px;
  background: rgba(255,255,255,0.02);
  border-radius: 12px;
  border-top: 3px solid rgba(255,255,255,0.18);
}
.competidor h3 {
  font-family: "Orbitron", monospace;
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: var(--text-primary);
}
.competidor-tipo {
  font-style: italic;
  font-size: 0.92rem;
  color: var(--text-secondary);
  margin-bottom: 16px;
}
.competidor ul { list-style: none; padding: 0; }
.competidor li {
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.5;
}
.competidor li:last-child { border-bottom: none; }
.competidor-isorga {
  border-top-color: var(--secondary-color);
  background: rgba(255, 0, 110, 0.06);
  box-shadow: 0 10px 30px rgba(255, 0, 110, 0.12);
}
.competidor-isorga h3 { color: var(--secondary-color); }
.competidor-isorga li { color: var(--text-primary); }
.comparativa-cierre {
  font-size: 1.05rem;
  font-style: italic;
  color: var(--text-secondary);
  margin: 30px auto 0;
  text-align: center;
  max-width: 850px;
  line-height: 1.65;
}

/* ===== Paraguas · precios ===== */
.bloque-precios { background: linear-gradient(135deg, rgba(26,26,46,0.5), rgba(10,10,10,0.7)); }
.precios-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 20px;
}
.plan {
  padding: 30px 24px;
  text-align: center;
  background: var(--bg-card);
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.1);
  transition: all 0.3s ease;
}
.plan:hover { transform: translateY(-4px); border-color: var(--primary-color); }
.plan h3 { font-family: "Orbitron", monospace; color: var(--primary-color); font-size: 1.3rem; margin-bottom: 10px; }
.plan-destacado {
  border-color: var(--secondary-color);
  background: linear-gradient(135deg, var(--bg-card), rgba(255, 0, 110, 0.08));
  box-shadow: 0 10px 30px rgba(255, 0, 110, 0.15);
}
.plan-destacado h3 { color: var(--secondary-color); }
.plan-precio {
  font-size: 2.4rem;
  font-weight: 900;
  font-family: "Orbitron", sans-serif;
  margin: 16px 0;
  color: var(--primary-color);
}
.plan-precio span { font-size: 1rem; color: var(--text-secondary); font-family: "Inter", sans-serif; font-weight: 400; }
.plan-target { color: var(--text-secondary); margin-bottom: 18px; line-height: 1.55; font-size: 0.95rem; min-height: 50px; }
.plan-link {
  display: inline-block;
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}
.plan-link:hover { text-shadow: 0 0 10px var(--primary-color); }

/* ===== Requisitos legales · frentes ===== */
.bloque-frentes { background: linear-gradient(135deg, rgba(10,10,10,0.7), rgba(26,26,46,0.5)); }
.frentes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 20px;
}
.frente {
  padding: 24px;
  background: rgba(255, 255, 255, 0.03);
  border-top: 3px solid var(--primary-color);
  border-radius: 10px;
  transition: all 0.3s ease;
}
.frente:hover {
  transform: translateY(-4px);
  background: rgba(0, 245, 255, 0.05);
  box-shadow: 0 10px 30px rgba(0, 245, 255, 0.12);
}
.frente h3 {
  font-family: "Orbitron", monospace;
  color: var(--primary-color);
  font-size: 1.1rem;
  margin-bottom: 10px;
}
.frente p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

/* ===== Requisitos legales · honestidad (qué NO es) ===== */
.bloque-honestidad {
  background: linear-gradient(135deg, rgba(255, 0, 110, 0.05), rgba(10, 10, 10, 0.5));
  border-top: 1px solid rgba(255, 0, 110, 0.25);
  border-bottom: 1px solid rgba(255, 0, 110, 0.25);
}
.bloque-honestidad h2.section-title {
  background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.negaciones-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 20px;
}
.negacion {
  padding: 26px;
  background: rgba(255, 255, 255, 0.03);
  border-top: 3px solid var(--secondary-color);
  border-radius: 10px;
  position: relative;
  transition: all 0.3s ease;
}
.negacion:hover {
  transform: translateY(-3px);
  background: rgba(255, 0, 110, 0.06);
}
.negacion::before {
  content: "✕";
  position: absolute;
  top: 16px; right: 18px;
  color: var(--secondary-color);
  font-weight: 700;
  font-size: 1.3rem;
  opacity: 0.6;
}
.negacion h3 {
  font-family: "Orbitron", monospace;
  color: var(--text-primary);
  font-size: 1.05rem;
  line-height: 1.4;
  padding-right: 2rem;
  margin-bottom: 12px;
}
.negacion p {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text-secondary);
}
.negacion strong { color: var(--primary-color); font-weight: 600; }
.bloque-cierre {
  margin-top: 35px;
  padding: 22px;
  font-style: italic;
  color: var(--text-secondary);
  text-align: center;
  font-size: 1.05rem;
  line-height: 1.7;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== FAQ ===== */
.seccion-faq { background: linear-gradient(135deg, rgba(10,10,10,0.9), rgba(26,26,46,0.7)); }
.seccion-faq .container { max-width: 900px; }
.seccion-faq h2 {
  text-align: center;
  font-family: "Orbitron", monospace;
  font-size: 2.4rem; margin-bottom: 40px;
  background: var(--gradient-cyber);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.faq-item {
  background: var(--bg-card);
  border: 1px solid rgba(0, 245, 255, 0.18);
  border-left: 3px solid var(--primary-color);
  padding: 1.4rem 1.6rem;
  margin-bottom: 1rem;
  border-radius: 12px;
  transition: all 0.3s ease;
}
.faq-item:hover { border-color: rgba(0, 245, 255, 0.45); box-shadow: 0 6px 24px rgba(0, 245, 255, 0.12); }
.faq-item summary { cursor: pointer; list-style: none; position: relative; padding-right: 2.2rem; outline: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary h3 {
  display: inline; margin: 0; font-size: 1.05rem;
  color: var(--text-primary);
  font-family: "Inter", sans-serif;
  font-weight: 600;
}
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0; top: -4px;
  font-size: 1.7rem; line-height: 1;
  color: var(--primary-color);
  font-weight: 300;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item p { margin-top: 1rem; color: var(--text-secondary); line-height: 1.7; }

/* ===== CTA final ===== */
.cta-final { text-align: center; background: linear-gradient(135deg, rgba(26,26,46,0.7), rgba(10,10,10,0.8)); }
.cta-final h2 {
  font-family: "Orbitron", monospace;
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  background: var(--gradient-cyber);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 24px;
}
.cta-final p {
  color: var(--text-secondary);
  font-size: 1.15rem; line-height: 1.7;
  max-width: 800px; margin: 0 auto 35px;
}

/* ===== Footer ===== */
.footer {
  background: linear-gradient(135deg, var(--bg-card), var(--bg-dark));
  padding: 60px 20px 20px;
  border-top: 1px solid rgba(0, 245, 255, 0.2);
}
.footer-content {
  max-width: 1200px; margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
}
.footer-section h4 {
  color: var(--primary-color);
  font-family: "Orbitron", monospace;
  margin-bottom: 16px;
}
.footer-section p { color: var(--text-secondary); margin-bottom: 10px; line-height: 1.6; }
.footer-section a { color: var(--text-secondary); text-decoration: none; transition: color 0.3s ease; }
.footer-section a:hover { color: var(--primary-color); }
.footer-bottom {
  max-width: 1200px; margin: 40px auto 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center; color: var(--text-secondary); font-size: 0.9rem;
}

/* ===== Blog · listado ===== */
.blog-hero {
  padding: 160px 20px 60px;
  text-align: center;
}
.blog-hero h1 {
  font-family: "Orbitron", monospace;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 900;
  background: var(--gradient-cyber);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 18px;
  line-height: 1.15;
}
.blog-hero p {
  color: var(--text-secondary);
  font-size: 1.15rem;
  max-width: 720px;
  margin: 0 auto;
  line-height: 1.6;
}
.blog-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin: 40px auto 50px;
  max-width: 900px;
}
.blog-filter {
  padding: 8px 18px;
  border: 1px solid rgba(0, 245, 255, 0.3);
  border-radius: 20px;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}
.blog-filter:hover, .blog-filter.active {
  background: rgba(0, 245, 255, 0.1);
  color: var(--primary-color);
  border-color: var(--primary-color);
}
.posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 80px;
}
.post-card {
  background: var(--bg-card);
  border: 1px solid rgba(0, 245, 255, 0.15);
  border-radius: 14px;
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}
.post-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary-color);
  box-shadow: 0 14px 35px rgba(0, 245, 255, 0.18);
}
.post-card a {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.post-card-cover {
  aspect-ratio: 16 / 9;
  background: var(--gradient-cyber);
  position: relative;
  overflow: hidden;
}
.post-card-cover img {
  width: 100%; height: 100%; object-fit: cover;
  display: block;
}
.post-card-body { padding: 22px 22px 24px; flex: 1; display: flex; flex-direction: column; }
.post-card-meta {
  display: flex;
  gap: 12px;
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.post-card-meta .cat { color: var(--primary-color); font-weight: 600; }
.post-card h2 {
  font-family: "Orbitron", monospace;
  font-size: 1.15rem;
  line-height: 1.35;
  margin-bottom: 12px;
  color: var(--text-primary);
}
.post-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.55;
  flex: 1;
}
.post-card-cta {
  margin-top: 16px;
  color: var(--primary-color);
  font-weight: 600;
  font-size: 0.95rem;
}
.empty-state {
  text-align: center;
  padding: 60px 20px 100px;
}
.empty-state i {
  font-size: 3rem;
  color: var(--primary-color);
  opacity: 0.5;
  margin-bottom: 20px;
}
.empty-state h2 {
  font-family: "Orbitron", monospace;
  font-size: 1.6rem;
  margin-bottom: 12px;
  color: var(--text-primary);
}
.empty-state p {
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 30px;
  line-height: 1.65;
  font-size: 1.05rem;
}
.empty-state a {
  display: inline-block;
  padding: 12px 28px;
  color: var(--primary-color);
  font-weight: 600;
  text-decoration: none;
  border: 1px solid rgba(0, 245, 255, 0.4);
  border-radius: 30px;
  transition: all 0.3s ease;
}
.empty-state a:hover {
  background: rgba(0, 245, 255, 0.08);
  border-color: var(--primary-color);
  text-shadow: 0 0 10px var(--primary-color);
}

/* ===== Blog · post individual ===== */
.breadcrumb {
  max-width: 820px;
  margin: 120px auto 0;
  padding: 0 20px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}
.breadcrumb a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.3s ease;
}
.breadcrumb a:hover { color: var(--primary-color); }
.breadcrumb .sep { margin: 0 8px; opacity: 0.5; }
.article-header {
  max-width: 820px;
  margin: 30px auto 30px;
  padding: 0 20px;
}
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 16px;
}
.article-meta .cat {
  color: var(--primary-color);
  font-weight: 600;
}
.article-meta .sep { opacity: 0.4; }
.article-header h1 {
  font-family: "Orbitron", monospace;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 900;
  background: var(--gradient-cyber);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.2;
  margin-bottom: 20px;
}
.article-author {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-secondary);
  font-size: 0.95rem;
}
.article-author .author-name {
  color: var(--text-primary);
  font-weight: 600;
}
.article-author .author-role {
  color: var(--primary-color);
}
.article-cover {
  max-width: 1100px;
  margin: 30px auto 50px;
  padding: 0 20px;
}
.article-cover img {
  width: 100%;
  height: auto;
  border-radius: 14px;
  border: 1px solid rgba(0, 245, 255, 0.15);
}
.article-body {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 20px 80px;
  color: var(--text-primary);
}
.article-body p,
.article-body ul,
.article-body ol,
.article-body blockquote {
  color: var(--text-secondary);
  font-size: 1.08rem;
  line-height: 1.8;
  margin-bottom: 22px;
}
.article-body strong {
  color: var(--primary-color);
  font-weight: 600;
}
.article-body em { color: var(--text-primary); font-style: italic; }
.article-body h2 {
  font-family: "Orbitron", monospace;
  font-size: 1.7rem;
  line-height: 1.3;
  margin: 50px 0 20px;
  color: var(--text-primary);
}
.article-body h3 {
  font-family: "Orbitron", monospace;
  font-size: 1.3rem;
  line-height: 1.3;
  margin: 40px 0 16px;
  color: var(--primary-color);
}
.article-body ul, .article-body ol { padding-left: 24px; }
.article-body li {
  margin-bottom: 10px;
  line-height: 1.7;
}
.article-body a {
  color: var(--primary-color);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: text-shadow 0.3s ease;
}
.article-body a:hover { text-shadow: 0 0 10px var(--primary-color); }
.article-body blockquote {
  border-left: 3px solid var(--secondary-color);
  padding: 8px 0 8px 22px;
  margin: 30px 0;
  font-style: italic;
  color: var(--text-primary);
  background: rgba(255, 0, 110, 0.03);
  border-radius: 0 6px 6px 0;
}
.article-body pre {
  background: var(--bg-card);
  border: 1px solid rgba(0, 245, 255, 0.15);
  border-radius: 8px;
  padding: 18px;
  overflow-x: auto;
  font-size: 0.9rem;
  line-height: 1.55;
  margin-bottom: 22px;
}
.article-body code {
  font-family: "Fira Code", monospace;
  background: rgba(0, 245, 255, 0.08);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.92em;
  color: var(--primary-color);
}
.article-body pre code {
  background: transparent;
  padding: 0;
  color: var(--text-primary);
}
.article-body figure { margin: 30px 0; }
.article-body figure img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  border: 1px solid rgba(0, 245, 255, 0.12);
}
.article-body figure figcaption {
  margin-top: 10px;
  font-size: 0.9rem;
  text-align: center;
  color: var(--text-secondary);
  font-style: italic;
}
.article-related {
  max-width: 820px;
  margin: 30px auto 60px;
  padding: 30px;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.08), rgba(10, 10, 10, 0.4));
  border: 1px solid rgba(139, 92, 246, 0.25);
  border-radius: 14px;
  text-align: center;
}
.article-related h3 {
  font-family: "Orbitron", monospace;
  color: var(--accent-color);
  font-size: 1.15rem;
  margin-bottom: 12px;
}
.article-related p {
  color: var(--text-secondary);
  margin-bottom: 18px;
  line-height: 1.6;
}
.back-to-blog {
  max-width: 820px;
  margin: 0 auto 80px;
  padding: 0 20px;
  text-align: center;
}
.back-to-blog a {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}
.back-to-blog a:hover { color: var(--primary-color); }

/* ===== Responsive ===== */
@media (min-width: 901px) and (max-width: 1100px) {
  .frentes-grid, .negaciones-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1000px) {
  .posts-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .grid-normas,
  .ventajas-lista,
  .pilares-grid,
  .comparativa-grid,
  .precios-grid,
  .casos-grid,
  .frentes-grid,
  .negaciones-grid { grid-template-columns: 1fr; }
  .fundador-grid { grid-template-columns: 1fr; }
  .fundador-foto { max-width: 220px; margin: 0 auto; }
  .bloque-icp .sectores { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  h2.section-title { font-size: 1.8rem; }
  .seccion-faq h2 { font-size: 1.8rem; }
  .bloque-integracion h2,
  .bloque-detalle h2,
  .bloque-pedagogico h2 { font-size: 1.6rem; }
  .lista-pedagogica li { padding: 14px 16px; }
}
@media (max-width: 700px) {
  .posts-grid { grid-template-columns: 1fr; }
  .article-body p, .article-body ul, .article-body ol { font-size: 1rem; }
}
