/* ============================================================
   GEO + MCP UNIVERSIDADES — Secuoyas — Pitch HTML v1
   SQY Style — Slide-native (no scroll, viewport-fit)
   ============================================================ */

/* ─── FONT — Gilroy (propietaria SQY, .otf locales) ────────── */
@font-face { font-family: 'Gilroy'; src: url('../assets/fonts/Radomir Tinkov - Gilroy-Thin.otf') format('opentype'); font-weight: 200; font-style: normal; font-display: swap; }
@font-face { font-family: 'Gilroy'; src: url('../assets/fonts/Radomir Tinkov - Gilroy-ThinItalic.otf') format('opentype'); font-weight: 200; font-style: italic; font-display: swap; }
@font-face { font-family: 'Gilroy'; src: url('../assets/fonts/Radomir Tinkov - Gilroy-UltraLight.otf') format('opentype'); font-weight: 250; font-style: normal; font-display: swap; }
@font-face { font-family: 'Gilroy'; src: url('../assets/fonts/Radomir Tinkov - Gilroy-Light.otf') format('opentype'); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: 'Gilroy'; src: url('../assets/fonts/Radomir Tinkov - Gilroy-LightItalic.otf') format('opentype'); font-weight: 300; font-style: italic; font-display: swap; }
@font-face { font-family: 'Gilroy'; src: url('../assets/fonts/Radomir Tinkov - Gilroy-Regular.otf') format('opentype'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Gilroy'; src: url('../assets/fonts/Radomir Tinkov - Gilroy-RegularItalic.otf') format('opentype'); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: 'Gilroy'; src: url('../assets/fonts/Radomir Tinkov - Gilroy-Medium.otf') format('opentype'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Gilroy'; src: url('../assets/fonts/Radomir Tinkov - Gilroy-MediumItalic.otf') format('opentype'); font-weight: 500; font-style: italic; font-display: swap; }
@font-face { font-family: 'Gilroy'; src: url('../assets/fonts/Radomir Tinkov - Gilroy-SemiBold.otf') format('opentype'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Gilroy'; src: url('../assets/fonts/Radomir Tinkov - Gilroy-SemiBoldItalic.otf') format('opentype'); font-weight: 600; font-style: italic; font-display: swap; }
@font-face { font-family: 'Gilroy'; src: url('../assets/fonts/Radomir Tinkov - Gilroy-Bold.otf') format('opentype'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Gilroy'; src: url('../assets/fonts/Radomir Tinkov - Gilroy-BoldItalic.otf') format('opentype'); font-weight: 700; font-style: italic; font-display: swap; }
@font-face { font-family: 'Gilroy'; src: url('../assets/fonts/Radomir Tinkov - Gilroy-ExtraBold.otf') format('opentype'); font-weight: 800; font-style: normal; font-display: swap; }
@font-face { font-family: 'Gilroy'; src: url('../assets/fonts/Radomir Tinkov - Gilroy-ExtraBoldItalic.otf') format('opentype'); font-weight: 800; font-style: italic; font-display: swap; }
@font-face { font-family: 'Gilroy'; src: url('../assets/fonts/Radomir Tinkov - Gilroy-Heavy.otf') format('opentype'); font-weight: 850; font-style: normal; font-display: swap; }
@font-face { font-family: 'Gilroy'; src: url('../assets/fonts/Radomir Tinkov - Gilroy-HeavyItalic.otf') format('opentype'); font-weight: 850; font-style: italic; font-display: swap; }
@font-face { font-family: 'Gilroy'; src: url('../assets/fonts/Radomir Tinkov - Gilroy-Black.otf') format('opentype'); font-weight: 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'Gilroy'; src: url('../assets/fonts/Radomir Tinkov - Gilroy-BlackItalic.otf') format('opentype'); font-weight: 900; font-style: italic; font-display: swap; }

/* ─── RESET ────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-font-smoothing: antialiased; height: 100%; overflow: hidden; }
img, video, canvas { display: block; max-width: 100%; }
button { cursor: pointer; border: none; background: none; font: inherit; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }

/* ─── VARIABLES — SQY Design System ──────────────────────── */
:root {
  /* Brand — magenta only for CTAs & subtle accents */
  --brand:         #fa0067;
  --brand-hover:   #e0005b;
  --brand-light:   rgba(250, 0, 103, 0.08);
  --brand-border:  rgba(250, 0, 103, 0.20);

  /* Neutrals */
  --black:         #101010;
  --dark-surface:  #1a1a1a;
  --dark-card:     #222222;
  --white:         #ffffff;
  --bg:            #ffffff;
  --bg-alt:        #fafafa;

  /* Accent palette (for charts/cards diversity) */
  --yellow:        #eab42d;
  --accent-gray:   #555555;
  --accent-brand:  #fa0067;
  --lilac:         #b9b9ed;

  /* Text — WCAG AA verified */
  --text-primary:   #101010;  /* 15.4:1 on white */
  --text-secondary: #555555;  /*  7.5:1 on white */
  --text-tertiary:  #767676;  /*  4.54:1 on white — AA minimum */
  --text-inverted:  #ffffff;  /* 15.4:1 on #101010 */
  --text-inv-2:     #d4d4d4;  /* 11.2:1 on #101010 */
  --text-inv-3:     #a8a8a8;  /*  4.9:1 on #101010 */

  /* Borders */
  --border:        #e8e8e8;
  --border-strong:  #d0d0d0;

  /* Feedback */
  --success:       #84c36f;
  --success-light: rgba(132, 195, 111, 0.1);
  --danger:        #e44444;

  /* Radius — SQY style */
  --r-sm:  6px;
  --r-md:  12px;
  --r-lg:  20px;
  --r-xl:  28px;
  --r-full: 999px;

  /* Shadows */
  --sh-sm: 0 1px 4px rgba(0,0,0,0.06);
  --sh-md: 0 4px 20px rgba(0,0,0,0.08);
  --sh-lg: 0 12px 48px rgba(0,0,0,0.12);

  /* Typography — Gilroy (propietaria SQY) */
  --font: 'Gilroy', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Fluid type scale — compact for viewport-fit */
  --fs-display:  clamp(36px, 5.5vw, 72px);
  --fs-h1:       clamp(28px, 3.5vw, 52px);
  --fs-h2:       clamp(22px, 2.5vw, 40px);
  --fs-h3:       clamp(15px, 1.3vw, 20px);
  --fs-body:     clamp(15px, 1.3vw, 19px);
  --fs-small:    clamp(13px, 1vw, 16px);
  --fs-label:    clamp(11px, 0.85vw, 13px);

  /* Spacing */
  --sp-2xs: 0.25rem;
  --sp-xs:  0.5rem;
  --sp-sm:  1rem;
  --sp-md:  1.5rem;
  --sp-lg:  2.5rem;
  --sp-xl:  4rem;
  --sp-2xl: 5rem;     /* 80px — top breathing under nav */

  /* Layout */
  --max-w:  1440px;
  --pad-x:  clamp(32px, 5vw, 80px);
  --nav-h:  56px;

  /* Animation */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --dur:  0.65s;
}

/* ─── BASE ──────────────────────────────────────────────────── */
body {
  font-family: var(--font);
  font-size: var(--fs-body);
  color: var(--text-primary);
  background: var(--black);
  overflow: hidden;
  height: 100vh;
  line-height: 1.55;
}

/* ─── TYPOGRAPHY ─────────────────────────────────────────────── */
h1, .h1 {
  font-size: var(--fs-h1);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.025em;
}
h2, .h2 {
  font-size: var(--fs-h2);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.015em;
}
h3, .h3 {
  font-size: var(--fs-h3);
  font-weight: 500;
  line-height: 1.25;
}
.eyebrow {
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-tertiary);
}

/* Eyebrows en magenta sólo en las slides del bloque de fases */
#servicio .eyebrow,
#fase-a .eyebrow,
#fase-b .eyebrow,
#fase-b-vision .eyebrow,
#fase-c .eyebrow {
  color: var(--brand);
  font-weight: 600;
}
.lead {
  font-size: clamp(14px, 1.1vw, 18px);
  font-weight: 400;
  line-height: 1.55;
  color: var(--text-secondary);
}
strong { font-weight: 500; }
em { font-style: normal; color: var(--brand); }

/* ─── SLIDE ENGINE ──────────────────────────────────────────── */
/* Every slide is exactly 100vh, no scroll allowed */
section[data-slide] {
  position: fixed !important;
  inset: 0;
  width: 100%;
  height: 100vh;
  overflow: hidden; /* ← NO SCROLL */
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.55s var(--ease),
    visibility 0.55s var(--ease);
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

section[data-slide].slide--active {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
  z-index: 2;
}

section[data-slide].slide--exiting {
  opacity: 0;
  visibility: visible;
  pointer-events: none;
  z-index: 1;
  transition:
    opacity 0.4s var(--ease),
    visibility 0.4s var(--ease);
}

/* Theme helpers */
section[data-theme="dark"]  { background: var(--black); color: var(--text-inverted); }
section[data-theme="light"] { background: var(--white); color: var(--text-primary); }
section[data-theme="alt"]   { background: var(--bg-alt); color: var(--text-primary); }
/* teal removed — dark slides use img+overlay instead */

/* Slide inner — max width + padding. Title anchored at fixed distance from nav. */
.slide__inner {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: calc(var(--nav-h) + var(--sp-2xl)) var(--pad-x) var(--sp-lg);
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  /* gap removed: cada hijo gestiona su propio margin-top — evita doble cómputo */
}

/* Modificador para slides que sí deben centrar verticalmente (uso excepcional) */
.slide__inner--center {
  justify-content: center;
}

/* ─── TABLE OF CONTENTS ──────────────────────────────────── */
.toc-layout {
  align-items: flex-start;
}
.toc-two-col {
  display: grid !important;
  grid-template-columns: 1fr 1.2fr;
  align-items: start;
  align-content: center;
  gap: var(--sp-xl);
  padding-top: var(--nav-h);
  padding-bottom: var(--nav-h);
}
.toc-timeline {
  display: flex;
  flex-direction: column;
  position: relative;
  width: 100%;
  max-width: 700px;
}
/* Vertical line */
.toc-timeline::before {
  content: '';
  position: absolute;
  left: 38px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: rgba(255,255,255,0.12);
}
.toc-item {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-md);
  text-decoration: none;
  color: inherit;
  padding: var(--sp-sm) 0;
  position: relative;
  transition: opacity 0.2s ease;
}
.toc-item:hover {
  opacity: 1;
}
.toc-item:hover .toc-item__title {
  color: var(--brand);
}
.toc-item:hover .toc-item__num {
  opacity: 1;
  color: var(--brand);
}
.toc-item__num {
  font-size: 13px;
  font-weight: 500;
  color: var(--brand);
  opacity: 0.35;
  width: 24px;
  text-align: right;
  flex-shrink: 0;
  padding-top: 2px;
  transition: opacity 0.2s ease, color 0.2s ease;
}
.toc-item__dot {
  display: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
  flex-shrink: 0;
  margin-top: 6px;
  position: relative;
  z-index: 1;
  transition: background 0.2s ease, box-shadow 0.2s ease;
}
.toc-item__text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.toc-item__title {
  font-size: var(--fs-body);
  font-weight: 500;
  color: var(--white);
  line-height: 1.25;
  transition: color 0.2s ease;
}
.toc-item__desc {
  font-size: var(--fs-label);
  color: rgba(255,255,255,0.65);
  line-height: 1.5;
}

/* ─── PHOTO OVERLAY SLIDE ─────────────────────────────────── */
/* img background + dark overlay + text */
.slide--photo {
  position: relative;
}
.slide--photo__bg {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}
.slide--photo__overlay {
  position: absolute;
  inset: 0;
  background: rgba(16,16,16,0.78);
  z-index: 1;
}
.slide--photo .statement__inner,
.slide--photo .slide__inner { z-index: 2; position: relative; }

/* ─── NAV ───────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-h);
  background: var(--black);
  transition: background 0.4s var(--ease), opacity 0.4s var(--ease);
  opacity: 0;
}
.nav.light {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--border);
}
.nav__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--pad-x);
}
.nav__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  font-size: 14px;
  color: var(--white);
  transition: color 0.4s var(--ease);
}
.nav.light .nav__brand { color: var(--black); }
.nav__x { opacity: 0.35; font-weight: 300; font-size: 13px; }
.nav__logo-img { height: 20px; width: auto; display: block; }
.nav__logo-sqy { filter: brightness(0) invert(1); transition: filter 0.4s var(--ease); }
.nav.light .nav__logo-sqy { filter: brightness(0); }
.nav__logo-solvia--white { display: block; transition: opacity 0.4s var(--ease); }
.nav__logo-solvia--dark  { display: none; }
.nav.light .nav__logo-solvia--white { display: none; }
.nav.light .nav__logo-solvia--dark  { display: block; }
.nav__tag {
  font-size: var(--fs-label);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-inv-3);
  transition: color 0.4s var(--ease);
}
.nav.light .nav__tag { color: var(--text-tertiary); }
.nav__progress-wrap {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: rgba(255,255,255,0.08);
}
.nav.light .nav__progress-wrap { background: var(--border); }
.nav__progress {
  height: 100%;
  background: var(--brand);
  width: 0%;
  transition: width 0.15s linear;
}

/* ─── SLIDE NAVIGATION UI ───────────────────────────────────── */
.slide-nav {
  position: fixed;
  right: clamp(16px, 2vw, 28px);
  top: 50%;
  transform: translateY(-50%);
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.slide-nav__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.6);
  cursor: pointer;
  transition: all 0.2s;
  backdrop-filter: blur(8px);
}
.slide-nav__btn:hover:not(:disabled) {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.4);
  color: #fff;
}
.slide-nav__btn:disabled { opacity: 0.15; cursor: default; }
.slide-nav__counter {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.4);
  text-align: center;
  min-width: 28px;
}
.slide-nav__sep { margin: 0 1px; }

/* Light theme variant */
.slide-nav[data-theme="light"] .slide-nav__btn,
.slide-nav[data-theme="alt"] .slide-nav__btn {
  border-color: rgba(0,0,0,0.12);
  background: rgba(0,0,0,0.04);
  color: rgba(0,0,0,0.4);
}
.slide-nav[data-theme="light"] .slide-nav__btn:hover:not(:disabled),
.slide-nav[data-theme="alt"] .slide-nav__btn:hover:not(:disabled) {
  background: rgba(0,0,0,0.08);
  border-color: rgba(0,0,0,0.25);
  color: #000;
}
.slide-nav[data-theme="light"] .slide-nav__counter,
.slide-nav[data-theme="alt"] .slide-nav__counter {
  color: rgba(0,0,0,0.3);
}

/* ─── HERO ──────────────────────────────────────────────────── */
.hero {
  padding: var(--nav-h) var(--pad-x) var(--sp-lg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
}
.hero__content {
  position: relative; z-index: 2;
  max-width: 860px;
}
.hero__eyebrow {
  color: var(--text-inv-3);
  margin-bottom: var(--sp-md);
}
.hero__headline {
  font-size: var(--fs-display);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: var(--sp-md);
}
.hero__headline em { color: var(--brand); }
.hero__sub {
  font-size: clamp(16px, 1.6vw, 22px);
  color: var(--text-inv-3);
  font-weight: 400;
  max-width: 480px;
}
.hero__footer {
  position: absolute;
  bottom: var(--sp-lg);
  left: var(--pad-x);
  right: var(--pad-x);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  z-index: 2;
}
.hero__brands {
  display: flex;
  align-items: center;
  gap: 14px;
}
.hero__brands .hero__x { opacity: 0.25; font-weight: 300; font-size: 16px; color: var(--white); }
.hero__logo { display: block; width: auto; }
.hero__logo-sqy    { height: clamp(18px, 1.8vw, 24px); filter: brightness(0) invert(1); }
.hero__logo-solvia { height: clamp(14px, 1.4vw, 18px); }
.hero__scroll {
  display: flex; align-items: center; gap: 8px;
  font-size: var(--fs-small);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-inv-3);
}
.hero__scroll-line {
  width: 40px; height: 1px;
  background: rgba(255,255,255,0.2);
  position: relative; overflow: hidden;
}
.hero__scroll-line::after {
  content: '';
  position: absolute;
  left: -100%; top: 0;
  width: 100%; height: 100%;
  background: var(--brand);
  animation: lineSlide 2s ease-in-out infinite;
}
@keyframes lineSlide {
  0%   { left: -100%; }
  100% { left: 100%; }
}

/* ─── ABOUT (Sobre Secuoyas) ───────────────────────────────── */
.about__top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-lg);
  align-items: start;
}
.about__tagline {
  font-size: clamp(28px, 3.5vw, 52px);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.05;
}
.about__tagline em {
  font-style: italic;
  font-weight: 300;
  color: var(--text-tertiary);
}
.about__desc p {
  color: var(--text-secondary);
  margin-bottom: var(--sp-xs);
  font-size: var(--fs-body);
}
.about__values {
  display: flex; flex-wrap: wrap; gap: var(--sp-xs) var(--sp-md);
  margin-top: var(--sp-sm);
}
.about__value {
  display: flex; align-items: center; gap: 6px;
  font-weight: 500; font-size: var(--fs-small);
}
.about__value-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--brand);
  flex-shrink: 0;
}

/* Timeline */
.about__timeline {
  display: flex; gap: 0;
  border-top: 1px solid var(--border);
  padding-top: var(--sp-sm);
  margin-top: var(--sp-lg);
}
.about__timeline-item {
  flex: 1;
  padding-right: var(--sp-sm);
  border-left: 1px solid var(--border);
  padding-left: var(--sp-xs);
}
.about__timeline-item:first-child { border-left: none; padding-left: 0; }
.about__timeline-year {
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--brand);
  margin-bottom: 2px;
}
.about__timeline-name {
  font-size: var(--fs-small);
  font-weight: 500;
}
.about__timeline-desc {
  font-size: var(--fs-label);
  color: var(--text-tertiary);
}

/* Stats */
.about__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-md);
  border-top: 1px solid var(--border);
  padding-top: var(--sp-sm);
  margin-top: var(--sp-sm);
}
.about__stat-num {
  font-size: clamp(32px, 3.5vw, 52px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 4px;
}
.about__stat-label {
  font-size: var(--fs-label);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-tertiary);
}

/* ─── BRIEF (Lectura del brief) ─────────────────────────────── */
.brief__header {
  margin-bottom: var(--sp-md);
  max-width: 640px;
}
.brief__title {
  margin-top: var(--sp-xs);
  margin-bottom: var(--sp-xs);
}
.brief__subtitle { color: var(--text-secondary); font-size: var(--fs-body); }
.brief__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-sm);
}
.brief__card {
  background: var(--white);
  padding: var(--sp-sm);
  border-radius: var(--r-md);
  border: 1px solid var(--border);
  display: flex; flex-direction: column;
}
.brief__card-num {
  font-size: clamp(22px, 2vw, 32px);
  font-weight: 500;
  letter-spacing: -0.04em;
  color: var(--border);
  line-height: 1;
  margin-bottom: var(--sp-2xs);
}
.brief__card-title {
  font-size: var(--fs-h3);
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: var(--sp-xs);
}
.brief__card-text {
  font-size: var(--fs-small);
  color: var(--text-secondary);
  line-height: 1.55;
  flex: 1;
}
.brief__card-tag {
  display: inline-block;
  margin-top: auto;
  padding-top: var(--sp-lg);
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand);
  background: var(--brand-light);
  padding: 3px 8px;
  border-radius: var(--r-sm);
  align-self: flex-start;
  width: auto;
}

/* ─── BRIEF CARDS — Glass + stagger variant ─────────────────── */
.brief__cards--glass {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-md);
  align-items: start;
}
.brief__card--glass {
  background: transparent;
  border: none;
  border-left: 2px solid var(--brand);
  border-radius: 0;
  padding: var(--sp-sm) var(--sp-sm) var(--sp-sm) var(--sp-md);
  display: flex;
  flex-direction: column;
}
.brief__card--glass:last-child {
  background: var(--white);
}
.brief__card--glass .brief__card-tag {
  background: none;
  padding: 0;
  padding-top: var(--sp-md);
}

/* ─── USERS (Buyer personas) — horizontal layout ───────────── */
.personas-layout {
  display: grid;
  grid-template-columns: 1fr 1.8fr;
  gap: var(--sp-lg);
  align-items: start;
  align-content: center;
  padding-top: var(--nav-h);
  padding-bottom: var(--nav-h);
}
.personas-layout__left {
}
.personas-layout__desc {
  margin-top: var(--sp-sm);
}

/* ─── USERS v2 — vertical cards with stagger ────────────────── */
.personas-v2 {
  display: flex !important;
  flex-direction: column;
  align-content: center;
  justify-content: center;
  padding-top: var(--nav-h);
  padding-bottom: var(--nav-h);
}
.personas-v2__header {
  max-width: 600px;
  margin-bottom: var(--sp-lg);
}
.personas-v2__sub {
  margin-top: var(--sp-xs);
  font-size: var(--fs-body);
  color: var(--text-secondary);
  line-height: 1.6;
}
.personas-v2__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-xl);
  align-items: start;
  width: calc(100% + 80px);
  margin-left: -40px;
}
.persona-card {
  border-left: 2px solid var(--brand);
  padding-left: var(--sp-md);
  display: flex;
  flex-direction: column;
}
.persona-card__img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 20%;
  margin-bottom: var(--sp-xs);
}
.persona-card__label {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  margin-bottom: 2px;
}
.persona-card__name {
  font-size: clamp(16px, 1.4vw, 22px);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 2px;
}
.persona-card__meta {
  font-size: var(--fs-label);
  color: var(--text-tertiary);
  margin-bottom: var(--sp-xs);
}
.persona-card__quote {
  font-size: 13px;
  font-style: italic;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: var(--sp-sm);
}
.persona-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: auto;
  font-size: var(--fs-body);
  color: var(--text-secondary);
  line-height: 1.6;
}
.personas-layout__right {
  display: flex;
  flex-direction: column;
  gap: var(--sp-lg);
}
.persona-group {}
.persona-group > .persona-row__label {
  margin-bottom: 4px;
}

/* Persona row card */
.persona-row {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-sm);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: var(--sp-sm);
}
.persona-row__img {
  width: 72px;
  height: 72px;
  border-radius: var(--r-md);
  border: 1px solid #ccc;
  object-fit: cover;
  object-position: center 20%;
  flex-shrink: 0;
}
.persona-row__body { flex: 1; min-width: 0; }
.persona-row__top {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-sm);
  margin-bottom: var(--sp-2xs);
}
.persona-row__info { flex: 0 0 auto; min-width: 140px; }
.persona-row__label {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  margin-bottom: 2px;
  font-weight: 400;
}
.persona-row__name {
  font-size: clamp(13px, 1.1vw, 16px);
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: 2px;
}
.persona-row__meta {
  font-size: var(--fs-label);
  color: var(--text-tertiary);
}
.persona-row--glass {
  background: transparent;
  border: none;
  border-left: 2px solid var(--brand);
  border-radius: 0;
  padding: var(--sp-xs) var(--sp-sm);
}
.persona-row__quote {
  flex: 1;
  font-size: 14px;
  font-style: italic;
  color: var(--text-secondary);
  border-left: 2px solid var(--brand);
  padding-left: var(--sp-xs);
  line-height: 1.45;
}
.persona-row__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: var(--sp-sm);
}
.pill {
  font-size: 12px;
  font-weight: 500;
  padding: 2px 7px;
  border-radius: var(--r-full);
  background: var(--bg-alt);
  color: var(--text-secondary);
}
.pill--pain { background: rgba(228,68,68,0.06); color: var(--danger); }

/* ─── STATEMENT (Reto real / separators) ────────────────────── */
.statement__inner {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 var(--pad-x);
  position: relative; z-index: 2;
}
.statement__eyebrow { color: var(--text-inv-3); margin-bottom: var(--sp-sm); }
.statement__text {
  font-size: clamp(28px, 4vw, 56px);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: var(--sp-sm);
}
.statement__text em { color: var(--brand); }
.statement__coda {
  font-size: clamp(14px, 1.2vw, 18px);
  color: var(--text-inv-3);
  font-weight: 400;
  border-left: 2px solid var(--brand);
  padding-left: var(--sp-sm);
}

/* Decorative circles removed — using photo overlays */

/* ─── BEHAVIORAL DESIGN ─────────────────────────────────────── */
.behavioral__header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-lg);
  align-items: end;
  margin-bottom: var(--sp-sm);
}
.behavioral__header h2 { margin-top: var(--sp-2xs); }
.behavioral__intro {
  color: var(--text-secondary);
  font-size: var(--fs-small);
  line-height: 1.6;
}
.behavioral__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-sm);
}
/* ─── PILARES — two-column layout ────────────────────────── */
.pilares-layout {
  display: grid !important;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-xl);
  align-items: center;
  align-content: center;
  justify-content: center;
  height: 100vh;
  padding-top: var(--nav-h);
  padding-bottom: var(--nav-h);
  max-width: 1200px;
  margin: 0 auto;
}
.pilares-layout__left {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.pilares-layout__right {
  display: flex;
  flex-direction: column;
  gap: var(--sp-md);
}

.pillar {
  padding: var(--sp-md) var(--sp-sm);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  position: relative; overflow: hidden;
}
.pillar__num {
  font-size: clamp(18px, 1.6vw, 24px);
  font-weight: 500;
  color: var(--border);
  line-height: 1;
  letter-spacing: -0.04em;
  margin-bottom: var(--sp-xs);
}
.pillar__title {
  font-size: var(--fs-h3);
  font-weight: 500;
  margin-bottom: var(--sp-xs);
}
.pillar__title--big {
  font-size: clamp(18px, 1.6vw, 24px);
  font-weight: 600;
  margin-bottom: var(--sp-sm);
}
.pillar__text {
  font-size: var(--fs-small);
  color: var(--text-secondary);
  line-height: 1.6;
}
.pillar__accent { display: none; }

/* ─── COORDINACIÓN DEV (staggered) ──────────────────────────── */
.cd-layout {
  display: grid !important;
  grid-template-columns: 1fr;
  align-content: center;
  gap: var(--sp-lg);
  padding-top: var(--nav-h);
  padding-bottom: var(--nav-h);
}
.cd-layout__header { max-width: 560px; }
.cd-layout__header h2 { margin-top: var(--sp-2xs); }

/* Behavioral design — chess background image */
.behavioral__bg {
  position: absolute;
  top: 0;
  right: 0;
  width: 40%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 1;
  opacity: 0.5;
  mask-image: linear-gradient(to right, transparent 0%, black 40%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 40%);
}

.cd-stagger {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-md);
  align-items: start;
}

.cd-block {
  border-left: 1px solid rgba(255,255,255,0.12);
  padding-left: var(--sp-sm);
}
.cd-block--1 { margin-top: 0; }
.cd-block--2 { margin-top: 0; }
.cd-block--3 { margin-top: 0; }
.cd-block--4 { margin-top: 0; }

.cd-block__label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--brand);
  margin-bottom: var(--sp-xs);
}
.cd-block__title {
  font-size: clamp(18px, 1.6vw, 26px);
  font-weight: 600;
  color: #fff;
  line-height: 1.2;
  margin-bottom: var(--sp-xs);
}
.cd-block__text {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  line-height: 1.6;
}

/* Light variants for cd-block */
.cd-block--light { border-left-color: rgba(0,0,0,0.10); }
.cd-block__title--light { color: var(--text-primary); }
.cd-block__text--light { color: var(--text-secondary); }
.cd-block__meta {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-tertiary);
  letter-spacing: 0.04em;
  margin-bottom: var(--sp-2xs);
}

/* 3-col stagger */
.cd-stagger--3 { grid-template-columns: repeat(3, 1fr); }
.cd-block--a { margin-top: 0; }
.cd-block--b { margin-top: 0; }
.cd-block--c { margin-top: 0; }

/* ─── FASES (7-col stagger) ────────────────────────────────── */
/* ─── FASES CASCADE ─────────────────────────────────────────── */
.cascade-layout {
  display: grid !important;
  grid-template-columns: 1fr;
  align-content: center;
  gap: var(--sp-lg);
  padding-top: var(--nav-h);
  padding-bottom: var(--nav-h);
}
.cascade-layout__header { max-width: 600px; }
.cascade-layout__header h2 { margin-top: var(--sp-2xs); }

.cascade {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0;
  align-items: start;
}
.cascade--5 {
  grid-template-columns: repeat(5, 1fr);
}

.cascade__step {
  padding: var(--sp-sm) var(--sp-md) var(--sp-sm) 0;
  margin-top: calc(var(--step) * 42px);
  border-top: 1px solid transparent;
  position: relative;
}
.cascade__step::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: var(--sp-sm);
  height: 1px;
  background: linear-gradient(90deg, var(--brand), rgba(0,0,0,0.04));
}
/* last step: no gradient fade */
.cascade__step:last-child::before {
  background: var(--brand);
}

.cascade__head {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: var(--sp-xs);
}
.cascade__num {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1;
  letter-spacing: -0.02em;
}
.cascade__arrow {
  font-size: 16px;
  color: var(--brand);
  font-weight: 300;
  margin-left: auto;
  opacity: 0.6;
}
.cascade__title {
  font-size: clamp(13px, 1.1vw, 16px);
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.3;
  margin-bottom: 4px;
}
.cascade__duration {
  font-size: 12px;
  font-weight: 500;
  color: var(--brand);
  letter-spacing: 0.04em;
  margin-bottom: var(--sp-2xs);
}
.cascade__deliverables {
  font-size: 12px;
  color: var(--text-tertiary);
  line-height: 1.5;
}

/* ─── GOBIERNO / PRODUCT TRIO ───────────────────────────────── */
.gov-trio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-md);
  align-items: start;
}
.gov-trio__role {
  border-left: 1px solid rgba(0,0,0,0.10);
  padding-left: var(--sp-sm);
}
.gov-trio__role--a { margin-top: 0; }
.gov-trio__role--b { margin-top: 36px; }
.gov-trio__role--c { margin-top: 14px; }

.gov-trio__label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: var(--sp-xs);
}
.gov-trio__title {
  font-size: clamp(16px, 1.4vw, 22px);
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--sp-2xs);
}
.gov-trio__text {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Secondary row: inverted stagger */
.gov-trio--secondary { margin-top: var(--sp-md); }
.gov-trio__principle {
  border-left: 1px solid rgba(0,0,0,0.06);
  padding-left: var(--sp-sm);
}
.gov-trio__principle--a { margin-top: 0; }
.gov-trio__principle--b { margin-top: 0; }
.gov-trio__principle--c { margin-top: 0; }

.gov-trio__principle-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}
.gov-trio__principle-text {
  font-size: 12px;
  color: var(--text-tertiary);
  line-height: 1.5;
}

/* ─── EQUIPO COMPOSICIÓN ────────────────────────────────────── */
.equipo-layout {
  display: grid !important;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: start;
  align-content: center;
  gap: var(--sp-xl);
  padding-top: var(--nav-h);
  padding-bottom: var(--nav-h);
}
.equipo-layout__right {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}
.equipo-layout__img {
  width: 100%;
  max-height: 70vh;
  object-fit: cover;
  border-radius: var(--r-md);
}

/* ─── JOURNEYS ──────────────────────────────────────────────── */
.journeys__header {
  margin-bottom: var(--sp-sm);
  max-width: 760px;
}
.journeys__header .eyebrow { color: var(--brand); }
.journeys__header h2 {
  color: var(--white);
  margin-top: var(--sp-2xs);
  margin-bottom: var(--sp-xs);
}
.journeys__brief-quote {
  font-size: 14px;
  color: var(--text-inv-2);
  border-left: 2px solid var(--brand);
  padding-left: var(--sp-xs);
  font-style: italic;
  line-height: 1.5;
  max-width: 600px;
}
.journeys__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-md);
  width: calc(100% + 120px);
  margin-left: -60px;
}
.journey-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--r-md);
  overflow: hidden;
  display: flex; flex-direction: column;
}
.journey-card__head {
  padding: var(--sp-sm) var(--sp-sm) var(--sp-xs);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.journey-card__profile {
  font-size: var(--fs-label);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: 6px;
}
.journey-card__title {
  font-size: var(--fs-body);
  font-weight: 500;
  color: var(--white);
  line-height: 1.3;
}
.journey-card__body {
  padding: var(--sp-sm) var(--sp-sm);
  flex: 1;
}
.journey-friction { margin-bottom: var(--sp-sm); }
.journey-friction__label {
  font-size: var(--fs-label);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 6px;
}
.journey-friction__list { display: flex; flex-direction: column; gap: 5px; }
.journey-friction__item {
  display: flex; align-items: flex-start; gap: 6px;
  font-size: var(--fs-small);
  color: rgba(255,255,255,0.55);
}
.journey-friction__item::before { content: '—'; color: rgba(255,255,255,0.3); flex-shrink: 0; }
.journey-proposal__label {
  font-size: var(--fs-label);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: 6px;
  margin-top: 0;
}
.journey-proposal__list { display: flex; flex-direction: column; gap: 5px; }
.journey-proposal__item {
  display: flex; align-items: flex-start; gap: 6px;
  font-size: var(--fs-small);
  color: rgba(255,255,255,0.65);
  line-height: 1.45;
}
.journey-proposal__item::before { content: '→'; color: rgba(255,255,255,0.4); flex-shrink: 0; }

/* ─── JOURNEYS — horizontal layout ─────────────────────────── */
.journeys-layout {
  align-items: center;
}
.journeys-layout__left {
  max-width: 700px;
  margin-bottom: var(--sp-lg);
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}
.journeys-layout__left h2 {
  margin-bottom: 0;
}
.journeys-layout__right {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-xl);
  width: calc(100% + 80px);
  margin-left: -40px;
  max-width: none;
  align-items: start;
}
.journey-group {}
.journey-group > .journey-row__profile {
  margin-bottom: 4px;
}
.journey-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-sm);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--r-md);
  padding: var(--sp-md);
  align-items: flex-start;
}
.journey-row__head {
  min-width: 0;
  grid-column: 1 / -1;
  margin-bottom: var(--sp-xs);
}
.journey-row__profile {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-bottom: 4px;
}
.journey-row__title {
  font-size: var(--fs-small);
  font-weight: 500;
  color: var(--white);
  line-height: 1.3;
}
.journey-row__col {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.journey-row__label {
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-bottom: 2px;
}
.journey-row__item {
  font-size: var(--fs-label);
  line-height: 1.45;
  display: flex;
  align-items: flex-start;
  gap: 6px;
}
.journey-row__item--friction { color: rgba(255,255,255,0.8); }
.journey-row__item--friction::before { content: '—'; color: rgba(255,255,255,0.5); flex-shrink: 0; }
.journey-row__item--proposal { color: rgba(255,255,255,0.9); }
.journey-row__item--proposal::before { content: '→'; color: rgba(255,255,255,0.6); flex-shrink: 0; }

/* Journey glass variant — dark glassmorphism + brand line */
.journey-row--glass {
  background: transparent;
  border: none;
  border-left: 2px solid var(--brand);
  border-radius: 0;
}

/* ─── CAPABILITIES ──────────────────────────────────────────── */
/* ─── Capacidades with photo layout ──────────────────────── */
.slide--cap-photo { position: relative; overflow: hidden; }
.cap-photo__bg {
  position: absolute;
  top: 0; right: 0;
  width: 35%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.cap-photo__inner {
  position: relative;
  z-index: 1;
}
.capabilities__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
  position: relative;
  z-index: 2;
  width: calc(100% + 120px);
  margin-left: -60px;
}
.cap-item {
  background: var(--white);
  padding: var(--sp-md) var(--sp-sm);
  transition: background 0.3s, color 0.3s;
}
.cap-item:hover { background: var(--black); }
.cap-item__num {
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--brand);
  margin-bottom: var(--sp-xs);
}
.cap-item__title {
  font-size: var(--fs-body);
  font-weight: 500;
  margin-bottom: var(--sp-xs);
  line-height: 1.3;
  transition: color 0.3s;
}
.cap-item:hover .cap-item__title { color: var(--white); }
.cap-item__text {
  font-size: var(--fs-small);
  color: var(--text-secondary);
  line-height: 1.5;
  transition: color 0.3s;
}
.cap-item:hover .cap-item__text { color: var(--text-inv-3); }

/* ─── PROCESS ───────────────────────────────────────────────── */
.process__phases {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-sm);
}
.phase {
  background: var(--white);
  padding: var(--sp-md) var(--sp-sm);
  border-radius: var(--r-md);
  border-top: 3px solid transparent;
}
.phase__num {
  font-size: clamp(16px, 1.5vw, 22px);
  font-weight: 500;
  letter-spacing: -0.03em;
  color: var(--border);
  line-height: 1;
  margin-bottom: var(--sp-2xs);
}
.phase__duration {
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: var(--sp-2xs);
}
.phase__title {
  font-size: var(--fs-body);
  font-weight: 500;
  margin-bottom: var(--sp-sm);
}
.phase__list {
  display: flex; flex-direction: column; gap: 6px;
}
.phase__list li {
  font-size: var(--fs-small);
  color: var(--text-secondary);
  padding-left: 12px;
  position: relative;
  line-height: 1.5;
}
.phase__list li::before {
  content: '';
  position: absolute; left: 0; top: 5px;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--border-strong);
}

/* ─── DUAL TRACK DIAGRAM ──────────────────────────────────── */
.dual-track {
  display: flex;
  flex-direction: column;
  gap: var(--sp-md);
  width: 100%;
}
.dual-track__row {
  display: flex;
  align-items: center;
  gap: var(--sp-sm);
}
.dual-track__label {
  min-width: 165px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.dual-track__label-title {
  font-size: var(--fs-small);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text-primary);
}
.dual-track__label-sub {
  font-size: var(--fs-label);
  color: var(--text-tertiary);
}
.dual-track__phases {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 1;
}
/* Desplazamiento: Resolución de dudas arranca antes de QA de diseño */
.dual-track__row--acompanamiento .dual-track__phases {
  margin-left: 16%;
}
.dual-track__phase {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 8px 12px;
  border-radius: var(--r-sm);
  flex: 1;
}
.dual-track__row--definicion .dual-track__phase {
  background: var(--black);
}
.dual-track__row--definicion .dual-track__phase-num {
  font-size: 12px;
  font-weight: 700;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.03em;
}
.dual-track__row--definicion .dual-track__phase-name {
  font-size: 13px;
  font-weight: 500;
  color: var(--white);
  line-height: 1.3;
}
.dual-track__row--acompanamiento .dual-track__phase {
  background: var(--brand-light);
  border: 1px solid var(--brand-border);
}
.dual-track__row--acompanamiento .dual-track__phase-name {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1.3;
}
.dual-track__arrow {
  color: var(--border-strong);
  font-size: 14px;
  flex-shrink: 0;
}
.dual-track__row--definicion .dual-track__arrow {
  color: rgba(255,255,255,0.25);
}
.dual-track__row--acompanamiento .dual-track__arrow {
  color: var(--brand-border);
}
.dual-track__claim {
  font-size: var(--fs-small);
  font-weight: 500;
  color: var(--brand);
  margin-top: var(--sp-xs);
  letter-spacing: -0.02em;
}

/* ─── DUAL TRACK (legacy .dt classes) ─────────────────────── */
/* Dual Track — timeline flow */
.dt {
  display: flex;
  flex-direction: column;
  gap: var(--sp-xl);
  width: 100%;
}
.dt__track {
  display: flex;
  flex-direction: column;
  gap: var(--sp-sm);
}
.dt__track-header {
  display: flex;
  align-items: baseline;
  gap: var(--sp-xs);
}
.dt__track-name {
  font-size: var(--fs-small);
  font-weight: 600;
  letter-spacing: -0.01em;
}
.dt__track-sub {
  font-size: var(--fs-label);
  color: var(--text-tertiary);
}
/* Horizontal flow with connecting line */
.dt__flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  position: relative;
  padding: 0;
}
/* Línea horizontal arrancando desde el primer punto de cada track */
.dt__flow::before {
  content: '';
  position: absolute;
  top: 5px;
  left: 5px;
  right: 5px;
  height: 2px;
}
.dt__flow--dark::before {
  background: var(--black);
}
.dt__flow--light::before {
  background: var(--border);
}
/* Desplazamiento: Resolución de dudas arranca un poco antes de QA */
.dt__flow--light {
  margin-left: 18%;
}
.dt__step {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  position: relative;
}
.dt__step-num {
  font-size: 11px;
  font-weight: 600;
  color: var(--brand);
  opacity: 0.5;
  position: absolute;
  top: -2px;
  left: 16px;
}
.dt__step-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}
.dt__flow--dark .dt__step-dot {
  background: var(--black);
}
.dt__flow--light .dt__step-dot {
  background: var(--text-tertiary);
}
.dt__step-label {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
  padding-top: 2px;
  color: var(--text-primary);
}
.dt__claim {
  font-size: var(--fs-small);
  font-weight: 500;
  color: var(--brand);
  margin-top: var(--sp-xs);
  letter-spacing: -0.02em;
}

/* ─── DESIGN SYSTEM LAYOUT ─────────────────────────────────── */
.ds-layout {
  display: grid !important;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  align-content: center;
  gap: var(--sp-xl);
  padding-top: var(--nav-h);
  padding-bottom: var(--nav-h);
}
.ds-layout__right {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}
.ds-layout__img {
  width: 100%;
  max-height: 70vh;
  object-fit: cover;
  border-radius: var(--r-md);
}
.ds-timeline {
  display: flex;
  flex-direction: column;
  position: relative;
}
.ds-timeline::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--border);
}
.ds-timeline__item {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-sm);
  padding: calc(var(--sp-xs) + 4px) 0;
  position: relative;
}
.ds-timeline__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--text-tertiary);
  flex-shrink: 0;
  margin-top: 8px;
  position: relative;
  z-index: 1;
}
.ds-timeline__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.ds-timeline__title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
}
.ds-timeline__desc {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ─── IA ACELERADOR ─────────────────────────────────────────── */
.ia-layout {
  display: grid !important;
  grid-template-columns: 2fr 3fr;
  align-items: start;
  align-content: center;
  gap: var(--sp-xl);
  padding-top: var(--nav-h);
  padding-bottom: var(--nav-h);
}
.ia-layout__left {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}
.ia-layout__img {
  width: 100%;
  max-height: 70vh;
  object-fit: cover;
  border-radius: var(--r-md);
}

/* ─── TEAM ──────────────────────────────────────────────────── */
.team__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-md);
}
.team-member__avatar {
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--r-md);
  background: var(--bg-alt);
  margin-bottom: var(--sp-xs);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 500;
  color: rgba(0,0,0,0.15);
  position: relative;
  overflow: hidden;
}
.team-member__avatar-overlay {
  position: absolute; inset: 0;
  background: var(--brand);
  opacity: 0;
  transition: opacity 0.3s;
}
.team-member:hover .team-member__avatar-overlay { opacity: 0.08; }
.team-member__role {
  font-size: var(--fs-label);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand);
  font-weight: 500;
  margin-bottom: 2px;
}
.team-member__name {
  font-size: var(--fs-body);
  font-weight: 500;
  margin-bottom: 3px;
}
.team-member__desc {
  font-size: var(--fs-small);
  color: var(--text-secondary);
  line-height: 1.45;
}

/* ─── CALENDAR & BUDGET ─────────────────────────────────────── */
.calendar__header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-lg);
  margin-bottom: var(--sp-sm);
}
.calendar__intro { color: var(--text-secondary); font-size: var(--fs-small); line-height: 1.6; }
.gantt {
  background: var(--white);
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid var(--border);
  margin-bottom: var(--sp-sm);
}
.gantt__months {
  display: grid;
  grid-template-columns: 180px repeat(6, 1fr);
  border-bottom: 1px solid var(--border);
  background: var(--bg-alt);
}
.gantt__month-label {
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 8px var(--sp-xs);
  color: var(--text-tertiary);
  text-align: center;
  border-left: 1px solid var(--border);
}
.gantt__month-label:first-child { border-left: none; text-align: left; padding-left: var(--sp-sm); }
.gantt__row {
  display: grid;
  grid-template-columns: 180px repeat(6, 1fr);
  border-bottom: 1px solid var(--border);
  align-items: stretch;
  min-height: 44px;
}
.gantt__row:last-child { border-bottom: none; }
.gantt__phase-name {
  font-size: var(--fs-small);
  font-weight: 500;
  padding: var(--sp-xs) var(--sp-sm);
  border-right: 1px solid var(--border);
  color: var(--text-secondary);
  display: flex; align-items: center;
}
.gantt__cell {
  border-left: 1px solid var(--border);
  padding: 8px 3px;
}
.gantt__bar {
  display: block;
  width: 100%;
  height: 26px;
  line-height: 26px;
  background-color: #fa0067;
  border-radius: 4px;
  padding: 0 8px;
  font-size: 10px;
  font-weight: 500;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
}
.gantt__bar--brand { background-color: #fa0067; }
.gantt__bar--dark  { background-color: #333333; }
.gantt__bar--gray  { background-color: #999999; color: #333333; }

.budget {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-sm);
}
.budget-card {
  background: var(--white);
  border-radius: var(--r-md);
  padding: var(--sp-xs) var(--sp-sm);
  border: 1px solid var(--border);
}
.budget-card--highlight {
  background: var(--black);
  border-color: var(--black);
}
.budget-card__label {
  font-size: var(--fs-label);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  margin-bottom: var(--sp-xs);
}
.budget-card--highlight .budget-card__label { color: var(--text-inv-3); }
.budget-card__value {
  font-size: clamp(24px, 2.5vw, 36px);
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: 2px;
}
.budget-card--highlight .budget-card__value { color: var(--brand); }
.budget-card__sub {
  font-size: var(--fs-small);
  color: var(--text-secondary);
}
.budget-card--highlight .budget-card__sub { color: var(--text-inv-3); }

/* ─── COLLABORATION MODEL (timeline) ───────────────────────── */
.collab__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--sp-md);
  margin-bottom: var(--sp-md);
}
.collab-tl {
  display: grid;
  grid-template-columns: 140px 1fr 140px;
  gap: var(--sp-md);
  align-items: start;
  flex: 1;
}
.collab-tl__actor { text-align: center; }
.collab-tl__logo {
  width: 64px; height: 64px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto var(--sp-2xs);
}
.collab-tl__logo--sqy { background: var(--black); }
.collab-tl__logo--solvia { background: var(--bg-alt); border: 1px solid var(--border); }
.collab-tl__actor-label {
  font-size: var(--fs-body);
  font-weight: 500;
  margin-bottom: var(--sp-2xs);
}
.collab-tl__actor-tags { display: flex; flex-direction: column; gap: 4px; }
.collab-tl__tag {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
  padding: 5px 10px;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  text-align: center;
}
.collab-tl__tag--wide { width: 100%; }

/* Flow / timeline center column */
.collab-tl__flow {
  position: relative;
  padding: 0 var(--sp-sm);
}
.collab-tl__line {
  position: absolute;
  left: 26px;
  top: 12px;
  bottom: 12px;
  width: 2px;
  background: var(--border);
  z-index: 0;
}
.collab-tl__nodes {
  display: flex;
  flex-direction: column;
  gap: var(--sp-sm);
  position: relative; z-index: 1;
}
.collab-tl__node {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-xs);
}
.collab-tl__node-dot {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--brand);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 500;
  flex-shrink: 0;
}
.collab-tl__node-dot--dark { background: var(--black); }
.collab-tl__node-content { padding-top: 4px; }
.collab-tl__node-title {
  font-size: var(--fs-body);
  font-weight: 500;
  margin-bottom: 2px;
}
.collab-tl__node-desc {
  font-size: var(--fs-small);
  color: var(--text-secondary);
  line-height: 1.45;
}

/* ─── TOOLS / COMMUNICATION ───────────────────────────────── */
.tools__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-lg);
  flex: 1;
  align-content: center;
  margin-top: var(--sp-md);
}
.tools__col-title {
  font-size: clamp(16px, 1.4vw, 22px);
  font-weight: 500;
  margin-bottom: var(--sp-sm);
}
.tools__icons {
  display: flex; gap: 8px;
  margin-bottom: var(--sp-xs);
}
.tools__icon-placeholder {
  width: 44px; height: 44px;
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
}
.tools__stack-name {
  font-size: var(--fs-label);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: var(--sp-2xs);
}
.tools__stack-desc {
  font-size: var(--fs-small);
  color: var(--text-secondary);
  line-height: 1.55;
}

/* ─── DEMO SLIDE ────────────────────────────────────────────── */
.demo-slide__layout {
  display: flex;
  align-items: center;
  gap: clamp(24px, 3vw, 48px);
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  padding: calc(var(--nav-h) + var(--sp-sm)) clamp(24px, 3vw, 48px) var(--sp-sm);
  height: 100vh;
}
.demo-slide__left {
  flex: 0 0 clamp(320px, 38%, 520px);
  display: flex; flex-direction: column;
}
.demo-slide__title {
  font-size: clamp(26px, 3vw, 42px);
  font-weight: 500;
  color: var(--white);
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: var(--sp-2xs) 0 var(--sp-xs);
}
.demo-slide__desc {
  font-size: var(--fs-small);
  color: var(--text-inv-3);
  line-height: 1.55;
  margin-bottom: var(--sp-sm);
}
.demo-slide__features {
  display: flex; flex-direction: column; gap: 6px;
  margin-bottom: var(--sp-sm);
}
.demo-slide__features li {
  display: flex; align-items: center; gap: 8px;
  font-size: var(--fs-small);
  color: var(--text-inv-2);
  line-height: 1.45;
}
.demo-feature-dot {
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--brand);
  flex-shrink: 0;
}
.demo-slide__cta {
  display: inline-flex;
  align-items: center;
  height: 36px;
  padding: 0 18px;
  background: var(--brand);
  color: var(--white);
  font-size: 12px;
  font-weight: 500;
  border-radius: var(--r-full);
  transition: all 0.2s;
  align-self: flex-start;
}
.demo-slide__cta:hover { background: var(--brand-hover); transform: translateY(-1px); }
.demo-slide__right { flex: 1; min-width: 0; }
.demo-slide__browser {
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: 0 8px 48px rgba(0,0,0,0.5), 0 32px 80px rgba(0,0,0,0.3);
  border: 1px solid rgba(255,255,255,0.05);
}
.demo-slide__iframe {
  width: 100%;
  height: clamp(500px, 80vh, 860px);
  border: none;
  display: block;
  background: #f5f5f7;
}

/* Smaller frameless demo preview */
.demo-slide__preview {
  border-radius: var(--r-md);
  overflow: hidden;
  pointer-events: none;
  height: clamp(480px, 78vh, 720px);
}
.demo-slide__iframe--sm {
  width: 180%;
  height: 180%;
  border: none;
  display: block;
  background: #f5f5f7;
  transform: scale(0.62);
  transform-origin: top left;
  margin-top: -56px;
}

/* ─── SPLIT SLIDE (half light / half dark) ─────────────────── */
.slide--split {
  display: flex !important;
  flex-direction: row;
  height: 100vh;
}
.slide--split__left,
.slide--split__right {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--nav-h) + var(--sp-lg)) var(--pad-x) var(--sp-lg);
  position: relative;
  overflow: hidden;
}
.slide--split__left {
  background: var(--white);
  color: var(--text-primary);
}
.slide--split__right {
  background: var(--black);
  color: var(--white);
}
.slide--split__ghost {
  display: flex;
  flex-direction: column;
  gap: clamp(8px, 1.2vw, 18px);
  justify-content: center;
  align-items: center;
}
.slide--split__ghost-line {
  font-size: clamp(24px, 3vw, 48px);
  font-weight: 300;
  letter-spacing: -0.02em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,0.18);
  line-height: 1.15;
  text-align: center;
}
.slide--split__ghost-line--active {
  color: var(--white);
  -webkit-text-stroke: 0;
  font-weight: 500;
}

/* ─── CHAPTER DIVIDER (big number + title) ─────────────────── */
.slide--chapter {
  display: flex !important;
  align-items: center;
  justify-content: center;
  height: 100vh;
  background: var(--black);
  color: var(--white);
  position: relative;
}
.chapter__inner {
  display: flex;
  align-items: center;
  gap: clamp(32px, 5vw, 80px);
  max-width: var(--max-w);
  padding: 0 var(--pad-x);
}
.chapter__num {
  font-size: clamp(100px, 14vw, 220px);
  font-weight: 300;
  letter-spacing: -0.04em;
  line-height: 0.85;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--brand);
}
.chapter__text {
  display: flex;
  flex-direction: column;
  gap: var(--sp-xs);
}
.chapter__title {
  font-size: clamp(28px, 4vw, 64px);
  font-weight: 300;
  letter-spacing: -0.03em;
  line-height: 1.05;
}
.chapter__sub {
  font-size: var(--fs-body);
  color: var(--text-inv-3);
  max-width: 420px;
  line-height: 1.5;
}

/* ─── SECTION INTRO (lighter than chapter, no number) ────── */
.slide--section-intro {
  display: flex !important;
  align-items: center;
  justify-content: center;
  height: 100vh;
  background: var(--alt-bg, #f0f7f5);
  color: var(--black);
  position: relative;
}
[data-theme="teal"].slide--section-intro {
  background: linear-gradient(135deg, #0d4d4d 0%, #1a6b6b 100%);
  color: var(--white);
}
[data-theme="teal"].slide--section-intro .chapter__sub {
  color: rgba(255,255,255,0.6);
}
[data-theme="teal"].slide--section-intro .slide__watermark {
  color: var(--white);
}

[data-theme="dark"].slide--section-intro {
  justify-content: flex-start;
  padding-left: var(--pad-x);
}
[data-theme="dark"].slide--section-intro .chapter__inner {
  max-width: 60%;
}
[data-theme="dark"].slide--section-intro .slide__watermark {
  color: var(--white);
}

/* ─── PRESUPUESTO ──────────────────────────────────────────── */
.presupuesto__inner {
  justify-content: center;
  gap: 0;
}
.presupuesto__title {
  font-size: clamp(28px, 3.2vw, 48px);
  font-weight: 300;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-top: var(--sp-2xs);
}
.presupuesto__rule {
  border: none;
  border-top: 2px solid var(--white);
  width: 120px;
  margin: var(--sp-sm) 0;
  opacity: 0.25;
}
.presupuesto__block { margin-bottom: var(--sp-sm); }
.presupuesto__label {
  font-size: var(--fs-label);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-inv-3);
  margin-bottom: var(--sp-2xs);
}
.presupuesto__amount {
  font-size: clamp(48px, 7vw, 100px);
  font-weight: 300;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--white);
}
.presupuesto__unit {
  font-size: 0.45em;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--text-inv-3);
}
.presupuesto__detail {
  font-size: clamp(14px, 1.4vw, 20px);
  color: var(--text-inv-3);
  margin-top: var(--sp-2xs);
}
.presupuesto__strikethrough {
  text-decoration: line-through;
  font-weight: 500;
  color: var(--white);
}
.presupuesto__discount {
  color: var(--brand);
  font-style: italic;
  font-weight: 500;
  margin-left: var(--sp-2xs);
}
.presupuesto__total {
  font-size: clamp(18px, 2vw, 28px);
  font-weight: 400;
  color: var(--white);
  margin-bottom: auto;
}
.presupuesto__footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-top: var(--sp-md);
}
.presupuesto__footnote {
  font-size: var(--fs-label);
  color: var(--text-inv-3);
}
.presupuesto__confidential {
  font-size: var(--fs-label);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-inv-3);
}

/* ─── CLOSING ───────────────────────────────────────────────── */
.closing__inner {
  position: relative; z-index: 2;
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
  padding: 0 var(--pad-x);
}
.closing__text {
  font-size: clamp(28px, 3.8vw, 56px);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--white);
  max-width: 760px;
  margin-bottom: var(--sp-xl);
}
.closing__text em { color: var(--brand); }
.closing__contact {
  display: grid;
  grid-template-columns: repeat(3, auto) 1fr;
  gap: var(--sp-xl);
  align-items: center;
  padding-top: var(--sp-md);
  border-top: 1px solid rgba(255,255,255,0.08);
}
.closing__contact-label {
  font-size: var(--fs-label);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-inv-3);
  margin-bottom: 4px;
}
.closing__contact-value {
  font-size: var(--fs-body);
  color: rgba(255,255,255,0.75);
  font-weight: 500;
}
.closing__cta { display: flex; justify-content: flex-end; }
.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--brand);
  color: var(--white);
  font-weight: 500;
  font-size: 14px;
  padding: 10px 28px;
  border-radius: var(--r-full);
  transition: background 0.3s, transform 0.2s;
}
.btn-cta:hover { background: var(--brand-hover); transform: translateY(-2px); }
.btn-cta__arrow { font-size: 16px; }
.closing__brand,
.slide__watermark {
  position: absolute;
  bottom: var(--sp-lg);
  right: var(--pad-x);
  font-size: clamp(48px, 6vw, 96px);
  font-weight: 500;
  letter-spacing: -0.04em;
  color: rgba(255,255,255,0.06);
  pointer-events: none;
  user-select: none;
  z-index: 1;
}
.slide__watermark--logo {
  bottom: var(--sp-lg);
  right: var(--pad-x);
  font-size: 0;
}
.slide__watermark--logo img {
  height: clamp(32px, 3.5vw, 56px);
  opacity: 0.07;
  filter: brightness(10);
}
/* ─── SLIDE FOOTER (CONFIDENCIAL + page number) ───────────── */
.slide__footer {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--sp-sm) var(--pad-x);
  pointer-events: none;
  user-select: none;
  z-index: 5;
}
.slide__footer-logo {
  height: clamp(18px, 1.8vw, 28px);
  opacity: 1;
}
/* Dark slides: invert the logo */
section[data-theme="dark"] .slide__footer-logo {
  filter: brightness(10);
  opacity: 1;
}
.slide__footer-meta {
  font-family: var(--font);
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-tertiary);
}
section[data-theme="dark"] .slide__footer-meta {
  color: rgba(255,255,255,0.35);
}
.slide__footer-num {
  margin-left: 0.6em;
  font-weight: 400;
}
.slide__footer-dot {
  margin-left: 0.4em;
}

/* closing circles removed — using photo overlays */

/* ─── LOADER ────────────────────────────────────────────────── */
.page-loader {
  position: fixed; inset: 0;
  background: var(--black);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease, visibility 0.5s;
}
.page-loader.hidden {
  opacity: 0; visibility: hidden; pointer-events: none;
}
.page-loader__inner {
  display: flex; flex-direction: column;
  align-items: center; gap: 20px;
}
.page-loader__logo {
  display: flex; align-items: center;
  gap: 12px; font-size: 0;
}
.loader__logo-sqy    { height: 26px; width: auto; filter: brightness(0) invert(1); }
.loader__logo-solvia { height: 20px; width: auto; }
.loader__sep         { font-size: 14px; font-weight: 300; color: rgba(255,255,255,0.25); }
.page-loader__bar-wrap {
  width: 180px; height: 2px;
  background: rgba(255,255,255,0.08);
  border-radius: 2px; overflow: hidden;
}
.page-loader__bar {
  height: 100%;
  background: var(--brand);
  width: 0%;
  transition: width 0.7s var(--ease);
}

/* ─── CASO SLIDER OVERLAY ──────────────────────────────────── */
.caso-slider {
  position: fixed;
  bottom: 64px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 16px;
  z-index: 900;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}
.caso-slider.is-visible {
  opacity: 1;
  pointer-events: auto;
}
.caso-slider__arrow {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, opacity 0.2s;
  padding: 0;
}
.caso-slider__arrow:hover {
  border-color: var(--text-secondary);
  background: var(--surface);
}
.caso-slider__arrow:disabled {
  opacity: 0.25;
  cursor: default;
}
.caso-slider__dots {
  display: flex;
  align-items: center;
  gap: 8px;
}
.caso-slider__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--border);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background 0.25s, transform 0.25s;
}
.caso-slider__dot:hover {
  background: var(--text-tertiary);
}
.caso-slider__dot.is-active {
  background: var(--brand);
  transform: scale(1.3);
}

/* ============================================================
   GEO + MCP — Componentes específicos del pitch
   ============================================================ */

/* ─── CHAIN (cadena de captación) ─────────────────────────── */
.chain-layout {
  display: grid !important;
  grid-template-columns: 1fr;
  align-content: center;
  gap: var(--sp-md);
  padding-top: var(--nav-h);
  padding-bottom: var(--nav-h);
}
.chain-layout__header { max-width: 760px; }
.chain-layout__header h2 { margin-top: var(--sp-2xs); }
.chain-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-sm);
  align-items: stretch;
  margin-top: var(--sp-md);
}
.chain-step {
  position: relative;
  padding: var(--sp-md) var(--sp-sm) var(--sp-sm);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  display: flex;
  flex-direction: column;
  gap: var(--sp-xs);
}
.chain-step__num {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand);
}
.chain-step__title {
  font-size: clamp(18px, 1.8vw, 26px);
  font-weight: 600;
  letter-spacing: -0.02em;
}
.chain-step__text {
  font-size: var(--fs-small);
  color: var(--text-secondary);
  line-height: 1.55;
}
.chain-step__arrow {
  position: absolute;
  top: 50%;
  right: -18px;
  transform: translateY(-50%);
  z-index: 2;
  color: var(--brand);
  font-size: 18px;
  font-weight: 300;
  background: var(--bg-alt);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
}
.chain-step:last-child .chain-step__arrow { display: none; }
.chain-coda {
  margin-top: var(--sp-sm);
  font-size: var(--fs-body);
  color: var(--text-secondary);
  border-left: 2px solid var(--brand);
  padding-left: var(--sp-sm);
  max-width: 760px;
}

/* ─── STATS GRID (los datos) ──────────────────────────────── */
.stats-layout {
  display: grid !important;
  grid-template-columns: 1fr;
  align-content: center;
  gap: var(--sp-md);
  padding-top: var(--nav-h);
  padding-bottom: var(--nav-h);
}
.stats-layout__header { max-width: 760px; }
.stats-layout__header h2 { margin-top: var(--sp-2xs); }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-md);
  margin-top: var(--sp-sm);
}
.stat-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: var(--sp-md) var(--sp-sm);
  display: flex;
  flex-direction: column;
  gap: var(--sp-2xs);
}
.stat-card__num {
  font-size: clamp(28px, 3.2vw, 48px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--text-primary);
}
.stat-card__num em {
  color: var(--brand);
  font-style: normal;
}
.stat-card__label {
  font-size: var(--fs-small);
  color: var(--text-secondary);
  line-height: 1.45;
  margin-top: var(--sp-xs);
}
.stat-card__source {
  font-size: 11px;
  color: var(--text-tertiary);
  letter-spacing: 0.04em;
  margin-top: auto;
  padding-top: var(--sp-xs);
}
.stats-footer {
  font-size: var(--fs-label);
  color: var(--text-tertiary);
  letter-spacing: 0.04em;
  margin-top: var(--sp-sm);
}

/* ─── FASES OVERVIEW (servicio tres fases) ────────────────── */
.fases-layout {
  display: grid !important;
  grid-template-columns: 1fr;
  align-content: center;
  gap: var(--sp-md);
  padding-top: var(--nav-h);
  padding-bottom: var(--nav-h);
}
.fases-layout__header { max-width: 760px; }
.fases-layout__header h2 { margin-top: var(--sp-2xs); }
.fases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-md);
  margin-top: var(--sp-md);
}
.fase-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: var(--sp-md) var(--sp-md);
  display: flex;
  flex-direction: column;
  gap: var(--sp-xs);
  position: relative;
  overflow: hidden;
}
.fase-card--featured {
  border: 1px solid var(--brand);
  background: var(--brand-light);
}
.fase-card__tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand);
  align-self: flex-start;
  padding: 4px 10px;
  border: 1px solid var(--brand-border);
  background: var(--white);
  border-radius: var(--r-full);
}
.fase-card__num {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand);
}
.fase-card__title {
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.fase-card__sub {
  font-size: var(--fs-small);
  color: var(--text-secondary);
  line-height: 1.55;
}
.fase-card__bullets {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: var(--sp-xs);
}
.fase-card__bullets li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.4;
}
.fase-card__bullets li::before {
  content: '';
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--brand);
  margin-top: 7px;
  flex-shrink: 0;
}
.fase-card__meta {
  margin-top: auto;
  padding-top: var(--sp-sm);
  font-size: var(--fs-label);
  color: var(--text-tertiary);
  letter-spacing: 0.04em;
}
.fase-card__meta strong { color: var(--text-primary); font-weight: 600; }

/* ─── PILLARS GRID (Fase A) ───────────────────────────────── */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--sp-sm);
  margin-top: var(--sp-md);
}
.pillar-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: var(--sp-md) var(--sp-sm);
  display: flex;
  flex-direction: column;
  gap: var(--sp-xs);
}
.pillar-card__num {
  font-size: clamp(20px, 1.8vw, 28px);
  font-weight: 600;
  color: var(--border);
  letter-spacing: -0.04em;
  line-height: 1;
}
.pillar-card__title {
  font-size: var(--fs-h3);
  font-weight: 600;
  line-height: 1.25;
}
.pillar-card__text {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
}
.fase-meta-row {
  margin-top: var(--sp-md);
  display: flex;
  gap: var(--sp-md);
  font-size: var(--fs-small);
  color: var(--text-secondary);
  border-top: 1px solid var(--border);
  padding-top: var(--sp-sm);
}
.fase-meta-row strong { color: var(--text-primary); font-weight: 600; }

/* ─── DUAL B1/B2 ──────────────────────────────────────────── */
.dual-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-md);
  margin-top: var(--sp-md);
}
.dual-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: var(--sp-md);
  display: flex;
  flex-direction: column;
  gap: var(--sp-xs);
}
.dual-card--featured {
  border: 1px solid var(--brand);
  background: var(--brand-light);
}
.dual-card__tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand);
  align-self: flex-start;
  padding: 4px 10px;
  background: var(--white);
  border: 1px solid var(--brand-border);
  border-radius: var(--r-full);
}
.dual-card__name {
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-top: var(--sp-2xs);
}
.dual-card__sub {
  font-size: var(--fs-small);
  color: var(--text-secondary);
  line-height: 1.55;
}
.dual-card__list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: var(--sp-xs);
}
.dual-card__list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.45;
}
.dual-card__list li::before {
  content: '';
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--brand);
  margin-top: 7px;
  flex-shrink: 0;
}
.dual-card__meta {
  margin-top: auto;
  padding-top: var(--sp-sm);
  font-size: var(--fs-label);
  color: var(--text-tertiary);
  letter-spacing: 0.04em;
}
.dual-card__meta strong { color: var(--text-primary); font-weight: 600; }
.dual-coda {
  margin-top: var(--sp-md);
  font-size: var(--fs-small);
  color: var(--text-secondary);
  border-left: 2px solid var(--brand);
  padding-left: var(--sp-sm);
  max-width: 800px;
}

/* ═══ FASE B · VISIÓN (B2 + mockup móvil) ═══ */
/* La card B2 reutiliza .dual-card en el mismo .dual-grid de P9 → mismo tamaño y posición */
.vision-card {
  animation: vision-card-in 0.85s var(--ease) both;
  opacity: 0;
}
#fase-b-vision.slide--active .vision-card { opacity: 1; }
@keyframes vision-card-in {
  from { transform: translateX(calc(100% + var(--sp-md))); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* Mockup móvil — ocupa la columna derecha del dual-grid, centrado */
.phone-mockup {
  display: flex;
  align-items: center;
  justify-content: center;
  animation: vision-phone-in 0.95s var(--ease) 0.15s both;
  opacity: 0;
}
#fase-b-vision.slide--active .phone-mockup { opacity: 1; }
@keyframes vision-phone-in {
  from { transform: translateX(80%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}
/* P9b · dos columnas COMPLETAMENTE INDEPENDIENTES dentro de un slide 100vh */
.vision-split {
  position: relative;
  width: 100%;
  height: 100vh;
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
}
.vision-left {
  /* Replica el comportamiento de .slide__inner para que el bloque título+card
     quede centrado vertical en su mitad — exactamente como en P9 */
  padding: calc(var(--nav-h) + var(--sp-xl)) var(--pad-x) var(--sp-lg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--sp-md);
  min-width: 0;
  min-height: 0;
  overflow: hidden;
}
.vision-right {
  padding: var(--sp-lg) var(--pad-x) var(--sp-lg) 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
}
.phone-mockup {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.phone-mockup__frame {
  height: 75%;
  max-height: 100%;
  aspect-ratio: 9 / 19.5;
  background: #1a1a1a;
  border-radius: 38px;
  padding: 8px;
  box-shadow:
    0 16px 60px rgba(0,0,0,0.18),
    0 6px 20px rgba(0,0,0,0.08);
  position: relative;
}
.phone-mockup__frame::before {
  /* Notch sutil */
  content: '';
  position: absolute;
  top: 14px; left: 50%;
  transform: translateX(-50%);
  width: 80px; height: 22px;
  background: #1a1a1a;
  border-radius: 14px;
  z-index: 2;
}
.phone-mockup__screen {
  width: 100%;
  height: 100%;
  background: var(--white);
  border-radius: 30px;
  overflow: hidden;
  position: relative;
}

/* ═══ CHAT — App in ChatGPT mockup ═══ */
.chat {
  width: 100%; height: 100%;
  display: flex;
  flex-direction: column;
  font-size: 13px;
  line-height: 1.45;
  color: #0d0d0d;
  background: #ffffff;
}
.chat__statusbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px 4px;
  font-size: 10px;
  font-weight: 600;
  color: #0d0d0d;
  letter-spacing: 0.02em;
}
.chat__status-icons {
  font-size: 6px;
  letter-spacing: 1px;
  opacity: 0.6;
}
.chat__header {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px 8px;
  font-size: 12px;
  color: #0d0d0d;
  border-bottom: 1px solid #f0f0f0;
}
.chat__header__menu, .chat__header__actions {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #0d0d0d;
  opacity: 0.55;
  flex-shrink: 0;
}
.chat__header__menu svg, .chat__header__actions svg { fill: currentColor; }
.chat__header__title {
  flex: 1;
  text-align: center;
  font-weight: 600;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}
/* Default mode */
.chat__header__title-default {
  display: inline-flex;
  align-items: center;
}
.chat__header__title-advisor {
  display: none;
  align-items: center;
  gap: 5px;
}
/* Advisor mode — activado por la clase chat__header--advisor */
.chat__header--advisor .chat__header__title-default { display: none; }
.chat__header--advisor .chat__header__title-advisor { display: inline-flex; }
.chat__header__avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px; height: 18px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}
.chat__header__avatar img { width: 100%; height: 100%; display: block; object-fit: cover; }
/* Status bar icons */
.chat__si { fill: #0d0d0d; vertical-align: middle; }
.chat__si--wifi path { fill: #0d0d0d; }
.chat__si--battery rect[fill="none"] { stroke: #0d0d0d; }
.chat__status-icons {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.chat__feed {
  flex: 1;
  overflow-y: auto;
  scroll-behavior: smooth;
  padding: 10px 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.chat__feed::-webkit-scrollbar { width: 0; height: 0; }

/* Mensajes — base oculta, .chat-msg--visible los muestra · cada palabra se anima individualmente */
.chat-msg {
  pointer-events: none;
  display: none;
}
.chat-msg--visible {
  pointer-events: auto;
  display: block;
}
.chat-msg--pending { display: none !important; } /* mientras hay spinner */

/* Word reveal — typing animation */
.chat-msg .word {
  opacity: 0;
  display: inline-block;
  transition: opacity 0.18s ease;
}
.chat-msg .word--shown { opacity: 1; }

/* Spinner de respuesta */
.chat-spinner {
  display: flex;
  gap: 5px;
  align-self: flex-start;
  padding: 10px 14px;
  background: #f4f4f4;
  border-radius: 16px;
  width: fit-content;
}
.chat-spinner span {
  width: 7px; height: 7px;
  background: #767676;
  border-radius: 50%;
  animation: chat-spinner-dot 1.2s infinite;
}
.chat-spinner span:nth-child(2) { animation-delay: 0.15s; }
.chat-spinner span:nth-child(3) { animation-delay: 0.3s; }
@keyframes chat-spinner-dot {
  0%, 80%, 100% { opacity: 0.3; transform: scale(1); }
  40%          { opacity: 1;   transform: scale(1.3); }
}

/* Bloques tipográficos del mensaje del bot */
.chat-msg__thought {
  font-size: 12px;
  color: #767676;
  margin-bottom: 10px;
  display: block;
}
.chat-msg__h {
  font-size: 14px;
  font-weight: 700;
  margin: 14px 0 6px;
  color: #0d0d0d;
  line-height: 1.3;
}
.chat-msg p { margin-bottom: 9px; }
.chat-msg p:last-child { margin-bottom: 0; }
.chat-msg a {
  color: #2563eb;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.chat-msg a:hover { color: #1d4ed8; }
.chat-msg__chip {
  display: inline-flex;
  align-items: center;
  margin: 0 2px;
  padding: 1px 6px;
  background: #ececf1;
  border-radius: 4px;
  font-size: 11px;
  color: #555;
}
.chat-msg--user {
  align-self: flex-end;
  max-width: 86%;
  background: #f4f4f4;
  border-radius: 16px;
  padding: 8px 12px;
  font-size: 13px;
  color: #0d0d0d;
}
.chat-msg--user.chat-msg--visible { display: inline-block; }

.chat-msg--bot, .chat-msg--advisor {
  align-self: stretch;
  max-width: 100%;
  font-size: 13px;
  color: #0d0d0d;
  padding: 0 2px;
}
.chat-msg--bot.chat-msg--visible,
.chat-msg--advisor.chat-msg--visible { display: block; }

/* Listas con markers ocultos hasta que el contenido esté revelado */
.chat-list, .chat-list-num {
  margin: 6px 0 0;
  padding-left: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.chat-list-num { counter-reset: chat-num; }
.chat-list li, .chat-list-num li {
  position: relative;
  padding-left: 18px;
  font-size: 12.5px;
  line-height: 1.5;
}
.chat-list li::before {
  content: '•';
  position: absolute;
  left: 4px;
  top: 0;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.chat-list-num li {
  padding-left: 22px;
  counter-increment: chat-num;
}
.chat-list-num li::before {
  content: counter(chat-num) '.';
  position: absolute;
  left: 0;
  top: 0;
  opacity: 0;
  font-weight: 600;
  transition: opacity 0.2s ease;
}
/* Mostrar el marker solo cuando alguna palabra del item está revelada */
.chat-list li:has(.word--shown)::before,
.chat-list-num li:has(.word--shown)::before { opacity: 1; }
.chat-list em { font-style: normal; color: #555; }

/* App card — momento "Apps in ChatGPT" */
.app-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid #e8e8e8;
  border-radius: 14px;
  background: #fafafa;
  margin-top: 2px;
}
.app-card__icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
}
.app-card__icon img {
  width: 100%; height: 100%;
  display: block;
  object-fit: cover;
}
.app-card__title { font-size: 12px; font-weight: 600; color: #0d0d0d; line-height: 1.2; }
.app-card__sub { font-size: 10px; color: #767676; margin-top: 2px; }

/* Tag IE Advisor in-message — oculta porque el header se ocupa de marcar el modo advisor */
.advisor-tag { display: none; }

/* Formulario embebido */
.ie-form {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 10px 12px;
  border: 1px solid #e8e8e8;
  border-radius: 14px;
  background: #ffffff;
  margin-top: 2px;
}
.ie-form__field {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.ie-form__field label {
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #767676;
}
.ie-form__field input {
  font-size: 10.5px;
  font-family: inherit;
  border: none;
  border-bottom: 1px solid #e8e8e8;
  padding: 4px 0;
  background: transparent;
  color: #0d0d0d;
  outline: none;
}
.ie-form__field input[readonly] { color: #0d0d0d; }
.ie-form__submit {
  margin-top: 6px;
  padding: 8px 10px;
  background: var(--brand);
  color: #ffffff;
  font-size: 10.5px;
  font-weight: 600;
  border-radius: 10px;
  cursor: pointer;
  letter-spacing: 0.02em;
}

/* Confirmación final con check */
.chat-check {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 8px 10px;
  background: rgba(132, 195, 111, 0.1);
  border-radius: 10px;
  font-size: 10.5px;
  line-height: 1.45;
  color: #0d0d0d;
}
.chat-check__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: #84c36f;
  color: #ffffff;
  font-size: 9px;
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ─── DISCOVERY 4 ROUTES ──────────────────────────────────── */
.routes-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-sm);
  margin-top: var(--sp-md);
}
.route-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: var(--sp-md) var(--sp-sm);
  display: flex;
  flex-direction: column;
  gap: var(--sp-xs);
  position: relative;
}
.route-card__letter {
  font-size: clamp(22px, 2vw, 32px);
  font-weight: 500;
  color: var(--brand);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: var(--sp-2xs);
}
.route-card__title {
  font-size: var(--fs-h3);
  font-weight: 600;
  line-height: 1.25;
  margin-top: var(--sp-2xs);
}
.route-card__text {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
}
.route-card__meta {
  margin-top: auto;
  padding-top: var(--sp-sm);
  font-size: 11px;
  color: var(--text-tertiary);
  letter-spacing: 0.04em;
}

/* ─── FUNNEL ─────────────────────────────────────────────── */
.funnel {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  align-items: stretch;
  margin-top: var(--sp-md);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--white);
}
.funnel-step {
  padding: var(--sp-md) var(--sp-sm);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: var(--sp-2xs);
  position: relative;
  background: linear-gradient(180deg, var(--white) 0%, var(--bg-alt) 100%);
}
.funnel-step:last-child { border-right: none; }
.funnel-step__num {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand);
}
.funnel-step__title {
  font-size: clamp(15px, 1.3vw, 18px);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.funnel-step__metric {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.45;
  margin-top: 4px;
}
.funnel-coda {
  display: flex;
  gap: var(--sp-md);
  margin-top: var(--sp-md);
  padding-top: var(--sp-sm);
  border-top: 1px solid var(--border);
  font-size: var(--fs-small);
  color: var(--text-secondary);
}
.funnel-coda strong { color: var(--text-primary); font-weight: 600; }

/* ─── PROTECTION (mitigaciones de marca) ──────────────────── */
.protection-layout {
  display: grid !important;
  grid-template-columns: 1fr 1.4fr;
  gap: var(--sp-xl);
  align-items: center;
  align-content: center;
  padding-top: var(--nav-h);
  padding-bottom: var(--nav-h);
}
.protection-layout__left h2 { color: var(--white); margin-top: var(--sp-2xs); }
.protection-layout__lead {
  margin-top: var(--sp-sm);
  font-size: var(--fs-body);
  color: var(--text-inv-2);
  line-height: 1.55;
  border-left: 2px solid var(--brand);
  padding-left: var(--sp-sm);
}
.protection-list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-sm);
}
.protection-item {
  display: flex;
  gap: var(--sp-sm);
  padding-bottom: var(--sp-sm);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.protection-item:last-child { border-bottom: none; padding-bottom: 0; }
.protection-item__num {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--brand);
  min-width: 32px;
  padding-top: 4px;
}
.protection-item__body { flex: 1; }
.protection-item__title {
  font-size: clamp(15px, 1.2vw, 18px);
  font-weight: 600;
  color: var(--white);
  margin-bottom: 4px;
}
.protection-item__text {
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  line-height: 1.5;
}

/* ─── FASE C ─────────────────────────────────────────────── */
.fase-c-layout {
  display: grid !important;
  grid-template-columns: 1fr;
  align-content: center;
  gap: var(--sp-md);
  padding-top: var(--nav-h);
  padding-bottom: var(--nav-h);
}
.fase-c-layout__header { max-width: 800px; }
.fase-c-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-sm);
  margin-top: var(--sp-md);
}
.fase-c-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: var(--sp-md) var(--sp-sm);
  display: flex;
  flex-direction: column;
  gap: var(--sp-xs);
}
.fase-c-card__icon {
  width: 32px;
  height: 32px;
  border-radius: var(--r-sm);
  background: var(--brand-light);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
}
.fase-c-card__title {
  font-size: var(--fs-h3);
  font-weight: 600;
  line-height: 1.25;
  margin-top: var(--sp-2xs);
}
.fase-c-card__text {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ─── NEXT STEP (cierre/CTA) ──────────────────────────────── */
.next-layout {
  display: flex !important;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: var(--sp-md);
  padding-top: var(--nav-h);
  padding-bottom: var(--nav-h);
  max-width: 1100px;
  margin: 0 auto;
  height: 100vh;
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
  width: 100%;
}
.next-layout__eyebrow { color: var(--brand); }
.next-layout__title {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--white);
}
.next-layout__title em { color: var(--brand); font-style: normal; }
.next-layout__sub {
  font-size: clamp(16px, 1.4vw, 22px);
  color: var(--text-inv-2);
  font-weight: 400;
  line-height: 1.45;
  max-width: 720px;
}
.next-layout__cta-row {
  display: flex;
  align-items: center;
  gap: var(--sp-md);
  margin-top: var(--sp-md);
}
.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 48px;
  padding: 0 28px;
  background: var(--brand);
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: var(--r-full);
  transition: all 0.2s;
}
.btn-cta:hover { background: var(--brand-hover); transform: translateY(-1px); }
.btn-cta__arrow { font-weight: 300; }
.btn-cta--ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.25);
}
.btn-cta--ghost:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.4);
}

/* ─── INSIGHT (slide del nuevo punto de captura) ──────────── */
.insight-layout {
  display: grid !important;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-xl);
  align-items: center;
  align-content: center;
  padding-top: var(--nav-h);
  padding-bottom: var(--nav-h);
}
.insight-layout__left h2 { margin-top: var(--sp-2xs); }
.insight-layout__lead {
  margin-top: var(--sp-sm);
  font-size: var(--fs-body);
  color: var(--text-secondary);
  line-height: 1.55;
}
.insight-flow {
  display: flex;
  flex-direction: column;
  gap: var(--sp-sm);
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: var(--sp-md);
}
.insight-flow__row {
  display: flex;
  align-items: center;
  gap: var(--sp-sm);
}
.insight-flow__icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-weight: 700;
  color: var(--brand);
}
.insight-flow__body {
  flex: 1;
}
.insight-flow__label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-tertiary);
}
.insight-flow__text {
  font-size: var(--fs-small);
  color: var(--text-primary);
  line-height: 1.4;
}
.insight-flow__connector {
  width: 1px;
  height: 14px;
  background: var(--border);
  margin-left: 19px;
}

/* ─── MCP EXPLAINER (intermezzo: ¿qué es un MCP?) ─────────── */
/* Slide oscura con grid de blueprint + halo magenta para
   romper visualmente con el bloque de fases (todas en blanco). */
#que-es-mcp {
  background:
    radial-gradient(80% 60% at 85% -10%, rgba(250,0,103,0.18) 0%, transparent 60%),
    radial-gradient(60% 50% at -10% 110%, rgba(185,185,237,0.10) 0%, transparent 60%),
    var(--black);
  color: var(--text-inverted);
  position: relative;
  overflow: hidden;
}
.mcp-explainer__bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  background-position: -1px -1px;
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 50%, #000 35%, transparent 95%);
          mask-image: radial-gradient(ellipse 90% 70% at 50% 50%, #000 35%, transparent 95%);
  pointer-events: none;
  z-index: 0;
}
.mcp-explainer {
  display: flex !important;
  flex-direction: column;
  gap: var(--sp-md);
  position: relative;
  z-index: 1;
  padding-top: calc(var(--nav-h) + var(--sp-lg));
  padding-bottom: var(--sp-lg);
}
.mcp-explainer__head { max-width: 920px; }
.mcp-explainer__eyebrow {
  color: var(--text-inv-3);
  font-weight: 600;
}
.mcp-explainer__title {
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.05;
  color: var(--white);
  margin-top: var(--sp-2xs);
}
.mcp-explainer__title em {
  color: var(--brand);
  font-style: normal;
}
.mcp-explainer__lede {
  font-size: clamp(15px, 1.2vw, 19px);
  color: var(--text-inv-2);
  line-height: 1.5;
  margin-top: var(--sp-sm);
  max-width: 720px;
}
.mcp-stack {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: var(--sp-xs);
  margin-top: var(--sp-sm);
  align-items: stretch;
}
.mcp-stack__connector {
  align-self: center;
  font-size: 22px;
  font-weight: 200;
  color: var(--brand);
  opacity: 0.65;
  padding: 0 var(--sp-2xs);
}
.mcp-layer {
  position: relative;
  padding: var(--sp-md);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--r-md);
  display: flex;
  gap: var(--sp-sm);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease), transform 0.3s var(--ease);
}
.mcp-layer:hover {
  border-color: rgba(250,0,103,0.45);
  background: rgba(250,0,103,0.06);
  transform: translateY(-2px);
}
.mcp-layer__num {
  font-size: 32px;
  font-weight: 200;
  color: var(--brand);
  line-height: 1;
  flex-shrink: 0;
  letter-spacing: -0.02em;
  font-feature-settings: "tnum";
}
.mcp-layer__body { flex: 1; min-width: 0; }
.mcp-layer__kicker {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-inv-3);
  margin-bottom: var(--sp-2xs);
}
.mcp-layer__title {
  font-size: clamp(15px, 1.25vw, 19px);
  font-weight: 600;
  color: var(--white);
  line-height: 1.25;
  margin-bottom: var(--sp-2xs);
}
.mcp-layer__title span {
  font-weight: 300;
  color: var(--text-inv-2);
  letter-spacing: 0;
}
.mcp-layer__alias {
  font-size: 11px;
  color: var(--text-inv-3);
  line-height: 1.45;
  margin-bottom: var(--sp-xs);
  font-style: normal;
}
.mcp-layer__alias em {
  color: var(--text-inv-2);
  font-style: normal;
  font-weight: 500;
}
.mcp-layer__text {
  font-size: 13px;
  color: var(--text-inv-2);
  line-height: 1.55;
}
.mcp-layer__text strong {
  color: var(--white);
  font-weight: 600;
}
.mcp-explainer__foot {
  display: flex;
  align-items: center;
  gap: var(--sp-sm);
  flex-wrap: wrap;
  padding-top: var(--sp-sm);
  border-top: 1px solid rgba(255,255,255,0.10);
  margin-top: var(--sp-sm);
}
.mcp-explainer__foot-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-inv-3);
}
.mcp-chip {
  font-size: 12px;
  font-weight: 500;
  color: var(--white);
  padding: 6px 14px;
  border-radius: var(--r-full);
  background: rgba(250,0,103,0.14);
  border: 1px solid rgba(250,0,103,0.32);
  white-space: nowrap;
}
.mcp-chip--ghost {
  background: transparent;
  border-color: rgba(255,255,255,0.18);
  color: var(--text-inv-2);
}
.mcp-explainer__foot-coda {
  font-size: 12px;
  color: var(--text-inv-2);
  margin-left: auto;
  font-style: italic;
}
.mcp-explainer__foot-coda strong {
  color: var(--white);
  font-weight: 600;
  font-style: normal;
}

@media (max-width: 980px) {
  .mcp-stack {
    grid-template-columns: 1fr;
    gap: var(--sp-sm);
  }
  .mcp-stack__connector {
    transform: rotate(90deg);
    justify-self: start;
    padding: 0;
  }
  .mcp-explainer__foot-coda { margin-left: 0; width: 100%; }
}

/* ─── METRICS TABLE (medición · 6 eslabones) ──────────────── */
.metrics-table {
  width: 100%;
  border-collapse: collapse;
  font-size: clamp(12px, 1vw, 14px);
  margin-top: var(--sp-xs);
  table-layout: fixed;
}
.metrics-table thead th {
  text-align: left;
  padding: var(--sp-xs) var(--sp-sm);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  border-bottom: 1px solid var(--border-strong);
  vertical-align: bottom;
}
.metrics-table tbody td {
  padding: var(--sp-sm);
  vertical-align: top;
  border-bottom: 1px solid var(--border);
  line-height: 1.5;
  color: var(--text-primary);
}
.metrics-table tbody tr:last-child td {
  border-bottom: none;
}
.metrics-table tbody tr {
  transition: background 0.2s var(--ease);
}
.metrics-table tbody tr:hover {
  background: var(--bg-alt);
}
.metrics-table__num {
  color: var(--brand);
  font-weight: 500;
  font-size: 13px;
  font-feature-settings: "tnum";
  letter-spacing: 0.04em;
}
.metrics-table tbody td strong {
  font-weight: 600;
  color: var(--text-primary);
}
.metrics-table code {
  font-family: ui-monospace, "SF Mono", SFMono-Regular, Menlo, monospace;
  font-size: 0.85em;
  background: var(--bg-alt);
  padding: 1px 5px;
  border-radius: 4px;
  color: var(--text-secondary);
  white-space: nowrap;
}

