/* =============================================================
   ZEREBRO — The Intelligence Foundry
   Static site stylesheet
   Design system: Obsidian / Graphite / Electric White / AI Blue
   ============================================================= */

/* ---------- Design tokens ---------- */
:root {
  /* Palette (brand) */
  --obsidian:      #0A0A0A;
  --graphite:      #18181B;
  --graphite-2:    #1F1F23;
  --white:         #FAFAFA;
  --blue:          #3B82F6;
  --blue-soft:     rgba(59, 130, 246, .14);

  /* Text */
  --text:          #FAFAFA;
  --text-muted:    rgba(250, 250, 250, .58);
  --text-faint:    rgba(250, 250, 250, .40);

  /* Lines */
  --line:          rgba(250, 250, 250, .09);
  --line-strong:   rgba(250, 250, 250, .16);

  /* Type */
  --font-display:  "Space Grotesk", "Inter", system-ui, sans-serif;
  --font-body:     "Inter", system-ui, -apple-system, sans-serif;
  --font-mono:     "IBM Plex Mono", ui-monospace, "SFMono-Regular", monospace;

  /* Layout */
  --container:     1180px;
  --gutter:        7vw;
  --header-h:      72px;

  /* Motion */
  --ease:          cubic-bezier(.22, .61, .36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  font-family: var(--font-body);
  background: var(--obsidian);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
  letter-spacing: .005em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: none; }
ul { list-style: none; padding: 0; }
::selection { background: var(--blue); color: #fff; }

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ---------- Layout helpers ---------- */
.container {
  width: min(var(--container), 100% - var(--gutter) * 2);
  margin-inline: auto;
}
.section { padding: clamp(5rem, 11vw, 8.5rem) 0; }
.section--tight { padding: clamp(4rem, 8vw, 6rem) 0; }
[id] { scroll-margin-top: calc(var(--header-h) + 16px); }

/* Brand signature: the three-bar mark, derived from the logo's "E" */
.bars {
  display: inline-flex;
  flex-direction: column;
  gap: 3px;
  width: 16px;
  flex: none;
}
.bars span {
  height: 1.5px;
  background: currentColor;
  border-radius: 1px;
}
.bars span:nth-child(2) { width: 70%; }

/* Eyebrow / section kicker */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.eyebrow .bars { color: var(--blue); }

/* Display headings */
.display {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -.02em;
  font-size: clamp(2.1rem, 4.6vw, 3.4rem);
}
.lead {
  color: var(--text-muted);
  font-size: clamp(1rem, 1.4vw, 1.125rem);
  line-height: 1.75;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .85rem 1.5rem;
  font-family: var(--font-mono);
  font-size: .8rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: transform .25s var(--ease), background .25s var(--ease),
              border-color .25s var(--ease), color .25s var(--ease);
  will-change: transform;
}
.btn--primary {
  background: var(--white);
  color: var(--obsidian);
  font-weight: 500;
}
.btn--primary:hover { transform: translateY(-2px); background: #fff; }
.btn--ghost {
  border: 1px solid var(--line-strong);
  color: var(--text);
}
.btn--ghost:hover { border-color: var(--blue); color: var(--white); transform: translateY(-2px); }
.btn .arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

/* =============================================================
   HEADER
   ============================================================= */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background .35s var(--ease), border-color .35s var(--ease), backdrop-filter .35s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(10, 10, 10, .72);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--line);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1320px, 100% - var(--gutter) * 2);
}
.brand-link { display: inline-flex; align-items: center; }
.brand-link img { height: 22px; width: auto; }

.nav {
  display: flex;
  align-items: center;
  gap: 2.4rem;
}
.nav a {
  font-family: var(--font-mono);
  font-size: .76rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-faint);
  transition: color .2s var(--ease);
  position: relative;
}
.nav a:hover { color: var(--white); }
.nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 1px;
  background: var(--blue);
  transition: width .25s var(--ease);
}
.nav a:hover::after { width: 100%; }
.nav .btn { padding: .6rem 1.1rem; }

/* Mobile menu toggle */
.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
.nav-toggle span {
  width: 22px; height: 1.5px;
  background: var(--white);
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* =============================================================
   HERO
   ============================================================= */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--header-h) + 2rem) 0 4rem;
  overflow: hidden;
}
/* faint blueprint grid */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(250,250,250,.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(250,250,250,.035) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(ellipse 75% 65% at 50% 42%, #000 0%, transparent 78%);
          mask-image: radial-gradient(ellipse 75% 65% at 50% 42%, #000 0%, transparent 78%);
  pointer-events: none;
}
/* ambient blue glow behind the wordmark */
.hero::after {
  content: "";
  position: absolute;
  top: 32%; left: 50%;
  width: min(900px, 90vw);
  height: 420px;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse at center, rgba(59,130,246,.16) 0%, transparent 68%);
  filter: blur(8px);
  pointer-events: none;
}
.hero__inner { position: relative; z-index: 1; width: min(900px, 92vw); }

.hero__kicker {
  font-family: var(--font-mono);
  font-size: clamp(.66rem, 1.4vw, .78rem);
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: clamp(2rem, 5vw, 3.2rem);
}
.hero__wordmark {
  width: min(680px, 86vw);
  margin: 0 auto;
}
.hero__rule {
  width: 56px;
  height: 2px;
  background: var(--blue);
  margin: clamp(1.4rem, 3vw, 2rem) auto clamp(1rem, 2.4vw, 1.4rem);
  transform-origin: center;
}
.hero__tagline {
  font-family: var(--font-mono);
  font-size: clamp(.72rem, 1.7vw, .95rem);
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--white);
}
.hero__sub {
  max-width: 30ch;
  margin: clamp(1.6rem, 4vw, 2.4rem) auto clamp(2rem, 5vw, 3rem);
  color: var(--text-muted);
  font-size: clamp(1rem, 1.7vw, 1.2rem);
  line-height: 1.65;
}
.hero__cta { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.hero__footnote {
  position: absolute;
  left: 0; right: 0; bottom: clamp(1.4rem, 4vh, 2.4rem);
  z-index: 1;
  text-align: center;
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.hero__footnote b { color: var(--blue); font-weight: 500; }

/* =============================================================
   ABOUT  (Quiénes somos)
   ============================================================= */
.about__grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}
.about__statement { margin-top: 1.6rem; }
.about__statement .accent { color: var(--text-muted); }
.about__body { display: flex; flex-direction: column; gap: 1.4rem; padding-top: .4rem; }
.about__body p { color: var(--text-muted); font-size: 1.0625rem; line-height: 1.8; }

/* Methodology pipeline (a real sequence -> numbered) */
.method {
  margin-top: clamp(3.5rem, 7vw, 5.5rem);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
}
.method__step {
  padding: 1.8rem 1.6rem 0 0;
  border-left: 1px solid var(--line);
  position: relative;
}
.method__step:first-child { border-left: none; }
.method__step .idx {
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .1em;
  color: var(--blue);
}
.method__step h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.15rem;
  margin: .5rem 0 .5rem;
  letter-spacing: -.01em;
}
.method__step p { color: var(--text-faint); font-size: .9rem; line-height: 1.55; padding-right: .6rem; }

/* =============================================================
   CAPABILITIES  (Qué hacemos)
   ============================================================= */
.cap__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; flex-wrap: wrap; margin-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.cap__head .display { max-width: 16ch; }
.cap__head p { color: var(--text-muted); max-width: 34ch; font-size: 1rem; }

.cap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.cap-card {
  background: var(--graphite);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 2rem 1.8rem 2.1rem;
  transition: transform .3s var(--ease), border-color .3s var(--ease), background .3s var(--ease);
  position: relative;
  overflow: hidden;
}
.cap-card::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 1px;
  background: linear-gradient(90deg, var(--blue), transparent 60%);
  opacity: 0;
  transition: opacity .3s var(--ease);
}
.cap-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  background: var(--graphite-2);
}
.cap-card:hover::after { opacity: 1; }
.cap-card__icon {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  color: var(--text-muted);
  margin-bottom: 1.4rem;
  transition: color .3s var(--ease);
}
.cap-card:hover .cap-card__icon { color: var(--blue); }
.cap-card__icon svg { width: 28px; height: 28px; }
.cap-card h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.1rem;
  letter-spacing: -.01em;
  margin-bottom: .65rem;
}
.cap-card p { color: var(--text-muted); font-size: .9rem; line-height: 1.6; }

/* =============================================================
   MANIFESTO
   ============================================================= */
.manifesto {
  position: relative;
  text-align: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.manifesto::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 50%, rgba(59,130,246,.08), transparent 70%);
  pointer-events: none;
}
.manifesto .container { position: relative; max-width: 880px; }
.manifesto__claim {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.9rem, 4.6vw, 3.2rem);
  line-height: 1.12;
  letter-spacing: -.02em;
}
.manifesto__claim span { display: block; }
.manifesto__claim span:last-child { color: var(--white); }
.manifesto__bridge {
  margin: clamp(2rem, 5vw, 3rem) auto 0;
  max-width: 44ch;
  color: var(--text-muted);
  font-size: 1.0625rem;
  line-height: 1.7;
}
.manifesto__lines {
  margin: clamp(1.8rem, 4vw, 2.6rem) 0;
  display: flex;
  flex-direction: column;
  gap: .35rem;
  color: var(--blue);
  font-family: var(--font-mono);
  font-size: clamp(.85rem, 1.6vw, 1rem);
  letter-spacing: .02em;
}
.manifesto__close {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.3rem, 3vw, 1.9rem);
  line-height: 1.2;
  letter-spacing: -.01em;
}

/* =============================================================
   BRAND ARCHITECTURE
   ============================================================= */
.arch__grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(3rem, 7vw, 6rem);
  align-items: center;
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
}
.arch__node {
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  background: var(--graphite);
  padding: clamp(2.4rem, 5vw, 3.4rem);
  display: grid;
  place-items: center;
  position: relative;
}
.arch__node img { width: min(260px, 70%); }
.arch__node .tag {
  position: absolute;
  top: 1rem; left: 1.2rem;
  font-family: var(--font-mono);
  font-size: .64rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.arch__caption { margin-top: 1.6rem; color: var(--text-muted); font-size: .95rem; }
.arch__caption b { color: var(--white); font-weight: 500; }

.arch__list { position: relative; padding-left: 1.6rem; }
.arch__list::before {
  content: "";
  position: absolute;
  left: 0; top: 8%; bottom: 8%;
  width: 1px; background: var(--line);
}
.arch__item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
  position: relative;
  transition: padding-left .25s var(--ease);
}
.arch__item:last-child { border-bottom: none; }
.arch__item::before {
  content: "";
  position: absolute;
  left: -1.6rem; top: 50%;
  width: 1.2rem; height: 1px;
  background: var(--line);
  transition: background .25s var(--ease);
}
.arch__item .name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: -.01em;
}
.arch__item .role { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text-faint); margin-left: auto; }
.arch__item:hover { padding-left: .5rem; }
.arch__item:hover::before { background: var(--blue); }
.arch__item:hover .name { color: var(--white); }

/* =============================================================
   CONTACT
   ============================================================= */
.contact { text-align: center; }
.contact .display { margin: 1.4rem auto .4rem; }
.contact .display span { display: block; color: var(--text-muted); }
.contact .display span:last-child { color: var(--white); }
.contact__sub { color: var(--text-muted); max-width: 42ch; margin: 1.4rem auto 2.4rem; line-height: 1.7; }
.contact__btn {
  display: inline-flex; align-items: center; gap: .8rem;
  padding: 1.05rem 2rem;
  background: var(--white); color: var(--obsidian);
  border-radius: 3px;
  font-family: var(--font-mono); font-weight: 500;
  font-size: .92rem; letter-spacing: .06em;
  transition: transform .25s var(--ease);
}
.contact__btn:hover { transform: translateY(-3px); }
.contact__btn .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--blue); }

/* =============================================================
   FOOTER
   ============================================================= */
.site-footer { border-top: 1px solid var(--line); padding: clamp(3rem, 6vw, 4.5rem) 0 2.5rem; }
.footer__top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2.5rem;
}
.footer__brand img { height: 24px; margin-bottom: 1.2rem; }
.footer__brand p { color: var(--text-faint); font-family: var(--font-mono); font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; }
.footer__brand .build { margin-top: .8rem; color: var(--text-muted); font-family: var(--font-body); font-size: .85rem; letter-spacing: normal; text-transform: none; }
.footer__col h4 {
  font-family: var(--font-mono); font-size: .68rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--text-faint); margin-bottom: 1.1rem; font-weight: 400;
}
.footer__col li { margin-bottom: .7rem; }
.footer__col a { color: var(--text-muted); font-size: .92rem; transition: color .2s var(--ease); }
.footer__col a:hover { color: var(--white); }
.footer__bottom {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  padding-top: 1.6rem;
  border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap;
  font-family: var(--font-mono); font-size: .72rem; letter-spacing: .08em; color: var(--text-faint);
}
.footer__bottom a:hover { color: var(--white); }

/* =============================================================
   COOKIE BANNER
   ============================================================= */
.cookie {
  position: fixed;
  left: 50%; bottom: 1.4rem;
  transform: translateX(-50%) translateY(140%);
  z-index: 200;
  width: min(720px, calc(100% - 2.4rem));
  background: rgba(24, 24, 27, .92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  padding: 1.5rem 1.6rem;
  box-shadow: 0 24px 60px rgba(0,0,0,.5);
  transition: transform .5s var(--ease), opacity .5s var(--ease);
  opacity: 0;
}
.cookie.show { transform: translateX(-50%) translateY(0); opacity: 1; }
.cookie__row { display: flex; gap: 1.4rem; align-items: center; flex-wrap: wrap; }
.cookie__text { flex: 1 1 280px; }
.cookie__text strong { display: block; font-family: var(--font-display); font-size: 1rem; margin-bottom: .35rem; }
.cookie__text p { color: var(--text-muted); font-size: .85rem; line-height: 1.55; }
.cookie__text a { color: var(--blue); }
.cookie__text a:hover { text-decoration: underline; }
.cookie__actions { display: flex; gap: .7rem; align-items: center; flex-wrap: wrap; }
.cookie__btn {
  padding: .7rem 1.2rem; border-radius: 3px;
  font-family: var(--font-mono); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase;
  transition: transform .2s var(--ease), background .2s var(--ease), border-color .2s var(--ease);
}
.cookie__btn:hover { transform: translateY(-2px); }
.cookie__btn--accept { background: var(--white); color: var(--obsidian); font-weight: 500; }
.cookie__btn--reject { border: 1px solid var(--line-strong); color: var(--text); }
.cookie__btn--reject:hover { border-color: var(--blue); }
.cookie__btn--config { color: var(--text-faint); padding: .7rem .4rem; }
.cookie__btn--config:hover { color: var(--white); }

/* =============================================================
   LEGAL PAGES
   ============================================================= */
.legal { padding: calc(var(--header-h) + clamp(3rem, 7vw, 5rem)) 0 clamp(4rem, 8vw, 6rem); }
.legal .container { max-width: 800px; }
.legal__eyebrow { margin-bottom: 1.2rem; }
.legal h1 {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(2rem, 5vw, 3rem); letter-spacing: -.02em; line-height: 1.05;
  margin-bottom: .8rem;
}
.legal__updated { color: var(--text-faint); font-family: var(--font-mono); font-size: .76rem; letter-spacing: .08em; margin-bottom: 3rem; }
.legal h2 {
  font-family: var(--font-display); font-weight: 600; font-size: 1.4rem; letter-spacing: -.01em;
  margin: 2.8rem 0 1rem; padding-top: 2rem; border-top: 1px solid var(--line);
}
.legal h2:first-of-type { border-top: none; padding-top: 0; }
.legal h3 { font-family: var(--font-display); font-weight: 500; font-size: 1.05rem; margin: 1.6rem 0 .6rem; }
.legal p, .legal li { color: var(--text-muted); line-height: 1.8; font-size: 1rem; }
.legal p { margin-bottom: 1rem; }
.legal ul { list-style: none; margin: 0 0 1.2rem; padding: 0; }
.legal ul li { position: relative; padding-left: 1.4rem; margin-bottom: .6rem; }
.legal ul li::before { content: ""; position: absolute; left: 0; top: .7em; width: 8px; height: 1px; background: var(--blue); }
.legal a { color: var(--blue); }
.legal a:hover { text-decoration: underline; }
.legal strong { color: var(--white); font-weight: 500; }
.legal .fill { color: var(--blue); background: var(--blue-soft); padding: 0 .35em; border-radius: 3px; font-family: var(--font-mono); font-size: .92em; }
.legal table { width: 100%; border-collapse: collapse; margin: 1rem 0 1.6rem; font-size: .9rem; }
.legal table th, .legal table td { text-align: left; padding: .8rem .9rem; border: 1px solid var(--line); color: var(--text-muted); vertical-align: top; }
.legal table th { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-faint); font-weight: 400; background: var(--graphite); }
.legal__back { display: inline-flex; align-items: center; gap: .5rem; margin-top: 3rem; font-family: var(--font-mono); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-faint); }
.legal__back:hover { color: var(--white); }

/* =============================================================
   SCROLL REVEAL
   ============================================================= */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* Hero load sequence */
.hero [data-anim] { opacity: 0; transform: translateY(14px); }
.hero.loaded [data-anim] { animation: rise .9s var(--ease) forwards; }
.hero.loaded [data-anim="1"] { animation-delay: .05s; }
.hero.loaded [data-anim="2"] { animation-delay: .18s; }
.hero.loaded [data-anim="3"] { animation-delay: .34s; }
.hero.loaded [data-anim="4"] { animation-delay: .46s; }
.hero.loaded [data-anim="5"] { animation-delay: .58s; }
.hero.loaded [data-anim="6"] { animation-delay: .70s; }
.hero.loaded .hero__rule { animation: draw 1s var(--ease) .34s forwards; transform: scaleX(0); opacity: 0; }
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes draw { 0% { transform: scaleX(0); opacity: 0; } 100% { transform: scaleX(1); opacity: 1; } }

/* =============================================================
   RESPONSIVE
   ============================================================= */
@media (max-width: 920px) {
  :root { --gutter: 5vw; }
  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(10,10,10,.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
    padding: 1rem var(--gutter) 2rem;
    transform: translateY(-120%);
    transition: transform .4s var(--ease);
    visibility: hidden;
  }
  .nav.open { transform: translateY(0); visibility: visible; }
  .nav a { padding: 1rem 0; border-bottom: 1px solid var(--line); font-size: .9rem; }
  .nav a::after { display: none; }
  .nav .btn { margin-top: 1.2rem; justify-content: center; }
  .nav-toggle { display: flex; }

  .about__grid { grid-template-columns: 1fr; gap: 2rem; }
  .method { grid-template-columns: repeat(2, 1fr); }
  .method__step { padding: 1.6rem 1rem 0 0; }
  .method__step:nth-child(3) { border-left: none; }
  .method__step:nth-child(odd) { border-left: none; }
  .cap-grid { grid-template-columns: repeat(2, 1fr); }
  .arch__grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  :root { --gutter: 6vw; }
  .cap-grid { grid-template-columns: 1fr; }
  .method { grid-template-columns: 1fr; }
  .method__step { border-left: none !important; border-top: 1px solid var(--line); padding: 1.4rem 0 0; }
  .method { border-top: none; }
  .footer__top { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .cookie { bottom: 0; left: 0; transform: translateY(140%); width: 100%; border-radius: 12px 12px 0 0; }
  .cookie.show { transform: translateY(0); }
  .cookie__actions { width: 100%; }
  .cookie__btn--accept, .cookie__btn--reject { flex: 1; text-align: center; justify-content: center; }
  .hero__cta { width: 100%; }
  .hero__cta .btn { flex: 1; justify-content: center; }
}

/* =============================================================
   REDUCED MOTION
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0s !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
  .hero [data-anim], .hero__rule { opacity: 1 !important; transform: none !important; }
}

/* =============================================================
   HERO — bloque de texto de posicionamiento (reescritura 2026)
   ============================================================= */
.hero__h1 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -.02em;
  line-height: 1.1;
  font-size: clamp(1.5rem, 3.2vw, 2.35rem);
  margin: clamp(.6rem, 2vw, 1rem) auto 0;
  max-width: 24ch;
}
.hero__lead {
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: .2em;
  font-size: clamp(.64rem, 1.4vw, .78rem);
  color: var(--blue);
  margin-top: 1rem;
}

/* =============================================================
   LAUNCH TEASER — próximos lanzamientos (Ecosistema)
   ============================================================= */
.launch {
  margin-top: clamp(3rem, 6vw, 4.5rem);
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background:
    radial-gradient(120% 140% at 50% 0%, rgba(59,130,246,.10), transparent 65%),
    var(--graphite);
  padding: clamp(2.4rem, 5vw, 3.5rem) clamp(1.6rem, 4vw, 3rem);
  text-align: center;
}
.pill {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--font-mono); font-size: .68rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--blue);
  border: 1px solid var(--blue-soft);
  background: var(--blue-soft);
  padding: .42rem .85rem; border-radius: 100px;
}
.pill::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--blue); box-shadow: 0 0 0 4px rgba(59,130,246,.18);
}
.launch h3 {
  font-family: var(--font-display); font-weight: 600; letter-spacing: -.02em;
  font-size: clamp(1.35rem, 3.2vw, 2.05rem); line-height: 1.14;
  margin: 1.4rem auto .8rem; max-width: 26ch;
}
.launch > p { color: var(--text-muted); max-width: 54ch; margin: 0 auto; line-height: 1.7; }
.launch__cards {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem;
  margin-top: clamp(2rem, 4vw, 2.6rem);
}
.launch__card {
  border: 1px dashed var(--line-strong); border-radius: 10px;
  padding: 1.7rem 1rem; display: flex; flex-direction: column; align-items: center; gap: .9rem;
  transition: border-color .25s var(--ease);
}
.launch__card:hover { border-color: rgba(59,130,246,.4); }
.launch__card .bars { width: 24px; color: var(--text-faint); }
.launch__card .tag {
  font-family: var(--font-mono); font-size: .64rem; letter-spacing: .18em;
  text-transform: uppercase; color: var(--text-faint);
}
@media (max-width: 560px) {
  .launch__cards { grid-template-columns: 1fr; }
}
