/* ============================================================
   NEXA IA — Plataforma de Inteligencia Empresarial
   Landing page · CTECH Chile
   ============================================================ */

:root {
  --cyan: #3CB4F0;
  --cyan-soft: #7FD0F7;
  --blue: #1E5AC8;
  --blue-deep: #1545A0;
  --navy: #0E2A5C;
  --navy-ink: #08183A;
  --ink: #0A1530;
  --muted: #5A6986;
  --line: #E4E9F2;
  --line-strong: #CCD4E3;
  --bg: #FAFBFD;
  --bg-tint: #F1F5FB;
  --white: #FFFFFF;

  /* dark surface tokens */
  --d-bg: #08183A;
  --d-bg-2: #0A1A3D;
  --d-card: rgba(255,255,255,0.04);
  --d-card-hover: rgba(255,255,255,0.06);
  --d-border: rgba(127,208,247,0.16);
  --d-border-strong: rgba(60,180,240,0.5);
  --d-text: #EAF3FF;
  --d-text-mute: rgba(255,255,255,0.66);

  --grad: linear-gradient(135deg, #3CB4F0 0%, #1E5AC8 55%, #0E2A5C 100%);
  --grad-text: linear-gradient(120deg, #7FD0F7, #3CB4F0 55%, #1E5AC8);
  --shadow-card: 0 1px 2px rgba(8,24,58,0.04), 0 8px 24px -8px rgba(8,24,58,0.10);
  --shadow-lg: 0 2px 4px rgba(8,24,58,0.05), 0 24px 48px -16px rgba(8,24,58,0.18);
  --radius: 14px;
  --radius-lg: 22px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-weight: 450;
  color: var(--ink);
  background: var(--white);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: 'ss01', 'cv11';
  overflow-x: hidden;
}
h1, h2, h3, h4, h5 {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  color: var(--navy-ink);
  letter-spacing: -0.02em;
  margin: 0;
  line-height: 1.06;
  font-weight: 600;
  text-wrap: balance;
}
p { margin: 0; text-wrap: pretty; }
a { color: inherit; text-decoration: none; }
.mono { font-family: 'JetBrains Mono', monospace; }
.container { max-width: 1240px; margin: 0 auto; padding: 0 32px; }
.grad-text {
  background: var(--grad-text);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- Section scaffolding ---------- */
section { padding: 112px 0; position: relative; }
.sec-head { max-width: 720px; margin: 0 auto 60px; text-align: center; }
.sec-head.left { margin-left: 0; text-align: left; }
.eyebrow-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--blue);
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: 18px;
}
.eyebrow-tag::before { content: ''; width: 22px; height: 1px; background: currentColor; }
.sec-head.center .eyebrow-tag { }
.sec-title { font-size: clamp(32px, 4vw, 48px); letter-spacing: -0.03em; }
.sec-sub { color: var(--muted); font-size: 17px; margin-top: 18px; line-height: 1.55; }
.sec-head:not(.left) .sec-sub { margin-left: auto; margin-right: auto; max-width: 600px; }

/* dark section variant */
.dark { background: var(--d-bg); color: #fff; }
.dark h1, .dark h2, .dark h3, .dark h4, .dark h5 { color: #fff; }
.dark .eyebrow-tag { color: var(--cyan-soft); }
.dark .sec-sub { color: var(--d-text-mute); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 24px; border-radius: 999px;
  font-family: 'Inter', sans-serif;
  font-size: 15px; font-weight: 600;
  cursor: pointer; border: 1px solid transparent;
  transition: transform .18s var(--ease), box-shadow .2s, background .18s, color .18s, border-color .18s;
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; }
.btn-primary {
  background: var(--grad); color: #fff;
  box-shadow: 0 10px 26px -8px rgba(60,180,240,0.55);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -8px rgba(60,180,240,0.7); }
.btn-dark { background: var(--navy-ink); color: #fff; }
.btn-dark:hover { background: var(--blue); transform: translateY(-2px); }
.btn-ghost-light {
  background: rgba(255,255,255,0.05); color: #fff;
  border-color: rgba(255,255,255,0.22);
}
.btn-ghost-light:hover { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.42); }
.btn-ghost-dark {
  background: var(--white); color: var(--navy-ink); border-color: var(--line-strong);
}
.btn-ghost-dark:hover { border-color: var(--blue); color: var(--blue); }
.btn-white { background: #fff; color: var(--navy-ink); box-shadow: 0 12px 30px -8px rgba(8,24,58,0.4); }
.btn-white:hover { background: var(--navy-ink); color: #fff; transform: translateY(-2px); }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(8,24,58,0.72);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid rgba(127,208,247,0.12);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.nav-brand { display: flex; align-items: center; gap: 13px; }
.nav-brand .nb-logo {
  width: 38px; height: 38px; border-radius: 11px;
  background: var(--grad); display: grid; place-items: center;
  box-shadow: 0 6px 16px -4px rgba(60,180,240,0.5);
}
.nav-brand .nb-logo svg { width: 22px; height: 22px; color: #fff; }
.nav-brand .nb-name { font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 19px; color: #fff; letter-spacing: -0.01em; line-height: 1; }
.nav-brand .nb-by { font-size: 10.5px; color: var(--cyan-soft); font-family: 'JetBrains Mono', monospace; letter-spacing: 0.08em; margin-top: 3px; }
.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-links a { font-size: 14px; font-weight: 500; color: rgba(255,255,255,0.78); transition: color .15s; }
.nav-links a:hover { color: #fff; }
.nav-right { display: flex; align-items: center; gap: 18px; }
.nav-back { font-size: 13px; color: rgba(255,255,255,0.6); display: inline-flex; align-items: center; gap: 6px; transition: color .15s; }
.nav-back:hover { color: var(--cyan-soft); }
.nav-back svg { width: 14px; height: 14px; }
.nav-cta {
  background: var(--grad); color: #fff;
  padding: 11px 20px; border-radius: 999px;
  font-size: 14px; font-weight: 600;
  display: inline-flex; align-items: center; gap: 8px;
  box-shadow: 0 8px 20px -6px rgba(60,180,240,0.5);
  transition: transform .15s;
}
.nav-cta:hover { transform: translateY(-1px); }
.nav-cta svg { width: 14px; height: 14px; }
.nav-burger {
  display: none; width: 44px; height: 44px; border-radius: 11px;
  border: 1px solid rgba(255,255,255,0.18); background: rgba(255,255,255,0.05);
  cursor: pointer; align-items: center; justify-content: center; padding: 0;
}
.nav-burger span, .nav-burger span::before, .nav-burger span::after {
  content: ''; display: block; width: 18px; height: 2px; background: #fff; border-radius: 2px;
  position: relative; transition: transform .25s, top .25s, opacity .15s;
}
.nav-burger span::before { position: absolute; top: -6px; }
.nav-burger span::after { position: absolute; top: 6px; }
body.menu-open .nav-burger span { background: transparent; }
body.menu-open .nav-burger span::before { top: 0; transform: rotate(45deg); }
body.menu-open .nav-burger span::after { top: 0; transform: rotate(-45deg); }
.nav-drawer {
  position: fixed; top: 72px; left: 0; right: 0; z-index: 49;
  background: var(--d-bg); border-bottom: 1px solid var(--d-border);
  padding: 22px 32px 28px;
  transform: translateY(-110%); opacity: 0; visibility: hidden;
  transition: transform .3s var(--ease), opacity .25s, visibility .3s;
}
body.menu-open .nav-drawer { transform: translateY(0); opacity: 1; visibility: visible; }
.nav-drawer a {
  display: block; padding: 14px 4px; font-size: 17px; font-weight: 500;
  color: #fff; border-bottom: 1px solid rgba(255,255,255,0.08);
  font-family: 'Space Grotesk', sans-serif;
}
.nav-drawer .nd-cta { margin-top: 18px; border-bottom: 0; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  padding: 92px 0 108px;
  background:
    radial-gradient(ellipse 900px 540px at 82% -8%, rgba(60,180,240,0.18), transparent 62%),
    radial-gradient(ellipse 760px 520px at 2% 108%, rgba(30,90,200,0.20), transparent 64%),
    var(--d-bg);
  color: #fff;
  overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.022) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: radial-gradient(ellipse 75% 70% at 60% 35%, #000 25%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 75% 70% at 60% 35%, #000 25%, transparent 78%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 16px 7px 8px;
  background: rgba(60,180,240,0.10); border: 1px solid rgba(60,180,240,0.28);
  border-radius: 999px; font-size: 12.5px; font-weight: 500; color: var(--cyan-soft);
  backdrop-filter: blur(6px);
}
.hero-eyebrow .he-dot {
  width: 18px; height: 18px; border-radius: 999px; background: var(--grad);
  display: grid; place-items: center;
}
.hero-eyebrow .he-dot svg { width: 11px; height: 11px; color: #fff; }
.hero-lockup { display: flex; align-items: center; gap: 16px; margin-top: 28px; }
.hero-lockup .hl-logo {
  width: 60px; height: 60px; border-radius: 17px; background: var(--grad);
  display: grid; place-items: center; flex-shrink: 0;
  box-shadow: 0 12px 32px -6px rgba(60,180,240,0.6);
}
.hero-lockup .hl-logo svg { width: 32px; height: 32px; color: #fff; }
.hero-lockup .hl-name { font-family: 'Space Grotesk', sans-serif; font-size: 44px; font-weight: 600; letter-spacing: -0.03em; line-height: 1; color: #fff; }
.hero-lockup .hl-tag { font-family: 'JetBrains Mono', monospace; font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--cyan-soft); margin-top: 7px; }
.hero h1 {
  font-size: clamp(30px, 3.6vw, 46px);
  letter-spacing: -0.03em; margin-top: 28px; line-height: 1.1; color: #fff;
}
.hero-text { color: var(--d-text-mute); font-size: 17.5px; line-height: 1.55; margin-top: 22px; max-width: 540px; }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 34px; }
.hero-trust { display: flex; gap: 28px; flex-wrap: wrap; margin-top: 44px; }
.hero-trust .ht { display: flex; align-items: center; gap: 10px; font-size: 13px; color: rgba(255,255,255,0.62); }
.hero-trust .ht svg { width: 17px; height: 17px; color: var(--cyan-soft); flex-shrink: 0; }

/* Hero dashboard visual */
.hero-visual { position: relative; }
.dash {
  position: relative;
  background: linear-gradient(165deg, rgba(20,40,80,0.9), rgba(8,24,58,0.85));
  border: 1px solid rgba(127,208,247,0.22);
  border-radius: 24px;
  padding: 20px;
  box-shadow: 0 32px 64px -20px rgba(0,0,0,0.6), inset 0 1px 0 rgba(255,255,255,0.06);
  backdrop-filter: blur(10px);
}
.dash-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.dash-top .dt-title { display: flex; align-items: center; gap: 10px; font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 14px; color: #fff; }
.dash-top .dt-logo { width: 28px; height: 28px; border-radius: 8px; background: var(--grad); display: grid; place-items: center; }
.dash-top .dt-logo svg { width: 16px; height: 16px; color: #fff; }
.dash-top .dt-live { font-family: 'JetBrains Mono', monospace; font-size: 10.5px; color: #16C47F; display: inline-flex; align-items: center; gap: 6px; }
.dash-top .dt-live::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #16C47F; box-shadow: 0 0 0 3px rgba(22,196,127,0.2); }

.dash-chat { display: flex; flex-direction: column; gap: 10px; margin-bottom: 16px; }
.dash-msg { max-width: 86%; padding: 11px 14px; border-radius: 14px; font-size: 13px; line-height: 1.45; }
.dash-msg.q { align-self: flex-end; background: rgba(255,255,255,0.08); color: #fff; border-bottom-right-radius: 4px; }
.dash-msg.a { align-self: flex-start; background: linear-gradient(150deg, rgba(60,180,240,0.2), rgba(30,90,200,0.16)); border: 1px solid rgba(60,180,240,0.3); color: #EAF3FF; border-bottom-left-radius: 4px; display: flex; gap: 9px; }
.dash-msg.a .dm-ico { width: 20px; height: 20px; border-radius: 6px; background: var(--grad); display: grid; place-items: center; flex-shrink: 0; }
.dash-msg.a .dm-ico svg { width: 12px; height: 12px; color: #fff; }
.dash-msg.a strong { color: #fff; }

.dash-integrations { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,0.08); }
.dash-int {
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.09);
  border-radius: 10px; padding: 10px 6px; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
}
.dash-int svg { width: 17px; height: 17px; color: var(--cyan-soft); }
.dash-int span { font-size: 9.5px; color: rgba(255,255,255,0.6); font-family: 'JetBrains Mono', monospace; }

.dash-badge {
  position: absolute; display: flex; align-items: center; gap: 10px;
  background: rgba(10,26,61,0.92); border: 1px solid rgba(127,208,247,0.3);
  backdrop-filter: blur(10px); border-radius: 13px; padding: 11px 14px;
  box-shadow: 0 16px 36px -10px rgba(0,0,0,0.5);
  animation: floaty 6s ease-in-out infinite;
}
.dash-badge .db-ico { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; flex-shrink: 0; }
.dash-badge .db-lbl { font-size: 12px; font-weight: 600; color: #fff; }
.dash-badge .db-sub { font-size: 10.5px; color: rgba(255,255,255,0.6); margin-top: 1px; }
.dash-badge.b1 { top: -22px; left: -26px; animation-delay: -1.5s; }
.dash-badge.b1 .db-ico { background: linear-gradient(135deg, #16C47F, #0FA66A); color: #fff; }
.dash-badge.b2 { bottom: -22px; right: -22px; animation-delay: -3.5s; }
.dash-badge.b2 .db-ico { background: var(--grad); color: #fff; }
.dash-badge svg { width: 17px; height: 17px; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

/* ============================================================
   PROBLEMA
   ============================================================ */
.problem { background: var(--white); }
.problem-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.problem-card {
  background: var(--bg); border: 1px solid var(--line); border-radius: 16px;
  padding: 26px 24px; display: flex; gap: 16px; align-items: flex-start;
  transition: border-color .2s, transform .2s;
}
.problem-card:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.problem-card .pc-ico {
  width: 42px; height: 42px; border-radius: 11px; flex-shrink: 0;
  background: rgba(229,62,90,0.08); border: 1px solid rgba(229,62,90,0.16);
  color: #D8485F; display: grid; place-items: center;
}
.problem-card .pc-ico svg { width: 21px; height: 21px; }
.problem-card h4 { font-size: 16.5px; font-weight: 600; }
.problem-card p { color: var(--muted); font-size: 13.5px; margin-top: 6px; line-height: 1.5; }

/* ============================================================
   SOLUCIÓN
   ============================================================ */
.solution { background: var(--bg); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.solution-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 72px; align-items: center; }
.solution-points { margin-top: 30px; display: flex; flex-direction: column; gap: 18px; }
.sol-point { display: flex; gap: 14px; align-items: flex-start; }
.sol-point .sp-num {
  width: 30px; height: 30px; border-radius: 9px; flex-shrink: 0;
  background: var(--grad); color: #fff; display: grid; place-items: center;
  font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 13px;
}
.sol-point h4 { font-size: 16px; font-weight: 600; }
.sol-point p { color: var(--muted); font-size: 14px; margin-top: 4px; line-height: 1.5; }

/* Solution visual: convergence */
.conv {
  position: relative; background: linear-gradient(160deg, #F1F5FB, #E6EDF8);
  border: 1px solid var(--line); border-radius: 22px; padding: 36px;
  aspect-ratio: 1.05 / 1; overflow: hidden;
}
.conv-center {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  z-index: 3; width: 116px; height: 116px; border-radius: 24px;
  background: linear-gradient(160deg, #1E5AC8, #0E2A5C); border: 1px solid rgba(60,180,240,0.5);
  box-shadow: 0 0 0 8px rgba(60,180,240,0.07), 0 18px 40px -10px rgba(14,42,92,0.5);
  display: grid; place-items: center;
}
.conv-center .cc-logo { width: 40px; height: 40px; border-radius: 12px; background: var(--grad); display: grid; place-items: center; }
.conv-center .cc-logo svg { width: 22px; height: 22px; color: #fff; }
.conv-center .cc-name { position: absolute; bottom: 13px; font-family: 'Space Grotesk', sans-serif; font-size: 11px; font-weight: 600; color: #fff; }
.conv-node {
  position: absolute; transform: translate(-50%, -50%); z-index: 2;
  background: var(--white); border: 1px solid var(--line); border-radius: 11px;
  padding: 8px 12px; font-family: 'JetBrains Mono', monospace; font-size: 11.5px; font-weight: 500;
  color: var(--navy-ink); box-shadow: var(--shadow-card);
  display: flex; align-items: center; gap: 7px; white-space: nowrap;
}
.conv-node .cn-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); }
.conv-node.cv1 { left: 22%; top: 14%; }
.conv-node.cv2 { left: 78%; top: 16%; }
.conv-node.cv3 { left: 90%; top: 50%; }
.conv-node.cv4 { left: 80%; top: 84%; }
.conv-node.cv5 { left: 22%; top: 86%; }
.conv-node.cv6 { left: 9%; top: 50%; }
.conv svg.conv-lines { position: absolute; inset: 0; width: 100%; height: 100%; }

/* ============================================================
   FUNCIONALIDADES
   ============================================================ */
.features { background: var(--white); }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 32px 30px; transition: transform .25s var(--ease), box-shadow .25s, border-color .25s;
  position: relative; overflow: hidden;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: rgba(60,180,240,0.4); }
.feature-card .fc-ico {
  width: 54px; height: 54px; border-radius: 14px; background: var(--bg-tint);
  border: 1px solid var(--line); color: var(--blue); display: grid; place-items: center; margin-bottom: 22px;
}
.feature-card .fc-ico svg { width: 26px; height: 26px; }
.feature-card h4 { font-size: 20px; font-weight: 600; }
.feature-card .fc-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 16px; }
.feature-card .fc-tags span {
  font-family: 'JetBrains Mono', monospace; font-size: 11.5px;
  padding: 4px 11px; background: var(--bg); border: 1px solid var(--line); color: #3B4866; border-radius: 6px;
}

/* ============================================================
   CASOS DE USO
   ============================================================ */
.cases { background: var(--d-bg); }
.cases-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.case-card {
  background: var(--d-card); border: 1px solid var(--d-border); border-radius: 18px;
  padding: 26px 26px; display: flex; flex-direction: column; gap: 16px;
  transition: border-color .2s, background .2s;
}
.case-card:hover { border-color: var(--d-border-strong); background: var(--d-card-hover); }
.case-q, .case-a { display: flex; gap: 12px; align-items: flex-start; }
.case-lbl { font-family: 'JetBrains Mono', monospace; font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,0.4); margin-bottom: 8px; }
.case-bubble { padding: 12px 15px; border-radius: 14px; font-size: 14px; line-height: 1.5; }
.case-q .case-bubble { background: rgba(255,255,255,0.07); color: rgba(255,255,255,0.92); border-bottom-left-radius: 4px; }
.case-a .case-bubble { background: linear-gradient(150deg, rgba(60,180,240,0.18), rgba(30,90,200,0.14)); border: 1px solid rgba(60,180,240,0.3); color: #EAF3FF; border-bottom-left-radius: 4px; }
.case-a .case-bubble strong { color: #fff; }
.case-ava { width: 30px; height: 30px; border-radius: 9px; background: var(--grad); display: grid; place-items: center; flex-shrink: 0; box-shadow: 0 4px 12px -3px rgba(60,180,240,0.5); }
.case-ava svg { width: 16px; height: 16px; color: #fff; }
.case-usr { width: 30px; height: 30px; border-radius: 9px; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.14); display: grid; place-items: center; flex-shrink: 0; color: rgba(255,255,255,0.7); }
.case-usr svg { width: 15px; height: 15px; }

/* ============================================================
   BENEFICIOS
   ============================================================ */
.benefits { background: var(--white); }
.benefits-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 20px; overflow: hidden;
}
.benefit { background: var(--white); padding: 34px 32px; display: flex; flex-direction: column; gap: 8px; transition: background .2s; }
.benefit:hover { background: var(--bg); }
.benefit .bn-ico { color: var(--blue); margin-bottom: 8px; }
.benefit .bn-ico svg { width: 24px; height: 24px; }
.benefit .bn-metric { font-family: 'Space Grotesk', sans-serif; font-size: 30px; font-weight: 600; color: var(--navy-ink); letter-spacing: -0.02em; }
.benefit .bn-label { color: var(--muted); font-size: 14px; line-height: 1.45; }

/* ============================================================
   SECTORES
   ============================================================ */
.sectors { background: var(--bg); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sectors-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.sector {
  background: var(--white); border: 1px solid var(--line); border-radius: 16px;
  padding: 26px 22px; display: flex; flex-direction: column; gap: 14px;
  transition: transform .2s, border-color .2s, box-shadow .2s;
}
.sector:hover { transform: translateY(-3px); border-color: rgba(60,180,240,0.4); box-shadow: var(--shadow-card); }
.sector .sc-ico {
  width: 46px; height: 46px; border-radius: 12px; background: var(--bg-tint);
  border: 1px solid var(--line); color: var(--blue); display: grid; place-items: center;
}
.sector .sc-ico svg { width: 23px; height: 23px; }
.sector h4 { font-size: 16px; font-weight: 600; }

/* ============================================================
   DIFERENCIADORES
   ============================================================ */
.diff { background: var(--d-bg); }
.diff-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 980px; margin: 0 auto; }
.diff-col { border-radius: 22px; padding: 36px 34px; }
.diff-col.others { background: var(--d-card); border: 1px solid var(--d-border); }
.diff-col.nexa { background: linear-gradient(160deg, rgba(60,180,240,0.14), rgba(14,42,92,0.5)); border: 1px solid var(--d-border-strong); box-shadow: 0 0 60px -20px rgba(60,180,240,0.5); }
.diff-col .dc-head { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; padding-bottom: 20px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.diff-col.others .dc-ico { width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,0.07); display: grid; place-items: center; color: rgba(255,255,255,0.6); }
.diff-col.nexa .dc-ico { width: 38px; height: 38px; border-radius: 10px; background: var(--grad); display: grid; place-items: center; color: #fff; box-shadow: 0 8px 20px -6px rgba(60,180,240,0.6); }
.diff-col .dc-ico svg { width: 20px; height: 20px; }
.diff-col .dc-title { font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 18px; color: #fff; }
.diff-col .dc-sub { font-size: 12px; color: rgba(255,255,255,0.5); font-family: 'JetBrains Mono', monospace; margin-top: 2px; }
.diff-list { display: flex; flex-direction: column; gap: 13px; }
.diff-list li { display: flex; align-items: center; gap: 12px; font-size: 14.5px; color: var(--d-text); list-style: none; }
.diff-list { padding: 0; margin: 0; }
.diff-list li svg { width: 18px; height: 18px; flex-shrink: 0; }
.diff-col.others .diff-list li { color: rgba(255,255,255,0.6); }
.diff-col.others .diff-list li svg { color: rgba(255,255,255,0.35); }
.diff-col.nexa .diff-list li svg { color: #16C47F; }

/* ============================================================
   DEMOSTRACIÓN (form)
   ============================================================ */
.demo { background: var(--white); }
.demo-wrap { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 60px; align-items: start; max-width: 1080px; margin: 0 auto; }
.demo-info .eyebrow-tag { justify-content: flex-start; }
.demo-info h2 { font-size: clamp(30px, 3.4vw, 42px); letter-spacing: -0.03em; }
.demo-info p { color: var(--muted); font-size: 16px; margin-top: 18px; line-height: 1.55; }
.demo-perks { margin-top: 28px; display: flex; flex-direction: column; gap: 14px; }
.demo-perk { display: flex; align-items: center; gap: 12px; font-size: 14.5px; color: #2A3551; }
.demo-perk svg { width: 20px; height: 20px; color: var(--blue); flex-shrink: 0; }
.demo-contact { margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.demo-contact a { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; color: #2A3551; transition: color .15s; }
.demo-contact a:hover { color: var(--blue); }
.demo-contact a svg { width: 16px; height: 16px; color: var(--blue); }

.demo-form {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 36px; box-shadow: var(--shadow-lg);
}
.demo-form .df-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.df-field { margin-bottom: 16px; }
.df-field label { display: block; font-size: 12.5px; font-weight: 600; color: #3B4866; margin-bottom: 7px; }
.df-field label .req { color: var(--blue); }
.df-field input, .df-field textarea {
  width: 100%; padding: 13px 15px; border: 1px solid var(--line-strong); border-radius: 11px;
  font-family: 'Inter', sans-serif; font-size: 14.5px; color: var(--ink); background: var(--bg);
  transition: border-color .15s, box-shadow .15s, background .15s;
}
.df-field input::placeholder, .df-field textarea::placeholder { color: #9AA6BE; }
.df-field input:focus, .df-field textarea:focus {
  outline: none; border-color: var(--blue); background: var(--white);
  box-shadow: 0 0 0 4px rgba(30,90,200,0.1);
}
.df-field textarea { resize: vertical; min-height: 92px; }
.demo-form .btn-primary { width: 100%; margin-top: 6px; }
.df-note { font-size: 12px; color: var(--muted); margin-top: 14px; text-align: center; line-height: 1.5; }
.df-success {
  display: none; text-align: center; padding: 24px 10px;
}
.df-success.show { display: block; }
.df-success .dfs-ico { width: 64px; height: 64px; border-radius: 50%; background: rgba(22,196,127,0.12); color: #16C47F; display: grid; place-items: center; margin: 0 auto 18px; }
.df-success .dfs-ico svg { width: 32px; height: 32px; }
.df-success h4 { font-size: 22px; }
.df-success p { color: var(--muted); margin-top: 10px; font-size: 14.5px; }

/* ============================================================
   CTA FINAL
   ============================================================ */
.final-cta { padding: 0; }
.final-cta-card {
  background: var(--grad); border-radius: 28px; padding: 76px 64px; margin: 0 0 0;
  position: relative; overflow: hidden; text-align: center; color: #fff;
}
.final-cta-card::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 600px 300px at 25% 20%, rgba(255,255,255,0.16), transparent 60%),
             radial-gradient(ellipse 460px 240px at 90% 88%, rgba(8,24,58,0.42), transparent 60%);
  pointer-events: none;
}
.final-cta-card .fcc-inner { position: relative; max-width: 680px; margin: 0 auto; }
.final-cta-card h2 { color: #fff; font-size: clamp(32px, 4vw, 50px); letter-spacing: -0.03em; }
.final-cta-card p { color: rgba(255,255,255,0.9); font-size: 18px; margin-top: 20px; line-height: 1.55; }
.final-cta-card .fcc-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 36px; }
.final-cta-wrap { padding: 100px 0; }

/* ============================================================
   FOOTER
   ============================================================ */
footer { background: var(--d-bg); color: #fff; padding: 64px 0 34px; border-top: 1px solid var(--d-border); }
.foot-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 48px; }
.foot-brand .fb-lock { display: flex; align-items: center; gap: 13px; }
.foot-brand .fb-logo { width: 44px; height: 44px; border-radius: 12px; background: var(--grad); display: grid; place-items: center; }
.foot-brand .fb-logo svg { width: 24px; height: 24px; color: #fff; }
.foot-brand .fb-name { font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 21px; color: #fff; }
.foot-brand .fb-by { font-family: 'JetBrains Mono', monospace; font-size: 10.5px; color: var(--cyan-soft); letter-spacing: 0.08em; margin-top: 3px; }
.foot-brand p { color: rgba(255,255,255,0.6); font-size: 13.5px; margin-top: 18px; line-height: 1.6; max-width: 320px; }
.foot-col h5 { font-family: 'JetBrains Mono', monospace; font-size: 11.5px; color: rgba(255,255,255,0.5); text-transform: uppercase; letter-spacing: 0.1em; font-weight: 500; margin: 0 0 18px; }
.foot-col a { display: block; font-size: 14px; color: rgba(255,255,255,0.78); margin-bottom: 12px; transition: color .15s; }
.foot-col a:hover { color: var(--cyan-soft); }
.foot-note {
  margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.1);
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px;
  font-size: 13px; color: rgba(255,255,255,0.55);
}
.foot-note .fn-badge { display: inline-flex; align-items: center; gap: 9px; font-size: 13px; color: rgba(255,255,255,0.7); }
.foot-note .fn-badge .fnb-logo { width: 24px; height: 24px; border-radius: 7px; background: var(--grad); display: grid; place-items: center; }
.foot-note .fn-badge .fnb-logo svg { width: 13px; height: 13px; color: #fff; }

/* ============================================================
   WHATSAPP FLOAT
   ============================================================ */
.wa-float {
  position: fixed; bottom: 24px; right: 24px; z-index: 60;
  display: flex; align-items: center; gap: 12px;
  background: #25D366; color: #fff; padding: 14px 20px 14px 16px; border-radius: 999px;
  font-weight: 500; font-size: 14.5px;
  box-shadow: 0 8px 24px -6px rgba(37,211,102,0.5), 0 4px 12px rgba(8,24,58,0.15);
  transition: transform .2s, box-shadow .2s;
}
.wa-float:hover { transform: translateY(-2px) scale(1.02); box-shadow: 0 12px 28px -6px rgba(37,211,102,0.6); }
.wa-float .wa-ico { width: 26px; height: 26px; flex-shrink: 0; }
.wa-float .wa-pulse { position: absolute; inset: 0; border-radius: 999px; border: 2px solid #25D366; animation: wa-pulse 2.4s ease-out infinite; pointer-events: none; }
@keyframes wa-pulse { 0% { opacity: 0.6; transform: scale(1); } 100% { opacity: 0; transform: scale(1.25); } }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation: none !important; scroll-behavior: auto !important; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .features-grid, .problem-grid { grid-template-columns: repeat(2, 1fr); }
  .sectors-grid { grid-template-columns: repeat(3, 1fr); }
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 920px) {
  .container { padding: 0 24px; }
  section { padding: 84px 0; }
  .nav-links, .nav-right .nav-cta, .nav-right .nav-back { display: none; }
  .nav-burger { display: inline-flex; }
  .hero { padding: 64px 0 80px; }
  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
  .solution-grid { grid-template-columns: 1fr; gap: 48px; }
  .demo-wrap { grid-template-columns: 1fr; gap: 40px; }
  .cases-grid { grid-template-columns: 1fr; }
  .diff-wrap { grid-template-columns: 1fr; gap: 16px; }
  .foot-top { grid-template-columns: 1fr 1fr; gap: 36px; }
}
@media (max-width: 640px) {
  .container { padding: 0 20px; }
  section { padding: 60px 0; }
  .sec-head { margin-bottom: 40px; }
  body { font-size: 15.5px; }

  .hero { padding: 44px 0 60px; }
  .hero-lockup .hl-name { font-size: 36px; }
  .hero-lockup .hl-logo { width: 52px; height: 52px; }
  .hero h1 { font-size: clamp(25px, 7vw, 34px); }
  .hero-text { font-size: 16px; }
  .hero-btns { flex-direction: column; align-items: stretch; }
  .hero-trust { gap: 14px 24px; margin-top: 32px; }
  .dash-integrations { grid-template-columns: repeat(4, 1fr); }
  .dash-badge { display: none; }

  .problem-grid, .features-grid, .benefits-grid, .sectors-grid { grid-template-columns: 1fr; }
  .feature-card { padding: 28px 24px; }
  .conv { padding: 24px; }
  .conv-node { font-size: 10px; padding: 6px 9px; }
  .conv-center { width: 96px; height: 96px; }

  .demo-form { padding: 26px 22px; }
  .demo-form .df-row { grid-template-columns: 1fr; gap: 0; }
  .final-cta-wrap { padding: 60px 0; }
  .final-cta-card { padding: 48px 26px; border-radius: 22px; }
  .final-cta-card .fcc-btns { flex-direction: column; }
  .foot-top { grid-template-columns: 1fr; gap: 32px; }
  .foot-note { flex-direction: column; align-items: flex-start; }
  .wa-float { bottom: 18px; right: 18px; padding: 14px; }
  .wa-float .wa-label { display: none; }
  .wa-float .wa-ico { width: 28px; height: 28px; }
  .diff-col { padding: 28px 24px; }
}

/* ============================================================
   COMERCIAL — Vendedor 24/7
   ============================================================ */
.sales { background: var(--bg); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); position: relative; }
.sales-hero { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; margin-bottom: 72px; }
.sales-badge {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 6px 15px 6px 7px; border-radius: 999px;
  background: rgba(22,196,127,0.1); border: 1px solid rgba(22,196,127,0.28);
  font-size: 12.5px; font-weight: 500; color: #0F8A53;
}
.sales-badge .sb-dot { width: 16px; height: 16px; border-radius: 999px; background: #16C47F; display: grid; place-items: center; }
.sales-badge .sb-dot svg { width: 10px; height: 10px; color: #fff; }
.sales-hero h2 { font-size: clamp(30px, 3.6vw, 44px); letter-spacing: -0.03em; margin-top: 20px; }
.sales-hero .sales-sub { font-size: 18px; color: #2A3551; margin-top: 18px; line-height: 1.5; font-weight: 500; }
.sales-hero .sales-text { font-size: 16px; color: var(--muted); margin-top: 16px; line-height: 1.6; max-width: 540px; }

/* commercial chat showcase */
.sales-chat {
  background: var(--white); border: 1px solid var(--line); border-radius: 22px;
  box-shadow: var(--shadow-lg); overflow: hidden;
}
.sales-chat-top {
  display: flex; align-items: center; gap: 12px; padding: 16px 20px;
  background: linear-gradient(160deg, #0E2A5C, #08183A); color: #fff;
}
.sales-chat-top .sct-ava { width: 38px; height: 38px; border-radius: 11px; background: var(--grad); display: grid; place-items: center; flex-shrink: 0; }
.sales-chat-top .sct-ava svg { width: 21px; height: 21px; color: #fff; }
.sales-chat-top .sct-name { font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 15px; }
.sales-chat-top .sct-status { font-size: 11px; color: #5FE0A0; display: flex; align-items: center; gap: 6px; margin-top: 2px; }
.sales-chat-top .sct-status::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #16C47F; }
.sales-chat-top .sct-wa { margin-left: auto; opacity: 0.5; }
.sales-chat-top .sct-wa svg { width: 20px; height: 20px; }
.sales-chat-body { padding: 22px 20px; display: flex; flex-direction: column; gap: 12px; background: #F7F9FC; }
.sc-msg { max-width: 82%; padding: 11px 15px; border-radius: 16px; font-size: 13.5px; line-height: 1.5; }
.sc-msg.in { align-self: flex-start; background: var(--white); border: 1px solid var(--line); color: var(--ink); border-bottom-left-radius: 5px; }
.sc-msg.out { align-self: flex-end; background: linear-gradient(150deg, #1E5AC8, #1545A0); color: #fff; border-bottom-right-radius: 5px; box-shadow: 0 4px 12px -4px rgba(30,90,200,0.4); }
.sc-msg.out strong { color: #fff; }
.sc-time { font-size: 10px; color: var(--muted); margin-top: 5px; display: block; text-align: right; opacity: 0.7; }
.sc-msg.in .sc-time { text-align: left; }

.sales-feats { }
.sales-feats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.sales-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 28px 26px; transition: transform .25s var(--ease), box-shadow .25s, border-color .25s;
}
.sales-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: rgba(60,180,240,0.4); }
.sales-card .sca-ico {
  width: 50px; height: 50px; border-radius: 13px; margin-bottom: 18px;
  background: var(--grad); color: #fff; display: grid; place-items: center;
  box-shadow: 0 8px 18px -6px rgba(60,180,240,0.5);
}
.sales-card .sca-ico svg { width: 24px; height: 24px; }
.sales-card h4 { font-size: 18px; font-weight: 600; }
.sales-card ul { list-style: none; padding: 0; margin: 14px 0 0; display: flex; flex-direction: column; gap: 9px; }
.sales-card ul li { display: flex; align-items: center; gap: 9px; font-size: 13.5px; color: #3B4866; }
.sales-card ul li svg { width: 15px; height: 15px; color: var(--blue); flex-shrink: 0; }

/* ============================================================
   ÁREAS — Una plataforma para toda la empresa
   ============================================================ */
.areas { background: var(--d-bg); }
.areas-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.area-card {
  background: var(--d-card); border: 1px solid var(--d-border); border-radius: 20px;
  padding: 34px 32px; transition: border-color .25s, background .25s, transform .25s;
  position: relative; overflow: hidden;
}
.area-card:hover { border-color: var(--d-border-strong); background: var(--d-card-hover); transform: translateY(-3px); }
.area-card .ac-head { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.area-card .ac-ico {
  width: 52px; height: 52px; border-radius: 14px; flex-shrink: 0;
  background: rgba(60,180,240,0.12); border: 1px solid rgba(60,180,240,0.3);
  color: var(--cyan-soft); display: grid; place-items: center;
}
.area-card .ac-ico svg { width: 26px; height: 26px; }
.area-card .ac-title { font-family: 'Space Grotesk', sans-serif; font-size: 22px; font-weight: 600; color: #fff; }
.area-card .ac-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.area-card .ac-tags span {
  font-size: 13px; padding: 7px 14px; border-radius: 999px;
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); color: rgba(255,255,255,0.82);
}

/* ============================================================
   POTENCIA — bloque destacado
   ============================================================ */
.boost { padding: 0; }
.boost-wrap { padding: 100px 0; }
.boost-card {
  background: linear-gradient(150deg, #0E2A5C 0%, #08183A 60%);
  border: 1px solid var(--d-border-strong);
  border-radius: 28px; padding: 64px 56px; position: relative; overflow: hidden;
  box-shadow: 0 0 80px -30px rgba(60,180,240,0.6);
}
.boost-card::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 600px 320px at 85% 10%, rgba(60,180,240,0.18), transparent 60%),
             radial-gradient(ellipse 500px 280px at 5% 100%, rgba(30,90,200,0.22), transparent 60%);
  pointer-events: none;
}
.boost-inner { position: relative; z-index: 1; text-align: center; }
.boost-card h2 { color: #fff; font-size: clamp(30px, 4vw, 48px); letter-spacing: -0.03em; }
.boost-card .boost-lead { font-family: 'Space Grotesk', sans-serif; font-size: clamp(28px, 4vw, 44px); font-weight: 600; letter-spacing: -0.03em; margin-top: 4px; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.boost-rows { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 48px; }
.boost-row {
  background: rgba(255,255,255,0.05); border: 1px solid rgba(127,208,247,0.18);
  border-radius: 16px; padding: 26px 22px; text-align: left;
}
.boost-row .br-ico { width: 42px; height: 42px; border-radius: 11px; background: rgba(60,180,240,0.14); border: 1px solid rgba(60,180,240,0.3); color: var(--cyan-soft); display: grid; place-items: center; margin-bottom: 16px; }
.boost-row .br-ico svg { width: 21px; height: 21px; }
.boost-row .br-area { font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--cyan-soft); }
.boost-row .br-text { color: #fff; font-size: 15.5px; font-weight: 500; margin-top: 6px; line-height: 1.4; }
.boost-foot { margin-top: 40px; color: var(--d-text-mute); font-size: 16px; }

/* ============================================================
   RESPONSIVE — nuevas secciones
   ============================================================ */
@media (max-width: 1024px) {
  .sales-feats-grid { grid-template-columns: repeat(2, 1fr); }
  .boost-rows { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 920px) {
  .sales-hero { grid-template-columns: 1fr; gap: 44px; }
  .areas-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .sales-feats-grid { grid-template-columns: 1fr; }
  .sales-hero { margin-bottom: 48px; }
  .area-card { padding: 28px 24px; }
  .boost-wrap { padding: 60px 0; }
  .boost-card { padding: 44px 24px; border-radius: 22px; }
  .boost-rows { grid-template-columns: 1fr; gap: 14px; margin-top: 36px; }
  .sales-card { padding: 24px 22px; }
}
