/* ================================================================
   Portfolio Review — Romina Ideses
   Dark cinematic, Apple Pro-style landing
   ================================================================ */

:root {
  --bg: #07080A;
  --bg-1: #0B0C0F;
  --bg-2: #101217;
  --bg-3: #15181F;
  --fg: #F4F5F7;
  --fg-dim: #A7ABB5;
  --fg-mute: #6B6F79;
  --fg-ghost: #3A3D45;
  --line: rgba(255,255,255,0.07);
  --line-strong: rgba(255,255,255,0.14);
  --accent: #8A6BFF;
  --accent-soft: rgba(138, 107, 255, 0.22);
  --accent-glow: rgba(138, 107, 255, 0.45);
  --warn: oklch(0.78 0.14 60);
  --good: oklch(0.78 0.14 150);

  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Helvetica Neue', sans-serif;
  --mono: 'SF Mono', 'JetBrains Mono', ui-monospace, 'Menlo', monospace;

  --max: 1200px;
  --gutter: clamp(20px, 4vw, 48px);

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

html, body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  min-height: 100vh;
  letter-spacing: -0.01em;
  overflow-x: clip; /* clip no crea scroll container — no rompe position:sticky */
}

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

a { color: inherit; text-decoration: none; }

img, video { max-width: 100%; display: block; }

/* ===== Grain overlay ===== */
.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 9;
  opacity: 0.035;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/></svg>");
}

/* ===== Custom cursor · violet dot (native) ===== */
html {
  cursor: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'><circle cx='16' cy='16' r='10' fill='%238A6BFF'/></svg>") 16 16, auto;
}
a, button, [role="button"], .sidenav button, video, .pillar, .exp-card, .dec-video, .dec-crop, label, summary {
  cursor: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'><circle cx='16' cy='16' r='15' fill='%238A6BFF' fill-opacity='0.4'/><circle cx='16' cy='16' r='10' fill='%238A6BFF'/></svg>") 16 16, pointer;
}

/* ===== Vignette ===== */
.vignette {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 8;
  background: radial-gradient(ellipse at center, transparent 40%, rgba(0,0,0,0.55) 100%);
  mix-blend-mode: multiply;
}

/* ===== Nav ===== */
.topnav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 18px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(180deg, rgba(7,8,10,0.75), rgba(7,8,10,0));
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  transition: background .4s var(--ease-out);
}
.topnav.solid {
  background: rgba(7,8,10,0.82);
  border-bottom: 1px solid var(--line);
}
.topnav .brand {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-dim);
  display: flex;
  align-items: center;
  gap: 10px;
}
.topnav .brand .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent-glow);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}
.topnav .meta {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-mute);
}
.topnav-links {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.topnav-sep { color: var(--fg-ghost); }
.topnav-link {
  color: var(--fg-dim);
  transition: color .2s var(--ease-out);
  position: relative;
}
.topnav-link::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -3px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .3s var(--ease-out);
}
.topnav-link:hover { color: #fff; }
.topnav-link:hover::after { transform: scaleX(1); }

/* ===== Side progress nav ===== */
.sidenav {
  position: fixed;
  right: 28px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 40;
  display: flex;
  flex-direction: column;
  gap: 18px;
  mix-blend-mode: difference;
}
.sidenav button {
  all: unset;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.55);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color .3s var(--ease-out);
  position: relative;
}
.sidenav button .bar {
  width: 18px;
  height: 1px;
  background: rgba(255, 255, 255, 0.45);
  transition: all .45s var(--ease-out);
}
.sidenav button .label {
  opacity: 0;
  transform: translateX(-6px);
  transition: all .35s var(--ease-out);
  white-space: nowrap;
}
.sidenav button:hover {
  color: #fff;
}
.sidenav button:hover .bar { width: 32px; background: rgba(255, 255, 255, 0.85); }
.sidenav button:hover .label { opacity: 1; transform: translateX(0); }
.sidenav button.active { color: #fff; }
.sidenav button.active .bar {
  width: 40px;
  background: #fff;
}
.sidenav button.active .label { opacity: 1; transform: translateX(0); }

@media (max-width: 820px) { .sidenav { display: none; } }

/* ===== Sections ===== */
section {
  position: relative;
  width: 100%;
}

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* Eyebrow */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-mute);
  white-space: nowrap;
  margin-bottom: 20px;
}
.eyebrow::before {
  content: '';
  width: 36px; height: 1px;
  background: var(--fg-ghost);
  flex-shrink: 0;
}
.eyebrow.accent { color: var(--accent); }
.eyebrow.accent::before { background: var(--accent); box-shadow: 0 0 8px var(--accent-glow); }

/* Hero eyebrow — pill on top of video */
.eyebrow.hero-eyebrow {
  color: #fff;
  padding: 10px 18px 10px 14px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(12px) saturate(1.4);
  -webkit-backdrop-filter: blur(12px) saturate(1.4);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
  margin-bottom: 0;
}
.eyebrow.hero-eyebrow::before {
  display: none;
}

/* Type scales */
.display-xl {
  font-size: clamp(44px, 8vw, 104px);
  line-height: 0.98;
  letter-spacing: -0.04em;
  font-weight: 500;
}
.display-l {
  font-size: clamp(36px, 5.4vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-weight: 500;
}
.display-m {
  font-size: clamp(28px, 3.4vw, 48px);
  line-height: 1.08;
  letter-spacing: -0.025em;
  font-weight: 500;
}
.body-l {
  font-size: clamp(17px, 1.5vw, 22px);
  line-height: 1.45;
  color: var(--fg-dim);
  font-weight: 400;
  letter-spacing: -0.005em;
}
.body-m {
  font-size: 16px;
  line-height: 1.55;
  color: var(--fg-dim);
}
.caption {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-mute);
}

/* ===== Reveal animation base ===== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  filter: blur(8px);
  transition:
    opacity 1.1s var(--ease-out),
    transform 1.1s var(--ease-out),
    filter 1.1s var(--ease-out);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}
.reveal.delay-1 { transition-delay: 0.08s; }
.reveal.delay-2 { transition-delay: 0.16s; }
.reveal.delay-3 { transition-delay: 0.24s; }
.reveal.delay-4 { transition-delay: 0.32s; }
.reveal.delay-5 { transition-delay: 0.40s; }

/* =================================================
   SLIDE 1 — HERO
   ================================================= */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 120px var(--gutter) 80px;
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  will-change: transform;
  filter: saturate(1.1) contrast(1.05);
}
.hero-video-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse at 50% 40%, rgba(7,8,10,0.35) 0%, rgba(7,8,10,0.75) 60%, rgba(7,8,10,0.92) 100%),
    linear-gradient(180deg, rgba(7,8,10,0.5) 0%, rgba(7,8,10,0.3) 40%, rgba(7,8,10,0.95) 100%);
}
.hero-bg {
  position: absolute;
  inset: -10%;
  z-index: 2;
  opacity: 0.6;
  mix-blend-mode: screen;
  background:
    radial-gradient(ellipse 70% 50% at 50% 30%, var(--accent-soft), transparent 60%),
    radial-gradient(ellipse 60% 40% at 80% 90%, oklch(0.5 0.2 320 / 0.18), transparent 60%),
    radial-gradient(ellipse 50% 40% at 15% 80%, oklch(0.55 0.18 260 / 0.15), transparent 60%);
  will-change: transform;
}
.hero-grid {
  position: absolute;
  inset: 0;
  z-index: 2;
  background-image:
    linear-gradient(to right, var(--line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--line) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 20%, transparent 75%);
  will-change: transform;
  opacity: 0.5;
}
.hero-inner {
  position: relative;
  z-index: 3;
  max-width: 1100px;
  width: 100%;
  text-align: center;
}
.hero h1 {
  margin: 32px 0 28px;
}
.hero h1 .name {
  display: block;
  background: linear-gradient(180deg, #fff 0%, #9CA0AC 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero .lead {
  max-width: 620px;
  margin: 0 auto;
  letter-spacing: 0.12em;
}
.hero-tags {
  margin-top: 48px;
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}
.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--fg-dim);
  background: rgba(255,255,255,0.02);
  backdrop-filter: blur(6px);
}
.tag .tag-dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--accent);
}

.scroll-cue {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fg-mute);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  opacity: 0.6;
}
.scroll-cue .line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--fg-mute), transparent);
  animation: scrollLine 2.2s ease-in-out infinite;
}
@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  50.01% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* =================================================
   SLIDE 2 — INTRO / PILLARS
   ================================================= */
.intro {
  padding: 160px var(--gutter);
  position: relative;
}
.intro-header {
  max-width: 900px;
  margin: 0 auto 100px;
  text-align: center;
}
.intro-header .label-row {
  justify-content: center;
  display: flex;
  margin-bottom: 28px;
}
.intro-header h2 {
  margin-bottom: 24px;
}
.intro-header .sub {
  color: var(--fg-mute);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  border: 1px solid var(--line);
  background: var(--line);
  border-radius: 20px;
  overflow: hidden;
}
.pillar {
  background: var(--bg-1);
  padding: 40px 32px 44px;
  position: relative;
  transition: background .4s var(--ease-out);
}
.pillar:hover { background: var(--bg-2); }
.pillar .icon {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: var(--bg-3);
  border: 1px solid var(--line-strong);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 24px;
}
.pillar .num {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--fg-mute);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.pillar h3 {
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.015em;
  margin-bottom: 14px;
  line-height: 1.25;
}
.pillar p {
  color: var(--fg-dim);
  font-size: 15px;
  line-height: 1.55;
}

@media (max-width: 860px) {
  .pillars { grid-template-columns: 1fr; }
}

/* =================================================
   DIALPAD · CONTEXTO
   Sección entre Sobre mí y Proyecto — empresa actual, producto, escala, global
   Fondo violeta #7C52FF con gradient diagonal oscuro
   ================================================= */
.dp-ctx {
  position: relative;
  padding: 140px 0 140px;
  background:
    linear-gradient(135deg, #7C52FF 0%, #5A3ADD 45%, #2A1A7A 100%),
    #7C52FF;
  overflow: hidden;
  isolation: isolate;
  color: #fff;
}
/* Glow sutil arriba-derecha + bottom-left para depth */
.dp-ctx::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 40% at 90% 10%, rgba(255, 255, 255, 0.10), transparent 60%),
    radial-gradient(ellipse 50% 40% at 10% 90%, rgba(0, 0, 0, 0.18), transparent 60%);
  pointer-events: none;
  z-index: 0;
}
.dp-ctx-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 72px;
}
/* Grid 2-col · texto izq / stats+países der */
.dp-ctx-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
  gap: 80px;
  align-items: start;
}
/* Brand row · logo chico arriba izq + eyebrow */
.dp-ctx-brand {
  display: flex;
  align-items: center;
  gap: 18px;
}
.dp-ctx-logo {
  height: 28px;
  width: auto;
  /* PNG color → blanco */
  filter: brightness(0) invert(1);
  opacity: 0.95;
}
.dp-ctx-eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.70);
  padding-left: 18px;
  border-left: 1px solid rgba(255, 255, 255, 0.22);
}
.dp-ctx-head {
  max-width: 780px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.dp-ctx-title {
  color: #fff;
  letter-spacing: -0.02em;
}
.dp-ctx-title-soft {
  color: rgba(255, 255, 255, 0.55);
}
.dp-ctx-lead {
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.78);
  max-width: 620px;
  letter-spacing: -0.005em;
}
/* Columna derecha · KPIs arriba + países abajo */
.dp-ctx-side {
  display: flex;
  flex-direction: column;
  gap: 48px;
}
.dp-ctx-kpis {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.dp-stat {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.dp-stat-num {
  font-size: clamp(36px, 3.6vw, 52px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1;
  color: #fff;
  font-variant-numeric: tabular-nums;
}
.dp-stat-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
  letter-spacing: -0.005em;
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.14em;
}
/* Stat países · número inline a la izq + fila de 5 flags a la derecha */
.dp-stat-countries {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  align-items: center;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}
.dp-stat-country-num {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.dp-stat-country-num .dp-stat-num {
  font-size: clamp(32px, 2.6vw, 40px);
}
.dp-flags {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-auto-rows: 56px;
  gap: 8px;
  width: 100%;
}
.dp-flag {
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  line-height: 1;
  transition: transform .3s var(--ease-out), background .3s, border-color .3s;
  cursor: default;
  backdrop-filter: blur(8px);
}
.dp-flag:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.32);
}
@media (max-width: 960px) {
  .dp-ctx-grid {
    grid-template-columns: 1fr;
    gap: 56px;
  }
}
@media (max-width: 860px) {
  .dp-ctx { padding: 100px 0 100px; }
  .dp-ctx-inner { gap: 56px; }
  .dp-ctx-kpis {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
  .dp-stat-countries {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .dp-flags {
    grid-auto-rows: 48px;
    gap: 8px;
  }
  .dp-flag { font-size: 22px; border-radius: 10px; }
  .dp-ctx-brand { flex-wrap: wrap; gap: 12px; }
  .dp-ctx-eyebrow { padding-left: 0; border-left: none; }
}

/* =================================================
   SLIDE 3 — PROJECT HEADER
   ================================================= */
.project-header {
  min-height: 100vh;
  padding: 180px var(--gutter) 120px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-1) 100%);
}
.project-header::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-strong) 50%, transparent);
}
.project-header .container {
  position: relative;
  z-index: 2;
}
.ph-chapter {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 32px;
}
.ph-title {
  margin-bottom: 20px;
}
.ph-title .kicker {
  display: block;
  font-family: var(--mono);
  font-size: clamp(14px, 1.2vw, 16px);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-mute);
  margin-bottom: 20px;
  font-weight: 400;
}
.ph-sub {
  max-width: 640px;
  margin-bottom: 80px;
  color: var(--fg-dim);
}

.ph-meta {
  border-top: 1px solid var(--line);
  padding-top: 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 96px;
}
.ph-meta .cell {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.ph-meta .cell .k {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-mute);
}
.ph-meta .cell .v {
  font-size: 17px;
  color: var(--fg);
  font-weight: 450;
  letter-spacing: -0.01em;
}
.ph-meta .cell .v small {
  display: block;
  color: var(--fg-dim);
  font-size: 14px;
  margin-top: 2px;
}

@media (max-width: 820px) {
  .ph-meta { grid-template-columns: repeat(2, 1fr); gap: 30px; }
}

/* ===== Device stage: Before / After ===== */
.device-stage {
  margin-top: 80px;
  padding: 80px 40px 60px;
  background:
    radial-gradient(ellipse 60% 50% at 30% 30%, oklch(0.72 0.18 330 / 0.12), transparent 60%),
    radial-gradient(ellipse 60% 50% at 75% 70%, var(--accent-soft), transparent 60%),
    linear-gradient(180deg, var(--bg-2), var(--bg-1));
  border: 1px solid var(--line);
  border-radius: 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
  justify-items: center;
  position: relative;
  overflow: hidden;
}
.device-stage::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-strong) 50%, transparent);
}
.device-slot {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  max-width: 340px;
  padding-top: 56px;
  position: relative;
}
.device-slot .slot-label {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fg-mute);
  display: flex;
  align-items: center;
  gap: 10px;
}
.device-slot .slot-label .pill {
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  color: var(--fg-dim);
  letter-spacing: 0.14em;
  font-size: 9px;
}
.device-slot.after .slot-label .pill {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-soft);
  box-shadow: 0 0 16px var(--accent-glow);
}
.device-slot .slot-caption {
  font-size: 13px;
  color: var(--fg-mute);
  text-align: center;
  font-family: var(--mono);
  letter-spacing: 0.04em;
  max-width: 280px;
}

/* iPhone frame — inner screen uses the exact asset aspect ratio (886:1920) */
.iphone {
  position: relative;
  display: inline-block;
  border-radius: 44px;
  background: linear-gradient(180deg, #1a1a1d, #0e0e10);
  padding: 8px;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.04),
    inset 0 0 0 2px rgba(255,255,255,0.03),
    0 40px 80px rgba(0,0,0,0.5),
    0 0 60px var(--accent-soft);
}
.iphone .screen {
  position: relative;
  height: 563px;
  aspect-ratio: 886/1920;
  border-radius: 36px;
  overflow: hidden;
  background: #000;
}
.iphone .screen img,
.iphone .screen video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.iphone .island {
  display: none;
}
/* Before: png already includes a baked frame — same total height as After for top/bottom alignment */
.iphone.baked {
  padding: 0;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  max-width: none;
  width: auto;
  aspect-ratio: auto;
  height: 579px;
  margin-top: -8px;
  filter: drop-shadow(0 40px 60px rgba(0,0,0,0.45));
}
.iphone.baked .screen {
  border-radius: 0;
  background: transparent;
  overflow: visible;
  aspect-ratio: auto;
  height: 100%;
  width: auto;
}
.iphone.baked .screen img {
  width: auto;
  height: 100%;
  object-fit: contain;
  display: block;
}

@media (max-width: 820px) {
  .device-stage { grid-template-columns: 1fr; gap: 80px; padding: 60px 24px 40px; }
}

/* =================================================
   SLIDE 4 — OVERVIEW + METRICS
   ================================================= */
.overview {
  padding: 160px var(--gutter);
  background: var(--bg-1);
  position: relative;
}
.overview-grid {
  display: block;
  max-width: 720px;
}
.overview-left .eyebrow { margin-bottom: 28px; }
.overview-left h2 { margin-bottom: 28px; }
.overview-left .body { margin-bottom: 20px; }
.overview-left .meta-list {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.overview-left .meta-list .row {
  display: flex;
  gap: 16px;
  align-items: baseline;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  font-size: 15px;
}
.overview-left .meta-list .row .k {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-mute);
  min-width: 120px;
}
.overview-left .meta-list .row .v { color: var(--fg-dim); }

.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 24px;
}
@media (max-width: 960px) {
  .metrics { grid-template-columns: 1fr; }
}
.metric {
  background: var(--bg-2);
  padding: 36px 32px;
  position: relative;
  border: 1px solid var(--line);
  border-radius: 20px;
  transition: background .4s var(--ease-out), border-color .3s ease, transform .3s ease;
}
.metric:hover {
  border-color: var(--accent-soft);
  transform: translateY(-3px);
}
.metric .metric-tag {
  display: inline-block;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-mute);
  padding: 5px 11px;
  border: 1px solid var(--line);
  border-radius: 99px;
  margin-bottom: 18px;
  background: color-mix(in oklch, var(--fg) 2%, transparent);
}
.metric:hover { background: var(--bg-3); }
.metric .metric-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-mute);
  margin-bottom: 16px;
  display: flex;
  justify-content: space-between;
}
.metric .metric-label .idx { color: var(--fg-ghost); }
.metric .metric-value {
  font-size: clamp(48px, 6vw, 80px);
  line-height: 1;
  letter-spacing: -0.04em;
  font-weight: 500;
  background: linear-gradient(180deg, #fff 0%, #8A8E98 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 10px;
}
.metric .metric-name {
  font-size: 17px;
  color: var(--fg);
  margin-bottom: 6px;
  font-weight: 450;
  letter-spacing: -0.01em;
}
.metric .metric-desc {
  font-size: 13px;
  color: var(--fg-mute);
  font-family: var(--mono);
  letter-spacing: 0.02em;
  line-height: 1.6;
}

.metrics-eyebrow {
  margin-top: 72px;
  margin-bottom: 4px;
}

.metric.metric-secondary {
  padding: 24px 32px;
  background: var(--bg-1);
}
.metric.metric-secondary:hover { background: var(--bg-2); }
.metric.metric-secondary .metric-name {
  font-size: 15px;
  color: var(--fg-dim);
  margin-bottom: 6px;
}
.metric.metric-secondary .metric-desc {
  font-size: 12px;
}

@media (max-width: 980px) {
  .overview-grid { grid-template-columns: 1fr; gap: 60px; }
}

/* =================================================
/* =================================================
   SLIDE 5 — PROBLEMA (3 cards staggered, no sticky)
   ================================================= */
.problem {
  padding: 180px var(--gutter) 160px;
  position: relative;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-1) 40%, var(--bg) 100%);
  overflow: hidden;
}
.problem::before {
  content: '';
  position: absolute;
  top: 20%; left: -10%;
  width: 60%; height: 60%;
  background: radial-gradient(ellipse at center, var(--accent-soft), transparent 70%);
  filter: blur(80px);
  pointer-events: none;
  opacity: 0.5;
}
.problem-header {
  max-width: 820px;
  margin: 0 auto 100px;
  text-align: center;
  position: relative;
  z-index: 2;
}
.problem-header h2 {
  margin: 24px 0 28px;
}
.problem-header .body-l {
  max-width: 560px;
  margin: 0 auto;
}

.problem-stack {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 28px;
  position: relative;
  z-index: 2;
}

.p-card {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 60px;
  padding: 56px 56px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(180deg, var(--bg-2), var(--bg-1));
  position: relative;
  overflow: hidden;
  transition: border-color .5s var(--ease-out), transform .5s var(--ease-out);
}
.p-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 2px; height: 0;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent-glow);
  transition: height 1.2s var(--ease-out) .2s;
}
.p-card.in::before { height: 100%; }
.p-card:hover {
  border-color: var(--line-strong);
  transform: translateX(4px);
}
.p-card-index {
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: sticky;
  top: 100px;
  align-self: start;
}
.p-card-index .p-num {
  font-family: var(--mono);
  font-size: clamp(56px, 6vw, 80px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--fg);
  background: linear-gradient(180deg, #fff 0%, #5a5e68 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.p-card-index .p-tag {
  font-family: var(--mono);
  font-size: 14px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-top: 6px;
}
.p-card-body {
  max-width: 620px;
}
.p-title {
  font-size: clamp(24px, 2.4vw, 32px);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--fg);
  margin-bottom: 20px;
  text-wrap: pretty;
}
.p-title em {
  font-style: normal;
  color: var(--accent);
  font-weight: 500;
}
.p-lead {
  font-size: 17px;
  line-height: 1.55;
  color: var(--fg-dim);
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}
.p-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.p-bullets li {
  padding-left: 24px;
  position: relative;
  font-size: 15px;
  color: var(--fg-mute);
  line-height: 1.55;
}
.p-bullets li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.65em;
  width: 10px; height: 1px;
  background: var(--accent);
}
.p-bullets li span {
  color: var(--fg);
  font-weight: 450;
}

@media (max-width: 820px) {
  .p-card {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 36px 28px;
  }
  .p-card-index { position: static; flex-direction: row; align-items: baseline; }
}

/* =================================================
   SLIDE 6-7 — QUOTES
   ================================================= */
.quotes {
  padding: 160px var(--gutter);
  background: var(--bg-1);
  position: relative;
}
.quotes .q-header {
  max-width: 800px;
  margin: 0 auto 100px;
  text-align: center;
}
.quotes .q-header h2 {
  margin-top: 24px;
}
.quote-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}
.quote-card {
  padding: 48px 44px 40px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--bg-2);
  position: relative;
  overflow: hidden;
  transition: border-color .4s var(--ease-out), transform .5s var(--ease-out);
  /* Grid con filas fijas → qtop / blockquote (flex) / qattr se alinean entre cards */
  display: grid;
  grid-template-rows: auto 1fr auto;
}
.quote-card:hover {
  border-color: var(--line-strong);
  transform: translateY(-4px);
}
.quote-card::before {
  content: '\201C';
  position: absolute;
  top: 18px;
  left: 36px;
  font-size: 64px;
  line-height: 1;
  color: var(--accent);
  opacity: 0.35;
  font-family: 'Times New Roman', Georgia, serif;
  font-weight: 400;
}
.quote-card .qtop {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-mute);
  margin-bottom: 40px;
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.quote-card .qtop .qnum { color: var(--accent); }
.quote-card blockquote {
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.35;
  letter-spacing: -0.015em;
  font-weight: 450;
  color: var(--fg);
  margin-bottom: 0; /* spacing lo maneja padding-top del qattr */
  position: relative;
  z-index: 2;
  text-wrap: pretty;
  align-self: start;
}
.quote-card .qattr {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 24px;
  margin-top: 36px;
  border-top: 1px solid var(--line);
  align-self: end;
}
.quote-card .qavatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), oklch(0.6 0.18 280));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: 12px;
  color: #0A0A0B;
  font-weight: 600;
  overflow: hidden;
  flex-shrink: 0;
}
.quote-card .qavatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.quote-card .qrole {
  font-size: 14px;
  color: var(--fg);
  font-weight: 500;
}
.quote-card .qco {
  font-size: 12px;
  color: var(--fg-mute);
  font-family: var(--mono);
  letter-spacing: 0.04em;
}

@media (max-width: 860px) {
  .quote-row { grid-template-columns: 1fr; }
}

/* =================================================
   REFLECTION / APRENDIZAJES — closing learnings
   ================================================= */
.reflection {
  padding: 160px 0 140px;
  background: var(--bg);
}
.ref-header {
  max-width: 780px;
  margin: 0 auto 96px;
  text-align: center;
}
.ref-header .eyebrow { margin-bottom: 20px; }
.ref-header h2 { letter-spacing: -0.025em; }

.ref-list {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 880px;
  display: grid;
  gap: 56px;
  counter-reset: ref;
}
.ref-item {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 32px;
  align-items: start;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--line);
}
.ref-item:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}
.ref-num {
  font-family: var(--mono);
  font-size: 14px;
  letter-spacing: 0.06em;
  color: var(--accent);
  padding-top: 10px;
}
.ref-body { max-width: 62ch; }
.ref-title {
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1.2;
  letter-spacing: -0.015em;
  margin: 0 0 14px;
  color: var(--fg);
  font-weight: 500;
}
.ref-copy {
  font-size: clamp(16px, 1.2vw, 18px);
  line-height: 1.6;
  color: var(--fg-mute);
  margin: 0;
}

@media (max-width: 680px) {
  .ref-item { grid-template-columns: 1fr; gap: 12px; }
  .ref-num { padding-top: 0; }
}

/* =================================================
   RECOGNITION — cierre / team shout
   ================================================= */
.recognition {
  position: relative;
  padding: 180px 0 140px;
  overflow: hidden;
}
.recognition::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 600px at 20% 30%, var(--accent-soft), transparent 60%),
    radial-gradient(700px 500px at 80% 70%, oklch(0.6 0.22 340 / 0.18), transparent 60%);
  pointer-events: none;
}
.recognition .container { position: relative; z-index: 1; }

.rec-header {
  max-width: 680px;
  margin: 0 auto 72px;
  text-align: center;
}
.rec-header .eyebrow { margin-bottom: 20px; }
.rec-header h2 { letter-spacing: -0.02em; }
.rec-header p {
  margin-top: 24px;
  color: var(--fg-mute);
}

.rec-card {
  max-width: 920px;
  margin: 0 auto;
  border-radius: 28px;
  padding: 1px;
  background: linear-gradient(135deg,
    oklch(0.6 0.22 340 / 0.5),
    var(--accent-soft),
    oklch(0.7 0.15 280 / 0.4));
  box-shadow: 0 40px 80px -30px rgba(0,0,0,0.6);
}
.rec-card-inner {
  background:
    linear-gradient(135deg,
      oklch(0.22 0.08 290),
      oklch(0.18 0.06 320)
    );
  border-radius: 27px;
  padding: 56px 60px;
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 48px;
  align-items: center;
}

.rec-avatar {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid rgba(255,255,255,0.3);
  box-shadow: 0 20px 40px -12px rgba(0,0,0,0.5);
  flex-shrink: 0;
}
.rec-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(0.2);
}

.rec-body { display: flex; flex-direction: column; gap: 18px; }

.rec-name {
  font-family: var(--sans);
  font-size: 22px;
  font-weight: 600;
  color: #fff;
  letter-spacing: -0.01em;
}

.rec-quote {
  margin: 0;
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.55;
  color: rgba(255,255,255,0.92);
  font-weight: 400;
  letter-spacing: -0.005em;
  position: relative;
  padding-left: 16px;
  border-left: 2px solid rgba(255,255,255,0.3);
}

.rec-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 8px;
  border-top: 1px solid rgba(255,255,255,0.12);
  flex-wrap: wrap;
  gap: 12px;
}
.rec-sender {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}
.rec-cta {
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 600;
  color: #fff;
}

@media (max-width: 720px) {
  .recognition { padding: 100px 0 80px; }
  .rec-card-inner {
    grid-template-columns: 1fr;
    padding: 40px 28px;
    gap: 28px;
    text-align: center;
  }
  .rec-avatar { margin: 0 auto; width: 120px; height: 120px; }
  .rec-body { align-items: center; }
  .rec-quote {
    border-left: none;
    padding-left: 0;
    font-size: 16px;
    text-align: left;
  }
  .rec-meta { justify-content: center; }
}

/* =================================================
   FOOTER
   ================================================= */
.footer {
  position: relative;
  padding: 120px var(--gutter) 60px;
  border-top: 1px solid rgba(255,255,255,0.08);
  background:
    linear-gradient(135deg, #7C52FF 0%, #5A3ADD 45%, #2A1A7A 100%),
    #7C52FF;
  overflow: hidden;
  isolation: isolate;
  color: #fff;
}
.footer::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 50%;
  height: 80%;
  background: radial-gradient(ellipse at center, rgba(255,255,255,0.12), transparent 60%);
  filter: blur(60px);
  pointer-events: none;
  z-index: -1;
}
.footer::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 50%;
  height: 80%;
  background: radial-gradient(ellipse at center, rgba(42,26,122,0.6), transparent 60%);
  filter: blur(80px);
  pointer-events: none;
  z-index: -1;
}
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
  gap: 40px;
}
.footer h3 {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.05;
  max-width: 520px;
}
.footer .f-meta {
  text-align: right;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  line-height: 1.8;
}
.f-location {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.85);
}
.f-flag {
  font-size: 16px;
  line-height: 1;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.3));
  letter-spacing: 0;
}

@media (max-width: 720px) {
  .footer-inner { grid-template-columns: 1fr; }
  .footer .f-meta { text-align: left; }
}

/* =================================================
   TWEAKS PANEL
   ================================================= */
.tweaks-panel {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 100;
  background: rgba(15,17,22,0.94);
  backdrop-filter: blur(20px) saturate(1.5);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  padding: 18px 18px 16px;
  width: 280px;
  color: var(--fg);
  font-family: var(--sans);
  box-shadow: 0 24px 60px rgba(0,0,0,0.5);
  display: none;
}
.tweaks-panel.open { display: block; }
.tweaks-panel .tw-header {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--fg-mute);
  margin-bottom: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.tweaks-panel .tw-header .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent-glow);
}
.tweaks-panel .tw-row {
  margin-bottom: 14px;
}
.tweaks-panel .tw-row label {
  display: block;
  font-size: 11px;
  font-family: var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-mute);
  margin-bottom: 6px;
}
.tweaks-panel .tw-row .tw-val {
  float: right;
  color: var(--fg);
}
.tweaks-panel input[type="range"] {
  width: 100%;
  accent-color: var(--accent);
}
.tweaks-panel .tw-chips {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.tweaks-panel .tw-chip {
  flex: 1;
  padding: 7px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 7px;
  font-size: 11px;
  font-family: var(--mono);
  color: var(--fg-dim);
  background: transparent;
  cursor: pointer;
  letter-spacing: 0.04em;
  transition: all .2s ease;
  text-align: center;
}
.tweaks-panel .tw-chip:hover { color: var(--fg); }
.tweaks-panel .tw-chip.active {
  background: var(--accent);
  color: #0A0A0B;
  border-color: var(--accent);
  box-shadow: 0 0 12px var(--accent-glow);
}
.tweaks-panel .tw-swatches {
  display: flex;
  gap: 8px;
}
.tweaks-panel .tw-swatch {
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .2s;
}
.tweaks-panel .tw-swatch:hover { transform: scale(1.1); }
.tweaks-panel .tw-swatch.active {
  border-color: var(--fg);
  box-shadow: 0 0 0 2px var(--bg-2);
}

/* =================================================
   USERS SECTION — lista minimalista
   ================================================= */
.users {
  padding: 140px 0 140px;
  position: relative;
  background: #F2F0EE;
  color: #1a1612;
  /* Redefinimos tokens locales para invertir al modo claro.
     Hijos que usan var(--fg|--fg-mute|--line|--bg-2) heredan automáticamente. */
  --fg: #1a1612;
  --fg-dim: #3d372f;
  --fg-mute: #6b6459;
  --fg-ghost: #a89f92;
  --line: rgba(26, 22, 18, 0.10);
  --line-strong: rgba(26, 22, 18, 0.22);
  --bg-2: #EBE7E2;
  --accent-soft: rgba(138, 107, 255, 0.08);
}
/* Avatar de quote-card: el texto dentro queda sobre gradient violeta — mantener claro */
.users .quote-card .qavatar { color: #F2F0EE; }
.users-header {
  max-width: 820px;
  margin: 0 auto 80px;
  text-align: center;
}
.users-header .body-l {
  max-width: 560px;
  margin: 20px auto 0;
  color: var(--fg-mute);
}

.users-list {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 960px;
  border-top: 1px solid var(--line);
}
.u-item {
  display: grid;
  grid-template-columns: 44px 260px 40px 1fr;
  align-items: center;
  gap: 20px;
  padding: 26px 24px;
  border-bottom: 1px solid var(--line);
  transition: background .35s, padding-left .35s, border-color .35s;
  position: relative;
  overflow: hidden;
}
.u-item::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--accent);
  transform: translateX(-3px);
  transition: transform .35s;
}
.u-item:hover {
  background: linear-gradient(90deg, var(--accent-soft), transparent 60%);
  padding-left: 34px;
  border-color: var(--line-strong);
}
.u-item:hover::before { transform: translateX(0); }

.u-num {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--fg-ghost, var(--fg-mute));
  font-weight: 500;
}
.u-type {
  font-size: 18px;
  font-weight: 500;
  color: var(--fg);
  letter-spacing: -0.01em;
}
.u-arrow {
  font-family: var(--mono);
  color: var(--accent);
  font-size: 18px;
  opacity: 0.6;
  transition: transform .35s, opacity .35s;
}
.u-item:hover .u-arrow {
  transform: translateX(6px);
  opacity: 1;
}
.u-need {
  font-size: 15px;
  color: var(--fg-mute);
  line-height: 1.45;
}

@media (max-width: 820px) {
  .users { padding: 80px 0 80px; }
  .users-header { margin-bottom: 48px; }
  .u-item {
    grid-template-columns: 36px 1fr;
    grid-template-rows: auto auto;
    gap: 8px 16px;
    padding: 20px 16px;
  }
  .u-item .u-arrow { display: none; }
  .u-type { grid-column: 2; }
  .u-num { grid-row: 1 / span 2; align-self: start; padding-top: 4px; }
  .u-need { grid-column: 2; font-size: 13px; }
  .u-item:hover { padding-left: 24px; }
}

/* =================================================
   DISCOVERY SECTION — sticky + horizontal scroll (Apple style)
   ================================================= */
.discovery {
  position: relative;
  padding: 0 0 160px;
  background: #E8E3DF;
  color: #1a1612;
  /* Scope claro para TODA la sección Discovery (intro + sticky + cards + progress) */
  --fg: #1a1612;
  --fg-dim: #3d372f;
  --fg-mute: #6b6459;
  --fg-ghost: #a89f92;
  --line: rgba(26, 22, 18, 0.12);
  --line-strong: rgba(26, 22, 18, 0.24);
  --bg-1: #DFD9D3;
  --bg-2: #F2EEEA;
}

/* Intro arriba */
.disc-intro {
  margin: 0;
  padding: 120px 0 40px;
  /* Vars heredadas de .discovery → mismo fondo #E8E3DF del wrapper */
}
.disc-intro-inner {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 var(--gutter);
  text-align: left;
}
.disc-intro .body-m {
  color: var(--fg-mute);
  margin-top: 24px;
  max-width: 600px;
  line-height: 1.6;
}
.disc-scroll-hint {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 40px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--fg-mute);
}
.disc-scroll-hint svg {
  color: var(--accent);
  animation: discArrow 1.8s ease-in-out infinite;
}
@keyframes discArrow {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(6px); }
}

/* Sticky wrap: outer alto (N × 100vh), inner sticky */
.disc-sticky-wrap {
  position: relative;
  height: 260vh; /* ~cada card equivale a ~86vh de scroll — cómodo sin ser eterno */
}
.disc-sticky-inner {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
}

/* Track con las cards en fila horizontal */
.disc-track {
  display: flex;
  gap: 40px;
  padding: 0 8vw;
  will-change: transform;
}

.disc-card {
  flex-shrink: 0;
  width: 78vw;
  max-width: 1160px;
  min-height: 54vh;
  max-height: 62vh;
  display: grid;
  grid-template-columns: minmax(320px, 1fr) 1.25fr;
  gap: 0;
  background: linear-gradient(180deg, var(--bg-2), var(--bg-1));
  border: 1px solid var(--line-strong);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(26, 22, 18, 0.08), 0 8px 24px rgba(26, 22, 18, 0.04);
}

.disc-card-text {
  padding: 56px 48px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 0;
  border-right: 1px solid var(--line);
}
.disc-card-head {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 24px;
  padding: 5px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  width: fit-content;
}
.disc-card-num {
  color: var(--accent);
  font-weight: 600;
}
.disc-card-num::after {
  content: '·';
  margin-left: 8px;
  color: var(--fg-mute);
  font-weight: 400;
}
.disc-card-tag {
  color: var(--fg-mute);
}
.disc-card-title {
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 500;
  color: var(--fg);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0 0 24px;
}
.disc-card-body {
  font-size: 16px;
  color: var(--fg-mute);
  line-height: 1.65;
  margin: 0 0 32px;
  max-width: 52ch;
}
.disc-card-meta {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  padding-top: 20px;
  border-top: 1px solid var(--line);
  width: fit-content;
}

/* Figure derecha (imagen grande) */
.disc-card-figure {
  margin: 0;
  position: relative;
  overflow: hidden;
  background: var(--bg-1);
  cursor: zoom-in;
}
.disc-card-figure img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top left;
  transition: transform .6s cubic-bezier(0.22, 1, 0.36, 1);
}
.disc-card-figure:hover img {
  transform: scale(1.04);
}
.disc-card-figure::after {
  content: '⤢';
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.6);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50%;
  color: #F4F5F7;
  font-size: 14px;
  backdrop-filter: blur(8px);
  opacity: 0;
  transform: scale(0.8);
  transition: opacity .3s, transform .3s;
}
.disc-card-figure:hover::after {
  opacity: 1;
  transform: scale(1);
}

/* Progress indicator */
.disc-progress {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--fg-mute);
  z-index: 5;
}
.disc-progress-bar {
  position: relative;
  width: 180px;
  height: 2px;
  background: var(--line);
  border-radius: 999px;
  overflow: hidden;
}
.disc-progress-bar::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--accent);
  transform-origin: left center;
  transform: scaleX(var(--disc-progress, 0));
  transition: transform .1s linear;
}
.disc-progress-count .disc-curr {
  color: var(--accent);
  font-weight: 600;
}

/* Antes — carrousel auditoría (título izq, imagen der) */
.disc-before {
  margin-top: 120px;
  padding-bottom: 80px;
}
.disc-before-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.disc-before-text {
  max-width: 440px;
}
.disc-before-text .eyebrow {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--fg-mute);
}
.disc-before-text h3 {
  font-size: clamp(32px, 3.4vw, 48px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 18px;
  font-weight: 500;
}
.disc-before-text p {
  color: var(--fg-mute);
  margin: 0 0 36px;
}

.disc-before-nav {
  display: flex;
  align-items: center;
  gap: 16px;
}
.dbn-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--fg);
  display: inline-grid;
  place-items: center;
  cursor: pointer;
  transition: border-color 0.3s, background 0.3s, color 0.3s, transform 0.3s;
}
.dbn-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-soft);
}
.dbn-btn:active { transform: scale(0.95); }
.dbn-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  transform: none !important;
}
.dbn-count {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--fg-mute);
  min-width: 60px;
  text-align: center;
}
.dbn-count .dbn-curr { color: var(--fg); font-weight: 600; }

.disc-before-stage {
  position: relative;
  display: flex;
  justify-content: center;
}
.disc-before-slides {
  position: relative;
  width: 320px;
  aspect-ratio: 9 / 19.5;
}
.dbs-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  border-radius: 30px;
  overflow: hidden;
  background: #000;
  cursor: zoom-in;
  opacity: 0;
  transform: translateX(20px) scale(0.98);
  transition: opacity 0.45s ease, transform 0.45s ease;
  pointer-events: none;
  box-shadow: 0 20px 50px -16px rgba(26, 22, 18, 0.18), 0 4px 12px rgba(26, 22, 18, 0.06);
}
.dbs-slide.is-active {
  opacity: 1;
  transform: translateX(0) scale(1);
  pointer-events: auto;
}
.dbs-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 900px) {
  .disc-before { margin-top: 80px; }
  .disc-before-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .disc-before-slides { width: 260px; }
  .disc-before-text { max-width: 100%; }
}

/* ================================================================
   EXPLORATION — Concept A vs B con videos
================================================================ */
.exploration {
  position: relative;
  padding: 160px 0 140px;
  background:
    radial-gradient(1200px 500px at 80% 20%, var(--accent-soft), transparent 60%),
    linear-gradient(180deg, var(--bg-1), var(--bg));
}

.exp-header {
  max-width: 960px;
  margin: 0 auto 80px;
  text-align: center;
}
.exp-header .eyebrow { margin-bottom: 20px; }
.exp-header h2 { letter-spacing: -0.02em; }
.exp-header p {
  margin-top: 24px;
  color: var(--fg-mute);
}

.exp-grid {
  display: flex;
  flex-direction: column;
  gap: 64px;
}

.exp-card {
  display: grid;
  grid-template-columns: minmax(280px, 420px) 1fr;
  gap: 48px;
  align-items: center;
  background: linear-gradient(180deg, var(--bg-2), var(--bg-1));
  border: 1px solid var(--line);
  border-radius: 28px;
  overflow: hidden;
  transition: border-color 0.4s, transform 0.4s;
}
.exp-card:hover {
  border-color: var(--accent-soft);
  transform: translateY(-2px);
}
.exp-card:nth-child(even) {
  grid-template-columns: 1fr minmax(280px, 420px);
}
.exp-card:nth-child(even) .exp-media { order: 2; }
.exp-card:nth-child(even) .exp-body { order: 1; }

.exp-media {
  position: relative;
  padding: 56px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: stretch;
  background:
    radial-gradient(circle at 50% 40%, oklch(0.25 0.05 280 / 0.6), transparent 70%),
    linear-gradient(180deg, #0a0a10, #050508);
  border-right: 1px solid var(--line);
}
.exp-card:nth-child(even) .exp-media {
  border-right: none;
  border-left: 1px solid var(--line);
}

.exp-phone {
  width: 280px;
  aspect-ratio: 9 / 19.5;
  border-radius: 46px;
  padding: 10px;
  background: linear-gradient(145deg, #2a2a30, #121216 40%, #0a0a0e);
  box-shadow:
    0 40px 80px -24px rgba(0,0,0,0.8),
    0 0 0 1px rgba(255,255,255,0.08) inset,
    0 2px 0 rgba(255,255,255,0.04) inset,
    0 0 60px -10px var(--accent-soft);
  position: relative;
  isolation: isolate;
}
/* dynamic island y home indicator se omiten — los videos ya los traen grabados */
.exp-phone video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 36px;
  background: #000;
}

.exp-body {
  padding: 40px 40px 40px 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.exp-card:nth-child(even) .exp-body {
  padding: 40px 0 40px 40px;
}

.exp-head {
  display: flex;
  align-items: center;
  gap: 12px;
}
.exp-letter {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--accent);
  color: #fff;
  font-family: var(--mono);
  font-weight: 600;
  font-size: 15px;
}
.exp-tag {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-mute);
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 99px;
}

.exp-title {
  font-family: var(--sans);
  font-size: 26px;
  line-height: 1.2;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--fg);
  margin: 2px 0 0;
}
.exp-sub {
  color: var(--fg-mute);
  font-size: 15px;
  line-height: 1.5;
  margin: 0 0 10px;
}

.exp-proscons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  padding-top: 16px;
  border-top: 1px dashed var(--line);
  margin-top: auto;
}
.exp-col-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.exp-col-label .bullet {
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 700;
}
.exp-col-label.pros { color: var(--fg); }
.exp-col-label.pros .bullet { background: oklch(0.7 0.16 150 / 0.2); color: oklch(0.85 0.16 150); }
.exp-col-label.cons { color: var(--fg); }
.exp-col-label.cons .bullet { background: oklch(0.6 0.2 20 / 0.2); color: oklch(0.85 0.16 20); }

.exp-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.exp-col li {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--fg);
  position: relative;
  padding-left: 12px;
}
.exp-col li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--fg-ghost);
}

/* ---- Phase 2 sub-section ---- */
.exp-phase2 {
  margin-top: 140px;
  padding-top: 80px;
  border-top: 1px solid var(--line);
}
.exp-phase2-head {
  max-width: 640px;
  margin: 0 auto 64px;
  text-align: center;
}
.exp-phase2-head .eyebrow {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--fg-mute);
}
.exp-phase2-head h3 {
  font-size: clamp(30px, 3.2vw, 46px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 18px;
  font-weight: 500;
}
.exp-phase2-head p {
  color: var(--fg-mute);
  margin: 0;
}

.exp-phase2-grid {
  display: flex;
  flex-direction: column;
  gap: 120px;
}

.exp-phase2-card {
  display: grid;
  grid-template-columns: minmax(300px, 440px) 1fr;
  gap: 80px;
  align-items: center;
}
.exp-phase2-card:nth-child(even) {
  grid-template-columns: 1fr minmax(300px, 440px);
}
.exp-phase2-card:nth-child(even) .exp-phase2-media { order: 2; }
.exp-phase2-card:nth-child(even) .exp-phase2-body { order: 1; }

.exp-phase2-media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.exp-phase2-media::before {
  content: "";
  position: absolute;
  inset: -60px;
  background: radial-gradient(circle at 50% 50%, var(--accent-soft), transparent 60%);
  filter: blur(30px);
  opacity: 0.6;
  z-index: -1;
  pointer-events: none;
}
.exp-phase2-media .exp-phone {
  width: 280px;
}

.exp-phase2-body {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 20px 0;
  max-width: 520px;
}
.exp-phase2-card:nth-child(even) .exp-phase2-body {
  justify-self: end;
  text-align: left;
}
.exp-phase2-tag {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  padding: 6px 13px;
  border: 1px solid var(--accent-soft);
  border-radius: 99px;
  align-self: flex-start;
}
.exp-phase2-title {
  font-family: var(--sans);
  font-size: clamp(36px, 4.4vw, 56px);
  line-height: 1.05;
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--fg);
  margin: 6px 0 0;
}
.exp-phase2-body p {
  color: var(--fg);
  font-size: clamp(18px, 1.5vw, 22px);
  line-height: 1.45;
  font-weight: 400;
  margin: 0;
  max-width: 28ch;
}

@media (max-width: 900px) {
  .exp-phase2 { margin-top: 80px; padding-top: 56px; }
  .exp-phase2-grid { gap: 60px; }
  .exp-phase2-card,
  .exp-phase2-card:nth-child(even) {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }
  .exp-phase2-card:nth-child(even) .exp-phase2-media { order: 0; }
  .exp-phase2-card:nth-child(even) .exp-phase2-body { order: 0; justify-self: center; text-align: center; }
  .exp-phase2-body { align-items: center; transform: none !important; }
  .exp-phase2-media .exp-phone { width: 220px; }
}

/* ============ DISCOVERY · Amplitude data block ============ */
.disc-data {
  margin-top: 140px;
  padding: 80px 0 80px;
  border-top: 1px solid var(--line);
}
.disc-data-inner {
  display: grid;
  grid-template-columns: minmax(280px, 420px) 1fr;
  gap: 80px;
  align-items: center;
}
.disc-data-text { max-width: 440px; display: flex; flex-direction: column; gap: 18px; }
.disc-data-text .display-s { margin: 6px 0 0; }
.disc-data-text .body-m { color: var(--fg-mute); }
.disc-data-text .body-m em {
  font-style: normal;
  font-family: var(--mono);
  font-size: 0.92em;
  color: var(--fg);
  padding: 1px 6px;
  border-radius: 4px;
  background: color-mix(in oklch, var(--fg) 6%, transparent);
}
.disc-data-lead {
  font-family: var(--sans);
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.35;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--fg);
  margin: -4px 0 6px;
}
.disc-data-chart {
  margin: 0;
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: #f3f4f6;
  padding: 28px 24px 20px;
  border: 1px solid var(--line);
  cursor: zoom-in;
  transition: transform .3s ease, box-shadow .3s ease;
}
.disc-data-chart:hover { transform: translateY(-2px); box-shadow: 0 24px 60px -30px rgba(0,0,0,0.5); }
.disc-data-chart img { display: block; width: 100%; height: auto; border-radius: 8px; }
.disc-data-chart figcaption {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-mute);
  margin-top: 18px;
  padding: 0 4px;
}

@media (max-width: 900px) {
  .disc-data { margin-top: 80px; padding-top: 56px; }
  .disc-data-inner { grid-template-columns: 1fr; gap: 40px; }
  .disc-data-text { max-width: 100%; }
}

/* ============ DELIVERY · cómo se trabajó ============ */
.delivery {
  padding: 160px 0 140px;
  background: var(--bg);
}
.del-header {
  max-width: 780px;
  margin: 0 auto 96px;
  text-align: center;
}
.del-header .eyebrow { margin-bottom: 20px; }
.del-header h2 {
  letter-spacing: -0.025em;
  margin-bottom: 24px;
}
.del-header p {
  color: var(--fg-mute);
  max-width: 640px;
  margin: 0 auto;
}
.del-steps {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 820px;
  position: relative;
}
.del-steps::before {
  content: '';
  position: absolute;
  left: 23px;
  top: 12px;
  bottom: 12px;
  width: 1px;
  background: linear-gradient(to bottom,
    var(--line-strong) 0%,
    var(--line) 50%,
    transparent 100%);
}
.del-step {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 32px;
  align-items: start;
  padding: 28px 0 44px;
  position: relative;
}
.del-step:last-child { padding-bottom: 0; }
.del-num {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--accent);
  background: var(--bg);
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  width: 46px; height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 0 4px var(--bg);
}
.del-body { max-width: 62ch; padding-top: 6px; }
.del-title {
  font-size: clamp(20px, 1.8vw, 24px);
  line-height: 1.3;
  letter-spacing: -0.015em;
  margin: 0 0 10px;
  color: var(--fg);
  font-weight: 500;
}
.del-copy {
  font-size: clamp(15px, 1.15vw, 17px);
  line-height: 1.6;
  color: var(--fg-mute);
  margin: 0;
}
.del-figure {
  margin: 24px 0 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-1);
}
.del-figure img {
  display: block;
  width: 100%;
  height: auto;
}
.del-figure figcaption {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--fg-mute);
  padding: 14px 20px;
  border-top: 1px solid var(--line);
  background: var(--bg);
  line-height: 1.55;
}
.del-figure figcaption span {
  color: var(--fg-ghost);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.del-outcome {
  max-width: 820px;
  margin: 72px auto 0;
  padding: 32px 40px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: linear-gradient(135deg,
    var(--accent-soft) 0%,
    transparent 60%);
  display: flex;
  align-items: flex-start;
  gap: 24px;
}
.del-outcome-tag {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  padding: 6px 12px;
  border: 1px solid var(--accent);
  border-radius: 999px;
  flex-shrink: 0;
  white-space: nowrap;
}
.del-outcome-copy {
  font-size: clamp(16px, 1.2vw, 19px);
  line-height: 1.55;
  color: var(--fg);
  margin: 0;
}
.del-outcome-copy em {
  font-style: normal;
  font-family: var(--mono);
  font-size: 0.88em;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 2px 8px;
  border-radius: 6px;
}

@media (max-width: 680px) {
  .del-step { grid-template-columns: 52px 1fr; gap: 20px; }
  .del-num { width: 40px; height: 40px; font-size: 12px; }
  .del-steps::before { left: 20px; }
  .del-outcome {
    flex-direction: column;
    padding: 24px;
  }
}

/* ============ DECISIONS · diseño final (Apple-landing) ============ */
.decisions {
  padding: 180px 0 160px;
  position: relative;
  border-top: 1px solid var(--line);
}
.dec-header { max-width: 860px; margin-bottom: 120px; }

/* Before / After */
.dec-ba { margin-bottom: 180px; }
.dec-ba-head {
  max-width: 640px;
  margin: 0 auto 48px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.dec-ba-head .eyebrow { margin-bottom: 4px; }
.dec-ba-head .display-s { margin: 0; }
.dec-ba-head .body-m { color: var(--fg-mute); margin: 0; }
.dec-ba-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
  max-width: 820px;
  margin: 0 auto;
}
.dec-ba-col {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}
.dec-ba-col .dec-video { width: 300px; }
.dec-ba-label {
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.dec-ba-label > span:first-child {
  padding: 6px 14px;
  border-radius: 99px;
  border: 1px solid var(--line);
  color: var(--fg);
}
.dec-ba-label-before > span:first-child { color: var(--fg-mute); border-color: var(--line); }
.dec-ba-label-after > span:first-child { color: var(--accent); border-color: var(--accent-soft); background: color-mix(in oklch, var(--accent) 8%, transparent); }
.dec-ba-col figcaption {
  color: var(--fg-mute);
  font-size: 14px;
  line-height: 1.5;
  max-width: 320px;
  text-align: center;
}

/* Decisions zigzag grid */
.dec-grid {
  display: flex;
  flex-direction: column;
  gap: 140px;
}
.dec-card {
  display: grid;
  grid-template-columns: minmax(300px, 440px) 1fr;
  gap: 96px;
  align-items: center;
}
.dec-card:nth-child(even) {
  grid-template-columns: 1fr minmax(300px, 440px);
}
.dec-card:nth-child(even) .dec-media { order: 2; }
.dec-card:nth-child(even) .dec-body { order: 1; justify-self: end; }

.dec-media {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.dec-media::before {
  content: '';
  position: absolute;
  inset: -60px;
  background: radial-gradient(circle at 50% 50%, var(--accent-soft), transparent 60%);
  filter: blur(30px);
  opacity: 0.65;
  z-index: -1;
  pointer-events: none;
}
.dec-media .dec-video { width: 360px; }
.dec-media .dec-video--framed { width: 320px; }
.dec-video {
  position: relative;
  display: block;
  border-radius: 54px;
  overflow: hidden;
  box-shadow: 0 30px 80px -30px rgba(0,0,0,0.8),
              0 12px 28px -8px rgba(0,0,0,0.4);
  background: #000;
}
.dec-video video {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 54px;
}

/* Synthetic iPhone frame — for raw screen recordings without device chrome */
.dec-video--framed {
  padding: 12px;
  background: #0a0a0c;
  border-radius: 56px;
  box-shadow:
    0 30px 80px -30px rgba(0,0,0,0.9),
    0 12px 28px -8px rgba(0,0,0,0.5),
    0 0 80px -10px color-mix(in oklch, var(--accent) 35%, transparent),
    inset 0 0 0 1.5px rgba(255,255,255,0.08);
  position: relative;
}
.dec-video--framed video {
  border-radius: 44px;
  background: #000;
}
.dec-video--framed::before {
  content: '';
  position: absolute;
  top: 22px;
  left: 50%;
  transform: translateX(-50%);
  width: 32%;
  max-width: 120px;
  height: 30px;
  background: #000;
  border-radius: 99px;
  z-index: 2;
  pointer-events: none;
}
/* Crop variant — for detail shots (not full-phone recordings) */
.dec-card-crop .dec-media::before { opacity: 0.3; }
.dec-crop {
  position: relative;
  display: block;
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  border-radius: 28px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 24px 60px -20px rgba(0,0,0,0.6);
}
.dec-crop::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(to bottom, var(--bg) 0%, rgba(10,10,12,0.6) 40%, transparent 100%);
  z-index: 2;
  pointer-events: none;
}
.dec-crop::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100px;
  background: linear-gradient(to top, var(--bg) 0%, rgba(10,10,12,0.75) 35%, transparent 100%);
  z-index: 2;
  pointer-events: none;
}
.dec-crop video {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 28px;
}

.dec-body {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 20px 0;
  max-width: 520px;
}
.dec-tag {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  padding: 6px 13px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 99px;
  align-self: flex-start;
}
.dec-title {
  font-family: var(--sans);
  font-size: clamp(36px, 4.4vw, 56px);
  line-height: 1.05;
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--fg);
  margin: 6px 0 0;
}
.dec-body p {
  color: var(--fg);
  font-size: clamp(18px, 1.5vw, 22px);
  line-height: 1.45;
  margin: 0;
  max-width: 32ch;
}
.dec-meta-list {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
}
.dec-meta-list li {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 16px;
  align-items: baseline;
  font-size: 14px;
  line-height: 1.4;
  color: var(--fg);
}
.dec-meta-list li > span {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-mute);
}

/* ============ PROBLEM · Voces (evidencia cualitativa) ============ */
.p-voices {
  margin-top: 120px;
  padding-top: 80px;
  border-top: 1px solid var(--line);
}
.p-voices-head {
  max-width: 680px;
  margin: 0 auto 56px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.p-voices-head .display-s { margin: 4px 0 0; }
.p-voices-head .body-m { color: var(--fg-mute); }
.p-voices-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  max-width: 1040px;
  margin: 0 auto;
}

/* ==== Voices · carousel editorial (1 slide visible, prev/next) ==== */
.p-voices-carousel {
  position: relative;
  max-width: 920px;
  margin: 0 auto;
  padding: 0 64px;
}
.p-voices-carousel blockquote,
.p-voices-carousel blockquote::before,
.p-voices-carousel blockquote::after { quotes: none; content: none; }
.p-voice-quote::before, .p-voice-quote::after { content: none !important; }
.p-voices-track {
  position: relative;
  min-height: 360px;
}
.p-voice-slide {
  position: absolute;
  top: 0; left: 0; right: 0;
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: opacity .5s var(--ease-out), transform .5s var(--ease-out);
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.p-voice-slide.is-active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  position: relative;
}
.p-voice-mark {
  font-family: 'Times New Roman', Georgia, serif;
  font-size: 96px;
  line-height: 0.6;
  color: var(--accent);
  margin-bottom: 0;
  height: 44px;
  user-select: none;
}
.p-voice-quote {
  font-size: clamp(22px, 2.4vw, 32px);
  line-height: 1.4;
  letter-spacing: -0.015em;
  font-weight: 400;
  color: var(--fg);
  margin: 0;
  text-wrap: pretty;
  max-width: 720px;
}
.p-voice-attr {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.p-voice-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), oklch(0.55 0.2 330));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--bg-1);
  flex-shrink: 0;
  overflow: hidden;
}
.p-voice-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.p-voice-attr-body { display: flex; flex-direction: column; gap: 2px; }
.p-voice-name {
  font-size: 14px;
  font-weight: 500;
  color: var(--fg);
}
.p-voice-co {
  font-size: 12px;
  color: var(--fg-mute);
  font-family: var(--mono);
  letter-spacing: 0.04em;
}
.p-voices-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--fg);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .3s var(--ease-out), border-color .3s var(--ease-out), color .3s var(--ease-out);
}
.p-voices-nav:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--bg-1);
}
.p-voices-nav.prev { left: 0; }
.p-voices-nav.next { right: 0; }
.p-voices-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 32px;
}
.p-voices-dots button {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: var(--line-strong);
  cursor: pointer;
  transition: background .3s var(--ease-out), width .3s var(--ease-out);
}
.p-voices-dots button.is-active {
  background: var(--accent);
  width: 24px;
  border-radius: 3px;
}

/* Dark-mode variant (for Validación section) */
.validation .p-voices-carousel .p-voice-quote { color: var(--fg); }
.validation .p-voices-carousel .p-voices-nav { color: var(--fg); border-color: rgba(255,255,255,0.2); }
.validation .p-voices-carousel .p-voices-nav:hover { background: var(--accent); border-color: var(--accent); color: var(--bg-1); }

@media (max-width: 900px) {
  .p-voices { margin-top: 64px; padding-top: 48px; }
  .p-voices-head { margin-bottom: 40px; }
  .p-voices-row { grid-template-columns: 1fr; gap: 20px; }
  .p-voices-carousel { padding: 0 12px; }
  .p-voices-nav { width: 36px; height: 36px; }
  .p-voices-nav.prev { left: -4px; }
  .p-voices-nav.next { right: -4px; }
}

/* ============ VALIDATION · Phases timeline ============ */
.v-phases {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto 100px;
}
.v-phase {
  padding: 32px 28px 28px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: color-mix(in oklch, var(--fg) 2%, transparent);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform .3s ease, border-color .3s ease;
}
.v-phase:hover {
  transform: translateY(-3px);
  border-color: var(--accent-soft);
}
.v-phase-head {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.v-phase-num {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--accent);
}
.v-phase-meta {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-mute);
}
.v-phase-title {
  font-family: var(--sans);
  font-size: 20px;
  line-height: 1.25;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--fg);
  margin: 0;
}
.v-phase p {
  color: var(--fg-mute);
  font-size: 14.5px;
  line-height: 1.55;
  margin: 0;
}

.v-testimonials-head {
  max-width: 720px;
  margin: 40px auto 56px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.v-testimonials-head .display-s { margin: 4px 0 0; font-size: clamp(24px, 2.6vw, 32px); }

@media (max-width: 900px) {
  .v-phases { grid-template-columns: 1fr; gap: 16px; margin-bottom: 72px; }
  .v-phase { padding: 24px 22px; }
  .v-testimonials-head { margin: 24px auto 40px; }
}

/* ============ INTRO · experience logos ============ */
.intro-logos {
  margin-top: 120px;
  padding-top: 56px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}
.intro-logos-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-mute);
}
.intro-logos-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 88px;
  max-width: 100%;
}
.intro-logos-row img {
  max-height: 56px;
  width: auto;
  max-width: 220px;
  opacity: 0.55;
  filter: grayscale(1) brightness(1.8);
  transition: opacity .3s ease, filter .3s ease, transform .3s ease;
  object-fit: contain;
}
.intro-logos-row img:hover {
  opacity: 1;
  filter: grayscale(0) brightness(1);
  transform: translateY(-2px);
}
.intro-logos-divider {
  display: inline-block;
  width: 1px;
  height: 40px;
  background: var(--line-strong);
  flex-shrink: 0;
}
@media (max-width: 900px) {
  .intro-logos { margin-top: 72px; padding-top: 40px; gap: 24px; }
  .intro-logos-row { gap: 40px; }
  .intro-logos-row img { max-height: 40px; max-width: 160px; }
  .intro-logos-divider { height: 32px; }
}

/* ============ IMPACT · stats + feature adoption ============ */
.impact {
  padding: 180px 0 140px;
  border-top: 1px solid var(--line);
  position: relative;
}
.imp-header {
  max-width: 900px;
  margin-bottom: 120px;
}
.imp-header .display-m { line-height: 1.05; letter-spacing: -0.025em; }

.imp-group {
  margin-bottom: 56px;
  max-width: 1040px;
  margin-left: auto;
  margin-right: auto;
}
.imp-group-head {
  text-align: left;
  margin-bottom: 32px;
}

/* Unified card system (applies to all 5 impact metrics) */
.imp-cards {
  display: grid;
  gap: 20px;
}
.imp-cards-1 { grid-template-columns: 1fr; }
.imp-cards-2 { grid-template-columns: repeat(2, 1fr); }
.imp-cards-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 960px) {
  .imp-cards-3 { grid-template-columns: 1fr; }
}

/* Chart block (full-width visual evidence) */
.imp-chart {
  margin: 56px auto;
  max-width: 1040px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.imp-chart-frame {
  position: relative;
  background: #fff;
  border-radius: 16px;
  padding: 28px 24px 20px;
  overflow: hidden;
  aspect-ratio: 16 / 7;
  box-shadow:
    0 30px 80px -30px rgba(0,0,0,0.55),
    0 8px 20px -6px rgba(0,0,0,0.35),
    inset 0 0 0 1px rgba(0,0,0,0.06);
}
.imp-chart-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
}
.imp-chart-legend {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--fg-mute);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.imp-chart-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.imp-chart-legend-item .dot {
  width: 10px;
  height: 10px;
  border-radius: 99px;
  display: inline-block;
}
.imp-chart-legend-item .dot-legacy { background: #A4C63B; }
.imp-chart-legend-item .dot-async { background: #3C5DFA; }
.imp-chart-caption {
  font-size: 14px;
  color: var(--fg-mute);
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  line-height: 1.55;
}
.imp-card {
  position: relative;
  padding: 32px 32px 28px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: color-mix(in oklch, var(--fg) 2%, transparent);
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 260px;
  transition: transform .3s ease, border-color .3s ease;
}
.imp-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent-soft);
}
.imp-card-tag {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}
.imp-card-badge {
  position: absolute;
  top: 24px;
  right: 24px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  padding: 4px 10px;
  border-radius: 99px;
  border: 1px solid var(--accent-soft);
  background: color-mix(in oklch, var(--accent) 8%, transparent);
}
.imp-card-num {
  font-family: var(--sans);
  font-size: clamp(48px, 6vw, 80px);
  line-height: 1;
  font-weight: 500;
  letter-spacing: -0.03em;
  color: var(--fg);
  font-variant-numeric: tabular-nums;
  display: flex;
  align-items: baseline;
  margin-top: 4px;
}
.imp-card-sym {
  font-size: 0.5em;
  font-weight: 400;
  color: var(--fg-mute);
  margin-left: 2px;
  letter-spacing: 0;
}
.imp-card-label {
  font-size: clamp(16px, 1.25vw, 19px);
  line-height: 1.4;
  color: var(--fg);
  max-width: 32ch;
  margin-top: 2px;
}
.imp-card-meta {
  font-size: 13px;
  line-height: 1.5;
  color: var(--fg-mute);
  max-width: 38ch;
}
.imp-card-note {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  line-height: 1.5;
  color: var(--fg-mute);
}
.imp-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 56px;
  margin-bottom: 40px;
}
.imp-stats-single {
  grid-template-columns: 1fr;
  max-width: 520px;
  margin: 0 auto 40px;
  text-align: center;
}
.imp-stats-single .imp-stat { border-right: none; padding-right: 0; align-items: center; }
.imp-stats-single .imp-label { max-width: 420px; }
.imp-adoption-grid-2 {
  grid-template-columns: repeat(2, 1fr);
  max-width: 760px;
}
.imp-feature-note {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  line-height: 1.5;
  color: var(--fg-mute);
}
.imp-stat {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-right: 24px;
  border-right: 1px solid var(--line);
}
.imp-stat:last-child { border-right: none; padding-right: 0; }
.imp-num {
  font-family: var(--sans);
  font-size: clamp(56px, 7vw, 96px);
  line-height: 1;
  font-weight: 500;
  letter-spacing: -0.04em;
  color: var(--fg);
  font-variant-numeric: tabular-nums;
  display: flex;
  align-items: baseline;
}
.imp-sym {
  font-size: 0.55em;
  font-weight: 400;
  color: var(--fg-mute);
  margin-left: 2px;
  letter-spacing: 0;
}
.imp-label {
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.45;
  color: var(--fg);
  max-width: 28ch;
}
.imp-meta {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-mute);
  margin-top: auto;
  padding-top: 12px;
}

.imp-adoption-head {
  max-width: 780px;
  margin: 0 auto 64px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.imp-adoption-head .display-s { margin: 4px 0 0; }
.imp-adoption-head .body-m { color: var(--fg-mute); }
.imp-adoption-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1040px;
  margin: 0 auto;
}
.imp-feature {
  padding: 36px 32px 28px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: color-mix(in oklch, var(--fg) 2%, transparent);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform .3s ease, border-color .3s ease;
  position: relative;
}
.imp-feature:hover {
  transform: translateY(-3px);
  border-color: var(--accent-soft);
}
.imp-feature-name {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}
.imp-feature-num {
  font-family: var(--sans);
  font-size: clamp(40px, 4.5vw, 56px);
  line-height: 1;
  font-weight: 500;
  letter-spacing: -0.03em;
  color: var(--fg);
  font-variant-numeric: tabular-nums;
  display: flex;
  align-items: baseline;
  margin-top: 4px;
}
.imp-feature-meta {
  font-size: 14px;
  color: var(--fg-mute);
  margin-top: 4px;
}
.imp-feature-tag {
  position: absolute;
  top: 18px;
  right: 18px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  padding: 4px 9px;
  border: 1px solid var(--accent-soft);
  border-radius: 99px;
}

@media (max-width: 900px) {
  .impact { padding: 100px 0 80px; }
  .imp-header { margin-bottom: 72px; }
  .imp-stats { grid-template-columns: 1fr; gap: 40px; margin-bottom: 80px; }
  .imp-stat { border-right: none; border-bottom: 1px solid var(--line); padding: 0 0 32px; }
  .imp-stat:last-child { border-bottom: none; padding-bottom: 0; }
  .imp-adoption-grid { grid-template-columns: 1fr; gap: 16px; }
}

/* ============ FOOTER credit ============ */
.f-credit {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
  font-family: var(--sans);
  font-size: clamp(22px, 2.2vw, 32px);
  line-height: 1.2;
  letter-spacing: -0.015em;
  font-weight: 500;
}
.f-credit-label { color: #fff; }
.f-credit-with { color: rgba(255,255,255,0.6); font-weight: 400; }
.f-credit-tool {
  color: #fff;
  font-family: var(--mono);
  font-size: 0.8em;
  letter-spacing: 0.02em;
  padding: 4px 14px;
  border-radius: 99px;
  border: 1px solid rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.1);
}

/* Decisiones clave — principles grid */
.dec-principles {
  margin-top: 160px;
  padding-top: 100px;
  border-top: 1px solid var(--line);
}
.dec-principles-head {
  max-width: 720px;
  margin: 0 auto 72px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.dec-principles-head .display-s { margin: 4px 0 0; }
.dec-principles-head .body-m { color: var(--fg-mute); }
.dec-principles-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  max-width: 1040px;
  margin: 0 auto;
}
.dec-principle {
  position: relative;
  padding: 36px 32px 32px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: color-mix(in oklch, var(--fg) 2%, transparent);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform .3s ease, border-color .3s ease, background .3s ease;
}
.dec-principle:hover {
  transform: translateY(-3px);
  border-color: var(--accent-soft);
  background: color-mix(in oklch, var(--accent) 4%, transparent);
}
.dec-principle-num {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--accent);
}
.dec-principle-title {
  font-family: var(--sans);
  font-size: 22px;
  line-height: 1.2;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--fg);
  margin: 2px 0 0;
}
.dec-principle p {
  color: var(--fg-mute);
  font-size: 15px;
  line-height: 1.55;
  margin: 0;
}

@media (max-width: 900px) {
  .dec-principles { margin-top: 80px; padding-top: 56px; }
  .dec-principles-head { margin-bottom: 48px; }
  .dec-principles-grid { grid-template-columns: 1fr; gap: 20px; }
  .dec-principle { padding: 28px 24px 24px; }
}

@media (max-width: 900px) {
  .decisions { padding: 100px 0 80px; }
  .dec-header { margin-bottom: 72px; }
  .dec-ba { margin-bottom: 100px; }
  .dec-ba-grid { grid-template-columns: 1fr; gap: 48px; }
  .dec-ba-col .dec-video { width: 260px; }
  .dec-grid { gap: 72px; }
  .dec-card,
  .dec-card:nth-child(even) {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .dec-card:nth-child(even) .dec-media { order: 0; }
  .dec-card:nth-child(even) .dec-body { order: 0; justify-self: start; }
  .dec-body { transform: none !important; }
  .dec-media .dec-video { width: 260px; }
}

@media (max-width: 900px) {
  .exploration { padding: 80px 0; }
  .exp-grid { gap: 32px; }
  .exp-card,
  .exp-card:nth-child(even) {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .exp-card:nth-child(even) .exp-media { order: 0; }
  .exp-card:nth-child(even) .exp-body { order: 0; }
  .exp-media,
  .exp-card:nth-child(even) .exp-media {
    padding: 40px 16px;
    border-right: none;
    border-left: none;
    border-bottom: 1px solid var(--line);
  }
  .exp-phone { width: 220px; }
  .exp-body,
  .exp-card:nth-child(even) .exp-body {
    padding: 28px 24px 32px;
  }
  .exp-proscons { grid-template-columns: 1fr; gap: 20px; }
  .exp-title { font-size: 22px; }
}

/* Mobile — degrada a stack vertical */
@media (max-width: 900px) {
  .discovery { padding: 80px 0 40px; }
  .disc-intro { margin-bottom: 48px; }
  .disc-sticky-wrap {
    height: auto;
  }
  .disc-sticky-inner {
    position: static;
    height: auto;
    overflow: visible;
    display: block;
  }
  .disc-track {
    flex-direction: column;
    gap: 32px;
    padding: 0 20px;
    transform: none !important;
  }
  .disc-card {
    width: 100%;
    min-height: auto;
    grid-template-columns: 1fr;
  }
  .disc-card-text {
    padding: 32px 24px;
    border-right: none;
    border-bottom: 1px solid var(--line);
  }
  .disc-card-figure img {
    max-height: 280px;
  }
  .disc-progress { display: none; }
}

/* =================================================
   LIGHTBOX — modal para artefactos ampliados
   ================================================= */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(12px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .35s ease, visibility 0s .35s;
}
.lightbox.open {
  opacity: 1;
  visibility: visible;
  transition: opacity .35s ease, visibility 0s 0s;
}
.lightbox-inner {
  position: relative;
  max-width: 90vw;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}
.lightbox-img {
  max-width: 100%;
  max-height: 75vh;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 40px 120px rgba(0,0,0,0.6);
  transform: scale(0.95);
  transition: transform .4s cubic-bezier(0.22, 1, 0.36, 1);
}
.lightbox.open .lightbox-img {
  transform: scale(1);
}
.lightbox-caption {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.15em;
  color: #F4F5F7;
  text-align: center;
  max-width: 600px;
}
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: rgba(255,255,255,0.05);
  color: var(--fg);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s, transform .2s, border-color .2s;
}
.lightbox-close:hover {
  background: var(--accent-soft);
  border-color: var(--accent);
  transform: rotate(90deg);
}

/* =================================================
   VALIDATION SECTION — quotes de solución con parallax
   ================================================= */
.validation {
  position: relative;
  padding: 160px 0 200px;
  overflow: hidden;
}
.validation .container {
  position: relative;
  z-index: 2;
}
.v-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 100px;
}


/* Stage con cards diagonales */
.v-stage {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  max-width: 1100px;
  margin: 0 auto;
  align-items: start;
}

.v-card {
  position: relative;
  background: linear-gradient(180deg, var(--bg-2), var(--bg-1));
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 36px 34px;
  will-change: transform;
  transition: border-color .3s, box-shadow .3s;
  z-index: 2;
}
.v-card:hover {
  border-color: var(--accent);
  box-shadow:
    0 30px 80px rgba(0,0,0,0.4),
    0 0 80px var(--accent-soft);
}
/* Posicionamiento diagonal: una arriba, otra abajo */
.v-card-1 { margin-top: 0; transform: translateY(0); }
.v-card-2 { margin-top: 120px; }

.v-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fg-mute);
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.v-num {
  color: var(--accent);
  font-weight: 500;
}

.v-quote {
  font-family: var(--sans, inherit);
  font-size: 19px;
  line-height: 1.55;
  color: var(--fg);
  margin: 0 0 32px;
  font-weight: 400;
  letter-spacing: -0.01em;
}

.v-attr {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.v-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), oklch(0.55 0.2 330));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--bg-1);
  flex-shrink: 0;
  overflow: hidden;
}
.v-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.v-attr-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.v-name {
  font-size: 14px;
  font-weight: 500;
  color: var(--fg);
}
.v-role {
  font-size: 12px;
  color: var(--fg-dim);
}
.v-co {
  font-size: 11px;
  color: var(--fg-mute);
  font-family: var(--mono);
  letter-spacing: 0.04em;
}

@media (max-width: 820px) {
  .validation { padding: 100px 0 120px; }
  .v-stage { grid-template-columns: 1fr; gap: 40px; }
  .v-card-2 { margin-top: 0; }
}

/* =================================================
   UTIL
   ================================================= */
.hide-hover {
  background: var(--bg-2);
  color: var(--fg-mute);
}
.mono { font-family: var(--mono); }
.accent { color: var(--accent); }
