/* =========================================================
   CMF EVOLUTION 2026 — Editorial Ink
   Paleta y tipografía del brand book oficial
   ========================================================= */

:root {
  /* Editorial Ink palette */
  --bg:        #EAE5DE;   /* Bone light */
  --bg-warm:   #DDD3C2;   /* Stone warm */
  --bg-soft:   #F2D7B5;   /* Soft Sand */
  --bg-cream:  #FFF7E6;   /* Off white */
  --ink:       #14110F;   /* Text on light */
  --ink-soft:  #3A322A;
  --ink-mute:  rgba(20, 17, 15, 0.55);
  --ink-faint: rgba(20, 17, 15, 0.16);
  --ink-line:  rgba(20, 17, 15, 0.10);

  --bg-deep:   #0A0908;   /* Ink black */
  --bg-dark:   #1A1612;   /* Deep umber */
  --on-dark:        #EAE5DE;
  --on-dark-mute:   rgba(234, 229, 222, 0.62);
  --on-dark-faint:  rgba(234, 229, 222, 0.18);

  --orange:    #F36A2D;   /* Evolution Orange (leader) */
  --orange-2:  #D85B23;
  --coral:     #E64A2E;   /* Coral Heat */
  --terracotta:#B94B28;   /* Terracotta */
  --peach:     #F7B66D;   /* Peach skin */
  --amber:     #FFD36A;   /* Amber light */

  /* Type */
  --f-display: 'Sora', ui-sans-serif, system-ui, sans-serif;
  --f-body:    'Manrope', ui-sans-serif, system-ui, sans-serif;
  --f-mono:    'JetBrains Mono', ui-monospace, monospace;

  /* Sizing */
  --container: 1320px;
  --gutter: clamp(20px, 4vw, 56px);

  /* Motion */
  --ease:     cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: auto; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--f-body);
  font-weight: 400;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: 'ss01';
  position: relative;
}

/* Editorial paper grain — sits between bg and content, blends both light/dark sections */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 50;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='280' height='280'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3CfeComponentTransfer%3E%3CfeFuncA type='linear' slope='0.55'/%3E%3C/feComponentTransfer%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 280px 280px;
  opacity: 0.18;
  mix-blend-mode: overlay;
}
@media (prefers-reduced-motion: reduce) {
  body::after { opacity: 0.1; }
}

img { max-width: 100%; display: block; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }

::selection { background: var(--orange); color: var(--bg-cream); }

/* =========================================================
   UTILS
   ========================================================= */

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

.mono {
  font-family: var(--f-mono);
  letter-spacing: 0.04em;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  font-weight: 500;
}
.kicker::before {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--orange);
  display: inline-block;
}
.kicker--light { color: var(--peach); }
.kicker--light::before { background: var(--peach); }

.section-head {
  max-width: 920px;
  margin-bottom: clamp(56px, 9vw, 112px);
}

.section-title {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(38px, 5.4vw, 84px);
  line-height: 0.95;
  letter-spacing: -0.025em;
  margin: 22px 0 28px;
  text-wrap: balance;
}
.section-title em {
  font-style: italic;
  font-weight: 800;
  color: var(--orange);
  display: block;
}

.section-lead {
  font-size: clamp(17px, 1.5vw, 21px);
  color: var(--ink-soft);
  max-width: 640px;
  line-height: 1.55;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  color: var(--orange);
  border-bottom: 1px solid currentColor;
  padding-bottom: 6px;
  margin-top: 28px;
  transition: gap 0.3s var(--ease), opacity 0.3s var(--ease);
  font-weight: 500;
}
.link-arrow:hover { gap: 18px; opacity: 0.85; }

/* =========================================================
   BUTTONS
   ========================================================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 18px 30px;
  font-family: var(--f-display);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.005em;
  border-radius: 0;
  transition: background 0.4s var(--ease), color 0.4s var(--ease), transform 0.4s var(--ease);
  position: relative;
  overflow: hidden;
  will-change: transform;
  white-space: nowrap;
  border: 1px solid transparent;
}
.btn svg { width: 18px; height: 18px; transition: transform 0.4s var(--ease); }
.btn:hover svg { transform: translateX(5px); }

.btn--accent {
  background: var(--orange);
  color: var(--bg-cream);
}
.btn--accent:hover { background: var(--orange-2); }

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink-faint);
}
.btn--ghost:hover { border-color: var(--ink); background: var(--ink); color: var(--bg-cream); }

.btn--outline {
  background: transparent;
  color: var(--orange);
  border: 1px solid var(--orange);
}
.btn--outline:hover { background: var(--orange); color: var(--bg-cream); }

.btn--small { padding: 12px 22px; font-size: 13px; }
.btn--full { width: 100%; }
.btn--xl { padding: 24px 42px; font-size: 17px; }

/* =========================================================
   LOADER
   ========================================================= */

.loader {
  position: fixed;
  inset: 0;
  background: var(--bg-deep);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--gutter);
  transition: opacity 0.6s var(--ease), transform 0.9s var(--ease);
}
.loader.is-done {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-100%);
}
.loader__inner {
  width: 100%;
  max-width: 480px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.loader__wordmark {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 36px;
  letter-spacing: -0.015em;
  color: var(--on-dark);
}
.loader__wordmark em { color: var(--orange); font-style: italic; font-weight: 800; }
.loader__bar {
  height: 1px;
  background: var(--on-dark-faint);
  position: relative;
  overflow: hidden;
}
.loader__bar-fill {
  position: absolute;
  inset: 0 100% 0 0;
  background: var(--orange);
  transition: right 0.25s linear;
}
.loader__meta {
  display: flex;
  justify-content: space-between;
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--on-dark-mute);
}

/* =========================================================
   CURSOR
   ========================================================= */

.cursor {
  position: fixed;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--orange);
  pointer-events: none;
  z-index: 9998;
  mix-blend-mode: multiply;
  transform: translate(-50%, -50%);
  transition: width 0.3s var(--ease), height 0.3s var(--ease), opacity 0.3s var(--ease), background 0.3s var(--ease);
  opacity: 0;
}
.cursor.is-visible { opacity: 1; }
.cursor.is-hover { width: 56px; height: 56px; }
@media (hover: none) { .cursor { display: none; } }

/* =========================================================
   NAV
   ========================================================= */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px var(--gutter);
  z-index: 100;
  transition: background 0.4s var(--ease), backdrop-filter 0.4s var(--ease), padding 0.4s var(--ease), border-color 0.4s var(--ease), color 0.4s var(--ease);
  border-bottom: 1px solid transparent;
  /* default: light text (sits on top of the dark hero) */
  color: var(--on-dark);
}
.nav.is-scrolled {
  background: rgba(234, 229, 222, 0.85);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  padding-top: 14px;
  padding-bottom: 14px;
  border-bottom-color: var(--ink-line);
  color: var(--ink);
}

.nav__logo {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.015em;
  color: var(--on-dark);
  transition: color 0.4s var(--ease);
}
.nav.is-scrolled .nav__logo { color: var(--ink); }
.nav__logo em { color: var(--orange); font-style: italic; font-weight: 800; }

.nav__links {
  display: flex;
  gap: 32px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(234, 229, 222, 0.72);
  transition: color 0.4s var(--ease);
}
.nav.is-scrolled .nav__links { color: var(--ink-soft); }
.nav__links a {
  position: relative;
  padding: 6px 0;
  transition: color 0.3s var(--ease);
}
.nav__links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  height: 1px; width: 0;
  background: var(--orange);
  transition: width 0.4s var(--ease);
}
.nav__links a:hover { color: var(--on-dark); }
.nav.is-scrolled .nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after { width: 100%; }

.nav__actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--f-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  padding: 9px 14px;
  border: 1px solid rgba(234, 229, 222, 0.22);
  transition: border-color 0.3s var(--ease);
  color: var(--on-dark);
}
.lang-toggle:hover { border-color: var(--on-dark); }
.nav.is-scrolled .lang-toggle { border-color: var(--ink-faint); color: var(--ink); }
.nav.is-scrolled .lang-toggle:hover { border-color: var(--ink); }
.lang-toggle__option { opacity: 0.45; transition: opacity 0.3s var(--ease); }
.lang-toggle__option.is-active { opacity: 1; color: var(--orange); }
.lang-toggle__sep { opacity: 0.3; }

.nav__burger {
  display: none;
  width: 36px; height: 36px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
.nav__burger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--on-dark);
  transition: transform 0.4s var(--ease), opacity 0.3s var(--ease), background 0.4s var(--ease);
}
.nav.is-scrolled .nav__burger span { background: var(--ink); }
.nav__burger.is-open span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav__burger.is-open span:last-child { transform: translateY(-3px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--bg-deep);          /* fondo negro */
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s var(--ease);
}
.mobile-menu.is-open { opacity: 1; pointer-events: all; }
.mobile-menu__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 32px;
  text-align: center;
  letter-spacing: -0.01em;
  color: var(--on-dark);              /* texto blanco sobre fondo negro */
}
.mobile-menu__inner a { color: var(--on-dark); transition: color 0.3s var(--ease); }
.mobile-menu__inner a:hover { color: var(--orange); }
.mobile-menu__inner .btn { font-size: 16px; margin-top: 12px; }

/* Menú móvil abierto: el header queda ENCIMA del overlay negro → forzar sus elementos
   a claro (en estado "scrolled" eran oscuros y quedaban invisibles sobre el negro). */
html.is-menu-open .nav.is-scrolled {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom-color: transparent;
  color: var(--on-dark);
}
html.is-menu-open .nav__burger span,
html.is-menu-open .nav.is-scrolled .nav__burger span { background: var(--on-dark); }
html.is-menu-open .nav.is-scrolled .nav__logo { color: var(--on-dark); }
html.is-menu-open .nav.is-scrolled .lang-toggle { color: var(--on-dark); border-color: var(--on-dark-faint); }
html.is-menu-open .nav.is-scrolled .lang-toggle:hover { border-color: var(--on-dark); }

/* =========================================================
   HERO
   ========================================================= */

.hero {
  /* Override --gutter inside the hero so padding extends edge-to-edge while
     content stays bounded by --container. All children that already use
     var(--gutter) (chrome, bars, scroll) align with the new padding automatically. */
  --gutter: max(clamp(20px, 4vw, 56px), calc((100vw - var(--container)) / 2 + clamp(20px, 4vw, 56px)));
  position: relative;
  /* Alto = pantalla visible (svh evita el salto por barras de navegador en móvil),
     con un tope para pantallas excesivamente altas. Así la portada siempre
     cubre el alto visible sin estirarse de más en monitores gigantes. */
  min-height: 100vh;
  min-height: 100svh;
  max-height: 1080px;
  padding: 120px var(--gutter) 72px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--bg-deep);
  color: var(--on-dark);
  overflow: hidden;
}

/* Imagen de portada (activo central de marca) — funde con el fondo negro */
.hero__portada {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 58%;
  z-index: 0;
  pointer-events: none;
}
.hero__portada img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  opacity: 0.62;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,0.6) 35%, #000 75%);
  mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,0.6) 35%, #000 75%);
}
/* keep all hero content above the portada */
.hero > *:not(.hero__portada) { position: relative; z-index: 1; }
@media (max-width: 880px) {
  .hero__portada { width: 100%; opacity: 0.9; }
  .hero__portada img {
    opacity: 0.28;
    object-position: top center;
    -webkit-mask-image: linear-gradient(to bottom, #000 0%, rgba(0,0,0,0.3) 60%, transparent 100%);
    mask-image: linear-gradient(to bottom, #000 0%, rgba(0,0,0,0.3) 60%, transparent 100%);
  }
}

.hero__chrome {
  position: absolute;
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--on-dark-mute);
}
.chrome-tl { top: 100px; left: var(--gutter); }
.chrome-tr { top: 100px; right: var(--gutter); }

.hero__bars {
  position: absolute;
  top: 130px;
  right: var(--gutter);
  display: flex;
  gap: 8px;
  pointer-events: none;
}
.hero__bars span {
  display: block;
  width: 3px;
  background: var(--orange);
  opacity: 0;
}
.hero__bars span:nth-child(1) { height: 48px; }
.hero__bars span:nth-child(2) { height: 72px; }
.hero__bars span:nth-child(3) { height: 56px; }
.hero__bars span:nth-child(4) { height: 96px; }
.hero__bars span:nth-child(5) { height: 64px; }

.hero__meta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--f-mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--on-dark);
  margin-bottom: 40px;
  padding: 10px 16px;
  border: 1px solid rgba(234, 229, 222, 0.16);
  width: max-content;
  background: rgba(234, 229, 222, 0.04);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 0 var(--orange);
  animation: pulse 2.2s var(--ease) infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(243, 106, 45, 0.55); }
  100% { box-shadow: 0 0 0 16px rgba(243, 106, 45, 0); }
}

.hero__title {
  font-family: var(--f-display);
  font-weight: 700;
  /* Scale dynamically so "transformación" (longest word) always fits in one line.
     Drops to ~34px on a 320px viewport, climbs to 152px on ultra-wide. */
  font-size: clamp(34px, 7.6vw, 116px);
  line-height: 0.95;
  letter-spacing: -0.045em;
  margin-bottom: 48px;
  color: var(--on-dark);
  max-width: 100%;
}
.hero__title em {
  font-style: italic;
  font-weight: 800;
  color: var(--orange);
}
.reveal-line { display: block; overflow: hidden; }
.reveal-line > span {
  display: block;
  transform: translateY(110%);
  white-space: nowrap; /* prevent splitting "transformación" between lines */
}

.hero__lead {
  font-size: clamp(18px, 1.6vw, 22px);
  color: var(--on-dark);
  opacity: 0.78;
  max-width: 600px;
  margin-bottom: 56px;
  line-height: 1.5;
}

.hero__cta {
  display: flex;
  gap: 14px;
  margin-bottom: 110px;
  flex-wrap: wrap;
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  padding-top: 36px;
  border-top: 1px solid var(--on-dark-faint);
}
.hero .stat {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-right: 24px;
  border-right: 1px solid var(--on-dark-faint);
}
.hero .stat:last-child { border-right: 0; padding-right: 0; }
.hero .stat__num {
  font-family: var(--f-display);
  font-size: clamp(44px, 4.5vw, 72px);
  line-height: 1;
  letter-spacing: -0.025em;
  font-weight: 700;
  color: var(--on-dark);
  font-feature-settings: 'tnum';
}
.hero .stat__lbl {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--on-dark-mute);
  font-weight: 500;
}

.hero .btn--ghost {
  color: var(--on-dark);
  border-color: rgba(234, 229, 222, 0.22);
}
.hero .btn--ghost:hover {
  background: rgba(234, 229, 222, 0.08);
  border-color: var(--on-dark);
  color: var(--on-dark);
}

.hero__scroll {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin: 36px auto 0;       /* centrado, debajo de los stats */
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--on-dark-mute);
  transition: color 0.3s var(--ease);
}
.hero__scroll:hover { color: var(--on-dark); }
.hero__scroll svg { width: 18px; height: 18px; animation: bounce 2.2s var(--ease) infinite; }
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

/* =========================================================
   MARQUEE
   ========================================================= */

.marquee {
  border-top: 1px solid var(--ink-faint);
  border-bottom: 1px solid var(--ink-faint);
  overflow: hidden;
  padding: 32px 0;
  background: var(--bg-warm);
}
.marquee__track {
  display: flex;
  gap: 56px;
  white-space: nowrap;
  animation: marquee 28s linear infinite;
  font-family: var(--f-display);
  font-weight: 600;
  font-size: clamp(36px, 4.5vw, 64px);
  letter-spacing: -0.015em;
  color: var(--ink);
  line-height: 1;
}
.marquee__track em { color: var(--orange); font-style: normal; margin: 0 1.1em; }
.marquee__track > span { display: inline-block; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* =========================================================
   CONCEPTO (3 pillars)
   ========================================================= */

.concepto {
  padding: clamp(96px, 14vw, 180px) 0;
  position: relative;
}

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--ink-faint);
}
.pillar {
  padding: 48px 36px 32px 0;
  border-right: 1px solid var(--ink-faint);
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  min-height: 360px;
}
.pillar:last-child { border-right: 0; padding-right: 0; }
.pillar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--orange);
  transition: width 0.6s var(--ease);
}
.pillar:hover::before { width: 60px; }

.pillar__num {
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  font-weight: 500;
  margin-bottom: 8px;
}
.pillar__title {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(28px, 2.5vw, 36px);
  line-height: 1.05;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.pillar p {
  font-size: 16px;
  color: var(--ink-soft);
  line-height: 1.55;
  max-width: 36ch;
}

/* =========================================================
   ENFOQUES (5 días — grilla compacta estilo programa)
   ========================================================= */

.enfoques {
  padding: clamp(80px, 11vw, 150px) 0;
  background: var(--bg-warm);
  border-top: 1px solid var(--ink-faint);
  border-bottom: 1px solid var(--ink-faint);
}

.enfoques__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  margin-top: 40px;
  border-top: 1px solid var(--ink-faint);
}

.enfoque-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 32px 16px 28px;
  border-right: 1px solid var(--ink-faint);
  /* evita que una palabra larga (p. ej. "Reconstrucción") ensanche
     su columna respecto a las demás en anchos intermedios */
  min-width: 0;
  /* estado inicial de la animación de entrada (abajo→arriba, secuencial) */
  opacity: 0;
  transform: translateY(34px);
}
.enfoque-card:last-child { border-right: 0; }
.enfoque-card.is-in {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  transition-delay: calc(var(--i) * 0.11s);   /* secuencial, uno detrás de otro */
}

.enfoque-card__top {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.enfoque-card__num {
  font-family: var(--f-display);
  font-size: clamp(56px, 6vw, 92px);
  line-height: 0.9;
  letter-spacing: -0.045em;
  font-weight: 700;
  color: var(--ink);
  font-feature-settings: 'tnum';
}
.enfoque-card__num em { font-style: italic; font-weight: 800; color: var(--orange); }
.enfoque-card__date {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

.enfoque-card__photo {
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--bg-cream);
  position: relative;
  margin-top: 4px;
}
.enfoque-card__photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  filter: contrast(1.02);
  transition: filter 0.6s var(--ease), transform 0.9s var(--ease);
}
.enfoque-card:hover .enfoque-card__photo img {
  transform: scale(1.04);
}

.enfoque-card__keylabel {
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange);
  font-weight: 500;
  display: block;
  margin-top: 6px;
}
.enfoque-card__speaker {
  font-family: var(--f-body);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: -0.005em;
  color: var(--ink-soft);
}
.enfoque-card__speaker em {
  font-style: normal;
  font-weight: 700;
  color: var(--orange);
  margin-left: 4px;
}
/* Coma separadora naranja en títulos (es un <span> aparte, sobrevive al toggle de idioma) */
.comma { color: var(--orange); font-style: normal; }

.enfoque-card__title {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(18px, 1.5vw, 23px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-top: 2px;
  /* si una palabra no cabe en la columna, que parta con guion en vez
     de ensanchar la card */
  overflow-wrap: break-word;
  hyphens: auto;
}

.enfoques__cta {
  display: flex;
  justify-content: center;
  margin-top: 48px;
}

/* respeta usuarios con motion reducido */
@media (prefers-reduced-motion: reduce) {
  .enfoque-card { opacity: 1; transform: none; }
}

/* =========================================================
   PROGRAMA (agenda con tabs)
   ========================================================= */

.programa {
  padding: clamp(96px, 14vw, 180px) 0;
}

.programa__tabs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  margin-bottom: 64px;
  border-top: 1px solid var(--ink-faint);
  border-bottom: 1px solid var(--ink-faint);
}
.programa__tab {
  padding: 24px 20px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: var(--ink-soft);
  border-right: 1px solid var(--ink-faint);
  transition: background 0.4s var(--ease), color 0.4s var(--ease);
  position: relative;
}
.programa__tab:last-child { border-right: 0; }
.programa__tab::after {
  content: '';
  position: absolute;
  left: 0; bottom: -1px; right: 0;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.programa__tab:hover::after { transform: scaleX(0.4); }
.programa__tab.is-active::after { transform: scaleX(1); }
.programa__tab.is-active { color: var(--ink); }
.programa__tab-num {
  font-family: var(--f-display);
  font-size: 30px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  font-feature-settings: 'tnum';
}
.programa__tab-num em { font-style: italic; font-weight: 800; color: var(--orange); }
.programa__tab-lbl {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.programa__panel { display: none; }
.programa__panel.is-active { display: block; animation: fadeUp 0.5s var(--ease) both; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Header de agenda: título + botón descargar PDF */
.programa__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
  margin-bottom: clamp(48px, 7vw, 88px);
}
.programa__head .section-head--inline { margin-bottom: 0; }
.programa__pdf { flex-shrink: 0; margin-bottom: 6px; }
@media (max-width: 640px) {
  .programa__pdf { width: 100%; }
}

/* Imagen destacada temática por día */
.programa__feature {
  position: relative;
  width: 100%;
  aspect-ratio: 21 / 9;
  overflow: hidden;
  margin-bottom: 40px;
  background: var(--bg-warm);
  border: 1px solid var(--ink-faint);
}
.programa__feature img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.25) contrast(1.03);
  transition: filter 0.6s var(--ease), transform 1s var(--ease);
}
.programa__feature:hover img { filter: grayscale(0) contrast(1.02); transform: scale(1.02); }
/* Título sobre la imagen con gradiente abajo→arriba */
.programa__feature-title {
  position: absolute;
  inset: auto 0 0 0;
  padding: clamp(40px, 8vw, 88px) clamp(20px, 4vw, 44px) clamp(18px, 3vw, 32px);
  background: linear-gradient(to top, rgba(10, 9, 8, 0.82) 0%, rgba(10, 9, 8, 0.5) 45%, transparent 100%);
  pointer-events: none;
}
.programa__feature-title > span {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(18px, 2.4vw, 32px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--on-dark);
  text-wrap: balance;
  display: block;
  max-width: 28ch;
}

.schedule { display: flex; flex-direction: column; }
.session {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 36px;
  padding: 22px 0;
  border-top: 1px solid var(--ink-faint);
  align-items: baseline;
  transition: padding-left 0.4s var(--ease);
}
.session:hover { padding-left: 12px; }
.session:last-child { border-bottom: 1px solid var(--ink-faint); }

.session .time {
  font-size: 15px;
  color: var(--orange);
  font-weight: 500;
  font-feature-settings: 'tnum';
}
.session h4 {
  font-family: var(--f-display);
  font-size: clamp(18px, 1.6vw, 22px);
  font-weight: 600;
  letter-spacing: -0.005em;
  color: var(--ink);
  line-height: 1.25;
  margin-bottom: 6px;
}
.session p {
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.4;
}
/* Country flags — Manrope bold, orange (brand book) */
.flag,
.session .flag,
.leadership-card__hosts .flag {
  font-family: var(--f-body);
  font-weight: 700;
  font-size: 0.82em;
  letter-spacing: 0.02em;
  color: var(--orange);
  margin-left: 5px;
}
.session__by {
  font-size: 15px;
  color: var(--ink);
  font-weight: 500;
  line-height: 1.4;
  margin-top: 4px;
}

.session--break .time { color: var(--ink-mute); }
.session--break h4 { font-style: italic; font-weight: 400; color: var(--ink-mute); }
.session--lecture h4 { color: var(--terracotta); }

/* Evento especial del día — bloque naranja destacado */
.session--special {
  background: rgba(243, 106, 45, 0.07);
  border-top: 1px solid var(--orange);
  border-bottom: 1px solid var(--orange);
  padding-left: 20px;
  padding-right: 20px;
  margin: 6px 0;
}
.session--special:hover { padding-left: 28px; }
.session__badge {
  display: inline-block;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
  font-weight: 500;
  margin-bottom: 8px;
}
.session--special h4 { color: var(--ink); }

/* Grupo destacado dentro de un día (ej. "Tarde con Ingenieros") */
.schedule-group {
  border: 1px solid rgba(243, 106, 45, 0.35);
  background: rgba(243, 106, 45, 0.045);
  padding: 8px 24px 12px;
  margin: 16px 0;
}
.schedule-group__head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 0 8px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
  font-weight: 500;
}
.schedule-group__head svg { width: 16px; height: 16px; }
.schedule-group .session:first-of-type { border-top: 1px solid var(--ink-faint); }
.schedule-group .session:last-child { border-bottom: 0; }

/* ---- Día 3 · sub-tabs Auditorio A / B (actividades en paralelo) ---- */
.programa__subtabs {
  display: inline-flex;
  flex-wrap: wrap;
  margin-bottom: 36px;
  border: 1px solid var(--ink-faint);
}
.programa__subtab {
  padding: 14px 24px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  text-align: left;
  color: var(--ink-mute);
  border-right: 1px solid var(--ink-faint);
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}
.programa__subtab:last-child { border-right: 0; }
.programa__subtab:hover { color: var(--ink); }
.programa__subtab.is-active { background: var(--ink); color: var(--bg-cream); }
.programa__subtab-aud {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
}
.programa__subtab-name {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.01em;
}

/* Tracks A/B dentro del panel del día 3 */
.programa__track { display: none; }
.programa__track.is-active { display: block; animation: fadeUp 0.4s var(--ease) both; }

/* Nota "en paralelo" del track B (en vez de imagen destacada) */
.programa__parallel {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 22px 26px;
  margin-bottom: 40px;
  background: rgba(243, 106, 45, 0.06);
  border: 1px solid rgba(243, 106, 45, 0.3);
}
.programa__parallel-k {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
}
.programa__parallel p {
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink-soft);
}
.programa__parallel strong { color: var(--ink); font-weight: 600; }

/* Lista numerada de temas dentro de una sesión especial (Mini Curso) */
.session__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 4px 0 6px;
}
.session__list li {
  font-size: 14px;
  line-height: 1.4;
  color: var(--ink-soft);
}

@media (max-width: 640px) {
  .programa__subtabs { display: flex; width: 100%; }
  .programa__subtab { flex: 1; padding: 12px 14px; }
  .programa__subtab-name { font-size: 13px; }
}
@media (max-width: 640px) {
  .schedule-group { padding: 8px 14px 10px; }
}

/* Navegación Anterior / Siguiente del programa */
.programa__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--ink-faint);
}
.programa__navbtn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.005em;
  color: var(--ink);
  padding: 12px 22px;
  border: 1px solid var(--ink-faint);
  background: transparent;
  cursor: pointer;
  transition: background 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease);
}
.programa__navbtn:hover { background: var(--ink); color: var(--bg-cream); border-color: var(--ink); }
.programa__navbtn svg { width: 18px; height: 18px; }
.programa__nav-current {
  font-size: 13px;
  letter-spacing: 0.12em;
  color: var(--ink-mute);
  text-transform: uppercase;
}
@media (max-width: 640px) {
  .programa__navbtn span { display: none; }
  .programa__navbtn { padding: 12px 16px; }
}

/* =========================================================
   HIGHLIGHT (dark — presidential lecture)
   ========================================================= */

.highlight {
  padding: clamp(96px, 14vw, 180px) 0;
  background: var(--bg-deep);
  color: var(--on-dark);
}
.highlight__grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 80px;
  align-items: stretch;
}
.highlight__left {
  display: flex;
  flex-direction: column;
  gap: 32px;
  justify-content: space-between;
  padding-right: 40px;
}
.highlight__title {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(56px, 9vw, 140px);
  line-height: 0.95;
  letter-spacing: -0.035em;
  margin-top: 14px;
}
.highlight__title em {
  font-style: italic;
  font-weight: 800;
  color: var(--orange);
}
.highlight__name {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: clamp(28px, 3vw, 40px);
  letter-spacing: -0.015em;
  color: var(--orange);
}
.highlight__role {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--on-dark-mute);
  margin-top: -22px;
}
.highlight__quote {
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(20px, 1.8vw, 26px);
  line-height: 1.4;
  max-width: 30ch;
  border-left: 3px solid var(--orange);
  padding-left: 24px;
  color: var(--on-dark);
}
.highlight__when {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--on-dark-mute);
  border-top: 1px solid var(--on-dark-faint);
  padding-top: 22px;
}

.highlight__right { display: flex; align-items: stretch; }

/* ---- Variante espejada: foto a la izquierda, texto a la derecha (Mini Curso) ---- */
.highlight--reverse .highlight__grid { grid-template-columns: 1fr 1.05fr; }
.highlight--reverse .highlight__left {
  padding-right: 0;
  padding-left: clamp(0px, 3vw, 48px);
  justify-content: flex-start;
  gap: 22px;
}
.highlight--reverse .highlight__right { align-items: flex-start; }   /* la foto conserva su 4/5, no se estira */
.highlight--reverse .highlight__title { font-size: clamp(40px, 5.5vw, 84px); }

/* Resumen del curso */
.highlight__lead {
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(17px, 1.5vw, 22px);
  line-height: 1.45;
  color: var(--on-dark);
  max-width: 46ch;
  border-left: 3px solid var(--orange);
  padding-left: 22px;
}

/* Temario del curso */
.highlight__topics { display: flex; flex-direction: column; gap: 14px; }
.highlight__topics-lbl {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
}
.highlight__topics ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.highlight__topics li {
  font-size: 14px;
  line-height: 1.4;
  color: var(--on-dark);
  opacity: 0.9;
  padding-left: 26px;
  position: relative;
}
.highlight__topics li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 16px;
  height: 1px;
  background: var(--orange);
}

.portrait {
  width: 100%;
  aspect-ratio: 4/5;
  background: linear-gradient(135deg, var(--terracotta) 0%, var(--orange) 50%, var(--peach) 100%);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 32px;
  margin: 0;
}
.portrait::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(255, 247, 230, 0.4) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 80%, rgba(75, 36, 27, 0.4) 0%, transparent 50%);
  pointer-events: none;
  z-index: 1;
}
.portrait__initials {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(140px, 16vw, 240px);
  line-height: 1;
  color: rgba(255, 247, 230, 0.85);
  font-style: italic;
  letter-spacing: -0.05em;
}
.portrait__caption {
  position: relative;
  z-index: 3;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bg-cream);
  font-weight: 500;
}

/* When a real photo is present, replace the gradient placeholder */
.portrait--photo {
  background: var(--bg-dark);
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  gap: 14px;
}
.portrait--photo::before {
  background: linear-gradient(
    180deg,
    rgba(10, 9, 8, 0) 50%,
    rgba(10, 9, 8, 0.35) 80%,
    rgba(10, 9, 8, 0.7) 100%
  );
  z-index: 2;
}
.portrait--photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  transition: transform 1.4s var(--ease), filter 0.7s var(--ease);
  filter: contrast(1.02);
}
.portrait--photo:hover img {
  transform: scale(1.03);
}
.portrait--photo .portrait__initials { display: none; }
/* Subtle orange editorial accent — vertical tick from brand book */
.portrait--photo::after {
  content: '';
  position: absolute;
  top: 32px;
  left: 32px;
  width: 3px;
  height: 56px;
  background: var(--orange);
  z-index: 3;
}

/* ===========================
   PLAY BUTTON — rectangular, bottom-left of portrait
   =========================== */
.portrait--photo .portrait__caption {
  position: relative;
  z-index: 3;
}

/* Botones de video invitacional ocultos temporalmente (sin videos aún).
   Para reactivarlos cuando se suban los videos: eliminar esta sola regla. */
.portrait__play { display: none !important; }

.portrait__play {
  position: relative;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 18px 10px 10px;
  background: rgba(243, 106, 45, 0.95);
  color: var(--bg-cream);
  border: 1px solid rgba(255, 247, 230, 0.18);
  border-radius: 100px;
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: -0.005em;
  cursor: pointer;
  transition: background 0.35s var(--ease), transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
  box-shadow:
    0 10px 24px rgba(243, 106, 45, 0.35),
    0 2px 6px rgba(10, 9, 8, 0.3);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.portrait__play:hover {
  background: var(--coral);
  transform: translateY(-2px);
  box-shadow:
    0 14px 30px rgba(243, 106, 45, 0.5),
    0 4px 10px rgba(10, 9, 8, 0.4);
}
.portrait__play:active { transform: translateY(0); }

.portrait__play-icon {
  position: relative;
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--bg-cream);
  color: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
}
.portrait__play-icon svg {
  width: 14px;
  height: 14px;
  margin-left: 2px; /* visual centering for triangle */
  position: relative;
  z-index: 2;
}
.portrait__play-pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--bg-cream);
  z-index: 1;
  animation: portrait-pulse 2.2s cubic-bezier(0.22, 1, 0.36, 1) infinite;
}
@keyframes portrait-pulse {
  0%   { transform: scale(1);   opacity: 0.55; }
  80%  { transform: scale(1.9); opacity: 0;    }
  100% { transform: scale(1.9); opacity: 0;    }
}

.portrait__play-label {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: -0.005em;
  white-space: nowrap;
}

@media (prefers-reduced-motion: reduce) {
  .portrait__play-pulse { animation: none; opacity: 0; }
}
@media (max-width: 640px) {
  .portrait__play { font-size: 13px; padding: 8px 14px 8px 8px; gap: 10px; }
  .portrait__play-icon { width: 26px; height: 26px; }
  .portrait__play-icon svg { width: 12px; height: 12px; }
  .portrait__play-label { font-size: 13px; }
}

/* =========================================================
   SPEAKERS
   ========================================================= */

.speakers {
  padding: clamp(96px, 14vw, 180px) 0;
}

.speakers__group { margin-bottom: 64px; }
.speakers__label {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--ink-faint);
  min-width: 220px;
}

.speakers__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--ink-faint);
}
.speaker {
  padding: 24px 24px 24px 0;
  border-bottom: 1px solid var(--ink-faint);
  border-right: 1px solid var(--ink-faint);
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: background 0.4s var(--ease), padding-left 0.4s var(--ease);
  min-height: 140px;
}
.speakers__grid > .speaker:nth-child(4n) { border-right: 0; }
.speaker:hover {
  background: var(--bg-cream);
  padding-left: 16px;
  padding-right: 8px;
}
.speaker__flag {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  font-weight: 500;
}
.speaker h3 {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 19px;
  letter-spacing: -0.005em;
  color: var(--ink);
  line-height: 1.2;
}
.speaker p {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.4;
}

.speaker--director { background: var(--orange); }
.speaker--director:hover { background: var(--orange-2); padding-left: 24px; }
.speaker--director .speaker__flag { color: var(--bg-cream); opacity: 0.8; }
.speaker--director h3 { color: var(--bg-cream); }
.speaker--director p { color: var(--bg-cream); opacity: 0.85; }

.speakers__note {
  margin-top: 24px;
  font-size: 14px;
  color: var(--ink-mute);
  font-style: italic;
}

/* =========================================================
   LIDERAZGO
   ========================================================= */

.leadership {
  padding: clamp(96px, 14vw, 180px) 0;
  background: var(--bg-warm);
  border-top: 1px solid var(--ink-faint);
  border-bottom: 1px solid var(--ink-faint);
}

.leadership__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.leadership-card {
  padding: 48px 40px;
  background: var(--bg-cream);
  border: 1px solid var(--ink-faint);
  display: flex;
  flex-direction: column;
  gap: 22px;
  transition: transform 0.5s var(--ease);
}
.leadership-card:hover { transform: translateY(-6px); }

.leadership-card--alt { background: var(--bg-deep); color: var(--on-dark); border-color: transparent; }
.leadership-card--alt h3, .leadership-card--alt p { color: var(--on-dark); }

.leadership-card__when {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange);
  font-weight: 500;
}
.leadership-card__title {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(36px, 4.5vw, 56px);
  line-height: 1;
  letter-spacing: -0.025em;
  color: var(--ink);
}
.leadership-card--alt .leadership-card__title { color: var(--on-dark); }
.leadership-card__title em {
  font-style: italic;
  font-weight: 800;
  color: var(--orange);
}
.leadership-card p {
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink-soft);
}
.leadership-card--alt p { color: var(--on-dark); opacity: 0.85; }

.leadership-card__hosts {
  margin-top: auto;
  border-top: 1px solid var(--ink-faint);
  padding-top: 18px;
  font-size: 13px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.leadership-card--alt .leadership-card__hosts { border-top-color: var(--on-dark-faint); }
.leadership-card__hosts > span:first-child {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 8px;
}
.leadership-card--alt .leadership-card__hosts > span:first-child { color: var(--on-dark-mute); }
.leadership-card__hosts p {
  font-size: 14px;
  font-family: var(--f-body);
  letter-spacing: normal;
  color: var(--ink);
  font-weight: 500;
}
.leadership-card--alt .leadership-card__hosts p { color: var(--on-dark); }
.leadership-card__hosts .flag {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-left: 4px;
}
.leadership-card--alt .leadership-card__hosts .flag { color: var(--on-dark-mute); }

/* =========================================================
   INSCRIPCIÓN — pasos
   ========================================================= */

.inscripcion {
  padding: clamp(96px, 14vw, 180px) 0;
}

.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--ink-faint);
}
.step {
  padding: 40px 32px 32px 0;
  border-right: 1px solid var(--ink-faint);
  border-bottom: 1px solid var(--ink-faint);
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  min-height: 280px;
}
.step:last-child { border-right: 0; }
.step::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 0;
  height: 3px;
  background: var(--orange);
  transition: width 0.6s var(--ease);
}
.step:hover::before { width: 72px; }

.step__num {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 40px;
  line-height: 1;
  color: var(--orange);
  font-feature-settings: 'tnum';
  margin-bottom: 14px;
}
.step h3 {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -0.01em;
  color: var(--ink);
  line-height: 1.2;
}
.step p {
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.55;
}

/* =========================================================
   PRECIOS (dark section)
   ========================================================= */

.precios {
  padding: clamp(96px, 14vw, 180px) 0;
  background: var(--bg-deep);
  color: var(--on-dark);
}
.precios .section-title { color: var(--on-dark); }
.precios .section-lead { color: var(--on-dark-mute); }

.tier-banner {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  background: rgba(243, 106, 45, 0.08);
  border: 1px solid rgba(243, 106, 45, 0.35);
  color: var(--orange);
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 48px;
}
.tier-banner__pulse {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--orange);
  animation: pulse 2.2s infinite;
}

.precios__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--on-dark-faint);
}

.precio {
  padding: 44px 36px 40px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  border-right: 1px solid var(--on-dark-faint);
  position: relative;
  transition: background 0.5s var(--ease);
}
.precio:last-child { border-right: 0; }
.precio:hover { background: rgba(234, 229, 222, 0.03); }

.precio--active { background: rgba(243, 106, 45, 0.06); }
.precio--active:hover { background: rgba(243, 106, 45, 0.1); }

.precio__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--on-dark-faint);
}
.precio__label {
  font-size: clamp(12px, 1.125vw, 14.4px);  /* +20% en desktop (14.4); baja a 12 en cards angostos para no quebrar el título */
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--on-dark);
  font-weight: 500;
}
.precio--active .precio__label { color: #82CD3D; }   /* primer tramo (Early Bird) en verde */
.precio__badge {
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 12px;
  color: var(--orange);
  border: 1px solid var(--orange);
  border-radius: 100px;
  white-space: nowrap;
}
.precio__badge--soft { color: var(--on-dark-mute); border-color: var(--on-dark-faint); }
.precio__badge--final { color: var(--coral); border-color: var(--coral); }

.precio__dates {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--on-dark-mute);
}

/* Bloque de montos: Semana (grande) + Día (secundario) */
.precio__amounts {
  display: flex;
  flex-direction: column;
  gap: 20px;
  /* sin border-top: el divisor bajo el título lo da .precio__head (evita doble línea) */
}

/* Cada monto: precio en CLP (moneda + número del mismo tamaño), la etiqueta
   debajo en UNA sola línea, y la referencia "aprox USD *" debajo. Apilado vertical. */
.precio__amount {
  display: flex;
  flex-direction: column;
  gap: 3px;
  color: var(--on-dark);            /* color "tema" del bloque → lo heredan moneda + número */
}
.precio__amount--day { color: var(--on-dark-mute); }
.precio--active .precio__amount { color: var(--orange); }
.precio--active .precio__amount--day { color: var(--peach); }

/* Divisor entre "semana completa" y "por día" */
.precio__amount--day {
  border-top: 1px solid var(--on-dark-faint);
  padding-top: 16px;
  margin-top: 6px;
}

/* Precio: moneda (CLP) + número, mismo tamaño y misma línea base.
   Tamaño fluido para que "CLP 1.455.000" entre en el recuadro en todos los anchos. */
.precio__amount-row {
  display: flex;
  align-items: baseline;
  gap: 0.18em;
  font-size: clamp(28px, 2.9vw, 40px);
  white-space: nowrap;
}
.precio__currency,
.precio__num {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: inherit;        /* moneda = mismo size que el número */
  line-height: 1;
  letter-spacing: -0.03em;
  color: inherit;            /* heredan el color "tema" del bloque */
  font-feature-settings: 'tnum';
}
.precio__currency { letter-spacing: 0; }

/* Etiqueta debajo del precio, en una sola línea (Semana completa / Por día) */
.precio__amount-lbl {
  font-size: 11px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--on-dark-mute);
  white-space: nowrap;
}

/* Referencia "aprox USD … *" debajo del precio (el cobro se hace en CLP) */
.precio__clp {
  font-size: 12px;
  letter-spacing: 0.02em;
  color: var(--on-dark-mute);
  opacity: 0.72;
  margin-top: 1px;
  white-space: nowrap;
}

/* Botón de precio desactivado */
.precio__btn[disabled] {
  opacity: 1;
  color: var(--on-dark-mute);          /* blanco con opacidad */
  border-color: var(--on-dark-faint);
  pointer-events: none;
  cursor: default;
}

/* Banner organizaciones / patrocinantes / residentes */
.precio-membership {
  margin-top: 36px;
  padding: 32px 36px;
  background: rgba(243, 106, 45, 0.06);
  border: 1px solid rgba(243, 106, 45, 0.35);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.precio-membership__text h3 {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(20px, 2vw, 28px);
  letter-spacing: -0.015em;
  color: var(--on-dark);
  margin-bottom: 8px;
}
.precio-membership__text p {
  font-size: 15px;
  color: var(--on-dark-mute);
  line-height: 1.45;
  max-width: 52ch;
}
.btn--membership {
  color: var(--orange);
  border-color: var(--orange);
  flex-shrink: 0;
  white-space: normal;
  max-width: 320px;
  text-align: center;
}
.btn--membership:hover { background: var(--orange); color: var(--bg-cream); }

/* CTA organizaciones — "Próximamente" + Instagram (sin formulario) */
.precio-membership__cta {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
  max-width: 340px;
}
.precio-membership__soon-btn {
  pointer-events: none;
  cursor: default;
  opacity: 0.85;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 13px;
}
.precio-membership__ig {
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--on-dark-mute);
  text-align: right;
}
.precio-membership__ig a {
  color: var(--orange);
  font-weight: 600;
  white-space: nowrap;
  border-bottom: 1px solid rgba(243, 106, 45, 0.4);
}
.precio-membership__ig a:hover { color: var(--peach); }

/* Sociedades en versión centrada y sin CTA */
.precio-membership--solo {
  justify-content: center;
  text-align: center;
}
.precio-membership--solo .precio-membership__text p {
  max-width: 64ch;
  margin-inline: auto;
}

.precio__feats {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}
.precio__feats li {
  font-size: 14px;
  color: var(--on-dark);
  opacity: 0.85;
  padding-left: 28px;
  position: relative;
  line-height: 1.4;
}
.precio__feats li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 16px;
  height: 1px;
  background: var(--orange);
}

.precios__note {
  margin-top: 32px;
  font-size: 13px;
  color: var(--on-dark-mute);
  line-height: 1.5;
  border-top: 1px solid var(--on-dark-faint);
  padding-top: 24px;
  max-width: 720px;
}
/* CTA pago por transferencia (Chile) — misma franja gris, sin segundo divisor */
.precios__note--wa {
  margin-top: 12px;
  padding-top: 0;
  border-top: 0;
}
.precios__note--wa a {
  color: var(--orange);
  font-weight: 600;
  white-space: nowrap;
  border-bottom: 1px solid rgba(243, 106, 45, 0.4);
}
.precios__note--wa a:hover { color: var(--peach); }

/* Info box verde translúcido — qué incluye la inscripción Full Week */
.precios__infobox {
  margin-top: 28px;
  padding: 16px 24px;
  background: rgba(130, 205, 61, 0.10);
  border: 1px solid rgba(130, 205, 61, 0.32);
  color: var(--on-dark);
  font-size: 17px;
  line-height: 1.5;
  text-align: center;
}

/* Disclaimer del asterisco — los valores en USD son referenciales */
.precios__disclaimer {
  margin-top: 20px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--on-dark-mute);
  opacity: 0.85;
}

/* =========================================================
   PRICING — fase pre-lanzamiento (sin tarifas, foco 05 jun)
   .precios--prelaunch lo activa el HTML por defecto; el JS lo retira
   cuando Airtable "Precios Visibles" = true.
   ========================================================= */
/* elementos de pre-lanzamiento: ocultos salvo en modo prelaunch */
.precio__soon,
.precio__btn-soon,
.precios__launch,
.precio-membership__soon { display: none; }

.precios--prelaunch .precio__amounts,
.precios--prelaunch .precio__btn,
.precios--prelaunch .tier-banner,
.precios--prelaunch .btn--membership { display: none !important; }

.precios--prelaunch .precio__soon { display: flex; }
.precios--prelaunch .precio__btn-soon { display: inline-flex; }
.precios--prelaunch .precios__launch { display: flex; }
.precios--prelaunch .precio-membership__soon { display: block; }

/* Banner de lanzamiento */
.precios__launch {
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  margin-bottom: 32px;
  background: rgba(243, 106, 45, 0.1);
  border: 1px solid rgba(243, 106, 45, 0.4);
}
.precios__launch-pulse {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--orange); flex-shrink: 0;
  animation: pulse 2.2s infinite;
}
.precios__launch-text { display: flex; flex-direction: column; gap: 3px; }
.precios__launch-text strong {
  font-family: var(--f-display); font-weight: 700;
  font-size: clamp(16px, 1.8vw, 20px); letter-spacing: -0.01em; color: var(--on-dark);
}
.precios__launch-text span { font-size: 14px; color: var(--on-dark-mute); line-height: 1.4; }

/* Bloque "Inscripción desde 05 jun" dentro de cada card */
.precio__soon {
  flex-direction: column;
  gap: 6px;
  border-top: 1px solid var(--on-dark-faint);
  padding-top: 24px;
}
.precio__soon-lbl {
  font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--on-dark-mute);
}
.precio__soon-date {
  font-family: var(--f-display); font-weight: 700;
  font-size: clamp(26px, 3vw, 40px); letter-spacing: -0.02em; color: var(--orange);
  white-space: nowrap;
}
.precio--active .precio__soon-date { color: var(--orange); }

/* Aviso de validación de membresía en pre-lanzamiento */
.precio-membership__soon {
  flex-shrink: 0;
  max-width: 300px;
  text-align: center;
  font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--orange); line-height: 1.5;
  border: 1px solid rgba(243, 106, 45, 0.4);
  padding: 14px 20px;
}

/* =========================================================
   SPONSORS
   ========================================================= */

.sponsors {
  padding: clamp(96px, 14vw, 180px) 0;
}

.sponsors__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

/* Sponsor logo tiles — tiles blancos con logo (se adapta a N sponsors) */
.sponsors__grid--logos {
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 24px;
}
.sponsor-tile {
  background: #fff;
  border: 1px solid var(--ink-faint);
  aspect-ratio: 3 / 2;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.sponsor-tile:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(20, 17, 15, 0.1);
}
.sponsor-tile__img {
  max-width: 100%;
  max-height: 72px;
  width: auto;
  height: auto;
  object-fit: contain;
}
.sponsor-tile__fallback {
  display: none; /* shown via onerror if the logo is missing */
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(20px, 2vw, 28px);
  letter-spacing: -0.02em;
  color: var(--ink);
  text-align: center;
}
@media (max-width: 880px) {
  .sponsors__grid--logos { grid-template-columns: repeat(2, 1fr); }
}

.sponsor-card {
  padding: 40px 36px 32px;
  border: 1px solid var(--ink-faint);
  background: var(--bg-cream);
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: transform 0.5s var(--ease), border-color 0.5s var(--ease);
  min-height: 240px;
  position: relative;
  overflow: hidden;
}
.sponsor-card:hover {
  transform: translateY(-6px);
  border-color: var(--ink);
}
.sponsor-card::after {
  content: '';
  position: absolute;
  bottom: 0; right: 0;
  width: 0; height: 3px;
  background: var(--orange);
  transition: width 0.6s var(--ease);
}
.sponsor-card:hover::after { width: 80px; }

.sponsor-card--hero {
  background: var(--ink);
  color: var(--on-dark);
  border-color: var(--ink);
}
.sponsor-card--hero:hover { background: var(--bg-deep); border-color: var(--bg-deep); }

.sponsor-card__tier {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  font-weight: 500;
}
.sponsor-card--hero .sponsor-card__tier { color: var(--peach); }

.sponsor-card__name {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(32px, 3.5vw, 48px);
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--ink);
}
.sponsor-card--hero .sponsor-card__name { color: var(--on-dark); }

.sponsor-card p {
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.5;
  max-width: 44ch;
}
.sponsor-card--hero p { color: var(--on-dark); opacity: 0.85; }

/* =========================================================
   DIRECTOR
   ========================================================= */

.director {
  padding: clamp(96px, 14vw, 180px) 0;
  background: var(--bg-warm);
  border-top: 1px solid var(--ink-faint);
}

.director__grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 60px;
  align-items: stretch;
}

.director__portrait {
  aspect-ratio: 4/5;
  background: linear-gradient(135deg, var(--terracotta) 0%, var(--orange) 100%);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 32px;
}
.director__portrait .portrait__initials {
  color: rgba(255, 247, 230, 0.8);
}
.director__portrait .portrait__caption {
  position: relative;
  z-index: 2;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bg-cream);
  font-weight: 500;
}

.director__info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 28px;
}
.director__name {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(48px, 7vw, 120px);
  line-height: 0.95;
  letter-spacing: -0.035em;
  color: var(--ink);
  margin-top: 12px;
}
.director__name em {
  font-style: italic;
  font-weight: 800;
  color: var(--orange);
}
.director__bio {
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 36ch;
  border-top: 1px solid var(--ink-faint);
  padding-top: 24px;
}
.director__contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.director__contact span {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-mute);
  display: block;
  margin-bottom: 6px;
}
.director__contact p {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.005em;
  color: var(--ink);
}

/* =========================================================
   GRAN FIESTA (cierre del congreso)
   ========================================================= */

.fiesta {
  padding: clamp(96px, 14vw, 180px) 0;
  background: linear-gradient(135deg, var(--orange) 0%, var(--terracotta) 100%);
  color: var(--bg-cream);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.fiesta::after {
  content: '';
  position: absolute;
  top: -25%;
  right: -8%;
  width: clamp(360px, 55vw, 720px);
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(255, 247, 230, 0.20) 0%, rgba(255, 247, 230, 0) 64%);
  z-index: -1;
  pointer-events: none;
}
.fiesta__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.fiesta__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.fiesta .kicker--light { color: var(--bg-cream); }
.fiesta .kicker--light::before { background: var(--bg-cream); }
.fiesta__title {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(36px, 5.6vw, 88px);
  line-height: 0.92;
  letter-spacing: -0.035em;
  color: var(--bg-cream);
  margin-top: 6px;
}
.fiesta__title em {
  display: block;
  font-style: italic;
  font-weight: 800;
  color: var(--ink);
}
.fiesta__lead {
  font-family: var(--f-display);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(20px, 2vw, 30px);
  line-height: 1.4;
  color: var(--bg-cream);
  max-width: 32ch;
}
.fiesta__when {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bg-cream);
  border-top: 1px solid rgba(255, 247, 230, 0.35);
  padding-top: 22px;
}
.fiesta__photo {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--bg-deep);
  box-shadow: 0 30px 70px -24px rgba(10, 9, 8, 0.5);
}
.fiesta__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* =========================================================
   CTA FINAL
   ========================================================= */

.cta-final {
  padding: clamp(120px, 18vw, 220px) 0;
  text-align: center;
  background: var(--bg-deep);
  color: var(--on-dark);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.cta-final .container { position: relative; z-index: 3; }
.cta-final .kicker { margin-bottom: 32px; }
.cta-final__title {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(56px, 10vw, 180px);
  line-height: 0.95;
  letter-spacing: -0.035em;
  color: var(--on-dark);
  margin-bottom: 48px;
}
.cta-final__title em {
  font-style: italic;
  font-weight: 800;
  color: var(--orange);
  display: block;
}

/* Countdown del cierre (hasta 23 nov 2026) */
.cta-final__countdown {
  display: inline-flex;
  gap: 1px;
  background: var(--on-dark-faint);
  border: 1px solid var(--on-dark-faint);
  margin: 8px auto 28px;
}
.cta-cd__block {
  background: var(--bg-deep);
  padding: 22px clamp(18px, 3vw, 40px);
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: center;
}
.cta-cd__num {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(34px, 4.5vw, 60px);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--orange);
  font-feature-settings: 'tnum';
}
.cta-cd__lbl {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--on-dark-mute);
}
.cta-final__note {
  font-family: var(--f-mono);
  font-size: clamp(13px, 1.4vw, 15px);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--peach);
}
@media (max-width: 640px) {
  .cta-final__countdown { display: grid; grid-template-columns: repeat(2, 1fr); }
}

/* =========================================================
   WHATSAPP FAB
   ========================================================= */

.wa-fab {
  position: fixed;
  bottom: 26px;
  right: 26px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 8px 24px rgba(37, 211, 102, 0.35),
    0 2px 6px rgba(20, 17, 15, 0.18);
  z-index: 200;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), background 0.3s var(--ease);
  opacity: 0;
  transform: translateY(20px) scale(0.92);
  pointer-events: none;
  animation: wa-enter 0.6s var(--ease) 1.6s forwards;
}
@keyframes wa-enter {
  to { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
}
.wa-fab:hover {
  background: #1ebd5b;
  transform: translateY(-3px) scale(1.04);
  box-shadow:
    0 14px 32px rgba(37, 211, 102, 0.45),
    0 4px 10px rgba(20, 17, 15, 0.22);
}
.wa-fab__icon {
  width: 28px;
  height: 28px;
  position: relative;
  z-index: 2;
}
.wa-fab__pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #25D366;
  z-index: 1;
  animation: wa-pulse 2.4s cubic-bezier(0.22, 1, 0.36, 1) infinite;
}
@keyframes wa-pulse {
  0%   { transform: scale(1);   opacity: 0.55; }
  70%  { transform: scale(1.6); opacity: 0;    }
  100% { transform: scale(1.6); opacity: 0;    }
}
.wa-fab__tooltip {
  position: absolute;
  right: calc(100% + 14px);
  top: 50%;
  transform: translateY(-50%) translateX(8px);
  background: var(--ink);
  color: var(--bg-cream);
  padding: 9px 14px;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease), transform 0.4s var(--ease);
}
.wa-fab__tooltip::after {
  content: '';
  position: absolute;
  right: -5px;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 10px;
  height: 10px;
  background: var(--ink);
}
.wa-fab:hover .wa-fab__tooltip {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}
@media (max-width: 640px) {
  .wa-fab { bottom: 18px; right: 18px; width: 56px; height: 56px; }
  .wa-fab__icon { width: 26px; height: 26px; }
  .wa-fab__tooltip { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .wa-fab__pulse { animation: none; }
}

/* =========================================================
   FOOTER
   ========================================================= */

.footer {
  padding: 72px 0 36px;
  background: var(--bg);
  border-top: 1px solid var(--ink-faint);
}
.footer__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--ink-faint);
  flex-wrap: wrap;
  gap: 24px;
}
.footer__brand {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.footer__brand em { color: var(--orange); font-style: italic; font-weight: 800; }
.footer__nav {
  display: flex;
  gap: 28px;
  font-size: 14px;
  color: var(--ink-soft);
}
.footer__nav a:hover { color: var(--orange); }
.footer__bottom {
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-mute);
  flex-wrap: wrap;
  gap: 16px;
}
.footer__bottom a:hover { color: var(--orange); }

/* Footer credit — discreet, with underlined hitosmedia.com link */
.footer__credit {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  opacity: 0.85;
}
.footer__credit a {
  border-bottom: 1px solid currentColor;
  padding-bottom: 1px;
  transition: color 0.3s var(--ease);
}
.footer__credit a:hover { color: var(--orange); }

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1024px) {
  .nav__links { display: none; }
  .nav__burger { display: flex; }

  .hero__stats { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .stat { border-right: 0; border-bottom: 1px solid var(--ink-faint); padding-bottom: 24px; }
  .stat:nth-last-child(-n+2) { border-bottom: 0; padding-bottom: 0; }

  .pillars { grid-template-columns: 1fr; }
  .pillar { border-right: 0; border-bottom: 1px solid var(--ink-faint); padding-right: 0; min-height: auto; padding-bottom: 32px; }
  .pillar:last-child { border-bottom: 0; }

  .enfoques__grid { grid-template-columns: repeat(3, 1fr); }
  .enfoque-card { padding: 28px 16px 24px; border-right: 1px solid var(--ink-faint); }
  .enfoque-card:nth-child(3n) { border-right: 0; }

  .programa__tabs { grid-template-columns: repeat(5, 1fr); }
  .programa__tab-lbl { display: none; }
  .programa__tab { padding: 18px 12px; align-items: center; }

  .highlight__grid { grid-template-columns: 1fr; gap: 48px; }
  .highlight__left { padding-right: 0; }
  .highlight--reverse .highlight__grid { grid-template-columns: 1fr; }
  .highlight--reverse .highlight__left { padding-left: 0; }

  .fiesta__grid { grid-template-columns: 1fr; gap: 40px; }
  .fiesta__photo { max-width: 400px; }

  .speakers__grid { grid-template-columns: repeat(2, 1fr); }
  .speakers__grid > .speaker:nth-child(4n) { border-right: 1px solid var(--ink-faint); }
  .speakers__grid > .speaker:nth-child(2n) { border-right: 0; }

  .leadership__grid { grid-template-columns: 1fr; }

  .steps { grid-template-columns: repeat(2, 1fr); }
  .step { border-right: none; }
  .step:nth-child(odd) { border-right: 1px solid var(--ink-faint); }
  .step:last-child { border-right: 0; }

  .precios__grid { grid-template-columns: 1fr; }
  .precio { border-right: 0; border-bottom: 1px solid var(--on-dark-faint); }
  .precio:last-child { border-bottom: 0; }

  .sponsors__grid { grid-template-columns: 1fr; }

  .director__grid { grid-template-columns: 1fr; }
  .director__portrait { max-width: 480px; }
}

@media (max-width: 640px) {
  .nav__actions .btn--small { display: none; }
  .hero { padding-top: 120px; }
  .chrome-tl, .chrome-tr, .hero__bars { display: none; }
  .hero__cta { flex-direction: column; align-items: stretch; }
  .hero__cta .btn { width: 100%; }
  .hero__scroll { display: none; }

  .marquee__track { font-size: 32px; gap: 32px; }

  .enfoques__grid { grid-template-columns: 1fr; }
  .enfoque-card { padding: 28px 0 26px; border-right: 0 !important; border-bottom: 1px solid var(--ink-faint); }
  .enfoque-card:last-child { border-bottom: 0; }
  .enfoque-card__photo { max-width: 300px; }
  .enfoque-card__num { font-size: 64px; }
  .enfoque-card__title { font-size: 18px; }
  .programa__feature { aspect-ratio: 16 / 9; margin-bottom: 28px; }
  .precio-membership { flex-direction: column; align-items: flex-start; gap: 20px; }
  .btn--membership { max-width: 100%; width: 100%; }
  .precio-membership__cta { align-items: flex-start; max-width: 100%; }
  .precio-membership__ig { text-align: left; }

  .session { grid-template-columns: 80px 1fr; gap: 16px; padding: 18px 0; }
  .session .time { font-size: 13px; }

  /* Speakers en mobile: carrusel horizontal con scroll-snap (evita scroll
     vertical infinito con tantos ponentes). Cada grupo es una fila deslizable. */
  .speakers__grid {
    grid-template-columns: none;
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 0;
    margin: 0 calc(-1 * var(--gutter));   /* sangra a los bordes para deslizar full-bleed */
    padding: 0 var(--gutter);
    scrollbar-width: none;
  }
  .speakers__grid::-webkit-scrollbar { display: none; }
  .speakers__grid > .speaker {
    flex: 0 0 70%;
    max-width: 280px;
    scroll-snap-align: start;
    border-right: 1px solid var(--ink-faint) !important;
    border-bottom: 0;
    padding: 22px 20px;
  }
  .speakers__grid > .speaker:last-child { border-right: 0 !important; }
  .speakers__group { position: relative; }
  .speakers__group::after {
    /* pista visual de "deslizable" */
    content: "→";
    position: absolute;
    top: 0; right: var(--gutter);
    font-family: var(--f-mono);
    font-size: 14px;
    color: var(--orange);
    opacity: 0.7;
  }

  .steps { grid-template-columns: 1fr; }
  .step { border-right: 0 !important; }

  .footer__top { flex-direction: column; align-items: flex-start; }
  .footer__bottom { flex-direction: column; }
  .footer__nav { flex-wrap: wrap; gap: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal-line > span { transform: none !important; }
  .hero__bars span { opacity: 0.7 !important; }
}

/* =========================================================
   EVENTRID — modal de compra / registro (iframe embed)
   Disparado por .precio__btn (js/main.js). Incrusta el flujo
   de Eventrid (eventrid.cl) sin salir del sitio.
   ========================================================= */
.erid-modal {
  position: fixed; inset: 0; z-index: 1000;
  display: grid; place-items: center;
  padding: clamp(12px, 3vw, 32px);
}
.erid-modal[hidden] { display: none; }

.erid-modal__backdrop {
  position: absolute; inset: 0;
  background: rgba(10, 9, 8, 0.74);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}
.erid-modal.is-open .erid-modal__backdrop { opacity: 1; }

.erid-modal__dialog {
  position: relative;
  width: min(820px, 100%);
  height: min(92vh, 940px);
  display: flex; flex-direction: column;
  background: var(--bg-cream);
  color: var(--ink);
  border: 1px solid var(--ink-faint);
  border-radius: 16px;
  box-shadow: 0 40px 120px rgba(10, 9, 8, 0.5);
  overflow: hidden;
  opacity: 0;
  transform: translateY(18px) scale(0.985);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.erid-modal.is-open .erid-modal__dialog { opacity: 1; transform: none; }

.erid-modal__head {
  flex: none;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 13px 14px 13px 20px;
  border-bottom: 1px solid var(--ink-line);
}
.erid-modal__brand {
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink-mute);
}
.erid-modal__close {
  width: 38px; height: 38px; flex: none;
  display: grid; place-items: center;
  font-size: 26px; line-height: 1;
  color: var(--ink);
  border: 1px solid var(--ink-faint); border-radius: 50%;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.erid-modal__close:hover {
  background: var(--orange); color: var(--bg-cream); border-color: var(--orange);
}

.erid-modal__body {
  position: relative; flex: 1 1 auto; min-height: 0;
  background: #fff;
}
.erid-modal__iframe {
  display: block; width: 100%; height: 100%;
  border: 0; background: #fff;
  opacity: 0; transition: opacity 0.45s var(--ease);
}
.erid-modal.is-loaded .erid-modal__iframe { opacity: 1; }

.erid-modal__loader {
  position: absolute; inset: 0;
  display: grid; place-items: center; pointer-events: none;
}
.erid-modal.is-loaded .erid-modal__loader { display: none; }
.erid-modal__spin {
  width: 34px; height: 34px; border-radius: 50%;
  border: 2px solid var(--ink-faint); border-top-color: var(--orange);
  animation: erid-spin 0.8s linear infinite;
}
@keyframes erid-spin { to { transform: rotate(360deg); } }

.erid-modal__foot {
  flex: none;
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; flex-wrap: wrap;
  padding: 11px 20px;
  border-top: 1px solid var(--ink-line);
  font-size: 13px;
}
.erid-modal__sec { color: var(--ink-mute); letter-spacing: 0.04em; }
.erid-modal__newtab { color: var(--orange-2); font-weight: 600; }
.erid-modal__newtab:hover { text-decoration: underline; }

@media (max-width: 560px) {
  .erid-modal { padding: 0; }
  .erid-modal__dialog {
    width: 100%; height: 100dvh; max-height: none;
    border: 0; border-radius: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .erid-modal__backdrop,
  .erid-modal__dialog,
  .erid-modal__iframe { transition: none; }
  .erid-modal__spin { animation: none; }
}
