/* ============================================================
   GENDERCOM 2026 — Sistema de diseño
   Paleta extraída del logo: magenta · rosa · púrpura · turquesa
   Display: Syne  ·  Texto: Plus Jakarta Sans
   ============================================================ */

:root {
  /* Marca */
  --magenta: #C6007E;
  --magenta-deep: #9E0566;
  --pink: #ED5BA0;
  --purple: #6E2B8E;
  --purple-deep: #4A1C66;
  --teal: #1CA0AE;

  /* Neutros */
  --ink: #140F1A;
  --ink-2: #1E1726;
  --ink-soft: #2A2233;
  --paper: #FFFFFF;
  --mist: #F6F1F4;
  --mist-2: #EDE5EB;
  --line: #E4D9E2;
  --line-dark: rgba(255,255,255,.12);

  --text: #211A29;
  --text-soft: #6B6072;
  --text-ondark: #F4EEF2;
  --text-ondark-soft: #B7A9Bd;

  /* Tipografía */
  --display: 'Sora', system-ui, sans-serif;
  --body: 'Plus Jakarta Sans', system-ui, sans-serif;

  /* Métrica */
  --container: 1280px;
  --gutter: clamp(20px, 5vw, 64px);
  --section-y: clamp(80px, 11vw, 168px);
  --radius: 22px;
  --radius-sm: 14px;

  --ease: cubic-bezier(.22, 1, .36, 1);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 92px; }

body {
  font-family: var(--body);
  background: var(--paper);
  color: var(--text);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

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

/* ---------- Tipografía utilitaria ---------- */
.display {
  font-family: var(--display);
  font-weight: 800;
  line-height: .92;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--body);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--magenta);
}
.eyebrow::before {
  content: attr(data-index);
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: 0;
  color: var(--text-soft);
}
.eyebrow.on-dark { color: var(--pink); }
.eyebrow.on-dark::before { color: var(--text-ondark-soft); }

.section-head {
  max-width: 760px;
  margin-bottom: clamp(40px, 5vw, 72px);
}
.section-head h2 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  line-height: .96;
  letter-spacing: -0.03em;
  margin-top: 22px;
  text-wrap: balance;
}
.section-head p {
  margin-top: 22px;
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: var(--text-soft);
  max-width: 56ch;
}
.section.dark .section-head p { color: var(--text-ondark-soft); }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--body);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: .01em;
  padding: 15px 28px;
  border-radius: 100px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .35s var(--ease), background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn-primary { background: var(--magenta); color: #fff; }
.btn-primary:hover { background: var(--magenta-deep); transform: translateY(-2px); }
.btn-ghost { border-color: var(--line); color: var(--text); background: transparent; }
.btn-ghost:hover { border-color: var(--magenta); color: var(--magenta); }
.btn-ghost.on-dark { border-color: var(--line-dark); color: var(--text-ondark); }
.btn-ghost.on-dark:hover { border-color: var(--pink); color: var(--pink); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { transform: translateY(-2px); background: var(--mist); }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background .4s var(--ease), box-shadow .4s var(--ease), padding .4s var(--ease);
  padding: 22px 0;
}
.nav.scrolled {
  background: rgba(255,255,255,.82);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  box-shadow: 0 1px 0 var(--line);
  padding: 14px 0;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-logo { display: flex; align-items: center; flex-shrink: 0; }
.nav-logo img { height: 108px; width: auto; flex: 0 0 auto; display: block; transition: height .4s var(--ease); }
.nav.scrolled .nav-logo img { height: 68px; }
.nav-logo .logo-color { display: none; }
.nav.scrolled .nav-logo .logo-neg { display: none; }
.nav.scrolled .nav-logo .logo-color { display: block; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}
.nav-links a {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text-ondark);
  padding: 9px 14px;
  border-radius: 100px;
  transition: color .25s, background .25s;
}
.nav.scrolled .nav-links a { color: var(--text); }
.nav-links a:hover { color: var(--magenta); background: rgba(198,0,126,.08); }
.nav-cta { display: flex; align-items: center; gap: 10px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 24px; height: 2px;
  background: var(--text-ondark);
  transition: background .3s, transform .3s, opacity .3s;
}
.nav.scrolled .nav-toggle span { background: var(--ink); }

.nav-mobile { display: none; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  background: var(--ink);
  color: var(--text-ondark);
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: clamp(140px, 17vh, 200px) 0 clamp(64px, 8vw, 110px);
  overflow: hidden;
  isolation: isolate;
}
.hero .container { position: relative; z-index: 1; }
.hero-content { max-width: min(900px, 94%); }
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}
.hero-photo {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 72% center;
}
.hero-veil {
  position: absolute; inset: 0;
  background:
    linear-gradient(95deg, var(--ink) 0%, rgba(20,15,26,.94) 26%, rgba(20,15,26,.55) 52%, rgba(20,15,26,.12) 100%),
    linear-gradient(0deg, rgba(20,15,26,.92) 0%, rgba(20,15,26,.12) 42%, transparent 70%);
}
.hero-veil::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(60% 50% at 88% 92%, rgba(237,91,160,.30), transparent 70%);
  mix-blend-mode: screen;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-ondark-soft);
  margin-bottom: clamp(28px, 4vw, 48px);
}
.hero-eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--pink); box-shadow: 0 0 0 4px rgba(237,91,160,.18); }

.hero-title {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2.8rem, 9vw, 8.5rem);
  line-height: .84;
  letter-spacing: -0.04em;
  position: relative;
}
.hero-title .word { display: block; }
.hero-title .year {
  color: var(--pink);
  display: inline-block;
}
.hero-lede {
  margin-top: clamp(26px, 3.5vw, 44px);
  font-size: clamp(1.5rem, 3.4vw, 2.9rem);
  font-weight: 700;
  line-height: 1.12;
  max-width: 20ch;
  color: var(--text-ondark);
  font-family: var(--display);
  letter-spacing: -0.02em;
}
.hero-lede .hl { color: var(--pink); }
.hero-venue {
  margin-top: clamp(18px, 2.4vw, 26px);
  font-size: clamp(.95rem, 1.5vw, 1.1rem);
  font-weight: 500;
  color: var(--text-ondark-soft);
  max-width: 46ch;
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(34px, 4vw, 48px);
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 11px 20px;
  border: 1.5px solid var(--line-dark);
  border-radius: 100px;
  font-size: 14.5px;
  font-weight: 500;
  background: rgba(255,255,255,.03);
  backdrop-filter: blur(6px);
}
.hero-badge svg { width: 17px; height: 17px; color: var(--pink); }
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: clamp(38px, 5vw, 56px);
}
.hero-scroll {
  position: absolute;
  bottom: 34px;
  right: var(--gutter);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--text-ondark-soft);
  writing-mode: vertical-rl;
}

/* ============================================================
   SECCIONES BASE
   ============================================================ */
.section { padding: var(--section-y) 0; position: relative; }
.section.dark { background: var(--ink); color: var(--text-ondark); }
.section.mist { background: var(--mist); }

/* ---------- Cifras ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(24px, 4vw, 56px);
}
.stat { border-top: 1.5px solid var(--line-dark); padding-top: 24px; }
.stat-num {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(3rem, 7vw, 5.5rem);
  line-height: 1;
  letter-spacing: -0.04em;
  color: #fff;
  display: flex;
  align-items: baseline;
}
.stat-num .plus, .stat-num .suffix { color: var(--pink); }
.stat-label {
  margin-top: 14px;
  font-size: 15px;
  color: var(--text-ondark-soft);
  max-width: 22ch;
}

/* ---------- Sobre el congreso ---------- */
.split {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.split-text p { color: var(--text-soft); margin-top: 20px; font-size: 1.08rem; }
.split-text .lead {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  line-height: 1.25;
  color: var(--text);
  letter-spacing: -0.01em;
}
.split-text .btn { margin-top: 36px; }
.split-media {
  position: relative;
}
.split-media image-slot {
  width: 100%;
  aspect-ratio: 4/5;
  border-radius: var(--radius);
  box-shadow: 0 40px 80px -40px rgba(110,43,142,.4);
}
.split-media .media-tag {
  position: absolute;
  bottom: 24px; left: -28px;
  background: var(--magenta);
  color: #fff;
  padding: 18px 26px;
  border-radius: var(--radius-sm);
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.1;
  box-shadow: 0 24px 50px -20px rgba(198,0,126,.6);
}
.split-media .media-tag span { display: block; font-family: var(--body); font-weight: 500; font-size: 13px; opacity: .85; margin-top: 4px; }

/* ---------- Pilares ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.5vw, 36px); }
.pillar {
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(28px, 3vw, 44px) clamp(26px, 2.5vw, 38px);
  background: var(--paper);
  transition: transform .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease);
  position: relative;
  overflow: hidden;
}
.pillar:hover { transform: translateY(-6px); border-color: var(--magenta); box-shadow: 0 30px 60px -40px rgba(198,0,126,.5); }
.pillar-num {
  font-family: var(--display);
  font-weight: 800;
  font-size: 3.4rem;
  line-height: 1;
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, var(--magenta), var(--purple));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.pillar h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.45rem;
  margin: 24px 0 14px;
  letter-spacing: -0.01em;
}
.pillar p { color: var(--text-soft); font-size: 1rem; }

/* ---------- Líneas temáticas (acordeón) ---------- */
.lines { border-top: 1.5px solid var(--line); }
.line-item { border-bottom: 1.5px solid var(--line); }
.line-trigger {
  width: 100%;
  display: grid;
  grid-template-columns: 64px 1fr auto;
  align-items: center;
  gap: 20px;
  padding: clamp(24px, 3vw, 38px) 0;
  background: none; border: 0; cursor: pointer;
  text-align: left;
  font-family: inherit;
}
.line-index {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--magenta);
}
.line-title {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.3rem, 3vw, 2.1rem);
  letter-spacing: -0.02em;
  line-height: 1.05;
  transition: color .3s;
}
.line-item:hover .line-title { color: var(--magenta); }
.line-toggle {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  display: grid; place-items: center;
  flex-shrink: 0;
  transition: background .3s, border-color .3s, transform .4s var(--ease);
}
.line-toggle svg { width: 18px; height: 18px; transition: transform .4s var(--ease); }
.line-item[data-open="true"] .line-toggle { background: var(--magenta); border-color: var(--magenta); color: #fff; }
.line-item[data-open="true"] .line-toggle svg { transform: rotate(45deg); }
.line-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .45s var(--ease);
}
.line-body-inner { overflow: hidden; }
.line-item[data-open="true"] .line-body { grid-template-rows: 1fr; }
.line-desc {
  padding: 0 0 32px 84px;
  max-width: 70ch;
}
.line-desc p { color: var(--text-soft); }
.line-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.line-tag {
  font-size: 13.5px;
  font-weight: 500;
  padding: 7px 15px;
  border-radius: 100px;
  background: var(--mist-2);
  color: var(--purple);
}

/* ---------- Fechas clave (timeline) ---------- */
.timeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  position: relative;
}
.tl-item { padding: 0 18px; position: relative; }
.tl-item::before {
  content: '';
  position: absolute;
  top: 9px; left: 0; right: 0;
  height: 2px;
  background: var(--line-dark);
}
.tl-item:first-child::before { left: 50%; }
.tl-item:last-child::before { right: 50%; }
.tl-dot {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--ink);
  border: 2px solid var(--pink);
  position: relative;
  z-index: 1;
  margin-bottom: 26px;
}
.tl-item.is-final .tl-dot { background: var(--magenta); border-color: var(--magenta); box-shadow: 0 0 0 6px rgba(198,0,126,.25); }
.tl-date {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--pink);
  margin-bottom: 8px;
}
.tl-label { font-size: 15px; color: var(--text-ondark-soft); max-width: 18ch; }

/* ---------- Ponentes ---------- */
.speakers-accordion { display: flex; gap: 12px; height: clamp(440px, 62vh, 580px); }
.speaker {
  position: relative;
  flex: 1 1 0%;
  min-width: 0;
  border: 0; padding: 0; margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  background: var(--ink-2);
  filter: grayscale(1);
  transition: flex-grow .65s var(--ease), filter .65s var(--ease);
}
.speaker.active { flex-grow: 3.6; filter: grayscale(0); }
.speaker img.photo { width: 100%; height: 100%; object-fit: cover; object-position: 50% 16%; display: block; transition: transform 1s var(--ease); }
.speaker.active img.photo { transform: scale(1.03); }
.speaker-vlabel {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%) rotate(180deg);
  writing-mode: vertical-rl;
  font-family: var(--display); font-weight: 700; font-size: 1.05rem; color: #fff;
  white-space: nowrap; text-shadow: 0 2px 12px rgba(0,0,0,.6);
  opacity: .95; transition: opacity .3s; pointer-events: none;
}
.speaker.active .speaker-vlabel { opacity: 0; }
.speaker-info {
  position: absolute; inset: auto 0 0 0;
  padding: clamp(22px, 2vw, 32px);
  text-align: left;
  background: linear-gradient(transparent, rgba(18,12,22,.55) 35%, rgba(18,12,22,.95));
  color: #fff;
  opacity: 0; transform: translateY(12px);
  transition: opacity .5s var(--ease) .12s, transform .5s var(--ease) .12s;
  pointer-events: none;
}
.speaker.active .speaker-info { opacity: 1; transform: none; }
.speaker-info h4 { font-family: var(--display); font-weight: 700; font-size: clamp(1.2rem, 1.7vw, 1.6rem); color: #fff; letter-spacing: -0.01em; white-space: nowrap; }
.speaker-info span { font-size: 14px; color: var(--pink); font-weight: 500; }
.coming-soon {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: .04em;
  color: var(--magenta);
  background: rgba(198,0,126,.08);
  padding: 6px 14px; border-radius: 100px;
}

/* ---------- Inscripciones ---------- */
.tickets {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 1.6vw, 22px);
}
.ticket {
  border: 1.5px solid var(--line-dark);
  border-radius: var(--radius);
  padding: clamp(26px, 2.6vw, 38px) clamp(22px, 2vw, 30px);
  display: flex;
  flex-direction: column;
  background: var(--ink-2);
  transition: transform .4s var(--ease), border-color .4s var(--ease), background .4s var(--ease);
  position: relative;
}
.ticket.featured { background: linear-gradient(160deg, var(--magenta), var(--purple-deep)); border-color: transparent; }
.ticket:hover { transform: translateY(-6px); border-color: var(--pink); }
.ticket.featured:hover { border-color: transparent; }
.ticket-tag {
  align-self: flex-start;
  font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--pink);
  margin-bottom: 22px;
}
.ticket.featured .ticket-tag { color: #fff; opacity: .85; }
.ticket-name { font-family: var(--display); font-weight: 700; font-size: 1.25rem; line-height: 1.1; min-height: 2.6em; }
.ticket-price {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2.6rem, 5vw, 3.6rem);
  letter-spacing: -0.04em;
  margin: 18px 0 6px;
  display: flex; align-items: baseline; gap: 4px;
}
.ticket-price .cur { font-size: .5em; color: var(--pink); }
.ticket.featured .ticket-price .cur { color: #fff; }
.ticket ul { list-style: none; margin: 18px 0 28px; display: flex; flex-direction: column; gap: 12px; }
.ticket li { display: flex; gap: 10px; font-size: 14.5px; color: var(--text-ondark-soft); }
.ticket.featured li { color: rgba(255,255,255,.9); }
.ticket li svg { width: 17px; height: 17px; color: var(--pink); flex-shrink: 0; margin-top: 2px; }
.ticket.featured li svg { color: #fff; }
.ticket .btn { margin-top: auto; justify-content: center; }

.listeners {
  margin-top: clamp(30px, 4vw, 48px);
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 20px;
  align-items: center;
  padding: clamp(24px, 3vw, 36px);
  border: 1.5px solid var(--line-dark);
  border-radius: var(--radius);
}
.listener-item { display: flex; align-items: baseline; gap: 14px; }
.listener-item h4 { font-family: var(--display); font-weight: 700; font-size: 1.1rem; }
.listener-item .price { font-family: var(--display); font-weight: 800; font-size: 1.8rem; color: var(--pink); margin-left: auto; }

.fares { margin-top: 28px; }
.fares summary {
  cursor: pointer;
  list-style: none;
  display: flex; align-items: center; gap: 12px;
  font-weight: 600; font-size: 15px;
  color: var(--text-ondark);
  padding: 18px 0;
}
.fares summary::-webkit-details-marker { display: none; }
.fares summary svg { width: 20px; height: 20px; transition: transform .3s; }
.fares[open] summary svg { transform: rotate(180deg); }
.fares-body { padding-bottom: 12px; color: var(--text-ondark-soft); display: grid; grid-template-columns: 1fr 1fr; gap: 16px 40px; }
.fares-body .fare-row { display: flex; justify-content: space-between; border-bottom: 1px solid var(--line-dark); padding-bottom: 12px; }
.fares-body .fare-row strong { color: var(--pink); font-family: var(--display); }

/* ---------- Publicaciones ---------- */
.pub-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.pub-logos { display: flex; flex-direction: column; gap: 18px; }
.pub-logo {
  display: flex; align-items: center; gap: 20px;
  padding: 24px 28px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  transition: border-color .3s, transform .3s;
}
.pub-logo:hover { border-color: var(--purple); transform: translateX(6px); }
.pub-logo .badge {
  width: 52px; height: 52px; border-radius: 12px; flex-shrink: 0;
  display: grid; place-items: center;
  font-family: var(--display); font-weight: 800; font-size: 1.3rem; color: #fff;
}
.pub-logo h4 { font-family: var(--display); font-weight: 700; font-size: 1.15rem; }
.pub-logo span { font-size: 14px; color: var(--text-soft); }

.pub-appendix {
  position: relative;
  overflow: hidden;
  background: linear-gradient(150deg, var(--magenta), var(--purple-deep));
  color: var(--text-ondark);
  border-radius: var(--radius);
  padding: clamp(32px, 4vw, 56px);
}
.pub-appendix-tag {
  display: inline-block;
  font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: #fff;
  background: rgba(255,255,255,.16);
  padding: 7px 16px; border-radius: 100px;
}
.pub-appendix-title {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1; letter-spacing: -0.02em;
  color: #fff;
  margin-top: 22px;
}
.pub-appendix-title span { font-weight: 600; color: var(--pink); font-size: .55em; letter-spacing: 0; white-space: nowrap; }
.pub-appendix-lead {
  font-family: var(--display); font-weight: 600;
  font-size: clamp(1.2rem, 2.2vw, 1.7rem);
  line-height: 1.15; letter-spacing: -0.01em;
  color: #fff;
  margin-top: 14px; max-width: 26ch;
}
.pub-appendix-note {
  margin-top: 20px;
  color: var(--text-ondark-soft);
  font-size: 1.02rem;
  max-width: 56ch;
}
.pub-appendix-cta { margin-top: 28px; background: #fff; color: var(--magenta-deep); }
.pub-appendix-cta:hover { background: var(--pink); color: #fff; transform: translateY(-2px); }

/* ---------- Novedades ---------- */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.4vw, 32px); }
.news-card {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1.5px solid var(--line);
  background: var(--paper);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
  display: flex; flex-direction: column;
}
.news-card:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -40px rgba(0,0,0,.3); }
.news-card image-slot { width: 100%; aspect-ratio: 16/10; border-radius: 0; }
.news-body { padding: 26px 28px 30px; display: flex; flex-direction: column; flex: 1; }
.news-date { font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--magenta); }
.news-card h3 { font-family: var(--display); font-weight: 700; font-size: 1.3rem; line-height: 1.15; margin: 14px 0 20px; letter-spacing: -0.01em; }
.news-link { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14.5px; color: var(--text); }
.news-link svg { width: 16px; height: 16px; transition: transform .3s; }
.news-card:hover .news-link svg { transform: translateX(4px); }
.news-card:hover .news-link { color: var(--magenta); }

/* ---------- Organización ---------- */
.org-block { margin-bottom: clamp(48px, 6vw, 80px); }
.org-block:last-child { margin-bottom: 0; }
.org-label {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(1.4rem, 3vw, 2rem);
  letter-spacing: -0.02em;
  margin-bottom: 32px;
  display: flex; align-items: center; gap: 16px;
}
.org-label::after { content: ''; flex: 1; height: 1.5px; background: var(--line); }

.director-card {
  display: flex; align-items: center; gap: 32px;
  padding: clamp(24px, 3vw, 40px);
  background: linear-gradient(135deg, var(--mist), var(--mist-2));
  border-radius: var(--radius);
}
.director-card image-slot { width: 130px; height: 130px; flex-shrink: 0; border-radius: 50%; }
.director-card h4 { font-family: var(--display); font-weight: 800; font-size: clamp(1.5rem, 3vw, 2.2rem); letter-spacing: -0.02em; }
.director-card span { color: var(--text-soft); font-size: 1.05rem; }
.director-card .role { display: inline-block; margin-top: 6px; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--magenta); }

.committee-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: clamp(20px, 2.4vw, 34px) clamp(12px, 1.6vw, 22px); }
.member { text-align: center; }
.member image-slot { width: 100%; aspect-ratio: 1; border-radius: var(--radius-sm); margin-bottom: 16px; }
.member h4 { font-family: var(--display); font-weight: 700; font-size: 1.05rem; line-height: 1.15; }
.member span { font-size: 13.5px; color: var(--text-soft); }

.advisors { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px 28px; }
.advisor {
  display: flex; align-items: center; gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.advisor .avatar {
  width: 46px; height: 46px; border-radius: 50%; flex-shrink: 0;
  display: grid; place-items: center;
  font-family: var(--display); font-weight: 700; font-size: 1rem; color: #fff;
}
.advisor h4 { font-family: var(--body); font-weight: 600; font-size: 15px; line-height: 1.2; }
.advisor span { font-size: 13px; color: var(--text-soft); }

/* ---------- Sede y contacto ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 5vw, 80px); }
.contact-form { display: flex; flex-direction: column; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--text-ondark-soft); }
.field input, .field textarea {
  font-family: var(--body); font-size: 16px;
  background: var(--ink-2);
  border: 1.5px solid var(--line-dark);
  border-radius: var(--radius-sm);
  padding: 15px 18px;
  color: var(--text-ondark);
  transition: border-color .3s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--pink); }
.field textarea { resize: vertical; min-height: 130px; }

.contact-info { display: flex; flex-direction: column; gap: 14px; }
.info-row {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 22px 0;
  border-bottom: 1px solid var(--line-dark);
}
.info-row svg { width: 22px; height: 22px; color: var(--pink); flex-shrink: 0; margin-top: 2px; }
.info-row .k { font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--text-ondark-soft); margin-bottom: 4px; }
.info-row .v { font-size: 1.1rem; font-weight: 500; color: var(--text-ondark); }

.venue { margin-top: clamp(40px, 5vw, 64px); position: relative; }
.venue image-slot { width: 100%; aspect-ratio: 21/8; border-radius: var(--radius); }
.venue-overlay {
  position: absolute;
  left: clamp(20px, 3vw, 44px); bottom: clamp(20px, 3vw, 44px);
  background: rgba(20,15,26,.78);
  backdrop-filter: blur(12px);
  padding: 28px 32px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-dark);
  max-width: 440px;
}
.venue-overlay h4 { font-family: var(--display); font-weight: 700; font-size: 1.3rem; color: #fff; }
.venue-overlay p { color: var(--text-ondark-soft); margin: 8px 0 18px; font-size: 15px; }
.venue-overlay .btn-row { display: flex; gap: 12px; flex-wrap: wrap; }

.faq { margin-top: clamp(48px, 6vw, 80px); max-width: 860px; }
.faq-item { border-bottom: 1.5px solid var(--line-dark); }
.faq-trigger {
  width: 100%; text-align: left;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 26px 0;
  background: none; border: 0; cursor: pointer;
  font-family: var(--display); font-weight: 700; font-size: clamp(1.1rem, 2vw, 1.4rem);
  color: var(--text-ondark);
  letter-spacing: -0.01em;
}
.faq-toggle {
  width: 38px; height: 38px; border-radius: 50%; flex-shrink: 0;
  border: 1.5px solid var(--line-dark);
  display: grid; place-items: center;
  transition: background .3s, border-color .3s;
}
.faq-toggle svg { width: 16px; height: 16px; transition: transform .4s var(--ease); }
.faq-item[data-open="true"] .faq-toggle { background: var(--magenta); border-color: var(--magenta); }
.faq-item[data-open="true"] .faq-toggle svg { transform: rotate(45deg); }
.faq-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s var(--ease); }
.faq-body-inner { overflow: hidden; }
.faq-item[data-open="true"] .faq-body { grid-template-rows: 1fr; }
.faq-body p { color: var(--text-ondark-soft); padding-bottom: 26px; max-width: 70ch; }

/* ---------- Partners ---------- */
.tiers { display: flex; flex-direction: column; gap: clamp(40px, 5vw, 64px); }
.tier-label { font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--text-soft); text-align: center; margin-bottom: 30px; }
.org-universities { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 40px); }
.uni-card {
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(28px, 3vw, 44px);
  text-align: center;
  transition: border-color .3s, transform .3s;
}
.uni-card:hover { border-color: var(--magenta); transform: translateY(-4px); }
.uni-card .uni-mark {
  width: 70px; height: 70px; margin: 0 auto 20px; border-radius: 18px;
  display: grid; place-items: center;
  font-family: var(--display); font-weight: 800; font-size: 1.6rem; color: #fff;
}
.uni-card h4 { font-family: var(--display); font-weight: 700; font-size: 1.2rem; }
.uni-card span { font-size: 14px; color: var(--text-soft); }
.collaborators { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.collab-chip {
  padding: 14px 26px;
  border: 1.5px solid var(--line);
  border-radius: 100px;
  font-weight: 600; font-size: 15px; color: var(--text-soft);
  transition: border-color .3s, color .3s;
}
.collab-chip:hover { border-color: var(--teal); color: var(--teal); }
.partners-cta { text-align: center; margin-top: clamp(48px, 6vw, 72px); }
.partners-cta p { font-family: var(--display); font-weight: 700; font-size: clamp(1.3rem, 3vw, 2rem); letter-spacing: -0.02em; margin-bottom: 24px; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: var(--text-ondark); padding: clamp(64px, 8vw, 110px) 0 40px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; padding-bottom: 56px; border-bottom: 1px solid var(--line-dark); }
.footer-brand img { height: 92px; width: auto; margin-bottom: 22px; }
.footer-brand p { color: var(--text-ondark-soft); max-width: 38ch; font-size: 15px; }
.footer-col h5 { font-family: var(--display); font-weight: 700; font-size: 1rem; margin-bottom: 20px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-col a { color: var(--text-ondark-soft); font-size: 15px; transition: color .25s; }
.footer-col a:hover { color: var(--pink); }
.footer-social { display: flex; gap: 12px; margin-top: 8px; }
.footer-social a {
  width: 42px; height: 42px; border-radius: 50%;
  border: 1.5px solid var(--line-dark);
  display: grid; place-items: center;
  transition: background .3s, border-color .3s;
}
.footer-social a:hover { background: var(--magenta); border-color: var(--magenta); }
.footer-social svg { width: 18px; height: 18px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; padding-top: 32px; font-size: 14px; color: var(--text-ondark-soft); }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .08s; }
.reveal[data-d="2"] { transition-delay: .16s; }
.reveal[data-d="3"] { transition-delay: .24s; }
.reveal[data-d="4"] { transition-delay: .32s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .stats { grid-template-columns: repeat(2, 1fr); gap: 36px; }
  .pillars { grid-template-columns: 1fr; }
  .tickets { grid-template-columns: repeat(2, 1fr); }
  .speakers-grid { grid-template-columns: repeat(3, 1fr); }
  .committee-grid { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); }
  .advisors { grid-template-columns: repeat(2, 1fr); }
  .timeline { grid-template-columns: repeat(2, 1fr); gap: 40px 0; }
  .tl-item::before { display: none; }
}

@media (max-width: 860px) {
  .nav-links, .nav-cta .btn-ghost { display: none; }
  .nav-toggle { display: flex; }
  .nav-mobile { display: flex; }
  .nav-mobile {
    position: fixed; inset: 0 0 0 auto;
    width: min(360px, 84vw);
    background: var(--ink);
    transform: translateX(100%);
    transition: transform .45s var(--ease);
    z-index: 99;
    padding: 110px 32px 40px;
    display: flex; flex-direction: column; gap: 6px;
    box-shadow: -30px 0 80px rgba(0,0,0,.4);
  }
  .nav-mobile.open { transform: none; }
  .nav-mobile a { color: var(--text-ondark); font-family: var(--display); font-weight: 600; font-size: 1.4rem; padding: 12px 0; border-bottom: 1px solid var(--line-dark); }
  .nav-mobile .btn { margin-top: 24px; justify-content: center; }
  .nav-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,.5); opacity: 0; pointer-events: none; transition: opacity .4s; z-index: 98; }
  .nav-backdrop.open { opacity: 1; pointer-events: auto; }

  .split { grid-template-columns: 1fr; }
  .split-media { order: -1; }
  .split-media .media-tag { left: auto; right: 20px; }
  .pub-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .listeners { grid-template-columns: 1fr; gap: 16px; }
  .fares-body { grid-template-columns: 1fr; }
  .org-universities { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 40px; }
  .venue-overlay { position: static; max-width: none; margin-top: 16px; border-radius: var(--radius-sm); }
}

@media (max-width: 560px) {
  .speakers-grid { grid-template-columns: repeat(2, 1fr); }
  .committee-grid { grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); }
  .tickets { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .advisors { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr; }
  .hero-title { font-size: 16vw; }
  .line-trigger { grid-template-columns: 40px 1fr auto; gap: 12px; }
  .line-desc { padding-left: 0; }
}

/* ============================================================
   IMÁGENES REALES + LOGOS  (añadido)
   ============================================================ */
/* Fotos reales reutilizando las dimensiones de los slots */
.split-media img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: var(--radius); box-shadow: 0 40px 80px -40px rgba(110,43,142,.4); display: block; }
.speaker img.news-thumb { } /* reservado */
.news-card img.news-thumb { width: 100%; aspect-ratio: 16/10; object-fit: cover; display: block; }
.venue img.venue-photo { width: 100%; aspect-ratio: 21/8; object-fit: cover; border-radius: var(--radius); display: block; }
.director-card .ring { display: block; width: 116px; height: 116px; border-radius: 50%; border: 3px solid var(--pink); overflow: hidden; flex-shrink: 0; }
.director-card .ring img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); display: block; }
.member .ring { display: block; width: clamp(92px, 11vw, 116px); height: clamp(92px, 11vw, 116px); border-radius: 50%; border: 3px solid var(--pink); overflow: hidden; margin: 0 auto 14px; }
.member .ring img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); display: block; }

/* Banner de imagen dentro del acordeón de líneas */
.line-media { margin-top: 22px; border-radius: var(--radius-sm); overflow: hidden; }
.line-media img { width: 100%; height: clamp(160px, 22vw, 260px); object-fit: cover; display: block; transition: transform .8s var(--ease); }
.line-item:hover .line-media img { transform: scale(1.04); }

/* Logos de publicaciones (tarjeta blanca con logo real) */
.pub-logo .logo-wrap {
  width: 96px; height: 64px; flex-shrink: 0;
  display: grid; place-items: center;
  background: #fff; border-radius: 10px; padding: 10px;
  border: 1px solid var(--line);
}
.pub-logo .logo-wrap img { max-width: 100%; max-height: 100%; object-fit: contain; }

/* Logos de universidades organizadoras */
.uni-card .uni-logo {
  height: 96px; margin: 0 auto 22px;
  display: grid; place-items: center;
}
.uni-card .uni-logo img { max-height: 96px; max-width: 100%; object-fit: contain; }

/* Logos de entidades colaboradoras */
.collab-logos {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 16px;
}
.collab-logo {
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  height: 120px;
  display: grid; place-items: center;
  padding: 22px 26px;
  overflow: hidden;
  transition: border-color .3s, transform .3s, box-shadow .3s;
}
.collab-logo:hover { border-color: var(--magenta); transform: translateY(-4px); box-shadow: 0 24px 48px -32px rgba(198,0,126,.45); }
.collab-logo img { width: 100%; height: 100%; object-fit: contain; object-position: center; }

@media (max-width: 560px) {
  .collab-logos { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   AJUSTES (logos reales, scroll enfoque, tarifas, contacto)
   ============================================================ */

/* Fotos de organización que YA traen anillo rosa propio → sin borde añadido */
.member img.photo[src*="Diseno-sin-titulo"],
.director-card img.photo[src*="Diseno-sin-titulo"] { border: none; padding: 0; }

/* Enfoque — scroll horizontal moderno */
.enfoque-scroll-wrap { margin-top: clamp(36px, 4vw, 56px); position: relative; }
.enfoque-hint {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--text-soft);
  padding-inline: var(--gutter);
  margin-bottom: 22px;
}
.enfoque-hint svg { width: 26px; height: 14px; color: var(--magenta); }
.enfoque-scroll {
  display: flex;
  gap: clamp(18px, 2vw, 28px);
  overflow-x: auto;
  scroll-snap-type: x proximity;
  padding-inline: var(--gutter);
  padding-bottom: 26px;
  cursor: grab;
  scrollbar-width: thin;
  scrollbar-color: var(--magenta) var(--mist-2);
}
.enfoque-scroll.dragging { cursor: grabbing; scroll-snap-type: none; }
.enfoque-scroll::-webkit-scrollbar { height: 6px; }
.enfoque-scroll::-webkit-scrollbar-track { background: var(--mist-2); border-radius: 100px; }
.enfoque-scroll::-webkit-scrollbar-thumb { background: var(--magenta); border-radius: 100px; }
.enfoque-panel {
  scroll-snap-align: start;
  flex: 0 0 min(440px, 80vw);
  background: var(--paper);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(28px, 3vw, 42px);
  display: flex; flex-direction: column; gap: 16px;
}
.enfoque-panel.lead-panel { background: linear-gradient(160deg, var(--magenta), var(--purple)); border-color: transparent; }
.enfoque-panel .pnum { font-family: var(--display); font-weight: 800; font-size: 1.3rem; color: var(--magenta); }
.enfoque-panel.lead-panel .pnum { color: #fff; opacity: .8; }
.enfoque-panel p { color: var(--text-soft); font-size: 1.04rem; line-height: 1.6; }
.enfoque-panel.lead-panel p { color: #fff; }
.enfoque-panel .panel-lead { font-family: var(--display); font-weight: 700; font-size: clamp(1.4rem, 2.4vw, 1.9rem); line-height: 1.18; letter-spacing: -0.01em; color: #fff; }
.enfoque-panel img.user-drag { pointer-events: none; }

/* Tarifas bonificadas — siempre visibles */
.fares-static {
  margin-top: clamp(26px, 3vw, 36px);
  padding: clamp(22px, 2.6vw, 34px);
  border: 1.5px solid var(--line-dark);
  border-radius: var(--radius);
}
.fares-static .fares-title {
  font-family: var(--display); font-weight: 700; font-size: 1.1rem;
  color: var(--text-ondark);
  margin-bottom: 18px;
}
.fares-static .fares-note { color: var(--text-ondark-soft); font-size: 14px; margin-top: 16px; }

/* Sede — foto del Colegio Máximo en lugar de formulario */
.contact-grid { align-items: stretch; }
.contact-photo { border-radius: var(--radius); overflow: hidden; min-height: 320px; }
.contact-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

@media (max-width: 860px) {
  .contact-photo { min-height: 240px; }
}

/* ============================================================
   MESAS — efecto carpeta (sticky stacking)
   ============================================================ */
.mesa-stack { display: flex; flex-direction: column; gap: 0; padding-bottom: 8px; }
.mesa-card { position: sticky; top: calc(96px + var(--i, 0) * 18px); }
.mesa-card-inner {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  background: var(--paper);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 40px 90px -55px rgba(20,15,26,.55);
  min-height: max(440px, 80vh);
}
.mesa-text { padding: clamp(30px, 3.4vw, 60px); display: flex; flex-direction: column; justify-content: center; }
.mesa-num {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(2.4rem, 4vw, 3.6rem); line-height: 1; letter-spacing: -0.04em;
  background: linear-gradient(135deg, var(--magenta), var(--purple));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  margin-bottom: 18px;
}
.mesa-text h3 { font-family: var(--display); font-weight: 700; font-size: clamp(1.35rem, 2.5vw, 2.1rem); line-height: 1.1; letter-spacing: -0.02em; margin-bottom: 16px; }
.mesa-text p { color: var(--text-soft); font-size: 1.04rem; margin-bottom: 20px; max-width: 52ch; }
.mesa-img { position: relative; overflow: hidden; background: var(--mist); }
.mesa-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.mesa-card:hover .mesa-img img { transform: scale(1.05); }

@media (max-width: 860px) {
  .mesa-card { position: relative; top: auto; }
  .mesa-card-inner { grid-template-columns: 1fr; min-height: 0; }
  .mesa-img { min-height: 220px; }
  .mesa-text { order: 2; }
}

/* ============================================================
   PONENTES — acordeón grayscale (responsive)
   ============================================================ */
@media (max-width: 760px) {
  .speakers-accordion { flex-direction: column; height: auto; gap: 10px; }
  .speaker { height: 84px; flex: none; filter: grayscale(0); }
  .speaker.active { height: clamp(320px, 56vh, 420px); }
  .speaker img.photo { object-position: 50% 28%; }
  .speaker-vlabel { writing-mode: horizontal-tb; left: 50%; bottom: 50%; transform: translate(-50%, 50%); }
}

/* ============================================================
   AJUSTES DE ESPACIADO (Líneas / Sede)
   ============================================================ */
#lineas { padding-top: clamp(56px, 6vw, 92px); padding-bottom: clamp(32px, 4vw, 56px); }
#lineas .section-head { margin-bottom: clamp(28px, 3vw, 44px); }
#sede { padding-top: clamp(60px, 7vw, 96px); padding-bottom: clamp(56px, 6vw, 88px); }
#sede .contact-info { justify-content: space-between; }
#sede .venue { margin-top: clamp(26px, 3vw, 40px); }
#sede .faq { margin-top: clamp(36px, 4vw, 56px); }
