:root {
  --navy: #001030;
  --navy-2: #001848;
  --navy-3: #001236;
  --card: #071844;
  --blue: #1858f8;
  --blue-2: #0f46d4;
  --blue-soft: #e8f0ff;
  --cyan: #7eb0ff;
  --ink: #0b1a3a;
  --muted: #5c6d86;
  --light: #f0f7fd;
  --line: #dde6f2;
  --white: #fff;
  --shadow: 0 24px 60px rgba(8, 18, 40, 0.14);
  --shadow-sm: 0 10px 30px rgba(8, 18, 40, 0.08);
  --radius: 20px;
  --header: 76px;
  --font: "Plus Jakarta Sans", "Segoe UI", sans-serif;
  --max: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; }
a { color: inherit; }
h1, h2, h3, p, figure { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

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

.container { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
section[id] { scroll-margin-top: 88px; }

.ic {
  width: 20px;
  height: 20px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pending {
  border-bottom: 1px dashed currentColor;
  cursor: help;
}

/* ---------- Header (sin cambios) ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  height: var(--header);
  display: flex;
  align-items: center;
  background: rgba(0, 16, 48, 0.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  color: #fff;
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 18px;
  width: min(var(--max), calc(100% - 40px));
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.08em;
  font-size: 18px;
}
.brand img { width: 34px; height: 40px; object-fit: contain; }
.nav-pill {
  display: flex;
  gap: 2px;
  margin: 0 auto;
  padding: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.nav-pill a {
  text-decoration: none;
  color: #d7e4f8;
  font-size: 14px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 999px;
}
.nav-pill a:hover,
.nav-pill a.is-active {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}
.header-actions { display: flex; align-items: center; gap: 14px; }
.lang {
  display: flex;
  gap: 6px;
  color: #9eb0c9;
  font-size: 13px;
  font-weight: 700;
}
.lang button {
  background: none;
  border: 0;
  color: inherit;
  cursor: pointer;
  padding: 0;
}
.lang button.is-active { color: #fff; }
.text-link {
  color: #d7e4f8;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}
.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: transparent;
  padding: 10px;
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: #fff;
  border-radius: 2px;
}

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  padding: 14px 22px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.btn .ic { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-1px); }
.btn-sm { padding: 10px 16px; font-size: 14px; }
.nav-cta { white-space: nowrap; line-height: 1.15; flex: none; }
.nav-cta-short { display: none; }
.btn-block { width: 100%; }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 8px 18px rgba(24, 88, 248, 0.28); }
.btn-primary:hover { background: var(--blue-2); }
.btn-outline { background: #fff; color: var(--blue); border-color: #bfd2f5; }
.btn-outline:hover { border-color: var(--blue); }

/* ---------- Tipografía de sección ---------- */
.kicker {
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.dark .kicker { color: var(--cyan); }
h2 {
  font-size: clamp(30px, 3.4vw, 44px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 800;
  max-width: 16ch;
}
h2.center { text-align: center; margin: 0 auto 44px; max-width: none; }
h2.h3 { font-size: clamp(24px, 2.4vw, 30px); max-width: 24ch; }
h3 { font-size: 18px; font-weight: 800; letter-spacing: -0.01em; }
.prose { color: var(--muted); font-size: 17px; max-width: 52ch; margin-top: 16px; }
.dark .prose { color: #b7c6dc; }
.prose + .btn { margin-top: 28px; }

.section { padding: 88px 0; }
.section.tight { padding: 56px 0; }
.section.light { background: var(--light); }
.section.dark { background: var(--navy-3); color: #fff; }
.section-head { margin-bottom: 28px; }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.icon-ring {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--blue-soft);
  color: var(--blue);
  flex: none;
}
.icon-ring .ic { width: 28px; height: 28px; }
.icon-ring.sm { width: 46px; height: 46px; border-radius: 14px; }
.icon-ring.sm .ic { width: 22px; height: 22px; }
.tint-green { background: #e6f7ee; color: #1b9a56; }
.tint-violet { background: #efe9ff; color: #6e4ff2; }
.tint-orange { background: #ffefe6; color: #e8641b; }
.tint-gold { background: #fff6dc; color: #d59a00; }

.card {
  background: #fff;
  color: var(--ink);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--navy);
  color: #fff;
  padding: 28px 0 8px;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 12px;
  align-items: center;
}
.eyebrow {
  color: var(--cyan);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
h1 {
  font-size: clamp(40px, 4.8vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.04em;
  font-weight: 800;
  max-width: 15ch;
}
h1 .accent { color: #4d86ff; }
.lead { color: #b7c6dc; font-size: 17px; max-width: 52ch; margin: 18px 0 28px; line-height: 1.55; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; }
.hero-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}
.hero-link .ic { width: 18px; height: 18px; }
.hero-link:hover { color: #d6e4ff; }
.trust {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 22px;
  margin-top: 36px;
  padding-top: 4px;
}
.trust li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #d5e3f7;
  font-size: 13px;
  font-weight: 600;
}
.trust .ic { width: 18px; height: 18px; color: #9eb6ff; }

.hero-visual {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.hero-orbit {
  position: absolute;
  width: 560px;
  height: 560px;
  right: -20px;
  top: 46%;
  transform: translateY(-50%);
  border-radius: 50%;
  background: radial-gradient(circle at 42% 42%, #4d86ff 0%, #1858f8 46%, #0c3ec8 78%);
  box-shadow:
    0 0 0 22px rgba(24, 88, 248, 0.08),
    0 0 0 42px rgba(47, 107, 255, 0.55),
    0 0 0 64px rgba(24, 88, 248, 0.16);
  z-index: 0;
}
.hero-visual img {
  position: relative;
  z-index: 1;
  width: min(100%, 560px);
  height: 580px;
  object-fit: contain;
  object-position: center bottom;
}

/* ---------- Tres frentes ---------- */
.fronts {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 24px;
  align-items: start;
}
.fronts li:not(.arrow) { display: flex; gap: 18px; align-items: flex-start; }
.fronts .index {
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.fronts h3 { font-size: 20px; margin-bottom: 8px; }
.fronts p:not(.index) { color: var(--muted); font-size: 15px; }
.fronts .arrow { color: #a9b8cf; padding-top: 18px; }
.fronts .arrow .ic { width: 26px; height: 26px; }

/* ---------- Video ---------- */
.video-card {
  background: #000a22;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.video-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 640px;
  max-width: 100%;
  overflow: hidden;
  background: #000a22;
}
.video-stage video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000a22;
}
.video-play {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, rgba(0, 10, 34, 0.15), rgba(0, 10, 34, 0.55));
  border: 0;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}
.play-disc {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--blue);
  box-shadow: 0 18px 40px rgba(24, 88, 248, 0.45);
}
.play-disc svg { width: 34px; height: 34px; fill: #fff; }
.video-stage.is-playing .video-play { display: none; }
.player-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  color: #9eb0c9;
  font-size: 13px;
  font-weight: 700;
}
.player-bar span { width: 10px; height: 10px; border-radius: 50%; background: var(--blue); }
.player-bar i { flex: 1; height: 4px; border-radius: 99px; background: linear-gradient(90deg, var(--blue) 8%, rgba(255, 255, 255, 0.12) 8%); }
.video-card:has(.is-playing) .player-bar { display: none; }

/* ---------- Consultoría ---------- */
.feature-list { display: grid; gap: 22px; margin: 28px 0 32px; }
.feature-list li { display: flex; gap: 16px; align-items: flex-start; }
.feature-list strong { display: block; font-size: 16px; margin-bottom: 2px; }
.feature-list p { color: var(--muted); font-size: 15px; }

.result-card { padding: 28px; }
.result-card header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}
.result-card header strong { font-size: 16px; }
.tag {
  background: var(--blue-soft);
  color: var(--blue);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: 999px;
  white-space: nowrap;
}
.score { display: flex; align-items: baseline; gap: 10px; margin-bottom: 26px; }
.score b { font-size: 64px; line-height: 1; letter-spacing: -0.05em; color: var(--blue); }
.score .of { font-size: 40px; font-weight: 700; color: #a9b8cf; letter-spacing: -0.04em; }
.score .level { margin-left: 14px; font-size: 16px; color: var(--muted); }
.score .level strong { color: var(--ink); }
.bars { display: grid; gap: 16px; }
.bars li { display: flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 600; }
.bars .ic { color: var(--blue); }
.bars span { width: 88px; color: var(--muted); }
.bars i { flex: 1; height: 8px; border-radius: 99px; background: linear-gradient(90deg, var(--blue) var(--w), #e7eef8 var(--w)); }
.bars b { width: 28px; text-align: right; }
.card-foot {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 26px;
  padding: 16px 18px;
  border-radius: 14px;
  background: var(--light);
  color: var(--ink);
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
}
.card-foot .ic:first-child { color: var(--blue); }
.card-foot span { flex: 1; }
.card-foot .ic:last-child { color: var(--muted); }

/* ---------- CIFRE GRC ---------- */
.grc-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  margin-bottom: 36px;
}
.grc-head h2 { max-width: 22ch; }
.grc-head .btn { flex: none; }

.grc-window {
  --g-line: #dce3f5;
  --g-soft: #f3f6ff;
  --g-muted: #3d4866;
  --g-ink: #0b1430;
  --g-crit: #c2410c;
  --g-mono: ui-monospace, SFMono-Regular, Menlo, monospace;
  margin: 0;
  background: #fff;
  color: var(--g-ink);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 40px 90px rgba(0, 6, 30, 0.55);
  font-size: 12.5px;
  line-height: 1.35;
}
.grc-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: var(--g-soft);
  border-bottom: 1px solid var(--g-line);
}
.grc-bar span { width: 10px; height: 10px; border-radius: 50%; background: #b7c3e6; }
.grc-bar em {
  margin-left: 10px;
  font-style: normal;
  font-size: 11px;
  color: #7e8db0;
  background: #fff;
  border: 1px solid var(--g-line);
  border-radius: 6px;
  padding: 3px 10px;
}
.grc-bar em i { font-style: normal; }

.grc-app { display: grid; grid-template-columns: 196px minmax(0, 1fr); }
.grc-side {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 18px 14px;
  background: #07102a;
  color: #fff;
}
.grc-brand { display: flex; align-items: center; gap: 8px; padding: 0 4px; font-weight: 800; font-size: 14px; letter-spacing: 0.04em; }
.grc-brand-mark { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 7px; background: var(--blue); }
.grc-brand-mark .ic { width: 15px; height: 15px; }
.grc-org { display: grid; gap: 2px; padding: 8px 10px; border: 1px solid #1f3170; background: #0e1b44; border-radius: 9px; }
.grc-org small { font: 600 9.5px/1.2 var(--g-mono); letter-spacing: 0.05em; color: #9db4ff; }
.grc-org b { font-size: 12.5px; font-weight: 600; }
.grc-side nav { display: grid; gap: 3px; font-size: 13px; }
.grc-side nav span { padding: 8px 10px; border-radius: 8px; color: #c9d3ee; }
.grc-side nav .on { background: var(--blue); color: #fff; font-weight: 600; }
.grc-user { display: flex; align-items: center; gap: 8px; margin-top: auto; padding: 0 4px; }
.grc-user > span { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #1f3170; font-size: 11px; font-weight: 600; }
.grc-user b { display: block; font-size: 12px; font-weight: 600; }
.grc-user small { font-size: 10.5px; color: #b7c3e6; }

.grc-main { display: flex; flex-direction: column; gap: 12px; padding: 18px 20px; background: var(--g-soft); min-width: 0; }
.grc-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.grc-top h3 { display: inline; margin-right: 10px; font-size: 19px; font-weight: 700; letter-spacing: -0.01em; }
.grc-top > div:first-child > span { font-size: 12px; color: var(--g-muted); }
.grc-top > div:last-child { display: flex; align-items: center; gap: 8px; }
.grc-pill { font: 600 10px/1 var(--g-mono); letter-spacing: 0.02em; color: var(--g-muted); border: 1px solid var(--g-line); background: #fff; border-radius: 999px; padding: 5px 9px; }
.grc-btn { display: inline-block; background: var(--blue); color: #fff; font-size: 12px; font-weight: 600; padding: 7px 12px; border-radius: 8px; }
.grc-btn.dark { background: var(--g-ink); font-size: 11.5px; padding: 5px 10px; border-radius: 6px; }
.grc-btn.ghost { background: #fff; color: var(--g-ink); border: 1px solid var(--g-line); font-size: 11.5px; padding: 4px 10px; border-radius: 6px; }

.grc-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.grc-kpis > div { display: grid; gap: 2px; padding: 12px 14px; background: #fff; border: 1px solid var(--g-line); border-radius: 12px; }
.grc-kpis small { font-size: 11.5px; color: var(--g-muted); }
.grc-kpis b { font-size: 24px; font-weight: 800; letter-spacing: -0.01em; }
.grc-window .crit { color: var(--g-crit); }
.grc-window .blue { color: var(--blue); }

.grc-panels { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr) minmax(0, 1.05fr); gap: 12px; }
.grc-panel { display: flex; flex-direction: column; gap: 10px; padding: 14px 16px; background: #fff; border: 1px solid var(--g-line); border-radius: 12px; }
.grc-panel h4 { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin: 0; font-size: 14px; font-weight: 700; }
.grc-panel h4 { flex-wrap: wrap; }
.grc-panel h4 .sub { flex-basis: 100%; font-size: 10.5px; font-weight: 400; color: var(--g-muted); }
.grc-fw { display: grid; gap: 5px; }
.grc-fw > div { display: flex; justify-content: space-between; font-size: 12px; }
.grc-fw b { font-weight: 600; }
.grc-fw > div span { font-family: var(--g-mono); }
.grc-fw i { display: block; height: 7px; border-radius: 999px; background: linear-gradient(90deg, var(--blue) var(--w), #e6ecfa var(--w)); }
.grc-fw small { font-size: 10.5px; color: var(--g-muted); }
.grc-note { margin-top: auto; padding: 8px 10px; background: var(--g-soft); border-radius: 8px; font-size: 11.5px; color: var(--g-muted); }
.grc-note strong { color: var(--g-ink); }

.grc-heat-wrap { display: flex; gap: 6px; flex: 1; }
.grc-axis-y { align-self: center; writing-mode: vertical-rl; transform: rotate(180deg); font-size: 10.5px; color: var(--g-muted); }
.grc-heat-wrap > div { flex: 1; display: flex; flex-direction: column; gap: 5px; }
.grc-heat { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; font-size: 13px; font-weight: 700; }
.grc-heat span { aspect-ratio: 1.2; display: grid; place-items: center; border-radius: 5px; background: #e6ecfa; }
.grc-panels > .grc-panel:first-child { gap: 14px; }
.grc-heat .m, .grc-legend .m { background: #ffe2b8; }
.grc-heat .h, .grc-legend .h { background: #f59e4c; }
.grc-heat .c, .grc-legend .c { background: var(--g-crit); color: #fff; }
.grc-axis-x { text-align: center; font-size: 10.5px; color: var(--g-muted); }
.grc-legend { display: flex; flex-wrap: wrap; gap: 10px; font-size: 10.5px; color: var(--g-muted); }
.grc-legend span { display: flex; align-items: center; gap: 5px; }
.grc-legend i { width: 11px; height: 11px; border-radius: 3px; background: #e6ecfa; border: 1px solid var(--g-line); }
.grc-legend em { font-style: normal; }

.grc-col { display: flex; flex-direction: column; gap: 12px; }
.grc-col .grc-panel:last-child { flex: 1; }
.grc-count { font-size: 10.5px; font-weight: 600; color: #fff; background: var(--blue); border-radius: 999px; padding: 2px 8px; }
.grc-item { display: grid; gap: 5px; padding: 10px; border: 1px solid var(--g-line); border-radius: 9px; }
.grc-item b { font-size: 12.5px; font-weight: 600; }
.grc-item small { font-size: 11.5px; color: var(--g-muted); }
.grc-item small strong { color: var(--g-ink); }
.grc-item > div { display: flex; gap: 6px; padding-top: 2px; }
.grc-row { display: flex; justify-content: space-between; gap: 8px; padding: 4px 0; font-size: 11.5px; border-bottom: 1px solid #eef2fb; }
.grc-row:last-child { border-bottom: 0; }
.grc-row em { font-style: normal; font-family: var(--g-mono); color: var(--g-muted); white-space: nowrap; }

/* ---------- Tecnología ---------- */
.kicker-row { display: flex; align-items: center; gap: 18px; margin-bottom: 14px; }
.kicker-row .kicker { margin: 0; }
.gseit-logo { width: 84px; height: auto; }
.tile-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.tile-grid li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 22px 12px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  text-align: center;
  font-size: 13px;
  font-weight: 700;
}
.tile-grid .ic { width: 28px; height: 28px; color: var(--blue); }
.flow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin-top: 22px;
  font-size: 14px;
  font-weight: 800;
  color: var(--ink);
}
.flow .sep { color: #a9b8cf; font-weight: 400; }
.flow.light { color: #fff; margin-top: 34px; }
.flow.light .sep { color: #5f7fb8; }

.partners {
  margin-top: 64px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  text-align: center;
}
.partners p {
  color: var(--blue);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 22px;
}
.partners ul { display: flex; justify-content: center; align-items: center; gap: 56px; flex-wrap: wrap; color: #8d9bb3; }
.partners li { font-weight: 800; letter-spacing: 0.02em; }
.logo-veeam { font-size: 24px; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 600; }
.logo-acronis { font-size: 24px; font-weight: 500; letter-spacing: 0.02em; }
.logo-fortinet { font-size: 20px; letter-spacing: 0.08em; }
.logo-fortinet span { letter-spacing: -0.1em; }
.logo-aws { position: relative; font-size: 26px; letter-spacing: -0.04em; text-transform: lowercase; }
.logo-aws i { position: absolute; left: 2px; right: 0; bottom: -4px; height: 8px; border-bottom: 2px solid #f5a524; border-radius: 0 0 60% 60%; }

/* ---------- Academy ---------- */
.academy-top { align-items: center; margin-bottom: 56px; }
.feature-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 30px; }
.feature-row li { display: grid; gap: 8px; align-content: start; }
.feature-row strong { font-size: 15px; }
.feature-row p { color: var(--muted); font-size: 14px; }
.academy-figure {
  position: relative;
  display: flex;
  justify-content: flex-end;
}
.academy-figure img {
  width: min(100%, 460px);
  border-radius: 24px;
  box-shadow: var(--shadow);
}
.route-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.route {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow-sm);
  text-align: left;
  font-weight: 800;
  font-size: 14px;
  cursor: pointer;
  color: var(--ink);
}
.route > span:not(.icon-ring) { flex: 1; }
.route .chev { color: var(--blue); transition: transform 0.2s ease; }
.route[aria-expanded="true"] { border-color: var(--blue); }
.route[aria-expanded="true"] .chev { transform: rotate(90deg); }
.route-detail {
  margin-top: 14px;
  padding: 16px 18px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 15px;
}
.academy-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 26px; }
.fine { color: #8d9bb3; font-size: 12px; margin-left: auto; max-width: 48ch; }

/* ---------- Para quién ---------- */
.audience {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 40px;
}
.audience li { display: flex; align-items: center; gap: 14px; font-weight: 800; font-size: 15px; }

/* ---------- Caso piloto ---------- */
.case { grid-template-columns: 1.1fr 0.9fr; }
.stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 26px 20px;
}
.stats div { display: flex; align-items: center; gap: 14px; justify-content: center; }
.stats div + div { border-left: 1px solid var(--line); }
.stats b { font-size: 56px; line-height: 1; letter-spacing: -0.05em; color: var(--blue); border: 0; }
.stats span { color: var(--muted); font-size: 14px; font-weight: 600; max-width: 10ch; line-height: 1.3; }

/* ---------- Contacto ---------- */
.contact { align-items: start; }
.contact-list { display: grid; gap: 16px; margin-top: 30px; }
.contact-list li { display: flex; align-items: center; gap: 12px; font-size: 15px; }
.contact-list .ic { color: var(--cyan); }
.contact-list a { color: #fff; text-decoration: none; font-weight: 600; }
.contact-form { padding: 26px; display: grid; gap: 14px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-form label { display: grid; gap: 6px; font-size: 12px; font-weight: 700; color: var(--muted); }
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  background: #fbfcfe;
  color: var(--ink);
  font-weight: 500;
  font-size: 14px;
}
.contact-form textarea { resize: vertical; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
  outline: 2px solid var(--blue);
  outline-offset: 0;
  border-color: var(--blue);
}
.field-error { border-color: #e5484d !important; }
.check { display: flex !important; align-items: flex-start; gap: 10px; font-weight: 500 !important; font-size: 12px !important; }
.check input { width: 16px; height: 16px; margin-top: 2px; flex: none; }
.check a { color: var(--blue); font-weight: 700; text-decoration: none; }
.check a:hover { text-decoration: underline; }
.form-note { color: #8d9bb3; font-size: 12px; text-align: center; }
.form-status { font-size: 14px; font-weight: 600; text-align: center; min-height: 1.5em; }
.form-status.is-error { color: #b42318; }
.form-status.is-ok { color: #0f7a45; }
.form-status.is-info { color: var(--muted); }
.contact-form.is-sending button[type="submit"] { opacity: .7; pointer-events: none; }

/* Honeypot: fuera de pantalla, nunca display:none (algunos bots lo detectan) */
.contact-form .hp {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.contact-form { position: relative; }

/* Cloudflare Turnstile */
.captcha { display: grid; gap: 6px; justify-items: center; width: 100%; }
.captcha-widget { min-height: 65px; width: min(100%, 300px); display: flex; justify-content: center; }
.captcha-widget:empty { min-height: 0; }
.captcha-hint { font-size: 11px; color: #8d9bb3; text-align: center; margin: 0; }
.captcha.is-ready .captcha-hint { display: none; }
@media (max-width: 430px) {
  .nav-cta-full { display: none; }
  .nav-cta-short { display: inline; }
  .header-actions .nav-cta { padding: 10px 16px; font-size: 14px; }
}

@media (max-width: 345px) {
  /* El widget de Turnstile mide 300px fijos: en pantallas muy estrechas se escala */
  .captcha { overflow: hidden; }
  .captcha-widget { transform: scale(.86); transform-origin: center; }
}
.linkish {
  background: none;
  border: 0;
  padding: 0;
  color: inherit;
  cursor: pointer;
  text-decoration: none;
  font: inherit;
  text-align: left;
}

/* ---------- Footer ---------- */
.site-footer { background: #000c28; color: #d5e2f4; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr auto;
  gap: 28px;
  padding: 56px 0 36px;
  align-items: start;
}
.footer-brand p { margin-top: 14px; color: #8d9bb3; font-size: 14px; }
.footer-contact { margin-top: 18px; display: grid; gap: 6px; font-size: 14px; color: #9eb0c9; }
.footer-grid .footer-contact a { margin: 0; }
.footer-grid h3 { font-size: 14px; margin-bottom: 12px; color: #fff; }
.footer-grid a, .footer-grid .linkish { display: block; color: #9eb0c9; text-decoration: none; font-size: 14px; margin-bottom: 8px; }
.footer-grid a:hover, .footer-grid .linkish:hover { color: #fff; }
.footer-grid .brand { display: inline-flex; margin: 0; }
.social { display: flex; gap: 10px; }
.footer-grid .social a {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin: 0;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: transparent;
  color: #d5e2f4;
  transition: border-color 0.2s, background 0.2s;
}
.footer-grid .social a:hover { border-color: var(--cyan); background: rgba(24, 88, 248, 0.2); }
.social .ic { width: 18px; height: 18px; }
.footer-base a { color: #9eb0c9; text-decoration: none; }
.footer-base a:hover { color: #fff; }
.footer-base {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 20px 0 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #8d9bb3;
  font-size: 13px;
}
.footer-base .linkish { color: #9eb0c9; }
.footer-base i { margin: 0 10px; font-style: normal; color: #3d5280; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .header-actions .text-link { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 980px) {
  .nav-pill, .header-actions .text-link, .lang { display: none; }
  .menu-toggle { display: block; }
  .header-inner { justify-content: space-between; }
  .header-actions { gap: 10px; }
  .header-actions .nav-cta { padding: 10px 14px; font-size: 13px; }
  .nav-pill.is-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--header);
    left: 0;
    right: 0;
    margin: 0;
    padding: 12px;
    border-radius: 0;
    background: #001030;
    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  .hero-grid, .split { grid-template-columns: 1fr; gap: 36px; }
  .hero-visual { min-height: 0; }
  .hero-orbit { width: 420px; height: 420px; right: 50%; transform: translate(50%, -50%); }
  .hero-visual img { height: 440px; }
  .fronts { grid-template-columns: 1fr; }
  .fronts .arrow { display: none; }
  .video-stage { min-height: 0; height: 420px; aspect-ratio: auto; }
  .tile-grid, .route-grid, .audience { grid-template-columns: 1fr 1fr; }
  .academy-figure { justify-content: center; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .section { padding: 64px 0; }
  .grc-head { flex-direction: column; align-items: flex-start; gap: 20px; }
  .grc-app { grid-template-columns: 1fr; }
  .grc-side { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 12px; padding: 12px 14px; }
  .grc-org { display: none; }
  .grc-side nav { display: flex; gap: 2px; overflow-x: auto; font-size: 12px; }
  .grc-side nav span { padding: 6px 9px; white-space: nowrap; }
  .grc-user { margin-top: 0; margin-left: auto; }
  .grc-user div { display: none; }
  .grc-panels { grid-template-columns: 1fr 1fr; }
  .grc-col { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  .container, .header-inner { width: min(var(--max), calc(100% - 28px)); }
  .hero { padding-top: 20px; }
  .hero-orbit { width: 320px; height: 320px; }
  .hero-visual img { height: 360px; }
  .video-stage { height: 320px; }
  .form-row, .feature-row, .tile-grid, .route-grid, .audience, .stats { grid-template-columns: 1fr; }
  .stats div + div { border-left: 0; border-top: 1px solid var(--line); padding-top: 18px; margin-top: 18px; }
  .score b { font-size: 52px; }
  .grc-side nav { display: none; }
  .grc-kpis { grid-template-columns: 1fr 1fr; }
  .grc-kpis b { font-size: 20px; }
  .grc-panels, .grc-col { grid-template-columns: 1fr; }
  .grc-top h3 { font-size: 16px; display: block; margin: 0 0 2px; }
  .grc-pill { display: none; }
  .fine { margin-left: 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-base { flex-direction: column; }
}

/* ---------- Intro de carga ---------- */
.intro {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: radial-gradient(ellipse at 50% 45%, #061a4a 0%, #030b22 55%, #02071a 100%);
  color: var(--white);
  isolation: isolate;
}
.intro-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.intro-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(126, 176, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(126, 176, 255, 0.07) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(circle at center, #000 10%, transparent 72%);
  mask-image: radial-gradient(circle at center, #000 10%, transparent 72%);
}
.intro-scan {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 3px);
  mix-blend-mode: overlay;
}
.intro-vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse at center, transparent 38%, rgba(2, 7, 26, 0.9) 100%);
}

.intro-skip {
  position: absolute;
  top: 28px;
  right: 28px;
  z-index: 3;
  padding: 10px 18px;
  border: 1px solid rgba(126, 176, 255, 0.45);
  border-radius: 999px;
  background: rgba(3, 11, 34, 0.5);
  color: var(--cyan);
  font: 600 11px/1 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  cursor: pointer;
  backdrop-filter: blur(6px);
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.intro-skip:hover { background: rgba(24, 88, 248, 0.25); border-color: var(--cyan); color: #fff; }

.intro-hud {
  position: relative;
  z-index: 2;
  width: min(720px, calc(100% - 48px));
  padding: 56px 36px 44px;
  text-align: center;
  animation: introHudIn 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
.intro-hud::before {
  content: "";
  position: absolute;
  inset: -40px -80px;
  z-index: -1;
  background: radial-gradient(ellipse at center, rgba(3, 11, 34, 0.85) 0%, rgba(3, 11, 34, 0.55) 45%, rgba(3, 11, 34, 0) 72%);
  pointer-events: none;
}
.intro-corners span {
  position: absolute;
  width: 28px;
  height: 28px;
  border: 1.5px solid rgba(126, 176, 255, 0.75);
}
.intro-corners span:nth-child(1) { top: 0; left: 0; border-right: 0; border-bottom: 0; }
.intro-corners span:nth-child(2) { top: 0; right: 0; border-left: 0; border-bottom: 0; }
.intro-corners span:nth-child(3) { bottom: 0; left: 0; border-right: 0; border-top: 0; }
.intro-corners span:nth-child(4) { bottom: 0; right: 0; border-left: 0; border-top: 0; }

.intro-mark {
  position: relative;
  width: 124px;
  height: 124px;
  margin: 0 auto 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(126, 176, 255, 0.35);
  background: radial-gradient(circle, rgba(24, 88, 248, 0.35) 0%, rgba(24, 88, 248, 0) 70%);
}
.intro-mark img {
  position: relative;
  z-index: 1;
  width: 64px;
  height: auto;
  filter: drop-shadow(0 0 18px rgba(24, 88, 248, 0.8));
  animation: introFloat 3s ease-in-out infinite;
}
.intro-sweep {
  position: absolute;
  inset: -1px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(24, 88, 248, 0) 0 68%, rgba(126, 176, 255, 0.9) 100%);
  -webkit-mask-image: radial-gradient(circle, transparent 60%, #000 61%);
  mask-image: radial-gradient(circle, transparent 60%, #000 61%);
  animation: introSpin 2.2s linear infinite;
}
.intro-pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(126, 176, 255, 0.6);
  animation: introPulse 2.2s ease-out infinite;
}

.intro-status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font: 600 11px/1 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--cyan);
}
.intro-status::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #44e38f;
  box-shadow: 0 0 12px #44e38f;
  animation: introBlink 1.1s steps(1) infinite;
}
.intro.is-granted .intro-status::before { animation: none; }

.intro-title {
  margin: 18px auto 10px;
  max-width: none;
  min-height: 1.25em;
  font-size: clamp(26px, 4.4vw, 42px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.intro-title .caret {
  display: inline-block;
  width: 0.08em;
  height: 0.9em;
  margin-left: 5px;
  vertical-align: -0.08em;
  background: var(--cyan);
  animation: introBlink 0.8s steps(1) infinite;
}
.intro.is-granted .intro-title { color: var(--cyan); animation: introGlitch 0.45s steps(2) 2; }
.intro.is-granted .intro-title .caret { display: none; }
.intro-sub { color: rgba(255, 255, 255, 0.62); font-size: 15px; }

.intro-bar {
  width: min(380px, 100%);
  height: 3px;
  margin: 32px auto 12px;
  border-radius: 3px;
  overflow: hidden;
  background: rgba(126, 176, 255, 0.18);
}
.intro-bar i {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  box-shadow: 0 0 14px rgba(24, 88, 248, 0.9);
  transition: width 0.18s linear;
}
.intro-meta {
  display: flex;
  justify-content: space-between;
  width: min(380px, 100%);
  margin: 0 auto;
  font: 500 11px/1 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 0.18em;
  color: rgba(126, 176, 255, 0.8);
}
.intro-meta #intro-pct { color: #fff; font-weight: 700; }

.intro.is-done { animation: introOut 0.9s cubic-bezier(0.76, 0, 0.24, 1) 0.1s forwards; }
.intro.is-done .intro-hud, .intro.is-done .intro-skip { animation: introHudOut 0.35s ease forwards; }

body.is-booting { overflow: hidden; }
body.is-booting .site-header, body.is-booting main, body.is-booting .site-footer { opacity: 0; }
body.is-booting main { transform: translateY(26px); }
.site-header, .site-footer { transition: opacity 0.9s ease 0.45s; }
main { transition: opacity 0.9s ease 0.45s, transform 1s cubic-bezier(0.2, 0.7, 0.2, 1) 0.45s; }

@keyframes introSpin { to { transform: rotate(360deg); } }
@keyframes introPulse { 0% { transform: scale(1); opacity: 0.9; } 100% { transform: scale(1.9); opacity: 0; } }
@keyframes introBlink { 50% { opacity: 0; } }
@keyframes introFloat { 50% { transform: translateY(-5px); } }
@keyframes introHudIn { from { opacity: 0; transform: translateY(18px) scale(0.98); } }
@keyframes introHudOut { to { opacity: 0; transform: translateY(-14px) scale(0.98); } }
@keyframes introOut { to { clip-path: inset(0 0 100% 0); } }
@keyframes introGlitch {
  0% { text-shadow: 3px 0 #1858f8, -3px 0 #44e38f; transform: translateX(1px); }
  50% { text-shadow: -3px 0 #1858f8, 3px 0 #44e38f; transform: translateX(-1px); }
  100% { text-shadow: none; transform: none; }
}

@media (max-width: 680px) {
  .intro-hud { padding: 44px 20px 36px; }
  .intro-skip { top: 18px; right: 18px; }
  .intro-mark { width: 104px; height: 104px; }
  .intro-mark img { width: 54px; }
  .intro-status { letter-spacing: 0.2em; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .route .chev { transition: none; }
  .intro *, .intro { animation-duration: 0.01s !important; animation-iteration-count: 1 !important; }
  .intro.is-done { animation: introOut 0.3s ease forwards; }
  main, .site-header, .site-footer { transition: none; }
}
