/* ========================================================================
   2BCORE · Landing — Futuristic Sober
   Sistema basado en DESIGN_SYSTEM.md v1.0 (tokens), evolución tipográfica
   ======================================================================== */

:root {
  /* Marca */
  --brand-50:  #E5F1FB;
  --brand-100: #C2DEF6;
  --brand-200: #88BDEC;
  --brand-300: #4F9DE3;
  --brand-400: #237FDF;
  --brand-500: #0075E2;
  --brand-600: #005EBA;
  --brand-700: #00488F;
  --brand-800: #003366;
  --brand-900: #001F3F;

  /* Superficies oscuras */
  --s-1000: #07070A;
  --s-950:  #0B0B10;
  --s-900:  #14151B;
  --s-800:  #1C1F27;
  --s-700:  #2A2E38;
  --s-600:  #3A3F4B;

  /* Texto */
  --t-primary:   #FFFFFF;
  --t-secondary: #C2C6CE;
  --t-muted:     #8E929A;
  --t-disabled:  #5C606A;
  --t-faint:     #494D57;

  /* Bordes */
  --bd-faint:  rgba(255, 255, 255, 0.05);
  --bd-subtle: rgba(255, 255, 255, 0.08);
  --bd:        rgba(255, 255, 255, 0.13);
  --bd-strong: rgba(255, 255, 255, 0.24);

  /* Servicios (acentos categóricos) */
  --svc-azul:     #1A54D8;
  --svc-purpura:  #7028CE;
  --svc-magenta:  #CB0D6D;
  --svc-naranja:  #EB5239;
  --svc-amarillo: #FFAD00;
  --svc-cian:     #00B8D4; /* extensión sutil para 6º servicio */

  /* Acento principal (tweak: hue rotable) */
  --accent: var(--brand-500);
  --accent-soft: rgba(0, 117, 226, 0.14);

  /* Semi-transparent surfaces — allows canvas spectral effect to show through */
  --card-bg:       color-mix(in srgb, var(--s-1000) 74%, transparent);
  --card-bg-hover: color-mix(in srgb, var(--s-950)  74%, transparent);
  --card-bg-alt:   color-mix(in srgb, var(--s-900)  70%, transparent);

  /* Espaciado */
  --s-3xs: 2px;
  --s-2xs: 4px;
  --s-xs:  8px;
  --s-sm:  12px;
  --s-md:  16px;
  --s-lg:  24px;
  --s-xl:  32px;
  --s-2xl: 40px;
  --s-3xl: 64px;
  --s-4xl: 96px;
  --s-5xl: 128px;

  /* Tipo */
  --f-display: "Space Grotesk", "Lato", system-ui, sans-serif;
  --f-body:    "Lato", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono:    "JetBrains Mono", "SF Mono", Consolas, monospace;

  --fs-2xs:  11px;
  --fs-xs:   12px;
  --fs-sm:   13px;
  --fs-base: 15px;
  --fs-lg:   17px;
  --fs-xl:   20px;
  --fs-2xl:  26px;
  --fs-3xl:  34px;
  --fs-4xl:  48px;
  --fs-5xl:  64px;
  --fs-6xl:  88px;

  /* Radii */
  --r-sm: 4px;
  --r-md: 8px;
  --r-lg: 14px;
  --r-pill: 999px;

  /* Layout */
  --container: 1280px;
  --gutter: clamp(20px, 4vw, 48px);

  /* Motion */
  --m-fast: 150ms;
  --m-base: 240ms;
  --m-slow: 420ms;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* -------- Reset -------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
body {
  background: #000000;
  color: var(--t-primary);
  font-family: var(--f-body);
  font-size: var(--fs-base);
  line-height: 1.55;
  overflow-x: hidden;
}

/* Canvas dot-grid sits at z-index:0; content must sit above it */
main, footer, .nav { position: relative; z-index: 1; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
input, textarea, select { font: inherit; color: inherit; }

::selection { background: var(--accent); color: #fff; }

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

/* -------- Type utilities -------- */
.mono { font-family: var(--f-mono); letter-spacing: 0.04em; }
.eyebrow {
  font-family: var(--f-mono);
  font-size: var(--fs-2xs);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--t-muted);
}
.display {
  font-family: var(--f-display);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.02;
}
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 600; letter-spacing: -0.022em; margin: 0; }
h1 { font-size: clamp(40px, 6.4vw, 88px); line-height: 1; }
h2 { font-size: clamp(28px, 3.4vw, 48px); line-height: 1.05; }
h3 { font-size: var(--fs-2xl); line-height: 1.15; }
h4 { font-size: var(--fs-xl); line-height: 1.2; }
p { margin: 0; }
small { font-size: var(--fs-xs); color: var(--t-muted); }

/* -------- Container -------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

/* ========================================================================
   NAV
   ======================================================================== */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--s-1000) 85%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--bd-subtle);
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: var(--s-2xl);
  height: 64px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--s-sm);
}
.nav-logo img { height: 22px; width: auto; }
.nav-status {
  font-family: var(--f-mono);
  font-size: var(--fs-2xs);
  color: var(--t-muted);
  letter-spacing: 0.1em;
  display: flex;
  align-items: center;
  gap: 6px;
  padding-left: var(--s-md);
  border-left: 1px solid var(--bd-subtle);
}
.nav-status::before {
  content: "";
  width: 6px; height: 6px;
  background: #34d77a;
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(52, 215, 122, 0.6);
}
.nav-links {
  display: flex;
  gap: var(--s-xl);
  margin-left: auto;
  align-items: center;
}
.nav-links a {
  font-size: var(--fs-sm);
  color: var(--t-secondary);
  font-weight: 400;
  letter-spacing: 0.005em;
  position: relative;
  padding: 6px 0;
  transition: color var(--m-fast) var(--ease);
}
.nav-links a:hover { color: var(--t-primary); }
.nav-links a.active { color: var(--t-primary); }
/* Active indicator: bottom underline (no layout shift) */
.nav-links a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform var(--m-base) var(--ease);
}
.nav-links a:not(.nav-cta):hover::after { transform: scaleX(0.4); }
.nav-links a:not(.nav-cta).active::after { transform: scaleX(1); }

/* Compact contact link: mono label + accent arrow chip, no pill */
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0;
  height: auto;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--t-primary);
  flex-shrink: 0;
  transition: color var(--m-fast) var(--ease);
}
.nav-cta .nav-cta-label {
  display: inline-flex;
  align-items: center;
  padding: 0;
}
.nav-cta .nav-cta-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  line-height: 1;
  border: 0;
  transition: background var(--m-fast) var(--ease), transform var(--m-fast) var(--ease);
}
.nav-cta:hover .nav-cta-arrow { background: var(--brand-600); transform: translateX(2px); }
.nav-cta .nav-cta-arrow .arrow { display: inline-block; }

/* ---- Hamburger (mobile nav trigger) ---- */
.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  margin-left: auto;
  cursor: pointer;
  background: transparent;
  border: 1px solid var(--bd-subtle);
  border-radius: var(--r-sm);
  transition: border-color var(--m-fast) var(--ease);
  flex-shrink: 0;
}
.nav-burger:hover { border-color: var(--bd-strong); }
.nav-burger span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--t-primary);
  transition: transform var(--m-base) var(--ease), opacity var(--m-base) var(--ease);
  transform-origin: center;
}
.nav--open .nav-burger span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav--open .nav-burger span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav--open .nav-burger span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ========================================================================
   HERO
   ======================================================================== */
.hero {
  position: relative;
  padding: clamp(80px, 12vh, 144px) 0 clamp(48px, 8vh, 96px);
  overflow: hidden;
}
/* dot-grid background handled by canvas#dot-grid-canvas (dot-grid.js) */
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--s-2xl);
}
.hero-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-family: var(--f-mono);
  font-size: var(--fs-2xs);
  color: var(--t-muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding-bottom: var(--s-md);
  border-bottom: 1px solid var(--bd-subtle);
}
.hero-meta-row { display: flex; gap: var(--s-lg); }
.hero-meta-row span { display: inline-flex; gap: 6px; align-items: center; }
.hero-meta-row b { color: var(--t-secondary); font-weight: 400; }

.hero-title {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: clamp(44px, 8vw, 112px);
  line-height: 0.95;
  letter-spacing: -0.035em;
  max-width: 14ch;
}
.hero-title em {
  font-style: normal;
  color: var(--t-muted);
  font-weight: 500;
}
.hero-title .underline-accent {
  position: relative;
  display: inline-block;
}
.hero-title .underline-accent::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0.05em;
  height: 0.08em;
  background: var(--accent);
}

.hero-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-3xl);
  align-items: end;
  margin-top: var(--s-2xl);
}
.hero-lede {
  font-size: var(--fs-lg);
  line-height: 1.55;
  color: var(--t-secondary);
  max-width: 52ch;
}
.hero-actions {
  display: flex;
  gap: var(--s-md);
  justify-content: flex-end;
  align-items: center;
  flex-wrap: wrap;
}

/* ---- Hero split (left main + right teaser) ---- */
.hero-split {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(320px, 1fr);
  gap: var(--s-2xl);
  align-items: start;
  margin-top: var(--s-md);
}
.hero-main { display: flex; flex-direction: column; gap: var(--s-md); }
.hero-main .hero-title {
  font-size: clamp(40px, 6.5vw, 96px);
  max-width: none;
}
.hero-main .hero-body {
  display: flex;
  flex-direction: column;
  gap: var(--s-lg);
  margin-top: var(--s-md);
  grid-template-columns: none;
}
.hero-main .hero-actions { justify-content: flex-start; }
.hero-main .hero-lede { max-width: 56ch; }

.hero-teaser {
  border: 1px solid var(--bd-subtle);
  border-radius: var(--r-md);
  background: var(--s-1000);
  padding: var(--s-lg);
  display: flex;
  flex-direction: column;
  gap: var(--s-md);
  align-self: stretch;
  position: relative;
}
.hero-teaser-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-bottom: var(--s-sm);
  border-bottom: 1px solid var(--bd-subtle);
}
.hero-teaser-count {
  font-size: var(--fs-2xs);
  color: var(--accent);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.hero-tower-index {
  list-style: none;
  padding: 0;
  margin: 0;
}
.hero-tower-index li a {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: var(--s-md);
  padding: 10px 4px;
  border-bottom: 1px solid var(--bd-subtle);
  color: var(--t-secondary);
  cursor: pointer;
  transition: color var(--m-fast) var(--ease), padding-left var(--m-fast) var(--ease);
}
.hero-tower-index li:last-child a { border-bottom: 0; }
.hero-tower-index li a:hover { color: var(--t-primary); padding-left: 8px; }
.hero-tower-index li a:hover .hti-arrow { color: var(--accent); transform: translateY(2px); }
.hti-num {
  font-family: var(--f-mono);
  font-size: var(--fs-2xs);
  color: var(--t-muted);
  letter-spacing: 0.12em;
}
.hti-name {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: var(--fs-sm);
  letter-spacing: -0.005em;
}
.hti-arrow {
  font-family: var(--f-mono);
  color: var(--t-muted);
  transition: color var(--m-fast) var(--ease), transform var(--m-fast) var(--ease);
  font-size: var(--fs-xs);
}
.hero-teaser-foot {
  margin-top: var(--s-md);
  padding-top: var(--s-md);
  border-top: 1px solid var(--bd-subtle);
  display: flex;
  flex-direction: column;
  gap: var(--s-sm);
}
.hero-teaser-foot .alliance-tiny {
  border: 1px solid var(--bd-subtle);
}
.hero-teaser-foot .alliance-tiny li { height: 42px; }

/* indicators row */
.hero-indicators {
  margin-top: var(--s-3xl);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--bd-subtle);
  border: 1px solid var(--bd-subtle);
  border-radius: var(--r-md);
  overflow: hidden;
}
.indicator {
  background: var(--s-1000);
  padding: var(--s-lg) var(--s-xl);
  display: flex;
  flex-direction: column;
  gap: var(--s-xs);
}
.indicator-label {
  font-family: var(--f-mono);
  font-size: var(--fs-2xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--t-muted);
  display: flex;
  align-items: center;
  gap: var(--s-xs);
}
.indicator-label::before {
  content: "";
  width: 5px; height: 5px;
  background: var(--accent);
  border-radius: 50%;
}
.indicator-value {
  font-family: var(--f-display);
  font-size: var(--fs-3xl);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1;
}
.indicator-hint {
  font-size: var(--fs-xs);
  color: var(--t-muted);
}

/* ========================================================================
   BUTTONS
   ======================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--s-xs);
  padding: 12px 20px;
  font-size: var(--fs-sm);
  font-weight: 700;
  border-radius: var(--r-pill);
  transition: all var(--m-fast) var(--ease);
  white-space: nowrap;
  min-height: 44px;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
  border: 1px solid var(--accent);
}
.btn-primary:hover { background: var(--brand-600); border-color: var(--brand-600); }
.btn-ghost {
  background: transparent;
  color: var(--t-primary);
  border: 1px solid var(--bd-strong);
}
.btn-ghost:hover { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.4); }
.btn .arrow { transition: transform var(--m-fast) var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

/* ========================================================================
   SECTION SCAFFOLDING
   ======================================================================== */
.section {
  padding: clamp(64px, 10vh, 120px) 0;
  position: relative;
}
.section + .section { border-top: 1px solid var(--bd-subtle); }

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: var(--s-3xl);
  align-items: end;
  padding-bottom: var(--s-2xl);
  margin-bottom: var(--s-2xl);
  border-bottom: 1px solid var(--bd-subtle);
  position: relative;
}
.section-head .section-id {
  font-family: var(--f-mono);
  font-size: var(--fs-2xs);
  color: var(--t-muted);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.section-head .section-title {
  display: flex;
  flex-direction: column;
  gap: var(--s-sm);
}
.section-head h2 {
  font-size: clamp(28px, 3.4vw, 48px);
  letter-spacing: -0.025em;
}
.section-head .section-lede {
  font-size: var(--fs-lg);
  color: var(--t-secondary);
  max-width: 56ch;
  line-height: 1.55;
}

/* ========================================================================
   SERVICES — Torres
   ======================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--bd-subtle);
  border: 1px solid var(--bd-subtle);
  border-radius: var(--r-md);
  overflow: hidden;
}
.svc {
  background: var(--s-1000);
  padding: var(--s-xl);
  display: flex;
  flex-direction: column;
  gap: var(--s-md);
  min-height: 280px;
  position: relative;
  transition: background var(--m-base) var(--ease);
  cursor: default;
}
.svc:hover { background: var(--s-950); }
.svc:hover .svc-arrow { transform: translate(3px, -3px); opacity: 1; }
.svc-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.svc-num {
  font-family: var(--f-mono);
  font-size: var(--fs-2xs);
  letter-spacing: 0.1em;
  color: var(--t-muted);
}
.svc-arrow {
  font-family: var(--f-mono);
  color: var(--t-muted);
  opacity: 0.6;
  transition: all var(--m-base) var(--ease);
}
.svc-bar {
  height: 2px;
  width: 36px;
  background: var(--svc-c, var(--accent));
}
.svc h3 {
  font-family: var(--f-display);
  font-size: var(--fs-xl);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.2;
}
.svc p {
  font-size: var(--fs-sm);
  color: var(--t-secondary);
  line-height: 1.55;
  margin-top: auto;
}
.svc[data-svc="azul"]     { --svc-c: var(--svc-azul); }
.svc[data-svc="purpura"]  { --svc-c: var(--svc-purpura); }
.svc[data-svc="magenta"]  { --svc-c: var(--svc-magenta); }
.svc[data-svc="naranja"]  { --svc-c: var(--svc-naranja); }
.svc[data-svc="amarillo"] { --svc-c: var(--svc-amarillo); }
.svc[data-svc="cian"]     { --svc-c: var(--svc-cian); }

/* ========================================================================
   METODOLOGÍA — Steps
   ======================================================================== */
.method {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  border: 1px solid var(--bd-subtle);
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--s-1000);
}
.method-step {
  padding: var(--s-xl);
  border-right: 1px solid var(--bd-subtle);
  display: flex;
  flex-direction: column;
  gap: var(--s-md);
  position: relative;
  min-height: 220px;
}
.method-step:last-child { border-right: 0; }
.method-step .step-id {
  font-family: var(--f-mono);
  font-size: var(--fs-2xs);
  color: var(--accent);
  letter-spacing: 0.1em;
}
.method-step .step-arrow {
  position: absolute;
  right: -8px;
  top: var(--s-xl);
  font-family: var(--f-mono);
  color: var(--t-faint);
  background: var(--s-1000);
  padding: 0 4px;
  font-size: var(--fs-xs);
}
.method-step:last-child .step-arrow { display: none; }
.method-step h4 {
  font-family: var(--f-display);
  font-size: var(--fs-lg);
  font-weight: 600;
}
.method-step p {
  font-size: var(--fs-sm);
  color: var(--t-secondary);
  line-height: 1.5;
  margin-top: auto;
}

/* ========================================================================
   NOSOTROS — Pillars + Certs (shares .car-block scaffolding)
   ======================================================================== */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--bd-subtle);
  border: 1px solid var(--bd-subtle);
  border-radius: var(--r-md);
  overflow: hidden;
}
.pillar {
  background: var(--s-1000);
  padding: var(--s-xl);
  display: flex;
  flex-direction: column;
  gap: var(--s-md);
  min-height: 220px;
  position: relative;
  transition: background var(--m-base) var(--ease);
}
.pillar:hover { background: var(--s-950); }
.pillar-id {
  font-family: var(--f-mono);
  font-size: var(--fs-2xs);
  letter-spacing: 0.12em;
  color: var(--accent);
  text-transform: uppercase;
}
.pillar h4 {
  font-family: var(--f-display);
  font-size: var(--fs-xl);
  font-weight: 600;
  letter-spacing: -0.015em;
}
.pillar p {
  font-size: var(--fs-sm);
  color: var(--t-secondary);
  line-height: 1.55;
  margin-top: auto;
}

.certs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--bd-subtle);
  border: 1px solid var(--bd-subtle);
  border-radius: var(--r-md);
  overflow: hidden;
}
.cert {
  background: var(--s-1000);
  padding: var(--s-xl);
  display: flex;
  flex-direction: column;
  gap: var(--s-md);
  min-height: 220px;
  position: relative;
}
.cert::after {
  content: "✓";
  position: absolute;
  top: var(--s-xl);
  right: var(--s-xl);
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--accent);
  color: var(--accent);
  font-size: 14px;
  border-radius: 50%;
}
.cert-mark {
  font-size: var(--fs-2xs);
  letter-spacing: 0.14em;
  color: var(--accent);
  text-transform: uppercase;
  padding: 6px 10px;
  border: 1px solid var(--accent);
  align-self: flex-start;
  border-radius: var(--r-pill);
  background: var(--accent-soft);
}
.cert h4 {
  font-family: var(--f-display);
  font-size: var(--fs-xl);
  font-weight: 600;
  letter-spacing: -0.015em;
}
.cert p {
  font-size: var(--fs-sm);
  color: var(--t-secondary);
  line-height: 1.55;
}
.cert-meta {
  margin-top: auto;
  padding-top: var(--s-md);
  border-top: 1px solid var(--bd-subtle);
  font-size: var(--fs-2xs);
  color: var(--t-muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ========================================================================
   CARRERAS — Testimonios + Programas + Beneficios
   ======================================================================== */
.car-block { margin-top: var(--s-2xl); }
.car-block + .car-block { margin-top: var(--s-3xl, 96px); }
.car-block-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--s-md);
  margin-bottom: var(--s-lg);
  padding-bottom: var(--s-md);
  border-bottom: 1px solid var(--bd-subtle);
}
.car-block-meta {
  font-size: var(--fs-2xs);
  color: var(--t-muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* Testimonios — horizontal snap scroll */
.testimonials-scroll {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(320px, 360px);
  gap: 1px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: var(--bd-strong) transparent;
  background: var(--bd-subtle);
  border: 1px solid var(--bd-subtle);
  border-radius: var(--r-md);
}
.testimonials-scroll::-webkit-scrollbar { height: 6px; }
.testimonials-scroll::-webkit-scrollbar-thumb { background: var(--bd-strong); border-radius: 3px; }
.testimonials-scroll::-webkit-scrollbar-track { background: transparent; }
.testimonial {
  background: var(--s-1000);
  padding: var(--s-xl);
  display: flex;
  flex-direction: column;
  gap: var(--s-lg);
  scroll-snap-align: start;
  position: relative;
  min-height: 280px;
}
.testimonial::before {
  content: "“";
  position: absolute;
  top: 8px;
  right: 18px;
  font-family: var(--f-display);
  font-size: 72px;
  line-height: 1;
  color: var(--accent);
  opacity: 0.18;
}
.testimonial-id {
  font-family: var(--f-mono);
  font-size: var(--fs-2xs);
  letter-spacing: 0.12em;
  color: var(--t-muted);
  text-transform: uppercase;
}
.testimonial-quote {
  font-family: var(--f-display);
  font-size: var(--fs-lg);
  line-height: 1.4;
  color: var(--t-primary);
  letter-spacing: -0.005em;
  text-wrap: pretty;
}
.testimonial-foot {
  margin-top: auto;
  padding-top: var(--s-md);
  border-top: 1px solid var(--bd-subtle);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.testimonial-name {
  font-family: var(--f-display);
  font-size: var(--fs-base);
  color: var(--t-primary);
  letter-spacing: -0.01em;
}
.testimonial-role {
  font-family: var(--f-mono);
  font-size: var(--fs-2xs);
  color: var(--t-muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* Programas */
.programs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--bd-subtle);
  border: 1px solid var(--bd-subtle);
  border-radius: var(--r-md);
  overflow: hidden;
}
.program {
  background: var(--s-1000);
  padding: var(--s-xl);
  display: flex;
  flex-direction: column;
  gap: var(--s-md);
  min-height: 220px;
  position: relative;
  cursor: default;
  transition: background var(--m-base) var(--ease);
}
.program:hover { background: var(--s-950); }
.program:hover .program-arrow { transform: translate(3px, -3px); color: var(--accent); }
.program-id {
  font-family: var(--f-mono);
  font-size: var(--fs-2xs);
  letter-spacing: 0.1em;
  color: var(--t-muted);
  text-transform: uppercase;
}
.program h4 {
  font-family: var(--f-display);
  font-size: var(--fs-lg);
  font-weight: 600;
  letter-spacing: -0.01em;
}
.program p {
  font-size: var(--fs-sm);
  color: var(--t-secondary);
  line-height: 1.55;
  margin-top: auto;
}
.program-arrow {
  position: absolute;
  top: var(--s-xl);
  right: var(--s-xl);
  font-family: var(--f-mono);
  color: var(--t-muted);
  opacity: 0.6;
  transition: all var(--m-base) var(--ease);
}
.program--featured {
  background: var(--s-950);
  box-shadow: inset 2px 0 0 var(--accent);
}
.program--featured .program-id { color: var(--accent); }

/* Beneficios becarios */
.perks {
  margin-top: var(--s-xl);
  border: 1px solid var(--bd-subtle);
  border-radius: var(--r-md);
  background: var(--s-1000);
  overflow: hidden;
}
.perks-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--s-lg);
  padding: var(--s-xl);
  border-bottom: 1px solid var(--bd-subtle);
}
.perks-title {
  font-family: var(--f-display);
  font-size: clamp(20px, 2vw, 28px);
  letter-spacing: -0.015em;
  margin-top: 6px;
  max-width: 28ch;
}
.perks-cta { flex-shrink: 0; }
.perks-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}
.perks-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: baseline;
  gap: var(--s-md);
  padding: var(--s-md) var(--s-xl);
  border-bottom: 1px solid var(--bd-subtle);
  border-right: 1px solid var(--bd-subtle);
  transition: background var(--m-fast) var(--ease);
}
.perks-list li:hover { background: var(--s-950); }
.perks-list li:nth-child(2n) { border-right: 0; }
.perks-list li:nth-last-child(-n+2):not(:nth-child(2n-1):last-child) { border-bottom: 0; }
.perks-list li:last-child { border-bottom: 0; }
.perk-num {
  font-family: var(--f-mono);
  font-size: var(--fs-2xs);
  color: var(--accent);
  letter-spacing: 0.12em;
  min-width: 22px;
}
.perk-text {
  font-size: var(--fs-sm);
  color: var(--t-secondary);
  line-height: 1.5;
}

/* ========================================================================
   ALIANZAS — Featured partner (AWS detail)
   ======================================================================== */
.featured-partner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: 1px;
  background: var(--bd-subtle);
  border: 1px solid var(--bd-subtle);
  border-radius: var(--r-md);
  overflow: hidden;
}
.partner-id,
.partner-services {
  background: var(--s-1000);
  padding: var(--s-xl);
  display: flex;
  flex-direction: column;
  gap: var(--s-md);
  min-height: 360px;
}
.partner-logo {
  font-family: var(--f-display);
  font-size: clamp(56px, 7vw, 96px);
  font-weight: 700;
  letter-spacing: -0.05em;
  color: var(--t-primary);
  line-height: 0.9;
  padding-bottom: var(--s-md);
  border-bottom: 1px solid var(--bd-subtle);
}
.partner-logo em {
  font-style: normal;
  color: var(--accent);
}
.partner-tag {
  font-size: var(--fs-2xs);
  color: var(--t-muted);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding-top: 4px;
}
.partner-id h3 {
  font-family: var(--f-display);
  font-size: var(--fs-xl);
  font-weight: 600;
  letter-spacing: -0.015em;
}
.partner-desc {
  font-size: var(--fs-sm);
  color: var(--t-secondary);
  line-height: 1.55;
  max-width: 44ch;
}
.partner-cta {
  align-self: flex-start;
  margin-top: auto;
}

.partner-services { padding-bottom: 0; }
.partner-services-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding-bottom: var(--s-md);
  border-bottom: 1px solid var(--bd-subtle);
  font-size: var(--fs-2xs);
  color: var(--t-muted);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.partner-services-count { color: var(--accent); }
.service-chips {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--bd-subtle);
  margin: var(--s-md) calc(var(--s-xl) * -1) 0;
}
.service-chips li {
  background: var(--s-1000);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--s-md);
  align-items: baseline;
  padding: var(--s-md) var(--s-xl);
  font-size: var(--fs-sm);
  color: var(--t-secondary);
  transition: background var(--m-fast) var(--ease), color var(--m-fast) var(--ease);
  cursor: default;
}
.service-chips li:hover { background: var(--s-950); color: var(--t-primary); }
.chip-num {
  font-family: var(--f-mono);
  font-size: var(--fs-2xs);
  color: var(--accent);
  letter-spacing: 0.12em;
}

/* ========================================================================
   ALIANZAS + CLIENTES — logo grids (placeholders mono)
   ======================================================================== */
.logo-strip {
  display: grid;
  gap: 1px;
  background: var(--bd-subtle);
  border: 1px solid var(--bd-subtle);
  border-radius: var(--r-md);
  overflow: hidden;
}
.logo-strip.alianzas { grid-template-columns: repeat(5, 1fr); }
.logo-strip.clientes { grid-template-columns: repeat(6, 1fr); }
.logo-cell {
  background: var(--s-1000);
  padding: var(--s-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--s-xs);
  min-height: 96px;
  transition: background var(--m-fast) var(--ease);
}
.logo-cell:hover { background: var(--s-950); }
.logo-cell-name {
  font-family: var(--f-mono);
  font-size: var(--fs-xs);
  color: var(--t-secondary);
  letter-spacing: 0.04em;
  text-align: center;
}
.logo-cell-sub {
  font-family: var(--f-mono);
  font-size: var(--fs-2xs);
  color: var(--t-faint);
  letter-spacing: 0.1em;
}
.logo-img {
  max-width: 100%;
  max-height: 36px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.7;
  transition: opacity var(--m-fast) var(--ease);
}
.logo-cell:hover .logo-img { opacity: 1; }
.logo-cell.has-img { padding: var(--s-md) var(--s-lg); }

/* ========================================================================
   SEDES — locations
   ======================================================================== */
.sedes {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: var(--s-3xl);
  align-items: stretch;
}
.sede-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--bd-subtle);
}
.sede {
  display: grid;
  grid-template-columns: 60px 1fr auto;
  gap: var(--s-md);
  align-items: center;
  padding: var(--s-lg) 0;
  border-bottom: 1px solid var(--bd-subtle);
  cursor: pointer;
  transition: padding-left var(--m-base) var(--ease), background var(--m-base) var(--ease);
}
.sede:hover { padding-left: var(--s-md); }
.sede.active { padding-left: var(--s-md); }
.sede-id {
  font-family: var(--f-mono);
  font-size: var(--fs-2xs);
  color: var(--t-muted);
  letter-spacing: 0.12em;
}
.sede.active .sede-id { color: var(--accent); }
.sede-name {
  font-family: var(--f-display);
  font-size: var(--fs-xl);
  font-weight: 600;
  letter-spacing: -0.015em;
}
.sede.active .sede-name { color: var(--accent); }
.sede-coord {
  font-family: var(--f-mono);
  font-size: var(--fs-xs);
  color: var(--t-muted);
  letter-spacing: 0.06em;
}

.sede-detail {
  background: var(--card-bg-alt);
  border: 1px solid var(--bd-subtle);
  border-radius: var(--r-md);
  padding: var(--s-xl);
  display: flex;
  flex-direction: column;
  gap: var(--s-lg);
  position: relative;
  overflow: hidden;
  min-height: 280px;
}
.sede-detail-meta { display: none; }
.sede-icon {
  position: absolute;
  right: var(--s-xl);
  bottom: var(--s-xl);
  z-index: 0;
  pointer-events: none;
}
.sede-icon img {
  height: 130px;
  width: auto;
  max-width: 110px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.22;
  transition: opacity var(--m-base) var(--ease);
}
.sede-detail-head {
  display: flex;
  align-items: baseline;
  position: relative;
  z-index: 1;
}
.sede-detail-name {
  font-family: var(--f-display);
  font-size: var(--fs-3xl);
  font-weight: 600;
  letter-spacing: -0.025em;
}
.sede-detail-meta { display: none; }
.sede-address {
  position: relative;
  z-index: 1;
  font-size: var(--fs-base);
  color: var(--t-secondary);
  line-height: 1.55;
  padding: var(--s-md) 0;
  border-top: 1px solid var(--bd-subtle);
  border-bottom: 1px solid var(--bd-subtle);
}
.sede-actions {
  position: relative; z-index: 1;
  display: flex;
  gap: var(--s-md);
}
.sede-actions a {
  font-family: var(--f-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--t-primary);
  display: inline-flex;
  align-items: center;
  gap: var(--s-xs);
  border-bottom: 1px solid var(--bd-subtle);
  padding-bottom: 4px;
  transition: border-color var(--m-fast) var(--ease);
}
.sede-actions a:hover { border-color: var(--accent); }

/* ========================================================================
   CONTACTO
   ======================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: var(--s-3xl);
  align-items: start;
}
.contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--s-lg);
}
.contact-info h2 {
  font-size: clamp(32px, 4vw, 56px);
  letter-spacing: -0.03em;
}
.contact-info p {
  font-size: var(--fs-lg);
  color: var(--t-secondary);
  max-width: 36ch;
}
.contact-meta {
  display: flex;
  flex-direction: column;
  gap: var(--s-md);
  margin-top: var(--s-lg);
  padding-top: var(--s-lg);
  border-top: 1px solid var(--bd-subtle);
}
.contact-meta-row {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: var(--s-md);
  font-family: var(--f-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.04em;
}
.contact-meta-row span:first-child {
  color: var(--t-muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.contact-meta-row span:last-child { color: var(--t-primary); }

.contact-form {
  background: var(--card-bg-alt);
  border: 1px solid var(--bd-subtle);
  border-radius: var(--r-md);
  padding: var(--s-xl);
  display: flex;
  flex-direction: column;
  gap: var(--s-md);
}
.contact-form .field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.contact-form label {
  font-family: var(--f-mono);
  font-size: var(--fs-2xs);
  color: var(--t-muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.contact-form label .req { color: var(--accent); }
.contact-form input,
.contact-form textarea {
  background: var(--s-1000);
  border: 1px solid var(--bd-subtle);
  border-radius: var(--r-sm);
  padding: 12px 14px;
  color: var(--t-primary);
  font-size: var(--fs-base);
  transition: border-color var(--m-fast) var(--ease);
  width: 100%;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
}
.contact-form textarea { resize: vertical; min-height: 96px; }
.contact-form .form-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--s-md);
  padding-top: var(--s-md);
  border-top: 1px solid var(--bd-subtle);
  margin-top: var(--s-xs);
}
.captcha-note {
  font-family: var(--f-mono);
  font-size: var(--fs-2xs);
  color: var(--t-muted);
  letter-spacing: 0.06em;
}

/* ========================================================================
   FOOTER
   ======================================================================== */
.footer {
  border-top: 1px solid var(--bd-subtle);
  background: color-mix(in srgb, var(--s-950) 80%, transparent);
  padding: var(--s-3xl) 0 var(--s-xl);
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: var(--s-2xl);
  padding-bottom: var(--s-2xl);
  border-bottom: 1px solid var(--bd-subtle);
}
.footer-brand img { height: 28px; }
.footer-brand p {
  margin-top: var(--s-md);
  font-size: var(--fs-sm);
  color: var(--t-muted);
  max-width: 32ch;
  line-height: 1.55;
}
.footer-col h5 {
  font-family: var(--f-mono);
  font-size: var(--fs-2xs);
  color: var(--t-muted);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 400;
  margin: 0 0 var(--s-md);
}
.footer-col ul {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--s-sm);
}
.footer-col li a {
  font-size: var(--fs-sm);
  color: var(--t-secondary);
  transition: color var(--m-fast) var(--ease);
}
.footer-col li a:hover { color: var(--t-primary); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--s-xl);
  font-family: var(--f-mono);
  font-size: var(--fs-2xs);
  color: var(--t-muted);
  letter-spacing: 0.06em;
  flex-wrap: wrap;
  gap: var(--s-md);
}
.footer-bottom .legal { display: flex; gap: var(--s-lg); }
.footer-bottom .legal a:hover { color: var(--t-primary); }
.footer-bottom .socials { display: flex; gap: var(--s-md); align-items: center; }
.socials a {
  width: 28px; height: 28px;
  border: 1px solid var(--bd-subtle);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all var(--m-fast) var(--ease);
}
.socials a:hover { border-color: var(--accent); color: var(--accent); }

/* ========================================================================
   TICKER (futurismo sutil)
   ======================================================================== */
.ticker {
  border-top: 1px solid var(--bd-subtle);
  border-bottom: 1px solid var(--bd-subtle);
  background: color-mix(in srgb, var(--s-950) 55%, transparent);
  overflow: hidden;
  position: relative;
  height: 38px;
  display: flex;
  align-items: center;
}
.ticker-track {
  display: flex;
  gap: var(--s-2xl);
  white-space: nowrap;
  animation: tick 38s linear infinite;
  padding-left: 100%;
}
.ticker-item {
  font-family: var(--f-mono);
  font-size: var(--fs-2xs);
  color: var(--t-muted);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: var(--s-xs);
}
.ticker-item::before {
  content: "";
  width: 4px; height: 4px;
  background: var(--accent);
  display: inline-block;
}
@keyframes tick {
  to { transform: translateX(-100%); }
}
@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; padding-left: 0; }
}

/* ========================================================================
   SUBPAGE — page-hero, breadcrumb, subpage-cta
   ======================================================================== */
.page-hero {
  padding: calc(var(--s-2xl) + 16px) 0 var(--s-2xl);
  border-bottom: 1px solid var(--bd-subtle);
  background: transparent;
  position: relative;
}
.page-hero::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, var(--accent) 0%, transparent 30%);
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: var(--fs-2xs);
  color: var(--t-muted);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: var(--s-xl);
}
.breadcrumb a {
  color: var(--t-muted);
  transition: color var(--m-fast) var(--ease);
}
.breadcrumb a:hover { color: var(--t-primary); }
.breadcrumb > span:last-child { color: var(--t-primary); }

.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--s-2xl);
  align-items: end;
}
.page-title {
  font-family: var(--f-display);
  font-size: clamp(36px, 5vw, 72px);
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-top: 12px;
}
.page-title em {
  font-style: normal;
  color: var(--accent);
}
.page-lede {
  font-size: var(--fs-lg);
  line-height: 1.55;
  color: var(--t-secondary);
  max-width: 56ch;
}

.subpage-cta {
  background: transparent;
  border-top: 1px solid var(--bd-subtle);
}
.subpage-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-xl);
  padding: var(--s-xl) 0;
}
.subpage-cta-title {
  font-family: var(--f-display);
  font-size: clamp(20px, 2.4vw, 32px);
  letter-spacing: -0.015em;
  margin-top: 8px;
  max-width: 32ch;
}

/* ========================================================================
   HOME TEASERS — redesigned
   ======================================================================== */
.teaser .section-head { margin-bottom: var(--s-xl); }

/* --- Teaser 1: Soluciones — typographic index --- */
.teaser-index {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 0;
  border-top: 1px solid var(--bd-subtle);
  border-bottom: 1px solid var(--bd-subtle);
}
.tower-index {
  list-style: none;
  padding: 0;
  margin: 0;
  border-right: 1px solid var(--bd-subtle);
}
.tower-index li {
  display: grid;
  grid-template-columns: minmax(96px, auto) 1fr auto;
  align-items: center;
  gap: var(--s-xl);
  padding: var(--s-lg) var(--s-xl) var(--s-lg) 0;
  border-bottom: 1px solid var(--bd-subtle);
  cursor: default;
  transition: padding-left var(--m-base) var(--ease), background var(--m-base) var(--ease);
}
.tower-index li:last-child { border-bottom: 0; }
.tower-index li:hover { padding-left: var(--s-md); background: var(--s-950); }
.tower-index li:hover .ti-arrow { color: var(--accent); transform: translateX(4px); }
.ti-num {
  font-family: var(--f-mono);
  font-size: var(--fs-2xs);
  color: var(--t-muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.ti-name {
  font-family: var(--f-display);
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--t-primary);
}
.ti-arrow {
  font-family: var(--f-mono);
  color: var(--t-muted);
  transition: color var(--m-fast) var(--ease), transform var(--m-fast) var(--ease);
}

.teaser-aside {
  padding: var(--s-xl) 0 var(--s-xl) var(--s-xl);
  display: flex;
  flex-direction: column;
  gap: var(--s-md);
}
.alliance-tiny {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: var(--bd-subtle);
  border: 1px solid var(--bd-subtle);
  border-radius: var(--r-md);
  overflow: hidden;
}
.alliance-tiny li {
  background: var(--s-1000);
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
}
.alliance-tiny img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  opacity: 0.7;
  filter: grayscale(1);
  transition: opacity var(--m-fast) var(--ease), filter var(--m-fast) var(--ease);
}
.alliance-tiny li:hover img { opacity: 1; filter: grayscale(0); }
.teaser-aside-note {
  font-size: var(--fs-sm);
  color: var(--t-secondary);
  line-height: 1.55;
}
.teaser-cta { align-self: flex-start; margin-top: auto; }

/* --- Teaser 2: Nosotros — manifesto + stats band --- */
.manifesto {
  text-align: center;
  max-width: 800px;
  margin: 0 auto var(--s-2xl);
  padding: var(--s-xl) 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.manifesto .section-id {
  font-family: var(--f-mono);
  font-size: var(--fs-2xs);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--t-muted);
}
.manifesto-title {
  font-family: var(--f-display);
  font-size: clamp(32px, 5vw, 72px);
  letter-spacing: -0.03em;
  line-height: 1.05;
  font-weight: 500;
  margin-top: 8px;
}
.manifesto-title em {
  font-style: normal;
  color: var(--t-muted);
  font-weight: 500;
}
.manifesto-body {
  font-size: var(--fs-lg);
  color: var(--t-secondary);
  max-width: 56ch;
  line-height: 1.55;
  margin-top: var(--s-md);
  text-wrap: pretty;
}

.stats-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--bd-subtle);
  border: 1px solid var(--bd-subtle);
  border-radius: var(--r-md);
  overflow: hidden;
}
.stat {
  background: var(--s-1000);
  padding: var(--s-xl);
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 180px;
  transition: background var(--m-base) var(--ease);
}
.stat:hover { background: var(--s-950); }
.stat-label {
  font-family: var(--f-mono);
  font-size: var(--fs-2xs);
  color: var(--t-muted);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.stat-value {
  font-family: var(--f-display);
  font-size: clamp(40px, 5vw, 64px);
  letter-spacing: -0.04em;
  line-height: 1;
  margin: auto 0;
  color: var(--t-primary);
}
.stat-value em {
  font-style: normal;
  color: var(--accent);
  font-size: 0.6em;
  margin-left: 4px;
  letter-spacing: 0;
}
.stat-hint {
  font-family: var(--f-mono);
  font-size: var(--fs-2xs);
  color: var(--t-muted);
  letter-spacing: 0.08em;
}
.teaser-cta-row {
  display: flex;
  justify-content: center;
  margin-top: var(--s-xl);
}

/* --- Teaser 3: Carreras — hiring pull-quote --- */
.hire-banner {
  border: 1px solid var(--bd-subtle);
  border-radius: var(--r-md);
  padding: var(--s-2xl) var(--s-2xl) var(--s-xl);
  background:
    radial-gradient(circle at 0% 0%, var(--accent-soft) 0%, transparent 40%),
    var(--s-1000);
  position: relative;
  overflow: hidden;
}
.hire-banner-head {
  display: flex;
  align-items: center;
  gap: var(--s-md);
  margin-bottom: var(--s-xl);
}
.hire-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-2xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--t-primary);
  padding: 6px 14px;
  border: 1px solid var(--accent);
  border-radius: var(--r-pill);
  background: var(--accent-soft);
}
.hire-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  animation: hire-pulse 2s ease-in-out infinite;
}
@keyframes hire-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.pull-quote {
  margin: 0;
  padding: var(--s-xl) 0;
  display: flex;
  flex-direction: column;
  gap: var(--s-md);
  border-top: 1px solid var(--bd-subtle);
  border-bottom: 1px solid var(--bd-subtle);
  position: relative;
}
.pq-marker {
  font-family: var(--f-mono);
  font-size: var(--fs-2xs);
  color: var(--t-muted);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.pull-quote p {
  font-family: var(--f-display);
  font-size: clamp(28px, 3.6vw, 56px);
  letter-spacing: -0.02em;
  line-height: 1.15;
  font-weight: 500;
  text-wrap: pretty;
  max-width: 22ch;
}
.pull-quote p em {
  font-style: normal;
  color: var(--accent);
  font-weight: 500;
}
.pull-quote footer {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: var(--s-md);
}
.pq-name {
  font-family: var(--f-display);
  font-size: var(--fs-base);
  color: var(--t-primary);
  letter-spacing: -0.01em;
}
.pq-role {
  font-family: var(--f-mono);
  font-size: var(--fs-2xs);
  color: var(--t-muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hire-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-xl);
  padding-top: var(--s-xl);
}
.hire-foot p {
  font-size: var(--fs-sm);
  color: var(--t-secondary);
  max-width: 52ch;
  line-height: 1.55;
}

/* ========================================================================
   RESPONSIVE
   ======================================================================== */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .method { grid-template-columns: repeat(3, 1fr); }
  .method-step:nth-child(3) { border-right: 0; }
  .programs-grid { grid-template-columns: repeat(2, 1fr); }
  .pillars-grid { grid-template-columns: repeat(2, 1fr); }
  .featured-partner { grid-template-columns: 1fr; }
  .partner-id, .partner-services { min-height: auto; }
  .stats-band { grid-template-columns: repeat(2, 1fr); }
  .teaser-index { grid-template-columns: 1fr; }
  .tower-index { border-right: 0; border-bottom: 1px solid var(--bd-subtle); }
  .teaser-aside { padding: var(--s-xl) 0 0; }
  .page-hero-grid { grid-template-columns: 1fr; gap: var(--s-md); }
  .hero-split { grid-template-columns: 1fr; }
  .perks-list { grid-template-columns: 1fr; }
  .perks-list li { border-right: 0; }
  .testimonials-scroll { grid-auto-columns: minmax(280px, 320px); }
  .logo-strip.alianzas { grid-template-columns: repeat(4, 1fr); }
  .logo-strip.clientes { grid-template-columns: repeat(4, 1fr); }
  .hero-body { grid-template-columns: 1fr; }
  .hero-actions { justify-content: flex-start; }
  .sedes { grid-template-columns: 1fr; }
  .sede-icon img { height: 140px; }
  .contact-grid { grid-template-columns: 1fr; }
  .hero-indicators { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .services-grid { grid-template-columns: 1fr; }
  .method { grid-template-columns: 1fr; }
  .method-step { border-right: 0; border-bottom: 1px solid var(--bd-subtle); }
  .method-step:last-child { border-bottom: 0; }
  .programs-grid { grid-template-columns: 1fr; }
  .pillars-grid { grid-template-columns: 1fr; }
  .certs-grid { grid-template-columns: 1fr; }
  .service-chips { grid-template-columns: 1fr; }
  .stats-band { grid-template-columns: 1fr; }
  .alliance-tiny { grid-template-columns: repeat(5, 1fr); }
  .alliance-tiny li { height: 44px; }
  .hire-foot { flex-direction: column; align-items: flex-start; }
  .subpage-cta-inner { flex-direction: column; align-items: flex-start; }
  .perks-head { flex-direction: column; align-items: flex-start; }
  .testimonials-scroll { grid-auto-columns: 86%; }
  .logo-strip.alianzas { grid-template-columns: repeat(2, 1fr); }
  .logo-strip.clientes { grid-template-columns: repeat(3, 1fr); }
  .section-head { grid-template-columns: 1fr; gap: var(--s-md); }
  .nav-status { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-indicators { grid-template-columns: repeat(2, 1fr); }
  .contact-meta-row { grid-template-columns: 1fr; gap: 2px; }

  /* Mobile nav dropdown */
  .nav-burger { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: color-mix(in srgb, var(--s-1000) 96%, transparent);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--bd-subtle);
    padding: var(--s-sm) var(--gutter) var(--s-lg);
    margin-left: 0;
    z-index: 49;
  }
  .nav--open .nav-links { display: flex; }
  .nav-links a:not(.nav-cta) {
    padding: 14px 0;
    font-size: var(--fs-base);
    border-bottom: 1px solid var(--bd-subtle);
  }
  .nav-links a:not(.nav-cta)::after { display: none; }
  .nav-cta { padding: 16px 0; border-bottom: 0; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: var(--s-sm); }
  .hero-indicators { grid-template-columns: 1fr; }
  .logo-strip.clientes { grid-template-columns: repeat(2, 1fr); }
  .sede-coord { display: none; }
  .sede-icon { display: none; }
  .hero-meta { flex-wrap: wrap; gap: var(--s-sm); }
  .perks-head { gap: var(--s-sm); }
  .logo-strip.alianzas { grid-template-columns: repeat(2, 1fr); }
  .form-footer { flex-direction: column; align-items: flex-start; }
}

/* ========================================================================
   CANVAS SPECTRAL — semi-transparent cards so the dot-grid effect shows
   ======================================================================== */
.svc,
.pillar,
.cert,
.method-step,
.method,
.indicator,
.testimonial,
.program,
.perks,
.logo-cell,
.partner-id,
.partner-services,
.service-chips li,
.stat,
.hero-teaser,
.alliance-tiny li {
  background: var(--card-bg);
}

.svc:hover,
.pillar:hover,
.program:hover,
.logo-cell:hover,
.stat:hover,
.perks-list li:hover,
.service-chips li:hover,
.tower-index li:hover {
  background: var(--card-bg-hover);
}

.program--featured {
  background: var(--card-bg-hover);
}

.contact-form input,
.contact-form textarea {
  background: color-mix(in srgb, var(--s-1000) 70%, transparent);
}

/* ========================================================================
   VIDEO BG WRAP — contacto + footer sobre robot.mp4
   ======================================================================== */
.video-bg-wrap {
  position: relative;
  isolation: isolate;
}
.video-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  pointer-events: none;
}
.video-bg-wrap .section,
.video-bg-wrap .footer {
  background: transparent !important;
}
.video-bg-wrap .footer {
  border-top: 1px solid var(--bd-subtle);
  background: rgba(7, 7, 10, 0.55) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.video-bg-wrap .contact-form {
  background: rgba(20, 21, 27, 0.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.video-bg-wrap .contact-form input,
.video-bg-wrap .contact-form textarea {
  background: rgba(7, 7, 10, 0.5);
}
.video-bg-wrap .contact-info h2,
.video-bg-wrap .contact-info p,
.video-bg-wrap .contact-meta-row span {
  text-shadow: 0 2px 12px rgba(0,0,0,0.9);
}

/* ========================================================================
   COUNTERS — hidden globally
   ======================================================================== */
.section-id,
.svc-num,
.pillar-id,
.step-id,
.testimonial-id,
.program-id,
.perk-num,
.chip-num,
.partner-tag,
.sede-id,
.partner-services-count,
.hero-meta { display: none; }

