/* =============================================
   NAGA — ENTERPRISE LANDING  |  Dark Premium
   ============================================= */

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: 'Inter', system-ui, -apple-system, sans-serif;
       background: var(--bg); color: var(--t1);
       -webkit-font-smoothing: antialiased; line-height: 1.6; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

/* --- Tokens (tema oscuro por defecto) --- */
:root {
  --bg:       #060810;
  --s1:       #090c18;
  --s2:       #0d1020;
  --s3:       #121628;
  --s4:       #171c32;
  --border:   rgba(255,255,255,.07);
  --border-hi:rgba(255,255,255,.14);

  --t1: #dde3f0;
  --t2: #6b7a99;
  --t3: #3a4460;
  --heading: #ffffff;            /* texto de títulos */
  --header-bg: rgba(6,8,16,.85);  /* fondo header translúcido */
  --noise-opacity: .4;
  --card-overlay: rgba(255,255,255,.04);

  --brand:   #2f6bff;
  --brand-lo:rgba(47,107,255,.12);
  --brand-hi:rgba(47,107,255,.25);
  --green:    #10b981;
  --cyan:     #6fe0ff;
  --pink:     #f43f5e;

  /* Acento — reservado exclusivamente para la acción principal (CTA) */
  --accent:      #c6ff5c;
  --accent-dark: #9fe62e;
  --accent-ink:  #0b1f05;
  --accent-lo:   rgba(198,255,92,.14);

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  --shadow-glow: 0 0 80px rgba(47,107,255,.18);
  --shadow-card: 0 8px 32px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.05);

  --container: 1160px;
}

/* --- Tema claro --- */
:root[data-theme="light"] {
  --bg:       #ffffff;
  --s1:       #f5f7fb;
  --s2:       #ffffff;
  --s3:       #eef1f7;
  --s4:       #e4e9f2;
  --border:   rgba(15,23,42,.10);
  --border-hi:rgba(15,23,42,.18);

  --t1: #1e293b;
  --t2: #5b6678;
  --t3: #94a3b8;
  --heading: #0b1220;
  --header-bg: rgba(255,255,255,.85);
  --noise-opacity: 0;
  --card-overlay: rgba(15,23,42,.03);

  --brand-lo:rgba(47,107,255,.10);
  --brand-hi:rgba(47,107,255,.30);

  --shadow-glow: 0 0 80px rgba(47,107,255,.12);
  --shadow-card: 0 8px 28px rgba(15,23,42,.10), inset 0 1px 0 rgba(255,255,255,.6);
}

/* Transición suave al cambiar de tema */
:root.theme-anim, :root.theme-anim *, :root.theme-anim *::before, :root.theme-anim *::after {
  transition: background-color .3s ease, border-color .3s ease, color .3s ease, box-shadow .3s ease !important;
}

/* =============================================
   UTILITIES
   ============================================= */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 28px; }
.section    { padding-block: 110px; }
.section--alt { background: var(--s1); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.section__header { text-align: center; max-width: 660px; margin-inline: auto; margin-bottom: 64px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .8125rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: var(--brand); margin-bottom: 16px;
}
.eyebrow::before, .eyebrow::after {
  content:''; display:block; width:24px; height:1px; background: var(--brand); opacity:.5;
}
.section__title {
  font-size: clamp(2rem, 4.5vw, 3rem); font-weight: 800;
  line-height: 1.15; letter-spacing: -.03em; color: var(--heading);
  margin-bottom: 18px;
}
.section__sub {
  font-size: 1.0625rem; color: var(--t2); line-height: 1.75;
}
.gradient-text {
  background: linear-gradient(135deg, #2f6bff 0%, #6fe0ff 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.gradient-text--green {
  background: linear-gradient(135deg, #34d399 0%, #6fe0ff 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

/* Noise overlay for depth */
body::before {
  content:''; position:fixed; inset:0; z-index:0; pointer-events:none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.035'/%3E%3C/svg%3E");
  opacity: var(--noise-opacity);
}

/* =============================================
   BUTTONS
   ============================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 24px; border-radius: var(--radius-md);
  font-family: inherit; font-size: .9375rem; font-weight: 600;
  cursor: pointer; border: 1px solid transparent;
  transition: all .18s ease; white-space: nowrap; position: relative; overflow: hidden;
}
.btn::after {
  content:''; position:absolute; inset:0;
  background: linear-gradient(180deg,rgba(255,255,255,.07) 0%,transparent 100%);
  pointer-events: none;
}
.btn--primary {
  background: var(--accent); color: var(--accent-ink); border-color: rgba(198,255,92,.5);
  box-shadow: 0 0 0 0 rgba(198,255,92,0), 0 2px 14px rgba(198,255,92,.35);
}
.btn--primary:hover {
  background: var(--accent-dark); transform: translateY(-1px);
  box-shadow: 0 0 0 4px rgba(198,255,92,.18), 0 4px 22px rgba(198,255,92,.55);
}
.btn--primary .btn-arrow { background: rgba(11,31,5,.18); color: var(--accent-ink); }
.btn--ghost {
  background: var(--card-overlay); color: var(--t1);
  border-color: var(--border-hi);
}
.btn--ghost:hover { background: var(--card-overlay); border-color: var(--border-hi); }
.btn--outline {
  background: transparent; color: var(--brand); border-color: var(--brand-hi);
}
.btn--outline:hover { background: var(--brand-lo); }
.btn--lg { padding: 15px 36px; font-size: 1rem; border-radius: var(--radius-lg); }
.btn--full { width: 100%; }
.btn:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }

/* Arrow icon in buttons */
.btn-arrow {
  display: inline-flex; align-items: center; justify-content: center;
  width: 18px; height: 18px; border-radius: 50%;
  background: rgba(255,255,255,.15); font-style: normal; font-size: .75rem;
  transition: transform .18s;
}
.btn:hover .btn-arrow { transform: translateX(3px); }

/* =============================================
   HEADER
   ============================================= */
.header {
  position: sticky; top: 0; z-index: 200;
  background: var(--header-bg);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid var(--border);
  transition: border-color .2s;
}
.header.scrolled { border-color: var(--border-hi); }

.nav {
  display: flex; align-items: center; gap: 8px; height: 64px;
}
.nav__logo {
  display: flex; align-items: center; gap: 10px; font-weight: 800;
  font-size: 1.2rem; letter-spacing: -.03em; color: var(--heading); flex-shrink: 0; margin-right: 16px;
}
.nav__logo img { width: 28px; height: 28px; border-radius: 6px; object-fit: cover; }

.nav__links { display: flex; align-items: center; gap: 2px; margin-right: auto; }
.nav__links a {
  padding: 6px 12px; border-radius: var(--radius-sm);
  font-size: .9rem; font-weight: 500; color: var(--t2);
  white-space: nowrap;
  transition: color .15s, background .15s;
}
.nav__links a:hover { color: var(--t1); background: var(--card-overlay); }

.nav__cta { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }

.nav__burger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: 1px solid var(--border); border-radius: var(--radius-sm);
  cursor: pointer; padding: 8px; margin-left: auto;
}
.nav__burger span { display: block; width: 18px; height: 1.5px; background: var(--t1); border-radius: 2px; transition: all .2s; }

.nav__mobile {
  display: none; padding: 16px 20px 20px;
  border-top: 1px solid var(--border); background: var(--bg);
}
.nav__mobile ul { display: flex; flex-direction: column; gap: 4px; }
.nav__mobile a {
  display: block; padding: 10px 14px; border-radius: var(--radius-sm);
  font-weight: 500; color: var(--t2); transition: color .15s, background .15s;
}
.nav__mobile a:hover { color: var(--t1); background: var(--card-overlay); }

/* =============================================
   HERO
   ============================================= */
.hero {
  position: relative; min-height: 100vh;
  display: flex; flex-direction: column; justify-content: center;
  padding-top: 80px; padding-bottom: 80px; overflow: hidden;
}

/* Radial glow behind hero (se asoma por detrás del flujo de fondo) */
.hero::before {
  content: ''; position: absolute; top: -20%; left: 50%; transform: translateX(-50%);
  width: 1100px; height: 800px; border-radius: 50%;
  background: radial-gradient(ellipse at center,
    rgba(47,107,255,.22) 0%,
    rgba(111,224,255,.09) 50%,
    transparent 70%);
  pointer-events: none; z-index: 0;
}

.hero__content {
  position: relative; z-index: 3;
  max-width: 540px;
}

.hero__left {}

.hero__pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 14px 5px 8px;
  background: rgba(47,107,255,.1); border: 1px solid rgba(47,107,255,.25);
  border-radius: var(--radius-full);
  font-size: .8125rem; font-weight: 500; color: #9fc7ff;
  margin-bottom: 28px; cursor: default;
}
.hero__pill-dot {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 2px 8px; border-radius: var(--radius-full);
  background: var(--brand); color: #fff; font-size: .7rem; font-weight: 700;
}

.hero__title {
  font-size: clamp(2.6rem, 5.5vw, 4rem);
  font-weight: 800; line-height: 1.08; letter-spacing: -.04em;
  color: var(--heading); margin-bottom: 24px;
}

.hero__sub {
  font-size: 1.125rem; color: var(--t2); line-height: 1.8;
  max-width: 480px; margin-bottom: 36px;
}

.hero__actions {
  display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 48px;
}

/* Proof checklist under hero CTA */
.hero__proof {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px;
}
.hero__proof li {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .9375rem; font-weight: 500; color: var(--t2);
}
.hero__proof .check {
  display: inline-flex; align-items: center; justify-content: center;
  width: 18px; height: 18px; flex-shrink: 0;
  border-radius: 50%; background: rgba(16,185,129,.12);
  color: var(--green); font-size: .7rem; font-weight: 700;
}
.avatars {
  display: flex;
}
.avatars img {
  width: 32px; height: 32px; border-radius: 50%;
  border: 2px solid var(--bg); margin-left: -8px; object-fit: cover;
}
.avatars img:first-child { margin-left: 0; }
.proof__text { font-size: .875rem; color: var(--t2); line-height: 1.4; }
.proof__text strong { color: var(--t1); }
.proof__stars { color: #f59e0b; font-size: .9rem; }

/* --- Hero Visual: el flowbuilder es el fondo de TODO el hero --- */
.hero__canvas {
  position: absolute; inset: 0; z-index: 0;
  display: flex; flex-direction: column;
}
.hero__canvas::before {
  content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: radial-gradient(var(--border-hi) 1px, transparent 1px);
  background-size: 26px 26px; opacity: .55;
}

/* Red de nodos: puntos + líneas flotando muy lento detrás del flowbuilder */
.hero__particles {
  position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%;
  display: block; pointer-events: none;
}
.hero__canvas-bar {
  position: relative; z-index: 2; flex-shrink: 0;
  display: flex; align-items: center; gap: 14px;
  padding: 16px 28px; border-bottom: 1px solid var(--border);
  background: var(--card-overlay);
}
.hero__canvas-dots { display: flex; gap: 6px; flex-shrink: 0; }
.hero__canvas-dots span { width: 8px; height: 8px; border-radius: 50%; background: var(--t3); }
.hero__canvas-label {
  font-size: .8125rem; color: var(--t2); font-weight: 500; margin-right: auto;
  min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.hero__canvas-live {
  display: inline-flex; align-items: center; gap: 6px; flex-shrink: 0;
  font-size: .75rem; font-weight: 600; color: var(--green);
}
.hero__canvas-live::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--green);
  box-shadow: 0 0 0 0 rgba(16,185,129,.5); animation: livePulse 1.8s infinite;
}
@keyframes livePulse {
  0%   { box-shadow: 0 0 0 0 rgba(16,185,129,.5); }
  70%  { box-shadow: 0 0 0 8px rgba(16,185,129,0); }
  100% { box-shadow: 0 0 0 0 rgba(16,185,129,0); }
}

/* Degradado de legibilidad: oscuro/opaco bajo el texto, nítido hacia la derecha.
   El corte al 52% está calibrado para el ancho real de .hero__content (540px)
   dentro del .container centrado — no es un número arbitrario. */
.hero__scrim {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background:
    linear-gradient(90deg, var(--bg) 0%, var(--bg) 52%, rgba(0,0,0,0) 84%),
    linear-gradient(180deg, var(--bg) 0%, rgba(0,0,0,0) 16%, rgba(0,0,0,0) 82%, var(--bg) 100%);
}
/* En claro, mezclar hacia blanco puro borra el contraste de las tarjetas debajo.
   Se usa una versión translúcida (no sólida) para que sigan siendo legibles. */
:root[data-theme="light"] .hero__scrim {
  background:
    linear-gradient(90deg, rgba(255,255,255,.9) 0%, rgba(255,255,255,.72) 40%, rgba(255,255,255,.28) 60%, rgba(255,255,255,0) 84%),
    linear-gradient(180deg, rgba(255,255,255,.55) 0%, rgba(255,255,255,0) 16%, rgba(255,255,255,0) 82%, rgba(255,255,255,.75) 100%);
}

/* --- Hero mini flow (nodos sueltos, llena el resto del canvas) --- */
.hero__flow {
  position: relative; width: 100%; flex: 1; z-index: 1;
}

.hero__flow-edges { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 1; overflow: visible; }
.flow-edge {
  fill: none; stroke: rgba(120,150,200,.55); stroke-width: 1.5;
  stroke-dasharray: 5 5; animation: flowDash 1.4s linear infinite;
}
:root[data-theme="light"] .flow-edge { stroke: rgba(47,107,255,.4); }
@keyframes flowDash { to { stroke-dashoffset: -20; } }

/* Pulso de "dato" viajando por cada línea del flujo */
.flow-edge__pulse {
  fill: var(--accent);
  filter: drop-shadow(0 0 4px rgba(198,255,92,.85));
}

@media (prefers-reduced-motion: reduce) {
  .flow-edge { animation: none; }
  .flow-edge__pulse { display: none; }
}

/* Nodes */
.flow-node {
  position: absolute; z-index: 5; cursor: grab; user-select: none; touch-action: none;
}
.flow-node.is-dragging { cursor: grabbing; z-index: 40; }

.flow-node--card {
  width: 142px; padding: 10px 12px;
  background: var(--s3); border: 1px solid var(--border-hi); border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
}
.flow-node--highlight { border-color: var(--cyan); box-shadow: 0 0 0 1px var(--cyan), var(--shadow-card); }

/* En claro, --s3 es casi blanco sobre fondo blanco: sin esto las tarjetas
   desaparecen visualmente en cuanto el scrim las atenúa un poco. */
:root[data-theme="light"] .flow-node--card,
:root[data-theme="light"] .flow-node--menu {
  background: #fff; border-color: rgba(15,23,42,.22);
  box-shadow: 0 6px 20px rgba(15,23,42,.10);
}
:root[data-theme="light"] .flow-node--diamond .flow-node__shape { background: #fff; }
:root[data-theme="light"] .hero__canvas::before { opacity: .8; }

.flow-node--pill {
  display: inline-flex; align-items: center; gap: 7px; width: max-content;
  padding: 7px 15px 7px 7px; border-radius: var(--radius-full);
  font-size: .8125rem; font-weight: 700; box-shadow: var(--shadow-card);
}
.flow-node--start { background: var(--green); color: #04150d; }
.flow-node--end { background: var(--pink); color: #fff; }
.flow-node--pill .flow-node__icon {
  width: 21px; height: 21px; border-radius: 50%; background: rgba(255,255,255,.28);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.flow-node--pill .flow-node__icon svg { width: 11px; height: 11px; }

.flow-node__head { display: flex; align-items: center; gap: 9px; }
.flow-node__icon {
  width: 28px; height: 28px; border-radius: 8px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.flow-node__icon svg { width: 14px; height: 14px; }
.flow-node__icon--blue    { background: var(--brand-lo); color: #9fc7ff; }
.flow-node__icon--purple  { background: var(--brand-lo); color: #bcd4ff; }
.flow-node__icon--blue-solid { background: var(--cyan); color: #06202a; }

.flow-node__title { font-size: .75rem; font-weight: 700; color: var(--heading); line-height: 1.3; }
.flow-node__sub { font-size: .6563rem; color: var(--t3); margin-top: 2px; }
.flow-node__footer {
  margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--border);
  font-size: .6563rem; font-weight: 600; color: var(--t2);
}

/* Menú interactivo: botones tipo lista de WhatsApp, un camino por fila */
.flow-node--menu { width: 196px; padding: 12px; }
.flow-node__menu-title {
  font-size: .6875rem; font-weight: 700; color: var(--heading);
  margin-bottom: 8px; opacity: .85;
}
.flow-node__menu-item {
  position: relative; display: flex; align-items: center; gap: 8px;
  padding: 8px 10px; border-radius: 8px; margin-bottom: 6px;
  background: var(--brand-lo); border: 1px solid var(--brand-hi);
  font-size: .6875rem; font-weight: 600; color: var(--heading);
}
.flow-node__menu-item:last-child { margin-bottom: 0; }
.flow-node__menu-icon { font-size: .8125rem; line-height: 1; }
.flow-node__menu-item .flow-node__port { position: absolute; right: -6px; top: 50%; transform: translateY(-50%); }

/* Diamond (Condición) */
.flow-node--diamond { width: 84px; height: 84px; }
.flow-node--diamond .flow-node__shape {
  position: absolute; inset: 6px; background: var(--s3); border: 1.5px solid var(--brand);
  border-radius: 14px; transform: rotate(45deg); box-shadow: var(--shadow-card);
}
.flow-node--diamond .flow-node__inner {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 3px; text-align: center;
}
.flow-node--diamond .flow-node__inner svg { width: 15px; height: 15px; color: var(--brand); }
.flow-node--diamond .flow-node__inner span { font-size: .5938rem; font-weight: 700; color: var(--heading); }
.flow-node__diamond-label {
  position: absolute; top: 50%; transform: translateY(-50%);
  font-size: .625rem; font-weight: 700;
}
.flow-node__diamond-label--yes { right: calc(100% + 10px); color: var(--green); }
.flow-node__diamond-label--no  { left: calc(100% + 10px); color: var(--pink); }

/* Ports: flujo de arriba (entrada) hacia abajo (salida) */
.flow-node__port {
  position: absolute; width: 9px; height: 9px; border-radius: 50%;
  background: var(--s4); border: 2px solid var(--t3); z-index: 6;
}
.flow-node__port--in  { top: -6px; left: 50%; transform: translateX(-50%); }
.flow-node__port--out { bottom: -6px; left: 50%; transform: translateX(-50%); }
/* El rombo entra por arriba y bifurca Sí/No a los costados */
.flow-node--diamond .flow-node__port--left  { left: -6px; top: 50%; transform: translateY(-50%); }
.flow-node--diamond .flow-node__port--right { right: -6px; top: 50%; transform: translateY(-50%); }

@media (max-width: 640px) {
  .flow-node--card { width: 104px; padding: 7px 9px; }
  .flow-node__icon { width: 21px; height: 21px; border-radius: 6px; }
  .flow-node__icon svg { width: 11px; height: 11px; }
  .flow-node__title { font-size: .625rem; }
  .flow-node__sub, .flow-node__footer { font-size: .5625rem; }
  .flow-node--diamond { width: 58px; height: 58px; }
  .flow-node--pill { font-size: .625rem; padding: 5px 11px 5px 5px; }
}

/* Debajo de ~1080px ya no hay espacio para texto + flujo lado a lado sin chocar:
   se oculta el fondo y queda solo el resplandor detrás del texto */
@media (max-width: 1080px) {
  .hero { min-height: auto; padding-top: 140px; padding-bottom: 64px; }
  .hero__canvas, .hero__scrim { display: none; }
}

/* =============================================
   VALUE — POR QUÉ AHORRA TIEMPO
   ============================================= */
.value-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.value-card {
  background: var(--s2); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 36px 32px;
  position: relative; overflow: hidden;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.value-card::after {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: linear-gradient(180deg, #2f6bff, #6fe0ff);
  opacity: 0; transition: opacity .2s;
}
.value-card:hover {
  border-color: var(--border-hi);
  box-shadow: var(--shadow-card); transform: translateY(-3px);
}
.value-card:hover::after { opacity: 1; }
.value-card__num {
  font-size: 2.5rem; font-weight: 800; letter-spacing: -.04em;
  line-height: 1; margin-bottom: 16px;
  background: linear-gradient(135deg, #2f6bff 0%, #6fe0ff 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.value-card__title {
  font-size: 1.1rem; font-weight: 700; color: var(--heading);
  margin-bottom: 12px; letter-spacing: -.01em; line-height: 1.3;
}
.value-card__desc { font-size: .9375rem; color: var(--t2); line-height: 1.7; }

@media (max-width: 860px) {
  .value-grid { grid-template-columns: 1fr; gap: 16px; }
}

/* =============================================
   LOGOS STRIP
   ============================================= */
.logos-strip {
  background: var(--s1); border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border); padding-block: 36px;
}
.logos-strip__label {
  text-align: center; font-size: .75rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase; color: var(--t3);
  margin-bottom: 24px;
}
.logos-strip__row {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: 12px 20px;
}
.logo-pill {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 18px;
  background: var(--card-overlay); border: 1px solid var(--border);
  border-radius: var(--radius-full);
  font-size: .875rem; font-weight: 600; color: var(--t2);
  transition: border-color .15s, color .15s;
}
.logo-pill:hover { border-color: var(--border-hi); color: var(--t1); }
.logo-pill__icon { display: inline-flex; }
.logo-pill__icon svg { width: 16px; height: 16px; }

/* =============================================
   FEATURES — BENTO GRID
   ============================================= */
.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: auto;
  gap: 16px;
}

.bento-card {
  background: var(--s2); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 32px;
  position: relative; overflow: hidden;
  transition: border-color .2s, box-shadow .2s, transform .25s ease;
  transform: perspective(900px) rotateX(var(--ry, 0deg)) rotateY(var(--rx, 0deg));
  will-change: transform;
}
.bento-card:hover {
  border-color: var(--border-hi);
  box-shadow: 0 0 0 1px rgba(47,107,255,.15), var(--shadow-card);
}
/* Glow on hover */
.bento-card::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(600px circle at var(--mx,50%) var(--my,50%), rgba(47,107,255,.06), transparent 50%);
  opacity: 0; transition: opacity .3s;
}
.bento-card:hover::before { opacity: 1; }

.bento-card__more {
  position: relative; z-index: 1;
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 18px; font-size: .875rem; font-weight: 600;
  color: var(--brand); text-decoration: none;
}
.bento-card__more:hover { text-decoration: underline; }

/* Layout placements */
.bento-card--flow    { grid-column: span 7; }
.bento-card--ai      { grid-column: span 5; }
.bento-card--catalog { grid-column: span 4; }
.bento-card--stats   { grid-column: span 4; }
.bento-card--api     { grid-column: span 4; }
.bento-card--logic   { grid-column: span 6; }
.bento-card--multi   { grid-column: span 6; }

.bento-card__icon {
  width: 44px; height: 44px; border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px; color: #8fb8ff;
  background: rgba(47,107,255,.1); border: 1px solid rgba(47,107,255,.2);
  transition: transform .3s ease;
}
.bento-card__icon svg { width: 21px; height: 21px; }
.bento-card:hover .bento-card__icon { transform: scale(1.1) rotate(-6deg); }
.bento-card__icon--green  { background: rgba(16,185,129,.1); border-color: rgba(16,185,129,.2); color: #34d399; }
.bento-card__icon--cyan   { background: rgba(6,182,212,.1);  border-color: rgba(6,182,212,.2); color: #22d3ee; }
.bento-card__icon--pink   { background: rgba(244,63,94,.1);  border-color: rgba(244,63,94,.2); color: #fb7185; }
.bento-card__icon--yellow { background: rgba(245,158,11,.1); border-color: rgba(245,158,11,.2); color: #fbbf24; }

.bento-card__title {
  font-size: 1.1rem; font-weight: 700; color: var(--heading);
  margin-bottom: 10px; letter-spacing: -.01em;
}
.bento-card__desc {
  font-size: .9375rem; color: var(--t2); line-height: 1.65;
}

/* Flow node mini-visual inside card */
.mini-flow {
  margin-top: 24px;
  display: flex; flex-direction: column; gap: 6px;
}
.mini-node {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 12px;
  background: var(--s3); border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: .8125rem; font-weight: 500; color: var(--t1);
}
.mini-node__dot {
  width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0;
}
.mini-connector {
  width: 1px; height: 16px; background: var(--border);
  margin-left: 19px;
}

/* AI badge inside card */
.ai-chips {
  display: flex; flex-wrap: wrap; gap: 6px; margin-top: 20px;
}
.ai-chip {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 5px 12px; border-radius: var(--radius-full);
  font-size: .75rem; font-weight: 600; border: 1px solid;
}
.ai-chip--purple { background: rgba(47,107,255,.1); border-color: rgba(47,107,255,.3); color: #9fc7ff; }
.ai-chip--green  { background: rgba(16,185,129,.1); border-color: rgba(16,185,129,.3); color: #34d399; }

/* Stats inside card */
.metric-row {
  display: flex; gap: 20px; margin-top: 24px;
}
.metric {
  flex: 1;
}
.metric__value {
  font-size: 1.75rem; font-weight: 800; color: var(--heading); letter-spacing: -.03em;
}
.metric__label { font-size: .8rem; color: var(--t2); margin-top: 2px; }

/* =============================================
   FEATURE DETAIL — Alternating rows w/ image
   ============================================= */
.feature-rows {
  display: flex; flex-direction: column; gap: 120px;
}
.feature-row {
  display: flex; flex-direction: column; gap: 36px;
}
.feature-row__body  { order: 1; }
.feature-row__media { order: 2; }

.feature-row__body { max-width: 640px; }
.feature-row__icon {
  width: 52px; height: 52px; border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px; color: #8fb8ff;
  background: var(--brand-lo); border: 1px solid var(--brand-hi);
}
.feature-row__icon svg { width: 24px; height: 24px; }
.feature-row__icon--green  { background: rgba(16,185,129,.1); border-color: rgba(16,185,129,.2); color: #34d399; }
.feature-row__icon--cyan   { background: rgba(6,182,212,.1);  border-color: rgba(6,182,212,.2); color: #22d3ee; }
.feature-row__icon--pink   { background: rgba(244,63,94,.1);  border-color: rgba(244,63,94,.2); color: #fb7185; }
.feature-row__icon--yellow { background: rgba(245,158,11,.1); border-color: rgba(245,158,11,.2); color: #fbbf24; }
.feature-row__icon--blue   { background: rgba(59,130,246,.1);  border-color: rgba(59,130,246,.2); color: #60a5fa; }
.feature-row__icon--purple { background: rgba(168,85,247,.1);  border-color: rgba(168,85,247,.2); }

.feature-row__eyebrow {
  font-size: .8125rem; font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; color: var(--brand); margin-bottom: 14px;
}
.feature-row__title {
  font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 800;
  letter-spacing: -.03em; color: var(--heading); line-height: 1.15; margin-bottom: 18px;
}
.feature-row__desc { color: var(--t1); font-size: 1.0625rem; margin-bottom: 24px; }

.feature-row__list { display: flex; flex-direction: column; gap: 12px; }
.feature-row__list li {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: .9875rem; color: var(--t1);
}
.feature-row__list .check {
  flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: .75rem; font-weight: 700; margin-top: 1px;
  background: var(--brand-lo); color: #9fc7ff; border: 1px solid var(--brand-hi);
}

/* Image placeholder — user drops real image here later */
.feature-row__media { position: relative; }
.img-placeholder {
  position: relative; width: 100%; aspect-ratio: 3 / 2;
  border-radius: var(--radius-lg); overflow: hidden;
  background:
    radial-gradient(120% 120% at 0% 0%, rgba(47,107,255,.12), transparent 55%),
    var(--s2);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  display: flex; align-items: center; justify-content: center;
}
.img-placeholder::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 32px 32px; opacity: .5;
}
.img-placeholder__inner {
  position: relative; text-align: center; color: var(--t2); padding: 24px;
}
.img-placeholder__icon { display: flex; justify-content: center; margin-bottom: 10px; opacity: .8; }
.img-placeholder__icon svg { width: 36px; height: 36px; }
.img-placeholder__txt  { font-size: .8125rem; font-weight: 500; letter-spacing: .02em; }
.img-placeholder img   { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 860px) {
  .feature-rows { gap: 72px; }
  .feature-row { gap: 24px; }
}

/* =============================================
   HOW IT WORKS  — Timeline
   ============================================= */
.timeline {
  position: relative; max-width: 780px; margin-inline: auto;
}
.timeline::before {
  content: ''; position: absolute; left: 32px; top: 0; bottom: 0;
  width: 1px; background: linear-gradient(to bottom, transparent, var(--border-hi) 10%, var(--border-hi) 90%, transparent);
}
/* Línea que se "dibuja" a medida que se hace scroll por el timeline */
.timeline__progress {
  position: absolute; left: 32px; top: 0; width: 1px; height: 0%;
  background: linear-gradient(to bottom, var(--brand), var(--accent));
  pointer-events: none;
}
@media (prefers-reduced-motion: reduce) {
  .timeline__progress { display: none; }
}
.timeline-step {
  display: flex; gap: 32px; padding-bottom: 56px; position: relative;
}
.timeline-step:last-child { padding-bottom: 0; }

.timeline-step__num {
  width: 64px; height: 64px; border-radius: 50%; flex-shrink: 0;
  background: var(--s3); border: 1px solid var(--border-hi);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.125rem; font-weight: 800; color: var(--brand);
  position: relative; z-index: 1;
  box-shadow: 0 0 0 8px var(--bg);
}

.timeline-step__body { padding-top: 12px; }
.timeline-step__tag {
  display: inline-block; font-size: .7rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .1em;
  color: var(--brand); margin-bottom: 8px;
}
.timeline-step__title {
  font-size: 1.2rem; font-weight: 700; color: var(--heading); margin-bottom: 10px;
}
.timeline-step__desc {
  font-size: .9375rem; color: var(--t2); line-height: 1.7; max-width: 540px;
}

/* =============================================
   METRICS / SOCIAL PROOF
   ============================================= */
.metrics-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--border); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
}
.metric-block {
  background: var(--s2); padding: 36px 28px; text-align: center;
}
.metric-block__num {
  font-size: clamp(2rem, 4vw, 3rem); font-weight: 800;
  color: var(--heading); letter-spacing: -.04em; margin-bottom: 6px;
}
.metric-block__label { font-size: .9rem; color: var(--t2); }

/* =============================================
   PRICING
   ============================================= */
.pricing__toggle {
  display: flex; align-items: center; justify-content: center; gap: 4px;
  margin-bottom: 56px;
  background: var(--s2); border: 1px solid var(--border);
  padding: 4px; border-radius: var(--radius-full);
  width: fit-content; margin-inline: auto;
}
.toggle-btn {
  padding: 8px 22px; border: none; background: transparent;
  border-radius: var(--radius-full); font-family: inherit;
  font-size: .9rem; font-weight: 500; cursor: pointer;
  color: var(--t2); transition: all .15s;
  display: flex; align-items: center; gap: 8px;
}
.toggle-btn.active {
  background: var(--s4); color: var(--t1);
  box-shadow: 0 1px 4px rgba(0,0,0,.3); font-weight: 600;
}
.save-pill {
  background: var(--green); color: #fff;
  font-size: .7rem; font-weight: 700;
  padding: 2px 8px; border-radius: var(--radius-full);
}

.pricing__grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 16px; align-items: start;
}
@media (max-width: 1024px) {
  .pricing__grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}
@media (max-width: 560px) {
  .pricing__grid { grid-template-columns: 1fr; }
}

.plan-card {
  background: var(--s2); border: 1px solid var(--border);
  border-radius: var(--radius-xl); padding: 32px 26px; position: relative;
  transition: border-color .2s, box-shadow .2s, transform .25s ease;
  transform: perspective(900px) rotateX(var(--ry, 0deg)) rotateY(var(--rx, 0deg));
  will-change: transform;
}
.plan-card:hover {
  border-color: var(--border-hi);
  box-shadow: 0 16px 48px rgba(0,0,0,.4);
}
.plan-card--featured {
  background: linear-gradient(180deg, rgba(47,107,255,.12) 0%, var(--s2) 100%);
  border-color: rgba(47,107,255,.4);
  box-shadow: 0 0 0 1px rgba(47,107,255,.2), 0 24px 60px rgba(0,0,0,.5);
}
.plan-card--featured:hover { border-color: rgba(47,107,255,.6); }

.plan-card__badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--brand); color: #fff;
  font-size: .75rem; font-weight: 700; padding: 4px 16px;
  border-radius: var(--radius-full); white-space: nowrap;
  box-shadow: 0 4px 12px rgba(47,107,255,.4);
}
.plan-card__name { font-size: 1rem; font-weight: 600; color: var(--t2); margin-bottom: 16px; }
.plan-card__price {
  display: flex; align-items: baseline; gap: 4px; margin-bottom: 6px;
}
.price-amount {
  font-size: 2.6rem; font-weight: 800; color: var(--heading); letter-spacing: -.04em;
}
.price-period { font-size: .9rem; color: var(--t2); font-weight: 500; }
.plan-card__tagline { font-size: .875rem; color: var(--t2); margin-bottom: 28px; line-height: 1.5; }
.plan-card__divider { height: 1px; background: var(--border); margin-bottom: 24px; }
.plan-card__features { display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; }
.plan-card__features li {
  font-size: .9rem; display: flex; align-items: center; gap: 10px; color: var(--t1);
}
.plan-card__features li .check { color: var(--green); font-size: .9rem; flex-shrink: 0; }
.plan-card__features li.muted { color: var(--t3); }
.plan-card__features li.muted .check { color: var(--t3); }

/* =============================================
   FAQ
   ============================================= */
.faq__grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden;
}
.faq__item {
  border-bottom: 1px solid var(--border);
  border-right: 1px solid var(--border);
}
.faq__item:nth-child(even) { border-right: none; }
.faq__item:nth-last-child(-n+2) { border-bottom: none; }

.faq__question {
  width: 100%; display: flex; justify-content: space-between;
  align-items: flex-start; gap: 16px;
  padding: 24px 28px; background: var(--s2); border: none;
  font-family: inherit; font-size: .9375rem; font-weight: 600;
  text-align: left; cursor: pointer; color: var(--t1);
  transition: background .15s;
}
.faq__question:hover { background: var(--s3); }
.faq__question[aria-expanded="true"] { color: #9fc7ff; background: rgba(47,107,255,.07); }
.faq__icon {
  font-size: 1.1rem; flex-shrink: 0; transition: transform .2s;
  color: var(--t3); font-weight: 300; margin-top: 1px;
}
.faq__question[aria-expanded="true"] .faq__icon { transform: rotate(45deg); color: var(--brand); }
.faq__answer {
  padding: 0 28px 24px; font-size: .9rem; color: var(--t2); line-height: 1.75;
  background: var(--s2);
}
.faq__answer[hidden] { display: none; }

/* =============================================
   CTA SECTION
   ============================================= */
.cta-section {
  position: relative; overflow: hidden;
  background: var(--s1); border-top: 1px solid var(--border);
}
.cta-section::before {
  content: ''; position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 700px; height: 500px; border-radius: 50%;
  background: radial-gradient(ellipse, rgba(47,107,255,.2) 0%, transparent 70%);
  pointer-events: none;
}
.cta-inner {
  position: relative; z-index: 1;
  text-align: center; padding-block: 100px;
  max-width: 660px; margin-inline: auto;
}
.cta-inner .section__title { font-size: clamp(2rem, 4vw, 3.2rem); }
.cta-inner .section__sub { font-size: 1.0625rem; margin-bottom: 40px; }
.cta-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 20px; }
.cta-note { font-size: .8125rem; color: var(--t3); }
.cta-note span { color: var(--t2); }

/* =============================================
   FOOTER
   ============================================= */
.footer {
  background: var(--s1); border-top: 1px solid var(--border);
  padding-block: 56px 28px;
}
.footer__top {
  display: grid; grid-template-columns: 280px 1fr; gap: 64px;
  padding-bottom: 48px; border-bottom: 1px solid var(--border);
  margin-bottom: 28px;
}
.footer__brand-logo {
  display: flex; align-items: center; gap: 10px;
  font-weight: 800; font-size: 1.15rem; color: var(--heading);
  margin-bottom: 14px; letter-spacing: -.02em;
}
.footer__brand-logo img { width: 26px; height: 26px; border-radius: 6px; }
.footer__tagline { font-size: .9rem; color: var(--t2); line-height: 1.6; }

.footer__nav { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.footer__col h4 {
  font-size: .8rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .1em; color: var(--t3); margin-bottom: 16px;
}
.footer__col ul { display: flex; flex-direction: column; gap: 10px; }
.footer__col a { font-size: .875rem; color: var(--t2); transition: color .15s; }
.footer__col a:hover { color: var(--t1); }

.footer__bottom {
  display: flex; justify-content: space-between; align-items: center;
  font-size: .8125rem; color: var(--t3);
}
.footer__legal { display: flex; gap: 16px; }
.footer__legal a { color: var(--t3); transition: color .15s; }
.footer__legal a:hover { color: var(--t2); }

/* =============================================
   ANIMATIONS
   ============================================= */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.reveal {
  opacity: 0; transform: translateY(20px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* Hero entrance */
.hero__pill     { animation: fadeUp .6s .1s both; }
.hero__title    { animation: fadeUp .6s .2s both; }
.hero__sub      { animation: fadeUp .6s .3s both; }
.hero__actions  { animation: fadeUp .6s .4s both; }
.hero__proof    { animation: fadeUp .6s .5s both; }
.hero__canvas   { animation: fadeIn 1s .2s both; }

/* Counter animation */
.count-up { transition: all .3s; }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .bento-card--flow    { grid-column: span 12; }
  .bento-card--ai      { grid-column: span 12; }
  .bento-card--catalog { grid-column: span 6; }
  .bento-card--stats   { grid-column: span 6; }
  .bento-card--api     { grid-column: span 6; }
  .bento-card--logic   { grid-column: span 6; }
  .bento-card--multi   { grid-column: span 12; }

  .metrics-grid { grid-template-columns: repeat(2, 1fr); }

  .faq__grid { grid-template-columns: 1fr; }
  .faq__item { border-right: none !important; }
  .faq__item:last-child { border-bottom: none; }
  .faq__item:nth-last-child(-n+2) { border-bottom: 1px solid var(--border); }
  .faq__item:last-child { border-bottom: none !important; }
}

@media (max-width: 900px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: flex; }
  .nav__mobile.open { display: block; }

  .hero__content { max-width: 100%; }

  .pricing__grid { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; }

  .footer__top { grid-template-columns: 1fr; gap: 40px; }
  .footer__nav { grid-template-columns: repeat(2, 1fr); }

  .footer__bottom { flex-direction: column; gap: 12px; text-align: center; }
}

@media (max-width: 700px) {
  :root { --section-gap: 72px; }
  .section { padding-block: 72px; }

  .bento-card--catalog,
  .bento-card--stats,
  .bento-card--api,
  .bento-card--logic,
  .bento-card--multi { grid-column: span 12; }

  .metrics-grid { grid-template-columns: repeat(2, 1fr); }

  .timeline::before { left: 24px; }
  .timeline-step__num { width: 48px; height: 48px; font-size: .9rem; }
}

@media (max-width: 480px) {
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; }
  .metrics-grid { grid-template-columns: 1fr 1fr; }
  .footer__nav { grid-template-columns: 1fr 1fr; }
}

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

/* =============================================
   BOTÓN FLOTANTE DE WHATSAPP
   ============================================= */
.wa-float {
  position: fixed; right: 24px; bottom: 24px; z-index: 999;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 20px 14px 16px; border-radius: var(--radius-full);
  background: #25D366; color: #0b1a12; font-weight: 700; font-size: .9375rem;
  box-shadow: 0 8px 28px rgba(37,211,102,.35), 0 2px 8px rgba(0,0,0,.3);
  transition: transform .18s ease, box-shadow .18s ease;
}
.wa-float:hover { transform: translateY(-2px); box-shadow: 0 12px 34px rgba(37,211,102,.45), 0 2px 8px rgba(0,0,0,.3); }
.wa-float:active { transform: translateY(0); }
.wa-float__icon { flex-shrink: 0; }
.wa-float__label { white-space: nowrap; }

@media (max-width: 600px) {
  .wa-float { right: 16px; bottom: 16px; padding: 14px; }
  .wa-float__label { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .wa-float { transition: none; }
}

/* =============================================
   PÁGINAS DE CONTENIDO (About / Legal)
   ============================================= */
.page-hero {
  padding: 88px 0 48px; border-bottom: 1px solid var(--border);
  background:
    radial-gradient(70% 100% at 50% 0%, rgba(47,107,255,.10), transparent 70%),
    var(--bg);
}
.page-hero .container { text-align: center; max-width: 760px; }
/* Variante con logo: fondo negro plano, sin resplandor */
.page-hero--logo { background: var(--bg); }
.page-hero__logo {
  width: 340px; height: 340px; max-width: 80vw; margin: 0 auto 12px;
  object-fit: contain;
}
.page-hero__eyebrow {
  font-size: .8125rem; font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; color: var(--brand); margin-bottom: 14px;
}
.page-hero__title {
  font-size: clamp(2rem, 5vw, 3rem); font-weight: 800;
  letter-spacing: -.03em; color: var(--heading); line-height: 1.1; margin-bottom: 16px;
}
.page-hero__sub { font-size: 1.0625rem; color: var(--t2); }
.page-hero__meta { font-size: .8125rem; color: var(--t3); margin-top: 18px; }

.prose {
  max-width: 760px; margin: 0 auto; padding: 64px 28px 96px;
}
.prose h2 {
  font-size: 1.5rem; font-weight: 800; color: var(--heading); letter-spacing: -.02em;
  margin: 48px 0 16px; padding-top: 8px;
}
.prose h2:first-child { margin-top: 0; }
.prose h3 {
  font-size: 1.125rem; font-weight: 700; color: var(--t1); margin: 28px 0 10px;
}
.prose p { color: var(--t1); margin-bottom: 16px; line-height: 1.8; }
.prose ul { margin: 0 0 16px; padding-left: 4px; }
.prose ul li {
  position: relative; padding-left: 24px; margin-bottom: 10px;
  color: var(--t1); line-height: 1.7;
}
.prose ul li::before {
  content: ''; position: absolute; left: 4px; top: 11px;
  width: 6px; height: 6px; border-radius: 50%; background: var(--brand);
}
.prose a { color: #9fc7ff; text-decoration: underline; }
.prose strong { color: var(--heading); }
.prose hr { border: 0; border-top: 1px solid var(--border); margin: 40px 0; }

/* Tarjetas de valores en About */
.about-values {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  max-width: 980px; margin: 0 auto; padding: 0 28px 64px;
}
.about-value-card {
  background: var(--s2); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-card);
}
.about-value-card__icon {
  width: 48px; height: 48px; border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center; font-size: 1.4rem;
  background: var(--brand-lo); border: 1px solid var(--brand-hi); margin-bottom: 16px;
}
.about-value-card h3 { font-size: 1.0625rem; font-weight: 700; color: var(--heading); margin-bottom: 8px; }
.about-value-card p { font-size: .9375rem; color: var(--t2); line-height: 1.65; }

@media (max-width: 760px) {
  .about-values { grid-template-columns: 1fr; }
}

/* =============================================
   THEME TOGGLE (claro / oscuro)
   ============================================= */
.theme-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; flex-shrink: 0;
  background: var(--card-overlay); border: 1px solid var(--border-hi);
  border-radius: var(--radius-md); cursor: pointer; color: var(--t1);
  transition: background .15s, border-color .15s, transform .15s;
}
.theme-toggle:hover { border-color: var(--brand-hi); transform: translateY(-1px); }
.theme-toggle:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.theme-toggle svg { width: 18px; height: 18px; }
/* Mostrar luna en oscuro, sol en claro */
.theme-toggle .icon-sun  { display: none; }
.theme-toggle .icon-moon { display: block; }
:root[data-theme="light"] .theme-toggle .icon-sun  { display: block; }
:root[data-theme="light"] .theme-toggle .icon-moon { display: none; }

/* =============================================
   LINK INLINE (enlaces dentro de párrafos)
   ============================================= */
.link-inline { color: #9fc7ff; text-decoration: underline; }
.link-inline:hover { color: var(--t1); }
:root[data-theme="light"] .link-inline { color: #1d4ed8; }

/* =============================================
   COMPARATIVA — POR QUÉ NAGA
   ============================================= */
.compare { background: var(--s1); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.compare-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px;
}
.compare-card {
  background: var(--s2); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 30px 28px;
  display: flex; flex-direction: column;
  transition: border-color .2s, box-shadow .2s;
}
.compare-card:hover { border-color: var(--border-hi); box-shadow: var(--shadow-card); }
.compare-card__tag {
  align-self: flex-start;
  font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--t3); background: var(--card-overlay);
  border: 1px solid var(--border); border-radius: var(--radius-full);
  padding: 4px 12px; margin-bottom: 16px;
}
.compare-card__title {
  font-size: 1.125rem; font-weight: 700; color: var(--heading);
  letter-spacing: -.01em; margin-bottom: 12px;
}
.compare-card__vs {
  font-size: .9375rem; color: var(--t2); line-height: 1.7; margin-bottom: 20px;
}
.compare-card__naga {
  display: flex; gap: 12px; align-items: flex-start; margin-top: auto;
  padding: 16px 18px; border-radius: var(--radius-md);
  background: var(--accent-lo); border: 1px solid rgba(198,255,92,.22);
}
.compare-card__naga p { font-size: .9375rem; color: var(--t1); line-height: 1.65; }
.compare-card__check {
  flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--accent); color: var(--accent-ink);
  font-size: .75rem; font-weight: 800;
}

@media (max-width: 860px) {
  .compare-grid { grid-template-columns: 1fr; }
}

/* =============================================
   INDUSTRIAS — CASOS DE USO POR RUBRO
   ============================================= */
.industry-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.industry-card {
  background: var(--s2); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px 26px;
  transition: border-color .2s, box-shadow .2s, transform .2s ease;
}
.industry-card:hover {
  border-color: var(--brand-hi); transform: translateY(-3px);
  box-shadow: var(--shadow-card);
}
.industry-card__icon {
  width: 46px; height: 46px; border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center; font-size: 1.35rem;
  background: var(--brand-lo); border: 1px solid var(--brand-hi); margin-bottom: 16px;
}
.industry-card__title {
  font-size: 1.0625rem; font-weight: 700; color: var(--heading); margin-bottom: 10px;
}
.industry-card__desc {
  font-size: .9375rem; color: var(--t2); line-height: 1.65; margin-bottom: 18px;
}
.industry-card__list { display: flex; flex-direction: column; gap: 9px; }
.industry-card__list li {
  position: relative; padding-left: 22px;
  font-size: .875rem; color: var(--t1); line-height: 1.5;
}
.industry-card__list li::before {
  content: '✓'; position: absolute; left: 0; top: 0;
  color: var(--green); font-size: .8rem; font-weight: 700;
}
.industries__note {
  text-align: center; margin-top: 32px; font-size: .9375rem; color: var(--t2);
}

@media (max-width: 980px) {
  .industry-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .industry-grid { grid-template-columns: 1fr; }
}

/* =============================================
   PARTNERS — AGENCIAS
   ============================================= */
.partners { background: var(--s1); border-top: 1px solid var(--border); }
.partners__inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center;
}
.partners__copy .section__title { text-align: left; }
.partners__copy .section__sub { text-align: left; margin-inline: 0; }
.partners__copy .eyebrow { justify-content: flex-start; }
.partners__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.partners__list { display: flex; flex-direction: column; gap: 14px; }
.partners__list li {
  display: flex; gap: 14px; align-items: flex-start;
  background: var(--s2); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 18px 20px;
}
.partners__list strong {
  display: block; font-size: .9375rem; color: var(--heading); margin-bottom: 4px;
}
.partners__list div { font-size: .875rem; color: var(--t2); line-height: 1.6; }
.partners__check {
  flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%; margin-top: 2px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--brand-lo); border: 1px solid var(--brand-hi);
  color: var(--brand); font-size: .75rem; font-weight: 800;
}

@media (max-width: 900px) {
  .partners__inner { grid-template-columns: 1fr; gap: 36px; }
}

/* =============================================
   DEMO — FORMULARIO DE CONTACTO
   ============================================= */
.demo__inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start;
}
.demo__copy { position: sticky; top: 96px; }
.demo__copy .section__title { text-align: left; font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.demo__copy .section__sub { text-align: left; margin-inline: 0; }
.demo__copy .eyebrow { justify-content: flex-start; }
.demo__points { display: flex; flex-direction: column; gap: 12px; margin-top: 28px; }
.demo__points li {
  display: flex; align-items: center; gap: 10px;
  font-size: .9375rem; color: var(--t1);
}
.demo__points .check { color: var(--green); font-weight: 700; }
.demo__alt { margin-top: 24px; font-size: .875rem; color: var(--t2); line-height: 1.7; }

.demo__form-wrap { position: relative; }
.demo-form {
  background: var(--s2); border: 1px solid var(--border);
  border-radius: var(--radius-xl); padding: 32px 30px;
  box-shadow: var(--shadow-card);
}
.demo-form__title {
  font-size: 1.125rem; font-weight: 700; color: var(--heading); margin-bottom: 4px;
}
.demo-form__help { font-size: .8125rem; color: var(--t3); margin-bottom: 22px; }

.field { display: flex; flex-direction: column; margin-bottom: 16px; }
.field label {
  font-size: .8125rem; font-weight: 600; color: var(--t1); margin-bottom: 7px;
}
.field input,
.field select,
.field textarea {
  width: 100%; padding: 12px 14px;
  background: var(--bg); color: var(--t1);
  border: 1px solid var(--border-hi); border-radius: var(--radius-md);
  font-family: inherit; font-size: .9375rem;
  transition: border-color .15s, box-shadow .15s;
}
.field textarea { resize: vertical; min-height: 84px; }
.field input::placeholder,
.field textarea::placeholder { color: var(--t3); }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none; border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-lo);
}
.field select { appearance: none; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--t2) 50%),
                    linear-gradient(135deg, var(--t2) 50%, transparent 50%);
  background-position: calc(100% - 18px) 52%, calc(100% - 13px) 52%;
  background-size: 5px 5px, 5px 5px; background-repeat: no-repeat;
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field__error {
  font-size: .75rem; color: #ff8095; margin-top: 6px; min-height: 0;
}
.field.has-error input,
.field.has-error select,
.field.has-error textarea { border-color: var(--pink); }

.field--check { margin-top: 4px; margin-bottom: 22px; }
.checkbox {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: .8125rem; font-weight: 400; color: var(--t2); line-height: 1.6;
  cursor: pointer;
}
.checkbox input {
  width: 16px; height: 16px; flex-shrink: 0; margin-top: 2px;
  accent-color: var(--brand); cursor: pointer;
}
.field--check.has-error .checkbox span { color: #ff8095; }

/* Honeypot: fuera de pantalla, invisible para personas */
.hp-field {
  position: absolute; left: -9999px; width: 1px; height: 1px;
  overflow: hidden; opacity: 0;
}

.demo-form__note {
  margin-top: 16px; font-size: .75rem; color: var(--t3);
  text-align: center; line-height: 1.6;
}
.demo-form__status {
  margin-top: 12px; font-size: .8125rem; text-align: center; color: #ff8095;
}
.demo-form__status:empty { display: none; }

.demo-form__success {
  background: var(--s2); border: 1px solid rgba(198,255,92,.3);
  border-radius: var(--radius-xl); padding: 44px 32px; text-align: center;
  box-shadow: var(--shadow-card);
}
.demo-form__success[hidden] { display: none; }
.demo-form__success-icon {
  width: 54px; height: 54px; border-radius: 50%; margin: 0 auto 18px;
  display: flex; align-items: center; justify-content: center;
  background: var(--accent); color: var(--accent-ink);
  font-size: 1.5rem; font-weight: 800;
}
.demo-form__success h3 {
  font-size: 1.25rem; font-weight: 700; color: var(--heading); margin-bottom: 10px;
}
.demo-form__success p {
  font-size: .9375rem; color: var(--t2); line-height: 1.7; margin-bottom: 24px;
}

@media (max-width: 900px) {
  .demo__inner { grid-template-columns: 1fr; gap: 36px; }
  .demo__copy { position: static; }
}
@media (max-width: 480px) {
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .demo-form { padding: 26px 20px; }
}

/* =============================================
   FOOTER — REDES SOCIALES
   ============================================= */
.footer__social { display: flex; gap: 10px; margin-top: 20px; }
.footer__social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: var(--radius-md);
  background: var(--card-overlay); border: 1px solid var(--border);
  color: var(--t2);
  transition: color .15s, border-color .15s, transform .15s;
}
.footer__social a:hover {
  color: var(--t1); border-color: var(--border-hi); transform: translateY(-2px);
}
.footer__social svg { width: 17px; height: 17px; }

/* =============================================
   BANNER DE COOKIES
   ============================================= */
.cookie-banner {
  position: fixed; left: 24px; bottom: 24px; z-index: 998;
  max-width: 460px;
  display: flex; align-items: center; gap: 18px;
  padding: 18px 20px; border-radius: var(--radius-lg);
  background: var(--s2); border: 1px solid var(--border-hi);
  box-shadow: 0 16px 48px rgba(0,0,0,.45);
  animation: fadeUp .4s ease both;
}
.cookie-banner[hidden] { display: none; }
.cookie-banner__text { font-size: .8125rem; color: var(--t2); line-height: 1.6; }
.cookie-banner .btn { flex-shrink: 0; padding: 9px 20px; font-size: .875rem; }

@media (max-width: 720px) {
  .cookie-banner {
    left: 12px; right: 12px; bottom: 92px; max-width: none;
    flex-direction: column; align-items: stretch; gap: 12px;
  }
  .cookie-banner .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .cookie-banner { animation: none; }
}

/* =============================================
   BLOG / ARTÍCULOS
   ============================================= */
.blog-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  max-width: var(--container); margin: 0 auto; padding: 56px 28px 96px;
}
.blog-card {
  display: flex; flex-direction: column;
  background: var(--s2); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px 26px;
  transition: border-color .2s, transform .2s ease, box-shadow .2s;
}
.blog-card:hover {
  border-color: var(--brand-hi); transform: translateY(-3px);
  box-shadow: var(--shadow-card);
}
.blog-card__cat {
  align-self: flex-start; font-size: .7rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; color: var(--brand);
  background: var(--brand-lo); border: 1px solid var(--brand-hi);
  border-radius: var(--radius-full); padding: 4px 12px; margin-bottom: 16px;
}
.blog-card__title {
  font-size: 1.0625rem; font-weight: 700; color: var(--heading);
  line-height: 1.35; margin-bottom: 10px;
}
.blog-card__desc {
  font-size: .9rem; color: var(--t2); line-height: 1.65; margin-bottom: 18px;
}
.blog-card__meta {
  margin-top: auto; font-size: .8125rem; color: var(--t3);
  display: flex; align-items: center; gap: 8px;
}
.blog-card__more { color: #9fc7ff; font-weight: 600; }

.article-meta {
  display: flex; justify-content: center; gap: 10px; flex-wrap: wrap;
  font-size: .8125rem; color: var(--t3); margin-top: 18px;
}
.article-cta {
  max-width: 760px; margin: 0 auto 96px; padding: 32px 28px;
  background: var(--s2); border: 1px solid var(--border);
  border-radius: var(--radius-lg); text-align: center;
}
.article-cta h3 { font-size: 1.125rem; font-weight: 700; color: var(--heading); margin-bottom: 10px; }
.article-cta p { font-size: .9375rem; color: var(--t2); line-height: 1.7; margin-bottom: 20px; }

@media (max-width: 980px) {
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .blog-grid { grid-template-columns: 1fr; padding: 40px 20px 72px; }
  .article-cta { margin-inline: 20px; }
}
