/* ============ TOKENS ============ */
:root {
  --bg: #FFFFFF;
  --bg-2: #F4F1F7;
  --paper: #FFFFFF;
  --ink: #1B1330;
  --ink-2: #3D3457;
  --ink-3: #756B8A;
  --rule: #E5E0EC;
  --rule-2: #CFC6DC;
  --accent: #804E9A;        /* ikasNOVA purple */
  --accent-2: #6B3D85;      /* darker purple */
  --teal: #3EB7AE;          /* ikasNOVA teal */
  --teal-2: #2E9E96;
  --coral: #804E9A;         /* CTA = brand purple now */
  --coral-2: #C9A2DA;
  --gold: #3EB7AE;
  --green: #3EB7AE;
  --brand-grad: linear-gradient(90deg, #804E9A 0%, #3EB7AE 100%);

  --display: "Space Grotesk", "Avenir Next Condensed", "Arial Narrow", Arial, sans-serif;
  --serif: "Space Grotesk", "Avenir Next Condensed", "Arial Narrow", Arial, sans-serif;
  --sans: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;

  --maxw: 1280px;
}

/* ============ RESET ============ */
* { box-sizing: border-box; }
html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "ss01", "ss02";
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font-family: inherit; cursor: pointer; }

h1, h2, h3, h4, h5 {
  font-family: var(--display);
  letter-spacing: -0.02em;
}

.it {
  font-style: normal !important;
  color: var(--teal-2);
  font-weight: 600;
}

.about-grid .label-col h2,
.agenda h2,
.ponentes-head h2,
.talleres-head h2,
.showroom-head h2,
.asistir h2,
.streaming-h1,
.legal-body h2 {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.03em;
}

.tl-content h3,
.ponente-card h4,
.area-card h4,
.taller-card h4,
.mc-name,
.info-card .info-item .lg,
.foot-mark {
  font-family: var(--display);
  font-weight: 600;
  font-style: normal;
}

/* ============ LAYOUT ============ */
.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 40px;
}
@media (max-width: 720px) { .wrap { padding: 0 20px; } }
@media (max-width: 720px) {
  body {
    font-size: 17px;
  }
}

.eyebrow {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 500;
}

.section-num {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-3);
}

/* ============ NAV ============ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in oklab, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--rule);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 24px;
  position: relative;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--serif);
  font-size: 22px;
  font-style: italic;
  letter-spacing: -0.01em;
}
.brand-dot {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--ink);
  position: relative;
  display: inline-block;
}
.brand-dot::after {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  background: var(--teal);
}
.nav-links {
  display: flex;
  gap: 22px;
  font-size: 15px;
  color: var(--ink-2);
}
.nav-links a {
  text-decoration: none;
  white-space: nowrap;
}
.nav-links a:hover { color: var(--accent); }
.nav-actions {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.lang-switch {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 8px 14px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  text-decoration: none;
  color: var(--ink);
  transition: all 200ms ease;
  white-space: nowrap;
}
.lang-switch:hover {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}

/* Botón de streaming en la cabecera */
.nav-streaming {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 8px 14px;
  border-radius: 999px;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 200ms ease;
}
.nav-streaming.is-disabled {
  background: rgba(0,0,0,0.04);
  border: 1px solid var(--rule);
  color: var(--ink-3);
  cursor: not-allowed;
  user-select: none;
}
.nav-streaming.is-active {
  background: var(--coral);
  border: 1px solid var(--coral);
  color: #fff;
  text-decoration: none;
}
.nav-streaming.is-active:hover {
  background: var(--coral-2, #cf5847);
  border-color: var(--coral-2, #cf5847);
  transform: translateY(-1px);
}
.nav-streaming .live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
  display: inline-block;
  animation: live-pulse 1.6s ease-in-out infinite;
}
@keyframes live-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}
.nav-cta {
  background: var(--ink);
  color: var(--bg);
  border: none;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.01em;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background 160ms ease;
}
.nav-cta:hover { background: var(--accent); color: var(--paper); }
.nav-cta .arrow { transition: transform 200ms ease; }
.nav-cta:hover .arrow { transform: translateX(2px); }
.nav-toggle,
.mobile-menu {
  display: none;
}
@media (max-width: 820px) {
  .nav-links { display: none; }
  .nav-inner { padding: 14px 20px; }
}

/* ============ HERO ============ */
.hero {
  position: relative;
  padding: 24px 0 72px;
  overflow: hidden;
  isolation: isolate;
  background: #0d0820;
  color: #fff;
  background-image:
    radial-gradient(ellipse 90% 70% at 70% 50%, #1c1240 0%, #0d0820 70%);
}
.hero-poster::before,
.hero-poster::after { display: none; }
.hero-bg {
  position: absolute;
  inset: -6% -10% -8% 18%;
  background: url('assets/hero-bg.png') right center / cover no-repeat;
  z-index: 0;
  will-change: transform;
  transform: scale(1.12);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,0.35) 12%, #000 26%, #000 100%);
          mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,0.35) 12%, #000 26%, #000 100%);
}
.hero-gradient {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(13,8,32,0.97) 0%, rgba(27,19,48,0.88) 24%, rgba(27,19,48,0.62) 40%, rgba(27,19,48,0.22) 56%, rgba(13,8,32,0.08) 74%, rgba(13,8,32,0.3) 100%),
    radial-gradient(ellipse 68% 88% at 42% 108%, rgba(13,8,32,0.78) 0%, transparent 68%);
  z-index: 1;
  pointer-events: none;
}
.hero-wrap {
  position: relative;
  z-index: 2;
}
.hero-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: baseline;
  border-bottom: 1px solid rgba(255,255,255,0.15);
  padding-bottom: 18px;
  margin-bottom: 60px;
}
.hero-meta-row .item {
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.hero-meta-row .label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.72);
}
.hero-meta-row .val { font-size: 16px; color: #fff; }
.hero-meta-row .spacer { flex: 1; }
.hero-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(8, 12, 24, 0.42);
  border: 1px solid rgba(255,255,255,0.16);
  color: #89f3e8 !important;
  text-shadow: 0 1px 10px rgba(0,0,0,0.45);
  box-shadow: 0 6px 20px rgba(0,0,0,0.18);
}

@media (max-width: 720px) {
  .hero-meta-row {
    display: none;
  }
}

.hero-title-block {
  max-width: 700px;
  display: flex;
  flex-direction: column;
}
.poster-eyebrow {
  font-family: var(--display);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.72);
  margin: 0 0 18px;
}
.poster-h1 {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 0;
  font-family: var(--display);
  color: #fff;
}
.poster-h1 > span {
  display: block;
}
.poster-h1 > span:first-child {
  font-size: clamp(32px, 2.8vw, 42px);
  line-height: 1.05;
  font-weight: 500;
  letter-spacing: -0.02em;
  text-transform: none;
  margin-bottom: 14px;
}
.poster-h1 > span:not(:first-child) {
  font-size: clamp(64px, 7vw, 118px);
  line-height: 0.9;
  font-weight: 700;
  letter-spacing: -0.045em;
  text-transform: uppercase;
}
.poster-h1--eu > span:first-child,
.poster-h1--eu > span:nth-child(2),
.poster-h1--eu > span:nth-child(3) {
  font-size: clamp(64px, 7vw, 118px);
  line-height: 0.9;
  font-weight: 700;
  letter-spacing: -0.045em;
  text-transform: uppercase;
  margin-bottom: 0;
}
.poster-h1--eu > span:last-child {
  font-size: clamp(32px, 2.8vw, 42px);
  line-height: 1.05;
  font-weight: 500;
  letter-spacing: -0.02em;
  text-transform: none;
  margin-top: 16px;
}
.poster-sub {
  margin: 36px 0 0;
  max-width: 460px;
  font-size: clamp(18px, 1.7vw, 24px);
  line-height: 1.24;
  color: var(--teal);
  font-weight: 500;
  letter-spacing: -0.01em;
  text-wrap: pretty;
}
.hero-actions {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 40px;
}
.btn-primary {
  background: var(--accent);
  color: var(--paper);
  border: none;
  padding: 16px 26px;
  border-radius: 999px;
  font-size: 17px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: transform 160ms ease, background 160ms ease;
  position: relative;
  overflow: hidden;
}
.btn-primary:hover { background: var(--accent-2); transform: translateY(-1px); }
.btn-secondary {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
  padding: 15px 24px;
  border-radius: 999px;
  font-size: 17px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: background 160ms ease, color 160ms ease;
  text-decoration: none;
}
.btn-secondary:hover { background: var(--ink); color: var(--bg); }

.hero .btn-secondary {
  border-color: rgba(255,255,255,0.48);
  color: #fff;
}
.hero .btn-secondary:hover {
  background: #fff;
  color: var(--ink);
}

.poster-date {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 44px;
  padding-top: 26px;
  border-top: 1px solid rgba(255,255,255,0.18);
}
.poster-date .date-big {
  display: flex;
  align-items: center;
  gap: 14px;
}
.poster-date .date-big > span:first-child {
  font-family: var(--display);
  font-size: clamp(58px, 6vw, 88px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  color: #fff;
}
.poster-date .date-month {
  font-family: var(--display);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  line-height: 1.15;
  color: var(--teal);
}
.poster-date .date-meta {
  border-left: 1px solid rgba(255,255,255,0.24);
  padding-left: 22px;
}
.poster-date .venue {
  font-family: var(--display);
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #fff;
  margin-bottom: 4px;
}
.poster-date .venue-sub {
  font-size: 15px;
  line-height: 1.32;
  letter-spacing: -0.01em;
  color: rgba(255,255,255,0.7);
}

/* Number tickers under hero */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid rgba(255,255,255,0.18);
  margin-top: 80px;
}
.hero-stats .stat {
  padding: 28px 24px 24px 22px;
  border-right: 1px solid rgba(255,255,255,0.18);
}
.hero-stats .stat:first-child {
  padding-left: 0;
}
.hero-stats .stat:last-child { border-right: none; }
.hero-stats .num {
  font-family: var(--display);
  font-size: 56px;
  line-height: 1;
  font-style: normal;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.03em;
}
.hero-stats .lbl {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-top: 8px;
}

@media (max-width: 820px) {
  .hero-bg {
    inset: 0 -48% 0 -6%;
    background-position: right center;
    opacity: 0.48;
  }
  .hero-gradient {
    background: linear-gradient(180deg, rgba(13,8,32,0.82) 0%, rgba(13,8,32,0.96) 100%);
  }
  .hero-title-block {
    max-width: 100%;
  }
  .poster-h1 > span:first-child {
    font-size: clamp(24px, 6vw, 32px);
    margin-bottom: 10px;
  }
  .poster-h1 > span:not(:first-child) {
    font-size: clamp(46px, 13vw, 72px);
    line-height: 0.92;
  }
  .poster-sub {
    max-width: 100%;
    font-size: 17px;
    line-height: 1.28;
  }
  .poster-h1--eu > span:first-child,
  .poster-h1--eu > span:nth-child(2),
  .poster-h1--eu > span:nth-child(3) {
    font-size: clamp(46px, 13vw, 72px);
    line-height: 0.92;
  }
  .poster-h1--eu > span:last-child {
    font-size: clamp(24px, 6vw, 32px);
    margin-top: 12px;
  }
  .poster-date {
    flex-wrap: wrap;
    gap: 16px;
  }
  .poster-date .date-meta {
    border-left: 0;
    padding-left: 0;
  }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .hero-stats .stat:nth-child(2) { border-right: none; }
  .hero-stats .stat:nth-child(1), .hero-stats .stat:nth-child(2) { border-bottom: 1px solid rgba(255,255,255,0.18); }
}

/* ============ MARQUEE ============ */
.marquee {
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  background: var(--bg-2);
  padding: 18px 0;
  overflow: hidden;
  margin-top: 80px;
}
.marquee-track {
  display: flex;
  gap: 48px;
  white-space: nowrap;
  animation: marquee 40s linear infinite;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.marquee-track span { display: inline-flex; align-items: center; gap: 48px; }
.marquee-track .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--teal);
  display: inline-block;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============ ABOUT ============ */
.about { padding: 100px 0; }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 80px;
  align-items: start;
}
.about-grid .label-col .eyebrow { display: block; margin-bottom: 14px; }
.about-grid .label-col h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 48px;
  line-height: 1;
  margin: 0;
  letter-spacing: -0.02em;
}
.about-grid .label-col h2 .it { font-style: italic; color: var(--accent); }
.about-grid .copy p {
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink-2);
  margin: 0 0 22px;
}
.about-grid .copy p:first-child {
  font-size: 21px;
  color: var(--ink);
  line-height: 1.4;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
  border-left: 3px solid var(--accent);
  padding-left: 24px;
  margin-bottom: 32px;
}
.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}
.pill {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid var(--rule-2);
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--ink-2);
  background: var(--paper);
}
@media (max-width: 820px) {
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .about-grid .label-col h2 { font-size: 36px; }
}

/* ============ AGENDA ============ */
.agenda {
  background: var(--ink);
  color: var(--bg);
  padding: 100px 0;
}
.agenda .eyebrow { color: var(--coral-2); }
.agenda h2 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(48px, 7vw, 88px);
  line-height: 0.95;
  margin: 8px 0 0;
  letter-spacing: -0.02em;
  color: var(--bg);
}
.agenda h2 .it { font-style: normal; color: var(--teal-2); }
.agenda-note {
  max-width: 520px;
  margin: 16px 0 0;
  color: rgba(255,255,255,0.82);
  font-size: 17px;
  line-height: 1.45;
}
.agenda-note strong {
  display: block;
  margin-bottom: 2px;
  color: #fff;
  font-weight: 500;
}
.agenda-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 32px;
  margin-bottom: 48px;
}
.agenda-tabs {
  display: inline-flex;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 999px;
  padding: 4px;
  max-width: 100%;
}
.agenda-tabs button {
  background: transparent;
  border: none;
  color: rgba(255,255,255,0.7);
  font-family: var(--sans);
  font-size: 15px;
  padding: 10px 20px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: background 160ms ease, color 160ms ease;
}
.agenda-tabs button .time {
  font-family: var(--mono);
  font-size: 11px;
  opacity: 0.6;
}
.agenda-tabs button.active {
  background: var(--bg);
  color: var(--ink);
}
.agenda-tabs button.active .time { color: var(--ink-3); opacity: 1; }

.timeline {
  border-top: 1px solid rgba(255,255,255,0.22);
}
.tl-content,
.tl-speaker,
.t3-turno,
.ponente-card,
.taller-card,
.area-card,
.info-card,
.about-grid > *,
.asistir-grid > * {
  min-width: 0;
}
.tl-row {
  display: grid;
  grid-template-columns: 140px 1fr 260px;
  gap: 24px;
  padding: 26px 0;
  border-bottom: 1px solid rgba(255,255,255,0.14);
  align-items: start;
  transition: background 200ms ease;
}
.tl-row:hover { background: rgba(255,255,255,0.025); }
.tl-time {
  font-family: var(--mono);
  font-size: 14px;
  letter-spacing: 0.04em;
  color: #C9A2DA;
  padding-top: 4px;
}
.tl-time .duration {
  display: block;
  color: rgba(255,255,255,0.74);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-top: 4px;
}
.tl-time .tl-sala {
  display: block;
  color: rgba(255,255,255,0.9);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-top: 6px;
}
.tl-content h3 {
  font-family: var(--display);
  font-style: normal;
  font-weight: 600;
  font-size: 28px;
  line-height: 1.1;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
  color: var(--bg);
}
.tl-content h3 .normal { font-style: normal; }
.tl-content p {
  font-size: 17px;
  line-height: 1.5;
  color: rgba(255,255,255,0.76);
  margin: 0;
  max-width: 560px;
}
.tl-row:has(.tl-speaker) .tl-content {
  grid-column: 2 / -1;
  max-width: none;
}
.tl-row:has(.tl-speaker) .tl-content p {
  max-width: none;
}
.tl-tag {
  display: inline-block;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
}
.tag-keynote { background: rgba(128,78,154,0.25); color: #C9A2DA; }
.tag-break { background: rgba(255,255,255,0.06); color: rgba(255,255,255,0.7); }
.tag-seta { background: rgba(62,183,174,0.18); color: #6BD4CA; }
.tag-opening { background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.8); }
.tag-workshop { background: rgba(62,183,174,0.18); color: #6BD4CA; }
.tag-music { background: rgba(255,255,255,0.06); color: rgba(255,255,255,0.65); }

.tl-speaker {
  display: flex;
  gap: 16px;
  align-items: center;
  align-self: start;
  grid-column: 2 / -1;
  padding-top: 6px;
  font-size: 13px;
  min-height: 100%;
  max-width: 760px;
}
.tl-speaker .avatar {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, #444, #222);
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}
.tl-speaker .avatar::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(45deg, transparent 0 4px, rgba(255,255,255,0.06) 4px 6px);
}
.tl-speaker .avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  position: relative;
  z-index: 1;
  filter: none;
}
.tl-speaker .avatar .initials {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: rgba(255,255,255,0.88);
}
.tl-speaker .avatar:has(img)::after { display: none; }
.tl-row:hover .tl-speaker .avatar img { filter: none; }
.tl-speaker .name {
  color: var(--bg);
  font-size: 15px;
  line-height: 1.2;
  font-weight: 500;
}
.tl-speaker .role {
  color: rgba(255,255,255,0.5);
  font-size: 13px;
  line-height: 1.35;
  margin-top: 4px;
  display: block;
}
.tl-speaker-list {
  display: grid;
  gap: 12px;
}
.tl-speaker-item {
  display: flex;
  gap: 14px;
  align-items: center;
}

.tl-row.is-break { background: rgba(255,255,255,0.02); }
.tl-row.is-break .tl-content h3 { font-style: normal; font-family: var(--sans); font-size: 18px; font-weight: 500; }
.tl-row.is-workshop-block {
  grid-template-columns: 140px minmax(0, 1fr);
}
.tl-row.is-workshop-block > :last-child {
  display: none;
}

/* Cierre de sección Agenda · descarga del programa */
.agenda-download {
  display: flex;
  justify-content: center;
  margin-top: 64px;
  padding-top: 48px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.agenda-download .btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-color: rgba(255,255,255,0.4);
  color: var(--bg);
}
.agenda-download .btn-secondary:hover {
  background: var(--bg);
  color: var(--ink);
  border-color: var(--bg);
}
.agenda-jump {
  display: flex;
  justify-content: center;
  padding-top: 28px;
}
.agenda-jump-btn {
  appearance: none;
  border: 1px solid rgba(255,255,255,0.12);
  background: var(--bg);
  color: var(--ink);
  border-radius: 999px;
  padding: 14px 22px;
  font-family: var(--sans);
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  box-shadow: 0 0 0 4px rgba(255,255,255,0.06);
  transition: transform 180ms ease, box-shadow 180ms ease;
}
.agenda-jump-btn .time {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-3);
}
.agenda-jump-btn .arrow {
  font-size: 16px;
  line-height: 1;
}
.agenda-jump-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 0 4px rgba(255,255,255,0.1);
}

/* Talleres simultáneos · sub-bloques de turnos */
.t3-turnos {
  margin-top: 18px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.t3-turno {
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 16px 18px;
  background: rgba(255,255,255,0.015);
}
.t3-turno-head {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.t3-label {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal-2);
}
.t3-time {
  font-family: var(--mono);
  font-size: 11px;
  color: rgba(255,255,255,0.55);
}
.t3-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.t3-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 6px 0;
  color: rgba(255,255,255,0.78);
  font-size: 15px;
  line-height: 1.45;
}
.t3-roundtable {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.t3-rt-label {
  display: block;
  margin-bottom: 8px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}
.t3-roundtable h4 {
  margin: 0 0 6px;
  font-family: var(--display);
  font-size: 20px;
  line-height: 1.15;
  color: var(--bg);
}
.t3-roundtable h4 .normal { font-style: normal; }
.t3-roundtable p {
  margin: 0;
  font-size: 15px;
  line-height: 1.45;
  color: rgba(255,255,255,0.72);
}
.t3-rt-speaker {
  margin-top: 12px;
  display: flex;
  gap: 14px;
  align-items: center;
}
.t3-rt-speaker.no-photo {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed rgba(255,255,255,0.08);
}
.t3-rt-speaker .avatar {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: linear-gradient(135deg, #444, #222);
}
.t3-rt-speaker .avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.t3-rt-speaker .name {
  display: block;
  color: var(--bg);
  font-size: 15px;
  line-height: 1.2;
  font-weight: 600;
}
.t3-rt-speaker .role {
  display: block;
  margin-top: 4px;
  color: rgba(255,255,255,0.62);
  font-size: 13px;
  line-height: 1.4;
}
.t3-letter {
  flex-shrink: 0;
  display: inline-block;
  width: 20px;
  height: 20px;
  line-height: 20px;
  text-align: center;
  border-radius: 4px;
  background: rgba(62,183,174,0.18);
  color: var(--teal-2);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  margin-top: 1px;
}
.t3-text {
  flex: 1;
}
.t3-room {
  flex-shrink: 0;
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.65);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.06em;
  margin-top: 1px;
  align-self: flex-start;
}

@media (max-width: 820px) {
  .agenda .eyebrow {
    font-size: 14px;
    color: #f0dcf8;
  }
  .agenda-note {
    font-size: 17px;
    line-height: 1.5;
    color: rgba(255,255,255,0.88);
  }
  .agenda-note strong {
    color: #fff;
  }
  .tl-row {
    grid-template-columns: 104px 1fr;
    column-gap: 16px;
    row-gap: 10px;
  }
  .tl-time {
    font-size: 14px;
  }
  .tl-time .duration {
    font-size: 12px;
    color: rgba(255,255,255,0.82);
  }
  .tl-time .tl-sala {
    font-size: 12px;
    line-height: 1.3;
    letter-spacing: 0.1em;
    color: #fff;
  }
  .tl-row.is-workshop-block {
    grid-template-columns: 1fr;
  }
  .tl-row.is-workshop-block .tl-time,
  .tl-row.is-workshop-block .tl-content {
    grid-column: 1 / -1;
  }
  .tl-row.is-workshop-block .tl-content {
    padding-top: 6px;
  }
  .tl-speaker { grid-column: 1 / -1; padding-top: 6px; padding-left: 120px; }
  .tl-speaker .avatar { width: 58px; height: 58px; }
  .tl-content h3 { font-size: 24px; }
  .tl-content p { font-size: 17px; color: rgba(255,255,255,0.88); }
  .agenda-head { align-items: flex-start; }
  .agenda-tabs {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    border-radius: 24px;
  }
  .agenda-tabs button {
    width: 100%;
    justify-content: space-between;
  }
  .agenda-tabs button .time {
    white-space: nowrap;
  }
  .t3-turnos { grid-template-columns: 1fr; gap: 12px; }
  .t3-turno { padding: 14px 16px; }
  .t3-list li {
    display: grid;
    grid-template-columns: 20px minmax(0, 1fr);
    gap: 8px 12px;
  }
  .t3-room {
    grid-column: 2;
    justify-self: start;
    margin-top: 0;
  }
  .agenda-jump {
    width: 100%;
  }
  .agenda-jump-btn {
    width: 100%;
    justify-content: space-between;
  }
}

/* ============ PONENTES ============ */
.ponentes { padding: 120px 0; }
.ponentes-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: end;
  margin-bottom: 60px;
}
.ponentes-head h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(48px, 6vw, 88px);
  line-height: 0.95;
  letter-spacing: -0.02em;
  margin: 12px 0 0;
}
.ponentes-head h2 .it { font-style: italic; color: var(--accent); }
.ponentes-head p {
  font-size: 17px;
  color: var(--ink-2);
  line-height: 1.55;
  margin: 0;
}

/* Maestra de Ceremonias · strip destacado */
.mc-strip {
  display: flex;
  align-items: center;
  gap: 28px;
  margin: 48px 0 56px;
  padding: 24px 28px;
  border: 1px solid var(--rule);
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(124,78,149,0.04) 0%, rgba(62,183,174,0.04) 100%);
  position: relative;
}
.mc-strip::before {
  content: "";
  position: absolute;
  left: 28px;
  top: -1px;
  width: 60px;
  height: 2px;
  background: var(--accent);
}
.mc-photo {
  flex-shrink: 0;
  width: 244px;
  height: 142px;
  border-radius: 18px;
  overflow: hidden;
  background: var(--bg-2);
  border: 1px solid var(--rule);
}
.mc-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: none;
}
.mc-strip:hover .mc-photo img { filter: none; }
.mc-body {
  flex: 1;
  min-width: 0;
}
.mc-role {
  display: inline-block;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}
.mc-name {
  font-family: var(--serif);
  font-size: 36px;
  font-weight: 400;
  line-height: 1.1;
  margin: 0 0 8px;
  color: var(--ink);
}
.mc-name .it {
  font-style: normal;
  color: var(--accent);
}
.mc-body p {
  margin: 0;
  font-size: 17px;
  color: var(--ink-2);
  line-height: 1.5;
}

@media (max-width: 720px) {
  .mc-strip {
    flex-direction: column;
    text-align: center;
    gap: 18px;
    padding: 28px 20px;
  }
  .mc-photo { width: min(100%, 256px); height: 146px; }
  .mc-name { font-size: 28px; }
}

.ponentes-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.ponente-card {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 16px;
  padding: 24px;
  transition: transform 200ms ease, box-shadow 200ms ease;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.ponente-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px -20px rgba(20,17,14,0.3);
}
.ponente-photo {
  aspect-ratio: 4 / 5;
  background: var(--bg-2);
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 16px;
}
.ponente-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(135deg, transparent 0 8px, rgba(20,17,14,0.04) 8px 9px);
}
.ponente-photo .ph-mark {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
  background: var(--bg);
  padding: 4px 8px;
  border-radius: 4px;
  position: relative;
  z-index: 1;
}
.ponente-photo .initials {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-style: italic;
  font-size: 72px;
  color: var(--ink);
  opacity: 0.18;
  letter-spacing: -0.02em;
}
/* Real photos: B/N base + duotone morado/teal en hover */
.ponente-photo.has-photo {
  padding: 0;
  background: #14110E;
}
.ponente-photo.has-photo::before { display: none; }
.ponente-photo.has-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: none;
}
.ponente-photo.has-photo::after {
  display: none;
}
.ponente-card:hover .ponente-photo.has-photo img {
  filter: none;
}
.ponente-card .order {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-3);
  letter-spacing: 0.12em;
}
.ponente-card h4 {
  font-family: var(--display);
  font-style: normal;
  font-weight: 600;
  font-size: 29px;
  line-height: 1.05;
  margin: 0;
  letter-spacing: -0.01em;
}
.ponente-card .role {
  font-size: 16px;
  color: var(--ink-3);
  line-height: 1.45;
}
.ponente-card .topic {
  font-size: 17px;
  color: var(--ink-2);
  border-top: 1px dashed var(--rule);
  padding-top: 14px;
  margin-top: auto;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.ponente-card .topic::before {
  content: "→";
  color: var(--accent);
  font-family: var(--mono);
}
@media (max-width: 1080px) { .ponentes-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .ponentes-grid { grid-template-columns: 1fr; } }
@media (max-width: 820px) {
  .ponentes-head { grid-template-columns: 1fr; gap: 24px; }
}

/* ============ TALLERES ============ */
.talleres {
  background: var(--bg-2);
  padding: 120px 0;
  border-top: 1px solid var(--rule);
}
.talleres-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: end;
  margin-bottom: 56px;
}
.talleres-head h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(48px, 6vw, 88px);
  line-height: 0.95;
  letter-spacing: -0.02em;
  margin: 12px 0 0;
}
.talleres-head h2 .it { font-style: italic; color: var(--coral); }
.talleres-head p { font-size: 17px; color: var(--ink-2); line-height: 1.55; margin: 0; }

.taller-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.taller-card {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 18px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 200ms ease, border-color 200ms ease;
  position: relative;
  overflow: hidden;
}
.taller-card:hover { transform: translateY(-2px); border-color: var(--ink); }
.taller-letter {
  font-family: var(--display);
  font-style: normal;
  font-weight: 700;
  font-size: 96px;
  line-height: 0.8;
  color: var(--ink);
  margin: -8px 0 -16px;
  letter-spacing: -0.04em;
}
.taller-card.A .taller-letter { color: var(--accent); }
.taller-card.B .taller-letter { color: var(--teal); }
.taller-card.C .taller-letter { color: var(--accent-2); }
.taller-card.D .taller-letter { color: var(--teal-2); }
.taller-card h4 {
  font-family: var(--sans);
  font-size: 20px;
  font-weight: 600;
  margin: 0;
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.taller-card p {
  font-size: 17px;
  color: var(--ink-2);
  margin: 0;
  line-height: 1.5;
}
.taller-card .meta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 8px;
  padding-top: 14px;
  border-top: 1px solid var(--rule);
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-3);
  letter-spacing: 0.06em;
}
.taller-card .meta b { color: var(--ink); font-weight: 600; }
.taller-card.has-sub h4 { display: flex; flex-direction: column; gap: 4px; }
.taller-sub-list { margin: 4px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.taller-sub-list li {
  font-size: 17px;
  color: var(--ink-2);
  border-left: 2px solid var(--rule-2);
  padding-left: 14px;
}
.taller-sub-list li b { color: var(--ink); font-weight: 600; display: block; margin-bottom: 2px; }

@media (max-width: 720px) { .taller-grid { grid-template-columns: 1fr; } .talleres-head { grid-template-columns: 1fr; gap: 24px; } }

/* ============ SHOWROOM ============ */
.showroom { padding: 120px 0; }
.showroom-head {
  text-align: left;
  max-width: 880px;
  margin-bottom: 56px;
}
.showroom-head h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(48px, 6vw, 88px);
  line-height: 0.95;
  letter-spacing: -0.02em;
  margin: 12px 0 0;
}
.showroom-head h2 .it { font-style: italic; color: var(--accent); }
.showroom-head p { font-size: 17px; color: var(--ink-2); line-height: 1.55; margin: 18px 0 0; max-width: 640px; }

.area-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.area-card {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 18px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 320px;
  position: relative;
  overflow: hidden;
}
.area-card .num {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-3);
  letter-spacing: 0.14em;
}
.area-card .glyph {
  width: 64px; height: 64px;
  border-radius: 14px;
  background: var(--bg-2);
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-style: italic;
  font-size: 30px;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.area-card.a-1 .glyph { background: rgba(128,78,154,0.12); color: var(--accent); }
.area-card.a-2 .glyph { background: rgba(62,183,174,0.14); color: var(--teal-2); }
.area-card.a-3 .glyph { background: rgba(128,78,154,0.12); color: var(--accent-2); }
.area-card.a-4 .glyph { background: rgba(62,183,174,0.14); color: var(--teal-2); }
.area-icon {
  display: block;
  width: 42px;
  height: 42px;
  background-color: currentColor;
  -webkit-mask: var(--icon) center/contain no-repeat;
          mask: var(--icon) center/contain no-repeat;
}

.area-card h4 {
  font-family: var(--display);
  font-style: normal;
  font-weight: 600;
  font-size: 28px;
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin: 0;
}
.area-card p {
  font-size: 17px;
  color: var(--ink-2);
  line-height: 1.5;
  margin: 0;
}
.area-card ul {
  margin: auto 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px dashed var(--rule);
  padding-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.area-card ul li {
  font-size: 16px;
  color: var(--ink-2);
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.area-card ul li::before {
  content: "";
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--teal);
  margin-top: 7px;
  flex-shrink: 0;
}

@media (max-width: 1080px) { .area-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .area-grid { grid-template-columns: 1fr; } }

/* ============ ASISTIR ============ */
.asistir {
  background: var(--ink);
  color: var(--bg);
  padding: 120px 0;
}
.asistir-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: stretch;
}
.asistir-grid > div {
  display: flex;
  flex-direction: column;
}
/* Columna izquierda: la info-card se pega al final, dejando espacio bajo los botones */
.asistir-grid > div:first-child > .info-card {
  margin-top: auto;
  padding-top: 24px;
}
/* Aire entre los botones y la info-card */
.asistir-grid > div:first-child > .hero-actions {
  margin-bottom: 56px;
}
/* Columna derecha: el mapa rellena el espacio sobrante hasta llegar al fondo */
.asistir-grid > div:last-child > .map-frame {
  flex: 1;
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.asistir-grid > div:last-child > .map-frame > .map-vis {
  flex: 1;
  aspect-ratio: auto;
  min-height: 0;
  height: 100%;
}
.asistir h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(56px, 8vw, 112px);
  line-height: 0.92;
  letter-spacing: -0.025em;
  margin: 12px 0 0;
}
.asistir h2 .it { font-style: italic; color: var(--coral); }
.asistir .copy { color: rgba(255,255,255,0.7); font-size: 17px; line-height: 1.55; margin: 28px 0 36px; max-width: 480px; }
.asistir .eyebrow { color: var(--coral-2); }

.info-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  padding: 28px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.info-card .info-item h5 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin: 0 0 8px;
  font-weight: 500;
}
.info-card .info-item p {
  margin: 0;
  font-size: 17px;
  line-height: 1.5;
  color: var(--bg);
}
.info-card .info-item .lg {
  font-family: var(--display);
  font-style: normal;
  font-weight: 700;
  font-size: 32px;
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--bg);
  display: block;
  margin-bottom: 4px;
}
.info-card .info-item .small {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
}

.map-frame {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  padding: 16px;
  margin-top: 16px;
}
.map-vis {
  aspect-ratio: 16/10;
  background:
    linear-gradient(135deg, rgba(128,78,154,0.18) 0%, rgba(62,183,174,0.10) 100%),
    repeating-linear-gradient(45deg, rgba(255,255,255,0.04) 0 1px, transparent 1px 14px),
    repeating-linear-gradient(-45deg, rgba(255,255,255,0.04) 0 1px, transparent 1px 14px);
  border-radius: 12px;
  position: relative;
  overflow: hidden;
}
.map-tinted::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(125, 78, 150, 0.55) 0%, rgba(70, 182, 170, 0.45) 100%);
  mix-blend-mode: color;
  pointer-events: none;
  z-index: 2;
}
.map-tinted::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, transparent 0%, rgba(20,17,14,0.35) 100%);
  pointer-events: none;
  z-index: 3;
}
.map-vis .pin {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.map-vis .pin-dot {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 6px rgba(62,183,174,0.25), 0 0 0 14px rgba(62,183,174,0.12);
  animation: pulse 2.4s ease-out infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(62,183,174,0.5), 0 0 0 0 rgba(62,183,174,0.25); }
  70% { box-shadow: 0 0 0 16px rgba(62,183,174,0), 0 0 0 32px rgba(62,183,174,0); }
  100% { box-shadow: 0 0 0 0 rgba(62,183,174,0), 0 0 0 0 rgba(62,183,174,0); }
}
.map-vis .pin-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bg);
  background: rgba(20,17,14,0.7);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 6px 12px;
  border-radius: 999px;
  white-space: nowrap;
}

@media (max-width: 820px) {
  .asistir-grid { grid-template-columns: 1fr; gap: 40px; }
  .info-card { grid-template-columns: 1fr; }
  .asistir-grid > div:last-child > .map-frame {
    min-height: 320px;
  }
  .asistir-grid > div:last-child > .map-frame > .map-vis {
    min-height: 320px;
    aspect-ratio: 4 / 3;
  }
}

/* ============ PÁGINA STREAMING ============ */
.streaming-page {
  padding: 80px 0 120px;
  min-height: 70vh;
}
.streaming-h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(48px, 7vw, 96px);
  line-height: 0.95;
  letter-spacing: -0.025em;
  margin: 0 0 24px;
  color: var(--ink);
}
.streaming-h1 .it {
  font-style: italic;
  color: var(--accent);
}
.streaming-intro {
  font-size: 17px;
  color: var(--ink-2);
  line-height: 1.5;
  max-width: 640px;
  margin: 0 0 56px;
}

/* Iframe del streaming activo */
.streaming-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  background: #000;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--rule);
}
.streaming-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Estado offline (streaming aún no disponible) */
.streaming-offline {
  border: 1px solid var(--rule);
  border-radius: 20px;
  padding: 80px 40px;
  text-align: center;
  background: var(--bg-2);
}
.streaming-offline-mark {
  display: inline-flex;
  gap: 6px;
  margin-bottom: 28px;
}
.streaming-offline-mark span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ink-3);
  opacity: 0.4;
  animation: offline-blink 1.8s ease-in-out infinite;
}
.streaming-offline-mark span:nth-child(2) { animation-delay: 0.2s; }
.streaming-offline-mark span:nth-child(3) { animation-delay: 0.4s; }
@keyframes offline-blink {
  0%, 100% { opacity: 0.2; }
  50% { opacity: 0.7; }
}
.streaming-offline h3 {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 28px;
  color: var(--ink);
  margin: 0 0 16px;
}
.streaming-offline p {
  font-size: 17px;
  color: var(--ink-2);
  line-height: 1.55;
  max-width: 480px;
  margin: 0 auto 36px;
}
.streaming-offline .btn-secondary {
  display: inline-flex;
  align-items: center;
}

/* Punto rojo grande de "en directo" en eyebrow */
.live-dot-big {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--coral);
  display: inline-block;
  animation: live-pulse 1.6s ease-in-out infinite;
  box-shadow: 0 0 0 0 rgba(226,107,90,0.6);
}

@media (max-width: 720px) {
  .streaming-page { padding: 48px 0 80px; }
  .streaming-offline { padding: 60px 24px; }
  .streaming-offline h3 { font-size: 22px; }
}

/* ============ FOOTER ============ */
footer {
  padding: 60px 0 36px;
  border-top: 1px solid var(--rule);
  background: var(--bg);
}
.foot-row {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  align-items: end;
}
.foot-row .small {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.foot-mark {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(72px, 14vw, 200px);
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--ink);
  margin: 36px 0 0;
}
.foot-mark .accent {
  background: var(--brand-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ============ HERO VIDEO ============ */
.hero-video {
  margin-top: 56px;
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  background: linear-gradient(135deg, #1B1330 0%, #3D2A55 60%, #2E9E96 140%);
  aspect-ratio: 16 / 9;
  display: grid;
  place-items: center;
  box-shadow: 0 30px 60px -30px rgba(27,19,48,0.4);
}
.hero-video::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(128,78,154,0.6) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(62,183,174,0.5) 0%, transparent 55%);
  opacity: 0.7;
}
.hero-video::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(135deg, transparent 0 14px, rgba(255,255,255,0.03) 14px 15px);
}
.hero-video .play-btn {
  position: relative;
  z-index: 2;
  width: 96px; height: 96px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.3);
  display: grid; place-items: center;
  cursor: pointer;
  transition: transform 200ms ease, background 200ms ease;
}
.hero-video .play-btn:hover { transform: scale(1.06); background: rgba(255,255,255,0.2); }
.hero-video .play-btn svg { width: 32px; height: 32px; fill: white; margin-left: 4px; }
.hero-video .vid-meta {
  position: absolute;
  bottom: 24px; left: 28px;
  z-index: 2;
  color: rgba(255,255,255,0.9);
}
.hero-video .vid-meta .lbl {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}
.hero-video .vid-meta .ttl {
  font-family: var(--serif);
  font-style: italic;
  font-size: 26px;
  margin-top: 4px;
}
.hero-video .vid-tag {
  position: absolute;
  top: 24px; right: 28px;
  z-index: 2;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0,0,0,0.25);
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.15);
}
.hero-video .vid-tag .red {
  width: 8px; height: 8px; border-radius: 50%;
  background: #FF5470;
  box-shadow: 0 0 0 0 rgba(255,84,112,0.6);
  animation: pulse-red 1.6s infinite;
}
@keyframes pulse-red {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255,84,112,0.6); }
  50% { box-shadow: 0 0 0 6px rgba(255,84,112,0); }
}

/* ============ NAV LOGO ============ */
.brand {
  display: inline-flex;
  align-items: center;
}
.nav-logo {
  height: 72px;
  width: auto;
  display: block;
  transition: transform 200ms ease;
}
.nav-logo:hover { transform: scale(1.02); }
@media (max-width: 720px) {
  .nav-inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 12px;
    padding: 10px 16px;
  }
  .brand {
    grid-column: 2;
    justify-self: center;
  }
  .nav-logo { height: 52px; }
  .nav-inner > .lang-switch {
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
    padding: 8px 10px;
    font-size: 11px;
  }
  .nav-inner > .nav-actions {
    display: none;
  }
  .nav-toggle {
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
    width: 42px;
    height: 42px;
    border: 1px solid var(--rule);
    border-radius: 999px;
    background: var(--paper);
    color: var(--ink);
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 0;
  }
  .nav-toggle span {
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    transition: transform 180ms ease, opacity 180ms ease;
  }
  body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .mobile-menu {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transition: max-height 240ms ease, opacity 180ms ease, padding 240ms ease;
  }
  body.nav-open .mobile-menu {
    max-height: 520px;
    opacity: 1;
    pointer-events: auto;
    padding: 8px 0 6px;
  }
  .mobile-menu > a:not(.nav-streaming) {
    padding: 13px 4px;
    border-top: 1px solid var(--rule);
    text-decoration: none;
    color: var(--ink);
    font-size: 17px;
  }
  .mobile-menu .nav-streaming,
  .mobile-menu .nav-cta {
    width: 100%;
    justify-content: center;
    margin-top: 12px;
  }
  .mobile-menu .nav-cta {
    min-height: 44px;
  }
}

/* ============ FOOTER INSTITUCIONAL ============ */
.foot-instit {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 32px;
}
.foot-instit img { width: 100%; height: auto; display: block; opacity: 0.95; }

@media (max-width: 720px) {
  footer {
    padding-top: 36px;
  }
  .foot-instit {
    padding-right: 0;
    padding-left: 0;
  }
  .foot-legal {
    padding-right: 20px;
    padding-left: 20px;
  }
}

.foot-legal {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 24px 32px 32px;
  text-align: center;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-3);
  letter-spacing: 0.04em;
}
.foot-legal .legal-link {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.foot-legal .legal-link:hover { color: var(--accent); }

/* hero video on small screens */
@media (max-width: 720px) {
  .hero-video { aspect-ratio: 4 / 3; }
  .hero-video .play-btn { width: 72px; height: 72px; }
  .hero-video .vid-meta .ttl { font-size: 20px; }
}

/* ============ scrollreveal ============ */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 700ms cubic-bezier(.2,.7,.2,1), transform 700ms cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal-stagger > * { opacity: 0; transform: translateY(14px); transition: opacity 600ms cubic-bezier(.2,.7,.2,1), transform 600ms cubic-bezier(.2,.7,.2,1); }
.reveal-stagger.in > * { opacity: 1; transform: none; }
.reveal-stagger.in > *:nth-child(1) { transition-delay: 60ms; }
.reveal-stagger.in > *:nth-child(2) { transition-delay: 120ms; }
.reveal-stagger.in > *:nth-child(3) { transition-delay: 180ms; }
.reveal-stagger.in > *:nth-child(4) { transition-delay: 240ms; }
.reveal-stagger.in > *:nth-child(5) { transition-delay: 300ms; }
.reveal-stagger.in > *:nth-child(6) { transition-delay: 360ms; }
.reveal-stagger.in > *:nth-child(7) { transition-delay: 420ms; }
.reveal-stagger.in > *:nth-child(8) { transition-delay: 480ms; }

/* ============ PAGE LOAD ============ */
.preloader {
  position: fixed; inset: 0;
  background: var(--bg);
  z-index: 9999;
  display: grid; place-items: center;
  pointer-events: none;
  transition: opacity 700ms ease 200ms, visibility 700ms ease 200ms;
}
.preloader.gone { opacity: 0; visibility: hidden; }
.preloader-mark {
  width: 80px; height: 80px;
  position: relative;
}
.preloader-mark .sq {
  position: absolute; inset: 0;
  border: 2px solid var(--accent);
  border-radius: 50%;
  border-right-color: transparent;
  border-bottom-color: transparent;
  animation: spin 1.1s linear infinite;
}
.preloader-mark .dot {
  position: absolute; inset: 30px;
  background: var(--brand-grad);
  border-radius: 50%;
  animation: pulseDot 1.1s ease-in-out infinite alternate;
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulseDot { from { transform: scale(.7); opacity:.5; } to { transform: scale(1); opacity: 1; } }

/* ============ HERO ENTRY ============ */
.h1-line { display: block; overflow: hidden; line-height: 0.92; padding-bottom: 0.06em; }
.h1-line > span {
  display: inline-block;
  transform: translateY(110%);
  opacity: 0;
  animation: rise 900ms cubic-bezier(.2,.7,.2,1) forwards;
  line-height: 0.92;
}
body.loaded .h1-line:nth-child(1) > span { animation-delay: 200ms; }
body.loaded .h1-line:nth-child(3) > span { animation-delay: 360ms; }
body.loaded .h1-line:nth-child(5) > span { animation-delay: 520ms; }
@keyframes rise { to { transform: translateY(0); opacity: 1; } }

.fade-up {
  opacity: 0; transform: translateY(12px);
  transition: opacity 700ms cubic-bezier(.2,.7,.2,1), transform 700ms cubic-bezier(.2,.7,.2,1);
}
body.loaded .fade-up { opacity: 1; transform: none; }
body.loaded .fade-up.d1 { transition-delay: 700ms; }
body.loaded .fade-up.d2 { transition-delay: 820ms; }
body.loaded .fade-up.d3 { transition-delay: 940ms; }
body.loaded .fade-up.d4 { transition-delay: 1060ms; }

/* hero meta row stagger */
.hero-meta-row.reveal-stagger > * { opacity: 0; transform: translateY(8px); transition: opacity 500ms ease, transform 500ms ease; }
body.loaded .hero-meta-row.reveal-stagger > * { opacity: 1; transform: none; }
body.loaded .hero-meta-row.reveal-stagger > *:nth-child(1) { transition-delay: 120ms; }
body.loaded .hero-meta-row.reveal-stagger > *:nth-child(2) { transition-delay: 180ms; }
body.loaded .hero-meta-row.reveal-stagger > *:nth-child(3) { transition-delay: 240ms; }
body.loaded .hero-meta-row.reveal-stagger > *:nth-child(4) { transition-delay: 300ms; }
body.loaded .hero-meta-row.reveal-stagger > *:nth-child(5) { transition-delay: 360ms; }

/* play button bigger ring */
.hero-video .play-btn {
  animation: ringPulse 2.4s ease-out infinite;
}
@keyframes ringPulse {
  0% { box-shadow: 0 0 0 0 rgba(255,255,255,0.4); }
  70% { box-shadow: 0 0 0 28px rgba(255,255,255,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); }
}

/* nav reveal */
.nav { transform: translateY(-100%); transition: transform 700ms cubic-bezier(.2,.7,.2,1); }
body.loaded .nav { transform: none; }

/* scroll progress bar */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 2px;
  background: transparent;
  z-index: 100;
  pointer-events: none;
}
.scroll-progress .bar {
  height: 100%; width: 0%;
  background: var(--brand-grad);
  transition: width 100ms linear;
}

/* counter values target — keep stat numbers using data-count */
.stat .num[data-count] { font-variant-numeric: tabular-nums; }

/* button micro-interactions */
.btn-primary, .btn-secondary, .nav-cta {
  will-change: transform;
}
.btn-primary:active, .btn-secondary:active, .nav-cta:active { transform: scale(0.97); }

/* card hover micro-tilt feel */
.ponente-card, .taller-card, .area-card { will-change: transform; }

/* timeline row entry */
.tl-row { transition: background 200ms ease, transform 600ms cubic-bezier(.2,.7,.2,1), opacity 600ms ease; }

/* reduce motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; animation-iteration-count: 1 !important; }
}


/* ===== Legal link + dialog ===== */
.legal-link {
  background: none;
  border: 0;
  padding: 0;
  margin: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  opacity: 0.85;
  transition: opacity .2s ease, color .2s ease;
}
.legal-link:hover { opacity: 1; color: var(--coral); }

.legal-dialog {
  border: 0;
  padding: 0;
  background: transparent;
  max-width: min(820px, 92vw);
  width: 92vw;
  max-height: 88vh;
  color: var(--ink);
  border-radius: 14px;
  overflow: visible;
}
.legal-dialog::backdrop {
  background: rgba(20,17,14,0.55);
  backdrop-filter: blur(6px) saturate(120%);
  -webkit-backdrop-filter: blur(6px) saturate(120%);
}
.legal-dialog[open] { animation: legal-in .3s cubic-bezier(.2,.8,.2,1); }
@keyframes legal-in {
  from { opacity: 0; transform: translateY(12px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.legal-shell {
  background: var(--bg);
  border-radius: 14px;
  border: 1px solid rgba(20,17,14,0.08);
  display: flex;
  flex-direction: column;
  max-height: 88vh;
  overflow: hidden;
  box-shadow: 0 30px 80px -20px rgba(20,17,14,0.4);
}
.legal-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 28px;
  border-bottom: 1px solid rgba(20,17,14,0.08);
  background: var(--bg-2);
}
.legal-close {
  background: none;
  border: 0;
  font-size: 28px;
  line-height: 1;
  color: var(--ink-2);
  cursor: pointer;
  padding: 4px 10px;
  border-radius: 6px;
  transition: background .2s, color .2s;
}
.legal-close:hover { background: rgba(20,17,14,0.06); color: var(--ink); }

.legal-body {
  padding: 28px 32px 8px;
  overflow-y: auto;
  flex: 1;
}
.legal-body h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin: 0 0 8px;
}
.legal-body h2 em {
  font-style: italic;
  color: var(--coral);
}
.legal-body article + article {
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid rgba(20,17,14,0.08);
}
.legal-body h3 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 500;
  margin: 18px 0 14px;
}
.legal-body p {
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-2);
  margin: 0 0 12px;
  text-wrap: pretty;
}
.legal-body p.legal-addr {
  background: var(--bg-2);
  border-left: 2px solid var(--coral);
  padding: 12px 16px;
  font-family: var(--mono);
  font-size: 12.5px;
  line-height: 1.7;
}
.legal-body a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.legal-body a:hover { color: var(--coral); }

.legal-foot {
  padding: 18px 28px;
  border-top: 1px solid rgba(20,17,14,0.08);
  display: flex;
  justify-content: flex-end;
  background: var(--bg-2);
}
.legal-foot .btn-primary {
  padding: 10px 22px;
  font-size: 13px;
}

@media (max-width: 600px) {
  .legal-body { padding: 22px 22px 4px; }
  .legal-head, .legal-foot { padding: 14px 22px; }
}


/* ===== Hero video real element ===== */
.hero-video .vid-el {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  background: #14110E;
}
.hero-video.playing .play-btn,
.hero-video.playing .vid-meta,
.hero-video.playing .vid-tag,
.hero-video.playing::before,
.hero-video.playing::after {
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s ease;
}
.hero-video.playing .vid-el { z-index: 5; }
