@charset "UTF-8";
/* ==========================================================================
   FAKTU — faktu.com.co · Sitio de marketing estático
   Theming de doble eje:
     · data-palette: "faktu" (default) | "indigo"
     · data-theme:   light | dark (sin atributo = sigue prefers-color-scheme)
   Cada combinación paleta × modo queda resuelta en un bloque explícito.
   ========================================================================== */

/* ---------- Layout (independiente de paleta/modo) ---------- */
:root {
  --max-w: 1160px;
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
  --font-display: "Sora", var(--font-body);
  --lime: #b1f15f; /* verde lima de marca — fijo en todas las combinaciones */
}

/* ---------- Paleta FAKTU · light (DEFAULT) ---------- */
:root {
  --acc: #2d7a4f;
  --acc-strong: #1a4a2e;
  --acc-soft: rgba(26, 74, 46, 0.08);
  --acc-soft-2: rgba(26, 74, 46, 0.16);
  --mint: #2d7a4f;
  --mint-strong: #1a4a2e;
  --mint-soft: rgba(177, 241, 95, 0.4);
  --grad: linear-gradient(135deg, #1a4a2e 0%, #2d7a4f 55%, #b1f15f 130%);
  --grad-cta: linear-gradient(135deg, #1a4a2e 0%, #2d7a4f 55%, #b1f15f 130%);
  --btn-ink: #ffffff;
  --btn2-bg: #b1f15f;
  --btn2-bg-hover: #a0e548;
  --btn2-ink: #1e1b16;
  --bg: #f5f2ec;
  --bg-2: #efeadf;
  --surface: #ffffff;
  --surface-2: #faf8f4;
  --border: #e3ddd1;
  --border-strong: #d8d2c6;
  --txt: #1e1b16;
  --txt-2: #5c5345;
  --txt-3: #8a8071;
  --navbar-bg: rgba(245, 242, 236, 0.78);
  --shadow-sm: 0 1px 3px rgba(30, 27, 22, 0.06);
  --shadow-md: 0 8px 28px rgba(30, 27, 22, 0.09);
  --shadow-lg: 0 20px 60px rgba(30, 27, 22, 0.13);
  --wire-bg: #f8f5ee;
  --wire-line: #ddd6c6;
  --wire-block: #ece7da;
}

/* ---------- Paleta Índigo · light ---------- */
html[data-palette="indigo"] {
  --acc: #5b5bd6;
  --acc-strong: #4a4ac4;
  --acc-soft: rgba(91, 91, 214, 0.1);
  --acc-soft-2: rgba(91, 91, 214, 0.18);
  --mint: #2bb98a;
  --mint-strong: #219a72;
  --mint-soft: rgba(43, 185, 138, 0.12);
  --grad: linear-gradient(135deg, #5b5bd6 0%, #7b6cf0 55%, #2bb98a 130%);
  --grad-cta: linear-gradient(135deg, #5b5bd6 0%, #7b6cf0 55%, #2bb98a 130%);
  --btn-ink: #ffffff;
  --btn2-bg: #2bb98a;
  --btn2-bg-hover: #219a72;
  --btn2-ink: #ffffff;
  --bg: #fcfcfe;
  --bg-2: #f4f4fa;
  --surface: #ffffff;
  --surface-2: #f7f7fc;
  --border: #e6e6f0;
  --border-strong: #d4d4e4;
  --txt: #16162a;
  --txt-2: #4c4c66;
  --txt-3: #8585a0;
  --navbar-bg: rgba(252, 252, 254, 0.78);
  --shadow-sm: 0 1px 3px rgba(22, 22, 42, 0.06);
  --shadow-md: 0 8px 28px rgba(22, 22, 42, 0.09);
  --shadow-lg: 0 20px 60px rgba(22, 22, 42, 0.13);
  --wire-bg: #f7f7fd;
  --wire-line: #dcdcef;
  --wire-block: #ececf8;
}

/* ---------- Modo oscuro automático (sin override manual a light) ---------- */
@media (prefers-color-scheme: dark) {
  /* FAKTU · dark */
  html:not([data-theme="light"]) {
    --acc: #6ed99a;
    --acc-strong: #8ce6b0;
    --acc-soft: rgba(110, 217, 154, 0.13);
    --acc-soft-2: rgba(110, 217, 154, 0.24);
    --mint: #b1f15f;
    --mint-strong: #c4f57e;
    --mint-soft: rgba(177, 241, 95, 0.15);
    --grad: linear-gradient(135deg, #6ed99a 0%, #8ce6b0 55%, #b1f15f 130%);
    --grad-cta: linear-gradient(135deg, #173f28 0%, #2d7a4f 70%, #5da53f 135%);
    --btn-ink: #12281a;
    --btn2-bg: #b1f15f;
    --btn2-bg-hover: #c4f57e;
    --btn2-ink: #1e1b16;
    --bg: #15130e;
    --bg-2: #1a1812;
    --surface: #1f1c15;
    --surface-2: #26221a;
    --border: #353024;
    --border-strong: #46402f;
    --txt: #f3efe6;
    --txt-2: #c9c2b2;
    --txt-3: #8d8678;
    --navbar-bg: rgba(21, 19, 14, 0.72);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 8px 28px rgba(0, 0, 0, 0.45);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.55);
    --wire-bg: #1b1812;
    --wire-line: #3a3424;
    --wire-block: #2a2619;
  }
  /* Índigo · dark */
  html[data-palette="indigo"]:not([data-theme="light"]) {
    --acc: #7b7bf0;
    --acc-strong: #9292f5;
    --acc-soft: rgba(123, 123, 240, 0.14);
    --acc-soft-2: rgba(123, 123, 240, 0.24);
    --mint: #2bb98a;
    --mint-strong: #2bb98a;
    --mint-soft: rgba(43, 185, 138, 0.16);
    --grad: linear-gradient(135deg, #7b7bf0 0%, #9b8cf5 55%, #2bb98a 130%);
    --grad-cta: linear-gradient(135deg, #4a4ac4 0%, #6c5ce0 55%, #219a72 130%);
    --btn-ink: #ffffff;
    --btn2-bg: #2bb98a;
    --btn2-bg-hover: #219a72;
    --btn2-ink: #ffffff;
    --bg: #0d0d1a;
    --bg-2: #121222;
    --surface: #16162b;
    --surface-2: #1c1c33;
    --border: #28284a;
    --border-strong: #36365e;
    --txt: #f0f0fa;
    --txt-2: #b4b4cf;
    --txt-3: #7a7a99;
    --navbar-bg: rgba(13, 13, 26, 0.72);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 8px 28px rgba(0, 0, 0, 0.45);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.55);
    --wire-bg: #15152a;
    --wire-line: #30305a;
    --wire-block: #222244;
  }
}

/* ---------- Override manual dark (toggle de navbar) ---------- */
/* FAKTU · dark */
html[data-theme="dark"] {
  --acc: #6ed99a; --acc-strong: #8ce6b0;
  --acc-soft: rgba(110, 217, 154, 0.13); --acc-soft-2: rgba(110, 217, 154, 0.24);
  --mint: #b1f15f; --mint-strong: #c4f57e; --mint-soft: rgba(177, 241, 95, 0.15);
  --grad: linear-gradient(135deg, #6ed99a 0%, #8ce6b0 55%, #b1f15f 130%);
  --grad-cta: linear-gradient(135deg, #173f28 0%, #2d7a4f 70%, #5da53f 135%);
  --btn-ink: #12281a;
  --btn2-bg: #b1f15f; --btn2-bg-hover: #c4f57e; --btn2-ink: #1e1b16;
  --bg: #15130e; --bg-2: #1a1812; --surface: #1f1c15; --surface-2: #26221a;
  --border: #353024; --border-strong: #46402f;
  --txt: #f3efe6; --txt-2: #c9c2b2; --txt-3: #8d8678;
  --navbar-bg: rgba(21, 19, 14, 0.72);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 8px 28px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.55);
  --wire-bg: #1b1812; --wire-line: #3a3424; --wire-block: #2a2619;
}
/* Índigo · dark */
html[data-palette="indigo"][data-theme="dark"] {
  --acc: #7b7bf0; --acc-strong: #9292f5;
  --acc-soft: rgba(123, 123, 240, 0.14); --acc-soft-2: rgba(123, 123, 240, 0.24);
  --mint: #2bb98a; --mint-strong: #2bb98a; --mint-soft: rgba(43, 185, 138, 0.16);
  --grad: linear-gradient(135deg, #7b7bf0 0%, #9b8cf5 55%, #2bb98a 130%);
  --grad-cta: linear-gradient(135deg, #4a4ac4 0%, #6c5ce0 55%, #219a72 130%);
  --btn-ink: #ffffff;
  --btn2-bg: #2bb98a; --btn2-bg-hover: #219a72; --btn2-ink: #ffffff;
  --bg: #0d0d1a; --bg-2: #121222; --surface: #16162b; --surface-2: #1c1c33;
  --border: #28284a; --border-strong: #36365e;
  --txt: #f0f0fa; --txt-2: #b4b4cf; --txt-3: #7a7a99;
  --navbar-bg: rgba(13, 13, 26, 0.72);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 8px 28px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.55);
  --wire-bg: #15152a; --wire-line: #30305a; --wire-block: #222244;
}
/* Override manual light: los bloques base (FAKTU / Índigo · light) ya aplican
   porque todas las reglas dark excluyen [data-theme="light"] vía :not(). */

/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--txt);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--acc); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
  font-weight: 700;
}
h1 { font-size: clamp(2.3rem, 6vw, 3.8rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 4vw, 2.5rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; color: var(--txt-2); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* Honeypot anti-spam de los formularios de leads: invisible para humanos */
.hp-field {
  position: absolute; left: -9999px; width: 1px; height: 1px;
  overflow: hidden; opacity: 0; pointer-events: none;
}

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
section { padding: 96px 0; }
.section-head { max-width: 680px; margin: 0 auto 56px; text-align: center; }
.section-head .kicker, .blog-hero .kicker {
  display: inline-block; font-size: 0.8rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.12em; color: var(--acc);
  background: var(--acc-soft); padding: 6px 14px; border-radius: 999px;
  margin-bottom: 16px;
}

/* ===== Botones ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 28px; border-radius: 14px;
  font-family: var(--font-body); font-size: 1rem; font-weight: 600;
  border: 1px solid transparent; cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  text-decoration: none;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-primary { background: var(--acc); color: var(--btn-ink); box-shadow: 0 6px 20px var(--acc-soft-2); }
.btn-primary:hover { background: var(--acc-strong); box-shadow: 0 10px 26px var(--acc-soft-2); }
.btn-mint { background: var(--btn2-bg); color: var(--btn2-ink); box-shadow: 0 6px 20px var(--mint-soft); }
.btn-mint:hover { background: var(--btn2-bg-hover); }
.btn-ghost { background: var(--surface); color: var(--txt); border-color: var(--border-strong); }
.btn-ghost:hover { border-color: var(--acc); color: var(--acc); }
.btn-lg { min-height: 56px; padding: 16px 36px; font-size: 1.08rem; border-radius: 16px; }
.btn-block { width: 100%; }

/* ===== Navbar ===== */
.navbar {
  position: sticky; top: 0; z-index: 100;
  background: var(--navbar-bg);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.navbar-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; min-height: 68px;
}
.logo { display: inline-flex; align-items: center; gap: 4px; text-decoration: none; }
.logo:hover { text-decoration: none; }
.brand-logo { height: 26px; width: auto; aspect-ratio: 790 / 180; color: var(--txt); display: block; }
.footer .brand-logo, .demo-footer .brand-logo { height: 22px; margin-bottom: 14px; }
.demo-footer .brand-logo { margin-left: auto; margin-right: auto; }
.nav-links { display: none; align-items: center; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--txt-2); font-weight: 500; font-size: 0.95rem; }
.nav-links a:hover { color: var(--acc); text-decoration: none; }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-cta { display: none; }

.theme-toggle, .palette-toggle {
  width: 44px; height: 44px; border-radius: 12px;
  border: 1px solid var(--border-strong); background: var(--surface);
  color: var(--txt); cursor: pointer; display: inline-flex;
  align-items: center; justify-content: center; font-size: 1.15rem;
  transition: border-color 0.15s ease;
}
.theme-toggle:hover, .palette-toggle:hover { border-color: var(--acc); }
.theme-toggle .icon-sun, .theme-toggle .icon-moon { pointer-events: none; }
.palette-swatch {
  width: 20px; height: 20px; border-radius: 50%; pointer-events: none;
  background: linear-gradient(135deg, var(--acc) 0 50%, var(--lime) 50% 100%);
  border: 1px solid var(--border-strong);
}
.theme-toggle .icon-sun { display: none; }
html[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
html[data-theme="dark"] .theme-toggle .icon-moon { display: none; }
@media (prefers-color-scheme: dark) {
  html:not([data-theme]) .theme-toggle .icon-sun { display: block; }
  html:not([data-theme]) .theme-toggle .icon-moon { display: none; }
}

/* ===== Menú móvil (hamburguesa) ===== */
.nav-hamburger {
  display: none; flex-direction: column; align-items: center; justify-content: center;
  gap: 5px; width: 44px; height: 44px; border-radius: 12px;
  border: 1px solid var(--border-strong); background: var(--surface);
  cursor: pointer; transition: border-color 0.15s ease;
}
.nav-hamburger:hover { border-color: var(--acc); }
.nav-hamburger span {
  display: block; width: 20px; height: 2px; border-radius: 2px;
  background: var(--txt); pointer-events: none;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.navbar.is-open .nav-hamburger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.navbar.is-open .nav-hamburger span:nth-child(2) { opacity: 0; }
.navbar.is-open .nav-hamburger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 879px) {
  .nav-hamburger { display: inline-flex; }
  .palette-toggle,
  .theme-toggle { display: none; }
  .nav-cta { display: inline-flex; min-height: 40px; padding: 9px 16px; font-size: 0.9rem; }
  .navbar.is-open .nav-links {
    display: flex; flex-direction: column; align-items: stretch; gap: 0;
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--navbar-bg);
    -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    padding: 8px 0 12px;
  }
  .navbar.is-open .nav-links a {
    display: flex; align-items: center; min-height: 44px; padding: 10px 24px;
  }
}

@media (min-width: 880px) {
  .nav-links { display: flex; }
  .nav-cta { display: inline-flex; }
}

/* ===== Hero ===== */
.hero { padding: 88px 0 72px; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -40% -20% auto;
  height: 80%; pointer-events: none;
  background: radial-gradient(60% 60% at 50% 30%, var(--acc-soft) 0%, transparent 70%);
}
.hero-inner { position: relative; text-align: center; max-width: 880px; margin: 0 auto; }
/* H1 del hero: máximo 2 líneas en todo viewport (320px+).
   Línea más larga con text-wrap: balance ≈ "para comercios colombianos" (26 caracteres
   en Sora 800 ≈ 15.6em). Ancho útil = 100vw - 48px de padding del container, por lo que
   el tamaño crece a 6.3vw - 3px y nunca supera ese ancho; tope 3.3rem desde ~886px. */
.hero h1 { font-size: clamp(1.05rem, 6.3vw - 3px, 3.3rem); text-wrap: balance; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 999px; padding: 8px 18px; font-size: 0.88rem;
  font-weight: 600; color: var(--txt-2); box-shadow: var(--shadow-sm);
  margin-bottom: 28px;
}
.hero-badge .pulse {
  width: 8px; height: 8px; border-radius: 50%; background: var(--mint);
  box-shadow: 0 0 0 4px var(--mint-soft);
}
.hero h1 .hl { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub { font-size: 1.18rem; max-width: 640px; margin: 0 auto 36px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-bottom: 28px; }
.hero-note { font-size: 0.88rem; color: var(--txt-3); margin-bottom: 56px; }
.trust-badges {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 12px;
  margin: 40px 0 0; padding: 0; list-style: none;
}
.trust-badges li {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 0.85rem; font-weight: 600; color: var(--txt-2);
  background: var(--surface); border: 1px solid var(--border);
  padding: 8px 16px; border-radius: 999px;
}

/* ===== Wireframe placeholders ===== */
.wireframe {
  position: relative; border: 2px dashed var(--wire-line);
  border-radius: var(--r-lg); background: var(--wire-bg);
  padding: 20px; overflow: hidden; box-shadow: var(--shadow-md);
}
.wireframe-label {
  display: block; text-align: center; font-size: 0.82rem; font-weight: 600;
  color: var(--txt-3); background: var(--surface);
  border: 1px solid var(--border); border-radius: 999px;
  padding: 7px 16px; margin: 16px auto 0; width: fit-content; max-width: 100%;
}
.wf-canvas { border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--border); padding: 16px; }
.wf-row { display: flex; gap: 10px; margin-bottom: 10px; }
.wf-row:last-child { margin-bottom: 0; }
.wf-block { background: var(--wire-block); border-radius: 8px; min-height: 14px; flex: 1; }
.wf-block.tall { min-height: 64px; }
.wf-block.taller { min-height: 110px; }
.wf-block.accent { background: var(--acc-soft-2); }
.wf-block.mint { background: var(--mint-soft); }
.wf-block.w-25 { flex: 0 0 25%; }
.wf-block.w-33 { flex: 0 0 32%; }
.wf-block.w-40 { flex: 0 0 40%; }
.wf-block.w-60 { flex: 0 0 58%; }
.wf-circle { width: 38px; height: 38px; border-radius: 50%; background: var(--wire-block); flex: 0 0 auto; }
.wf-bars { display: flex; align-items: flex-end; gap: 8px; height: 90px; flex: 1; }
.wf-bars span { flex: 1; border-radius: 6px 6px 0 0; background: var(--acc-soft-2); }
.wf-bars span:nth-child(1) { height: 40%; }
.wf-bars span:nth-child(2) { height: 65%; }
.wf-bars span:nth-child(3) { height: 50%; }
.wf-bars span:nth-child(4) { height: 85%; }
.wf-bars span:nth-child(5) { height: 70%; }
.wf-bars span:nth-child(6) { height: 100%; background: var(--mint-soft); }
.hero-wireframe { max-width: 920px; margin: 0 auto; }

/* ===== Wireframes clicables (zoom) + overlay del ojito ===== */
.wireframe-zoom { cursor: zoom-in; }
.wireframe-zoom:focus-visible { outline: 3px solid var(--acc); outline-offset: 3px; }
.wireframe-eye {
  position: absolute; inset: 0; z-index: 2;
  display: flex; align-items: center; justify-content: center;
  background: var(--acc-soft-2);
  opacity: 0; transition: opacity 0.2s ease;
  pointer-events: none; border-radius: inherit;
}
.wireframe-eye .eye-pill {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 48px; padding: 12px 22px; border-radius: 999px;
  background: var(--surface); color: var(--txt);
  border: 1px solid var(--border-strong); box-shadow: var(--shadow-md);
  font-weight: 700; font-size: 0.95rem;
}
.wireframe-eye .eye-pill svg { width: 22px; height: 22px; color: var(--acc); flex: 0 0 auto; }
.wireframe-zoom:hover .wireframe-eye,
.wireframe-zoom:focus-visible .wireframe-eye { opacity: 1; }

/* ===== Lightbox ===== */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
}
.lightbox[hidden] { display: none; }
.lightbox::before {
  content: ""; position: absolute; inset: 0;
  background: var(--txt); opacity: 0.62;
}
.lightbox-panel {
  position: relative; z-index: 1;
  width: min(1080px, 100%); max-height: 92vh; overflow: auto;
  background: var(--surface); border: 1px solid var(--border-strong);
  border-radius: var(--r-lg); box-shadow: var(--shadow-lg);
  padding: 56px 24px 24px;
  animation: lightbox-in 0.22s ease;
}
@keyframes lightbox-in {
  from { opacity: 0; transform: scale(0.96); }
  to { opacity: 1; transform: none; }
}
.lightbox-close {
  position: absolute; top: 10px; right: 10px;
  width: 44px; height: 44px; border-radius: 12px;
  border: 1px solid var(--border-strong); background: var(--surface-2);
  color: var(--txt); font-size: 1.2rem; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  transition: border-color 0.15s ease;
}
.lightbox-close:hover { border-color: var(--acc); color: var(--acc); }
.lightbox-close:focus-visible { outline: 3px solid var(--acc); outline-offset: 2px; }
.lightbox-body .wf-canvas { background: var(--wire-bg); }
.lightbox-caption {
  display: block; text-align: center; font-size: 0.95rem; font-weight: 600;
  color: var(--txt-2); background: var(--surface-2);
  border: 1px solid var(--border); border-radius: 999px;
  padding: 10px 20px; margin: 20px auto 0; width: fit-content; max-width: 100%;
}
body.lightbox-open { overflow: hidden; }

/* ===== Sectores ===== */
.sectores { padding: 40px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--bg-2); }
.sectores-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 34px; }
.sectores-title { font-size: 0.82rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--txt-3); }
.sector-item { font-family: var(--font-display); font-weight: 600; font-size: 1.02rem; color: var(--txt-2); white-space: nowrap; }
a.sector-item:hover { color: var(--acc); text-decoration: none; }
@media (max-width: 879px) {
  .sectores-inner { gap: 12px 22px; }
  .sectores-title { flex-basis: 100%; text-align: center; }
  .sector-item { padding: 8px 4px; }
}

/* ===== Problema / solución ===== */
.cards-grid { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .cards-grid { grid-template-columns: repeat(3, 1fr); } }
.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 32px 28px; box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card-icon {
  width: 52px; height: 52px; border-radius: 14px; display: flex;
  align-items: center; justify-content: center; font-size: 1.5rem;
  background: var(--acc-soft); margin-bottom: 18px;
}
.card .solucion { font-weight: 600; color: var(--mint-strong); }
html[data-theme="dark"] .card .solucion { color: var(--mint); }
@media (prefers-color-scheme: dark) { html:not([data-theme]) .card .solucion { color: var(--mint); } }

/* ===== Bloques zigzag de funcionalidades ===== */
.feature-block {
  display: grid; gap: 44px; align-items: center;
  grid-template-columns: 1fr; padding: 56px 0;
}
@media (min-width: 900px) {
  .feature-block { grid-template-columns: 1fr 1fr; gap: 72px; }
  .feature-block.reverse .feature-copy { order: 2; }
  .feature-block.reverse .feature-visual { order: 1; }
}
.feature-tag {
  display: inline-block; font-size: 0.78rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--acc); background: var(--acc-soft);
  padding: 5px 12px; border-radius: 999px; margin-bottom: 14px;
}
.feature-copy h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
.feature-list { list-style: none; margin: 22px 0 28px; padding: 0; display: grid; gap: 12px; }
.feature-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--txt-2); }
.feature-list li::before {
  content: "\2713"; flex: 0 0 22px; height: 22px; margin-top: 2px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%; background: var(--mint-soft); color: var(--mint-strong);
  font-size: 0.78rem; font-weight: 800;
}
.mini-cta { font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.mini-cta::after { content: "\2192"; transition: transform 0.15s ease; }
.mini-cta:hover::after { transform: translateX(4px); }

/* ===== Grid "Y además..." (herramientas extra) ===== */
.extras-grid { grid-template-columns: 1fr; }
@media (min-width: 640px) { .cards-grid.extras-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .cards-grid.extras-grid { grid-template-columns: repeat(4, 1fr); } }
.extra-card { padding: 28px 24px; }
.extra-card .card-icon { background: var(--mint-soft); }
.extra-card p { margin: 0; font-size: 0.92rem; }

/* ===== Integraciones (Bold, Nequi, BeMovile, WhatsApp, SMS) ===== */
.integraciones-grid { grid-template-columns: 1fr; }
@media (min-width: 640px) { .cards-grid.integraciones-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .cards-grid.integraciones-grid { grid-template-columns: repeat(3, 1fr); } }
.integration-card { padding: 28px 24px; }
.integration-card p { margin: 0; font-size: 0.92rem; }
.integration-logo {
  display: inline-flex; align-items: center; min-height: 34px;
  font-family: var(--font-display); font-weight: 800; font-size: 1.02rem;
  letter-spacing: 0.02em; color: var(--acc); background: var(--acc-soft);
  border: 1px solid var(--border); border-radius: var(--r-sm);
  padding: 4px 14px; margin-bottom: 14px;
}
.integration-card h3 { font-size: 1.05rem; margin-bottom: 6px; }

/* Integración aún no disponible — apagada respecto a las demás */
.integration-card--soon {
  background: var(--surface-2); box-shadow: none;
  border-style: dashed;
}
.integration-card--soon:hover { transform: none; box-shadow: none; }
.integration-card--soon .integration-logo {
  color: var(--txt-3); background: var(--bg-2);
}
.integration-card--soon h3 { color: var(--txt-2); }
.integration-card--soon p { color: var(--txt-3); }
.soon-pill {
  display: inline-flex; align-items: center;
  font-size: 0.7rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--txt-2);
  background: var(--bg-2); border: 1px solid var(--border);
  border-radius: 999px; padding: 3px 10px; margin: 0 8px 14px 0;
  vertical-align: middle;
}

/* ===== Pasos 01-03 ===== */
.steps-grid { display: grid; gap: 28px; grid-template-columns: 1fr; counter-reset: paso; }
@media (min-width: 760px) { .steps-grid { grid-template-columns: repeat(3, 1fr); } }
.step {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 36px 30px; position: relative;
}
.step-num {
  font-family: var(--font-display); font-size: 2.6rem; font-weight: 800;
  background: var(--grad); -webkit-background-clip: text; background-clip: text;
  color: transparent; display: block; margin-bottom: 14px;
}

/* ===== Cifras ===== */
.stats { background: var(--bg-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.stats-grid { display: grid; gap: 36px; grid-template-columns: repeat(2, 1fr); text-align: center; }
@media (min-width: 760px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }
.stat-value {
  font-family: var(--font-display); font-size: clamp(2rem, 5vw, 2.9rem);
  font-weight: 800; color: var(--acc); display: block; line-height: 1.1;
}
.stat-label { font-size: 0.92rem; color: var(--txt-2); margin-top: 6px; display: block; }

/* ===== Testimonios ===== */
.testimonials-grid { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .testimonials-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1020px) {
  .testimonials-grid { grid-template-columns: repeat(3, 1fr); }
  .testimonials-grid .testimonial:nth-child(4),
  .testimonials-grid .testimonial:nth-child(5) { grid-column: span 1; }
}
.testimonial {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 28px; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; gap: 18px;
}
.testimonial blockquote { margin: 0; font-size: 0.98rem; color: var(--txt-2); }
.testimonial .stars { color: #f5a623; font-size: 0.9rem; letter-spacing: 2px; }
.testimonial-author { display: flex; align-items: center; gap: 14px; margin-top: auto; }
.avatar {
  width: 46px; height: 46px; border-radius: 50%; flex: 0 0 auto;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.95rem;
  color: var(--txt-3); background: var(--bg-2);
  position: relative; overflow: hidden;
}
.avatar-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; border-radius: inherit;
  display: none;
}
.avatar-img.loaded { display: block; }
.testimonial-author strong { display: block; font-size: 0.95rem; color: var(--txt); }
.testimonial-author span { font-size: 0.84rem; color: var(--txt-3); }

/* ===== Precios ===== */
.pricing-grid { display: grid; gap: 24px; grid-template-columns: 1fr; align-items: stretch; }
@media (min-width: 880px) { .pricing-grid { grid-template-columns: repeat(3, 1fr); } }
.plan {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 36px 30px;
  display: flex; flex-direction: column; position: relative;
}
.plan.featured { border: 2px solid var(--acc); box-shadow: var(--shadow-lg); }
.plan-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--acc); color: var(--btn-ink); font-size: 0.76rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em;
  padding: 5px 16px; border-radius: 999px; white-space: nowrap;
}
.plan h3 { font-size: 1.25rem; }
.plan-price { font-family: var(--font-display); font-size: 2.3rem; font-weight: 800; color: var(--txt); margin: 8px 0 2px; }
.plan-price small { font-size: 0.95rem; font-weight: 500; color: var(--txt-3); }
.plan-desc { font-size: 0.92rem; color: var(--txt-3); margin-bottom: 24px; }
.plan .feature-list { margin: 0 0 30px; flex: 1; }
.pricing-note { text-align: center; margin-top: 32px; color: var(--txt-3); font-size: 0.92rem; }

/* ===== FAQ ===== */
.faq-list { max-width: 760px; margin: 0 auto; display: grid; gap: 14px; }
.faq-item {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-md); overflow: hidden;
}
.faq-item summary {
  cursor: pointer; list-style: none; padding: 20px 56px 20px 24px;
  font-weight: 600; font-family: var(--font-display); font-size: 1.02rem;
  position: relative; min-height: 44px; color: var(--txt);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; position: absolute; right: 22px; top: 50%;
  transform: translateY(-50%); font-size: 1.5rem; font-weight: 400;
  color: var(--acc); transition: transform 0.2s ease;
}
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-item p { padding: 0 24px 22px; margin: 0; }

/* ===== Formulario / CTA final ===== */
.cta-final {
  background: var(--grad-cta); border-radius: var(--r-lg);
  padding: 64px 28px; text-align: center; color: #fff;
  position: relative; overflow: hidden;
}
.cta-final h2, .cta-final p { color: #fff; }
.cta-final p { opacity: 0.92; }
.lead-form {
  max-width: 460px; margin: 36px auto 0; text-align: left;
  background: var(--surface); border-radius: var(--r-lg);
  padding: 32px 28px; box-shadow: var(--shadow-lg);
  display: grid; gap: 18px;
}
.lead-form .form-title { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; color: var(--txt); margin: 0; text-align: center; }
.form-field { display: grid; gap: 7px; }
.form-field label, .field-label { font-size: 0.88rem; font-weight: 600; color: var(--txt-2); }
.form-field input, .form-field select {
  width: 100%; min-height: 48px; padding: 12px 16px;
  border: 1px solid var(--border-strong); border-radius: 12px;
  background: var(--bg); color: var(--txt); font-family: var(--font-body);
  font-size: 1rem;
}
.form-field input:focus, .form-field select:focus {
  outline: 2px solid var(--acc); outline-offset: 1px; border-color: var(--acc);
}
.form-error { font-size: 0.82rem; color: #d64561; min-height: 1em; margin: 0; }
.form-note { font-size: 0.8rem; color: var(--txt-3); text-align: center; margin: 0; }
.form-consent { display: flex; align-items: flex-start; gap: 10px; text-align: left; }
.form-consent input[type="checkbox"] {
  width: 18px; height: 18px; min-width: 18px; margin-top: 2px;
  accent-color: var(--acc); cursor: pointer;
}
.form-consent label { font-size: 0.8rem; color: var(--txt-3); font-weight: 400; line-height: 1.5; cursor: pointer; }
.form-consent label a { color: var(--acc); text-decoration: underline; }
.form-success {
  text-align: center; padding: 24px 8px; display: grid; gap: 10px; justify-items: center;
}
.form-success .check {
  width: 60px; height: 60px; border-radius: 50%; background: var(--mint-soft);
  color: var(--mint-strong); font-size: 1.8rem;
  display: flex; align-items: center; justify-content: center;
}
.form-success strong { font-family: var(--font-display); font-size: 1.15rem; color: var(--txt); }
.form-success p { margin: 0; }

/* ===== Footer ===== */
.footer { border-top: 1px solid var(--border); background: var(--bg-2); padding: 64px 0 32px; }
.footer-grid { display: grid; gap: 40px; grid-template-columns: 1fr; margin-bottom: 48px; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.footer h4 { font-size: 0.92rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--txt-3); }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer ul a { color: var(--txt-2); font-size: 0.95rem; }
.footer ul a:hover { color: var(--acc); }
.footer-about p { font-size: 0.92rem; max-width: 320px; }
.footer-bottom {
  border-top: 1px solid var(--border); padding-top: 28px;
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between;
  font-size: 0.85rem; color: var(--txt-3);
}

/* ===== Demo (squeeze page) ===== */
.demo-hero { padding: 56px 0 72px; }
.demo-grid { display: grid; gap: 48px; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 920px) { .demo-grid { grid-template-columns: 1.1fr 0.9fr; gap: 64px; } }
.demo-copy h1 { font-size: clamp(2rem, 5vw, 3.1rem); text-wrap: balance; }
.benefit-row { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 22px; }
.benefit-row .card-icon { width: 46px; height: 46px; font-size: 1.25rem; margin: 0; flex: 0 0 auto; }
.benefit-row h3 { margin-bottom: 4px; font-size: 1.05rem; }
.benefit-row p { margin: 0; font-size: 0.95rem; }
.demo-form-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 34px 30px;
  box-shadow: var(--shadow-lg); display: grid; gap: 18px;
  position: sticky; top: 92px;
}
.demo-social {
  background: var(--surface-2); border: 1px solid var(--border);
  border-radius: var(--r-md); padding: 18px 20px; font-size: 0.92rem;
  color: var(--txt-2); display: flex; gap: 14px; align-items: center;
}
.demo-social .avatars { display: flex; }
.demo-social .avatars .avatar { width: 34px; height: 34px; font-size: 0.72rem; border: 2px solid var(--surface); margin-left: -8px; }
.demo-social .avatars .avatar:first-child { margin-left: 0; }
.urgency { font-size: 0.85rem; font-weight: 600; color: var(--mint-strong); text-align: center; margin: 0; }
html[data-theme="dark"] .urgency { color: var(--mint); }
@media (prefers-color-scheme: dark) { html:not([data-theme]) .urgency { color: var(--mint); } }
.demo-footer { text-align: center; padding: 40px 0; font-size: 0.85rem; color: var(--txt-3); border-top: 1px solid var(--border); }
.footer-legal-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; margin-top: 10px; }
.footer-legal-links a { color: var(--txt-3); }
.footer-legal-links a:hover { color: var(--acc); }
@media (max-width: 879px) {
  .demo-footer .footer-legal-links a { display: flex; align-items: center; justify-content: center; min-height: 40px; padding: 0 8px; }
  .demo-footer nav[aria-label="Sectores"] { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; max-width: 420px; margin: 18px auto 0; }
  .demo-footer nav[aria-label="Enlaces legales"] { flex-direction: column; gap: 0; margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--border); }
}
.demo-cta-mid { text-align: center; padding: 72px 0; }

/* ===== Demo — barra de prueba social ===== */
.proof-bar {
  padding: 30px 0; background: var(--bg-2);
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.proof-bar-inner {
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: center; gap: 14px 40px; text-align: center;
}
.proof-item {
  display: inline-flex; align-items: baseline; gap: 8px;
  font-size: 0.95rem; color: var(--txt-2); white-space: nowrap;
}
.proof-item strong {
  font-family: var(--font-display); font-weight: 800;
  font-size: 1.35rem; color: var(--acc); line-height: 1;
}
.proof-item .stars { color: #f5a623; letter-spacing: 2px; font-size: 0.85rem; }
@media (max-width: 879px) {
  .proof-bar-inner { flex-direction: column; gap: 12px; }
  .proof-item {
    display: block; white-space: normal; min-width: 0;
    max-width: 100%; line-height: 1.5;
  }
  .proof-item:last-child { font-size: 0.85rem; color: var(--txt-3); }
}

/* ===== Demo — sección compacta (menos aire que section estándar) ===== */
.demo-section { padding: 72px 0; }

/* ===== Demo — checklist "Todo incluido" ===== */
.included-grid {
  list-style: none; margin: 0 auto; padding: 0;
  max-width: 880px; display: grid; gap: 10px 28px; grid-template-columns: 1fr;
}
@media (min-width: 700px) { .included-grid { grid-template-columns: repeat(2, 1fr); } }
.included-item {
  display: flex; gap: 12px; align-items: flex-start;
  color: var(--txt-2); font-size: 0.95rem; padding: 4px 0;
}
.included-item::before {
  content: "\2713"; flex: 0 0 22px; height: 22px; margin-top: 2px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%; background: var(--mint-soft); color: var(--mint-strong);
  font-size: 0.78rem; font-weight: 800;
}
.included-cta { text-align: center; margin: 28px 0 0; }

/* ===== Demo — garantías "Sin riesgo" ===== */
.guarantees-grid { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .guarantees-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .guarantees-grid { grid-template-columns: repeat(4, 1fr); } }
.guarantee {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 28px 24px; text-align: center;
  box-shadow: var(--shadow-sm);
}
.guarantee .card-icon { margin: 0 auto 14px; background: var(--mint-soft); }
.guarantee h3 { font-size: 1.02rem; margin-bottom: 6px; }
.guarantee p { margin: 0; font-size: 0.9rem; }

/* ===== Demo — testimonios condensados ===== */
.testimonial.compact { padding: 24px; gap: 14px; }
.testimonial.compact blockquote { font-size: 0.92rem; }

/* ===== Animaciones reveal ===== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   BLOG — índice y plantilla de artículo
   ========================================================================== */

/* ===== Blog — hero del índice ===== */
.blog-hero { padding: 64px 0 48px; text-align: center; }
.blog-hero h1 { font-size: clamp(1.9rem, 5vw, 3rem); text-wrap: balance; }
.blog-hero p { max-width: 620px; margin: 0 auto; font-size: 1.1rem; }

/* ===== Blog — grid de cards ===== */
.blog-grid { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1020px) { .blog-grid { grid-template-columns: repeat(3, 1fr); } }
.post-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 28px 26px; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; gap: 12px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.post-card .card-icon { margin-bottom: 4px; }
.post-card h2 { font-size: 1.15rem; margin: 0; }
.post-card h2 a { color: var(--txt); }
.post-card h2 a:hover { color: var(--acc); text-decoration: none; }
.post-card p { margin: 0; font-size: 0.93rem; flex: 1; }
.post-meta {
  display: flex; flex-wrap: wrap; gap: 6px 16px;
  font-size: 0.82rem; color: var(--txt-3); margin: 0;
}
.post-meta time { color: inherit; }

/* ===== Blog — miniatura de card (placeholder wireframe + img real) ===== */
.post-thumb {
  position: relative; aspect-ratio: 16 / 9; overflow: hidden;
  border-radius: var(--r-md); background: var(--bg-2);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 4px;
}
.post-thumb-ph { font-size: 2rem; opacity: 0.45; filter: grayscale(1); }
.post-thumb-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; border-radius: inherit;
  display: none;
}
.post-thumb-img.loaded { display: block; }

/* ===== Blog — lazy load del grid ===== */
.post-card--lazy { display: none; }
.blog-load-more { display: flex; justify-content: center; margin-top: 32px; }

/* ===== Artículo — cabecera y cuerpo ===== */
.article-header { max-width: 720px; margin: 0 auto; padding: 56px 0 8px; }
.article-header h1 { font-size: clamp(1.8rem, 4.5vw, 2.7rem); text-wrap: balance; }
.article-header .post-meta { margin-bottom: 18px; }
.breadcrumbs { font-size: 0.85rem; color: var(--txt-3); margin: 0 0 22px; }
.breadcrumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumbs li + li::before { content: "\203A"; margin-right: 6px; color: var(--txt-3); }
.breadcrumbs a { color: var(--txt-2); }
.breadcrumbs a:hover { color: var(--acc); }

.article-body { max-width: 720px; margin: 0 auto; font-size: 1.05rem; line-height: 1.75; }
.article-body h2 { font-size: clamp(1.35rem, 3vw, 1.7rem); margin-top: 1.8em; }
.article-body h3 { font-size: 1.15rem; margin-top: 1.5em; }
.article-body ul, .article-body ol { color: var(--txt-2); padding-left: 24px; margin: 0 0 1.2em; }
.article-body li { margin-bottom: 0.4em; }
.article-body .wireframe { margin: 32px 0; }
.article-body strong { color: var(--txt); }

/* ===== Artículo — índice de contenidos ===== */
.article-toc {
  background: var(--surface-2); border: 1px solid var(--border);
  border-radius: var(--r-md); padding: 22px 26px; margin: 28px 0 36px;
}
.article-toc .toc-title {
  display: block; font-family: var(--font-display); font-weight: 700;
  font-size: 0.95rem; color: var(--txt); margin-bottom: 10px;
}
.article-toc ol { margin: 0; padding-left: 22px; display: grid; gap: 6px; }
.article-toc a { color: var(--txt-2); font-size: 0.95rem; }
.article-toc a:hover { color: var(--acc); }

/* ===== Artículo — tabla de datos ===== */
.article-table-wrap { overflow-x: auto; margin: 24px 0 32px; }
.article-table {
  width: 100%; border-collapse: collapse; font-size: 0.95rem;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-md); overflow: hidden;
}
.article-table th, .article-table td {
  padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--border);
  color: var(--txt-2); vertical-align: top;
}
.article-table thead th {
  background: var(--acc-soft); color: var(--txt);
  font-family: var(--font-display); font-weight: 700; font-size: 0.88rem;
}
.article-table tbody tr:last-child td { border-bottom: none; }
.article-table .row-highlight td { background: var(--mint-soft); color: var(--txt); font-weight: 600; }

/* ===== Artículo — caja CTA ===== */
.article-cta {
  background: var(--grad-cta); border-radius: var(--r-lg);
  padding: 40px 32px; text-align: center; margin: 48px 0;
}
.article-cta h2, .article-cta p { color: #fff; margin-top: 0; }
.article-cta p { opacity: 0.92; max-width: 520px; margin-left: auto; margin-right: auto; }
.article-cta .btn { margin-top: 8px; }

/* ===== Artículo — relacionados ===== */
.related-posts { max-width: 980px; margin: 0 auto; padding: 24px 0 72px; }
.related-posts h2 { text-align: center; font-size: 1.5rem; margin-bottom: 28px; }
.related-grid { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .related-grid { grid-template-columns: repeat(3, 1fr); } }
.related-grid .post-card { padding: 24px 22px; }
.related-grid .post-card h3 { font-size: 1.02rem; margin: 0; }
.related-grid .post-card h3 a { color: var(--txt); }
.related-grid .post-card h3 a:hover { color: var(--acc); text-decoration: none; }

/* ===== Páginas de sector (sectores/*.html) ===== */
.sector-hero { padding: 56px 0 72px; position: relative; overflow: hidden; }
.sector-hero .breadcrumbs { text-align: left; margin-bottom: 28px; }
.sector-hero .hero-note { margin-bottom: 0; }
.sector-testimonial { max-width: 640px; margin: 0 auto; }
