/* ============================================================
   OPTIMATIZA — Home (portada editorial)
   Sistema visual: ivory / forest / ochre / blue.
   Solo lo usa "/" (la portada). El resto del sitio usa corp.css.
   ============================================================ */

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; border: 0 solid }
html { -webkit-text-size-adjust: 100%; line-height: 1.5; scroll-behavior: smooth }
h1, h2, h3, h4, h5, h6 { font-size: inherit; font-weight: inherit }
ul, ol, menu { list-style: none }
img, svg, video, canvas { display: block; vertical-align: middle }
img, video { max-width: 100%; height: auto }
button, input, select, textarea { font: inherit; color: inherit; background-color: transparent; border-radius: 0 }
a { color: inherit; text-decoration: inherit }
a, button { -webkit-tap-highlight-color: transparent }
b, strong { font-weight: bolder }
blockquote { quotes: none }

/* ---------- tipografía auto-hospedada ---------- */
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/fonts/geist-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/fonts/geist-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'IBM Plex Mono';
  src: url('/fonts/ibm-plex-mono-500.woff2') format('woff2');
  font-weight: 500;
  font-display: swap;
}

/* ---------- tokens ---------- */
:root {
  --ivory: #f6f1e8;
  --forest: #183f35;
  --ink: #20332e;
  --blue: #3f6f8a;
  --ochre: #c9913b;
  --sage: #dde7df;
  --mist: #dde8ed;
  --line: #3f6f8a2e;
  --soft-line: #20332e1c;
  --white: #fffdf8;
  --ok: #159a4e;
  --wa: #25d366;
}

body {
  background: var(--ivory);
  color: var(--ink);
  font-family: 'Geist', Inter, 'Segoe UI', sans-serif;
  text-rendering: optimizelegibility;
  -webkit-font-smoothing: antialiased;
}
:focus-visible { outline: 2.5px solid var(--blue); outline-offset: 3px; border-radius: 4px }

.skip-link {
  z-index: 100;
  background: var(--forest);
  color: #fff;
  border-radius: 6px;
  padding: 12px 18px;
  transition: transform .16s ease-out;
  position: fixed;
  top: 12px;
  left: 12px;
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0) }

.section-shell { width: min(100% - 48px, 1360px); margin-inline: auto }
.section-pad { padding-block: clamp(92px, 10vw, 152px) }

/* ---------- header ---------- */
.site-header {
  z-index: 20;
  border-bottom: 1px solid var(--soft-line);
  background: #f6f1e8f0;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 96px;
  padding: 0 clamp(24px, 4.2vw, 64px);
  display: grid;
  position: relative;
}
.brand {
  width: fit-content;
  color: var(--forest);
  letter-spacing: -.025em;
  flex-direction: column;
  font-size: clamp(19px, 1.6vw, 27px);
  font-weight: 650;
  line-height: 1.05;
  display: flex;
}
.brand small {
  color: var(--blue);
  letter-spacing: .16em;
  text-transform: uppercase;
  margin-top: 6px;
  font-size: 10px;
  font-weight: 650;
}
.main-nav {
  color: #245d80;
  align-items: center;
  gap: clamp(22px, 3.4vw, 52px);
  font-size: 16px;
  font-weight: 500;
  display: flex;
}
.main-nav a, .header-cta { transition: color .18s ease-out, border-color .18s ease-out, background-color .18s ease-out }
.main-nav a:hover, .main-nav a:focus-visible { color: var(--forest) }
.header-actions { justify-self: end; display: flex; align-items: center; gap: 12px }
.header-cta {
  border: 1px solid var(--blue);
  color: #245d80;
  border-radius: 8px;
  padding: 15px 28px;
  font-weight: 600;
}
.header-cta:hover, .header-cta:focus-visible { border-color: var(--forest); background: var(--forest); color: #fff }

/* menú móvil (no existe en desktop) */
.mob-nav { display: none; position: relative }
.mob-nav summary {
  list-style: none;
  cursor: pointer;
  color: var(--forest);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 13px;
  font-size: 20px;
  line-height: 1.2;
}
.mob-nav summary::-webkit-details-marker { display: none }
.mob-nav-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 12px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 20px 50px #183f351f;
  padding: 12px;
  min-width: 252px;
  max-height: calc(100vh - 120px);
  overflow: auto;
  flex-direction: column;
  display: none;
  z-index: 70;
}
.mob-nav[open] .mob-nav-panel { display: flex }
.mob-nav-panel a { padding: 9px 12px; border-radius: 9px; font-size: 14.5px; color: #2d3734 }
.mob-nav-panel a:hover { background: var(--sage); color: var(--forest) }
.mob-nav-panel .mh {
  color: var(--blue);
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 10px 12px 3px;
  font-size: 10.5px;
  font-weight: 750;
}

/* ---------- hero ---------- */
.hero { min-height: calc(100vh - 96px); position: relative; overflow: hidden }
.hero::after {
  content: "";
  background: linear-gradient(90deg, #eef0e7, #e7ece5 52%, #edf0e8);
  border-radius: 50% 50% 0 0;
  height: 170px;
  position: absolute;
  bottom: -105px;
  left: -8vw;
  right: -8vw;
}
.hero-inner {
  grid-template-columns: minmax(0, 54fr) minmax(430px, 46fr);
  align-items: center;
  width: min(100%, 1586px);
  min-height: calc(100vh - 96px);
  margin: 0 auto;
  padding: 60px clamp(24px, 4.2vw, 64px) 96px;
  display: grid;
}
.hero-copy { z-index: 5; max-width: 790px; animation: .5s ease-out both rise-in; position: relative }
.eyebrow, .section-kicker, .mini-label {
  color: #245d80;
  letter-spacing: .19em;
  text-transform: uppercase;
  margin: 0;
  font-size: 12px;
  font-weight: 750;
}
.eyebrow {
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 32px;
  font-size: clamp(11px, .9vw, 14px);
  display: flex;
}
.eyebrow i { background: var(--ochre); border-radius: 50%; width: 4px; height: 4px }
h1, h2, h3, p { overflow-wrap: break-word }
h1 {
  max-width: 900px;
  color: var(--forest);
  letter-spacing: -.05em;
  font-size: clamp(43px, 4.15vw, 67px);
  font-weight: 720;
  line-height: 1.06;
}
.hero-summary { color: #2d3734; max-width: 650px; margin: 32px 0 0; font-size: clamp(18px, 1.4vw, 21px); line-height: 1.58 }
.hero-proposition strong { color: var(--forest); font-weight: 720 }
.hero-actions { flex-wrap: wrap; gap: 18px; margin-top: 34px; display: flex }

.button {
  border: 1px solid #0000;
  border-radius: 8px;
  justify-content: center;
  align-items: center;
  min-height: 62px;
  padding: 0 38px;
  font-size: 17px;
  font-weight: 650;
  transition: transform .18s ease-out, box-shadow .18s ease-out, background-color .18s ease-out;
  display: inline-flex;
}
.button:hover, .button:focus-visible { transform: translateY(-2px); box-shadow: 0 10px 24px #183f3521 }
.button-primary { background: var(--forest); color: #fff; min-width: 218px }
.button-primary:hover, .button-primary:focus-visible { background: #0f5141 }
.button-secondary { border-color: var(--blue); color: #245d80; min-width: 252px }
.button-secondary span { margin-left: 20px; font-size: 24px }

/* ---------- ilustración de señales ---------- */
.signal-art { min-height: 680px; margin-right: -64px; animation: .7s ease-out .14s both fade-in; position: relative }
.signal-grid {
  background-image: linear-gradient(to right, var(--line) 1px, transparent 1px), linear-gradient(to bottom, var(--line) 1px, transparent 1px);
  opacity: .62;
  background-size: 136px 136px;
  position: absolute;
  inset: -40px 0 -80px 14%;
  -webkit-mask-image: linear-gradient(90deg, #0000, #000 18% 90%);
  mask-image: linear-gradient(90deg, #0000, #000 18% 90%);
}
.orbit, .axis, .signal-core, .path, .node, .data-card { position: absolute }
.orbit { z-index: 2; border: 1.5px solid #3776a2; border-radius: 50%; top: 48%; left: 31%; transform: translate(-50%, -50%) }
.orbit-1 { width: 82px; height: 82px }
.orbit-2 { width: 150px; height: 150px }
.orbit-3 { width: 220px; height: 220px }
.orbit-4 { width: 294px; height: 294px }
.orbit-5 { width: 372px; height: 372px }
.axis { z-index: 3; opacity: .9; top: 48%; left: 31% }
.axis-x {
  background-image: linear-gradient(90deg, var(--ochre) 55%, transparent 55%);
  background-size: 9px 1px;
  width: 410px;
  height: 1px;
  transform: translate(-50%, -50%);
}
.axis-y {
  background-image: linear-gradient(var(--ochre) 55%, transparent 55%);
  background-size: 1px 9px;
  width: 1px;
  height: 420px;
  transform: translate(-50%, -50%);
}
.signal-core {
  z-index: 5;
  background: var(--ochre);
  border-radius: 50%;
  width: 48px;
  height: 48px;
  animation: 5s ease-in-out infinite soft-pulse;
  top: 48%;
  left: 31%;
  transform: translate(-50%, -50%);
}
.path { z-index: 1; border: 1.5px solid #397db0; border-left-color: #0000; border-radius: 50% }
.path-a { width: 720px; height: 380px; top: 6%; left: 19%; transform: rotate(-18deg) }
.path-b { border-style: dashed; width: 890px; height: 390px; top: 39%; left: -13%; transform: rotate(-8deg) }
.path-c { width: 780px; height: 280px; top: 54%; left: 13%; transform: rotate(-7deg) }
.node { z-index: 4; background: var(--ivory); border: 2px solid #276a9c; border-radius: 50%; width: 18px; height: 18px }
.node-a { background: #276a9c; top: 23%; left: 59% }
.node-b { top: 58%; left: 75% }
.node-c { top: 77%; left: 42% }
.node-d { background: #79a691; border: 0; width: 12px; height: 12px; top: 79%; left: 27% }
.node-e { background: #276a9c; top: 52%; left: 90% }
.data-card {
  z-index: 2;
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
  border: 1px solid #20332e0f;
  border-radius: 22px;
  display: grid;
}
.data-card-dots {
  background: #dde7dfb8;
  grid-template-columns: repeat(6, 5px);
  place-content: center;
  gap: 22px;
  width: 220px;
  height: 196px;
  top: 8%;
  left: -8%;
}
.data-card-dots span { background: #659580; border-radius: 50%; width: 5px; height: 5px }
.data-card-bars {
  background: #dde8edd6;
  grid-template-columns: repeat(5, 1fr);
  align-items: end;
  width: 184px;
  height: 178px;
  padding: 42px 28px 28px;
  bottom: 8%;
  right: 9%;
}
.data-card-bars span { background: #39749f; justify-self: center; width: 1px; position: relative }
.data-card-bars span::before {
  content: "";
  background: #276a9c;
  border-radius: 50%;
  width: 7px;
  height: 7px;
  position: absolute;
  top: -4px;
  left: -3px;
}

/* ---------- franja de principios ---------- */
.promise-strip {
  z-index: 10;
  background: var(--forest);
  color: #eef3ef;
  justify-content: center;
  align-items: center;
  gap: clamp(22px, 4vw, 64px);
  min-height: 104px;
  padding: 24px;
  display: flex;
  position: relative;
}
.promise-strip p { letter-spacing: .08em; text-align: center; text-transform: uppercase; font-size: 13px; font-weight: 550 }
.promise-strip span { background: var(--ochre); border-radius: 50%; width: 6px; height: 6px; flex: none }

/* ---------- claridad ---------- */
.clarity-section { background: var(--white) }
.clarity-grid, .experience-grid { grid-template-columns: .95fr 1.05fr; align-items: start; gap: clamp(56px, 9vw, 140px); display: grid }
.clarity-grid h2, .section-heading h2, .approach-intro h2, .experience-copy h2, .contact-inner h2, .demo-copy h2 {
  color: var(--forest);
  letter-spacing: -.045em;
  margin: 24px 0 0;
  font-size: clamp(38px, 4.15vw, 66px);
  font-weight: 680;
  line-height: 1.08;
}
.clarity-copy > p { max-width: 650px; margin: 2px 0 40px; font-size: clamp(19px, 1.55vw, 23px); line-height: 1.65 }
.outcome-list { border-top: 1px solid var(--soft-line); grid-template-columns: repeat(3, 1fr); display: grid }
.outcome-list span { color: var(--blue); letter-spacing: .03em; padding: 25px 16px 4px 0; font-size: 13px; font-weight: 650 }

/* ---------- servicios ---------- */
.services-section { background: var(--ivory) }
.section-heading { grid-template-columns: 1.4fr .6fr; align-items: end; gap: 70px; margin-bottom: 68px; display: grid }
.section-heading > p { max-width: 410px; font-size: 17px; line-height: 1.65 }
.service-grid { grid-template-columns: repeat(3, 1fr); gap: 18px; display: grid }
.service-card {
  border: 1px solid var(--soft-line);
  background: #fffdf8b8;
  border-radius: 18px;
  flex-direction: column;
  min-height: 540px;
  padding: 38px;
  transition: transform .18s ease-out, box-shadow .18s ease-out, border-color .18s ease-out;
  display: flex;
  position: relative;
}
.service-card:hover { border-color: #3f6f8a66; transform: translateY(-5px); box-shadow: 0 24px 60px #183f3514 }
.service-number {
  background: var(--sage);
  width: 48px;
  height: 48px;
  color: var(--forest);
  border-radius: 50%;
  place-items: center;
  font-size: 12px;
  font-weight: 700;
  display: grid;
}
.service-card h3 { color: var(--forest); letter-spacing: -.035em; margin: 54px 0 18px; font-size: clamp(25px, 2vw, 31px); line-height: 1.1 }
.service-card > p { color: #3a4a45; min-height: 104px; font-size: 16px; line-height: 1.65 }
.service-card ul { border-top: 1px solid var(--soft-line); gap: 12px; margin: 30px 0 38px; padding: 26px 0 0; display: grid }
.service-card li { padding-left: 17px; font-size: 14px; line-height: 1.5; position: relative }
.service-card li::before { background: var(--ochre); content: ""; border-radius: 50%; width: 5px; height: 5px; position: absolute; top: 8px; left: 0 }
.service-card > a { color: #245d80; align-items: center; gap: 14px; width: fit-content; margin-top: auto; font-size: 14px; font-weight: 680; display: inline-flex }
.service-card > a span { font-size: 20px; transition: transform .18s ease-out }
.service-card > a:hover span { transform: translate(4px) }

/* ---------- demostración en vivo ---------- */
.demo-section { background: var(--white) }
.demo-grid { grid-template-columns: 1fr minmax(400px, .82fr); align-items: center; gap: clamp(48px, 7vw, 110px); display: grid }
.demo-copy > p:not(.section-kicker) { color: #3a4a45; max-width: 620px; margin: 28px 0 0; font-size: 18px; line-height: 1.7 }
.demo-checks { border-top: 1px solid var(--soft-line); gap: 14px; margin-top: 34px; padding-top: 28px; display: grid }
.demo-checks li { color: #3a4a45; padding-left: 30px; font-size: 15px; line-height: 1.55; position: relative }
.demo-checks li::before {
  content: "";
  position: absolute;
  top: 6px;
  left: 0;
  width: 17px;
  height: 9px;
  border: 2px solid var(--ochre);
  border-top: 0;
  border-right: 0;
  transform: rotate(-45deg);
}
.demo-copy .button { margin-top: 36px }

.flowin {
  background: linear-gradient(160deg, #e9efe2, #f4efe2);
  border: 1px solid var(--soft-line);
  border-radius: 26px;
  padding: 18px;
  box-shadow: 0 20px 60px #183f3517;
}
.fwin { background: var(--white); border: 1px solid var(--soft-line); border-radius: 18px; overflow: hidden }
.fw-h { display: flex; align-items: center; gap: 8px; padding: 11px 14px; border-bottom: 1px solid var(--soft-line); background: #fbf8ef }
.fw-dots i { width: 10px; height: 10px; border-radius: 50%; display: inline-block; margin-right: 4px }
.fw-title { font-size: 12px; font-weight: 600; color: #3a4a45; flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis }
.fw-live { font-size: 10.5px; color: var(--forest); font-weight: 800; display: flex; align-items: center; gap: 5px; letter-spacing: .04em }
.fw-live i { width: 7px; height: 7px; border-radius: 50%; background: var(--wa); animation: fblink 1.4s infinite }
.fw-b { padding: 13px 15px; display: flex; flex-direction: column }
.fnode {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  border: 1.5px solid var(--soft-line);
  border-radius: 13px;
  padding: 9px 12px;
  background: var(--white);
  transition: all .35s;
  opacity: .78;
}
.fnode .fic { width: 38px; height: 38px; border-radius: 10px; background: var(--sage); display: flex; align-items: center; justify-content: center; flex: none }
.fnode .fic svg, .fnode .fic img { width: 24px; height: 24px }
.fnode b { display: block; font-size: 13px; color: var(--forest); line-height: 1.25; font-weight: 650 }
.fnode .fst { font-size: 11.5px; color: #4d5a53; display: block; margin-top: 1px }
.fnode.run { opacity: 1; border-color: var(--forest); box-shadow: 0 4px 18px #183f352e; transform: translateX(3px) }
.fnode.run .fst { color: var(--forest); font-weight: 600 }
.fnode.done { opacity: 1 }
.fnode.done .fst { color: var(--ok); font-weight: 600 }
.fline {
  width: 2px;
  height: 16px;
  margin-left: 30px;
  background: repeating-linear-gradient(180deg, #c9c2ae 0 4px, transparent 4px 9px);
  position: relative;
  flex: none;
}
.fline::after { content: ""; position: absolute; left: -3px; top: -4px; width: 8px; height: 8px; border-radius: 50%; background: var(--forest); opacity: 0 }
.fline.go::after { animation: ftravel .55s linear forwards }
.fapr { display: flex; gap: 7px; margin-top: 6px }
.fbtn { font-size: 11px; font-weight: 700; border-radius: 8px; padding: 3px 10px; border: 1.5px solid var(--soft-line); color: #4d5a53; background: var(--white); transition: .25s }
.fbtn.ok.hit { background: var(--wa); color: #04220f; border-color: var(--wa); transform: scale(1.06) }
.fres {
  margin-top: 11px;
  background: linear-gradient(135deg, #eaf2e6, #f4f2e6);
  border: 1.5px solid #25d36673;
  border-radius: 13px;
  padding: 11px 14px;
  font-size: 12.8px;
  color: var(--ink);
  opacity: 0;
  transform: translateY(6px);
  transition: .45s;
}
.fres.on { opacity: 1; transform: none }
.fw-note { font-size: 11.5px; color: #7a6b4b; padding: 10px 14px; border-top: 1px solid var(--soft-line); background: #fbf8ef }

/* ---------- enfoque ---------- */
.approach-section { background: var(--forest); color: #eef3ef; position: relative; overflow: hidden }
.approach-section::before {
  content: "";
  border: 1px solid #dde8ed1c;
  border-radius: 50%;
  width: 680px;
  height: 680px;
  position: absolute;
  top: -260px;
  left: -140px;
  box-shadow: 0 0 0 80px #dde8ed09, 0 0 0 160px #dde8ed06;
}
.approach-shell { grid-template-columns: .72fr 1.28fr; gap: clamp(50px, 10vw, 160px); display: grid; position: relative }
.section-kicker-light { color: #9ec1d0 }
.approach-intro h2 { color: #fff }
.approach-intro > p:last-child { color: #c9d8d3; max-width: 410px; margin: 28px 0 0; font-size: 18px; line-height: 1.65 }
.process-list { border-top: 1px solid #ffffff2e }
.process-step { border-bottom: 1px solid #ffffff2e; grid-template-columns: 64px 1fr; gap: 24px; padding: 31px 0; display: grid }
.process-step > span { color: var(--ochre); letter-spacing: .12em; font-size: 12px; font-weight: 700 }
.process-step h3 { letter-spacing: -.02em; margin: 0 0 8px; font-size: 22px; font-weight: 600 }
.process-step p { color: #c9d8d3; max-width: 590px; font-size: 15px; line-height: 1.65 }

/* ---------- experiencia ---------- */
.experience-section { background: var(--white) }
.experience-statement {
  background: var(--mist);
  border-radius: 24px;
  min-height: 560px;
  padding: clamp(42px, 5vw, 70px);
  position: relative;
  overflow: hidden;
}
.experience-statement::after {
  content: "";
  border: 1px solid #3f6f8a59;
  border-radius: 50%;
  width: 430px;
  height: 430px;
  position: absolute;
  bottom: -170px;
  right: -170px;
  box-shadow: 0 0 0 50px #3f6f8a14, 0 0 0 100px #3f6f8a0d;
}
.experience-statement blockquote {
  z-index: 1;
  max-width: 560px;
  color: var(--forest);
  letter-spacing: -.04em;
  margin: 76px 0 0;
  font-size: clamp(28px, 3vw, 46px);
  font-weight: 580;
  line-height: 1.2;
  position: relative;
}
.experience-copy { align-self: center }
.mini-label { color: var(--ochre) }
.experience-copy > p:not(.mini-label) { color: #3a4a45; max-width: 650px; margin: 30px 0 0; font-size: 18px; line-height: 1.75 }
.expertise-tags { flex-wrap: wrap; gap: 10px; margin-top: 36px; display: flex }
.expertise-tags span { color: #245d80; border: 1px solid #3f6f8a45; border-radius: 999px; padding: 10px 14px; font-size: 13px; font-weight: 600 }

/* ---------- audiencia ---------- */
.audience-section {
  border-top: 1px solid var(--soft-line);
  border-bottom: 1px solid var(--soft-line);
  background: var(--ivory);
  padding-block: 38px;
}
.audience-grid { grid-template-columns: .7fr repeat(3, 1fr); align-items: center; gap: 24px; display: grid }
.audience-grid p { color: var(--blue); letter-spacing: .16em; text-transform: uppercase; font-size: 11px; font-weight: 750 }
.audience-grid div { align-items: baseline; gap: 12px; font-size: 14px; font-weight: 600; display: flex }
.audience-grid div span { color: var(--ochre); letter-spacing: .08em; font-size: 10px }

/* ---------- contacto ---------- */
.contact-section { color: #fff; background: #2d6782; position: relative; overflow: hidden }
.contact-inner { z-index: 2; text-align: center; max-width: 950px; margin-inline: auto; position: relative }
.contact-inner h2 { color: #fff; margin-inline: auto; font-size: clamp(42px, 5.4vw, 78px) }
.contact-inner > p:not(.section-kicker) { color: #d8e6eb; max-width: 680px; margin: 30px auto 0; font-size: 19px; line-height: 1.65 }
.contact-button { background: var(--ochre); color: #1b352f; gap: 16px; margin-top: 40px }
.contact-button:hover, .contact-button:focus-visible { background: #dea64f }
.contact-orbit {
  border: 1px solid #ffffff1f;
  border-radius: 50%;
  width: 820px;
  height: 820px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 85px #ffffff09, 0 0 0 170px #ffffff06;
}

/* ---------- footer ---------- */
.site-footer { color: #d9e3df; background: #102e27; padding-block: 38px }
.footer-inner { justify-content: space-between; align-items: center; gap: 30px; display: flex }
.footer-inner > div { flex-direction: column; gap: 7px; display: flex }
.footer-brand-link { align-items: baseline; gap: 14px; width: fit-content; display: flex }
.footer-brand-link span { transition: color .18s ease-out }
.footer-brand-link:hover span, .footer-brand-link:focus-visible span { color: #fff }
.footer-inner strong { color: #fff; font-size: 18px }
.footer-inner span, .footer-inner a { color: #9fb7ae; font-size: 12px }
.footer-inner a:hover, .footer-inner a:focus-visible { color: #fff }
.footer-map {
  border-top: 1px solid #ffffff17;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 22px;
  margin-top: 30px;
  padding-top: 24px;
  display: flex;
}
.footer-map a { color: #9fb7ae; font-size: 12.5px; transition: color .18s ease-out }
.footer-map a:hover, .footer-map a:focus-visible { color: #fff }
.footer-map i { background: #ffffff26; border-radius: 50%; width: 4px; height: 4px; flex: none }
.footer-copy { color: #7f978e; font-size: 12px; margin-top: 16px }

/* ---------- NOVA (agente del sitio) ---------- */
#nova { position: fixed; right: 20px; bottom: 20px; z-index: 90; font-family: 'Geist', Inter, sans-serif }
#nova .mono { font-family: 'IBM Plex Mono', monospace; letter-spacing: .02em }
.nv-fab {
  position: relative;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  cursor: pointer;
  background: var(--forest);
  box-shadow: 0 6px 22px #183f3559;
  display: flex;
  align-items: center;
  justify-content: center;
}
.nv-fab img { width: 44px; height: 44px; border-radius: 50%; background: var(--white); padding: 3px }
.nv-fab:hover { filter: brightness(1.1) }
.nv-dot { position: absolute; top: 4px; right: 4px; width: 13px; height: 13px; border-radius: 50%; background: var(--wa); border: 2.5px solid #fff }
.nv-panel {
  position: absolute;
  right: 0;
  bottom: 76px;
  width: min(370px, calc(100vw - 40px));
  background: var(--white);
  border: 1px solid var(--soft-line);
  border-radius: 18px;
  box-shadow: 0 18px 60px #183f3538;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  max-height: min(560px, calc(100vh - 120px));
}
.nv-panel[hidden] { display: none }
.nv-head { display: flex; align-items: center; justify-content: space-between; background: var(--forest); color: #fff; padding: 12px 16px; font-size: 12.5px; font-weight: 600 }
.nv-x { border: none; color: #fff; font-size: 15px; cursor: pointer; padding: 2px 6px; border-radius: 6px }
.nv-x:hover { background: #ffffff2e }
.nv-note { font-size: 11.5px; color: #5f6e66; padding: 9px 16px; border-bottom: 1px solid var(--soft-line); background: var(--ivory) }
.nv-log { flex: 1; overflow-y: auto; padding: 14px 14px 6px; display: flex; flex-direction: column; gap: 10px; min-height: 180px }
.nv-msg { display: flex; gap: 8px; align-items: flex-end }
.nv-msg p { padding: 9px 13px; border-radius: 13px; font-size: 13.8px; line-height: 1.5; max-width: 85% }
.nv-bot p { background: var(--ivory); color: var(--ink); border: 1px solid var(--soft-line); border-bottom-left-radius: 4px }
.nv-bot p a { color: var(--forest); font-weight: 600 }
.nv-user { justify-content: flex-end }
.nv-user p { background: var(--forest); color: #fff; border-bottom-right-radius: 4px }
.nv-ava { width: 24px; height: 24px; border-radius: 50%; background: var(--sage); padding: 2px; flex: none }
.nv-dots { display: inline-flex; gap: 4px; padding: 2px 0 }
.nv-dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--blue); animation: nvBlink 1.2s infinite }
.nv-dots i:nth-child(2) { animation-delay: .2s }
.nv-dots i:nth-child(3) { animation-delay: .4s }
.nv-chips { display: flex; flex-wrap: wrap; gap: 7px; padding: 8px 14px }
.nv-chip { background: var(--white); border: 1.5px solid var(--soft-line); border-radius: 999px; padding: 7px 12px; font-size: 11.8px; color: var(--forest); cursor: pointer; font-weight: 600 }
.nv-chip:hover { border-color: var(--forest); background: var(--sage) }
.nv-input { display: flex; gap: 8px; padding: 11px 13px; border-top: 1px solid var(--soft-line); background: var(--white) }
.nv-input input { flex: 1; border: 1.5px solid var(--soft-line); border-radius: 10px; padding: 10px 12px; font-size: 13.8px; color: var(--ink); outline: none }
.nv-input input:focus { border-color: var(--forest) }
.nv-send { background: var(--forest); color: #fff; border-radius: 10px; padding: 0 16px; font-size: 12.5px; font-weight: 700; cursor: pointer }
.nv-send:hover { filter: brightness(1.1) }
.nv-hint {
  position: absolute;
  right: 74px;
  bottom: 8px;
  background: var(--white);
  border: 1px solid var(--soft-line);
  border-radius: 14px;
  border-bottom-right-radius: 4px;
  box-shadow: 0 12px 34px #183f3524;
  padding: 11px 15px;
  font-size: 12.5px;
  color: #3a4a45;
  cursor: pointer;
  text-align: left;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(8px);
  transition: .3s;
}
.nv-hint.on { opacity: 1; transform: none }
.nv-hint b { display: block; color: var(--forest); font-size: 13.5px }

/* ---------- animaciones ---------- */
@keyframes rise-in { 0% { opacity: 0; transform: translateY(16px) } to { opacity: 1; transform: translateY(0) } }
@keyframes fade-in { 0% { opacity: 0 } to { opacity: 1 } }
@keyframes soft-pulse {
  0%, to { box-shadow: 0 8px 20px #c9913b38 }
  50% { box-shadow: 0 8px 20px #c9913b38, 0 0 0 11px #c9913b17 }
}
@keyframes fblink { 0%, 100% { opacity: 1 } 50% { opacity: .25 } }
@keyframes ftravel { 0% { top: -4px; opacity: 1 } 100% { top: 14px; opacity: 0 } }
@keyframes nvBlink { 0%, 80%, 100% { opacity: .25 } 40% { opacity: 1 } }

/* ---------- responsive ---------- */
@media (width <= 1180px) {
  .demo-grid { grid-template-columns: 1fr; gap: 44px }
}
@media (width <= 1080px) {
  .service-grid { grid-template-columns: 1fr }
  .service-card, .service-card > p { min-height: 0 }
  .approach-shell, .experience-grid { grid-template-columns: 1fr }
  .audience-grid { grid-template-columns: repeat(3, 1fr) }
  .audience-grid > p { grid-column: 1 / -1 }
}
@media (width <= 980px) {
  .site-header { grid-template-columns: 1fr auto; min-height: 82px }
  .main-nav { display: none }
  .mob-nav { display: block }
  .header-cta { padding: 13px 20px }
  .hero-inner { grid-template-columns: 1fr; min-height: auto; padding-top: 80px }
  .hero-copy { max-width: 760px }
  .signal-art { min-height: 520px; margin: 10px -80px -40px 18% }
  .clarity-grid, .section-heading { grid-template-columns: 1fr; gap: 36px }
  .section-heading { margin-bottom: 48px }
}
@media (width <= 720px) {
  .section-shell { width: min(100% - 40px, 1360px) }
  .outcome-list, .audience-grid { grid-template-columns: 1fr }
  .audience-grid > p { grid-column: auto; margin-bottom: 10px }
  .audience-grid div { border-top: 1px solid var(--soft-line); padding-block: 13px }
  .demo-grid { min-width: 0 }
  .flowin { padding: 12px }
}
@media (width <= 640px) {
  .site-header { min-height: 74px; padding-inline: 20px }
  .brand { font-size: 18px }
  .brand small { display: none }
  .header-cta { padding: 11px 15px; font-size: 13px }
  .hero-inner { padding: 60px 20px 62px }
  .eyebrow { gap: 8px; margin-bottom: 24px; font-size: 10px; line-height: 1.8 }
  h1 { font-size: clamp(36px, 10.5vw, 48px); line-height: 1.08 }
  .hero-summary { margin-top: 24px; font-size: 17px }
  .hero-actions { gap: 12px; display: grid }
  .button { width: 100%; min-width: 0; min-height: 56px; padding-inline: 24px }
  .signal-art { transform-origin: 0; min-height: 400px; margin: 10px -180px -30px 6%; transform: scale(.82) }
  .data-card-dots { left: 0 }
  .promise-strip { flex-direction: column; align-items: flex-start; gap: 14px; padding: 28px 24px }
  .promise-strip p { text-align: left }
  .promise-strip span { display: none }
  .service-card { padding: 30px 26px }
  .service-card h3 { margin-top: 38px }
  .demo-grid { grid-template-columns: minmax(0, 1fr) }
  .fw-title { white-space: normal }
  .process-step { grid-template-columns: 44px 1fr }
  .experience-statement { min-height: 430px }
  .experience-statement blockquote { margin-top: 54px }
  .footer-inner { flex-direction: column; align-items: flex-start }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto }
  *, ::before, ::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important }
}

/* --- desplegable de inteligencia competitiva en el nav --- */
.nav-dd { position: relative; display: flex; align-items: center }
.nav-dd > .nav-dd-trigger {
  background: none; border: 0; padding: 0; margin: 0; cursor: pointer;
  font: inherit; color: inherit; display: flex; align-items: center; gap: 6px;
  transition: color .18s ease-out;
}
.nav-dd > .nav-dd-trigger::after {
  content: ""; width: 6px; height: 6px; margin-top: -3px; flex: none;
  border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor;
  transform: rotate(45deg); opacity: .5;
}
.nav-dd > .nav-dd-trigger:hover, .nav-dd > .nav-dd-trigger:focus-visible { color: var(--forest) }
.nav-dd-menu {
  position: absolute; top: calc(100% + 18px); left: 50%; transform: translateX(-50%);
  background: var(--white); border: 1px solid var(--line); border-radius: 16px;
  box-shadow: 0 20px 50px #183f351f; padding: 10px; min-width: 366px;
  display: none; z-index: 40;
}
.nav-dd-menu::before { content: ""; position: absolute; top: -20px; left: -1px; right: -1px; height: 21px }
.nav-dd:hover .nav-dd-menu, .nav-dd:focus-within .nav-dd-menu { display: block }
.nav-dd-menu a { display: block; padding: 10px 13px; border-radius: 10px; line-height: 1.4 }
.nav-dd-menu a strong { display: block; color: var(--forest); font-weight: 650; font-size: 14.5px }
.nav-dd-menu a span { display: block; color: #5f6e66; font-size: 12.6px; margin-top: 2px; font-weight: 400 }
.nav-dd-menu a:hover, .nav-dd-menu a:focus-visible { background: var(--sage) }
@media (width <= 1180px) { .main-nav { gap: clamp(15px, 2.1vw, 28px); font-size: 15px } }

/* enlaces dentro de la lista de una tarjeta de servicio */
.service-card li a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: #3f6f8a4d;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  transition: color .18s ease-out, text-decoration-color .18s ease-out;
}
.service-card li a:hover, .service-card li a:focus-visible {
  color: var(--forest);
  text-decoration-color: var(--forest);
}

/* La quinta entrada del nav necesita mas aire: por debajo de 1080px se pasa al
   menu movil, que ya contiene todo el hub de inteligencia competitiva. */
@media (width <= 1080px) {
  .main-nav { display: none }
  .mob-nav { display: block }
  .site-header { grid-template-columns: 1fr auto }
}
/* dvh para que el panel movil no quede cortado bajo la barra de Safari iOS */
@supports (height: 100dvh) {
  .mob-nav-panel { max-height: calc(100dvh - 120px) }
}
/* el lema de la marca no debe partirse cuando el nav crece */
.brand small { white-space: nowrap }

/* ============================================================
   TECHVIZ — las tecnologías conectadas alrededor del robot,
   con la marquesina de herramientas debajo. Sin JavaScript.
   ============================================================ */
.techviz { min-width: 0 }
.tv-hub { width: 100%; height: auto; display: block; overflow: visible }

.tv-ring { fill: none; stroke: var(--blue); stroke-width: 1.1; opacity: .26;
  stroke-dasharray: 5 9; animation: tvSpin 30s linear infinite }
.tv-ring-b { opacity: .16; stroke-dasharray: 3 11; animation-duration: 44s; animation-direction: reverse }
@keyframes tvSpin { to { stroke-dashoffset: -280 } }

.tv-wire { stroke: var(--blue); stroke-width: 1.9; fill: none; opacity: .3;
  stroke-dasharray: 20 118; stroke-dashoffset: 138; animation: tvFlow 4.8s linear infinite }
.tv-wires .tv-wire:nth-child(1) { animation-delay: 0s }
.tv-wires .tv-wire:nth-child(2) { animation-delay: .6s }
.tv-wires .tv-wire:nth-child(3) { animation-delay: 1.2s }
.tv-wires .tv-wire:nth-child(4) { animation-delay: 1.8s }
.tv-wires .tv-wire:nth-child(5) { animation-delay: 2.4s }
.tv-wires .tv-wire:nth-child(6) { animation-delay: 3s }
.tv-wires .tv-wire:nth-child(7) { animation-delay: 3.6s }
.tv-wires .tv-wire:nth-child(8) { animation-delay: 4.2s }
@keyframes tvFlow { 0% { stroke-dashoffset: 138; opacity: .14 }
  20% { opacity: .95 } 70% { opacity: .95 } 100% { stroke-dashoffset: 0; opacity: .14 } }

/* satélites: se enciende el que está recibiendo el pulso */
.tv-tile { fill: var(--white); stroke: var(--line); stroke-width: 1.4;
  transform-box: fill-box; transform-origin: center;
  animation: tvWake 4.8s ease-in-out infinite; animation-delay: calc(var(--i) * .6s) }
@keyframes tvWake { 0%, 100% { stroke: var(--line); transform: scale(1) }
  10%, 20% { stroke: var(--ochre); transform: scale(1.09) } }
.tv-lab { font-family: var(--ffd, inherit); font-size: 12.5px; font-weight: 650; fill: #4a5b55 }
.tv-sat:hover .tv-tile { stroke: var(--forest); stroke-width: 2; animation: none; transform: scale(1.09) }

/* robot */

/* el conector se arma pieza a pieza y vuelve a empezar */

/* marquesina */
.tv-mq { overflow: hidden; margin-top: 26px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent) }
.tv-track { display: flex; gap: 10px; width: max-content; animation: tvMq 46s linear infinite }
.tv-mq:hover .tv-track { animation-play-state: paused }
@keyframes tvMq { to { transform: translateX(-50%) } }
.tv-chip { display: flex; align-items: center; gap: 8px; background: var(--white);
  border: 1px solid var(--line); border-radius: 999px; padding: 8px 15px;
  font-size: 13px; font-weight: 600; color: var(--ink); white-space: nowrap }
.tv-d { width: 9px; height: 9px; border-radius: 50%; flex: none }
.tv-note { margin-top: 16px; font-size: 13.5px; color: #5f6e66; line-height: 1.6; max-width: 52ch }

@media (max-width: 980px) { .tv-lab { font-size: 15px } .tv-code { font-size: 11px } }
@media (prefers-reduced-motion: reduce) {
  .tv-wire { stroke-dasharray: none; stroke-dashoffset: 0; opacity: .45 }
}

/* ============================================================
   ROBOT — personaje amigable que construye flujos.
   SVG inline + CSS, sin JavaScript. El cyan es acento
   EXCLUSIVO del robot; el resto del sitio no lo usa.
   Se detiene por completo con prefers-reduced-motion.
   ============================================================ */
.rb { --rb-cyan:#20c8e4; --rb-soft:#7fe3f4; --rb-screen:#0c1a2b; --rb-ink:#183f35 }

/* todo el personaje flota suavemente */
.rb-float { transform-box: fill-box; transform-origin: center;
  animation: rb-float 5.6s ease-in-out infinite }
@keyframes rb-float { 0%,100%{ transform: translateY(0) } 50%{ transform: translateY(-7px) } }

/* halo cyan detras de la cabeza */
.rb-aura { fill: var(--rb-cyan); opacity:.13; transform-box: fill-box; transform-origin: center;
  animation: rb-breathe 4.6s ease-in-out infinite }
@keyframes rb-breathe { 0%,100%{ opacity:.10; transform: scale(1) } 50%{ opacity:.20; transform: scale(1.05) } }

/* casco */
.rb-shell { fill:#fffdf8; stroke: var(--rb-ink); stroke-width:2.2 }
.rb-hi { fill:#ffffff; opacity:.55 }
.rb-brow { fill: var(--rb-screen) }

/* antena */
.rb-stalk { stroke:#b6c1c7; stroke-width:3.4; stroke-linecap:round }
.rb-cone { fill:#b6c1c7 }
.rb-ball { fill: var(--rb-cyan) }
.rb-ballhi { fill:#eafaff }
.rb-ballglow { fill: var(--rb-cyan); opacity:.4; transform-box: fill-box; transform-origin: center;
  animation: rb-ping 2.2s ease-out infinite }
@keyframes rb-ping { 0%{ transform: scale(.65); opacity:.6 } 70%,100%{ transform: scale(1.8); opacity:0 } }

/* pantalla de la cara */
.rb-screen { fill: var(--rb-screen) }

/* circuitos que fluyen por la cara */
.rb-trace { fill:none; stroke: var(--rb-cyan); stroke-width:1.5; stroke-linecap:round; opacity:.6;
  stroke-dasharray:5 9; animation: rb-flow 3.4s linear infinite }
.rb-trace-2 { animation-delay:.85s } .rb-trace-3 { animation-delay:1.7s } .rb-trace-4 { animation-delay:2.55s }
@keyframes rb-flow { to { stroke-dashoffset:-28 } }
.rb-dot { fill: var(--rb-cyan) }

/* ojos grandes con brillo */
.rb-eyeglow { fill: var(--rb-cyan); opacity:.28; transform-box: fill-box; transform-origin: center;
  animation: rb-breathe 3s ease-in-out infinite }
.rb-eye { transform-box: fill-box; transform-origin: center; animation: rb-blink 4.2s ease-in-out infinite }
.rb-eye-2 { animation-delay:.06s }
@keyframes rb-blink { 0%,45%,100%{ transform: scaleY(1) } 48%,51%{ transform: scaleY(.12) } }
.rb-iris { fill: var(--rb-cyan) }
.rb-pupil { fill:#06131f }
.rb-eyehi { fill:#eafaff }

/* sonrisa y luces */
.rb-smile { fill:none; stroke: var(--rb-cyan); stroke-width:4.2; stroke-linecap:round }
.rb-glowlight { fill: var(--rb-cyan); animation: rb-glow 2.6s ease-in-out infinite }
.rb-glowlight-2 { animation-delay:1.3s }
@keyframes rb-glow { 0%,100%{ opacity:.5 } 50%{ opacity:1 } }

/* audifonos */
.rb-ear { fill:#e3e9ec; stroke:#95a3aa; stroke-width:2 }
.rb-earring { fill:#c2ccd2; stroke:#95a3aa; stroke-width:1.6 }
.rb-chin { fill:#e3e9ec; stroke:#95a3aa; stroke-width:2 }

/* el robot proyecta y arma un conector: haz + piezas + chispa */
.rb-beam { fill: var(--rb-cyan); opacity:.12; animation: rb-glow 2.6s ease-in-out infinite }
.rb-plug { fill:#2c7a63; stroke: var(--rb-ink); stroke-width:1.6; transform-box: fill-box; transform-origin: center;
  opacity:0; animation: rb-build 5s ease-in-out infinite }
.rb-plug-2 { animation-delay:1.5s }
.rb-pins { stroke: var(--ochre,#c9913b); stroke-width:2.6; stroke-linecap:round;
  opacity:0; animation: rb-build 5s ease-in-out infinite; animation-delay:3s }
@keyframes rb-build { 0%{ opacity:0; transform: translateY(-7px) } 12%,90%{ opacity:1; transform: translateY(0) } 100%{ opacity:1 } }
.rb-spark { fill: var(--rb-cyan); opacity:0; transform-box: fill-box; transform-origin: center;
  animation: rb-spark 5s ease-in-out infinite; animation-delay:2.6s }
@keyframes rb-spark { 0%,52%,100%{ opacity:0; transform: scale(.4) } 60%{ opacity:.95; transform: scale(1) } 76%{ opacity:0; transform: scale(1.7) } }

@media (prefers-reduced-motion: reduce) {
  .rb-float,.rb-aura,.rb-ballglow,.rb-trace,.rb-eyeglow,.rb-eye,.rb-glowlight,
  .rb-beam,.rb-plug,.rb-pins,.rb-spark { animation: none !important; transform: none !important }
  .rb-plug,.rb-pins { opacity:1 !important } .rb-spark { opacity:0 !important }
  .rb-ceja,.rb-halo { animation: none !important; transform: none !important }
  .rb-halo { opacity:.5 !important }
  .rb-aura { opacity:.14 !important } .rb-eyeglow { opacity:.26 !important }
  .rb-glowlight { opacity:.9 !important } .rb-trace { opacity:.55 !important }
}

/* ============================================================
   HERO — la lamina de senales cobra vida. Las orbitas laten, las
   trayectorias se dibujan, los nodos pulsan y las barras suben.
   Todo CSS, sin JavaScript, y se detiene con movimiento reducido.
   ============================================================ */

/* las orbitas respiran, cada una con su propio ritmo */
.orbit { animation: hero-orbit 9s ease-in-out infinite; transform-origin: center }
.orbit-2 { animation-duration: 11s; animation-delay: -1.4s }
.orbit-3 { animation-duration: 13s; animation-delay: -2.8s }
.orbit-4 { animation-duration: 15s; animation-delay: -4.2s }
.orbit-5 { animation-duration: 17s; animation-delay: -5.6s }
@keyframes hero-orbit {
  0%,100% { transform: translate(-50%,-50%) scale(1);    opacity:.42 }
  50%     { transform: translate(-50%,-50%) scale(1.035); opacity:.72 }
}

/* las trayectorias se trazan solas, como si el sistema las descubriera */
.path { animation: hero-path 12s ease-in-out infinite }
.path-b { animation-duration: 15s; animation-delay: -3s }
.path-c { animation-duration: 18s; animation-delay: -6s }
@keyframes hero-path { 0%,100% { opacity:.30 } 45% { opacity:.85 } }

/* los ejes barren muy despacio */
.axis-x { animation: hero-sweep-x 14s linear infinite }
.axis-y { animation: hero-sweep-y 18s linear infinite }
@keyframes hero-sweep-x { to { background-position: 90px 0 } }
@keyframes hero-sweep-y { to { background-position: 0 90px } }

/* los nodos aparecen y laten, uno tras otro: son las senales detectadas */
.node { animation: hero-node 6s ease-in-out infinite; transform-origin: center }
.node-b { animation-delay: 1.1s } .node-c { animation-delay: 2.2s }
.node-d { animation-delay: 3.3s } .node-e { animation-delay: 4.4s }
@keyframes hero-node {
  0%,100% { transform: scale(1);    box-shadow: 0 0 0 0 #276a9c00 }
  8%      { transform: scale(1.35); box-shadow: 0 0 0 0 #276a9c55 }
  26%     { transform: scale(1);    box-shadow: 0 0 0 13px #276a9c00 }
}

/* el nucleo late con mas presencia y proyecta un anillo */
.signal-core { animation: hero-core 5s ease-in-out infinite }
@keyframes hero-core {
  0%,100% { transform: scale(1);    box-shadow: 0 0 0 0 #c9913b3d }
  55%     { transform: scale(1.07); box-shadow: 0 0 0 26px #c9913b00 }
}

/* la retícula de puntos se enciende por oleadas */
.data-card-dots span { animation: hero-dot 3.6s ease-in-out infinite }
.data-card-dots span:nth-child(6n+2){ animation-delay:.3s }
.data-card-dots span:nth-child(6n+3){ animation-delay:.6s }
.data-card-dots span:nth-child(6n+4){ animation-delay:.9s }
.data-card-dots span:nth-child(6n+5){ animation-delay:1.2s }
.data-card-dots span:nth-child(6n)  { animation-delay:1.5s }
@keyframes hero-dot { 0%,100% { opacity:.35; transform: scale(.85) } 50% { opacity:1; transform: scale(1.15) } }

/* las barras del panel crecen desde su base */
.data-card-bars span { transform-origin: bottom; animation: hero-bar 4.4s ease-in-out infinite }
.data-card-bars span:nth-child(2){ animation-delay:.18s }
.data-card-bars span:nth-child(3){ animation-delay:.36s }
.data-card-bars span:nth-child(4){ animation-delay:.54s }
.data-card-bars span:nth-child(5){ animation-delay:.72s }
@keyframes hero-bar { 0%,100% { transform: scaleY(.72) } 50% { transform: scaleY(1) } }

@media (prefers-reduced-motion: reduce) {
  .orbit,.path,.axis-x,.axis-y,.node,.signal-core,
  .data-card-dots span,.data-card-bars span { animation: none !important }
  /* estados de reposo: sin ellos el fotograma final dejaria las barras al 72% */
  .orbit { opacity:.6 !important; transform: translate(-50%,-50%) !important }
  .path { opacity:.6 !important }
  .node,.signal-core { transform: none !important; box-shadow: none !important }
  .data-card-dots span { opacity:.8 !important; transform: none !important }
  .data-card-bars span { transform: none !important }
}

/* cejas y halo de antena: acercan la cara a la referencia aprobada */
/* rb-brow ya nombra la placa oscura de la cabeza: la ceja usa otro nombre */
.rb-cejaline { fill:none; stroke: var(--rb-cyan); stroke-width:3.4; stroke-linecap:round }
.rb-ceja { transform-box: fill-box; transform-origin: center;
  animation: rb-ceja 4.2s ease-in-out infinite }
@keyframes rb-ceja { 0%,42%,100%{ transform: translateY(0) } 50%{ transform: translateY(2.5px) } }
.rb-halo { fill:none; stroke: var(--rb-cyan); stroke-width:2.4; opacity:.5;
  transform-box: fill-box; transform-origin: center; animation: rb-halo 6s ease-in-out infinite }
@keyframes rb-halo { 0%,100%{ transform: rotate(-9deg) scale(1); opacity:.38 }
                     50%{ transform: rotate(9deg) scale(1.1); opacity:.75 } }
/* ============================================================
   NOVA — el personaje en render, con vida propia.

   Los renders son PNG/WebP planos: la articulacion no se puede
   animar. Lo que si se puede es todo lo que rodea al personaje,
   y ahi va el movimiento: flotacion, halo que respira, anillos
   de piso que se expanden, chispas que orbitan y una barrida de
   luz. Al pasar el cursor el robot se acerca.

   El contenedor .plate ya pone el marco y el fondo de lamina;
   aqui se le monta la escena encima sin tocar esas reglas.
   ============================================================ */
.nova .nova-esc{position:relative;display:block;
  border:1px solid var(--line);border-radius:16px;background:var(--panel);
  padding:16px 14px 22px;overflow:hidden;isolation:isolate}
section.forest .nova .nova-esc{border-color:rgba(246,241,232,.16);background:rgba(246,241,232,.04)}

/* el render pierde el marco propio: lo lleva la escena */
.nova .nova-bot{position:relative;z-index:2;margin:0 auto;
  width:auto;max-width:100%;max-height:300px;height:auto;
  border:0;background:none;padding:0;display:block;
  animation:nova-flotar 6.5s ease-in-out infinite}
.plate-row .nova .nova-bot{max-height:220px}
.split .nova .nova-bot{max-height:265px}
@media(max-width:640px){.nova .nova-bot{max-height:210px}}
@keyframes nova-flotar{0%,100%{transform:translateY(0)}50%{transform:translateY(-9px)}}

/* resplandor detras del personaje, respirando */
.nova .nova-esc::before{content:"";position:absolute;z-index:0;
  left:50%;top:46%;width:62%;aspect-ratio:1;transform:translate(-50%,-50%);
  background:radial-gradient(circle,rgba(32,200,228,.20),rgba(32,200,228,0) 68%);
  animation:nova-respirar 5.4s ease-in-out infinite}
@keyframes nova-respirar{0%,100%{opacity:.55;transform:translate(-50%,-50%) scale(1)}
  50%{opacity:1;transform:translate(-50%,-50%) scale(1.07)}}

/* piso: elipse tenue bajo el personaje */
.nova .nova-esc::after{content:"";position:absolute;z-index:1;
  left:50%;bottom:16px;width:46%;height:16px;transform:translateX(-50%);
  border-radius:50%;
  background:radial-gradient(ellipse,rgba(32,200,228,.28),rgba(32,200,228,0) 70%);
  animation:nova-piso 6.5s ease-in-out infinite}
@keyframes nova-piso{0%,100%{opacity:.5;transform:translateX(-50%) scaleX(1)}
  50%{opacity:.9;transform:translateX(-50%) scaleX(.86)}}

/* chispas que suben y orbitan alrededor */
.nova .nova-orb{position:absolute;z-index:3;width:7px;height:7px;border-radius:50%;
  background:var(--nova-cyan,#20C8E4);opacity:0;pointer-events:none;
  animation:nova-orbita 7.2s ease-in-out infinite}
.nova .nova-orb-1{left:16%;bottom:24%;animation-delay:0s}
.nova .nova-orb-2{right:18%;bottom:32%;width:5px;height:5px;animation-delay:2.4s}
.nova .nova-orb-3{left:24%;bottom:52%;width:4px;height:4px;animation-delay:4.8s}
@keyframes nova-orbita{
  0%{opacity:0;transform:translateY(0) scale(.5)}
  14%{opacity:.9}
  70%{opacity:.55}
  100%{opacity:0;transform:translateY(-58px) scale(1.15)}}

/* barrida de luz que recorre la lamina de vez en cuando */
.nova .nova-esc{--nova-brillo:transparent}
.nova .nova-bot{filter:drop-shadow(0 10px 18px rgba(24,63,53,.16))}
section.forest .nova .nova-bot{filter:drop-shadow(0 10px 22px rgba(0,0,0,.4))}

/* interaccion: el personaje se acerca y el piso se ajusta */
.nova .nova-esc:hover .nova-bot{animation-play-state:paused;
  transform:translateY(-12px) scale(1.035);transition:transform .45s cubic-bezier(.22,1,.36,1)}
.nova .nova-esc:hover::before{opacity:1;transform:translate(-50%,-50%) scale(1.12);
  transition:transform .45s ease,opacity .45s ease}

@media (prefers-reduced-motion: reduce){
  .nova .nova-bot,.nova .nova-esc::before,.nova .nova-esc::after,.nova .nova-orb{
    animation:none !important;transform:none !important}
  .nova .nova-bot{transform:translateY(0) !important}
  .nova .nova-esc::before{opacity:.7;transform:translate(-50%,-50%) !important}
  .nova .nova-esc::after{opacity:.6;transform:translateX(-50%) !important}
  .nova .nova-orb{opacity:.7}
  .nova .nova-esc:hover .nova-bot{transform:none !important;transition:none}
}

/* --- NOVA con los conectores reales encima de los paneles del render --- */
.nova-tec-esc .nova-esc{position:relative}
.nova-tec{position:absolute;z-index:4;left:var(--x);top:var(--y);
  transform:translate(-50%,-50%);display:flex;flex-direction:column;align-items:center;gap:4px;
  pointer-events:none;opacity:0;
  animation:nova-tec-on 9s ease-in-out infinite;
  animation-delay:calc(var(--i) * .7s)}
.nova-tec svg{width:clamp(16px,2.4vw,26px);height:auto;display:block;
  filter:drop-shadow(0 2px 5px rgba(24,63,53,.28))}
.nova-tec b{font-size:clamp(8px,1.05vw,11.5px);font-weight:700;letter-spacing:.01em;
  color:var(--ink);background:var(--panel);border:1px solid var(--line);
  border-radius:6px;padding:1px 6px;white-space:nowrap;line-height:1.5}
section.forest .nova-tec b{color:#F6F1E8;background:rgba(24,63,53,.85);
  border-color:rgba(246,241,232,.22)}
@keyframes nova-tec-on{
  0%{opacity:0;transform:translate(-50%,-50%) scale(.82)}
  8%{opacity:1;transform:translate(-50%,-50%) scale(1.06)}
  14%,80%{opacity:1;transform:translate(-50%,-50%) scale(1)}
  92%,100%{opacity:0;transform:translate(-50%,-50%) scale(.9)}}
@media(max-width:560px){.nova-tec b{display:none}}
@media (prefers-reduced-motion: reduce){
  .nova-tec{animation:none !important;opacity:1 !important;
    transform:translate(-50%,-50%) !important}}

.nova-tec-esc .nova-marco{position:relative;display:inline-block;max-width:100%;line-height:0}
.nova-tec-esc .nova-esc{text-align:center}

/* --- Selector de idioma -------------------------------------------------
   Control de dos posiciones. Las banderas van como SVG en linea y no como
   emoji: la regla de la casa prohibe emoji, y ademas el emoji de bandera se
   renderiza distinto en cada sistema y en Windows ni siquiera aparece. */
.langsw{display:inline-flex;align-items:center;gap:2px;border:1px solid var(--line);
  border-radius:999px;padding:2px;background:transparent;flex:none}
.langsw a{display:inline-flex;align-items:center;gap:5px;padding:4px 9px;border-radius:999px;
  font-size:11.5px;font-weight:700;letter-spacing:.04em;text-decoration:none;
  color:var(--ink);opacity:.55;transition:opacity .15s,background .15s}
.langsw a:hover{opacity:.9}
.langsw a[aria-current="true"]{opacity:1;background:color-mix(in srgb,currentColor 10%,transparent)}
.langsw svg{display:block;width:17px;height:12px;border-radius:2px;flex:none;
  box-shadow:0 0 0 1px rgba(0,0,0,.10)}
@media(max-width:560px){
  .langsw a span{display:none}          /* en movil manda la bandera, no el texto */
  .langsw a{padding:5px 7px}
}
