/* ════════════════════════════════════════════════════════════
   ALO GestorHub — Blog stylesheet
   Estilo: minimal · editorial · SaaS premium (Notion / Linear / Stripe)
   Compatible con paleta global de alogestorhub.com
   ════════════════════════════════════════════════════════════ */

:root {
  --bg: #FDFBF7;
  --bg-2: #F6F3EE;
  --bg-3: #FFFFFF;
  --ink: #0B1F4B;
  --ink-d: #060D1C;
  --ink-70: rgba(11, 31, 75, 0.72);
  --ink-60: rgba(11, 31, 75, 0.62);
  --ink-45: rgba(11, 31, 75, 0.45);
  --ink-20: rgba(11, 31, 75, 0.12);
  --ink-10: rgba(11, 31, 75, 0.06);
  --ink-05: rgba(11, 31, 75, 0.03);
  --gold: #F5A623;
  --gold-2: #FFD97D;
  --gold-soft: rgba(245, 166, 35, 0.20);
  --white: #FFFFFF;
  --green: #059669;
  --blue: #2563EB;
  --purple: #7C3AED;
  --red: #DC2626;

  --fs-inter: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --fs-syne: 'Syne', sans-serif;
  --fs-serif: 'Cormorant Garamond', serif;
  --fs-body: 'DM Sans', 'Inter', sans-serif;

  --maxw: 1200px;
  --maxw-read: 720px;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;

  --shadow-soft: 0 1px 3px rgba(11,31,75,.05), 0 4px 18px rgba(11,31,75,.04);
  --shadow-hover: 0 8px 28px rgba(11,31,75,.10), 0 2px 6px rgba(11,31,75,.06);

  --t-fast: 160ms cubic-bezier(.4,0,.2,1);
  --t-base: 240ms cubic-bezier(.4,0,.2,1);
}

@media (prefers-color-scheme: dark) {
  :root.auto-dark {
    --bg: #0A0E1A;
    --bg-2: #111726;
    --bg-3: #161D2E;
    --ink: #F3F4F8;
    --ink-d: #FFFFFF;
    --ink-70: rgba(243,244,248,.78);
    --ink-60: rgba(243,244,248,.62);
    --ink-45: rgba(243,244,248,.45);
    --ink-20: rgba(243,244,248,.14);
    --ink-10: rgba(243,244,248,.07);
    --ink-05: rgba(243,244,248,.04);
    --shadow-soft: 0 1px 3px rgba(0,0,0,.3), 0 4px 18px rgba(0,0,0,.2);
    --shadow-hover: 0 8px 28px rgba(0,0,0,.4), 0 2px 6px rgba(0,0,0,.3);
  }
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--fs-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea { font-family: inherit; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 1ms !important;
    transition-duration: 1ms !important;
  }
}

/* ═══════════ NAV (idéntico a index.html) ═══════════ */
.nav { position: sticky; top: 0; z-index: 50; background: var(--bg); }
.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
}
.nav-logo {
  display: flex;
  align-items: center;
  height: 32px;
  font-family: var(--fs-syne);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.5px;
  color: var(--ink);
}
.nav-logo img { height: 40px; width: auto; display: block; }
.nav-logo-fallback { display: none; }
.nav-logo-fallback .o { color: var(--gold); }
.nav-links {
  display: flex;
  gap: 40px;
  font-family: var(--fs-inter);
  font-size: 14px;
  font-weight: 500;
  align-items: center;
}
.nav-links a { color: var(--ink-60); transition: color .2s; }
.nav-links a:hover, .nav-links a.active { color: var(--ink); }

.nav-dropdown { position: relative; }
.nav-dropdown-trigger {
  background: transparent;
  border: none;
  padding: 0;
  margin: 0;
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  color: var(--ink-60);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: color .2s;
}
.nav-dropdown-trigger:hover,
.nav-dropdown-trigger[aria-expanded="true"] { color: var(--ink); }
.nav-dropdown-arrow { transition: transform .2s ease; margin-top: 1px; color: currentColor; }
.nav-dropdown-trigger[aria-expanded="true"] .nav-dropdown-arrow,
.nav-dropdown:hover .nav-dropdown-arrow { transform: rotate(180deg); }
.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 14px;
  min-width: 280px;
  background: white;
  border: 1px solid rgba(11, 31, 75, 0.08);
  border-radius: 14px;
  box-shadow: 0 12px 40px rgba(11, 31, 75, 0.12), 0 4px 12px rgba(11, 31, 75, 0.06);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
  z-index: 1000;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown-trigger[aria-expanded="true"] + .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -14px; left: 0; right: 0;
  height: 14px;
  background: transparent;
}
.nav-dropdown-menu a {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 10px;
  text-decoration: none;
  color: var(--ink) !important;
  transition: background .15s;
}
.nav-dropdown-menu a:hover { background: rgba(245, 166, 35, 0.08); }
.nav-dropdown-icon { font-size: 22px; line-height: 1; flex-shrink: 0; margin-top: 2px; }
.nav-dropdown-text { display: flex; flex-direction: column; gap: 2px; }
.nav-dropdown-title {
  font-family: var(--fs-inter);
  font-size: 14px; font-weight: 600;
  color: var(--ink); line-height: 1.2;
}
.nav-dropdown-desc {
  font-family: var(--fs-inter);
  font-size: 12px; font-weight: 400;
  color: var(--ink-60); line-height: 1.3;
}
@media (max-width: 760px) {
  .nav-dropdown-menu {
    position: static; min-width: auto; margin-top: 8px;
    box-shadow: none; border: 1px solid rgba(11, 31, 75, 0.06);
    background: rgba(255, 255, 255, 0.5);
  }
  .nav-dropdown-menu a { padding: 10px 12px; }
  .nav-dropdown-icon { font-size: 18px; }
  .nav-dropdown-title { font-size: 13px; }
  .nav-dropdown-desc { font-size: 11px; }
}
.nav-cta {
  background: var(--ink);
  color: var(--bg);
  padding: 10px 20px;
  border-radius: 999px;
  font-family: var(--fs-inter);
  font-size: 13px;
  font-weight: 600;
}
.nav-cta:hover { background: #1B3A6B; }
@media (max-width: 760px) {
  .nav-links { display: none; }
  .nav-inner { padding: 16px 24px; }
}

/* ═══════════ HERO BLOG ═══════════ */
.b-hero {
  padding: clamp(60px, 10vh, 110px) 32px clamp(40px, 6vh, 70px);
  position: relative;
  overflow: hidden;
}
.b-hero-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  text-align: center;
}
.b-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--fs-inter);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-60);
  padding: 6px 14px;
  border: 1px solid var(--ink-20);
  border-radius: 999px;
  margin-bottom: 28px;
  background: var(--bg-3);
}
.b-hero-eyebrow::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 8px var(--gold);
}
.b-hero h1 {
  font-family: var(--fs-inter);
  font-weight: 700;
  font-size: clamp(36px, 5.5vw, 64px);
  line-height: 1.04;
  letter-spacing: -0.035em;
  color: var(--ink);
  margin-bottom: 20px;
}
.b-hero h1 em {
  font-family: var(--fs-serif);
  font-style: italic;
  font-weight: 600;
  color: var(--ink);
}
.b-hero-sub {
  font-family: var(--fs-inter);
  font-size: clamp(16px, 1.4vw, 19px);
  font-weight: 400;
  color: var(--ink-60);
  max-width: 640px;
  margin: 0 auto 36px;
  line-height: 1.55;
}

/* Search */
.b-search {
  max-width: 560px;
  margin: 0 auto 32px;
  position: relative;
}
.b-search input {
  width: 100%;
  padding: 16px 18px 16px 50px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  background: var(--bg-3);
  border: 1px solid var(--ink-20);
  border-radius: 14px;
  outline: none;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.b-search input::placeholder { color: var(--ink-45); font-weight: 400; }
.b-search input:focus {
  border-color: var(--ink-70);
  box-shadow: 0 0 0 4px var(--ink-10);
}
.b-search-icon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--ink-45);
  pointer-events: none;
}

/* Categories chips */
.b-cats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  max-width: 860px;
  margin: 0 auto;
}
.b-cat-chip {
  font-family: var(--fs-inter);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-70);
  padding: 8px 16px;
  border: 1px solid var(--ink-20);
  border-radius: 999px;
  background: var(--bg-3);
  cursor: pointer;
  transition: all var(--t-fast);
  white-space: nowrap;
}
.b-cat-chip:hover {
  border-color: var(--ink-70);
  color: var(--ink);
  transform: translateY(-1px);
}
.b-cat-chip.active {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}

/* ═══════════ GRID DE ARTÍCULOS ═══════════ */
.b-section {
  padding: clamp(40px, 6vh, 80px) 32px clamp(60px, 10vh, 120px);
}
.b-section-inner {
  max-width: var(--maxw);
  margin: 0 auto;
}
.b-section-title {
  font-family: var(--fs-inter);
  font-weight: 700;
  font-size: clamp(24px, 2.4vw, 30px);
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 4px;
}
.b-section-sub {
  font-family: var(--fs-inter);
  font-size: 15px;
  color: var(--ink-60);
  margin-bottom: 32px;
}

.b-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
  gap: 28px;
}

/* Featured (primer card más grande) */
.b-grid.with-featured > .b-card:first-child {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 0;
  min-height: 360px;
}
.b-grid.with-featured > .b-card:first-child .b-card-thumb {
  height: 100%;
  min-height: 360px;
  aspect-ratio: auto;
}
.b-grid.with-featured > .b-card:first-child .b-card-body {
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.b-grid.with-featured > .b-card:first-child .b-card-title {
  font-size: clamp(22px, 2.2vw, 30px);
}
@media (max-width: 820px) {
  .b-grid.with-featured > .b-card:first-child {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .b-grid.with-featured > .b-card:first-child .b-card-thumb { min-height: 220px; }
  .b-grid.with-featured > .b-card:first-child .b-card-body { padding: 28px; }
}

/* Card */
.b-card {
  background: var(--bg-3);
  border: 1px solid var(--ink-10);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base);
  display: flex;
  flex-direction: column;
}
.b-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--ink-20);
}
.b-card a {
  display: contents;
  color: inherit;
}
.b-card-thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, var(--bg-2) 0%, var(--ink-10) 100%);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.b-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms cubic-bezier(.2,.7,.2,1);
}
.b-card:hover .b-card-thumb img { transform: scale(1.04); }
.b-card-thumb-emoji {
  font-size: 80px;
  filter: grayscale(0.2);
  opacity: 0.7;
}
.b-card-body {
  padding: 22px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.b-card-cat {
  font-family: var(--fs-inter);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
}
.b-card-title {
  font-family: var(--fs-inter);
  font-weight: 700;
  font-size: 19px;
  line-height: 1.25;
  letter-spacing: -0.018em;
  color: var(--ink);
  margin: 2px 0 6px;
}
.b-card-desc {
  font-family: var(--fs-inter);
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-60);
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.b-card-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--fs-inter);
  font-size: 12px;
  color: var(--ink-45);
  margin-top: 8px;
}
.b-card-meta .dot {
  width: 3px; height: 3px;
  border-radius: 50%;
  background: var(--ink-20);
}
.b-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--fs-inter);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  margin-top: 10px;
  transition: gap var(--t-fast);
}
.b-card:hover .b-card-cta { gap: 10px; }

.b-empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--ink-45);
  font-family: var(--fs-inter);
  font-size: 15px;
}

/* ═══════════ ARTICLE (single post) ═══════════ */
.article-wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 32px;
}

.breadcrumbs {
  font-family: var(--fs-inter);
  font-size: 13px;
  color: var(--ink-45);
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.breadcrumbs a {
  color: var(--ink-60);
  transition: color var(--t-fast);
}
.breadcrumbs a:hover { color: var(--ink); }
.breadcrumbs .sep { color: var(--ink-20); }

.article-header {
  max-width: var(--maxw-read);
  margin: 0 auto 40px;
  text-align: center;
}
.article-cat {
  display: inline-block;
  font-family: var(--fs-inter);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.article-title {
  font-family: var(--fs-inter);
  font-weight: 700;
  font-size: clamp(32px, 4.5vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.035em;
  color: var(--ink);
  margin-bottom: 18px;
}
.article-subtitle {
  font-family: var(--fs-inter);
  font-size: clamp(17px, 1.6vw, 21px);
  font-weight: 400;
  color: var(--ink-60);
  line-height: 1.5;
  max-width: 640px;
  margin: 0 auto 28px;
}
.article-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  font-family: var(--fs-inter);
  font-size: 13px;
  color: var(--ink-60);
  flex-wrap: wrap;
}
.article-meta .author {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  color: var(--ink);
}
.article-meta .avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold) 0%, #FF8A00 100%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 12px;
}
.article-meta .dot {
  width: 3px; height: 3px; border-radius: 50%;
  background: var(--ink-20);
}

.article-cover {
  max-width: 1040px;
  margin: 0 auto 56px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16 / 8;
  background: linear-gradient(135deg, var(--bg-2) 0%, var(--ink-10) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.article-cover img { width: 100%; height: 100%; object-fit: cover; }
.article-cover-svg { width: 100%; height: 100%; }

/* Two-column reading layout */
.article-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, var(--maxw-read)) 240px;
  gap: 56px;
  max-width: 1240px;
  margin: 0 auto;
  align-items: start;
}
@media (max-width: 1100px) {
  .article-layout {
    grid-template-columns: 1fr;
    max-width: var(--maxw-read);
    gap: 0;
  }
  .toc-side { display: none; }
  .article-side { display: none; }
}

/* TOC sticky */
.toc-side {
  position: sticky;
  top: 90px;
  max-height: calc(100vh - 110px);
  overflow-y: auto;
  padding-right: 4px;
}
.toc-label {
  font-family: var(--fs-inter);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-45);
  margin-bottom: 14px;
}
.toc-list {
  list-style: none;
  border-left: 1px solid var(--ink-10);
  padding-left: 0;
}
.toc-list li { padding: 0; }
.toc-list a {
  display: block;
  padding: 7px 14px;
  margin-left: -1px;
  border-left: 2px solid transparent;
  font-family: var(--fs-inter);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-60);
  line-height: 1.4;
  transition: color var(--t-fast), border-color var(--t-fast);
}
.toc-list a:hover { color: var(--ink); }
.toc-list a.active {
  color: var(--ink);
  border-left-color: var(--gold);
  font-weight: 600;
}

/* Right column (share + cta) */
.article-side {
  position: sticky;
  top: 90px;
}
.share-box {
  background: var(--bg-3);
  border: 1px solid var(--ink-10);
  border-radius: var(--radius-md);
  padding: 18px;
  margin-bottom: 20px;
}
.share-label {
  font-family: var(--fs-inter);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-45);
  margin-bottom: 12px;
}
.share-list { display: flex; gap: 8px; flex-wrap: wrap; }
.share-list a {
  width: 36px; height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--bg-2);
  color: var(--ink-60);
  transition: background var(--t-fast), color var(--t-fast), transform var(--t-fast);
}
.share-list a:hover { background: var(--ink); color: var(--bg); transform: translateY(-1px); }

/* ═══════════ ARTICLE BODY (prose) ═══════════ */
.article-body {
  font-family: var(--fs-body);
  font-size: 17.5px;
  line-height: 1.75;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.article-body > * + * { margin-top: 1.2em; }
.article-body p { color: var(--ink); }
.article-body h2 {
  font-family: var(--fs-inter);
  font-weight: 700;
  font-size: clamp(24px, 2.4vw, 30px);
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin-top: 2.4em;
  margin-bottom: 0.4em;
  scroll-margin-top: 90px;
}
.article-body h3 {
  font-family: var(--fs-inter);
  font-weight: 600;
  font-size: 20px;
  line-height: 1.3;
  letter-spacing: -0.018em;
  color: var(--ink);
  margin-top: 1.8em;
  margin-bottom: 0.4em;
  scroll-margin-top: 90px;
}
.article-body h4 {
  font-family: var(--fs-inter);
  font-weight: 600;
  font-size: 17px;
  color: var(--ink);
  margin-top: 1.4em;
  margin-bottom: 0.3em;
}
.article-body a {
  color: var(--ink);
  background-image: linear-gradient(to top, var(--gold-soft) 0, var(--gold-soft) 30%, transparent 30%);
  transition: background-color var(--t-fast);
  font-weight: 500;
}
.article-body a:hover {
  background-image: linear-gradient(to top, var(--gold-soft) 0, var(--gold-soft) 100%);
}
.article-body strong { font-weight: 600; color: var(--ink-d); }
.article-body em { font-family: var(--fs-serif); font-style: italic; font-size: 1.05em; font-weight: 600; }
.article-body ul, .article-body ol {
  padding-left: 1.4em;
}
.article-body li { margin: 0.4em 0; padding-left: 0.2em; }
.article-body li::marker { color: var(--ink-45); }

.article-body blockquote {
  border-left: 3px solid var(--gold);
  padding: 6px 0 6px 24px;
  margin: 1.6em 0;
  font-family: var(--fs-serif);
  font-style: italic;
  font-size: 1.2em;
  color: var(--ink-70);
  line-height: 1.5;
}

.article-body code {
  font-family: 'SF Mono', 'Monaco', 'Courier New', monospace;
  background: var(--ink-10);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.9em;
  color: var(--ink-d);
}

/* Highlighted callout block */
.callout {
  background: var(--bg-2);
  border: 1px solid var(--ink-10);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin: 1.8em 0;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.callout-icon {
  font-size: 24px;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 2px;
}
.callout-body {
  font-family: var(--fs-inter);
  font-size: 15.5px;
  color: var(--ink);
  line-height: 1.55;
}
.callout-body strong { color: var(--ink-d); }
.callout.tip { border-left-color: var(--green); }
.callout.warning { border-left-color: var(--red); }
.callout.info { border-left-color: var(--blue); }

/* Tabla responsive */
.table-wrap {
  overflow-x: auto;
  margin: 1.8em 0;
  border-radius: var(--radius-md);
  border: 1px solid var(--ink-10);
  background: var(--bg-3);
  -webkit-overflow-scrolling: touch;
}
.article-body table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--fs-inter);
  font-size: 14px;
  min-width: 640px;
}
.article-body th,
.article-body td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--ink-10);
  vertical-align: top;
  line-height: 1.45;
}
.article-body th {
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-60);
  background: var(--bg-2);
  position: sticky;
  top: 0;
}
.article-body tbody tr:last-child td { border-bottom: none; }
.article-body tbody tr:hover { background: var(--ink-05); }
.article-body td.highlight {
  background: linear-gradient(180deg, rgba(245,166,35,.08), rgba(245,166,35,.02));
  font-weight: 500;
}
.article-body td .check { color: var(--green); font-weight: 700; }
.article-body td .x { color: var(--red); font-weight: 700; }
.article-body td .partial { color: var(--gold); font-weight: 700; }

/* Bento blocks */
.bento {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin: 1.8em 0;
}
.bento > div {
  background: var(--bg-3);
  border: 1px solid var(--ink-10);
  border-radius: var(--radius-md);
  padding: 22px;
}
.bento h4 {
  font-family: var(--fs-inter);
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
  margin: 0 0 6px;
}
.bento p {
  font-family: var(--fs-inter);
  font-size: 14px;
  color: var(--ink-60);
  line-height: 1.55;
  margin: 0;
}
@media (max-width: 640px) { .bento { grid-template-columns: 1fr; } }

/* Pro/Contra blocks */
.pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 1.4em 0;
}
.pros-cons > div {
  background: var(--bg-3);
  border: 1px solid var(--ink-10);
  border-radius: var(--radius-md);
  padding: 18px 22px;
}
.pros-cons h4 {
  font-family: var(--fs-inter);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0 0 10px;
}
.pros-cons .pros h4 { color: var(--green); }
.pros-cons .cons h4 { color: var(--red); }
.pros-cons ul {
  list-style: none;
  padding: 0;
  margin: 0;
  font-family: var(--fs-inter);
  font-size: 14.5px;
  line-height: 1.5;
}
.pros-cons li {
  padding-left: 22px;
  position: relative;
  margin: 8px 0;
  color: var(--ink-70);
}
.pros-cons .pros li::before {
  content: '✓';
  position: absolute; left: 0; top: 0;
  color: var(--green); font-weight: 700;
}
.pros-cons .cons li::before {
  content: '−';
  position: absolute; left: 0; top: 0;
  color: var(--red); font-weight: 700;
}
@media (max-width: 640px) { .pros-cons { grid-template-columns: 1fr; } }

/* FAQ */
.faq {
  margin: 2em 0;
  border-top: 1px solid var(--ink-10);
}
.faq details {
  border-bottom: 1px solid var(--ink-10);
  padding: 6px 0;
}
.faq summary {
  font-family: var(--fs-inter);
  font-weight: 600;
  font-size: 17px;
  color: var(--ink);
  padding: 18px 40px 18px 4px;
  cursor: pointer;
  list-style: none;
  position: relative;
  transition: color var(--t-fast);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  font-weight: 400;
  color: var(--ink-45);
  transition: transform var(--t-fast);
}
.faq details[open] summary::after { content: '−'; }
.faq summary:hover { color: var(--gold); }
.faq details > div {
  padding: 0 4px 22px;
  font-family: var(--fs-inter);
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--ink-70);
}

/* ═══════════ CTA GLOBAL ═══════════ */
.cta-global {
  max-width: 1040px;
  margin: 80px auto 0;
  padding: 0 32px;
}
.cta-global-inner {
  background: linear-gradient(135deg, #0B1F4B 0%, #1B3A6B 100%);
  border-radius: var(--radius-lg);
  padding: clamp(40px, 6vw, 64px);
  color: var(--bg);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-global-inner::before {
  content: '';
  position: absolute;
  top: -50%; right: -20%;
  width: 60%; height: 200%;
  background: radial-gradient(circle, var(--gold-soft) 0%, transparent 60%);
  pointer-events: none;
}
.cta-global h2 {
  font-family: var(--fs-inter);
  font-weight: 700;
  font-size: clamp(26px, 3.2vw, 38px);
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin: 0 0 14px;
  position: relative;
}
.cta-global h2 em {
  font-family: var(--fs-serif);
  font-style: italic;
  font-weight: 600;
  color: var(--gold-2);
}
.cta-global p {
  font-family: var(--fs-inter);
  font-size: clamp(15px, 1.4vw, 17px);
  color: rgba(255,255,255,.78);
  max-width: 560px;
  margin: 0 auto 28px;
  line-height: 1.6;
  position: relative;
}
.cta-global-btns {
  display: inline-flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  position: relative;
}
.cta-btn-primary {
  background: var(--gold);
  color: var(--ink-d);
  padding: 14px 26px;
  border-radius: 999px;
  font-family: var(--fs-inter);
  font-size: 14px;
  font-weight: 600;
  transition: transform var(--t-fast), box-shadow var(--t-fast);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.cta-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(245,166,35,.4); }
.cta-btn-secondary {
  background: rgba(255,255,255,.08);
  color: var(--bg);
  padding: 14px 26px;
  border-radius: 999px;
  font-family: var(--fs-inter);
  font-size: 14px;
  font-weight: 600;
  border: 1px solid rgba(255,255,255,.18);
  transition: background var(--t-fast);
}
.cta-btn-secondary:hover { background: rgba(255,255,255,.14); }

/* Related */
.related {
  max-width: var(--maxw);
  margin: 80px auto 0;
  padding: 0 32px;
}
.related h2 {
  font-family: var(--fs-inter);
  font-weight: 700;
  font-size: clamp(22px, 2.2vw, 28px);
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 24px;
}

/* Newsletter strip */
.newsletter {
  background: var(--bg-2);
  border-top: 1px solid var(--ink-10);
  border-bottom: 1px solid var(--ink-10);
  padding: clamp(40px, 6vh, 70px) 32px;
  margin-top: 80px;
}
.newsletter-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.newsletter h3 {
  font-family: var(--fs-inter);
  font-weight: 700;
  font-size: clamp(22px, 2.4vw, 28px);
  letter-spacing: -0.025em;
  color: var(--ink);
  margin: 0 0 8px;
}
.newsletter p {
  font-family: var(--fs-inter);
  font-size: 15px;
  color: var(--ink-60);
  margin: 0 0 22px;
}
.newsletter form {
  display: flex;
  gap: 8px;
  max-width: 460px;
  margin: 0 auto;
}
.newsletter input {
  flex: 1;
  padding: 13px 16px;
  border: 1px solid var(--ink-20);
  border-radius: 999px;
  background: var(--bg-3);
  font-size: 14px;
  outline: none;
}
.newsletter input:focus {
  border-color: var(--ink-70);
  box-shadow: 0 0 0 4px var(--ink-10);
}
.newsletter button {
  background: var(--ink);
  color: var(--bg);
  padding: 13px 22px;
  border-radius: 999px;
  font-family: var(--fs-inter);
  font-weight: 600;
  font-size: 14px;
  transition: background var(--t-fast);
}
.newsletter button:hover { background: #1B3A6B; }
@media (max-width: 540px) {
  .newsletter form { flex-direction: column; }
  .newsletter input, .newsletter button { width: 100%; }
}

/* ═══════════ FOOTER (idéntico a landings) ═══════════ */
footer {
  background: #060D1C;
  color: rgba(255,255,255,.7);
  padding: 36px 32px 28px;
  font-family: var(--fs-inter);
}
.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.footer-logo img { height: 48px; filter: brightness(0) invert(1); }
.footer-copy { font-size: 13px; color: rgba(255,255,255,.55); text-align: center; flex: 1; }
.footer-copy a { color: rgba(255,255,255,.4); transition: color .2s; }
.footer-copy a:hover { color: rgba(255,255,255,.85); }

/* ═══════════ WhatsApp FAB ═══════════ */
@keyframes waPulse {
  0%,100%{ box-shadow: 0 6px 20px rgba(37,211,102,.45); }
  50%{ box-shadow: 0 6px 20px rgba(37,211,102,.45), 0 0 0 8px rgba(37,211,102,.2); }
}

/* ═══════════ Reveal anim ═══════════ */
.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 600ms ease, transform 600ms cubic-bezier(.2,.7,.2,1);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* Progress bar */
.read-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--gold), #FF8A00);
  z-index: 100;
  transition: width 80ms linear;
}
