/* =========================================================
   NET Desarrollos — Design System (light)
   Paleta derivada del logo: azul #91BEDD
   Productos: GVAmax naranja · ADMpro teal
   ========================================================= */

:root {
  /* Superficies */
  --bg: #ffffff;
  --bg-soft: #f3f8fc;
  --bg-tint: #e7f0f8;
  --surface: #ffffff;
  --navy: #0d2740;
  --navy-2: #14395c;

  /* Líneas */
  --line: #e0eaf3;
  --line-2: #c7dbea;

  /* Texto */
  --ink: #0e2437;
  --ink-2: #4c657b;
  --ink-3: #8098ac;

  /* Marca NET (del logo) */
  --brand: #91bedd;
  --brand-2: #3d8fc4;
  --brand-3: #20658f;
  --brand-soft: #eaf4fb;

  /* Productos */
  --gva: #e0620f;
  --gva-soft: #fdf0e6;
  --adm: #0d9488;
  --adm-soft: #e6f6f4;
  --indigo: #5a63d8;      /* acento auxiliar en los mockups */
  --indigo-soft: #eeeffc;

  /* Tipografía */
  --font-head: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Layout */
  --wrap: 1200px;
  --radius: 16px;
  --radius-lg: 24px;
  --nav-h: 92px;

  --shadow-sm: 0 1px 3px rgba(14, 36, 55, 0.06), 0 6px 16px -8px rgba(14, 36, 55, 0.1);
  --shadow: 0 4px 12px -4px rgba(14, 36, 55, 0.09), 0 18px 40px -18px rgba(14, 36, 55, 0.18);
  --shadow-lg: 0 8px 20px -6px rgba(14, 36, 55, 0.12), 0 36px 70px -24px rgba(20, 57, 92, 0.28);

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --spring: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 20px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink-2);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.028em;
  color: var(--ink);
  margin: 0;
}

p { margin: 0; }
::selection { background: var(--brand); color: var(--ink); }

/* ---------- Barra de progreso de scroll ---------- */
.progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 100%;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--brand), var(--brand-2), var(--brand-3));
  z-index: 200;
  will-change: transform;
}

/* ---------- Utilidades ---------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 24px;
}

.section { padding: 108px 0; position: relative; }
.section--tight { padding: 72px 0; }
.section--soft { background: var(--bg-soft); }

.section--dark {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.74);
}
.section--dark h2, .section--dark h3, .section--dark h4 { color: #fff; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--brand-3);
  margin-bottom: 16px;
}

.eyebrow::before {
  content: '';
  width: 26px; height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, currentColor);
  transform-origin: 0 50%;
  animation: line-in 0.8s var(--spring) both;
}

.section--dark .eyebrow { color: var(--brand); }

@keyframes line-in { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow::before { display: none; }

.section-title { font-size: clamp(1.95rem, 4vw, 2.9rem); margin-bottom: 16px; }
.section-sub { color: var(--ink-2); font-size: 1.06rem; max-width: 640px; }
.section-head--center .section-sub { margin-inline: auto; }
.section--dark .section-sub { color: rgba(255, 255, 255, 0.72); }

.grad {
  background: linear-gradient(100deg, var(--brand-2) 0%, var(--brand) 32%, var(--brand-3) 64%, var(--brand-2) 100%);
  background-size: 260% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: grad-slide 7s linear infinite;
}

@keyframes grad-slide {
  to { background-position: 260% center; }
}

/* ---------- Botones ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 28px;
  border-radius: 100px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
  border: 1.5px solid transparent;
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.28s var(--spring), box-shadow 0.28s var(--ease),
              background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
  white-space: nowrap;
}

/* Barrido de brillo al pasar el mouse */
.btn::after {
  content: '';
  position: absolute;
  top: 0; left: -120%;
  width: 60%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.42), transparent);
  transform: skewX(-18deg);
  transition: left 0.65s var(--ease);
}

.btn:hover::after { left: 130%; }

.btn--primary {
  background: linear-gradient(120deg, var(--brand-2), var(--brand-3));
  color: #fff;
  box-shadow: 0 6px 18px -6px rgba(32, 101, 143, 0.55);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -8px rgba(32, 101, 143, 0.5);
}

.btn--ghost {
  border-color: var(--line-2);
  color: var(--ink);
  background: #fff;
}

.btn--ghost:hover {
  border-color: var(--brand-2);
  color: var(--brand-3);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.section--dark .btn--ghost {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.28);
  color: #fff;
}
.section--dark .btn--ghost:hover { border-color: var(--brand); color: var(--brand); }

.btn--sm { padding: 10px 20px; font-size: 0.875rem; }
.btn--block { width: 100%; }

.btn--gva { background: var(--gva); color: #fff; box-shadow: 0 6px 18px -6px rgba(224, 98, 15, 0.5); }
.btn--gva:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -8px rgba(224, 98, 15, 0.45); }
.btn--adm { background: var(--adm); color: #fff; box-shadow: 0 6px 18px -6px rgba(13, 148, 136, 0.5); }
.btn--adm:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -8px rgba(13, 148, 136, 0.45); }

/* ---------- Navegación ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--nav-h);
  z-index: 100;
  display: flex;
  align-items: center;
  border-bottom: 1px solid transparent;
  transition: height 0.3s var(--ease), background 0.3s var(--ease),
              border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.nav.is-stuck {
  height: 76px;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-bottom-color: var(--line);
  box-shadow: 0 4px 24px -12px rgba(14, 36, 55, 0.18);
}

.nav__inner {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 24px;
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav__logo { display: flex; align-items: center; flex-shrink: 0; }
.nav__logo img { height: 54px; width: auto; transition: height 0.3s var(--ease); }
.nav.is-stuck .nav__logo img { height: 46px; }

.nav__menu { display: flex; align-items: center; gap: 3px; margin-left: auto; }

.nav__link {
  position: relative;
  padding: 9px 15px;
  font-size: 0.93rem;
  font-weight: 600;
  color: var(--ink-2);
  border-radius: 9px;
  transition: color 0.2s var(--ease);
}

.nav__link::after {
  content: '';
  position: absolute;
  left: 15px; right: 15px; bottom: 3px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 0.3s var(--spring);
}

.nav__link:hover { color: var(--ink); }
.nav__link:hover::after,
.nav__link.is-active::after { transform: scaleX(1); }
.nav__link.is-active { color: var(--brand-3); }

.nav__actions { display: flex; align-items: center; gap: 12px; margin-left: 8px; }

.nav__toggle {
  display: none;
  background: #fff;
  border: 1px solid var(--line-2);
  border-radius: 11px;
  width: 44px; height: 44px;
  color: var(--ink);
  cursor: pointer;
  margin-left: auto;
  align-items: center;
  justify-content: center;
}

/* Dropdown de productos */
.nav__item { position: relative; }

.nav__drop {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(-10px) scale(0.97);
  width: 340px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 8px;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s var(--spring);
}

.nav__item:hover .nav__drop,
.nav__item:focus-within .nav__drop {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0) scale(1);
}

.drop__item {
  display: flex;
  gap: 12px;
  padding: 12px;
  border-radius: 11px;
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
}

.drop__item:hover { background: var(--bg-soft); transform: translateX(3px); }

.drop__dot {
  width: 36px; height: 36px;
  border-radius: 10px;
  flex-shrink: 0;
  display: grid; place-items: center;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 0.78rem;
}

.drop__dot--gva { background: var(--gva-soft); color: var(--gva); }
.drop__dot--adm { background: var(--adm-soft); color: var(--adm); }

.drop__name { font-family: var(--font-head); font-weight: 700; font-size: 0.92rem; color: var(--ink); display: block; }
.drop__desc { font-size: 0.8rem; color: var(--ink-3); line-height: 1.45; display: block; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: calc(var(--nav-h) + 76px) 0 96px;
  overflow: hidden;
  background: linear-gradient(180deg, var(--brand-soft) 0%, #fff 62%);
}

.hero__bg { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }

.hero__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(61, 143, 196, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(61, 143, 196, 0.09) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 10%, #000 20%, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 10%, #000 20%, transparent 72%);
}

/* Manchas de color flotando */
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.5;
  will-change: transform;
}

.blob--1 { width: 460px; height: 380px; top: -120px; left: 4%;  background: #a9d2ee; animation: float-a 17s ease-in-out infinite; }
.blob--2 { width: 380px; height: 320px; top: 40px;  right: 2%;  background: #ffd6b0; animation: float-b 21s ease-in-out infinite; }
.blob--3 { width: 420px; height: 300px; bottom: -80px; left: 34%; background: #b7ece5; animation: float-c 19s ease-in-out infinite; }

@keyframes float-a {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(60px, 40px) scale(1.12); }
}
@keyframes float-b {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(-50px, 60px) scale(0.9); }
}
@keyframes float-c {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(40px, -50px) scale(1.1); }
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 16px 6px 6px;
  border: 1px solid var(--line-2);
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(6px);
  font-size: 0.82rem;
  color: var(--ink-2);
  margin-bottom: 26px;
  box-shadow: var(--shadow-sm);
}

.hero__badge b {
  background: linear-gradient(120deg, var(--brand-2), var(--brand-3));
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  padding: 4px 11px;
  border-radius: 100px;
  text-transform: uppercase;
}

.hero__title { font-size: clamp(2.35rem, 5vw, 3.75rem); margin-bottom: 22px; }
.hero__sub { font-size: clamp(1.02rem, 1.5vw, 1.15rem); color: var(--ink-2); max-width: 520px; margin-bottom: 34px; }
.hero__sub strong { color: var(--ink); font-weight: 700; }
.hero__cta { display: flex; gap: 13px; flex-wrap: wrap; margin-bottom: 30px; }

.hero__proof { display: flex; gap: 22px; flex-wrap: wrap; font-size: 0.88rem; color: var(--ink-3); }
.hero__proof span { display: inline-flex; align-items: center; gap: 7px; }
.hero__proof svg { color: var(--adm); }

/* Pila de tarjetas de sistema flotando (visual del hero) */
.stack { position: relative; height: 300px; perspective: 1200px; }

.scard {
  position: absolute;
  left: 0; right: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 22px 24px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 16px;
  transition: transform 0.45s var(--spring), box-shadow 0.45s var(--ease);
  will-change: transform;
}

.scard__ico {
  width: 48px; height: 48px;
  border-radius: 13px;
  display: grid; place-items: center;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 0.82rem;
  flex-shrink: 0;
}

.scard__name { display: block; font-family: var(--font-head); font-weight: 800; font-size: 1.05rem; color: var(--ink); letter-spacing: -0.02em; }
.scard__desc { display: block; font-size: 0.83rem; color: var(--ink-3); line-height: 1.45; }

.scard__pulse {
  margin-left: auto;
  width: 9px; height: 9px;
  border-radius: 50%;
  flex-shrink: 0;
  position: relative;
}

.scard__pulse::after {
  content: '';
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 2px solid currentColor;
  opacity: 0;
  animation: pulse-ring 2.4s ease-out infinite;
}

@keyframes pulse-ring {
  0%   { transform: scale(0.6); opacity: 0.8; }
  80%, 100% { transform: scale(1.5); opacity: 0; }
}

.scard--gva { top: 20px;  z-index: 2; animation: bob 6s ease-in-out infinite; }
.scard--adm { top: 160px; z-index: 1; animation: bob 6s ease-in-out 0.7s infinite; }

.scard--gva .scard__ico   { background: var(--gva-soft); color: var(--gva); }
.scard--gva .scard__pulse { background: var(--gva); color: var(--gva); }
.scard--adm .scard__ico   { background: var(--adm-soft); color: var(--adm); }
.scard--adm .scard__pulse { background: var(--adm); color: var(--adm); }

@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); }
}

.scard:hover { transform: translateY(-14px) scale(1.03); box-shadow: 0 30px 60px -20px rgba(20, 57, 92, 0.35); }

/* Línea que conecta la pila con NET */
.stack__link {
  position: absolute;
  left: -26px; top: 60px; bottom: 60px;
  width: 2px;
  background: linear-gradient(180deg, transparent, var(--brand), transparent);
}

/* ---------- Métricas ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.stat { background: #fff; padding: 32px 18px; text-align: center; transition: background 0.3s var(--ease); }
.stat:hover { background: var(--bg-soft); }

.stat__num {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  color: var(--brand-3);
  line-height: 1;
  margin-bottom: 8px;
}

.stat__label {
  font-size: 0.79rem;
  color: var(--ink-3);
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-weight: 700;
}

/* ---------- Tarjetas de producto ---------- */
.products { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }

.pcard {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 34px 30px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transform-style: preserve-3d;
  transition: transform 0.4s var(--spring), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
  box-shadow: var(--shadow-sm);
}

/* Halo que sigue al cursor */
.pcard::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 0%), var(--halo, rgba(145,190,221,.22)), transparent 62%);
  opacity: 0;
  transition: opacity 0.35s var(--ease);
  pointer-events: none;
}

.pcard:hover::before { opacity: 1; }
.pcard:hover { box-shadow: var(--shadow-lg); }

/* Barra de color superior */
.pcard::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--accent, var(--brand-2));
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 0.45s var(--spring);
}

.pcard:hover::after { transform: scaleX(1); }

.pcard--gva { --accent: var(--gva); --halo: rgba(224,98,15,.13); }
.pcard--adm { --accent: var(--adm); --halo: rgba(13,148,136,.13); }

.pcard--gva:hover { border-color: rgba(224, 98, 15, 0.4); }
.pcard--adm:hover { border-color: rgba(13, 148, 136, 0.4); }

.pcard__body { position: relative; z-index: 1; display: flex; flex-direction: column; height: 100%; }

.pcard__logo {
  width: 54px; height: 54px;
  border-radius: 15px;
  display: grid; place-items: center;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 0.88rem;
  margin-bottom: 20px;
  transition: transform 0.4s var(--spring);
}

.pcard:hover .pcard__logo { transform: scale(1.08) rotate(-4deg); }

.pcard--gva .pcard__logo { background: var(--gva-soft); color: var(--gva); }
.pcard--adm .pcard__logo { background: var(--adm-soft); color: var(--adm); }

.pcard__name { font-family: var(--font-head); font-size: 1.55rem; font-weight: 800; letter-spacing: -0.03em; color: var(--ink); margin-bottom: 4px; }
.pcard--gva .pcard__name b { color: var(--gva); }
.pcard--adm .pcard__name b { color: var(--adm); }

.pcard__for { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.11em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 16px; }
.pcard__desc { color: var(--ink-2); margin-bottom: 22px; font-size: 0.95rem; }

.pcard__list { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 10px; }

.pcard__list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.9rem;
  color: var(--ink-2);
}

.pcard__list svg { flex-shrink: 0; margin-top: 4px; color: var(--accent); }

.pcard__actions { margin-top: auto; display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------- Explorador de sistemas (tabs) ---------- */
.explorer {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.tabs {
  display: flex;
  gap: 4px;
  padding: 10px;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
  overflow-x: auto;
  scrollbar-width: none;
}
.tabs::-webkit-scrollbar { display: none; }

.tab {
  flex: 1;
  min-width: 150px;
  padding: 13px 18px;
  border: none;
  background: transparent;
  border-radius: 11px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--ink-3);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.25s var(--ease);
}

.tab:hover { color: var(--ink); background: rgba(255, 255, 255, 0.7); }

.tab.is-active { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }
.tab.is-active[data-sys="gva"] { color: var(--gva); }
.tab.is-active[data-sys="adm"] { color: var(--adm); }

.panel { display: none; padding: 44px; }
.panel.is-active { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; animation: panel-in 0.5s var(--spring) both; }

@keyframes panel-in {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}

.panel__tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 100px;
  margin-bottom: 16px;
}

.panel h3 { font-size: clamp(1.45rem, 2.6vw, 1.95rem); margin-bottom: 14px; }
.panel > div > p { color: var(--ink-2); margin-bottom: 24px; }

.panel__list { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 12px; }
.panel__list li { display: flex; gap: 11px; font-size: 0.94rem; color: var(--ink-2); }
.panel__list svg { flex-shrink: 0; margin-top: 4px; }

/* Mockup de "app" dentro del panel */
.mock {
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow);
}

.mock__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 11px 14px;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
}

.mock__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--line-2); }

.mock__url {
  margin-left: 10px;
  font-size: 0.72rem;
  color: var(--ink-3);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 3px 12px;
}

.mock__body { padding: 18px; display: grid; gap: 10px; }

.mock__row {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px 13px;
  border: 1px solid var(--line);
  border-radius: 11px;
  font-size: 0.82rem;
  color: var(--ink-2);
  background: #fff;
  animation: row-in 0.5s var(--spring) both;
}

.mock__row:nth-child(1) { animation-delay: 0.06s; }
.mock__row:nth-child(2) { animation-delay: 0.14s; }
.mock__row:nth-child(3) { animation-delay: 0.22s; }
.mock__row:nth-child(4) { animation-delay: 0.3s; }

@keyframes row-in {
  from { opacity: 0; transform: translateX(14px); }
  to   { opacity: 1; transform: none; }
}

.mock__chip {
  margin-left: auto;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 100px;
  white-space: nowrap;
}

.mock__ico { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; flex-shrink: 0; }

/* ---------- Features ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.features--2 { grid-template-columns: repeat(2, 1fr); max-width: 800px; margin-inline: auto; }

.feature {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  transition: transform 0.35s var(--spring), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}

.feature:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--line-2); }

.feature__icon {
  width: 48px; height: 48px;
  border-radius: 13px;
  background: var(--brand-soft);
  color: var(--brand-3);
  display: grid; place-items: center;
  margin-bottom: 20px;
  transition: transform 0.35s var(--spring), background 0.35s var(--ease);
}

.feature:hover .feature__icon { transform: scale(1.1) rotate(-5deg); background: var(--brand); color: #fff; }

.feature__title { font-family: var(--font-head); font-size: 1.06rem; font-weight: 700; margin-bottom: 9px; color: var(--ink); }
.feature__text { color: var(--ink-2); font-size: 0.92rem; }

.section--dark .feature {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.12);
}
.section--dark .feature:hover { background: rgba(255, 255, 255, 0.08); border-color: rgba(145, 190, 221, 0.45); }
.section--dark .feature__icon { background: rgba(145, 190, 221, 0.16); color: var(--brand); }
.section--dark .feature:hover .feature__icon { background: var(--brand); color: var(--navy); }
.section--dark .feature__text { color: rgba(255, 255, 255, 0.7); }

/* ---------- Ecosistema ---------- */
.eco { display: grid; grid-template-columns: 1fr 1.05fr; gap: 64px; align-items: center; }

.eco__diagram {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: radial-gradient(circle at 50% 22%, var(--brand-soft), #fff 62%);
  padding: 44px 30px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

/* Anillos que se expanden detrás del core */
.eco__ripple {
  position: absolute;
  top: 78px; left: 50%;
  width: 120px; height: 120px;
  margin-left: -60px;
  border-radius: 50%;
  border: 1.5px solid var(--brand);
  opacity: 0;
  animation: ripple 4s ease-out infinite;
}
.eco__ripple:nth-of-type(2) { animation-delay: 1.33s; }
.eco__ripple:nth-of-type(3) { animation-delay: 2.66s; }

@keyframes ripple {
  0%   { transform: scale(0.6); opacity: 0.55; }
  100% { transform: scale(2.6); opacity: 0; }
}

.eco__core {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 18px 32px;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
  margin-bottom: 6px;
}

.eco__core span { font-family: var(--font-head); font-weight: 800; font-size: 1.1rem; color: var(--ink); letter-spacing: -0.02em; }
.eco__core small { font-size: 0.7rem; color: var(--ink-3); letter-spacing: 0.11em; text-transform: uppercase; font-weight: 700; }

.eco__branch { position: relative; width: 2px; height: 38px; background: var(--line-2); margin-inline: auto; overflow: hidden; }

.eco__branch::after {
  content: '';
  position: absolute;
  left: 0; width: 2px; height: 14px;
  background: var(--brand-2);
  animation: flow 2s linear infinite;
}

@keyframes flow {
  from { top: -14px; }
  to   { top: 38px; }
}

.eco__nodes { position: relative; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }

.eco__node {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px 10px;
  background: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--ink);
  transition: transform 0.3s var(--spring), box-shadow 0.3s var(--ease);
}

.eco__node:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }

.eco__node small {
  display: block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.72rem;
  color: var(--ink-3);
  margin-top: 5px;
}

.eco__node--gva { border-top: 3px solid var(--gva); }
.eco__node--adm { border-top: 3px solid var(--adm); }

.eco__points { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 20px; }
.eco__points li { display: flex; gap: 15px; }
.eco__points b { font-family: var(--font-head); display: block; margin-bottom: 3px; color: var(--ink); }
.eco__points p { color: var(--ink-2); font-size: 0.93rem; }

.eco__num {
  flex-shrink: 0;
  width: 32px; height: 32px;
  border-radius: 10px;
  background: var(--brand-soft);
  color: var(--brand-3);
  display: grid; place-items: center;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 0.8rem;
}

/* ---------- CTA ---------- */
.cta {
  position: relative;
  border-radius: var(--radius-lg);
  background: linear-gradient(125deg, var(--navy) 0%, #17456e 55%, var(--brand-3) 100%);
  padding: 68px 40px;
  text-align: center;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(ellipse 70% 90% at 50% 50%, #000, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse 70% 90% at 50% 50%, #000, transparent 72%);
}

.cta > * { position: relative; z-index: 1; }
.cta__title { font-size: clamp(1.75rem, 3.4vw, 2.5rem); color: #fff; margin-bottom: 14px; }
.cta__sub { color: rgba(255, 255, 255, 0.8); max-width: 540px; margin: 0 auto 32px; }
.cta__actions { display: flex; gap: 13px; justify-content: center; flex-wrap: wrap; }

.cta .btn--primary { background: #fff; color: var(--brand-3); box-shadow: 0 8px 24px -8px rgba(0, 0, 0, 0.45); }
.cta .btn--ghost { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.35); color: #fff; }
.cta .btn--ghost:hover { background: rgba(255, 255, 255, 0.16); border-color: #fff; color: #fff; }

/* ---------- Contacto ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; }

.info-list { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 20px; }
.info-list li { display: flex; gap: 15px; align-items: flex-start; }

.info-list .ico {
  width: 42px; height: 42px;
  border-radius: 12px;
  background: var(--brand-soft);
  color: var(--brand-3);
  display: grid; place-items: center;
  flex-shrink: 0;
}

.info-list b { font-family: var(--font-head); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-3); display: block; margin-bottom: 2px; font-weight: 700; }
.info-list a, .info-list span { color: var(--ink); font-size: 0.97rem; }
.info-list a:hover { color: var(--brand-3); }

.form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 34px; box-shadow: var(--shadow); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 18px; }

.field label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 8px;
}

.field input, .field select, .field textarea {
  width: 100%;
  padding: 13px 15px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 11px;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease);
}

.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  background: #fff;
  border-color: var(--brand-2);
  box-shadow: 0 0 0 3px rgba(61, 143, 196, 0.16);
}

.field textarea { resize: vertical; min-height: 116px; }

.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%238098ac' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  padding-right: 40px;
}

.form__note { font-size: 0.8rem; color: var(--ink-3); margin-top: 14px; text-align: center; }
.form__msg { display: none; margin-top: 16px; padding: 13px 16px; border-radius: 11px; font-size: 0.9rem; }
.form__msg.is-ok  { display: block; background: var(--adm-soft); border: 1px solid rgba(13, 148, 136, 0.3); color: #0b7268; }
.form__msg.is-err { display: block; background: #fdecec; border: 1px solid #f5c2c2; color: #b3261e; }

/* ---------- Footer ---------- */
.footer { background: var(--navy); color: rgba(255, 255, 255, 0.68); padding: 64px 0 28px; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 44px; margin-bottom: 48px; }
.footer__logo img { height: 66px; margin-bottom: 18px; }
.footer__about { font-size: 0.92rem; max-width: 300px; }

.footer h4 {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--brand);
  margin-bottom: 18px;
  font-weight: 700;
}

.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; }
.footer ul a { font-size: 0.92rem; transition: color 0.2s var(--ease), padding-left 0.2s var(--ease); }
.footer ul a:hover { color: var(--brand); padding-left: 4px; }

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 26px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

.socials { display: flex; gap: 10px; }

.socials a {
  width: 38px; height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 11px;
  display: grid; place-items: center;
  color: rgba(255, 255, 255, 0.7);
  transition: all 0.28s var(--spring);
}

.socials a:hover { border-color: var(--brand); color: var(--navy); background: var(--brand); transform: translateY(-3px); }

/* ---------- WhatsApp flotante ---------- */
.wa-float {
  position: fixed;
  bottom: 24px; right: 24px;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: grid; place-items: center;
  z-index: 90;
  box-shadow: 0 10px 28px -6px rgba(37, 211, 102, 0.55);
  transition: transform 0.3s var(--spring);
}

.wa-float::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid #25d366;
  animation: pulse-ring 2.8s ease-out infinite;
}

.wa-float:hover { transform: scale(1.1); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.75s var(--ease), transform 0.75s var(--spring); }
.reveal.is-in { opacity: 1; transform: none; }

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

/* ---------- Página interna (subhero) ---------- */
.subhero {
  position: relative;
  padding: calc(var(--nav-h) + 70px) 0 64px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, var(--tint, var(--brand-soft)) 0%, #fff 78%);
}

.subhero__inner { position: relative; z-index: 1; max-width: 780px; }
.crumbs { font-size: 0.85rem; color: var(--ink-3); margin-bottom: 18px; }
.crumbs a:hover { color: var(--brand-3); }
.subhero h1 { font-size: clamp(2rem, 4.6vw, 3.15rem); margin-bottom: 18px; }
.subhero > .wrap > p { color: var(--ink-2); font-size: 1.06rem; max-width: 620px; margin-bottom: 28px; }
.subhero__cta { display: flex; gap: 13px; flex-wrap: wrap; }

/* Módulos numerados */
.modules { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }

.module {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 24px;
  transition: transform 0.35s var(--spring), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}

.module:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--line-2); }
.module__n { font-family: var(--font-head); font-size: 0.76rem; font-weight: 800; color: var(--ink-3); margin-bottom: 12px; letter-spacing: 0.06em; }
.module h3 { font-size: 1rem; margin-bottom: 8px; }
.module p { font-size: 0.88rem; color: var(--ink-2); }

/* ---------- Responsive ---------- */
@media (max-width: 1040px) {
  .hero__inner { grid-template-columns: 1fr; gap: 44px; }
  .hero__sub { max-width: none; }
  .stack { height: 280px; max-width: 520px; }
  .stack__link { display: none; }
}

@media (max-width: 980px) {
  .section { padding: 80px 0; }
  .features, .modules { grid-template-columns: 1fr 1fr; }
  .features--2 { max-width: none; }
  .eco { grid-template-columns: 1fr; gap: 40px; }
  .contact { grid-template-columns: 1fr; gap: 36px; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 34px; }
  .panel.is-active { grid-template-columns: 1fr; gap: 32px; }
  .panel { padding: 32px; }
}

@media (max-width: 760px) {
  :root { --nav-h: 78px; }

  .nav__menu, .nav__actions { display: none; }
  .nav__toggle { display: flex; }

  .nav.is-open { height: auto; background: #fff; box-shadow: var(--shadow); }
  .nav.is-open .nav__inner { flex-wrap: wrap; padding-block: 14px; }
  .nav.is-open .nav__menu { display: flex; flex-direction: column; align-items: stretch; width: 100%; margin: 12px 0 0; gap: 2px; }
  .nav.is-open .nav__link { padding: 13px 14px; }
  .nav.is-open .nav__link::after { display: none; }
  .nav.is-open .nav__drop {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    width: 100%;
    box-shadow: none;
    background: var(--bg-soft);
    border: none;
    padding: 4px;
    margin-bottom: 6px;
  }
  .nav.is-open .nav__actions { display: flex; width: 100%; margin: 12px 0 4px; }
  .nav.is-open .nav__actions .btn { flex: 1; }
  .nav__logo img, .nav.is-stuck .nav__logo img { height: 42px; }

  .hero { padding-top: calc(var(--nav-h) + 48px); }
  .stack { height: 270px; }
  .scard { padding: 18px; }
  .scard--gva { top: 10px; }
  .scard--adm { top: 145px; }

  .stats { grid-template-columns: 1fr 1fr; }
  .products, .features, .modules { grid-template-columns: 1fr; }
  .pcard { padding: 28px 24px; }
  .pcard__actions .btn { flex: 1 1 100%; }
  .form__row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .cta { padding: 48px 24px; }
  .form { padding: 26px; }
  .panel { padding: 26px 20px; }
  .tab { min-width: 130px; font-size: 0.86rem; padding: 11px 14px; }
}
