:root {
  --bg: #eef3f8;
  --bg2: #e4ebf3;
  --surface: #ffffff;
  --line: #c5d0dc;
  --text: #0b1220;
  --muted: #3d4f63;
  --brand: #0b6e6e;
  --brand2: #0a5c7a;
  --accent: #1d4ed8;
  --ok: #047857;
  --radius: 14px;
  --header-h: 72px;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --sans: Inter, system-ui, sans-serif;
  --shadow: 0 12px 40px rgba(15, 23, 42, .08);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(12, 122, 122, 0.14), transparent),
    radial-gradient(ellipse 50% 40% at 100% 20%, rgba(29, 78, 216, 0.10), transparent),
    linear-gradient(180deg, #f7fafc 0%, var(--bg) 40%, var(--bg2) 100%);
  pointer-events: none;
  z-index: 0;
}

.grid-bg {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(15, 23, 42, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
  pointer-events: none;
  z-index: 0;
}

a { color: var(--brand); text-decoration: none; }
img { max-width: 100%; display: block; }

.wrap {
  position: relative;
  z-index: 1;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-h);
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition: background 0.25s, border-color 0.25s, backdrop-filter 0.25s;
}
.site-header.scrolled {
  background: rgba(255, 255, 255, 0.92);
  border-bottom-color: var(--line);
  backdrop-filter: blur(14px);
  box-shadow: 0 8px 24px rgba(15, 23, 42, .06);
}
.header-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 24px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  flex-shrink: 0;
}
.logo-img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  flex-shrink: 0;
}
.logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--brand2), var(--accent));
  display: grid;
  place-items: center;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  box-shadow: 0 0 24px rgba(37, 99, 235, 0.35);
}
.nav {
  display: flex;
  gap: 28px;
  margin-left: auto;
}
.nav a {
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  transition: color 0.2s;
}
.nav a:hover { color: var(--brand); }
.header-actions {
  display: flex;
  gap: 10px;
  margin-left: 8px;
}
.header-menu {
  display: contents;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 40px;
  padding: 0 18px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.2s, background 0.2s;
  text-decoration: none;
  font-family: inherit;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--brand2), #1d4ed8);
  box-shadow: 0 8px 28px rgba(37, 99, 235, 0.35);
}
.btn-ghost {
  color: var(--text);
  background: #fff;
  border-color: var(--line);
}
.btn-ghost:hover { border-color: rgba(56, 189, 248, 0.4); }
.menu-toggle {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--text);
  cursor: pointer;
}

/* Hero */
.hero {
  padding: calc(var(--header-h) + 48px) 0 56px;
  text-align: center;
  max-width: 920px;
  margin: 0 auto;
}
.hero-slogan {
  margin: 0 0 20px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero h1 {
  margin: 0 auto 16px;
  max-width: 820px;
  font-size: clamp(28px, 4.8vw, 46px);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -0.03em;
}
.hero-lead {
  margin: 0 auto 24px;
  max-width: 620px;
  font-size: clamp(15px, 2vw, 17px);
  color: var(--muted);
  font-weight: 500;
  line-height: 1.65;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 32px;
}
.hero-actions .btn { min-width: 200px; height: 48px; font-size: 14px; }

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--line);
}
.trust-item {
  padding: 16px 14px;
  background: #fff;
  text-align: center;
}
.trust-item b {
  display: block;
  font-family: var(--mono);
  font-size: clamp(18px, 2.5vw, 24px);
  color: var(--text);
  margin-bottom: 4px;
}
.trust-item span {
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  line-height: 1.4;
}

.section-alt {
  background: #e6eef5;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.pain-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.pain-card {
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}
.pain-card:hover {
  border-color: rgba(56, 189, 248, 0.3);
  transform: translateY(-2px);
}
.pain-q {
  font-size: 14px;
  font-weight: 700;
  color: #f87171;
  margin: 0 0 10px;
  line-height: 1.45;
}
.pain-a {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
}
.pain-a strong { color: var(--brand); }

.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.compare-col {
  padding: 28px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}
.compare-col.bad {
  background: rgba(127, 29, 29, 0.08);
  border-color: rgba(248, 113, 113, 0.2);
}
.compare-col.good {
  background: rgba(37, 99, 235, 0.08);
  border-color: rgba(56, 189, 248, 0.25);
  box-shadow: 0 20px 60px rgba(37, 99, 235, 0.12);
}
.compare-col h3 {
  margin: 0 0 16px;
  font-size: 13px;
  font-family: var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.compare-col.bad h3 { color: #f87171; }
.compare-col.good h3 { color: var(--brand); }
.compare-col ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.compare-col li {
  position: relative;
  padding: 10px 0 10px 22px;
  font-size: 13px;
  color: var(--muted);
  border-bottom: 1px solid rgba(148, 163, 184, 0.08);
  line-height: 1.45;
}
.compare-col li:last-child { border-bottom: none; }
.compare-col.bad li::before {
  content: "×";
  position: absolute;
  left: 0;
  color: #f87171;
  font-weight: 800;
}
.compare-col.good li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--ok);
  font-weight: 800;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  counter-reset: step;
}
.process-step {
  padding: 24px 20px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
  position: relative;
  overflow: hidden;
}
.process-step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  position: absolute;
  top: 12px;
  right: 14px;
  font-family: var(--mono);
  font-size: 28px;
  font-weight: 700;
  color: rgba(56, 189, 248, 0.12);
  line-height: 1;
}
.process-step h3 {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 800;
}
.process-step p {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}
.service-tags span {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 6px;
  border: 1px solid var(--line);
  color: var(--muted);
  background: #f1f5f9;
}

.cta-band {
  padding: 56px 0;
  text-align: center;
  background:
    linear-gradient(135deg, rgba(11, 110, 110, 0.10), rgba(29, 78, 216, 0.08)),
    #e8eef6;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.cta-band h2 {
  margin: 0 0 10px;
  font-size: clamp(22px, 3.5vw, 32px);
  font-weight: 800;
}
.cta-band p {
  margin: 0 auto 24px;
  max-width: 520px;
  color: var(--muted);
  font-size: 15px;
}
.cta-band .btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.hero-visual-row {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 20px;
  margin-top: 56px;
  text-align: left;
}
.hero-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.45);
}
.hero-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  opacity: 0.88;
}
.hero-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(7, 11, 20, 0.94) 100%);
}
.code-panel {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(7, 11, 20, 0.92);
  border: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.7;
  color: #cbd5e1;
}
.code-panel .kw { color: #c084fc; }
.code-panel .fn { color: #38bdf8; }
.code-panel .str { color: #86efac; }
.mini-stats {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.mini-stat {
  flex: 1;
  padding: 20px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
}
.mini-stat b {
  display: block;
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 6px;
}
.mini-stat p {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}

.sec-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.hero h1 em {
  font-style: normal;
  background: linear-gradient(90deg, var(--brand) 0%, var(--accent) 70%, #0a5c7a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Ingeniería — capacidades */
#ingenieria {
  padding: 72px 0;
  border-bottom: 1px solid var(--line);
}
.cap-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}
.cap-item {
  padding: 20px 16px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow);
  transition: border-color 0.2s, transform 0.25s, box-shadow 0.25s;
}
.cap-item:hover {
  border-color: rgba(56, 189, 248, 0.28);
}
.cap-item h3 {
  margin: 0 0 8px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand);
}
.cap-item p {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}

/* Ecosistema — mockups dashboard (CSS + SVG propios) */
.eco-head {
  margin: 48px auto 24px;
  max-width: 640px;
  text-align: center;
}
.eco-head h3 {
  margin: 0 0 8px;
  font-size: clamp(20px, 3vw, 26px);
  font-weight: 800;
  letter-spacing: -0.02em;
}
.eco-head p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
}

.eco-showcase {
  margin-top: 8px;
}

.eco-modules {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
}
.eco-mod {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 12px;
  font-weight: 700;
  color: var(--text);
}
.eco-mod-ic {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-size: 13px;
  background: color-mix(in srgb, var(--mc) 18%, transparent);
  border: 1px solid color-mix(in srgb, var(--mc) 35%, transparent);
  color: var(--mc);
}

.dash-frame {
  --text: #f1f5f9;
  --muted: #94a3b8;
  --brand: #38bdf8;
  --line: rgba(148, 163, 184, 0.18);
  position: relative;
  border-radius: 16px;
  border: 1px solid rgba(15, 23, 42, 0.2);
  background: #0b1220;
  color: #f1f5f9;
  box-shadow: 0 28px 64px rgba(15, 23, 42, 0.22);
  overflow: hidden;
}

.dash-layout {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr) 168px;
  min-height: 380px;
}

.dash-side {
  padding: 16px 12px;
  border-right: 1px solid var(--line);
  background: rgba(4, 8, 18, 0.85);
}
.dash-side-brand {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--brand);
  margin-bottom: 16px;
  padding: 0 8px;
}
.dash-side ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.dash-side li {
  padding: 9px 10px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 2px;
}
.dash-side li.on {
  color: var(--text);
  background: rgba(37, 99, 235, 0.18);
  border: 1px solid rgba(37, 99, 235, 0.25);
}

.dash-main {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}

.dash-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
.dash-kpi {
  padding: 12px 10px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(15, 23, 42, 0.55);
}
.dash-kpi b {
  display: block;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 2px;
}
.dash-kpi span {
  display: block;
  font-size: 10px;
  color: var(--muted);
  font-weight: 600;
  line-height: 1.3;
}
.dash-kpi small {
  display: inline-block;
  margin-top: 6px;
  font-size: 9px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 999px;
}
.dash-kpi small.up {
  color: #34d399;
  background: rgba(52, 211, 153, 0.12);
}
.dash-kpi small.ok {
  color: var(--brand);
  background: rgba(56, 189, 248, 0.12);
}
.dash-kpi small.warn {
  color: #fbbf24;
  background: rgba(251, 191, 36, 0.12);
}

.dash-charts {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 12px;
}
.chart-box {
  padding: 12px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(15, 23, 42, 0.45);
}
.chart-box h4 {
  margin: 0 0 10px;
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.chart-donut-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}
.chart-donut {
  width: 96px;
  height: 96px;
  flex-shrink: 0;
}
.chart-legend {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 10px;
  color: var(--muted);
  font-weight: 600;
}
.chart-legend li {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
}
.chart-legend i {
  width: 8px;
  height: 8px;
  border-radius: 2px;
  flex-shrink: 0;
}
.chart-line {
  width: 100%;
  height: 100px;
  display: block;
}
.chart-line-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 6px;
  font-size: 9px;
  color: #64748b;
  font-family: var(--mono);
}

.dash-table h4 {
  margin: 0 0 8px;
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.dash-table {
  padding: 12px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(15, 23, 42, 0.45);
}
.dash-row {
  display: grid;
  grid-template-columns: 1.4fr 0.5fr 0.6fr;
  gap: 8px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(148, 163, 184, 0.08);
  font-size: 11px;
  color: var(--muted);
  align-items: center;
}
.dash-row.head {
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #64748b;
  padding-top: 0;
}
.dash-row:last-child { border-bottom: none; }
.dash-row span:first-child { color: #e2e8f0; font-weight: 600; }
.pill {
  justify-self: start;
  font-size: 9px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 999px;
}
.pill.ok {
  color: #34d399;
  background: rgba(52, 211, 153, 0.12);
}
.pill.run {
  color: var(--brand);
  background: rgba(56, 189, 248, 0.12);
}

.dash-feed {
  padding: 16px 12px;
  border-left: 1px solid var(--line);
  background: rgba(4, 8, 18, 0.5);
}
.dash-feed h4 {
  margin: 0 0 12px;
  font-size: 11px;
  font-weight: 700;
  color: var(--brand);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.dash-feed ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.dash-feed li {
  padding: 10px 0;
  border-bottom: 1px solid rgba(148, 163, 184, 0.08);
}
.dash-feed li:last-child { border-bottom: none; }
.dash-feed time {
  display: block;
  font-family: var(--mono);
  font-size: 9px;
  color: #64748b;
  margin-bottom: 4px;
}
.dash-feed p {
  margin: 0;
  font-size: 10px;
  color: var(--muted);
  line-height: 1.45;
}

.eco-phone {
  position: absolute;
  right: 24px;
  bottom: -18px;
  width: 108px;
  padding: 10px 8px 12px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(12, 18, 32, 0.98);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5);
}
.eco-phone-bar {
  width: 36px;
  height: 4px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.25);
  margin: 0 auto 10px;
}
.eco-phone-kpi {
  font-size: 9px;
  font-weight: 700;
  color: var(--brand);
  text-align: center;
  margin-bottom: 10px;
}
.eco-phone-list div {
  height: 8px;
  border-radius: 4px;
  background: rgba(148, 163, 184, 0.12);
  margin-bottom: 6px;
}
.eco-phone-list div:nth-child(2) { width: 85%; }
.eco-phone-list div:nth-child(3) { width: 70%; }

.eco-sync {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 4px;
  margin-top: 28px;
  padding: 16px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
}
.eco-node {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  padding: 8px 12px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #f8fafc;
}
.eco-node.hub {
  color: var(--text);
  border-color: rgba(37, 99, 235, 0.35);
  background: rgba(37, 99, 235, 0.12);
}
.eco-node-ic {
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 700;
  padding: 4px 6px;
  border-radius: 6px;
  background: rgba(56, 189, 248, 0.12);
  color: var(--brand);
}
.eco-node.hub .eco-node-ic {
  background: rgba(37, 99, 235, 0.2);
  color: #93c5fd;
}
.eco-link {
  width: 24px;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(56, 189, 248, 0.5), transparent);
  flex-shrink: 0;
}

/* Soluciones — pilares */
.sol-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 40px;
}
.sol-pillar {
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow);
}
.sol-pillar h3 {
  margin: 0 0 10px;
  font-size: 15px;
  font-weight: 800;
  color: var(--text);
}
.sol-pillar p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
}
.sol-products-label {
  margin: 0 0 20px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
}

section { padding: 88px 0; }
.sec-head {
  max-width: 640px;
  margin-bottom: 48px;
}
.sec-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 10px;
}
.sec-head h2 {
  margin: 0 0 12px;
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 800;
  letter-spacing: -0.02em;
}
.sec-head p { margin: 0; color: var(--muted); font-size: 15px; }

.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.card {
  padding: 28px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}
.card:hover {
  border-color: rgba(56, 189, 248, 0.35);
  transform: translateY(-4px);
}
.card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 20px;
  margin-bottom: 16px;
  background: rgba(37, 99, 235, 0.15);
  border: 1px solid rgba(37, 99, 235, 0.25);
}
.card h3 {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 800;
}
.card p {
  margin: 0 0 16px;
  font-size: 14px;
  color: var(--muted);
}
.tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(34, 211, 238, 0.12);
  color: var(--accent);
}
.tag.soon {
  background: rgba(251, 191, 36, 0.12);
  color: #fbbf24;
}

.corp-logo-wrap {
  display: flex;
  justify-content: center;
  margin: 0 0 32px;
}
.corp-logo {
  max-width: min(280px, 72vw);
  height: auto;
  object-fit: contain;
}
.mvv {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.mvv-card {
  padding: 32px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow);
}
.mvv-card h3 {
  margin: 0 0 12px;
  font-size: 13px;
  font-family: var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand);
}
.mvv-card p { margin: 0; color: var(--muted); font-size: 15px; }

.engineering {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.engineering h2 {
  margin: 0 0 12px;
  font-size: clamp(24px, 3.5vw, 32px);
  font-weight: 800;
}
.eng-panel {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(7, 11, 20, 0.6);
  padding: 24px;
  min-height: 220px;
  display: flex;
  align-items: center;
}
.code-panel-lg {
  position: static;
  width: 100%;
  font-size: 12px;
  line-height: 1.75;
}
.eng-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
}
.eng-list li {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  color: var(--muted);
}
.eng-list li:last-child { border-bottom: none; }
.eng-list strong { color: var(--text); display: block; margin-bottom: 2px; }
.eng-num {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--brand);
  flex-shrink: 0;
  padding-top: 2px;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 32px;
  align-items: start;
}
.contact-info p { color: var(--muted); font-size: 14px; margin: 0 0 20px; }
.contact-links { display: flex; flex-direction: column; gap: 12px; }
.contact-links a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  transition: border-color 0.2s;
}
.contact-links a:hover { border-color: rgba(56, 189, 248, 0.4); }
.form {
  padding: 28px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
}
.form-row { margin-bottom: 16px; }
.form label {
  display: block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}
.form input,
.form textarea,
.form select {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #f8fafc;
  color: var(--text);
  font-family: inherit;
  font-size: 14px;
}
.form input:focus,
.form textarea:focus,
.form select:focus {
  outline: none;
  border-color: rgba(56, 189, 248, 0.5);
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.12);
}
.form textarea { min-height: 120px; resize: vertical; }
.form-msg {
  min-height: 20px;
  margin-top: 12px;
  font-size: 13px;
  font-weight: 600;
}
.form-msg.ok { color: var(--ok); }
.form-msg.err { color: #f87171; }

/* Footer */
.site-footer {
  padding: 40px 0 100px;
  border-top: 1px solid var(--line);
  text-align: center;
}
.site-footer p {
  margin: 0;
  font-size: 12px;
  color: var(--muted);
}
.site-footer .legal {
  margin-top: 8px;
  font-size: 11px;
  color: #64748b;
}

/* WhatsApp float */
.wa-float {
  position: fixed;
  right: 24px;
  bottom: 96px;
  z-index: 200;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.45);
  transition: transform 0.2s;
}
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 28px; height: 28px; fill: currentColor; }

/* Chat FAQ */
.chat-launcher {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 200;
  min-width: 56px;
  height: 52px;
  padding: 0 16px 0 14px;
  border-radius: 26px;
  border: none;
  cursor: pointer;
  background: linear-gradient(135deg, var(--brand2), var(--accent));
  color: #fff;
  box-shadow: 0 8px 32px rgba(37, 99, 235, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: transform 0.2s, box-shadow 0.2s;
  animation: chat-pulse 3s ease-in-out infinite;
}
@keyframes chat-pulse {
  0%, 100% { box-shadow: 0 8px 32px rgba(37, 99, 235, 0.45); }
  50% { box-shadow: 0 8px 40px rgba(56, 189, 248, 0.55); }
}
.chat-launcher:hover { transform: scale(1.04); animation: none; }
.chat-launcher svg { width: 22px; height: 22px; flex-shrink: 0; }
.chat-launcher-label {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.chat-panel {
  position: fixed;
  right: 24px;
  bottom: 88px;
  z-index: 210;
  width: min(380px, calc(100vw - 32px));
  max-height: min(520px, calc(100vh - 120px));
  border-radius: 16px;
  border: 1px solid var(--line);
  background: #fff;
  backdrop-filter: blur(16px);
  box-shadow: 0 24px 64px rgba(15, 23, 42, 0.16);
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px) scale(0.96);
  transition: opacity 0.25s, transform 0.25s, visibility 0.25s;
}
.chat-panel.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}
.chat-head {
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.chat-head h4 { margin: 0; font-size: 14px; font-weight: 800; }
.chat-head small {
  display: block;
  font-size: 11px;
  color: var(--muted);
  font-weight: 600;
}
.chat-close {
  width: 32px;
  height: 32px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
}
.chat-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.chat-bubble {
  max-width: 88%;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 13px;
  line-height: 1.5;
}
.chat-bubble.bot {
  align-self: flex-start;
  background: rgba(37, 99, 235, 0.15);
  border: 1px solid rgba(37, 99, 235, 0.25);
  color: var(--text);
}
.chat-bubble.user {
  align-self: flex-end;
  background: rgba(56, 189, 248, 0.15);
  border: 1px solid rgba(56, 189, 248, 0.25);
}
.chat-foot {
  padding: 12px 16px 16px;
  border-top: 1px solid var(--line);
}
.chat-foot input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #f8fafc;
  color: var(--text);
  font-size: 13px;
}
.chat-foot input:disabled { opacity: 0.55; cursor: not-allowed; }
.chat-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}
.chat-chip {
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(37, 99, 235, 0.35);
  background: rgba(37, 99, 235, 0.12);
  color: var(--text);
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}
.chat-chip:hover {
  background: rgba(37, 99, 235, 0.22);
  border-color: rgba(56, 189, 248, 0.45);
  color: var(--text);
}
.chat-soon {
  margin-top: 8px;
  font-size: 10px;
  color: #64748b;
  text-align: center;
  font-family: var(--mono);
}

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

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .chat-launcher { animation: none; }
  .pain-card:hover, .card:hover, .cap-item:hover { transform: none; }
}

@media (min-width: 641px) and (max-width: 1100px) {
  .cap-grid { grid-template-columns: repeat(2, 1fr); }
}

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

@media (max-width: 960px) {
  .dash-layout {
    grid-template-columns: 1fr;
  }
  .dash-side {
    display: none;
  }
  .dash-feed {
    border-left: none;
    border-top: 1px solid var(--line);
  }
  .dash-kpis {
    grid-template-columns: repeat(2, 1fr);
  }
  .dash-charts {
    grid-template-columns: 1fr;
  }
  .eco-phone {
    display: none;
  }
  .eco-modules {
    overflow-x: auto;
    flex-wrap: nowrap;
    justify-content: flex-start;
    padding-bottom: 4px;
  }
  .eco-sync {
    flex-direction: column;
    gap: 10px;
  }
  .eco-link {
    width: 2px;
    height: 16px;
    background: linear-gradient(180deg, transparent, rgba(56, 189, 248, 0.5), transparent);
  }
}

@media (max-width: 960px) {
  .hero { padding-top: calc(var(--header-h) + 24px); }
  .hero-actions .btn { width: 100%; min-width: 0; }
  .trust-strip { grid-template-columns: repeat(2, 1fr); }
  .sol-pillars { grid-template-columns: 1fr; }
  .pain-grid, .compare, .process-grid { grid-template-columns: 1fr; }
  .cards-3 { grid-template-columns: 1fr; }
  .mvv, .engineering, .contact-grid { grid-template-columns: 1fr; }
  .menu-toggle { display: grid; place-items: center; }

  .header-menu {
    display: none;
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
    z-index: 99;
    flex-direction: column;
    padding: 20px;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(12px);
  }
  .header-menu.open {
    display: flex;
  }
  .header-menu .nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-left: 0;
  }
  .header-menu .nav a {
    display: block;
    padding: 14px 12px;
    border-radius: 10px;
    font-size: 15px;
    color: var(--text);
  }
  .header-menu .nav a:hover {
    background: rgba(255, 255, 255, 0.04);
  }
  .header-menu .header-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 20px 0 0;
    padding-top: 20px;
    border-top: 1px solid var(--line);
  }
  .header-menu .header-actions .btn {
    width: 100%;
    height: 48px;
    font-size: 14px;
  }
}

body.menu-open {
  overflow: hidden;
}

/* Logo 3D hero — más grande que login */
.jeosys-3d-scene--hero {
  min-height: clamp(140px, 28vw, 220px);
  margin: 0 auto 8px;
}
.jeosys-3d-scene--hero .jeosys-3d-letter {
  font-size: clamp(52px, 12vw, 104px);
  width: clamp(52px, 12vw, 104px);
  height: clamp(50px, 11.5vw, 100px);
}

.pointer-glow {
  position: fixed;
  width: 420px;
  height: 420px;
  margin: -210px 0 0 -210px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(11, 110, 110, 0.14), transparent 68%);
  pointer-events: none;
  z-index: 0;
  opacity: 0;
  transition: opacity 0.4s;
}
.pointer-glow.is-on { opacity: 1; }

.tilt {
  transform-style: preserve-3d;
  will-change: transform;
}
.card:hover, .pain-card:hover, .cap-item:hover, .sol-pillar:hover, .process-step:hover {
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.12);
}

.btn-primary {
  position: relative;
  overflow: hidden;
}
.btn-primary::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 -40%;
  width: 36%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.28), transparent);
  transform: skewX(-18deg) translateX(-140%);
  animation: btn-shine 4.8s ease-in-out infinite;
}
@keyframes btn-shine {
  0%, 62% { transform: skewX(-18deg) translateX(-140%); }
  78%, 100% { transform: skewX(-18deg) translateX(420%); }
}

.eco-link {
  animation: eco-pulse 2.4s ease-in-out infinite;
}
@keyframes eco-pulse {
  0%, 100% { opacity: 0.35; }
  50% { opacity: 1; }
}

.stagger > * {
  opacity: 0;
  transform: translateY(18px);
}
.stagger.visible > * {
  animation: rise-in 0.7s ease forwards;
}
.stagger.visible > *:nth-child(1) { animation-delay: 0.05s; }
.stagger.visible > *:nth-child(2) { animation-delay: 0.12s; }
.stagger.visible > *:nth-child(3) { animation-delay: 0.19s; }
.stagger.visible > *:nth-child(4) { animation-delay: 0.26s; }
.stagger.visible > *:nth-child(5) { animation-delay: 0.33s; }
.stagger.visible > *:nth-child(6) { animation-delay: 0.40s; }
@keyframes rise-in {
  to { opacity: 1; transform: none; }
}

.hero .jeosys-3d-scene--hero {
  animation: hero-logo-in 0.9s ease both;
}
@keyframes hero-logo-in {
  from { opacity: 0; transform: translateY(16px) scale(0.96); }
  to { opacity: 1; transform: none; }
}

.trust-item, .process-step, .compare-col, .contact-links a {
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.2s;
}
.trust-item:hover, .process-step:hover, .compare-col:hover, .contact-links a:hover {
  transform: translateY(-3px);
}

@media (prefers-reduced-motion: reduce) {
  .pointer-glow, .btn-primary::after, .eco-link,
  .hero .jeosys-3d-scene--hero, .stagger > * {
    animation: none !important;
    opacity: 1;
    transform: none;
  }
  .pointer-glow { display: none; }
}
