:root {
  --navy-950: #1e2838;
  --navy-900: #1e2838;
  --navy-800: #1e2838;
  --navy-700: #1e2838;
  --orange-600: #f18100;
  --orange-500: #f18100;
  --orange-400: #f18100;
  --orange-text: #b55700;
  --ink: #111827;
  --muted: #5d6574;
  --line: #dde3eb;
  --surface: #f5f7fa;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(30, 40, 56, .14);
  --radius: 24px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }

.skip-link {
  position: fixed;
  z-index: 9999;
  top: 12px;
  left: 12px;
  transform: translateY(-160%);
  padding: 10px 14px;
  color: var(--white);
  background: var(--navy-950);
  border-radius: 10px;
}
.skip-link:focus { transform: translateY(0); }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.institutional-banner {
  position: relative;
  z-index: 1001;
  padding: 18px 28px;
  background: #eef1f5;
}
.institutional-banner__inner {
  width: min(100%, 2000px);
  margin-inline: auto;
  padding: 20px 32px;
  background: #f5f7fa;
  border: 1px solid rgba(30, 40, 56, .08);
  border-radius: 2px;
  box-shadow: 0 5px 15px rgba(30, 40, 56, .22);
}
.institutional-banner img {
  width: 100%;
  height: auto;
  max-height: 150px;
  margin-inline: auto;
  object-fit: contain;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid rgba(30, 40, 56, .10);
  transition: background .25s ease, box-shadow .25s ease;
}
.site-header.scrolled {
  background: var(--white);
  box-shadow: 0 10px 28px rgba(30, 40, 56, .12);
}
.nav-wrap {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.main-nav {
  width: min(100%, 980px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(26px, 4vw, 64px);
}
.main-nav a {
  color: var(--navy-950);
  text-decoration: none;
  font-size: .91rem;
  font-weight: 650;
  transition: color .2s ease, background .2s ease, border-color .2s ease;
}
.main-nav a:hover, .main-nav a:focus-visible { color: var(--orange-text); }
.main-nav .nav-cta {
  padding: 10px 16px;
  border: 1px solid var(--orange-500);
  border-radius: 999px;
  color: var(--navy-950);
  background: transparent;
}
.main-nav .nav-cta:hover, .main-nav .nav-cta:focus-visible {
  color: var(--navy-950);
  background: var(--orange-500);
}
.menu-toggle { display: none; }

.hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 80% 15%, rgba(241, 129, 0, .18), transparent 30%),
    linear-gradient(135deg, var(--navy-950), var(--navy-900) 55%, #1e2838);
  padding: 82px 0 38px;
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto -12% -240px;
  height: 390px;
  border: 2px solid rgba(241, 129, 0, .48);
  border-radius: 50%;
  transform: rotate(-5deg);
  pointer-events: none;
}
.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  pointer-events: none;
}
.hero-glow-one {
  width: 220px;
  height: 220px;
  left: -90px;
  top: 160px;
  border: 1px solid rgba(255,255,255,.1);
}
.hero-glow-two {
  width: 520px;
  height: 520px;
  right: -280px;
  bottom: -250px;
  border: 1px solid rgba(241,129,0,.23);
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.12fr .88fr;
  gap: 64px;
  align-items: center;
}
.eyebrow {
  margin: 0 0 14px;
  color: #f18100;
  font-size: .78rem;
  line-height: 1.4;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.eyebrow-dark { color: var(--orange-text); }
.section-light .eyebrow { color: var(--orange-text); }
.hero h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(3rem, 6.4vw, 6.5rem);
  line-height: .94;
  letter-spacing: -.055em;
}
.hero h1 span { color: var(--orange-500); }
.hero-tagline {
  margin: 24px 0 0;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -.02em;
}
.hero-intro {
  max-width: 680px;
  margin: 18px 0 0;
  color: #c8d3e4;
  font-size: 1.08rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 48px;
  padding: 12px 19px;
  border: 1px solid transparent;
  border-radius: 13px;
  text-decoration: none;
  font-weight: 800;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  color: var(--navy-950);
  background: var(--orange-500);
  box-shadow: 0 12px 28px rgba(241,129,0,.23);
}
.btn-secondary { color: var(--white); border-color: rgba(255,255,255,.25); background: rgba(255,255,255,.04); }
.btn-light { color: var(--navy-950); background: var(--white); }
.event-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  max-width: 700px;
  margin: 42px 0 0;
  padding: 20px 0 0;
  border-top: 1px solid rgba(255,255,255,.15);
}
.event-facts div { padding-right: 22px; }
.event-facts dt { color: #8494ad; font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 800; }
.event-facts dd { margin: 4px 0 0; font-weight: 800; }

.hero-visual { position: relative; min-height: 520px; display: grid; place-items: center; }
.logo-card {
  position: relative;
  width: min(100%, 470px);
  aspect-ratio: 1.04;
  display: grid;
  place-items: center;
  padding: 24px;
  background: var(--white);
  border: 1px solid rgba(255,255,255,.5);
  border-radius: 38px;
  box-shadow: var(--shadow);
  transform: rotate(2deg);
}
.logo-card::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid #e5e9ef;
  border-radius: 30px;
}
.logo-card img { width: 92%; }
.signal { position: absolute; display: block; border-radius: 50%; border: 1px solid rgba(241,129,0,.5); }
.signal-a { width: 66px; height: 66px; top: 10px; right: 10px; }
.signal-b { width: 18px; height: 18px; bottom: 42px; left: 30px; background: var(--orange-500); border: 0; }
.signal-c { width: 9px; height: 9px; bottom: 80px; left: 17px; background: var(--navy-800); border: 0; }
.floating-chip {
  position: absolute;
  padding: 9px 13px;
  color: var(--white);
  background: rgba(30,40,56,.92);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 999px;
  box-shadow: 0 10px 26px rgba(30,40,56,.24);
  font-size: .8rem;
  font-weight: 750;
}
.chip-one { top: 58px; right: -12px; }
.chip-two { bottom: 80px; left: -30px; }
.chip-three { right: -26px; bottom: 42px; background: var(--orange-600); }
.hero-strip {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  margin-top: 34px;
  padding-top: 25px;
  border-top: 1px solid rgba(255,255,255,.1);
  color: #afbdd2;
  font-size: .85rem;
  font-weight: 700;
}
.hero-strip span::before { content: "•"; margin-right: 8px; color: var(--orange-500); }

.section { padding: 108px 0; }
.section-light { background: var(--surface); }
.split-layout {
  display: grid;
  grid-template-columns: .88fr 1.12fr;
  gap: 80px;
  align-items: start;
}
.section-heading h2,
.poster-copy h2,
.venue-copy h2,
.registration-card h2 {
  margin: 0;
  color: var(--navy-950);
  font-size: clamp(2.15rem, 4vw, 4.2rem);
  line-height: 1.04;
  letter-spacing: -.045em;
}
.section-heading > p:last-child { color: var(--muted); }
.section-heading.centered { max-width: 760px; margin: 0 auto 50px; text-align: center; }
.about-copy { color: #394252; font-size: 1.08rem; }
.about-copy p { margin: 0 0 18px; }
.feature-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-top: 58px; }
.feature-card {
  min-height: 270px;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 14px 35px rgba(30,40,56,.05);
}
.feature-icon {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  margin-bottom: 32px;
  color: var(--white);
  background: linear-gradient(135deg, var(--navy-900), var(--navy-950));
  border-radius: 18px;
  box-shadow: 0 14px 30px rgba(30,40,56,.14);
}
.feature-icon svg {
  width: 30px;
  height: 30px;
  display: block;
}
.feature-card h3 { margin: 0 0 10px; color: var(--navy-950); font-size: 1.25rem; }
.feature-card p { margin: 0; color: var(--muted); }

.themes-section {
  color: var(--ink);
  background: #f5f7fa;
}
.themes-section .section-heading h2 { color: var(--navy-950); }
.themes-section .eyebrow { color: var(--orange-text); }
.themes-section .section-heading > p:last-child { color: var(--muted); }
.themes-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 15px; }
.theme-card {
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  background: var(--white);
  border: 1px solid rgba(30, 40, 56, .10);
  border-radius: 20px;
  box-shadow: 0 12px 30px rgba(30, 40, 56, .07);
}
.theme-icon-wrap {
  width: 110px;
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.theme-icon {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.theme-card h3 { max-width: 250px; margin: 20px 0 0; font-size: 1.17rem; }

.schedule-heading { display: grid; grid-template-columns: 1fr .72fr; gap: 50px; align-items: end; }
.schedule-heading > p { margin: 0; color: var(--muted); }
.schedule-tabs {
  display: inline-flex;
  gap: 8px;
  margin-top: 42px;
  padding: 7px;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 18px;
}
.schedule-tab {
  min-width: 168px;
  padding: 12px 18px;
  text-align: left;
  color: var(--muted);
  background: transparent;
  border: 0;
  border-radius: 12px;
  cursor: pointer;
}
.schedule-tab span { display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 800; }
.schedule-tab strong { display: block; margin-top: 2px; color: var(--navy-900); font-size: 1.1rem; }
.schedule-tab.active { color: #ffffff; background: var(--navy-900); }
.schedule-tab.active strong { color: var(--white); }
.schedule-panel { margin-top: 28px; }
.timeline { position: relative; }
.timeline::before {
  content: "";
  position: absolute;
  left: 177px;
  top: 18px;
  bottom: 18px;
  width: 1px;
  background: #cfd7e3;
}
.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 56px;
  padding: 15px 0;
}
.timeline-item::before {
  content: "";
  position: absolute;
  left: 171px;
  top: 30px;
  width: 11px;
  height: 11px;
  border: 3px solid var(--surface);
  border-radius: 50%;
  background: var(--navy-800);
  box-shadow: 0 0 0 1px #aab7c9;
}
.timeline-item > time { padding-top: 16px; color: var(--navy-900); font-size: .86rem; font-weight: 850; }
.timeline-item > div {
  padding: 20px 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
}
.timeline-item.highlight > div { border-left: 4px solid var(--orange-500); }
.timeline-item h3 { margin: 6px 0 6px; color: var(--navy-950); font-size: 1.12rem; }
.timeline-item p { margin: 0; color: var(--muted); }
.type-badge {
  color: var(--orange-text);
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.parallel-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 10px; margin-top: 16px; }
.parallel-grid div {
  padding: 15px;
  background: #f7f9fc;
  border: 1px solid #e3e8ef;
  border-radius: 12px;
}
.parallel-grid > div > strong { display: block; margin-bottom: 10px; color: var(--navy-900); }
.program-person { padding: 9px 0; border-top: 1px solid #e3e8ef; }
.program-person:first-of-type { border-top: 0; }
.program-person .program-time { display: inline-block; margin-right: 6px; color: var(--orange-text); font-size: .76rem; font-weight: 900; }
.program-person .program-name { display: inline; color: var(--navy-950); font-size: .86rem; font-weight: 800; }
.program-person small { display: block; margin-top: 4px; color: var(--muted); font-size: .76rem; line-height: 1.45; }
.program-talk { display: block; margin-top: 5px; color: var(--navy-950); font-size: .79rem; line-height: 1.4; font-weight: 750; }
.program-talk.pending { color: var(--muted); font-style: italic; font-weight: 650; }
.workshop-groups { display: grid; gap: 18px; margin-top: 17px; }
.workshop-group { padding: 18px; background: #f7f9fc; border: 1px solid #e3e8ef; border-radius: 14px; }
.workshop-group h4 { margin: 0 0 12px; color: var(--navy-950); font-size: .92rem; }
.speaker-list.compact { display: grid; grid-template-columns: repeat(2,1fr); gap: 10px 18px; margin-top: 0; }
.speaker-entry { position: relative; padding: 8px 8px 8px 20px; }
.speaker-entry::before { content: "→"; position: absolute; left: 0; top: 8px; color: var(--orange-500); font-weight: 900; }
.speaker-entry strong { display: block; color: var(--navy-950); font-size: .86rem; line-height: 1.4; }
.speaker-entry small { display: block; margin-top: 3px; color: var(--muted); font-size: .77rem; line-height: 1.45; }
.workshop-title { display: block; margin-top: 4px; color: var(--navy-950); font-size: .8rem; line-height: 1.4; font-weight: 750; }

.speakers-section { color: var(--white); background: linear-gradient(160deg, #1e2838, #1e2838); }
.speakers-section .section-heading h2 { color: var(--white); }
.speaker-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.speaker-card {
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 28px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 22px;
}
.speaker-photo-wrap {
  width: 100%;
  max-width: 220px;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 20px;
  border: 2px solid rgba(241,129,0,.28);
  background: rgba(255,255,255,.08);
  box-shadow: 0 16px 32px rgba(0,0,0,.18);
}
.speaker-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.speaker-kicker { margin: 22px 0 5px; color: #f18100 !important; text-transform: uppercase; letter-spacing: .08em; font-size: .69rem !important; font-weight: 850; }
.speaker-card h3 { margin: 0 0 8px; font-size: 1.25rem; }
.speaker-card p { margin: 0; color: #b7c4d8; font-size: .92rem; }
.speaker-card .speaker-talk { margin: 0 0 10px; color: var(--white); font-size: .94rem; line-height: 1.45; font-weight: 800; }

.poster-section { background: var(--white); }
.poster-card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 55px;
  padding: 56px;
  color: var(--navy-950);
  background: var(--surface);
  border: 1px solid rgba(30,40,56,.10);
  border-radius: 30px;
  box-shadow: 0 24px 55px rgba(30,40,56,.10);
}
.poster-card::after {
  content: "</>";
  position: absolute;
  right: -10px;
  bottom: -64px;
  color: rgba(30,40,56,.06);
  font-family: ui-monospace, monospace;
  font-size: 12rem;
  font-weight: 900;
  pointer-events: none;
}
.poster-copy h2 { color: var(--navy-950); font-size: clamp(2.2rem,4vw,4rem); }
.poster-copy > p:not(.eyebrow) { max-width: 710px; color: var(--navy-950); }
.poster-card .eyebrow { color: var(--navy-950); }
.poster-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 25px; }
.poster-meta span { padding: 7px 10px; color: var(--navy-950); background: var(--white); border: 1px solid rgba(30,40,56,.16); border-radius: 999px; font-size: .76rem; font-weight: 800; }
.poster-convocatoria-link {
  width: fit-content;
  margin-top: 24px;
  color: var(--white);
  background: var(--navy-950);
  border: 1px solid var(--navy-950);
}
.poster-convocatoria-link:hover,
.poster-convocatoria-link:focus-visible {
  color: var(--navy-950);
  background: var(--orange-500);
  border-color: var(--orange-500);
}
.poster-media {
  position: relative;
  min-height: 320px;
  overflow: hidden;
  border-radius: 24px;
  box-shadow: 0 18px 40px rgba(30,40,56,.16);
}
.poster-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.poster-action { position: relative; z-index: 1; align-self: end; padding: 25px; background: rgba(30,40,56,.96); border-radius: 20px; }
.poster-action p { margin: 0 0 11px; color: #dbe4f0; font-size: .92rem; }
.poster-action .btn { margin-top: 8px; }
.poster-qr-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.poster-qr {
  width: min(100%, 230px);
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  background: #ffffff;
  padding: 10px;
  border-radius: 18px;
  box-shadow: 0 12px 26px rgba(0,0,0,.18);
  margin-bottom: 16px;
}
.poster-qr-title {
  margin-bottom: 8px !important;
  color: #ffffff !important;
  font-size: 1rem !important;
}
.poster-qr-card .btn {
  width: 100%;
  max-width: 230px;
}

.venue-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 70px; align-items: center; }
.venue-copy > p:not(.eyebrow) { max-width: 650px; color: var(--muted); }
.venue-facts { margin-top: 32px; }
.venue-facts div { display: grid; grid-template-columns: 150px 1fr; gap: 18px; padding: 15px 0; border-top: 1px solid var(--line); }
.venue-facts dt { color: var(--muted); font-size: .8rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.venue-facts dd { margin: 0; color: var(--navy-950); font-weight: 750; }
.venue-partners {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.venue-partner-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 92px;
  padding: 10px 14px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
}
.venue-partner-logo img {
  display: block;
  width: auto;
  height: auto;
  max-height: 74px;
  max-width: 100%;
  object-fit: contain;
}
.venue-partner-logo--bloque { flex: 1 1 250px; }
.venue-partner-logo--qro { flex: 0 1 190px; }
.venue-partner-logo--bloque img { max-width: 250px; }
.venue-partner-logo--qro img { max-width: 175px; }
.venue-map {
  overflow: hidden;
  min-height: 450px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 22px 50px rgba(30,40,56,.12);
}
.venue-map iframe {
  display: block;
  width: 100%;
  height: 450px;
}

.registration-section {
  background: var(--white);
}
.registration-section .eyebrow {
  color: var(--orange-500);
}
.registration-card {
  display: grid;
  grid-template-columns: 1fr .75fr;
  gap: 60px;
  padding: 45px;
  color: var(--white);
  background: var(--navy-950);
  border: 1px solid rgba(30,40,56,.10);
  box-shadow: 0 24px 60px rgba(30,40,56,.18);
  border-radius: 28px;
}
.registration-card h2 { color: var(--white); }
.registration-copy p:last-child,
.registration-copy p:nth-of-type(2) { color: #d7e1ef; }
.registration-qr-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 22px;
  background: var(--white);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 22px;
}
.registration-qr {
  width: min(100%, 280px);
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  padding: 10px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 12px 26px rgba(30,40,56,.12);
}
.registration-qr-title {
  margin: 16px 0 6px;
  color: var(--navy-950);
}
.registration-qr-description {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: .95rem;
}
.registration-qr-card .btn {
  width: 100%;
  max-width: 280px;
}

.site-footer {
  color: #b6c3d6;
  background: #1e2838;
  padding: 78px 0 26px;
}
.footer-contact {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: 56px;
  align-items: center;
}
.footer-contact__info .eyebrow { margin-bottom: 12px; }
.footer-contact__info h2 {
  max-width: 520px;
  margin: 0;
  color: var(--white);
  font-size: clamp(2rem, 3.5vw, 3.6rem);
  line-height: 1.02;
  letter-spacing: -.035em;
}
.contact-block { margin-top: 32px; }
.contact-block h3 {
  margin: 0 0 9px;
  color: var(--white);
  font-size: .79rem;
  text-transform: uppercase;
  letter-spacing: .1em;
}
.site-footer p { margin: 0; font-size: .92rem; }
.contact-links { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 28px; }
.contact-links a { color: var(--orange-400); text-decoration: none; font-weight: 800; }
.contact-links a:hover, .contact-links a:focus-visible { color: var(--white); }
.contact-email,
.contact-phone {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--orange-400);
  text-decoration: none;
  font-weight: 800;
}
.contact-email:hover,
.contact-email:focus-visible,
.contact-phone:hover,
.contact-phone:focus-visible { color: var(--white); }
.contact-block p + p { margin-top: 10px; }
.footer-tagline {
  max-width: 560px;
  margin-top: 30px !important;
  color: #d9e1ec;
  font-size: 1.05rem !important;
  line-height: 1.65;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  padding: 26px 24px;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 24px;
  background: rgba(255,255,255,.03);
}
.footer-brand__logo {
  width: min(100%, 240px);
  height: auto;
  display: block;
}
.footer-social {
  width: 100%;
  text-align: center;
}
.footer-social__label {
  color: #d9e1ec;
  font-size: .79rem !important;
  text-transform: uppercase;
  letter-spacing: .1em;
}
.footer-social__icons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 14px;
}
.social-chip {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 14px;
}
.social-chip svg {
  width: 22px;
  height: 22px;
  display: block;
}
.footer-social__handle {
  margin-top: 14px !important;
  color: var(--orange-400);
  font-weight: 800;
  font-size: 1rem !important;
}
.footer-map { overflow: hidden; min-height: 390px; border: 1px solid rgba(255,255,255,.1); border-radius: 24px; background: #1e2838; }
.footer-map iframe { display: block; width: 100%; height: 390px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 30px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.09); }
.footer-bottom a { min-height: 44px; display: inline-flex; align-items: center; color: var(--orange-400); text-decoration: none; font-weight: 800; }

.reveal { opacity: 1; transform: none; }
.js .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .55s ease, transform .55s ease;
}
.js .reveal.visible { opacity: 1; transform: translateY(0); }

:focus-visible { outline: 3px solid var(--white); outline-offset: 2px; box-shadow: 0 0 0 5px var(--navy-950); }

@media (max-width: 980px) {
  .institutional-banner { padding: 14px 18px; }
  .institutional-banner__inner { padding: 16px 20px; }
  .institutional-banner img { max-height: 112px; }
  .nav-wrap { justify-content: flex-end; }
  .main-nav {
    width: auto;
    position: fixed;
    inset: 76px 20px auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 16px;
    background: var(--white);
    border: 1px solid rgba(30,40,56,.12);
    border-radius: 18px;
    box-shadow: var(--shadow);
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px; }
  .main-nav .nav-cta { margin-top: 8px; text-align: center; }
  .menu-toggle {
    width: 44px;
    height: 44px;
    display: grid;
    place-content: center;
    gap: 5px;
    border: 1px solid rgba(30,40,56,.18);
    border-radius: 12px;
    background: transparent;
  }
  .menu-toggle span:not(.sr-only) { width: 20px; height: 2px; background: var(--navy-950); border-radius: 3px; }
  .hero-grid, .split-layout, .venue-grid, .poster-card, .registration-card, .footer-contact { grid-template-columns: 1fr; }
  .hero-grid { gap: 34px; }
  .hero-visual { min-height: 440px; }
  .logo-card { width: min(82vw, 430px); }
  .chip-one { right: 8%; }
  .chip-two { left: 7%; }
  .chip-three { right: 8%; }
  .feature-grid, .speaker-cards { grid-template-columns: 1fr; }
  .feature-card { min-height: 0; }
  .feature-icon { margin-bottom: 24px; }
  .themes-grid { grid-template-columns: repeat(2,1fr); }
  .schedule-heading { grid-template-columns: 1fr; gap: 18px; }
  .poster-card { gap: 30px; }
  .poster-media { min-height: 260px; }
  .footer-map { min-height: 360px; }
  .footer-map iframe { height: 360px; }
}

@media (max-width: 700px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .institutional-banner { padding: 10px 12px; }
  .institutional-banner__inner { padding: 12px 10px; box-shadow: 0 3px 10px rgba(30, 40, 56, .18); }
  .institutional-banner img { max-height: 82px; }
  .hero { padding-top: 68px; }
  .hero h1 { font-size: clamp(2.7rem, 15vw, 4.5rem); }
  .hero-visual { min-height: 350px; }
  .logo-card { padding: 14px; border-radius: 26px; }
  .floating-chip { font-size: .7rem; }
  .chip-two { bottom: 35px; }
  .chip-three { bottom: 8px; }
  .event-facts { grid-template-columns: 1fr; gap: 12px; }
  .event-facts div { padding: 0; }
  .hero-strip { gap: 8px 16px; }
  .section { padding: 78px 0; }
  .feature-grid { margin-top: 38px; }
  .themes-grid { grid-template-columns: 1fr; }
  .theme-card { min-height: 150px; }
  .schedule-tabs { width: 100%; }
  .schedule-tab { min-width: 0; flex: 1; }
  .timeline::before { left: 6px; }
  .timeline-item { grid-template-columns: 1fr; gap: 7px; padding-left: 30px; }
  .timeline-item::before { left: 0; top: 25px; }
  .timeline-item > time { padding-top: 0; }
  .parallel-grid, .speaker-list.compact { grid-template-columns: 1fr; }
  .poster-card { padding: 30px 22px; }
  .poster-media { min-height: 220px; border-radius: 20px; }
  .venue-map, .venue-map iframe { min-height: 340px; height: 340px; }
  .venue-facts div { grid-template-columns: 1fr; gap: 3px; }
  .registration-card { padding: 28px 20px; }
  .footer-map, .footer-map iframe { min-height: 320px; height: 320px; }
  .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* =========================================================
   Mobile-first responsive layer
   Base: phones. Progressive enhancement: 640 / 768 / 980 px
   ========================================================= */

/* Mobile base */
html { overflow-x: hidden; }
body { overflow-x: hidden; }
section[id] { scroll-margin-top: 76px; }

.container {
  width: min(calc(100% - 28px), var(--container));
}

.institutional-banner {
  padding: 8px;
  background: var(--white);
}
.institutional-banner__inner {
  padding: 8px;
  background: var(--white);
  border-radius: 0;
  box-shadow: 0 3px 10px rgba(30,40,56,.12);
}
.institutional-banner img {
  width: 100%;
  max-height: 72px;
  object-fit: contain;
}

.nav-wrap {
  min-height: 64px;
  justify-content: flex-end;
}
.menu-toggle {
  width: 46px;
  height: 46px;
  display: grid;
  place-content: center;
  gap: 5px;
  border: 1px solid rgba(30,40,56,.16);
  border-radius: 12px;
  color: var(--navy-950);
  background: var(--white);
  cursor: pointer;
}
.menu-toggle span:not(.sr-only) {
  width: 21px;
  height: 2px;
  background: var(--navy-950);
  border-radius: 999px;
}
.main-nav {
  width: auto;
  max-height: calc(100dvh - 80px);
  position: fixed;
  inset: 72px 14px auto;
  display: none;
  flex-direction: column;
  align-items: stretch;
  gap: 2px;
  overflow-y: auto;
  padding: 12px;
  background: var(--white);
  border: 1px solid rgba(30,40,56,.12);
  border-radius: 16px;
  box-shadow: var(--shadow);
}
.main-nav.open { display: flex; }
.main-nav a {
  min-height: 46px;
  display: flex;
  align-items: center;
  padding: 10px 12px;
  border-radius: 10px;
}
.main-nav a:hover,
.main-nav a:focus-visible { background: rgba(241,129,0,.08); }
.main-nav .nav-cta {
  justify-content: center;
  margin-top: 6px;
  padding: 10px 14px;
}

.hero {
  padding: 54px 0 30px;
}
.hero-grid {
  grid-template-columns: 1fr;
  gap: 30px;
}
.hero h1 {
  font-size: clamp(2.45rem, 12vw, 4.2rem);
  line-height: .98;
}
.hero-tagline { font-size: clamp(1.08rem, 5.4vw, 1.45rem); }
.hero-intro { font-size: 1rem; }
.hero-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 26px;
}
.hero-actions .btn { width: 100%; }
.event-facts {
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 18px 14px;
  margin-top: 32px;
}
.event-facts div { padding-right: 0; }
.event-facts dd { font-size: .92rem; }
.hero-visual {
  min-height: 300px;
}
.logo-card {
  width: min(82vw, 310px);
  padding: 14px;
  border-radius: 26px;
  transform: rotate(1deg);
}
.logo-card::before { inset: 8px; border-radius: 21px; }
.floating-chip { display: none; }
.hero-strip {
  gap: 8px 16px;
  margin-top: 26px;
  padding-top: 20px;
  font-size: .78rem;
}

.section { padding: 64px 0; }
.split-layout,
.schedule-heading,
.venue-grid,
.poster-card,
.registration-card,
.footer-contact {
  grid-template-columns: 1fr;
}
.split-layout { gap: 24px; }
.section-heading h2,
.poster-copy h2,
.venue-copy h2,
.registration-card h2 {
  font-size: clamp(2rem, 9vw, 3rem);
}
.section-heading.centered {
  margin-bottom: 34px;
  text-align: left;
}
.about-copy { font-size: 1rem; }

.feature-grid,
.themes-grid,
.speaker-cards {
  grid-template-columns: 1fr;
}
.feature-grid {
  gap: 14px;
  margin-top: 34px;
}
.feature-card {
  min-height: 0;
  padding: 22px;
}
.feature-icon { margin-bottom: 22px; }

.themes-grid { gap: 12px; }
.theme-card {
  min-height: 0;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 18px;
  padding: 18px;
}
.theme-icon-wrap {
  width: 88px;
  height: 88px;
  flex: 0 0 88px;
}
.theme-card h3 {
  margin: 0;
  font-size: 1.05rem;
}

.schedule-heading { gap: 14px; }
.schedule-tabs {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 6px;
  margin-top: 28px;
  padding: 6px;
}
.schedule-tab {
  min-width: 0;
  min-height: 58px;
  padding: 10px 12px;
}
.schedule-tab strong { font-size: .98rem; }
.schedule-panel { margin-top: 20px; }
.timeline::before {
  left: 5px;
  top: 16px;
  bottom: 16px;
}
.timeline-item {
  grid-template-columns: 1fr;
  gap: 7px;
  padding: 12px 0 12px 26px;
}
.timeline-item::before {
  left: 0;
  top: 25px;
}
.timeline-item > time {
  padding-top: 0;
  font-size: .82rem;
}
.timeline-item > div {
  min-width: 0;
  padding: 16px;
}
.timeline-item h3,
.program-name,
.program-talk,
.workshop-title,
.speaker-entry strong,
.speaker-entry small {
  overflow-wrap: anywhere;
}
.parallel-grid,
.speaker-list.compact {
  grid-template-columns: 1fr;
}
.parallel-grid div,
.workshop-group { padding: 14px; }
.workshop-groups { gap: 12px; }

.speaker-cards { gap: 14px; }
.speaker-card {
  min-height: 0;
  padding: 20px;
}
.speaker-photo-wrap {
  max-width: 190px;
  margin-inline: auto;
}
.speaker-card h3,
.speaker-card .speaker-talk { overflow-wrap: anywhere; }

.poster-card {
  gap: 24px;
  padding: 26px 18px;
  border-radius: 22px;
}
.poster-card::after { font-size: 8rem; bottom: -42px; }
.poster-meta { gap: 7px; }
.poster-action { padding: 18px; }
.poster-qr { width: min(100%, 200px); }
.poster-qr-card .btn { max-width: 240px; }

.venue-grid { gap: 30px; }
.venue-facts { margin-top: 24px; }
.venue-facts div {
  grid-template-columns: 1fr;
  gap: 3px;
  padding: 12px 0;
}
.venue-map,
.venue-map iframe {
  min-height: 300px;
  height: 300px;
}

.registration-card {
  gap: 26px;
  padding: 24px 18px;
  border-radius: 22px;
}
.registration-status > div { align-items: flex-start; }

.site-footer { padding: 58px 0 24px; }
.footer-contact { gap: 30px; }
  .footer-brand { padding: 22px 18px; }
.footer-contact__info h2 { font-size: clamp(1.9rem, 8vw, 2.8rem); }
.contact-block { margin-top: 24px; }
.contact-links {
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin-top: 22px;
}
.contact-email,
.contact-phone { overflow-wrap: anywhere; }
.footer-tagline { font-size: .98rem !important; }
.footer-map,
.footer-map iframe {
  min-height: 300px;
  height: 300px;
}
.footer-bottom {
  flex-direction: column;
  gap: 10px;
}

/* Larger phones / small tablets */
@media (min-width: 640px) {
  .container { width: min(calc(100% - 40px), var(--container)); }
  .institutional-banner { padding: 10px 14px; }
  .institutional-banner__inner { padding: 10px 14px; }
  .institutional-banner img { max-height: 92px; }

  .hero { padding-top: 66px; }
  .hero-actions {
    display: flex;
    flex-wrap: wrap;
  }
  .hero-actions .btn { width: auto; }
  .logo-card { width: min(68vw, 380px); }
  .hero-visual { min-height: 390px; }
  .floating-chip { display: block; }
  .chip-one { top: 46px; right: 8%; }
  .chip-two { bottom: 54px; left: 8%; }
  .chip-three { right: 8%; bottom: 20px; }

  .section { padding: 78px 0; }
  .section-heading.centered { text-align: center; }
  .themes-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .theme-card {
    flex-direction: column;
    align-items: flex-start;
    min-height: 170px;
    padding: 22px;
  }
  .theme-icon-wrap { width: 100px; height: 100px; flex-basis: 100px; }
  .theme-card h3 { margin-top: 14px; }

  .parallel-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .speaker-list.compact { grid-template-columns: repeat(2, minmax(0,1fr)); }

  .speaker-photo-wrap { max-width: 220px; margin-inline: 0; }
  .poster-card { padding: 36px; }
  .registration-card { padding: 32px; }
  .venue-map,
  .venue-map iframe,
  .footer-map,
  .footer-map iframe { min-height: 360px; height: 360px; }
}

/* Tablets */
@media (min-width: 768px) {
  .institutional-banner { padding: 14px 18px; }
  .institutional-banner__inner { padding: 14px 20px; }
  .institutional-banner img { max-height: 112px; }

  .hero h1 { font-size: clamp(3.7rem, 8.5vw, 5.8rem); }
  .event-facts { grid-template-columns: repeat(4, minmax(0,1fr)); }

  .section { padding: 92px 0; }
  .feature-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .feature-card { padding: 24px; }
  .themes-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }

  .schedule-tabs { width: auto; display: inline-flex; }
  .schedule-tab { min-width: 168px; }

  .poster-card { padding: 44px; }
  .registration-card { padding: 38px; }
  .contact-links { flex-direction: row; flex-wrap: wrap; }
}

/* Desktop navigation and two-column layouts */
@media (min-width: 981px) {
  section[id] { scroll-margin-top: 88px; }

  .institutional-banner { padding: 18px 28px; background: #eef1f5; }
  .institutional-banner__inner {
    padding: 20px 32px;
    background: #f5f7fa;
    box-shadow: 0 5px 15px rgba(30,40,56,.22);
  }
  .institutional-banner img { max-height: 150px; }

  .nav-wrap {
    min-height: 76px;
    justify-content: center;
  }
  .menu-toggle { display: none; }
  .main-nav {
    width: min(100%, 980px);
    max-height: none;
    position: static;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: clamp(26px, 4vw, 64px);
    overflow: visible;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }
  .main-nav a {
    min-height: 44px;
    padding: 8px 0;
    border-radius: 0;
  }
  .main-nav a:hover,
  .main-nav a:focus-visible { background: transparent; }
  .main-nav .nav-cta {
    margin-top: 0;
    padding: 10px 16px;
  }

  .hero { padding: 82px 0 38px; }
  .hero-grid {
    grid-template-columns: 1.12fr .88fr;
    gap: 64px;
  }
  .hero h1 { font-size: clamp(3rem, 6.4vw, 6.5rem); }
  .hero-visual { min-height: 520px; }
  .logo-card { width: min(100%, 470px); padding: 24px; border-radius: 38px; transform: rotate(2deg); }
  .logo-card::before { inset: 12px; border-radius: 30px; }
  .chip-one { top: 58px; right: -12px; }
  .chip-two { bottom: 80px; left: -30px; }
  .chip-three { right: -26px; bottom: 42px; }

  .section { padding: 108px 0; }
  .split-layout { grid-template-columns: .88fr 1.12fr; gap: 80px; }
  .section-heading.centered { margin-bottom: 50px; }

  .schedule-heading { grid-template-columns: 1fr .72fr; gap: 50px; }
  .timeline::before { left: 177px; }
  .timeline-item {
    grid-template-columns: 150px 1fr;
    gap: 56px;
    padding: 15px 0;
  }
  .timeline-item::before { left: 171px; top: 30px; }
  .timeline-item > time { padding-top: 16px; }
  .timeline-item > div { padding: 20px 22px; }

  .speaker-cards { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; }
  .speaker-card { padding: 28px; }

  .poster-card { grid-template-columns: 1.15fr .85fr; gap: 55px; padding: 56px; border-radius: 30px; }
  .venue-grid { grid-template-columns: 1.1fr .9fr; gap: 70px; }
  .venue-facts div { grid-template-columns: 150px 1fr; gap: 18px; }
  .venue-map,
  .venue-map iframe { min-height: 450px; height: 450px; }

  .registration-card { grid-template-columns: 1fr .75fr; gap: 60px; padding: 45px; }
  .footer-contact { grid-template-columns: .82fr 1.18fr; gap: 56px; }
  .footer-map,
  .footer-map iframe { min-height: 390px; height: 390px; }
  .footer-bottom { flex-direction: row; }
}

/* Institutional banner v25 */
.institutional-banner {
  padding: 18px 28px;
  background: #eef1f5;
}
.institutional-banner__inner.institutional-logos {
  max-width: 1400px;
  margin: 0 auto;
  padding: 18px 28px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 18px;
  background: #f7f8fa;
  border: 1px solid rgba(30, 40, 56, .08);
  border-radius: 0;
  box-shadow: 0 8px 24px rgba(30, 40, 56, .18);
}
.institutional-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 84px;
  padding: 0 6px;
}
.institutional-logo img {
  display: block;
  width: auto;
  height: auto;
  max-height: 92px;
  max-width: 100%;
}
.institutional-logo--gov img { max-height: 76px; }
.institutional-logo--sep img { max-height: 66px; }
.institutional-logo--tecnm img { max-height: 90px; }
.institutional-logo--itq img { max-height: 100px; }
.institutional-logo[href] {
  text-decoration: none;
  transition: transform .2s ease, opacity .2s ease;
}
.institutional-logo[href]:hover,
.institutional-logo[href]:focus-visible {
  opacity: .88;
  transform: translateY(-1px);
}
.institutional-separator {
  width: 2px;
  height: 68px;
  background: rgba(30, 40, 56, .22);
  border-radius: 999px;
}
@media (max-width: 980px) {
  .institutional-banner { padding: 14px 18px; }
  .institutional-banner__inner.institutional-logos { padding: 16px 18px; gap: 14px; }
  .institutional-logo { min-height: 70px; }
  .institutional-logo img { max-height: 76px; }
  .institutional-logo--gov img { max-height: 62px; }
  .institutional-logo--sep img { max-height: 52px; }
  .institutional-logo--tecnm img { max-height: 72px; }
  .institutional-logo--itq img { max-height: 80px; }
  .institutional-separator { height: 54px; }
}
@media (max-width: 640px) {
  .institutional-banner { padding: 10px 12px; }
  .institutional-banner__inner.institutional-logos {
    padding: 16px 14px;
    justify-content: flex-start;
    gap: 12px;
  }
  .institutional-logo {
    width: 100%;
    min-height: auto;
    justify-content: flex-start;
    padding: 0;
  }
  .institutional-logo img {
    max-height: 58px;
  }
  .institutional-logo--gov img { max-height: 48px; }
  .institutional-logo--sep img { max-height: 40px; }
  .institutional-logo--tecnm img { max-height: 54px; }
  .institutional-logo--itq img { max-height: 62px; }
  .institutional-separator { display: none; }
}

/* Hero anniversary and social links v27 */
.hero-anniversary {
  position: relative;
  z-index: 1;
  margin-bottom: 38px;
  text-align: center;
}
.hero-anniversary__lead {
  margin: 0;
  color: var(--white);
  font-size: clamp(1.1rem, 2.2vw, 1.75rem);
  line-height: 1.35;
  font-weight: 650;
  letter-spacing: .01em;
}
.hero-anniversary__lead strong {
  color: var(--orange-500);
  font-weight: 900;
}
.hero-anniversary__institution {
  margin: 10px 0 0;
  color: #c8d3e4;
  font-size: clamp(.72rem, 1vw, .88rem);
  line-height: 1.5;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.hero h1 {
  letter-spacing: -.025em;
}
.social-chip {
  text-decoration: none;
  transition: background .2s ease, color .2s ease, transform .2s ease, border-color .2s ease;
}
.social-chip:hover,
.social-chip:focus-visible {
  color: var(--navy-950);
  background: var(--orange-500);
  border-color: var(--orange-500);
  transform: translateY(-2px);
}
@media (max-width: 640px) {
  .hero-anniversary { margin-bottom: 28px; }
  .hero-anniversary__lead { font-size: 1.12rem; }
  .hero-anniversary__institution {
    max-width: 34rem;
    margin: 9px auto 0;
    font-size: .69rem;
    letter-spacing: .1em;
  }
  .hero h1 { letter-spacing: -.015em; }
}
@media (max-width: 640px) {
  .venue-partners {
    gap: 12px;
    margin-top: 22px;
    padding-top: 18px;
  }
  .venue-partner-logo {
    width: 100%;
    min-height: 78px;
    flex: 1 1 100%;
  }
  .venue-partner-logo img { max-height: 62px; }
  .venue-partner-logo--bloque img { max-width: 220px; }
  .venue-partner-logo--qro img { max-width: 165px; }
}

/* Temática 2026 · imagen integrada v34 */
.themes-section {
  background: #fbfbfb;
  color: var(--ink);
}
.themes-visual-container {
  display: flex;
  justify-content: center;
}
.themes-visual {
  width: min(100%, 980px);
  margin: 0;
}
.themes-visual img {
  display: block;
  width: 100%;
  height: auto;
}
@media (max-width: 640px) {
  .themes-section {
    padding-left: 0;
    padding-right: 0;
  }
  .themes-visual-container {
    width: 100%;
    max-width: none;
    padding: 0;
  }
  .themes-visual {
    width: 100%;
  }
}

/* Corrección móvil: logos institucionales en un solo renglón v35 */
@media (max-width: 640px) {
  .institutional-banner {
    padding: 8px 10px;
  }
  .institutional-banner__inner.institutional-logos {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    padding: 10px 8px;
    overflow: hidden;
  }
  .institutional-logo {
    width: auto;
    min-width: 0;
    min-height: 44px;
    padding: 0;
    justify-content: center;
  }
  .institutional-logo--gov { flex: 1.15 1 0; }
  .institutional-logo--sep { flex: 1.75 1 0; }
  .institutional-logo--tecnm { flex: 1.45 1 0; }
  .institutional-logo--itq { flex: .62 1 0; }

  .institutional-logo img {
    width: 100%;
    height: 44px;
    max-width: 100%;
    max-height: 44px;
    object-fit: contain;
  }
  .institutional-logo--gov img { max-height: 34px; }
  .institutional-logo--sep img { max-height: 28px; }
  .institutional-logo--tecnm img { max-height: 38px; }
  .institutional-logo--itq img { max-height: 44px; }

  .institutional-separator {
    display: block;
    flex: 0 0 1px;
    width: 1px;
    height: 34px;
    margin: 0 1px;
    background: rgba(30, 40, 56, .24);
  }
}

/* Congreso + Temática fusionados v36 */
.congress-theme-section {
  background: #fbfbfb;
  padding: 72px 0;
}
.congress-theme-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(34px, 5vw, 72px);
  align-items: center;
}
.congress-theme-copy h2 {
  max-width: 610px;
  margin: 0;
  color: var(--navy-950);
  font-size: clamp(2.25rem, 4vw, 4.1rem);
  line-height: 1.03;
  letter-spacing: -.04em;
}
.congress-summary {
  max-width: 650px;
  margin-top: 24px;
  color: #394252;
  font-size: 1.02rem;
  line-height: 1.65;
}
.congress-summary p { margin: 0; }
.congress-summary p + p { margin-top: 12px; }
.congress-highlights {
  display: grid;
  gap: 10px;
  margin-top: 28px;
}
.congress-highlight {
  display: grid;
  grid-template-columns: 12px 1fr;
  gap: 12px;
  align-items: start;
  padding: 10px 0;
  border-top: 1px solid rgba(30,40,56,.10);
}
.congress-highlight__dot {
  width: 9px;
  height: 9px;
  margin-top: 7px;
  border-radius: 50%;
  background: var(--orange-500);
  box-shadow: 0 0 0 4px rgba(241,129,0,.12);
}
.congress-highlight h3 {
  margin: 0;
  color: var(--navy-950);
  font-size: 1rem;
  line-height: 1.25;
}
.congress-highlight p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.4;
}
.congress-theme-visual {
  width: 100%;
  max-width: 690px;
  margin: 0 auto;
}
.congress-theme-visual img {
  display: block;
  width: 100%;
  height: auto;
}
@media (max-width: 980px) {
  .congress-theme-section { padding: 58px 0; }
  .congress-theme-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .congress-theme-copy h2 {
    max-width: 760px;
    font-size: clamp(2.2rem, 7vw, 3.4rem);
  }
  .congress-highlights {
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 12px;
  }
  .congress-highlight {
    display: block;
    padding: 14px;
    border: 1px solid rgba(30,40,56,.10);
    border-radius: 16px;
    background: rgba(255,255,255,.72);
  }
  .congress-highlight__dot {
    display: block;
    margin: 0 0 10px;
  }
  .congress-theme-visual { max-width: 650px; }
}
@media (max-width: 640px) {
  .congress-theme-section { padding: 46px 0 34px; }
  .congress-theme-grid { gap: 22px; }
  .congress-theme-copy h2 {
    font-size: clamp(2rem, 10vw, 2.7rem);
    line-height: 1.02;
  }
  .congress-summary {
    margin-top: 18px;
    font-size: .96rem;
    line-height: 1.55;
  }
  .congress-summary p + p { margin-top: 10px; }
  .congress-highlights {
    grid-template-columns: 1fr;
    gap: 0;
    margin-top: 20px;
  }
  .congress-highlight {
    display: grid;
    grid-template-columns: 10px 1fr;
    gap: 10px;
    padding: 9px 0;
    border: 0;
    border-top: 1px solid rgba(30,40,56,.10);
    border-radius: 0;
    background: transparent;
  }
  .congress-highlight__dot { margin: 7px 0 0; }
  .congress-highlight h3 { font-size: .96rem; }
  .congress-highlight p { font-size: .84rem; }
  .congress-theme-visual {
    width: calc(100% + 12px);
    margin-left: -6px;
  }
}


/* Program detail modal ------------------------------------------------------ */
body.program-dialog-open { overflow: hidden; }

.program-detail-trigger { cursor: pointer; }
.timeline-item.program-detail-trigger > div,
.program-person.program-detail-trigger,
.speaker-entry.program-detail-trigger {
  transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease, transform .18s ease;
}
.timeline-item.program-detail-trigger:hover > div,
.timeline-item.program-detail-trigger:focus-visible > div {
  border-color: rgba(241, 129, 0, .55);
  box-shadow: 0 14px 34px rgba(30, 40, 56, .11);
}
.program-person.program-detail-trigger,
.speaker-entry.program-detail-trigger {
  outline: none;
  border-radius: 10px;
}
.program-person.program-detail-trigger:hover,
.program-person.program-detail-trigger:focus-visible,
.speaker-entry.program-detail-trigger:hover,
.speaker-entry.program-detail-trigger:focus-visible {
  background: #fff;
  box-shadow: 0 0 0 2px rgba(181, 87, 0, .22);
}
.program-person.program-detail-trigger::after,
.speaker-entry.program-detail-trigger::after {
  content: "Ver detalles";
  display: inline-block;
  margin-top: 7px;
  color: var(--orange-text);
  font-size: .7rem;
  font-weight: 850;
  letter-spacing: .02em;
}
.timeline-item.program-detail-trigger > div::after {
  content: "Ver detalles";
  display: inline-flex;
  margin-top: 11px;
  color: var(--orange-text);
  font-size: .74rem;
  font-weight: 850;
}
.program-detail-trigger:focus-visible {
  outline: 3px solid rgba(181, 87, 0, .52);
  outline-offset: 4px;
  border-radius: 18px;
}

.program-detail-dialog {
  width: min(calc(100% - 24px), 900px);
  max-width: 900px;
  max-height: min(92dvh, 820px);
  margin: auto;
  padding: 0;
  overflow: hidden;
  color: var(--ink);
  background: var(--white);
  border: 0;
  border-radius: 22px;
  box-shadow: 0 28px 90px rgba(10, 19, 33, .34);
}
.program-detail-dialog::backdrop {
  background: rgba(13, 21, 34, .72);
  backdrop-filter: blur(4px);
}
.program-detail-shell {
  position: relative;
  max-height: min(92dvh, 820px);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.program-detail-close {
  position: absolute;
  z-index: 4;
  top: 12px;
  right: 12px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  padding: 0;
  color: var(--navy-950);
  background: rgba(255,255,255,.96);
  border: 1px solid rgba(30,40,56,.14);
  border-radius: 50%;
  box-shadow: 0 8px 24px rgba(30,40,56,.13);
  font-size: 1.65rem;
  line-height: 1;
  cursor: pointer;
}
.program-detail-close:hover { background: #f6f7f9; }
.program-detail-close:focus-visible {
  outline: 3px solid rgba(181,87,0,.55);
  outline-offset: 2px;
}
.program-detail-media {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  padding: 0;
  background: var(--navy-950);
}
.program-detail-media[hidden] { display: none; }
.program-detail-photo {
  position: relative;
  margin: 0;
  min-height: 250px;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--navy-950);
}
.program-detail-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 32%;
}
.program-detail-photo--contain img {
  object-fit: contain;
  object-position: center center;
  background: #0f1724;
}
.program-detail-photo figcaption {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 10px;
  width: fit-content;
  max-width: calc(100% - 24px);
  padding: 6px 9px;
  color: #fff;
  background: rgba(30, 40, 56, .88);
  border-radius: 8px;
  font-size: .72rem;
  line-height: 1.3;
  font-weight: 750;
}
.program-detail-media--multiple {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.program-detail-media--multiple .program-detail-photo {
  min-height: 220px;
  aspect-ratio: 1 / 1;
}
.program-detail-content { padding: 26px 20px 28px; }
.program-detail-kicker {
  margin: 0 52px 8px 0;
  color: var(--orange-text);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.program-detail-content h2 {
  margin: 0;
  color: var(--navy-950);
  font-size: clamp(1.35rem, 6vw, 1.9rem);
  line-height: 1.15;
  letter-spacing: -.02em;
  overflow-wrap: anywhere;
}
.program-detail-meta {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: .86rem;
  font-weight: 700;
}
.program-detail-people {
  display: grid;
  gap: 9px;
  margin-top: 20px;
}
.program-detail-person {
  padding: 14px 15px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
}
.program-detail-person h3 {
  margin: 0;
  color: var(--navy-950);
  font-size: .98rem;
  line-height: 1.35;
}
.program-detail-person p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: .82rem;
  line-height: 1.45;
}
.program-detail-sections {
  display: grid;
  gap: 18px;
  margin-top: 22px;
}
.program-detail-section {
  padding-top: 17px;
  border-top: 1px solid var(--line);
}
.program-detail-section h3 {
  margin: 0 0 7px;
  color: var(--navy-950);
  font-size: .95rem;
}
.program-detail-section p,
.program-detail-section li {
  color: var(--muted);
  font-size: .88rem;
  line-height: 1.6;
}
.program-detail-section p { margin: 0; }
.program-detail-section ul { margin: 8px 0 0; padding-left: 20px; }
.program-detail-section li + li { margin-top: 6px; }

@media (min-width: 760px) {
  .program-detail-dialog { width: min(calc(100% - 48px), 920px); }
  .program-detail-shell { min-height: 470px; }
  .program-detail-dialog.has-media .program-detail-shell {
    display: grid;
    grid-template-columns: minmax(270px, .78fr) minmax(0, 1.22fr);
  }
  .program-detail-dialog.has-media .program-detail-media {
    align-content: stretch;
    min-height: 100%;
  }
  .program-detail-dialog.has-media .program-detail-photo {
    min-height: 100%;
    aspect-ratio: auto;
  }
  .program-detail-dialog.has-media .program-detail-media--multiple {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(2, minmax(230px, 1fr));
  }
  .program-detail-dialog.has-media .program-detail-media--multiple .program-detail-photo {
    min-height: 230px;
    aspect-ratio: auto;
  }
  .program-detail-content { padding: 42px 38px 38px; }
  .program-detail-content h2 { font-size: clamp(1.65rem, 2.6vw, 2.15rem); }
}

@media (prefers-reduced-motion: reduce) {
  .timeline-item.program-detail-trigger > div,
  .program-person.program-detail-trigger,
  .speaker-entry.program-detail-trigger { transition: none; }
}

.contest-section {
  background: linear-gradient(180deg, var(--surface) 0%, #eef2f7 100%);
}
.contest-card::after {
  content: "{ }";
}
.contest-copy .contest-note {
  margin-top: 18px;
  color: var(--navy-950);
}
.contest-copy .contest-note strong {
  color: var(--navy-950);
}
.contest-media img {
  object-position: center;
}

.sponsors-section {
  background: linear-gradient(180deg, #f6f8fb 0%, #ffffff 100%);
}
.sponsors-block {
  display: grid;
  gap: 28px;
}
.sponsors-heading {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.sponsors-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.sponsor-card {
  background: #ffffff;
  border: 1px solid rgba(30, 40, 56, 0.08);
  border-radius: 22px;
  padding: 18px;
  box-shadow: 0 18px 44px rgba(30, 40, 56, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.sponsor-logo-wrap {
  width: 100%;
  min-height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  border-radius: 16px;
  background: #ffffff;
}
.sponsor-logo-wrap--dark {
  background: #0e1522;
}
.sponsor-logo {
  width: 100%;
  max-height: 84px;
  object-fit: contain;
  display: block;
}
.sponsor-name {
  margin: 0;
  text-align: center;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy-950);
}
@media (min-width: 768px) {
  .sponsors-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
  }
  .sponsor-card {
    padding: 22px;
  }
  .sponsor-logo-wrap {
    min-height: 124px;
    padding: 16px;
  }
  .sponsor-logo {
    max-height: 108px;
  }
}
@media (max-width: 420px) {
  .sponsors-grid {
    grid-template-columns: 1fr;
  }
}

.program-click-hint {
  margin-top: 8px !important;
  color: var(--orange-text) !important;
  font-weight: 800;
  font-size: .84rem !important;
}
.program-detail-dialog.is-gallery {
  width: min(calc(100% - 24px), 1080px);
}
.program-detail-dialog.is-gallery .program-detail-shell {
  display: flex;
  flex-direction: column;
}
.program-detail-dialog.is-gallery .program-detail-content {
  order: 1;
}
.program-detail-dialog.is-gallery .program-detail-media {
  order: 2;
}
.program-detail-media--gallery {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 0 20px 24px;
  background: #fff;
}
.program-detail-media--gallery .program-detail-photo {
  min-height: 0;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}
.program-detail-media--gallery .program-detail-photo img {
  object-fit: contain;
  object-position: center;
  padding: 12px;
  background: #fff;
}
.program-detail-media--gallery .program-detail-photo figcaption {
  position: static;
  width: auto;
  max-width: none;
  padding: 8px 10px 10px;
  color: var(--navy-950);
  background: #fff;
  border-radius: 0;
  text-align: center;
  font-size: .76rem;
}
@media (min-width: 760px) {
  .program-detail-dialog.is-gallery .program-detail-shell {
    display: flex;
    min-height: 0;
  }
  .program-detail-dialog.is-gallery .program-detail-content {
    padding-bottom: 24px;
  }
  .program-detail-dialog.is-gallery .program-detail-media {
    min-height: 0;
  }
  .program-detail-media--gallery {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    padding: 0 38px 38px;
  }
  .program-detail-media--gallery .program-detail-photo {
    min-height: 0;
    aspect-ratio: 4 / 3;
  }
}

.program-person--with-logo {
  position: relative;
  min-height: 72px;
  padding-right: 76px;
}
.program-mini-logo {
  position: absolute;
  top: 10px;
  right: 0;
  width: 64px;
  height: 52px;
  object-fit: contain;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 5px;
}
.contest-types {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 24px;
}
.contest-type-card {
  display: grid;
  grid-template-columns: 54px 1fr;
  align-items: center;
  gap: 13px;
  padding: 15px;
  background: #fff;
  border: 1px solid rgba(30,40,56,.13);
  border-radius: 16px;
}
.contest-type-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  color: var(--orange-text);
  background: rgba(241,129,0,.09);
  border-radius: 14px;
}
.contest-type-icon svg {
  width: 32px;
  height: 32px;
}
.contest-type-card strong,
.contest-type-card span:not(.contest-type-icon) {
  display: block;
}
.contest-type-card strong {
  color: var(--navy-950);
  font-size: .96rem;
  line-height: 1.25;
}
.contest-type-card div > span {
  margin-top: 3px;
  color: var(--muted);
  font-size: .78rem;
  line-height: 1.35;
}
@media (min-width: 620px) {
  .contest-types { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.contest-type-card--link {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
.contest-type-card--link:hover {
  transform: translateY(-2px);
  border-color: rgba(241,129,0,.5);
  box-shadow: 0 12px 28px rgba(30,40,56,.12);
  background: #fff;
}
.contest-type-card--link:focus-visible {
  outline: 3px solid rgba(181,87,0,.55);
  outline-offset: 3px;
}
.contest-type-link-label {
  display: inline-block;
  margin-top: 7px;
  color: var(--orange-text) !important;
  font-size: .76rem !important;
  font-weight: 850;
}

.program-event-logo {
  float: right;
  width: min(150px, 34%);
  max-height: 78px;
  object-fit: contain;
  margin: 0 0 10px 18px;
  padding: 7px 9px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
}
@media (max-width: 560px) {
  .program-event-logo {
    float: none;
    width: min(180px, 60%);
    max-height: 82px;
    margin: 0 0 14px;
  }
}
@media (min-width: 1100px) {
  .sponsors-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

.program-group-title {
  grid-column: 1 / -1;
  margin: 4px 0 2px;
  padding-bottom: 8px;
  color: var(--navy-950);
  border-bottom: 1px solid var(--line);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.program-group-title:not(:first-child) {
  margin-top: 14px;
}
