/* =========================================================
   PreGen — estilos del sitio
   Colores y tipografía de marca. Montserrat reemplaza a Gotham.
   ========================================================= */

:root {
  --teal: #227B83;
  --node: #0EB8B8;
  --node-l: #5FD8D2;
  --mint: #D6F3EF;
  --dark: #040C0E;
  --ink: #10272A;
  --muted: #55676A;
  --light: #F3F7F7;
  --line: #DCE6E6;
  --pad: clamp(20px, 6.67vw, 96px);
  --maxw: 1248px;
  --header-h: 100px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Montserrat', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color: var(--ink);
  background: #FFFFFF;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--node); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.wrap {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: calc(var(--maxw) + 2 * var(--pad));
  margin: 0 auto;
  padding: 0 var(--pad);
}
section { position: relative; overflow: hidden; scroll-margin-top: 72px; }

/* Trama de red de marca (un solo archivo, coloreado con máscara) */
.net {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  aspect-ratio: 1;
  background: var(--node);
  -webkit-mask: url(../img/trama.webp) center / contain no-repeat;
  mask: url(../img/trama.webp) center / contain no-repeat;
}
.net--white { background: #FFFFFF; }

/* ---------- Tipografía y piezas comunes ---------- */
.tag {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 9px 20px;
  border: 1px solid var(--teal);
  border-radius: 999px 999px 999px 0;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .01em;
  color: var(--teal);
  white-space: nowrap;
}
.tag--line::before {
  content: "";
  position: absolute;
  right: 100%;
  top: 50%;
  width: 100vw;
  height: 1px;
  background: var(--teal);
  opacity: .6;
}
.tag--light { border-color: rgba(255, 255, 255, .7); color: #FFFFFF; }

.h2 {
  font-size: clamp(32px, 3.6vw, 46px);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.035em;
  color: var(--ink);
}
.accent { color: var(--teal); }
.accent-l { color: var(--node-l); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  border: 0;
  border-radius: 999px;
  background: var(--teal);
  color: #FFFFFF;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}
.btn:hover { background: #1B666D; }
.btn--block { width: 100%; padding: 17px; font-size: 16px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--header-h);
  transition: background .25s ease, height .25s ease, box-shadow .25s ease;
}
.site-header.is-scrolled,
.site-header.is-solid {
  --header-h: 76px;
  background: rgba(4, 12, 14, .92);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .08);
}
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.brand img { height: 40px; width: auto; }
.main-nav { display: flex; align-items: center; gap: 40px; }
.main-nav .links { display: flex; gap: 34px; }
.main-nav .links a {
  color: #FFFFFF;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  opacity: .92;
}
.main-nav .links a:hover { opacity: 1; color: var(--node-l); }
.lang { font-size: 14px; font-weight: 700; color: #FFFFFF; white-space: nowrap; }
.lang a { color: rgba(255, 255, 255, .55); font-weight: 500; text-decoration: none; }
.lang a:hover { color: #FFFFFF; }
.lang .sep { color: rgba(255, 255, 255, .45); font-weight: 500; margin: 0 2px; }
.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 12px;
  background: transparent;
  cursor: pointer;
  position: relative;
}
.menu-toggle span[aria-hidden] {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 2px;
  border-radius: 2px;
  background: #FFFFFF;
  transition: transform .25s ease, opacity .25s ease;
}
.menu-toggle span[aria-hidden]:nth-child(1) { top: 15px; }
.menu-toggle span[aria-hidden]:nth-child(2) { top: 21px; }
.menu-toggle span[aria-hidden]:nth-child(3) { top: 27px; }
.menu-open .menu-toggle span[aria-hidden]:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-toggle span[aria-hidden]:nth-child(2) { opacity: 0; }
.menu-open .menu-toggle span[aria-hidden]:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- 1 · Portada ---------- */
.hero {
  min-height: clamp(620px, 100vh, 820px);
  background: var(--dark);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero-img {
  position: absolute;
  top: 0;
  right: 0;
  width: 69.5%;
  height: 100%;
  object-fit: cover;
  object-position: 35% 45%;
}
.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, rgba(4, 12, 14, .85) 0%, rgba(4, 12, 14, 0) 32%),
    linear-gradient(180deg, rgba(4, 12, 14, .7) 0%, rgba(4, 12, 14, 0) 22%),
    linear-gradient(90deg, #040C0E 0%, #040C0E 30%, rgba(4, 12, 14, .78) 46%, rgba(4, 12, 14, .18) 68%, rgba(4, 12, 14, 0) 100%);
}
.hero .net { left: -360px; bottom: -540px; width: 960px; opacity: .22; }
.hero-content { padding-top: 70px; padding-bottom: 60px; }
.hero h1 {
  max-width: 640px;
  font-size: clamp(38px, 4.3vw, 62px);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.035em;
  color: #FFFFFF;
}
.hero-bar { width: 72px; height: 4px; margin-top: 28px; border-radius: 2px; background: linear-gradient(90deg, var(--teal), var(--node)); }
.hero-foot {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 44px;
}
.hero-foot div {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .18em;
  color: rgba(255, 255, 255, .6);
}
.hero-foot div::before { content: ""; width: 28px; height: 1px; background: rgba(255, 255, 255, .5); }

/* ---------- 2 · Qué hacemos ---------- */
.what { padding: 110px 0 130px; background: #FFFFFF; }
.what .net { left: -460px; top: 400px; width: 960px; opacity: .3; }
.what-grid { display: grid; grid-template-columns: minmax(0, 544px) 1fr; gap: 40px; align-items: start; }
.what-text { display: flex; flex-direction: column; align-items: flex-start; gap: 34px; }
.lead-xl {
  font-size: clamp(23px, 2.4vw, 34px);
  line-height: 1.35;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.lead-xl strong { color: var(--teal); font-weight: 700; }
.what-media { position: relative; width: 540px; max-width: 100%; justify-self: end; margin-top: -40px; }
.what-visual { position: relative; width: 100%; aspect-ratio: 1; }
.what-visual .ring { position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid rgba(34, 123, 131, .35); }
.what-visual .circle { position: absolute; inset: 20px; width: calc(100% - 40px); height: calc(100% - 40px); border-radius: 50%; object-fit: cover; object-position: 45% 50%; }
.what-card {
  position: absolute;
  left: -166px;
  top: 302px;
  width: 480px;
  padding: 30px 32px;
  background: #FFFFFF;
  border-radius: 24px;
  box-shadow: 0 20px 50px rgba(16, 39, 42, .14);
}
.what-card .head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.icon-soft { width: 40px; height: 40px; flex: none; border-radius: 50%; background: var(--mint); display: flex; align-items: center; justify-content: center; }
.what-card h3 { font-size: 21px; line-height: 1.25; font-weight: 800; letter-spacing: -0.01em; }
.what-card p { font-size: 16px; line-height: 1.6; color: var(--muted); }

/* ---------- 3 · ¿Por qué PreGen? ---------- */
.why { padding: 96px 0; background: var(--dark); color: #FFFFFF; }
.why-bg { position: absolute; left: -1.4%; top: -70px; width: 118%; height: auto; min-height: calc(100% + 70px); max-width: none; object-fit: cover; object-position: 0% 0%; }
.why-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(4, 12, 14, .95) 0%, rgba(4, 12, 14, .86) 45%, rgba(4, 12, 14, .3) 70%, rgba(4, 12, 14, .12) 100%); }
.why .net { left: -380px; top: -520px; width: 1100px; opacity: .32; }
.why-text { display: flex; flex-direction: column; align-items: flex-start; gap: 28px; max-width: 760px; }
.why-lead { font-size: clamp(20px, 1.85vw, 26px); line-height: 1.45; font-weight: 500; letter-spacing: -0.01em; }
.why-lead strong { color: var(--node-l); font-weight: 700; }
.why-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 120px; }
.why-card { padding: 26px 24px; background: rgba(255, 255, 255, .95); border-radius: 20px; color: var(--ink); display: flex; flex-direction: column; gap: 14px; }
.icon-solid { width: 52px; height: 52px; border-radius: 50%; background: var(--teal); display: flex; align-items: center; justify-content: center; }
.why-card h3 { font-size: 19px; line-height: 1.25; font-weight: 800; letter-spacing: -0.01em; }
.why-card p { font-size: 15px; line-height: 1.5; color: var(--muted); }

/* ---------- 4 · Cómo funciona ---------- */
.how { padding: 96px 0 120px; background: #FFFFFF; }
.how .net { left: 44%; top: 470px; width: 1000px; opacity: .36; }
.section-head { display: flex; flex-direction: column; align-items: flex-start; gap: 26px; }
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 17px; margin-top: 70px; }
.step { background: #FFFFFF; border: 1px solid #DFE8E8; border-radius: 20px; overflow: hidden; box-shadow: 0 12px 30px rgba(16, 39, 42, .06); }
.step-visual { height: 180px; }
.step-visual img, .step-visual svg { width: 100%; height: 100%; object-fit: cover; }
.step-body { padding: 22px 22px 28px; display: flex; flex-direction: column; gap: 10px; }
.step-num { width: 32px; height: 32px; border-radius: 50%; background: var(--teal); color: #FFFFFF; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 700; }
.step h3 { font-size: 19px; font-weight: 800; letter-spacing: -0.01em; }
.step p { font-size: 15px; line-height: 1.5; color: var(--muted); }
.report { height: 180px; padding: 22px; background: var(--mint); display: flex; flex-direction: column; gap: 12px; }
.report-title { font-size: 11px; font-weight: 700; letter-spacing: .08em; color: var(--muted); }
.report-bars { display: flex; align-items: flex-end; gap: 4px; height: 56px; }
.report-bars i { flex: 1; border-radius: 2px; background: var(--teal); }
.report-bars i.l { background: #7FD0CB; }
.report-scale { display: flex; height: 8px; border-radius: 4px; overflow: hidden; }
.report-scale i { flex: 1; }
.report-labels { display: flex; justify-content: space-between; font-size: 11px; color: var(--muted); }

/* ---------- 5 · Producto ---------- */
.product { padding: 100px 0; background: var(--light); }
.product .net-a { left: -460px; top: -520px; width: 960px; opacity: .3; }
.product .net-b { right: -360px; bottom: -400px; width: 700px; opacity: .2; }
.product-card { display: flex; min-height: 600px; background: #FFFFFF; border-radius: 40px; overflow: hidden; box-shadow: 0 20px 60px rgba(16, 39, 42, .08); }
.product-media { width: 43.3%; flex: none; position: relative; }
.product-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 45% 50%; border-radius: 0 160px 0 0; }
.product-body { flex: 1; padding: 60px 64px; display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.product-body p { font-size: 19px; line-height: 1.55; color: var(--muted); }
.product-body p strong { color: var(--ink); font-weight: 700; }
.pill-mint { padding: 8px 16px; background: var(--mint); color: var(--teal); border-radius: 999px; font-size: 14px; font-weight: 600; }
.stats { width: 100%; display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 14px; }
.stat { display: flex; flex-direction: column; gap: 6px; padding: 0 24px; border-left: 1px solid var(--line); }
.stat:first-child { padding-left: 0; border-left: 0; }
.stat strong { font-size: clamp(24px, 2.1vw, 30px); font-weight: 700; color: var(--teal); white-space: nowrap; }
.stat span { font-size: 14px; line-height: 1.45; color: var(--muted); }

/* ---------- 6 · Plataforma ---------- */
.platform { padding: 120px 0; background: var(--dark); color: #FFFFFF; }
.platform-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; }
.platform-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(4, 12, 14, .92) 0%, rgba(4, 12, 14, .7) 45%, rgba(4, 12, 14, .35) 100%); }
.platform-grid { display: grid; grid-template-columns: minmax(0, 560px) minmax(0, 584px); justify-content: space-between; align-items: center; gap: 48px; }
.platform-text { display: flex; flex-direction: column; align-items: flex-start; gap: 28px; }
.platform-text h2 { font-size: clamp(34px, 3.6vw, 52px); line-height: 1.1; font-weight: 800; letter-spacing: -0.035em; }
.platform-text p { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.55; color: rgba(255, 255, 255, .85); }
.platform-text p strong { color: var(--node-l); font-weight: 700; }
.pipeline { display: flex; flex-direction: column; gap: 16px; }
.pipe-labels { display: flex; gap: 6px; padding: 0 30px; }
.pipe-labels span { flex: 1; font-size: 12px; font-weight: 600; letter-spacing: .06em; color: rgba(255, 255, 255, .55); }
.pipe { padding: 26px 30px; background: rgba(4, 12, 14, .62); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); border: 1px solid rgba(255, 255, 255, .16); border-radius: 24px; display: flex; flex-direction: column; gap: 18px; }
.pipe-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.pipe-name { font-size: 23px; font-weight: 700; }
.pipe-sub { font-size: 15px; color: rgba(255, 255, 255, .7); margin-top: 4px; }
.pipe-status { padding: 8px 16px; border-radius: 999px; font-size: 13px; font-weight: 700; white-space: nowrap; }
.pipe-status.s3 { background: var(--node-l); color: var(--dark); }
.pipe-status.s2 { border: 1px solid var(--node-l); color: var(--node-l); }
.pipe-status.s1 { border: 1px solid rgba(255, 255, 255, .5); color: rgba(255, 255, 255, .8); }
.pipe-bar { display: flex; gap: 6px; }
.pipe-bar i { flex: 1; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .14); }
.pipe-bar i.on { background: var(--node-l); }

/* ---------- 7 · Novedades ---------- */
.news { padding: 100px 0 96px; background: var(--light); }
.news .net { left: -440px; top: 620px; width: 900px; opacity: .2; }
.news-head { display: flex; flex-direction: column; align-items: flex-start; gap: 26px; }
.news-bar { width: 100%; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.tabs { display: flex; gap: 32px; border-bottom: 1px solid var(--line); }
.tab {
  padding: 0 0 12px;
  border: 0;
  border-bottom: 3px solid transparent;
  background: none;
  font-size: 16px;
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
  cursor: pointer;
}
.tab[aria-selected="true"] { font-weight: 800; color: var(--ink); border-bottom-color: var(--teal); }
.news-tools { display: flex; align-items: flex-end; gap: 32px; }
.see-all { padding-bottom: 14px; font-size: 15px; font-weight: 700; color: var(--teal); text-decoration: none; white-space: nowrap; }
.see-all:hover { text-decoration: underline; }
.news-grid { display: grid; grid-template-columns: minmax(0, 744fr) minmax(0, 472fr); gap: 32px; margin-top: 46px; }
.feat {
  position: relative;
  display: block;
  min-height: 540px;
  border-radius: 28px;
  overflow: hidden;
  background: var(--dark);
  text-decoration: none;
  color: #FFFFFF;
}
.feat img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; transition: transform .5s ease; }
.feat:hover img { transform: scale(1.03); }
.feat::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(4, 12, 14, 0) 0%, rgba(4, 12, 14, .1) 35%, rgba(4, 12, 14, .78) 68%, rgba(4, 12, 14, .95) 100%); }
.feat-body { position: absolute; left: 40px; right: 40px; bottom: 38px; z-index: 1; display: flex; flex-direction: column; gap: 14px; }
.feat-meta { display: flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 600; color: rgba(255, 255, 255, .8); }
.badge { padding: 6px 12px; border-radius: 999px; background: var(--node-l); color: var(--dark); font-size: 12px; font-weight: 800; }
.badge--soon { padding: 4px 10px; font-size: 11px; letter-spacing: .04em; text-transform: uppercase; }
.feat-title { font-size: clamp(22px, 2.1vw, 30px); line-height: 1.2; font-weight: 800; letter-spacing: -0.02em; }
.feat-sub { font-size: 16px; line-height: 1.45; color: rgba(255, 255, 255, .78); }
.more { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 700; color: var(--node-l); }
.news-side { display: flex; flex-direction: column; gap: 16px; }
.mini {
  flex: 1;
  min-height: 112px;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 14px 18px 14px 14px;
  background: #FFFFFF;
  border-radius: 20px;
  box-shadow: 0 12px 30px rgba(16, 39, 42, .07);
  text-decoration: none;
  color: var(--ink);
  transition: transform .2s ease, box-shadow .2s ease;
}
.mini:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(16, 39, 42, .11); }
.mini img { width: 95px; height: 95px; flex: none; border-radius: 12px; object-fit: cover; }
.mini-meta { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; color: var(--muted); }
.mini-title { margin-top: 6px; font-size: 15.5px; line-height: 1.32; font-weight: 700; }
[role="tabpanel"][hidden] { display: none; }

/* Premios */
.awards { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 32px; margin-top: 46px; }
.card-link { display: flex; flex-direction: column; gap: 16px; text-decoration: none; color: var(--ink); }
.card-link:hover .card-title { color: var(--teal); }
.tile {
  position: relative;
  aspect-ratio: 392 / 245;
  border-radius: 20px;
  overflow: hidden;
  background: #FFFFFF;
  border: 1px solid var(--line);
}
.tile .net { left: -30%; top: -95%; width: 110%; opacity: .9; }
.tile-fade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255, 255, 255, 0) 20%, #FFFFFF 62%); }
.tile-text { position: absolute; left: 8%; bottom: 13%; z-index: 1; display: flex; flex-direction: column; gap: 5px; }
.tile-text small { font-size: 10.5px; font-weight: 600; letter-spacing: .12em; color: var(--muted); }
.tile-text strong { font-size: clamp(24px, 2.4vw, 34px); line-height: 1; font-weight: 800; letter-spacing: -0.02em; color: var(--teal); }
.card-img { aspect-ratio: 392 / 245; border-radius: 20px; overflow: hidden; background: var(--line); }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card-link:hover .card-img img { transform: scale(1.03); }
.card-meta { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; color: var(--muted); }
.card-title { font-size: 19px; line-height: 1.34; font-weight: 700; letter-spacing: -0.01em; transition: color .2s ease; }
.card-sub { font-size: 14.5px; line-height: 1.5; color: var(--muted); }
.card-via { display: flex; flex-wrap: wrap; align-items: center; column-gap: 12px; row-gap: 4px; font-size: 13px; color: var(--muted); }
.card-via b { color: var(--teal); white-space: nowrap; }

/* ---------- 8 · Equipo ---------- */
.team { padding: 100px 0 90px; background: #FFFFFF; }
.team .net { right: -320px; top: -420px; width: 900px; opacity: .35; }
.members { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px 20px; margin-top: 64px; }
.member { position: relative; width: calc((100% - 80px) / 5); max-width: 228px; padding-top: 80px; }
.member-card {
  min-height: 250px;
  padding: 100px 16px 28px;
  background: #FFFFFF;
  border-radius: 28px 28px 80px 28px;
  box-shadow: 0 16px 40px rgba(16, 39, 42, .08);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
}
.member-photo { position: absolute; top: 0; left: 50%; width: 160px; height: 160px; transform: translateX(-50%); }
.member-photo::before { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--node); opacity: .55; }
.member-photo img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 6px solid #FFFFFF; }
.member-name { font-size: 19px; font-weight: 700; color: var(--teal); }
.member-role { font-size: 14px; color: var(--muted); }
.chip { margin-top: 12px; display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border: 1px solid #C7D5D5; border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--ink); text-decoration: none; }
.chip:hover { border-color: var(--teal); color: var(--teal); }
.advisors { margin-top: 44px; text-align: center; font-size: 15px; color: var(--muted); }
.advisors strong { color: var(--ink); font-weight: 600; }

/* ---------- 9 · Inversores ---------- */
.investors { padding: 100px 0 110px; background: var(--light); }
.investors .net-a { right: -380px; top: -460px; width: 900px; opacity: .28; }
.investors .net-b { left: -420px; bottom: -560px; width: 860px; opacity: .16; }
.investor-logos { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; margin-top: 56px; }
.investor-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 360px;
  max-width: 100%;
  height: 190px;
  background: #FFFFFF;
  border-radius: 28px 28px 80px 28px;
  box-shadow: 0 16px 40px rgba(16, 39, 42, .08);
  transition: transform .2s ease, box-shadow .2s ease;
}
.investor-logo:hover { transform: translateY(-3px); box-shadow: 0 20px 46px rgba(16, 39, 42, .13); }
.investor-logo img { width: 240px; max-width: 75%; height: auto; }

/* ---------- 10 · Contacto ---------- */
.contact { padding: 110px 0; background: var(--light); }
.investors + .contact .contact-grid::before { content: ""; position: absolute; left: var(--pad); right: var(--pad); top: -110px; height: 1px; background: var(--line); }
.contact .net-a { right: -480px; bottom: -560px; width: 960px; opacity: .28; }
.contact .net-b { left: -560px; top: -560px; width: 860px; opacity: .18; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 520px) minmax(0, 600px); justify-content: space-between; gap: 48px; align-items: start; }
.contact-text { display: flex; flex-direction: column; align-items: flex-start; gap: 26px; padding-top: 20px; }
.contact-text h2 { font-size: clamp(44px, 4.5vw, 64px); line-height: 1.1; font-weight: 800; letter-spacing: -0.035em; }
.contact-text p { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.55; color: var(--muted); }
.contact-links { display: flex; flex-direction: column; gap: 14px; margin-top: 10px; }
.contact-links a { display: inline-flex; align-items: center; gap: 12px; font-size: 17px; font-weight: 600; color: var(--ink); text-decoration: none; }
.contact-links a:hover { color: var(--teal); }
.contact-links span { width: 44px; height: 44px; border-radius: 50%; background: #FFFFFF; display: inline-flex; align-items: center; justify-content: center; }
.form {
  padding: 44px;
  background: #FFFFFF;
  border-radius: 32px;
  box-shadow: 0 24px 60px rgba(16, 39, 42, .10);
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 14px; font-weight: 600; }
.field label span { color: var(--teal); }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 15px 18px;
  background: var(--light);
  border: 1px solid transparent;
  border-radius: 14px;
  font-size: 15px;
  color: var(--ink);
  transition: border-color .2s ease, background .2s ease;
}
.field textarea { height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); background: #FFFFFF; }
.field input::placeholder, .field textarea::placeholder { color: #8A999B; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form .btn--block { margin-top: 6px; }
.form-status { min-height: 0; font-size: 15px; line-height: 1.5; border-radius: 14px; }
.form-status.ok, .form-status.err { padding: 14px 18px; }
.form-status.ok { background: var(--mint); color: #145A60; }
.form-status.err { background: #FDECEC; color: #8A1F1F; }
.form-note { font-size: 12.5px; color: var(--muted); }
.btn[disabled] { opacity: .6; cursor: progress; }

/* ---------- Footer ---------- */
.site-footer { position: relative; overflow: hidden; isolation: isolate; padding: 64px 0 40px; background: var(--dark); color: #FFFFFF; }
.site-footer > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 70%; opacity: .45; z-index: -1; }
.footer-top { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer-top img { height: 38px; width: auto; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 14px 34px; }
.footer-nav a { color: rgba(255, 255, 255, .85); text-decoration: none; font-size: 15px; }
.footer-nav a:hover { color: var(--node-l); }
.footer-bottom { margin-top: 40px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .14); display: flex; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; font-size: 13px; color: rgba(255, 255, 255, .55); }

/* ---------- Página de novedades ---------- */
.page-news { padding: calc(var(--header-h) + 96px) 0 110px; background: var(--light); min-height: 70vh; }
.page-news .net { right: -160px; top: -300px; width: 900px; opacity: .35; }
.page-head { display: flex; flex-direction: column; align-items: flex-start; gap: 26px; }
.page-bar { width: 100%; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.page-head h1 { font-size: clamp(38px, 4.2vw, 60px); line-height: 1.05; font-weight: 800; letter-spacing: -0.035em; }
.page-head p { margin-top: 16px; font-size: 18px; line-height: 1.55; color: var(--muted); }
.pills { display: flex; gap: 10px; flex-wrap: wrap; }
.pill-tab {
  padding: 11px 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #FFFFFF;
  font-size: 14px;
  font-weight: 700;
  color: var(--muted);
  cursor: pointer;
}
.pill-tab span { opacity: .7; font-weight: 600; }
.pill-tab[aria-selected="true"] { background: var(--teal); border-color: var(--teal); color: #FFFFFF; }
.grid-big { display: grid; grid-template-columns: repeat(2, 1fr); gap: 36px; margin-top: 60px; }
.grid-small { display: grid; grid-template-columns: repeat(4, 1fr); gap: 56px 24px; margin-top: 64px; }
.grid-big .card-title { font-size: clamp(20px, 1.8vw, 24px); }
.grid-big .card-img, .grid-big .tile { aspect-ratio: 606 / 340; }
.grid-small .card-title { font-size: 17px; }
.grid-small .tile-text strong { font-size: 28px; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1180px) {
  .main-nav { gap: 26px; }
  .main-nav .links { gap: 22px; }
  .what-card { left: -120px; width: 440px; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .members { justify-content: center; }
  .member { width: calc((100% - 40px) / 3); }
  .grid-small { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 980px) {
  :root { --header-h: 76px; }
  .menu-toggle { display: block; }
  .main-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    padding: 12px var(--pad) 28px;
    background: rgba(4, 12, 14, .97);
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
  }
  .menu-open .main-nav { opacity: 1; transform: none; visibility: visible; }
  .menu-open .site-header { background: rgba(4, 12, 14, .97); }
  .main-nav .links { flex-direction: column; gap: 0; }
  .main-nav .links a { padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); font-size: 17px; }
  .main-nav .btn { align-self: flex-start; }

  .hero-img { width: 100%; object-position: 60% 45%; }
  .hero-shade { background: linear-gradient(180deg, rgba(4, 12, 14, .7) 0%, rgba(4, 12, 14, .55) 40%, rgba(4, 12, 14, .9) 100%); }

  .what { padding: 88px 0; }
  .what-grid { grid-template-columns: 1fr; gap: 48px; }
  .what-media { justify-self: center; width: min(460px, 100%); margin-top: 0; }
  .what-card { position: relative; left: auto; top: auto; width: 100%; margin-top: -70px; padding: 26px 24px; }

  .why { padding: 88px 0; }
  .why-shade { background: linear-gradient(180deg, rgba(4, 12, 14, .9) 0%, rgba(4, 12, 14, .8) 55%, rgba(4, 12, 14, .65) 100%); }
  .why-bg { left: 0; top: 0; width: 100%; height: 100%; min-height: 0; object-position: 70% 30%; }
  .why-cards { grid-template-columns: repeat(2, 1fr); margin-top: 56px; }

  .how { padding: 88px 0; }
  .steps {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 16px;
    margin: 48px calc(-1 * var(--pad)) 0;
    padding: 0 var(--pad) 16px;
    scrollbar-width: thin;
  }
  .step { flex: 0 0 min(260px, 72vw); scroll-snap-align: start; }

  .product { padding: 72px 0; }
  .product-card { flex-direction: column; min-height: 0; border-radius: 28px; }
  .product-media { width: 100%; height: 300px; }
  .product-media img { border-radius: 0 0 0 0; }
  .product-body { padding: 36px 28px 40px; }

  .platform { padding: 88px 0; }
  .platform-grid { grid-template-columns: 1fr; }

  .news { padding: 88px 0; }
  .news-grid { grid-template-columns: 1fr; }
  .feat { min-height: 440px; }

  .investors { padding: 88px 0; }
  .investor-logos { margin-top: 40px; }
  .investor-logo { height: 170px; }

  .contact { padding: 88px 0; }
  .investors + .contact .contact-grid::before { top: -88px; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-text { padding-top: 0; }

  .grid-big { grid-template-columns: 1fr; }
  .page-news { padding-top: calc(var(--header-h) + 64px); }
}

@media (max-width: 640px) {
  .brand img { height: 32px; }
  .hero { min-height: 600px; }
  .hero-foot { bottom: 28px; }
  .hero-foot div { font-size: 11px; letter-spacing: .12em; }
  .news-tools { width: 100%; justify-content: space-between; gap: 16px; }
  .why-cards { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; gap: 18px; }
  .stat { padding: 18px 0 0; border-left: 0; border-top: 1px solid var(--line); }
  .stat:first-child { padding-top: 0; border-top: 0; }
  .pipe { padding: 22px 20px; }
  .pipe-labels { padding: 0 20px; }
  .pipe-top { flex-direction: column; align-items: flex-start; gap: 12px; }
  .feat { min-height: 400px; }
  .feat-body { left: 24px; right: 24px; bottom: 26px; }
  .mini img { width: 80px; height: 80px; }
  .tabs { gap: 22px; }
  .member { width: calc((100% - 16px) / 2); }
  .members { gap: 28px 16px; }
  .member-photo { width: 124px; height: 124px; }
  .member { padding-top: 62px; }
  .member-card { padding: 78px 10px 24px; min-height: 0; border-radius: 22px 22px 56px 22px; }
  .member-name { font-size: 17px; }
  .member-role { font-size: 13px; }
  .form { padding: 28px 22px; border-radius: 24px; }
  .form-row { grid-template-columns: 1fr; }
  .grid-small { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
