/* ══════════════════════════════════════════════
   INFOGRAFÍAS — Estilos internos de cada
   infografía y del sistema de modal/carrusel.

   Agregar una nueva infografía solo requiere
   añadir sus clases aquí si tiene estilos
   propios; de lo contrario, no tocar este
   archivo.
══════════════════════════════════════════════ */

/* ── Modal wrap ── */
.ig-modal-wrap { background: #080b10; border-radius: 14px; overflow: hidden; padding: 28px; }

/* ── IG Modal carrusel (index.html) ── */
.infografia-card[data-ig-index] { cursor: pointer; }
.ig-modal { display: none; position: fixed; inset: 0; z-index: 9999; align-items: center; justify-content: center; padding: 0.75rem; }
.ig-modal.active { display: flex; }
.ig-modal-overlay { position: absolute; inset: 0; background: rgba(4,6,12,0.9); backdrop-filter: blur(8px); }
.ig-modal-box {
  position: relative; z-index: 1; background: var(--bg2); border: 1px solid var(--border);
  border-radius: 18px; width: min(760px,98vw); max-height: 94vh; overflow: hidden;
  display: flex; flex-direction: column; animation: fadeIn 0.22s ease; box-shadow: 0 40px 80px rgba(0,0,0,0.5);
}
.ig-modal-topbar { display: flex; align-items: center; gap: 10px; padding: 13px 16px; border-bottom: 1px solid var(--border); flex-shrink: 0; }
.ig-modal-counter { font-size: 0.56rem; font-weight: 600; letter-spacing: 0.16em; color: var(--accent); text-transform: uppercase; flex-shrink: 0; }
.ig-modal-title { font-size: 0.85rem; font-weight: 600; color: var(--fg); flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ig-modal-date { font-size: 0.54rem; font-weight: 500; letter-spacing: 0.08em; color: var(--fg2); flex-shrink: 0; }
.ig-modal-close {
  width: 28px; height: 28px; border-radius: 50%; flex-shrink: 0;
  background: var(--surface2); border: 1px solid var(--border); color: var(--fg2);
  cursor: pointer; font-size: 0.8rem; display: flex; align-items: center; justify-content: center;
  transition: color 0.2s, border-color 0.2s; margin-left: 4px;
}
.ig-modal-close:hover { color: var(--fg); border-color: var(--accent); }
.ig-carousel-wrap { display: flex; align-items: stretch; flex: 1; overflow: hidden; min-height: 0; }
.ig-arrow { width: 50px; flex-shrink: 0; background: var(--surface2); border: none; color: var(--fg2); cursor: pointer; display: flex; align-items: center; justify-content: center; transition: color 0.2s, background 0.2s; }
.ig-arrow-prev { border-right: 1px solid var(--border); }
.ig-arrow-next { border-left: 1px solid var(--border); }
.ig-arrow:hover { color: var(--fg); background: rgba(59,130,246,0.07); }
.ig-carousel-content { flex: 1; overflow-y: auto; padding: 22px 20px; scrollbar-width: thin; scrollbar-color: rgba(128,128,128,0.15) transparent; }
.ig-carousel-content::-webkit-scrollbar { width: 4px; }
.ig-carousel-content::-webkit-scrollbar-thumb { background: rgba(128,128,128,0.15); border-radius: 4px; }
.ig-carousel-content .infografia-preview { padding: 0; background: transparent; overflow: visible; }
.ig-carousel-content .infografia-preview .ig-wrap { transform: none !important; width: 100% !important; pointer-events: auto; }
.ig-modal-footer { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 16px; border-top: 1px solid var(--border); flex-shrink: 0; }
.ig-dot { width: 8px; height: 8px; border-radius: 50%; padding: 0; background: var(--surface2); border: 1px solid var(--border); cursor: pointer; transition: background 0.25s, border-color 0.25s, transform 0.25s; }
.ig-dot.active { background: var(--accent); border-color: var(--accent); transform: scale(1.25); }

/* ── Modal carrusel (proyectos) ── */
.igm-bar { display: flex; align-items: center; gap: 10px; padding-bottom: 14px; border-bottom: 1px solid var(--border); margin-bottom: 0; }
.igm-counter { font-family: 'JetBrains Mono', monospace; font-size: 0.56rem; letter-spacing: 0.16em; color: var(--accent); text-transform: uppercase; flex-shrink: 0; }
.igm-slide-title { font-size: 0.82rem; font-weight: 600; color: var(--fg); flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.igm-wrap { display: flex; align-items: stretch; margin: 14px 0; border: 1px solid var(--border); border-radius: 10px; overflow: hidden; }
.igm-arrow { width: 46px; flex-shrink: 0; background: var(--tag-bg); border: none; color: var(--fg2); cursor: pointer; display: flex; align-items: center; justify-content: center; transition: color 0.2s, background 0.2s; }
.igm-prev { border-right: 1px solid var(--border); }
.igm-next { border-left: 1px solid var(--border); }
.igm-arrow:hover { color: var(--accent); background: rgba(59,130,246,0.06); }
.igm-content { flex: 1; overflow-y: auto; padding: 16px 18px; max-height: 58vh; scrollbar-width: thin; scrollbar-color: var(--border) transparent; }
.igm-content::-webkit-scrollbar { width: 4px; }
.igm-content::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }
.igm-dots { display: flex; justify-content: center; gap: 8px; padding-top: 14px; border-top: 1px solid var(--border); }
.igm-dot { width: 8px; height: 8px; border-radius: 50%; padding: 0; background: var(--tag-bg); border: 1px solid var(--border); cursor: pointer; transition: background 0.2s, transform 0.2s; }
.igm-dot.active { background: var(--accent); border-color: var(--accent); transform: scale(1.25); }

/* ── Preview card mock (igcm) ── */
.igcm { width: 100%; max-width: 340px; background: #0a0a12; border: 1px solid rgba(255,255,255,0.08); border-radius: 12px 12px 0 0; overflow: hidden; box-shadow: 0 -4px 30px rgba(0,0,0,0.5); }
.igcm-chrome { background: rgba(255,255,255,0.04); border-bottom: 1px solid rgba(255,255,255,0.06); padding: 9px 12px; display: flex; align-items: center; gap: 8px; }
.igcm-chrome-dots { display: flex; gap: 5px; }
.igcm-chrome-dot { width: 8px; height: 8px; border-radius: 50%; }
.igcm-chrome-dot-r{background:#ff5f57;} .igcm-chrome-dot-y{background:#febc2e;} .igcm-chrome-dot-g{background:#28c840;}
.igcm-chrome-title { font-family: 'JetBrains Mono', monospace; font-size: 8px; letter-spacing: 0.08em; color: rgba(255,255,255,0.3); }
.igcm-body { padding: 12px 14px; display: flex; flex-direction: column; gap: 8px; }
.igcm-eyebrow { font-family: 'JetBrains Mono', monospace; font-size: 6.5px; letter-spacing: 0.14em; text-transform: uppercase; color: #e8643a; margin-bottom: 2px; }
.igcm-item { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.07); border-radius: 7px; padding: 9px 11px; }
.igcm-item-eye { font-family: 'JetBrains Mono', monospace; font-size: 6px; letter-spacing: 0.12em; text-transform: uppercase; color: #8b93a8; margin-bottom: 3px; }
.igcm-item-title { font-family: 'Inter', sans-serif; font-size: 13px; font-weight: 700; color: #dde3f0; line-height: 1.2; }
.igcm-item-title em { color: #e8643a; font-style: italic; }
.igcm-tags { display: flex; gap: 4px; margin-top: 5px; flex-wrap: wrap; }
.igcm-tag { font-family: 'JetBrains Mono', monospace; font-size: 5.5px; letter-spacing: 0.06em; text-transform: uppercase; border: 1px solid rgba(255,255,255,0.08); padding: 2px 6px; border-radius: 3px; color: #8b93a8; }
.igcm-footer { display: flex; align-items: center; justify-content: space-between; padding: 6px 14px 10px; }
.igcm-nav-dots { display: flex; gap: 4px; align-items: center; }
.igcm-nav-dot { width: 5px; height: 5px; border-radius: 50%; background: #e8643a; }
.igcm-nav-dot.off { background: rgba(232,100,58,0.25); }
.igcm-count { font-family: 'JetBrains Mono', monospace; font-size: 6px; letter-spacing: 0.1em; color: #8b93a8; }

/* ══════════════════════════════════════════════
   INFOGRAFÍA 1 — ¿Angular está muerto?
   Clase raíz: .ig
══════════════════════════════════════════════ */
.ig { background: #080b10; border-radius: 16px; overflow: hidden; font-family: 'Inter', sans-serif; position: relative; max-width: 680px; margin: 0 auto; }
.ig .blob1, .ig .ig-blob1 { position: absolute; width: 400px; height: 400px; border-radius: 50%; filter: blur(100px); background: rgba(232,100,58,0.13); top: -120px; right: -80px; pointer-events: none; }
.ig .blob2, .ig .ig-blob2 { position: absolute; width: 280px; height: 280px; border-radius: 50%; filter: blur(80px); background: rgba(91,141,246,0.10); bottom: -60px; left: -40px; pointer-events: none; }
.ig .inner, .ig .ig-inner { position: relative; z-index: 1; padding: 32px 32px 28px; }
.ig .top,  .ig .ig-top  { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 28px; }
.ig .eyebrow, .ig .ig-eyebrow { font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: 0.16em; color: #e8643a; text-transform: uppercase; margin-bottom: 8px; }
.ig .headline, .ig .ig-headline { font-size: clamp(28px,5vw,44px); font-weight: 700; line-height: 1.0; color: #dde3f0; }
.ig .headline em, .ig .ig-headline em { color: #e8643a; font-style: italic; }
.ig .subline, .ig .ig-subline { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: #8b93a8; letter-spacing: 0.07em; margin-top: 8px; }
.ig .angular-hero, .ig .ig-angular-hero { display: flex; flex-direction: column; align-items: center; gap: 6px; flex-shrink: 0; }
.ig .angular-hero svg, .ig .ig-angular-hero svg { filter: drop-shadow(0 0 24px rgba(232,100,58,0.5)); }
.ig .version-pill, .ig .ig-version-pill { font-family: 'JetBrains Mono', monospace; font-size: 9px; letter-spacing: 0.12em; color: #e8643a; background: rgba(232,100,58,0.1); border: 1px solid rgba(232,100,58,0.3); padding: 3px 10px; border-radius: 100px; }
.ig .divider, .ig .ig-divider { height: 1px; background: rgba(255,255,255,0.07); margin-bottom: 24px; }
.ig .reasons, .ig .ig-reasons { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 20px; }
.ig .rcard,   .ig .ig-rcard   { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.07); border-radius: 12px; padding: 14px; display: flex; align-items: flex-start; gap: 12px; }
.ig .tech-icon, .ig .ig-tech-icon { flex-shrink: 0; width: 40px; height: 40px; border-radius: 8px; display: flex; align-items: center; justify-content: center; }
.ig .ti-ts { background: rgba(49,120,198,0.15);  border: 1px solid rgba(49,120,198,0.25); }
.ig .ti-rx { background: rgba(180,20,100,0.15);  border: 1px solid rgba(180,20,100,0.25); }
.ig .ti-ng { background: rgba(232,100,58,0.12);  border: 1px solid rgba(232,100,58,0.25); }
.ig .rc-num, .ig .ig-rc-num { font-family: 'JetBrains Mono', monospace; font-size: 9px; color: #e8643a; letter-spacing: 0.1em; margin-bottom: 3px; }
.ig .rc-title, .ig .ig-rc-title { font-size: 13px; font-weight: 700; color: #dde3f0; line-height: 1.2; margin-bottom: 2px; }
.ig .rc-desc,  .ig .ig-rc-desc  { font-size: 11px; color: #8b93a8; line-height: 1.4; }
.ig .verdict, .ig .ig-verdict { background: rgba(232,100,58,0.07); border: 1px solid rgba(232,100,58,0.22); border-radius: 12px; padding: 14px 18px; display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.ig .verdict-icon, .ig .ig-verdict-icon { font-size: 28px; flex-shrink: 0; }
.ig .verdict-text, .ig .ig-verdict-text { font-size: 12px; color: #dde3f0; line-height: 1.6; }
.ig .verdict-text strong, .ig .ig-verdict-text strong { color: #e8643a; }
.ig .stack-row, .ig .ig-stack-row { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; flex-wrap: wrap; }
.ig .stack-label, .ig .ig-stack-label { font-family: 'JetBrains Mono', monospace; font-size: 9px; color: #8b93a8; letter-spacing: 0.12em; text-transform: uppercase; flex-shrink: 0; }
.ig .stack-chip, .ig .ig-stack-chip { display: flex; align-items: center; gap: 6px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); border-radius: 100px; padding: 4px 10px; font-family: 'JetBrains Mono', monospace; font-size: 10px; color: #dde3f0; }
.ig .chip-dot, .ig .ig-chip-dot { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; }
.ig .foot, .ig .ig-foot { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid rgba(255,255,255,0.07); padding-top: 14px; }
.ig .brand, .ig .ig-brand { font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: 0.12em; color: #e8643a; }
.ig .hashtags, .ig .ig-hashtags { font-family: 'JetBrains Mono', monospace; font-size: 9px; color: #5b8df6; letter-spacing: 0.06em; }
@media(max-width:560px) {
  .ig .reasons, .ig .ig-reasons { grid-template-columns: 1fr; }
  .ig .top, .ig .ig-top { flex-direction: column; gap: 16px; }
}

/* ══════════════════════════════════════════════
   INFOGRAFÍA 2 — SQL vs NoSQL
   Clase raíz: .sqln-wrap
══════════════════════════════════════════════ */
.sqln-wrap { font-family: 'Inter', sans-serif; }
.sqln-wrap .sqn-card { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; max-width: 660px; margin: 0 auto; }
.sqln-wrap .sqn-top { padding: 1.5rem 1.8rem 1.2rem; border-bottom: 1px solid var(--border); display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.sqln-wrap .sqn-eyebrow { font-family: 'JetBrains Mono', monospace; font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg2); display: flex; align-items: center; gap: 6px; margin-bottom: 0.55rem; }
.sqln-wrap .sqn-title { font-size: 2rem; font-weight: 700; letter-spacing: -0.03em; color: var(--fg); line-height: 1; margin-bottom: 0.35rem; }
.sqln-wrap .sqn-title span { color: var(--accent); font-style: italic; font-weight: 400; }
.sqln-wrap .sqn-sub { font-size: 0.9rem; color: var(--fg2); line-height: 1.5; }
.sqln-wrap .sqn-pill { display: flex; align-items: center; gap: 6px; font-family: 'JetBrains Mono', monospace; font-size: 0.62rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fg2); border: 1px solid var(--border); padding: 5px 12px; border-radius: 100px; flex-shrink: 0; white-space: nowrap; }
.sqln-wrap .sqn-gdot { width: 5px; height: 5px; border-radius: 50%; background: var(--green); box-shadow: 0 0 5px var(--green); }
.sqln-wrap .sqn-cols { display: grid; grid-template-columns: 1fr 1fr; }
.sqln-wrap .sqn-col { padding: 1.3rem 1.6rem; }
.sqln-wrap .sqn-col:first-child { border-right: 1px solid var(--border); }
.sqln-wrap .sqn-col-head { margin-bottom: 1rem; padding-bottom: 0.9rem; border-bottom: 1px solid var(--border); }
.sqln-wrap .sqn-icon-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.65rem; }
.sqln-wrap .sqn-icon-wrap { width: 38px; height: 38px; border-radius: 8px; border: 1px solid var(--border); background: var(--surface2); display: flex; align-items: center; justify-content: center; }
.sqln-wrap .sqn-tag { font-family: 'JetBrains Mono', monospace; font-size: 0.62rem; letter-spacing: 0.08em; text-transform: uppercase; border: 1px solid var(--border); padding: 4px 10px; border-radius: 4px; color: var(--fg2); background: var(--tag-bg); }
.sqln-wrap .sqn-tag-sql   { border-color: var(--accent2); color: var(--accent2); }
.sqln-wrap .sqn-tag-nosql { border-color: var(--accent);  color: var(--accent); }
.sqln-wrap .sqn-col-name { font-size: 1.2rem; font-weight: 700; letter-spacing: -0.02em; color: var(--fg); margin-bottom: 0.2rem; }
.sqln-wrap .sqn-col-desc { font-family: 'JetBrains Mono', monospace; font-size: 0.66rem; letter-spacing: 0.06em; color: var(--fg2); }
.sqln-wrap .sqn-sec { font-family: 'JetBrains Mono', monospace; font-size: 0.62rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg2); display: flex; align-items: center; gap: 5px; margin: 0.9rem 0 0.55rem; }
.sqln-wrap .sqn-feats { display: flex; flex-direction: column; gap: 7px; }
.sqln-wrap .sqn-feat { display: flex; align-items: flex-start; gap: 9px; font-size: 0.87rem; color: var(--fg); line-height: 1.45; }
.sqln-wrap .sqn-feat svg { flex-shrink: 0; margin-top: 2px; }
.sqln-wrap .sqn-pills { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 0.3rem; }
.sqln-wrap .sqn-tpill { font-family: 'JetBrains Mono', monospace; font-size: 0.64rem; letter-spacing: 0.06em; padding: 4px 10px; border-radius: 100px; border: 1px solid var(--border); color: var(--fg2); background: var(--tag-bg); }
.sqln-wrap .sqn-bottom { border-top: 1px solid var(--border); padding: 1.2rem 1.6rem; background: var(--surface2); }
.sqln-wrap .sqn-blabel { font-family: 'JetBrains Mono', monospace; font-size: 0.62rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg2); display: flex; align-items: center; gap: 6px; margin-bottom: 0.85rem; }
.sqln-wrap .sqn-cases { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; }
.sqln-wrap .sqn-case { background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 0.7rem 0.85rem; display: flex; flex-direction: column; gap: 5px; }
.sqln-wrap .sqn-case-head { display: flex; align-items: center; gap: 6px; }
.sqln-wrap .sqn-ctype { font-family: 'JetBrains Mono', monospace; font-size: 0.58rem; letter-spacing: 0.1em; text-transform: uppercase; }
.sqln-wrap .sqn-ct-sql   { color: var(--accent2); }
.sqln-wrap .sqn-ct-nosql { color: var(--accent); }
.sqln-wrap .sqn-ctext { font-size: 0.82rem; color: var(--fg2); line-height: 1.4; }
.sqln-wrap .sqn-footer { border-top: 1px solid var(--border); padding: 0.9rem 1.6rem; display: flex; align-items: center; justify-content: space-between; }
.sqln-wrap .sqn-brand { display: flex; align-items: center; gap: 8px; font-family: 'JetBrains Mono', monospace; font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); }
.sqln-wrap .sqn-fright { display: flex; align-items: center; gap: 6px; font-family: 'JetBrains Mono', monospace; font-size: 0.62rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg2); }
@media(max-width:560px) {
  .sqln-wrap .sqn-top { flex-direction: column; }
  .sqln-wrap .sqn-cols { grid-template-columns: 1fr; }
  .sqln-wrap .sqn-col:first-child { border-right: none; border-bottom: 1px solid var(--border); }
  .sqln-wrap .sqn-col { padding: 1rem 1.2rem; }
  .sqln-wrap .sqn-cases { grid-template-columns: 1fr 1fr; }
}

/* ══════════════════════════════════════════════
   INFOGRAFÍA 3 — ¿Java está muerto?
   Clase raíz: .java-ig
══════════════════════════════════════════════ */
.java-ig { background: #0d0d0d; border: 1px solid #1e1e1e; overflow: hidden; font-family: 'Inter', sans-serif; max-width: 680px; margin: 0 auto; position: relative; }
.java-ig .java-hdr { position: relative; background: #111; border-bottom: 1px solid #1e1e1e; padding: 28px 36px 24px; overflow: hidden; }
.java-ig .java-logo-svg { position: absolute; top: 14px; right: 28px; width: 100px; height: 100px; }
.java-ig .java-hdr-top { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 12px; }
.java-ig .java-badge-lunes { font-family: 'Space Mono', monospace; font-size: 0.64rem; letter-spacing: 0.18em; text-transform: uppercase; color: #e55a00; border: 1px solid #e55a00; padding: 4px 10px; border-radius: 3px; }
.java-ig .java-badge-debate { font-family: 'Space Mono', monospace; font-size: 0.64rem; letter-spacing: 0.18em; text-transform: uppercase; color: #444; border: 1px solid #222; padding: 4px 10px; border-radius: 3px; }
.java-ig .java-main-q { font-family: 'Bebas Neue', sans-serif; font-size: 4.8rem; line-height: 0.88; color: #fff; letter-spacing: 0.02em; margin-bottom: 10px; }
.java-ig .java-accent { color: #e55a00; }
.java-ig .java-sub-q { font-size: 0.78rem; color: #555; font-family: 'Space Mono', monospace; letter-spacing: 0.05em; }
.java-ig .java-verdict-strip { background: #e55a00; padding: 10px 36px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.java-ig .java-verdict-txt { font-family: 'Bebas Neue', sans-serif; font-size: 1.15rem; letter-spacing: 0.12em; color: #fff; }
.java-ig .java-verdict-pill { background: #fff; color: #e55a00; font-family: 'Space Mono', monospace; font-size: 0.62rem; font-weight: 700; padding: 3px 12px; border-radius: 2px; letter-spacing: 0.06em; }
.java-ig .java-body-grid { display: grid; grid-template-columns: 1fr 1px 1fr; padding: 24px 36px; gap: 0; }
.java-ig .java-divider-v { background: #1e1e1e; margin: 0 24px; }
.java-ig .java-col-title { font-family: 'Space Mono', monospace; font-size: 0.62rem; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 12px; }
.java-ig .java-dead  { color: #ff3b3b; }
.java-ig .java-alive { color: #3ddc84; }
.java-ig .java-arg { display: flex; align-items: flex-start; gap: 9px; margin-bottom: 11px; }
.java-ig .java-arg-icon { font-size: 0.9rem; flex-shrink: 0; margin-top: 2px; }
.java-ig .java-arg-text { font-size: 0.8rem; line-height: 1.5; color: #bbb; }
.java-ig .java-arg-text strong { color: #fff; font-weight: 700; }
.java-ig .java-stats-row { background: #111; border-top: 1px solid #1e1e1e; border-bottom: 1px solid #1e1e1e; display: grid; grid-template-columns: repeat(3,1fr); padding: 16px 36px; gap: 0; }
.java-ig .java-stat { text-align: center; border-right: 1px solid #1e1e1e; padding: 0 10px; }
.java-ig .java-stat:last-child { border-right: none; }
.java-ig .java-stat-num { font-family: 'Bebas Neue', sans-serif; font-size: 2.8rem; color: #e55a00; line-height: 1; display: block; }
.java-ig .java-stat-lbl { font-family: 'Space Mono', monospace; font-size: 0.58rem; color: #444; letter-spacing: 0.1em; text-transform: uppercase; margin-top: 4px; }
.java-ig .java-opinion { padding: 20px 36px; border-bottom: 1px solid #1e1e1e; }
.java-ig .java-opinion-label { font-family: 'Space Mono', monospace; font-size: 0.6rem; letter-spacing: 0.16em; text-transform: uppercase; color: #e55a00; margin-bottom: 10px; }
.java-ig .java-opinion-text { font-size: 1rem; font-weight: 700; color: #fff; line-height: 1.5; border-left: 3px solid #e55a00; padding-left: 14px; }
.java-ig .java-opinion-text em { color: #e55a00; font-style: normal; }
.java-ig .java-footer { padding: 13px 36px; display: flex; justify-content: space-between; align-items: center; }
.java-ig .java-author { font-family: 'Space Mono', monospace; font-size: 0.6rem; color: #383838; letter-spacing: 0.07em; line-height: 1.8; }
.java-ig .java-author-accent { color: #e55a00; }
.java-ig .java-hashtags { font-family: 'Space Mono', monospace; font-size: 0.56rem; color: #2a2a2a; letter-spacing: 0.05em; text-align: right; line-height: 1.8; }
@media(max-width:560px) {
  .java-ig .java-body-grid { grid-template-columns: 1fr; }
  .java-ig .java-divider-v { display: none; }
}

/* ══════════════════════════════════════════════
   INFOGRAFÍA 4 — Angular vs React
   Clase raíz: .fw-ig
══════════════════════════════════════════════ */
.fw-ig { background: #0a0d14; border-radius: 20px; overflow: hidden; font-family: 'Inter', sans-serif; position: relative; max-width: 680px; margin: 0 auto; }
.fw-ig .fw-deco-circle { position: absolute; top: -70px; right: -70px; width: 220px; height: 220px; border-radius: 50%; background: #1BAAC8; opacity: 0.38; pointer-events: none; z-index: 0; }
.fw-ig .fw-deco-bottom { position: absolute; bottom: -40px; left: -40px; width: 120px; height: 120px; border-radius: 50%; border: 0.5px solid rgba(93,202,165,0.15); pointer-events: none; z-index: 0; }
.fw-ig .fw-body { position: relative; z-index: 1; padding: 1.7rem 1.5rem 1.3rem; }
.fw-ig .fw-top-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.3rem; }
.fw-ig .fw-chip { display: inline-flex; align-items: center; gap: 6px; border: 1px solid rgba(255,255,255,0.12); border-radius: 100px; padding: 4px 12px; font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.4); }
.fw-ig .fw-chip-dot { width: 5px; height: 5px; border-radius: 50%; background: #5DCAA5; flex-shrink: 0; }
.fw-ig .fw-logo-duo { display: flex; align-items: center; }
.fw-ig .fw-logo-circle { width: 46px; height: 46px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.fw-ig .fw-logo-ang { background: rgba(221,0,49,0.13); border: 2px solid rgba(221,0,49,0.45); z-index: 2; position: relative; }
.fw-ig .fw-logo-rea { background: rgba(97,218,251,0.09); border: 2px solid rgba(97,218,251,0.3); margin-left: -14px; z-index: 1; position: relative; }
.fw-ig .fw-headline { font-size: 22px; font-weight: 500; color: #fff; line-height: 1.2; letter-spacing: -0.02em; margin-bottom: 0.3rem; }
.fw-ig .fw-headline em { color: #7F77DD; font-style: normal; }
.fw-ig .fw-sub { font-size: 11px; color: rgba(255,255,255,0.35); margin-bottom: 1.3rem; }
.fw-ig .fw-fw-row { display: grid; grid-template-columns: 1fr 34px 1fr; gap: 0; margin-bottom: 1.1rem; align-items: start; }
.fw-ig .fw-fw-card { border-radius: 10px; padding: 0.85rem; border: 1px solid rgba(255,255,255,0.08); }
.fw-ig .fw-fw-card-ang { background: rgba(221,0,49,0.08); border-color: rgba(221,0,49,0.2); }
.fw-ig .fw-fw-card-rea { background: rgba(97,218,251,0.06); border-color: rgba(97,218,251,0.18); }
.fw-ig .fw-fw-head { display: flex; align-items: center; gap: 7px; margin-bottom: 0.6rem; }
.fw-ig .fw-fw-name { font-size: 13px; font-weight: 500; }
.fw-ig .fw-fw-name-ang { color: #ff4d6a; }
.fw-ig .fw-fw-name-rea { color: #61DAFB; }
.fw-ig .fw-fw-tag { display: block; font-size: 8px; letter-spacing: 0.1em; text-transform: uppercase; padding: 2px 6px; border-radius: 4px; font-weight: 500; margin-top: 2px; }
.fw-ig .fw-fw-tag-ang { background: rgba(221,0,49,0.15); color: #ff6b84; }
.fw-ig .fw-fw-tag-rea { background: rgba(97,218,251,0.12); color: #61DAFB; }
.fw-ig .fw-fw-list { list-style: none; }
.fw-ig .fw-fw-list li { font-size: 10px; color: rgba(255,255,255,0.55); padding: 3px 0; border-bottom: 1px solid rgba(255,255,255,0.05); display: flex; align-items: flex-start; gap: 5px; line-height: 1.4; }
.fw-ig .fw-fw-list li:last-child { border-bottom: none; }
.fw-ig .fw-li-dot { width: 3px; height: 3px; border-radius: 50%; flex-shrink: 0; margin-top: 4px; }
.fw-ig .fw-li-dot-ang { background: #ff4d6a; }
.fw-ig .fw-li-dot-rea { background: #61DAFB; }
.fw-ig .fw-vs-center { display: flex; align-items: center; justify-content: center; padding-top: 2.8rem; }
.fw-ig .fw-vs-badge { width: 28px; height: 28px; border-radius: 50%; background: #1a1f2e; border: 1px solid rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; font-size: 9px; font-weight: 500; color: rgba(255,255,255,0.35); }
.fw-ig .fw-divider { width: 100%; height: 1px; background: rgba(255,255,255,0.06); margin-bottom: 1rem; }
.fw-ig .fw-reasons-label { font-size: 9px; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255,255,255,0.28); margin-bottom: 0.65rem; }
.fw-ig .fw-reasons-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 7px; margin-bottom: 1rem; }
.fw-ig .fw-rc { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.07); border-radius: 9px; padding: 0.75rem; }
.fw-ig .fw-rc-num { font-size: 24px; font-weight: 500; letter-spacing: -0.04em; line-height: 1; margin-bottom: 5px; }
.fw-ig .fw-rc-title { font-size: 10px; font-weight: 500; color: #fff; margin-bottom: 3px; }
.fw-ig .fw-rc-desc { font-size: 9px; color: rgba(255,255,255,0.38); line-height: 1.5; }
.fw-ig .fw-verdict { background: rgba(127,119,221,0.1); border: 1px solid rgba(127,119,221,0.25); border-radius: 9px; padding: 0.85rem 0.9rem; display: flex; align-items: flex-start; gap: 9px; margin-bottom: 1.2rem; }
.fw-ig .fw-verdict-icon { width: 26px; height: 26px; border-radius: 7px; background: rgba(127,119,221,0.2); display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 13px; }
.fw-ig .fw-verdict-text { font-size: 10px; color: rgba(255,255,255,0.7); line-height: 1.6; }
.fw-ig .fw-verdict-text strong { color: #AFA9EC; font-weight: 500; }
.fw-ig .fw-footer-row { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid rgba(255,255,255,0.06); padding-top: 0.85rem; }
.fw-ig .fw-author-info { display: flex; align-items: center; gap: 7px; }
.fw-ig .fw-avatar { width: 26px; height: 26px; border-radius: 50%; background: rgba(127,119,221,0.2); border: 1px solid rgba(127,119,221,0.4); display: flex; align-items: center; justify-content: center; font-size: 9px; font-weight: 500; color: #AFA9EC; }
.fw-ig .fw-author-name { font-size: 10px; font-weight: 500; color: rgba(255,255,255,0.65); }
.fw-ig .fw-author-domain { font-size: 9px; color: rgba(255,255,255,0.22); font-family: 'JetBrains Mono', monospace; }
.fw-ig .fw-htags { display: flex; gap: 5px; flex-wrap: wrap; justify-content: flex-end; }
.fw-ig .fw-htag { font-size: 9px; color: rgba(97,218,251,0.55); }
@keyframes fw-react-spin { from{transform:rotate(0deg)} to{transform:rotate(360deg)} }
.fw-ig .fw-react-spin { animation: fw-react-spin 8s linear infinite; transform-origin: 50% 50%; transform-box: fill-box; }
@media(max-width:560px) {
  .fw-ig .fw-fw-row { grid-template-columns: 1fr; }
  .fw-ig .fw-vs-center { display: none; }
}

/* ══════════════════════════════════════════════
   INFOGRAFÍA 5 — GitHub Secretos
   Clase raíz: .ghs-wrap
══════════════════════════════════════════════ */
.ghs-wrap { width: 100%; background: #0d1117; border-radius: 18px; overflow: hidden; border: 1px solid #21262d; font-family: 'Plus Jakarta Sans', sans-serif; }
.ghs-wrap .header { padding: 38px 42px 30px; border-bottom: 1px solid #21262d; display: flex; align-items: flex-start; gap: 22px; background: #0d1117; position: relative; }
.ghs-wrap .header-bg { position: absolute; top: -100px; right: -80px; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(circle, rgba(88,166,255,0.09) 0%, transparent 70%); pointer-events: none; }
.ghs-wrap .eyebrow { font-family: 'JetBrains Mono', monospace; font-size: 0.6rem; letter-spacing: 0.2em; text-transform: uppercase; color: #58a6ff; margin-bottom: 10px; }
.ghs-wrap .hook { font-size: 1.75rem; font-weight: 800; color: #e6edf3; line-height: 1.28; letter-spacing: -0.01em; margin-bottom: 12px; }
.ghs-wrap .hook em { color: #58a6ff; font-style: normal; }
.ghs-wrap .subtext { font-size: 0.9rem; color: #8b949e; line-height: 1.7; max-width: 500px; font-weight: 400; }
.ghs-wrap .grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: #21262d; }
.ghs-wrap .item { background: #0d1117; padding: 24px 26px; display: flex; gap: 14px; align-items: flex-start; position: relative; }
.ghs-wrap .item::after { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; }
.ghs-wrap .c1::after { background: linear-gradient(90deg,#58a6ff,transparent); }
.ghs-wrap .c2::after { background: linear-gradient(90deg,#3fb950,transparent); }
.ghs-wrap .c3::after { background: linear-gradient(90deg,#f78166,transparent); }
.ghs-wrap .c4::after { background: linear-gradient(90deg,#d2a8ff,transparent); }
.ghs-wrap .c5::after { background: linear-gradient(90deg,#ffa657,transparent); }
.ghs-wrap .c6::after { background: linear-gradient(90deg,#58a6ff,transparent); }
.ghs-wrap .c7::after { background: linear-gradient(90deg,#3fb950,transparent); }
.ghs-wrap .c8::after { background: linear-gradient(90deg,#f78166,transparent); }
.ghs-wrap .icon-box { width: 40px; height: 40px; border-radius: 10px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.ghs-wrap .c1 .icon-box { background: rgba(88,166,255,0.13); }
.ghs-wrap .c2 .icon-box { background: rgba(63,185,80,0.13); }
.ghs-wrap .c3 .icon-box { background: rgba(247,129,102,0.13); }
.ghs-wrap .c4 .icon-box { background: rgba(210,168,255,0.13); }
.ghs-wrap .c5 .icon-box { background: rgba(255,166,87,0.13); }
.ghs-wrap .c6 .icon-box { background: rgba(88,166,255,0.13); }
.ghs-wrap .c7 .icon-box { background: rgba(63,185,80,0.13); }
.ghs-wrap .c8 .icon-box { background: rgba(247,129,102,0.13); }
.ghs-wrap .num { font-family: 'JetBrains Mono', monospace; font-size: 0.55rem; color: #484f58; margin-bottom: 4px; letter-spacing: 0.1em; }
.ghs-wrap .item-title { font-size: 0.95rem; font-weight: 800; color: #e6edf3; margin-bottom: 6px; line-height: 1.35; }
.ghs-wrap .item-desc { font-size: 0.8rem; color: #8b949e; line-height: 1.65; font-weight: 400; }
.ghs-wrap .badge { display: inline-block; margin-top: 7px; font-family: 'JetBrains Mono', monospace; font-size: 0.52rem; letter-spacing: 0.1em; text-transform: uppercase; padding: 2px 8px; border-radius: 4px; }
.ghs-wrap .c1 .badge { background: rgba(88,166,255,0.12); color: #58a6ff; }
.ghs-wrap .c2 .badge { background: rgba(63,185,80,0.12); color: #3fb950; }
.ghs-wrap .c3 .badge { background: rgba(247,129,102,0.12); color: #f78166; }
.ghs-wrap .c4 .badge { background: rgba(210,168,255,0.12); color: #d2a8ff; }
.ghs-wrap .c5 .badge { background: rgba(255,166,87,0.12); color: #ffa657; }
.ghs-wrap .c6 .badge { background: rgba(88,166,255,0.12); color: #58a6ff; }
.ghs-wrap .c7 .badge { background: rgba(63,185,80,0.12); color: #3fb950; }
.ghs-wrap .c8 .badge { background: rgba(247,129,102,0.12); color: #f78166; }
.ghs-wrap .footer { padding: 18px 42px; border-top: 1px solid #21262d; display: flex; align-items: center; justify-content: space-between; background: #0d1117; }
.ghs-wrap .author { display: flex; align-items: center; gap: 10px; }
.ghs-wrap .avatar { width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg,#58a6ff 0%,#3fb950 100%); display: flex; align-items: center; justify-content: center; font-size: 0.7rem; font-weight: 900; color: #0d1117; flex-shrink: 0; }
.ghs-wrap .aname { font-size: 0.82rem; font-weight: 800; color: #e6edf3; }
.ghs-wrap .arole { font-family: 'JetBrains Mono', monospace; font-size: 0.58rem; color: #8b949e; margin-top: 1px; }
.ghs-wrap .domain { font-family: 'JetBrains Mono', monospace; font-size: 0.65rem; color: #484f58; letter-spacing: 0.06em; }
.ghs-wrap .domain b { color: #58a6ff; font-weight: 700; }
@media(max-width:560px) {
  .ghs-wrap .grid { grid-template-columns: 1fr; }
  .ghs-wrap .header { padding: 24px 20px; flex-direction: column; }
  .ghs-wrap .footer { padding: 14px 20px; }
}

/* ══════════════════════════════════════════════
   AGENTES IA — infografía agentes-ia.html
══════════════════════════════════════════════ */
.aia-root {
  width: 680px; max-width: 100%;
  background: #080b10; color: #dde3f0;
  font-family: 'Familjen Grotesk', 'Inter', sans-serif;
  border-radius: 16px; overflow: hidden;
}
.aia-inner { padding: 40px 44px 36px; }

.aia-eyebrow {
  font-family: 'Azeret Mono', 'Fira Mono', monospace;
  font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase;
  color: #e8643a; margin-bottom: 6px;
}
.aia-main-title {
  font-size: 34px; font-weight: 700; line-height: 1.05;
  color: #fff; letter-spacing: -0.025em; margin-bottom: 4px;
}
.aia-main-title em { font-style: italic; color: #e8643a; }
.aia-subtitle { font-size: 13px; color: #8b93a8; margin-bottom: 28px; line-height: 1.5; }

/* Loop diagram */
.aia-loop-section {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 8px; margin-bottom: 28px; position: relative;
}
.aia-loop-step {
  background: #131720; border: 1px solid rgba(255,255,255,0.07);
  border-radius: 10px; padding: 14px 12px; position: relative; text-align: center;
}
.aia-loop-step-num {
  font-family: 'Azeret Mono', monospace; font-size: 10px;
  color: #e8643a; letter-spacing: 0.1em; margin-bottom: 6px;
}
.aia-loop-step-icon { font-size: 20px; margin-bottom: 6px; line-height: 1; }
.aia-loop-step-label { font-size: 11px; font-weight: 700; color: #fff; margin-bottom: 3px; letter-spacing: -0.01em; }
.aia-loop-step-desc {
  font-family: 'Azeret Mono', monospace; font-size: 9px; color: #8b93a8; line-height: 1.5;
}
.aia-arrow-connector {
  position: absolute; right: -13px; top: 50%; transform: translateY(-50%);
  font-size: 12px; color: #e8643a; z-index: 2;
}

/* Section label */
.aia-section-label {
  font-family: 'Azeret Mono', monospace; font-size: 9px;
  letter-spacing: 0.18em; text-transform: uppercase; color: #8b93a8; margin-bottom: 12px;
}

/* Components grid */
.aia-comp-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; margin-bottom: 24px; }
.aia-comp-card {
  background: #131720; border: 1px solid rgba(255,255,255,0.07);
  border-radius: 10px; padding: 14px;
}
.aia-comp-card.aia-accent {
  border-color: rgba(232,100,58,0.35); background: rgba(232,100,58,0.06);
}
.aia-comp-icon { font-size: 16px; margin-bottom: 7px; }
.aia-comp-name { font-size: 12px; font-weight: 700; color: #fff; margin-bottom: 4px; }
.aia-comp-desc {
  font-family: 'Azeret Mono', monospace; font-size: 9px; color: #8b93a8; line-height: 1.6;
}

/* vs reactive */
.aia-vs-section { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 24px; }
.aia-vs-card {
  background: #131720; border: 1px solid rgba(255,255,255,0.07);
  border-radius: 10px; padding: 14px 16px;
}
.aia-vs-title { font-size: 11px; font-weight: 700; margin-bottom: 8px; }
.aia-dot {
  display: inline-block; width: 7px; height: 7px;
  border-radius: 50%; margin-right: 6px; vertical-align: middle;
}
.aia-vs-list { list-style: none; padding: 0; margin: 0; }
.aia-vs-list li {
  font-family: 'Azeret Mono', monospace; font-size: 9px;
  color: #8b93a8; line-height: 1.9; display: flex; align-items: flex-start; gap: 5px;
}
.aia-vs-list li::before { content: '→'; color: #5b8df6; flex-shrink: 0; }
.aia-vs-card.aia-warm .aia-vs-list li::before { color: #e8643a; }

/* Stats */
.aia-stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 28px; }
.aia-stat-box {
  background: #0e1117; border: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px; padding: 14px; text-align: center;
}
.aia-stat-num {
  font-size: 26px; font-weight: 700; color: #e8643a;
  letter-spacing: -0.03em; line-height: 1; margin-bottom: 4px;
}
.aia-stat-label {
  font-family: 'Azeret Mono', monospace; font-size: 8.5px;
  letter-spacing: 0.1em; color: #8b93a8; line-height: 1.5; text-transform: uppercase;
}

/* Examples pills */
.aia-examples-row { display: flex; gap: 8px; margin-bottom: 24px; flex-wrap: wrap; }
.aia-ex-pill {
  font-family: 'Azeret Mono', monospace; font-size: 9px; letter-spacing: 0.05em;
  border: 1px solid rgba(255,255,255,0.1); border-radius: 100px;
  padding: 5px 12px; color: #dde3f0; background: #1a1f2e;
}
.aia-ex-pill.aia-hi { border-color: rgba(232,100,58,0.4); color: #e8643a; background: rgba(232,100,58,0.08); }

/* Divider & footer */
.aia-divider { border: none; border-top: 1px solid rgba(255,255,255,0.07); margin: 0 0 20px; }
.aia-footer { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.aia-footer-brand {
  font-family: 'Azeret Mono', monospace; font-size: 10px;
  letter-spacing: 0.12em; color: #e8643a; font-weight: 500;
}
.aia-footer-tag { font-family: 'Azeret Mono', monospace; font-size: 9px; color: #8b93a8; letter-spacing: 0.1em; }

/* ══════════════════════════════════════════════
   RESPONSIVE modal
══════════════════════════════════════════════ */
@media(max-width:520px) {
  .ig-modal-date { display: none; }
  .ig-arrow { width: 38px; }
  .ig-carousel-content { padding: 16px 12px; }
}
@media(max-width:500px) {
  .igm-arrow { width: 34px; }
  .igm-content { padding: 12px 14px; }
  .ig-modal-wrap { padding: 12px; }
  .ig .ig-inner, .ig .inner { padding: 16px; }
  .ig .ig-top, .ig .top { flex-direction: column; gap: 10px; }
  .ig .ig-reasons, .ig .reasons { grid-template-columns: 1fr; }
  .sqln-wrap .sqn-top { flex-direction: column; }
  .sqln-wrap .sqn-cols { grid-template-columns: 1fr; }
  .sqln-wrap .sqn-col:first-child { border-right: none; border-bottom: 1px solid var(--border); }
  .sqln-wrap .sqn-col { padding: 1rem 1.2rem; }
}
