/* =========================================================
   CODICE 5.0
   STYLES.CSS
   RESPONSIVE: PC / LAPTOP / TABLET / IOS / ANDROID
   ========================================================= */

/* =========================================================
   ESTILOS GENERALES
   COMPATIBLE CON SAFARI / IPHONE
   ========================================================= */

html {
  scroll-behavior: smooth;

  width: 100%;
  max-width: 100%;

  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

* {
  margin: 0;
  padding: 0;

  box-sizing: border-box;

  font-family: "Segoe UI", Roboto, sans-serif;
}

body {
  margin: 0;

  width: 100%;
  max-width: 100%;

  background-color: #ffffff;

  color: #333;

  /*
       IMPORTANTE:
       NO usar overflow-x: hidden aquí.
       En Safari puede romper position: sticky.
    */
  overflow-x: clip;
}

/* =========================================================
   ENCABEZADO
   CODICE + UTEQ + ANÁHUAC + UNIR
   ========================================================= */

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap;
  width: 100%;
  padding: 12px 3%;
  background-color: #ffffff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-brand-group {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex: 0 1 auto;
}

.header-codice-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.header-codice-logo img {
  height: 50px;
  width: auto;
  display: block;
}

.header-logo-divider {
  width: 1px;
  height: 34px;
  background: #d9dee7;
  flex: 0 0 1px;
}

.header-fixed-logos {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  height: 42px;
}

.header-fixed-logos img {
  display: block;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
}

.header-fixed-logos {
  height: 34px;
  gap: 4px;
  min-width: 0;
  overflow: hidden;
}

.navbar {
  position: relative;
  z-index: 1001;
}

.navbar ul {
  display: flex;
  list-style: none;
  gap: 14px;
  align-items: center;
}

.navbar a {
  text-decoration: none;
  color: #555;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  white-space: nowrap;
}

.navbar a:hover {
  color: #0b1f52;
}

/* BOTÓN MENÚ HAMBURGUESA */
.menu-toggle {
  display: none;
  background: transparent;
  border: none;
  padding: 6px;
  margin-left: auto;
  font-size: 1.8rem;
  line-height: 1;
  color: #0b1f52;
  cursor: pointer;
  position: relative;
  z-index: 1003;
  flex: 0 0 auto;
  -webkit-appearance: none;
  appearance: none;
  touch-action: manipulation;
}

/* =========================================================
   BARRA DE LOGOS HORIZONTALES
   ========================================================= */

.logos-bar {
  width: 100%;
  height: 60px;

  overflow: hidden;

  background: #ffffff;

  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin: 0;
  padding: 0;
}

/* PISTA DE LOGOS */

.logos-track {
  display: flex;

  align-items: center;

  height: 100%;

  gap: 35px;

  width: max-content;

  animation: scroll 32s linear infinite;
}

.logos-track:hover {
  animation-play-state: paused;
}

/* CONTENEDORES INDIVIDUALES */

.logo-box {
  display: flex;

  align-items: center;
  justify-content: center;

  flex-shrink: 0;

  height: 100%;
}

/* IMÁGENES BASE */

.logo-box img {
  height: 30px;
  width: auto;

  object-fit: contain;

  max-width: none;
}

/* =========================================================
   TAMAÑOS PERSONALIZADOS DE LOGOS
   ========================================================= */

.logo-siemens img {
  height: 20px;
}

.logo-checkpoint img {
  margin-top: -6px;
  height: 100px;
}

.logo-unam img {
  height: 45px;
}

.logo-tecmty img {
  height: 30px;
}

.logo-ge img {
  height: 30px;
}

.logo-anahuac img {
  height: 45px;
}

.logo-uteq img {
  height: 45px;
}

.logo-marista img {
  height: 45px;
}

.logo-unir img {
  height: 50px;
}

.logo-concyteq img {
  height: 35px;
}

.logo-sedeq img {
  height: 35px;
}

.logo-qro2 img {
  height: 32px;
}

.logo-qro3 img {
  height: 32px;
}

/* ANIMACIÓN DE LOGOS */

@keyframes scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

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

.hero-section {
  position: relative;

  min-height: 85vh;

  width: 100%;

  display: flex;
  align-items: center;

  padding: 60px 8% 80px 8%;

  overflow: hidden;

  background-color: #0b1f52;
}

.hero-video {
  position: absolute;

  top: 60%;
  left: 50%;

  min-width: 100%;
  min-height: 100%;

  width: auto;
  height: auto;

  z-index: 1;

  transform: translateX(-50%) translateY(-50%);

  object-fit: cover;

  opacity: 0.5;

  max-width: none;
}

.hero-content {
  position: relative;

  z-index: 2;

  max-width: 650px;

  color: #ffffff;
}

.badge-title {
  color: #f28b00;

  font-weight: 700;

  font-size: 1.3rem;

  margin-bottom: 10px;

  display: block;
}

.hero-logo {
  max-width: 380px;

  width: 100%;

  height: auto;

  margin-bottom: 15px;

  display: block;
}

.hero-subtitle {
  font-size: 1.4rem;

  font-weight: 600;

  color: #e2e8f0;

  margin-bottom: 25px;

  text-transform: uppercase;
}

.event-date-block {
  display: flex;

  align-items: center;

  gap: 15px;

  margin-bottom: 30px;

  border-left: 3px solid #f28b00;

  padding-left: 15px;
}

.date-icon {
  font-size: 2.2rem;
}

.date-details {
  min-width: 0;
}

.date-details .date-days {
  font-size: 1.3rem;

  font-weight: 800;

  color: #f28b00;
}

.date-details .date-month-location {
  font-size: 0.85rem;

  font-weight: 700;

  color: #ffffff;

  text-transform: uppercase;

  overflow-wrap: anywhere;
}

.hero-buttons {
  display: flex;

  gap: 15px;

  flex-wrap: wrap;
}

.btn {
  padding: 12px 28px;

  border-radius: 6px;

  font-size: 0.85rem;

  font-weight: 800;

  text-decoration: none;

  text-transform: uppercase;

  transition: all 0.3s;

  display: inline-flex;

  align-items: center;

  justify-content: center;

  gap: 8px;
}

.btn-primary {
  background-color: #f28b00;

  color: #fff;

  border: 2px solid #f28b00;
}

.btn-primary:hover {
  background-color: #d97700;
}

.btn-secondary {
  background-color: transparent;

  color: #fff;

  border: 2px solid #fff;
}

.btn-secondary:hover {
  background-color: #fff;

  color: #0b1f52;
}

/* =========================================================
   CONTADOR REGRESIVO
   ========================================================= */

.countdown-wrapper {
  position: relative;

  z-index: 10;

  margin-top: -60px;

  display: flex;

  justify-content: center;

  padding: 0 20px;

  margin-bottom: 30px;
}

.countdown-card {
  background: #ffffff;

  border-radius: 12px;

  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);

  padding: 20px 40px;

  width: 100%;

  max-width: 850px;

  text-align: center;
}

.countdown-title {
  color: #0b1f52;

  font-size: 0.85rem;

  font-weight: 800;

  text-transform: uppercase;

  margin-bottom: 15px;
}

.countdown-grid {
  display: grid;

  grid-template-columns: repeat(4, 1fr);

  gap: 15px;
}

.countdown-item {
  position: relative;

  padding: 5px;

  min-width: 0;
}

.countdown-item:not(:last-child)::after {
  content: "";

  position: absolute;

  right: 0;

  top: 20%;

  height: 60%;

  width: 1px;

  background-color: #e2e8f0;
}

.countdown-number {
  font-size: 2.2rem;

  font-weight: 900;

  color: #0b1f52;

  line-height: 1;
}

.countdown-label {
  font-size: 0.7rem;

  font-weight: 800;

  color: #f28b00;

  text-transform: uppercase;

  margin-top: 5px;
}

/* =========================================================
   SOBRE CÓDICE
   ========================================================= */

.about-section {
  background-color: #ffffff;

  padding: 0 8% 60px 8%;
}

.about-container {
  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 40px;

  align-items: center;

  margin-bottom: 50px;

  text-align: justify;
}

.about-text {
  min-width: 0;
}

.about-text h2 {
  font-size: 2.2rem;

  color: #0b1f52;

  font-weight: 900;

  margin-bottom: 20px;
}

.about-text h2 span {
  color: #f28b00;
}

.about-text p {
  font-size: 0.95rem;

  line-height: 1.7;

  color: #555;
}

.about-image {
  min-width: 0;
}

.about-image img {
  width: 100%;

  height: auto;

  border-radius: 16px;

  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);

  display: block;
}

/* =========================================================
   TEMÁTICAS
   ========================================================= */

.topics-header {
  text-align: center;

  margin-bottom: 25px;
}

.topics-title {
  font-size: 1.3rem;

  color: #0b1f52;

  font-weight: 900;

  text-transform: uppercase;
}

.topics-subtitle {
  font-size: 0.69rem;

  color: #5e5d5b;

  font-weight: 700;

  text-transform: uppercase;
}

.topics-row {
  display: flex;

  justify-content: space-between;

  gap: 10px;

  overflow-x: auto;

  padding-bottom: 10px;

  -webkit-overflow-scrolling: touch;
}

.topic-card {
  flex: 1;

  min-width: 110px;

  background: #ffffff;

  border-radius: 10px;

  padding: 15px 8px;

  text-align: center;

  border: 2px solid #f0f0f0;

  cursor: pointer;

  transition: all 0.3s;
}

.topic-card:hover,
.topic-card.active {
  border-color: #f28b00;

  transform: translateY(-4px);
}

.topic-icon {
  font-size: 1.6rem;

  margin-bottom: 8px;

  display: block;
}

.topic-name {
  font-size: 0.65rem;

  font-weight: 800;

  color: #0b1f52;

  text-transform: uppercase;
}

/* =========================================================
   CAJA DESCRIPCIÓN TEMÁTICAS
   ========================================================= */

.topic-description-box {
  position: relative;

  margin-top: 20px;

  background-color: #f8fafc;

  border-left: 4px solid #f28b00;

  padding: 20px 45px 20px 20px;

  border-radius: 0 8px 8px 0;

  display: none;

  animation: fadeIn 0.3s ease;
}

.close-topic-btn {
  position: absolute;

  top: 15px;

  right: 15px;

  background: transparent;

  color: #64748b;

  border: none;

  font-size: 1.4rem;

  font-weight: 900;

  cursor: pointer;

  line-height: 1;

  width: 28px;

  height: 28px;

  border-radius: 50%;

  display: flex;

  align-items: center;

  justify-content: center;

  transition: all 0.2s ease;
}

.close-topic-btn:hover {
  background-color: #e2e8f0;

  color: #0b1f52;
}

/* =========================================================
   COMITÉ ORGANIZADOR
   ========================================================= */

.committee-trigger-wrapper {
  text-align: center;

  margin-top: 40px;
}

.btn-toggle-committee {
  background-color: #0b1f52;

  color: #ffffff;

  border: 2px solid #0b1f52;

  padding: 12px 28px;

  border-radius: 25px;

  font-size: 0.85rem;

  font-weight: 800;

  text-transform: uppercase;

  cursor: pointer;

  transition: all 0.3s ease;

  box-shadow: 0 4px 15px rgba(11, 31, 82, 0.15);
}

.btn-toggle-committee:hover {
  background-color: #f28b00;

  border-color: #f28b00;

  transform: translateY(-2px);
}

.committee-container {
  position: relative;

  margin-top: 30px;

  background-color: #f8fafc;

  border-radius: 16px;

  padding: 40px 30px 30px 30px;

  border: 1px solid #e2e8f0;

  display: none;

  animation: fadeIn 0.4s ease;

  text-align: center;
}

.close-committee-btn {
  position: absolute;

  top: 20px;

  right: 25px;

  background: #e2e8f0;

  color: #0b1f52;

  border: none;

  width: 36px;

  height: 36px;

  border-radius: 50%;

  font-size: 1.2rem;

  font-weight: 900;

  cursor: pointer;

  display: flex;

  align-items: center;

  justify-content: center;

  transition: all 0.3s;
}

.close-committee-btn:hover {
  background: #f28b00;

  color: #ffffff;
}

.committee-title {
  font-size: 1.5rem;

  color: #0b1f52;

  font-weight: 900;

  text-transform: uppercase;

  margin-bottom: 5px;
}

.committee-subtitle {
  font-size: 0.85rem;

  color: #f28b00;

  font-weight: 700;

  margin-bottom: 30px;
}

.committee-grid {
  display: grid;

  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));

  gap: 18px;

  margin-bottom: 30px;
}

.committee-card {
  background: #ffffff;

  border: 1px solid #e2e8f0;

  padding: 18px 15px;

  border-radius: 12px;

  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);

  display: flex;

  flex-direction: column;

  align-items: center;

  justify-content: center;

  text-align: center;

  transition: all 0.25s ease;

  min-width: 0;
}

.committee-card strong {
  font-size: 0.9rem;

  font-weight: 800;

  color: #0b1f52;

  line-height: 1.3;

  overflow-wrap: anywhere;
}

.committee-role {
  display: block;

  font-size: 0.78rem;

  font-weight: 500;

  color: #64748b;

  margin-top: 6px;

  line-height: 1.35;

  overflow-wrap: anywhere;
}

.committee-card:hover {
  border-color: #f28b00;

  transform: translateY(-3px);

  box-shadow: 0 6px 18px rgba(242, 139, 0, 0.12);
}

.back-to-about-wrapper {
  border-top: 1px solid #e2e8f0;

  padding-top: 20px;
}

/* =========================================================
   CONFERENCISTAS MAGISTRALES
   ========================================================= */

.conferencistas-section {
  padding: 80px 8%;

  background-color: #ffffff;

  text-align: center;
}

.conferencistas-header {
  margin-bottom: 40px;
}

.conferencistas-header h2 {
  font-size: 1.8rem;

  color: #0b1f52;

  font-weight: 900;

  text-transform: uppercase;
}

.title-underline {
  width: 60px;

  height: 3px;

  background-color: #f28b00;

  margin: 10px auto 0 auto;

  border-radius: 2px;
}
/* =========================================================
   SECCIÓN INDEPENDIENTE DEL PANEL
   ========================================================= */

.panel-section {
  width: 100%;

  padding: 70px 8% 80px;

  background-color: #f8fafc;

  text-align: center;
}

/* GRID DE CONFERENCISTAS */

.conferencistas-grid {
  display: grid;

  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));

  gap: 30px;

  margin-bottom: 50px;

  max-width: 1200px;

  margin-left: auto;

  margin-right: auto;
}

.conferencista-card {
  background: #ffffff;

  border-radius: 16px;

  overflow: hidden;

  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);

  border: 1px solid #e2e8f0;

  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;

  display: flex;

  flex-direction: column;

  min-width: 0;
}

.conferencista-card:hover {
  transform: translateY(-5px);

  box-shadow: 0 12px 30px rgba(11, 31, 82, 0.12);
}

.conferencista-img-wrapper {
  background-color: #e2e8f0;

  height: 240px;

  width: 100%;

  overflow: hidden;
}

.conferencista-img-wrapper img {
  width: 100%;

  height: 100%;

  object-fit: cover;

  object-position: center 30%;
}

.conferencista-content {
  padding: 25px 20px;

  text-align: center;

  flex-grow: 1;

  display: flex;

  flex-direction: column;

  align-items: center;

  min-width: 0;
}

.conf-badge {
  background-color: #f28b00;

  color: #ffffff;

  font-size: 0.65rem;

  font-weight: 800;

  padding: 4px 10px;

  border-radius: 12px;

  text-transform: uppercase;

  display: inline-block;

  margin-bottom: 12px;
}

.conferencista-name {
  font-size: 1.2rem;

  color: #0b1f52;

  font-weight: 800;

  margin-bottom: 4px;

  line-height: 1.2;

  overflow-wrap: anywhere;
}

.conferencista-affiliation {
  font-size: 0.85rem;

  color: #64748b;

  font-weight: 600;

  margin-bottom: 8px;

  overflow-wrap: anywhere;
}

.conf-email {
  font-size: 0.75rem;

  color: #0284c7;

  text-decoration: none;

  font-weight: 600;

  margin-bottom: 15px;
}

.conf-email:hover {
  text-decoration: underline;
}

.conferencista-details {
  margin-top: auto;

  width: 100%;

  text-align: left;

  border-top: 1px solid #f1f5f9;

  padding-top: 15px;
}

.conf-title {
  font-size: 0.82rem;

  font-weight: 700;

  color: #334155;

  line-height: 1.4;

  margin-bottom: 10px;

  font-style: italic;

  overflow-wrap: anywhere;
}

.conf-meta,
.conf-theme {
  font-size: 0.75rem;

  color: #64748b;

  margin-bottom: 5px;

  overflow-wrap: anywhere;
}

/* =========================================================
   PANEL ESPECIAL
   ========================================================= */

.panel-special-card {
  background: linear-gradient(135deg, #f8fafc, #edf2f7);

  border-radius: 18px;

  padding: 38px 30px;

  border: 1px solid #cbd5e1;

  max-width: 1450px;

  width: 100%;

  margin: 0 auto;

  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.05);

  min-width: 0;
}

.panel-badge {
  background-color: #0b1f52;

  color: #ffffff;

  font-size: 0.72rem;

  font-weight: 800;

  padding: 6px 14px;

  border-radius: 14px;

  text-transform: uppercase;

  display: inline-block;

  margin-bottom: 12px;

  max-width: 100%;

  overflow-wrap: anywhere;
}

.panel-title {
  font-size: 1.7rem;

  color: #0b1f52;

  font-weight: 900;

  margin-bottom: 6px;

  overflow-wrap: anywhere;
}

.panel-subtitle {
  font-size: 1rem;

  color: #f28b00;

  font-weight: 700;

  font-style: italic;

  margin-bottom: 15px;

  overflow-wrap: anywhere;
}

.panel-meta-info {
  display: flex;

  justify-content: center;

  gap: 20px;

  font-size: 0.9rem;

  color: #475569;

  font-weight: 700;

  flex-wrap: wrap;

  margin-bottom: 28px;
}

/* =========================================================
   MODERADOR
   ========================================================= */

.panel-moderator {
  max-width: 500px;

  width: 100%;

  margin: 25px auto 34px;

  background: #ffffff;

  border: 1px solid #dce4ed;

  border-radius: 16px;

  padding: 18px 22px;

  box-shadow: 0 6px 18px rgba(11, 31, 82, 0.07);
}

.moderator-badge,
.panelist-badge {
  display: inline-block;

  background: #f28b00;

  color: #fff;

  font-size: 0.62rem;

  font-weight: 900;

  padding: 4px 10px;

  border-radius: 12px;

  text-transform: uppercase;

  letter-spacing: 0.3px;
}

.moderator-badge {
  background: #0b1f52;

  margin-left: 25%;

  margin-bottom: 10px;

  position: relative;

  top: 35px;
}

.moderator-content {
  display: flex;

  align-items: center;

  justify-content: center;

  gap: 22px;

  text-align: left;

  min-width: 0;
}

.moderator-content > div:last-child {
  min-width: 0;
}

.moderator-avatar {
  width: 125px;

  height: 150px;

  flex: 0 0 125px;

  border-radius: 10px;

  background-size: cover;

  background-position: center;

  border: 0 solid #f28b00;
}

.panel-moderator h4 {
  color: #0b1f52;

  font-size: 1.05rem;

  font-weight: 900;

  line-height: 1.25;

  margin-bottom: 6px;

  overflow-wrap: anywhere;
}

.panel-moderator p {
  color: #64748b;

  font-size: 0.82rem;

  line-height: 1.35;

  overflow-wrap: anywhere;
}

/* =========================================================
   PANELISTAS
   ========================================================= */

.panelists-heading {
  color: #0b1f52;

  font-size: 1.2rem;

  font-weight: 900;

  text-transform: uppercase;

  margin: 0 auto 20px;

  display: flex;

  align-items: center;

  justify-content: center;

  gap: 14px;

  overflow-wrap: anywhere;
}

.panelists-heading::before,
.panelists-heading::after {
  content: "";

  height: 1px;

  background: #f28b00;

  flex: 1;

  max-width: 260px;
}

.panelists-grid {
  display: grid;

  grid-template-columns: repeat(5, minmax(0, 1fr));

  gap: 18px;
}

.panelist-item {
  background: #ffffff;

  padding: 18px 12px 20px;

  border-radius: 14px;

  border: 1px solid #e2e8f0;

  display: flex;

  flex-direction: column;

  align-items: center;

  text-align: center;

  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.03);

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;

  min-width: 0;
}

.panelist-item:hover {
  transform: translateY(-4px);

  box-shadow: 0 9px 22px rgba(11, 31, 82, 0.1);
}

.panelist-avatar {
  width: 155px;

  height: 200px;

  max-width: 100%;

  border-radius: 10px;

  background-size: cover;

  background-position: center;

  border: 0 solid #f28b00;

  margin-bottom: 9px;
}

.panelist-item h4 {
  font-size: 0.9rem;

  color: #0b1f52;

  font-weight: 800;

  margin: 7px 0 5px;

  line-height: 1.2;

  overflow-wrap: anywhere;
}

.panelist-item p {
  font-size: 0.72rem;

  color: #64748b;

  line-height: 1.35;

  overflow-wrap: anywhere;
}

/* =========================================================
   UBICA TU SALA
   Sección previa al programa
   ========================================================= */

.room-locator-section {
  padding: 70px 8%;
  background: #ffffff;
}

.room-locator-container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 34px 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  text-align: left;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-left: 5px solid #f28b00;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(11, 31, 82, 0.08);
}

.room-locator-icon {
  flex: 0 0 76px;
  width: 76px;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #0b1f52;
  font-size: 2rem;
  line-height: 1;
}

.room-locator-content {
  min-width: 0;
}

.room-locator-content h2 {
  margin: 0 0 8px;
  color: #0b1f52;
  font-size: 1.65rem;
  font-weight: 900;
  line-height: 1.2;
}

.room-locator-content p {
  max-width: 720px;
  margin: 0 0 18px;
  color: #64748b;
  font-size: 0.92rem;
  line-height: 1.6;
}

.room-locator-btn {
  min-height: 44px;
  padding: 12px 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #f28b00;
  border-radius: 7px;
  background: #f28b00;
  color: #ffffff;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
  transition: all 0.25s ease;
  -webkit-tap-highlight-color: transparent;
}

.room-locator-btn:hover,
.room-locator-btn:focus-visible {
  background: #d97700;
  border-color: #d97700;
  transform: translateY(-2px);
}

@media (max-width: 850px) {
  .room-locator-section {
    padding: 55px 5%;
  }

  .room-locator-container {
    padding: 28px 24px;
  }
}

@media (max-width: 576px) {
  .room-locator-section {
    padding-top: 45px;
    padding-bottom: 45px;
  }

  .room-locator-container {
    padding: 26px 18px;
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .room-locator-icon {
    flex-basis: 64px;
    width: 64px;
    height: 64px;
    font-size: 1.65rem;
  }

  .room-locator-content h2 {
    font-size: 1.35rem;
  }

  .room-locator-content p {
    font-size: 0.86rem;
  }

  .room-locator-btn {
    width: 100%;
  }
}

/* =========================================================
   PROGRAMA
   ========================================================= */

.program-section {
  position: relative;

  padding: 80px 8%;

  background-color: #f8fafc;

  overflow: hidden;

  text-align: center;
}

#canvas-network {
  position: absolute;

  top: 0;

  left: 0;

  width: 100%;

  height: 100%;

  z-index: 1;

  pointer-events: none;
}

.program-content-wrapper {
  position: relative;

  z-index: 2;

  max-width: 1100px;

  width: 100%;

  margin: 0 auto;

  min-width: 0;
}

.program-main-container {
  display: grid;

  grid-template-columns: 1.8fr 1fr;

  gap: 30px;

  align-items: stretch;

  margin-top: 30px;

  min-width: 0;
}

.program-timeline-card {
  background: #ffffff;

  border-radius: 16px;

  padding: 30px;

  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);

  border: 1px solid #e2e8f0;

  text-align: left;

  min-width: 0;
}

.program-tabs {
  display: flex;

  gap: 15px;

  border-bottom: 2px solid #e2e8f0;

  margin-bottom: 20px;

  padding-bottom: 10px;

  flex-wrap: wrap;
}

.tab-btn {
  background: transparent;

  border: none;

  font-size: 0.85rem;

  font-weight: 800;

  color: #64748b;

  padding: 8px 16px;

  cursor: pointer;

  border-radius: 20px;

  transition: all 0.3s ease;
}

.tab-btn.active,
.tab-btn:hover {
  background-color: #0b1f52;

  color: #ffffff;
}

.timeline-venue {
  font-size: 0.78rem;

  font-weight: 800;

  color: #f28b00;

  margin-bottom: 20px;

  text-transform: uppercase;

  overflow-wrap: anywhere;
}

.timeline-content {
  display: none;

  animation: fadeIn 0.4s ease;
}

.timeline-content.active {
  display: block;
}

.timeline-list {
  list-style: none;

  position: relative;

  padding-left: 20px;
}

.timeline-list::before {
  content: "";

  position: absolute;

  left: 4px;

  top: 5px;

  bottom: 5px;

  width: 2px;

  background-color: #cbd5e1;
}

.timeline-list li {
  position: relative;

  margin-bottom: 18px;

  display: flex;

  align-items: flex-start;

  gap: 15px;

  min-width: 0;
}

.timeline-list li::before {
  content: "";

  position: absolute;

  left: -20px;

  top: 5px;

  width: 10px;

  height: 10px;

  border-radius: 50%;

  background-color: #f28b00;

  border: 2px solid #ffffff;
}

.timeline-list .time {
  font-size: 0.78rem;

  font-weight: 800;

  color: #0b1f52;

  min-width: 95px;
}

.timeline-list .event {
  font-size: 0.85rem;

  color: #334155;

  line-height: 1.4;

  min-width: 0;

  overflow-wrap: anywhere;
}

/* =========================================================
   TARJETA DESCARGA PROGRAMA
   ========================================================= */

.program-download-card {
  background: linear-gradient(135deg, #0b1f52, #16327a);

  color: #ffffff;

  border-radius: 16px;

  padding: 40px 30px;

  display: flex;

  flex-direction: column;

  justify-content: center;

  align-items: center;

  text-align: center;

  box-shadow: 0 10px 25px rgba(11, 31, 82, 0.2);

  min-width: 0;
}

.calendar-icon {
  font-size: 3.5rem;

  margin-bottom: 20px;
}

.program-download-card h3 {
  font-size: 1.2rem;

  font-weight: 800;

  margin-bottom: 15px;

  line-height: 1.3;

  overflow-wrap: anywhere;
}

.program-download-card p {
  font-size: 0.82rem;

  opacity: 0.85;

  margin-bottom: 30px;

  line-height: 1.5;
}

.btn-download-pdf {
  background-color: #ffffff;

  color: #0b1f52;

  padding: 12px 24px;

  border-radius: 25px;

  font-size: 0.75rem;

  font-weight: 800;

  text-transform: uppercase;

  text-decoration: none;

  transition: all 0.3s ease;

  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);

  display: inline-block;

  max-width: 100%;
}

.btn-download-pdf:hover {
  background-color: #f28b00;

  color: #ffffff;

  transform: translateY(-2px);
}

/* =========================================================
   CONVOCATORIA
   ========================================================= */

.convocatoria-section {
  padding: 80px 8%;

  background-color: #ffffff;

  text-align: center;
}

.section-title {
  font-size: 1.8rem;

  color: #0b1f52;

  font-weight: 900;

  text-transform: uppercase;

  margin-bottom: 10px;

  position: relative;

  display: inline-block;

  overflow-wrap: anywhere;
}

.section-title::after {
  content: "";

  display: block;

  width: 50%;

  height: 3px;

  background-color: #f28b00;

  margin: 8px auto 0 auto;

  border-radius: 2px;
}

.section-subtitle {
  font-size: 0.85rem;

  color: #64748b;

  margin-bottom: 40px;
}

.convocatoria-grid {
  display: grid;

  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));

  gap: 30px;

  margin-bottom: 40px;
}

.conv-card {
  background: linear-gradient(135deg, #0b1f52, #16327a);

  color: #ffffff;

  border-radius: 16px;

  padding: 30px 25px;

  text-align: left;

  display: flex;

  flex-direction: column;

  justify-content: space-between;

  box-shadow: 0 10px 25px rgba(11, 31, 82, 0.15);

  transition: transform 0.3s ease;

  min-width: 0;
}

.conv-card.orange {
  background: linear-gradient(135deg, #f28b00, #d97700);
}

.conv-card:hover {
  transform: translateY(-5px);
}

.conv-card-header {
  display: flex;

  justify-content: space-between;

  align-items: flex-start;

  margin-bottom: 15px;

  gap: 15px;
}

.conv-card h3 {
  font-size: 1.2rem;

  font-weight: 800;

  text-transform: uppercase;

  max-width: 70%;

  line-height: 1.2;

  overflow-wrap: anywhere;
}

.conv-card-icon {
  font-size: 2.2rem;

  flex-shrink: 0;
}

.conv-card p {
  font-size: 0.85rem;

  line-height: 1.5;

  opacity: 0.9;

  margin-bottom: 25px;
}

.conv-card-actions {
  display: flex;

  flex-direction: column;

  gap: 10px;
}

.btn-conv {
  background-color: #ffffff;

  color: #0b1f52;

  padding: 10px 18px;

  border-radius: 20px;

  font-size: 0.75rem;

  font-weight: 800;

  text-transform: uppercase;

  text-decoration: none;

  text-align: center;

  transition: background-color 0.3s;

  overflow-wrap: anywhere;
}

.btn-conv:hover {
  background-color: #f0f0f0;
}

.btn-conv-outline {
  background: transparent;

  color: #ffffff;

  border: 1.5px solid #ffffff;

  padding: 8px 18px;

  border-radius: 20px;

  font-size: 0.75rem;

  font-weight: 700;

  text-transform: uppercase;

  text-decoration: none;

  text-align: center;

  overflow-wrap: anywhere;
}

.btn-conv-outline:hover {
  background: rgba(255, 255, 255, 0.15);
}

/* =========================================================
   TALLERES
   ========================================================= */

.workshops-container {
  position: relative;

  margin-top: 50px;

  background-color: #f8fafc;

  border-radius: 16px;

  padding: 40px 30px 30px 30px;

  text-align: left;

  border: 1px solid #e2e8f0;

  display: none;

  animation: fadeIn 0.4s ease;

  min-width: 0;
}

.close-workshops-btn {
  position: absolute;

  top: 20px;

  right: 25px;

  background: #e2e8f0;

  color: #0b1f52;

  border: none;

  width: 36px;

  height: 36px;

  border-radius: 50%;

  font-size: 1.2rem;

  font-weight: 900;

  cursor: pointer;

  display: flex;

  align-items: center;

  justify-content: center;

  transition: all 0.3s;
}

.close-workshops-btn:hover {
  background: #f28b00;

  color: #ffffff;
}

.workshops-title {
  font-size: 1.4rem;

  color: #0b1f52;

  font-weight: 900;

  margin-bottom: 30px;

  text-transform: uppercase;

  text-align: center;

  padding-right: 30px;

  overflow-wrap: anywhere;
}

.workshops-grid {
  display: grid;

  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));

  gap: 25px;

  margin-bottom: 35px;
}

.workshop-card {
  background: #ffffff;

  border-radius: 12px;

  padding: 20px;

  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);

  border: 1px solid #edf2f7;

  display: flex;

  flex-direction: column;

  justify-content: space-between;

  min-width: 0;
}

.workshop-header {
  display: flex;

  gap: 15px;

  align-items: center;

  margin-bottom: 15px;

  min-width: 0;
}

.workshop-img {
  width: 65px;

  height: 65px;

  border-radius: 50%;

  object-fit: cover;

  border: 2px solid #f28b00;

  flex-shrink: 0;
}

.workshop-author-name {
  font-size: 0.95rem;

  font-weight: 800;

  color: #0b1f52;

  overflow-wrap: anywhere;
}

.workshop-badge {
  font-size: 0.65rem;

  background: #e2e8f0;

  color: #475569;

  padding: 3px 8px;

  border-radius: 10px;

  font-weight: 700;

  display: inline-block;

  margin-top: 3px;
}

.workshop-title {
  font-size: 0.9rem;

  font-weight: 800;

  color: #f28b00;

  margin-bottom: 8px;

  line-height: 1.3;

  overflow-wrap: anywhere;
}

.workshop-desc {
  font-size: 0.8rem;

  color: #64748b;

  line-height: 1.4;

  margin-bottom: 15px;

  overflow-wrap: anywhere;
}

.workshop-capacity {
  font-size: 0.75rem;

  font-weight: 700;

  color: #0284c7;

  margin-bottom: 15px;

  display: flex;

  align-items: center;

  gap: 5px;

  overflow-wrap: anywhere;
}

.btn-eventbrite {
  background-color: #f05537;

  color: #ffffff;

  text-decoration: none;

  padding: 10px;

  border-radius: 6px;

  font-size: 0.75rem;

  font-weight: 800;

  text-transform: uppercase;

  text-align: center;

  transition: background 0.3s;

  display: block;

  overflow-wrap: anywhere;
}

.btn-eventbrite:hover {
  background-color: #d93d1d;
}

.back-to-convocatoria-wrapper {
  text-align: center;

  border-top: 1px solid #e2e8f0;

  padding-top: 20px;
}

.btn-back-up {
  background-color: #0b1f52;

  color: #ffffff;

  border: none;

  padding: 12px 25px;

  border-radius: 25px;

  font-size: 0.8rem;

  font-weight: 800;

  text-transform: uppercase;

  cursor: pointer;

  display: inline-flex;

  align-items: center;

  justify-content: center;

  gap: 8px;

  transition: background 0.3s;
}

.btn-back-up:hover {
  background-color: #f28b00;
}

/* =========================================================
   SEDES
   ========================================================= */

.sedes-section {
  padding: 80px 8%;

  background-color: #f8fafc;

  text-align: center;
}

.sedes-grid {
  display: grid;

  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));

  gap: 30px;

  max-width: 1100px;

  width: 100%;

  margin: 0 auto;
}

.sede-card {
  background: #ffffff;

  border-radius: 16px;

  overflow: hidden;

  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);

  border: 1px solid #edf2f7;

  display: flex;

  transition: transform 0.3s ease;

  min-width: 0;
}

.sede-card:hover {
  transform: translateY(-5px);
}

.sede-image {
  width: 45%;

  min-height: 220px;

  object-fit: cover;
}

.sede-content {
  width: 55%;

  padding: 22px;

  display: flex;

  flex-direction: column;

  justify-content: space-between;

  text-align: left;

  min-width: 0;
}

.sede-tag {
  font-size: 0.65rem;

  font-weight: 800;

  color: #f28b00;

  text-transform: uppercase;

  margin-bottom: 4px;

  display: block;
}

.sede-name {
  font-size: 1.1rem;

  color: #0b1f52;

  font-weight: 900;

  line-height: 1.2;

  margin-bottom: 8px;

  overflow-wrap: anywhere;
}

.sede-desc {
  font-size: 0.75rem;

  color: #475569;

  line-height: 1.4;

  margin-bottom: 12px;
}

.sede-address {
  font-size: 0.72rem;

  color: #64748b;

  margin-bottom: 15px;

  line-height: 1.3;

  overflow-wrap: anywhere;
}

.btn-map {
  border: 1.5px solid #0b1f52;

  color: #0b1f52;

  padding: 8px 16px;

  border-radius: 20px;

  font-size: 0.7rem;

  font-weight: 800;

  text-transform: uppercase;

  text-decoration: none;

  transition: all 0.3s;

  width: fit-content;

  max-width: 100%;
}

.btn-map:hover {
  background-color: #0b1f52;

  color: #ffffff;
}

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

.footer-section {
  background-color: #0b1f52;

  color: #ffffff;

  padding: 60px 8% 20px 8%;
}

.footer-grid {
  display: grid;

  grid-template-columns: 2fr 1fr 2fr;

  gap: 40px;

  margin-bottom: 40px;
}

.footer-brand {
  min-width: 0;
}

.footer-brand .footer-logo {
  max-width: 200px;

  width: 100%;

  height: auto;

  margin-bottom: 15px;
}

.footer-brand p {
  font-size: 0.85rem;

  color: #cbd5e1;

  line-height: 1.5;

  margin-bottom: 10px;

  overflow-wrap: anywhere;
}

.footer-organizer {
  font-size: 0.8rem;

  color: #f28b00;

  font-weight: 700;

  text-transform: uppercase;
}

.footer-col {
  min-width: 0;
}

.footer-col h4 {
  font-size: 0.95rem;

  font-weight: 800;

  text-transform: uppercase;

  color: #ffffff;

  margin-bottom: 20px;

  position: relative;
}

.footer-col h4::after {
  content: "";

  display: block;

  width: 30px;

  height: 2px;

  background-color: #f28b00;

  margin-top: 5px;
}

.footer-links {
  list-style: none;

  display: flex;

  flex-direction: column;

  gap: 10px;
}

.footer-links a {
  color: #cbd5e1;

  text-decoration: none;

  font-size: 0.85rem;

  transition: color 0.3s;
}

.footer-links a:hover {
  color: #f28b00;
}

.contact-info-list {
  list-style: none;

  display: flex;

  flex-direction: column;

  gap: 12px;
}

.contact-item {
  display: flex;

  align-items: flex-start;

  gap: 12px;

  font-size: 0.85rem;

  color: #cbd5e1;

  line-height: 1.4;

  min-width: 0;
}

.contact-item span.icon {
  color: #f28b00;

  font-size: 1.1rem;

  flex-shrink: 0;
}

.contact-item a {
  color: #cbd5e1;

  text-decoration: none;

  overflow-wrap: anywhere;
}

.contact-item a:hover {
  color: #ffffff;

  text-decoration: underline;
}

.contact-item > span:last-child {
  overflow-wrap: anywhere;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);

  padding-top: 20px;

  text-align: center;

  font-size: 0.75rem;

  color: #94a3b8;

  display: flex;

  justify-content: space-between;

  align-items: center;

  flex-wrap: wrap;

  gap: 10px;
}

.footer-bottom > * {
  min-width: 0;
}

.footer-bottom p {
  overflow-wrap: anywhere;
}

.footer-bottom a {
  color: #94a3b8;

  text-decoration: none;
}

.footer-bottom a:hover {
  color: #ffffff;
}

.contact-item img.icon-ws {
  width: 20px;

  height: 20px;

  object-fit: contain;

  vertical-align: middle;
}

/* =========================================================
   ANIMACIONES
   ========================================================= */

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(5px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =========================================================
   RESPONSIVE
   TABLET GRANDE / LAPTOP PEQUEÑA
   ========================================================= */

@media (max-width: 1200px) {
  .panelists-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* =========================================================
   HEADER COMPACTO / MENÚ HAMBURGUESA
   Se activa antes para que los logos fijos no empujen el menú
   ========================================================= */

@media (max-width: 1150px) {
  .header {
    padding: 10px 4%;
  }

  .header-codice-logo img {
    height: 40px;
  }

  .header-fixed-logos {
    gap: 8px;
  }

  .header-fixed-uteq,
  .header-fixed-anahuac {
    height: 28px;
    max-width: 70px;
  }

  .header-fixed-unir {
    height: 29px;
    max-width: 74px;
  }

  .menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .navbar {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    background-color: #ffffff;
    box-shadow: 0 10px 18px rgba(0, 0, 0, 0.12);
    padding: 18px 20px;
    z-index: 1002;
  }

  .navbar.active {
    display: block;
  }

  .navbar ul {
    flex-direction: column;
    align-items: center;
    gap: 12px;
    width: 100%;
  }

  .navbar li {
    width: 100%;
    text-align: center;
  }

  .navbar a {
    display: block;
    width: 100%;
    padding: 8px 10px;
    font-size: 0.78rem;
  }
}

/* =========================================================
   TABLET
   IPAD / ANDROID TABLET
   ========================================================= */

@media (max-width: 1024px) {
  .header {
    padding: 15px 5%;
  }

  .about-container {
    grid-template-columns: 1fr;

    gap: 30px;
  }

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

  .sede-card {
    flex-direction: column;
  }

  .sede-image {
    width: 100%;

    height: 240px;

    min-height: 240px;
  }

  .sede-content {
    width: 100%;
  }

  .program-main-container {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   TABLET PEQUEÑA / MÓVIL GRANDE
   ========================================================= */

@media (max-width: 850px) {
  /* HEADER */

  .menu-toggle {
    display: block;
  }
  .navbar {
    display: none;

    position: absolute;

    top: 100%;

    left: 0;

    width: 100%;

    background-color: #ffffff;

    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);

    padding: 20px;

    z-index: 999;
  }

  .navbar.active {
    display: block;
  }

  .navbar ul {
    flex-direction: column;

    gap: 15px;

    align-items: center;
  }

  .navbar a {
    display: block;

    padding: 6px 10px;
  }

  /* HERO */

  .hero-section {
    min-height: auto;

    padding: 35px 5% 45px 5%;
  }

  .hero-subtitle {
    font-size: 0.95rem;

    line-height: 1.4;

    margin-bottom: 15px;
  }

  .badge-title {
    font-size: 0.95rem;
  }

  .hero-logo {
    max-width: 240px;
  }

  .event-date-block {
    margin-bottom: 20px;

    padding-left: 10px;
  }

  .date-details .date-days {
    font-size: 1.1rem;
  }

  .date-details .date-month-location {
    font-size: 0.75rem;
  }

  /* CONTADOR */

  .countdown-wrapper {
    margin-top: -25px;

    padding: 0 10px;
  }

  .countdown-card {
    padding: 12px 15px;
  }

  .countdown-title {
    font-size: 0.7rem;

    margin-bottom: 8px;
  }

  .countdown-grid {
    display: flex;

    justify-content: space-around;

    gap: 5px;
  }

  .countdown-item {
    flex: 1;
  }

  .countdown-number {
    font-size: 1.3rem;
  }

  .countdown-label {
    font-size: 0.55rem;
  }

  /* CONFERENCISTAS */

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

  /* PANEL */

  .panel-title {
    font-size: 1.35rem;
  }

  .panel-subtitle {
    font-size: 0.9rem;
  }

  .panel-meta-info {
    flex-direction: column;

    gap: 5px;
  }

  .panelists-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .panelist-avatar {
    width: 145px;

    height: 175px;
  }

  /* FOOTER */

  .footer-grid {
    grid-template-columns: 1fr;

    gap: 30px;
  }

  .footer-bottom {
    flex-direction: column;

    text-align: center;
  }
}

/* =========================================================
   LOGOS RESPONSIVE
   IPHONE / ANDROID / TABLET
   ========================================================= */

@media screen and (max-width: 850px) {
  .logos-bar {
    width: 100%;
    height: 68px;

    overflow: hidden;

    display: flex;
    align-items: center;

    background: #ffffff;
  }

  .logos-track {
    display: flex;
    align-items: center;

    height: 68px;

    gap: 22px;

    width: max-content;

    animation: scroll 90s linear infinite;
  }

  /* Cada institución tiene su propia caja */
  .logo-box {
    width: 115px;
    height: 68px;

    flex: 0 0 115px;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: visible;
  }

  /* IMPORTANTE:
       ya no damos una altura fija igual a todos */
  .logo-box img {
    width: auto;
    height: auto;

    max-width: 110px;
    max-height: 48px;

    object-fit: contain;

    display: block;
  }

  /* =========================================
       AJUSTES VISUALES INDIVIDUALES
       ========================================= */

  /* UTEQ */
  .logo-uteq img {
    max-width: 105px;
    max-height: 50px;
  }

  /* ANÁHUAC */
  .logo-anahuac img {
    max-width: 105px;
    max-height: 52px;
  }

  /* UNAM */
  .logo-unam img {
    max-width: 100px;
    max-height: 52px;
  }

  /* MARISTA */
  .logo-marista img {
    max-width: 105px;
    max-height: 50px;
  }

  /* UNIR */
  .logo-unir img {
    max-width: 110px;
    max-height: 50px;
  }

  /* TEC DE MONTERREY */
  .logo-tecmty img {
    max-width: 112px;
    max-height: 48px;
  }

  /* SIEMENS */
  .logo-siemens img {
    max-width: 112px;
    max-height: 42px;
  }

  /*
       CHECK POINT:
       esta imagen necesita más tamaño porque
       visualmente tiene mucho espacio dentro del archivo
    */
  .logo-checkpoint img {
    width: 150px;
    max-width: 150px;

    height: auto;
    max-height: none;

    margin-top: -3px;
  }

  /* CONCYTEQ */
  .logo-concyteq img {
    max-width: 112px;
    max-height: 48px;
  }

  /* SEDEQ */
  .logo-sedeq img {
    max-width: 108px;
    max-height: 46px;
  }

  /* QUERÉTARO 2 */
  .logo-qro2 img {
    max-width: 105px;
    max-height: 48px;
  }

  /* QUERÉTARO 3 */
  .logo-qro3 img {
    max-width: 105px;
    max-height: 48px;
  }
}

/* =========================================================
   MÓVIL
   IPHONE / ANDROID
   ========================================================= */

@media (max-width: 576px) {
  /* =========================================================
   HEADER MÓVIL - TODOS LOS LOGOS EN UNA SOLA FILA
   ========================================================= */

  .header {
    padding: 7px 7px;
    gap: 4px;
    min-height: 62px;

    flex-wrap: nowrap;
  }

  /* CONTENEDOR: CODICE + LOGOS */

  .header-brand-group {
    display: flex;
    align-items: center;

    gap: 3px;

    flex: 1 1 auto;
    min-width: 0;

    max-width: calc(100% - 38px);
  }

  /* LOGO CODICE */

  .header-codice-logo {
    flex: 0 0 auto;
  }

  .header-codice-logo img {
    height: 35px;
    width: auto;
    max-width: 85px;
  }

  /* LÍNEA ENTRE CODICE E INSTITUCIONES */

  .header-logo-divider {
    height: 29px;

    margin: 0 2px;

    flex: 0 0 1px;
  }

  /* UTEQ + ANÁHUAC + UNIR */

  .header-fixed-logos {
    display: flex;
    align-items: center;

    height: 46px;

    gap: 2px;

    min-width: 0;

    overflow: visible;

    flex: 1 1 auto;
  }

  /* UTEQ */

  .header-fixed-uteq {
    height: 40px;
    width: auto;

    max-width: 65px;
  }

  /* ANÁHUAC */

  .header-fixed-anahuac {
    height: 35px;
    width: auto;

    max-width: 68px;
  }

  /* UNIR */

  .header-fixed-unir {
    height: 42px;
    width: auto;

    max-width: 70px;
  }

  /* HAMBURGUESA */

  .menu-toggle {
    display: flex;

    align-items: center;
    justify-content: center;

    flex: 0 0 34px;

    width: 34px;
    min-width: 34px;
    height: 38px;

    padding: 0;

    margin-left: auto;

    font-size: 1.55rem;
  }
  .menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    min-width: 40px;
    padding: 0;
    margin-left: auto;
    font-size: 1.7rem;
  }

  .hero-section,
  .conferencistas-section,
  .program-section,
  .convocatoria-section,
  .sedes-section {
    padding-left: 5%;
    padding-right: 5%;
  }

  .about-section {
    padding-left: 5%;
    padding-right: 5%;
  }

  .conferencistas-section,
  .program-section,
  .convocatoria-section,
  .sedes-section {
    padding-top: 55px;
    padding-bottom: 55px;
  }

  /* -----------------------------------------------------
       HERO
       ----------------------------------------------------- */

  .hero-section {
    padding-top: 35px;
    padding-bottom: 45px;
  }

  .hero-content {
    width: 100%;
  }

  .badge-title {
    font-size: 0.85rem;

    line-height: 1.3;
  }

  .hero-logo {
    max-width: 220px;
  }

  .hero-subtitle {
    font-size: 0.88rem;

    line-height: 1.4;
  }

  .event-date-block {
    gap: 10px;

    align-items: flex-start;
  }

  .date-icon {
    font-size: 1.7rem;

    flex-shrink: 0;
  }

  .date-details .date-month-location {
    font-size: 0.68rem;

    line-height: 1.35;
  }

  .hero-buttons {
    width: 100%;

    gap: 10px;
  }

  .btn {
    width: 100%;

    justify-content: center;

    min-height: 44px;

    text-align: center;
  }

  /* -----------------------------------------------------
       CONTADOR
       ----------------------------------------------------- */

  .countdown-wrapper {
    margin-top: -20px;

    padding: 0 8px;
  }

  .countdown-card {
    padding: 12px 8px;
  }

  .countdown-grid {
    gap: 0;
  }

  .countdown-number {
    font-size: 1.2rem;
  }

  .countdown-label {
    font-size: 0.48rem;
  }

  /* -----------------------------------------------------
       SOBRE CODICE
       ----------------------------------------------------- */

  .about-container {
    margin-bottom: 40px;
  }

  .about-text {
    text-align: left;
  }

  .about-text h2 {
    font-size: 1.8rem;
  }

  .about-text p {
    font-size: 0.9rem;

    line-height: 1.6;
  }

  .about-image img {
    border-radius: 12px;
  }

  /* -----------------------------------------------------
       TEMÁTICAS
       ----------------------------------------------------- */

  .topics-title {
    font-size: 1.1rem;
  }

  .topics-subtitle {
    font-size: 0.62rem;

    line-height: 1.4;

    display: block;
  }

  .topics-row {
    justify-content: flex-start;

    gap: 8px;
  }

  .topic-card {
    flex: 0 0 105px;

    min-width: 105px;
  }

  /* -----------------------------------------------------
       COMITÉ ORGANIZADOR
       ----------------------------------------------------- */

  .btn-toggle-committee {
    width: 100%;

    max-width: 360px;

    padding-left: 15px;

    padding-right: 15px;

    min-height: 44px;
  }

  .committee-container {
    padding: 50px 14px 20px;

    border-radius: 12px;
  }

  .close-committee-btn {
    top: 12px;

    right: 12px;
  }

  .committee-title {
    font-size: 1.2rem;
  }

  .committee-subtitle {
    font-size: 0.78rem;

    line-height: 1.4;
  }

  .committee-grid {
    grid-template-columns: minmax(0, 1fr);

    gap: 14px;
  }

  .committee-card {
    width: 100%;

    min-width: 0;
  }

  /* -----------------------------------------------------
       TÍTULOS
       ----------------------------------------------------- */

  .section-title,
  .conferencistas-header h2 {
    font-size: 1.45rem;

    line-height: 1.2;
  }

  .section-subtitle {
    line-height: 1.45;

    margin-bottom: 30px;
  }

  /* -----------------------------------------------------
       CONFERENCISTAS
       ----------------------------------------------------- */

  .conferencistas-header {
    margin-bottom: 30px;
  }

  .conferencistas-grid {
    gap: 20px;

    margin-bottom: 35px;
  }

  .conferencista-img-wrapper {
    height: 230px;
  }

  .conferencista-content {
    padding: 20px 15px;
  }

  .conferencista-name {
    font-size: 1.05rem;
  }

  /* -----------------------------------------------------
       PANEL ESPECIAL
       ----------------------------------------------------- */

  .panel-special-card {
    padding: 25px 14px;

    border-radius: 14px;
  }

  .panel-badge {
    font-size: 0.6rem;

    line-height: 1.3;

    padding: 5px 10px;
  }

  .panel-title {
    font-size: 1.2rem;

    line-height: 1.25;
  }

  .panel-subtitle {
    font-size: 0.84rem;

    line-height: 1.4;
  }

  .panel-meta-info {
    font-size: 0.78rem;

    line-height: 1.4;
  }

  .panelists-heading {
    font-size: 0.95rem;

    gap: 8px;

    line-height: 1.3;
  }

  .panelists-heading::before,
  .panelists-heading::after {
    max-width: 35px;
  }

  /* UNA COLUMNA EN TELÉFONO */

  .panelists-grid {
    grid-template-columns: minmax(0, 1fr);

    gap: 16px;
  }

  .panelist-item {
    width: 100%;

    min-width: 0;

    padding: 18px 14px;
  }

  .panelist-avatar {
    width: 155px;

    height: 190px;

    max-width: 100%;
  }

  /* -----------------------------------------------------
       MODERADOR
       ----------------------------------------------------- */

  .panel-moderator {
    width: 100%;

    padding: 18px 14px;

    margin-top: 25px;
  }

  .moderator-badge {
    margin-left: 0;

    margin-bottom: 12px;

    position: static;

    top: auto;
  }

  .moderator-content {
    flex-direction: column;

    text-align: center;

    gap: 12px;
  }

  .moderator-avatar {
    width: 125px;

    height: 150px;

    flex: 0 0 auto;
  }

  /* -----------------------------------------------------
       PROGRAMA
       ----------------------------------------------------- */

  .program-main-container {
    grid-template-columns: minmax(0, 1fr);

    gap: 20px;
  }

  .program-timeline-card {
    padding: 20px 15px;
  }

  .program-tabs {
    flex-direction: column;

    gap: 8px;

    border-bottom: none;
  }

  .tab-btn {
    width: 100%;

    min-height: 44px;
  }

  .timeline-list li {
    flex-direction: column;

    gap: 4px;
  }

  .timeline-list .time {
    min-width: 0;
  }

  .program-download-card {
    padding: 30px 18px;
  }

  .calendar-icon {
    font-size: 2.8rem;
  }

  .btn-download-pdf {
    width: 100%;

    display: block;

    text-align: center;

    min-height: 44px;
  }

  /* -----------------------------------------------------
       CONVOCATORIA
       ----------------------------------------------------- */

  .convocatoria-grid {
    grid-template-columns: minmax(0, 1fr);

    gap: 20px;
  }

  .conv-card {
    padding: 24px 18px;
  }

  .conv-card-header {
    gap: 10px;
  }

  .conv-card h3 {
    max-width: none;

    font-size: 1rem;

    padding-right: 4px;
  }

  .conv-card-icon {
    font-size: 1.8rem;
  }

  .btn-conv,
  .btn-conv-outline {
    min-height: 44px;

    display: flex;

    align-items: center;

    justify-content: center;
  }

  /* -----------------------------------------------------
       TALLERES
       ----------------------------------------------------- */

  .workshops-container {
    padding: 50px 14px 20px;

    margin-top: 35px;

    border-radius: 12px;
  }

  .close-workshops-btn {
    top: 12px;

    right: 12px;
  }

  .workshops-title {
    font-size: 1.1rem;

    line-height: 1.3;

    padding-right: 0;

    margin-bottom: 25px;
  }

  .workshops-grid {
    grid-template-columns: minmax(0, 1fr);

    gap: 16px;
  }

  .workshop-card {
    width: 100%;

    min-width: 0;

    padding: 18px 14px;
  }

  .workshop-header {
    gap: 10px;
  }

  .workshop-author-name,
  .workshop-title,
  .workshop-desc {
    overflow-wrap: anywhere;
  }

  .btn-eventbrite {
    min-height: 44px;

    display: flex;

    justify-content: center;

    align-items: center;
  }

  /* -----------------------------------------------------
       SEDES
       ----------------------------------------------------- */

  .sedes-grid {
    grid-template-columns: minmax(0, 1fr);

    gap: 20px;
  }

  .sede-card {
    width: 100%;

    min-width: 0;
  }

  .sede-image {
    height: 190px;

    min-height: 190px;
  }

  .sede-content {
    padding: 18px;
  }

  .btn-map {
    min-height: 44px;

    display: inline-flex;

    justify-content: center;

    align-items: center;
  }

  /* -----------------------------------------------------
       FOOTER
       ----------------------------------------------------- */

  .footer-section {
    padding: 45px 5% 20px;
  }

  .footer-grid {
    gap: 25px;
  }

  .footer-brand .footer-logo {
    max-width: 170px;
  }

  .contact-item,
  .contact-item a,
  .sede-address {
    overflow-wrap: anywhere;
  }

  .footer-bottom {
    line-height: 1.5;
  }

  /* -----------------------------------------------------
       BOTONES GENERALES
       ÁREA TÁCTIL RECOMENDADA
       ----------------------------------------------------- */

  button,
  .btn,
  .btn-conv,
  .btn-conv-outline,
  .btn-eventbrite,
  .btn-download-pdf,
  .btn-map,
  .btn-back-up {
    min-height: 44px;
  }
}

/* =========================================================
   MÓVILES MUY PEQUEÑOS
   IPHONE SE / 320PX / ANDROID COMPACTO
   ========================================================= */

@media (max-width: 360px) {
  .header {
    padding-left: 14px;

    padding-right: 14px;
  }

  .header-codice-logo img {
    height: 28px;
    max-width: 82px;
  }

  .header-fixed-uteq {
    max-width: 42px;
    height: 19px;
  }

  .header-fixed-anahuac {
    max-width: 40px;
    height: 20px;
  }

  .header-fixed-unir {
    max-width: 44px;
    height: 20px;
  }

  .hero-section {
    padding-left: 16px;

    padding-right: 16px;
  }

  .badge-title {
    font-size: 0.78rem;
  }

  .hero-subtitle {
    font-size: 0.82rem;
  }

  .hero-logo {
    max-width: 200px;
  }

  .date-icon {
    font-size: 1.5rem;
  }

  .date-details .date-days {
    font-size: 1rem;
  }

  .date-details .date-month-location {
    font-size: 0.63rem;
  }

  .countdown-number {
    font-size: 1.05rem;
  }

  .countdown-label {
    font-size: 0.43rem;
  }

  .countdown-card {
    padding-left: 4px;

    padding-right: 4px;
  }

  .section-title,
  .conferencistas-header h2 {
    font-size: 1.3rem;
  }

  .panel-special-card {
    padding-left: 10px;

    padding-right: 10px;
  }

  .panel-title {
    font-size: 1.08rem;
  }

  .panelists-heading {
    font-size: 0.88rem;
  }

  .panelists-heading::before,
  .panelists-heading::after {
    max-width: 20px;
  }

  .program-timeline-card {
    padding-left: 12px;

    padding-right: 12px;
  }

  .conv-card {
    padding-left: 15px;

    padding-right: 15px;
  }
}

/* =========================================================
   MÓVIL EN HORIZONTAL
   ========================================================= */

@media (max-height: 500px) and (orientation: landscape) {
  .hero-section {
    min-height: 100vh;

    padding-top: 25px;

    padding-bottom: 30px;
  }

  .hero-logo {
    max-width: 190px;

    margin-bottom: 8px;
  }

  .hero-subtitle {
    font-size: 0.82rem;

    margin-bottom: 10px;
  }

  .event-date-block {
    margin-bottom: 12px;
  }

  .hero-buttons {
    gap: 8px;
  }
}

/* =========================================================
   DISPOSITIVOS TÁCTILES
   EVITA HOVER EXTRAÑO EN IOS / ANDROID
   ========================================================= */

@media (hover: none) {
  .conferencista-card:hover,
  .panelist-item:hover,
  .committee-card:hover,
  .conv-card:hover,
  .sede-card:hover {
    transform: none;
  }

  .topic-card:hover {
    transform: none;
  }
}

/* =========================================================
   USUARIOS QUE PREFIEREN MENOS ANIMACIONES
   ========================================================= */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .logos-track {
    animation: none;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* =========================================================
   CARRUSEL MÓVIL CONFERENCISTAS + PANELISTAS
   SOLO IPHONE / ANDROID
   ========================================================= */

@media (max-width: 576px) {
  /* =====================================================
       CONFERENCISTAS MAGISTRALES
       ===================================================== */

  .conferencistas-section {
    overflow: hidden;
  }

  .conferencistas-header {
    margin-bottom: 22px;
  }

  .conferencistas-header h2 {
    font-size: 1.35rem;
    line-height: 1.2;
  }

  .conferencistas-grid {
    display: flex;

    width: 100%;

    gap: 14px;

    overflow-x: auto;
    overflow-y: hidden;

    padding: 4px 3px 18px;

    margin-bottom: 32px;

    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;

    -webkit-overflow-scrolling: touch;

    scrollbar-width: none;
  }

  .conferencistas-grid::-webkit-scrollbar {
    display: none;
  }

  .conferencista-card {
    flex: 0 0 88%;

    width: 88%;

    min-width: 0;

    scroll-snap-align: center;
    scroll-snap-stop: always;

    border-radius: 14px;
  }

  .conferencista-img-wrapper {
    height: 205px;
  }

  .conferencista-img-wrapper img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    object-position: center 25%;
  }

  .conferencista-content {
    padding: 16px 14px 18px;
  }

  .conf-badge {
    font-size: 0.57rem;

    padding: 4px 9px;

    margin-bottom: 8px;
  }

  .conferencista-name {
    font-size: 1rem;

    line-height: 1.2;

    margin-bottom: 5px;
  }

  .conferencista-affiliation {
    font-size: 0.76rem;

    line-height: 1.35;

    margin-bottom: 10px;
  }

  .conferencista-details {
    padding-top: 10px;
  }

  .conf-title {
    font-size: 0.74rem;

    line-height: 1.4;

    margin-bottom: 9px;
  }

  .conf-meta,
  .conf-theme {
    font-size: 0.67rem;

    line-height: 1.4;
  }

  /* =====================================================
       PANEL
       ===================================================== */

  .panel-special-card {
    width: 100%;

    padding: 22px 12px 25px;

    overflow: hidden;

    border-radius: 14px;
  }

  .panel-badge {
    max-width: 100%;

    font-size: 0.58rem;

    line-height: 1.3;

    padding: 7px 10px;

    border-radius: 20px;
  }

  .panel-title {
    font-size: 1.25rem;

    line-height: 1.2;

    margin-top: 14px;

    margin-bottom: 8px;
  }

  .panel-subtitle {
    font-size: 0.82rem;

    line-height: 1.35;

    margin-bottom: 12px;
  }

  .panel-meta-info {
    font-size: 0.74rem;

    line-height: 1.4;

    margin-bottom: 24px;
  }

  .panelists-heading {
    font-size: 0.93rem;

    line-height: 1.25;

    margin-bottom: 16px;

    gap: 7px;
  }

  .panelists-heading::before,
  .panelists-heading::after {
    max-width: 25px;
  }

  /* =====================================================
       PANELISTAS EN CARRUSEL
       ===================================================== */

  .panelists-grid {
    display: flex;

    width: 100%;

    gap: 12px;

    overflow-x: auto;
    overflow-y: hidden;

    padding: 3px 2px 18px;

    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;

    -webkit-overflow-scrolling: touch;

    scrollbar-width: none;
  }

  .panelists-grid::-webkit-scrollbar {
    display: none;
  }

  .panelist-item {
    flex: 0 0 78%;

    width: 78%;

    min-width: 0;

    scroll-snap-align: center;
    scroll-snap-stop: always;

    padding: 14px 12px 16px;

    border-radius: 14px;
  }

  .panelist-avatar {
    width: 145px;

    height: 175px;

    max-width: 100%;

    margin-bottom: 8px;

    border-radius: 10px;

    background-size: cover;

    background-position: center top;
  }

  .panelist-badge {
    font-size: 0.55rem;

    padding: 4px 8px;
  }

  .panelist-item h4 {
    font-size: 0.82rem;

    line-height: 1.25;

    margin: 7px 0 4px;
  }

  .panelist-item p {
    font-size: 0.68rem;

    line-height: 1.3;
  }

  /* =====================================================
       MODERADOR MÁS COMPACTO
       ===================================================== */

  .panel-moderator {
    width: 100%;

    margin: 18px auto 0;

    padding: 14px;

    border-radius: 14px;
  }

  .moderator-badge {
    position: static;

    top: auto;

    margin: 0 0 10px;

    font-size: 0.55rem;
  }

  .moderator-content {
    display: flex;

    flex-direction: row;

    align-items: center;

    justify-content: flex-start;

    gap: 12px;

    text-align: left;
  }

  .moderator-avatar {
    width: 82px;

    height: 100px;

    flex: 0 0 82px;

    border-radius: 9px;

    background-position: center top;
  }

  .panel-moderator h4 {
    font-size: 0.82rem;

    line-height: 1.25;

    margin-bottom: 4px;
  }

  .panel-moderator p {
    font-size: 0.67rem;

    line-height: 1.3;
  }
}

/* =========================================================
   MODERADOR TEC DE MONTERREY
   SOLO COMPUTADORA
   ========================================================= */

@media (min-width: 1201px) {
  /* Menos espacio entre panelistas y moderador */
  .panelists-grid {
    row-gap: 14px;
  }

  /* TARJETA DEL MODERADOR */
  .panelist-moderator-slide {
    grid-column: 2 / 5;

    width: 100%;
    max-width: 600px;

    justify-self: center;

    display: grid;

    grid-template-columns: 110px 1fr;
    grid-template-rows: auto auto auto;

    column-gap: 18px;
    row-gap: 3px;

    align-items: center;

    padding: 14px 20px;

    margin: 0 auto;

    min-height: 0;

    text-align: left;

    background: #ffffff;

    border: 1px solid #e2e8f0;
    border-top: 3px solid #f28b00;

    border-radius: 14px;

    box-shadow: 0 5px 16px rgba(11, 31, 82, 0.07);
  }

  /* FOTO */
  .panelist-moderator-slide .panelist-avatar {
    grid-column: 1;
    grid-row: 1 / 4;

    width: 100px;
    height: 125px;

    margin: 0;

    justify-self: center;

    border-radius: 10px;

    background-size: cover;
    background-position: center top;
  }

  /* ETIQUETA MODERADOR */
  .panelist-moderator-slide .moderator-slide-badge {
    grid-column: 2;
    grid-row: 1;

    justify-self: start;

    width: fit-content;

    margin: 0 0 3px 0;

    padding: 5px 12px;

    background-color: #f28b00;

    color: #ffffff;

    font-size: 0.62rem;
    font-weight: 900;

    border-radius: 20px;

    text-transform: uppercase;
  }

  /* NOMBRE */
  .panelist-moderator-slide h4 {
    grid-column: 2;
    grid-row: 2;

    margin: 0;

    color: #0b1f52;

    font-size: 1rem;
    font-weight: 900;

    line-height: 1.2;

    text-align: left;
  }

  /* DESCRIPCIÓN */
  .panelist-moderator-slide p {
    grid-column: 2;
    grid-row: 3;

    margin: 2px 0 0;

    color: #64748b;

    font-size: 0.75rem;

    line-height: 1.35;

    text-align: left;
  }
}

/* =========================================================
   PROGRAMA OFICIAL COMPLETO
   DETALLES DESPLEGABLES · PC / TABLET / MÓVIL
   NO MODIFICA PARTÍCULAS NI DISEÑO GENERAL
   ========================================================= */

/* La tarjeta azul conserva un tamaño similar al diseño original
   aunque se abra un bloque muy largo a la izquierda */
@media (min-width: 851px) {
  .program-download-card {
    align-self: start;
    min-height: 615px;
  }
}

/* TEXTO SECUNDARIO DENTRO DE CADA ACTIVIDAD */

.program-event-title,
.program-event-speaker,
.program-event-meta {
  display: block;
  margin-top: 4px;
  line-height: 1.4;
}

.program-event-title {
  color: #475569;
  font-size: 0.8rem;
  font-style: italic;
}

.program-event-speaker {
  color: #0b1f52;
  font-size: 0.78rem;
  font-weight: 800;
}

.program-event-meta {
  color: #64748b;
  font-size: 0.72rem;
  font-weight: 600;
}

/* LOS EVENTOS COMPLEJOS PUEDEN OCUPAR TODO EL ESPACIO DISPONIBLE */

.program-complex-item .event {
  width: 100%;
  min-width: 0;
}

/* =========================================================
   BOTÓN NATIVO DESPLEGABLE
   ========================================================= */

.program-expand {
  width: 100%;
  margin-top: 10px;
}

.program-expand > summary {
  list-style: none;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  gap: 8px;

  min-height: 34px;

  padding: 7px 13px;

  border: 1.5px solid #0b1f52;
  border-radius: 18px;

  background: #ffffff;

  color: #0b1f52;

  font-size: 0.67rem;
  font-weight: 900;

  text-transform: uppercase;

  cursor: pointer;

  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease;
}

.program-expand > summary::-webkit-details-marker {
  display: none;
}

.program-expand > summary::after {
  content: "+";

  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 17px;
  height: 17px;

  border-radius: 50%;

  background: #f28b00;
  color: #ffffff;

  font-size: 0.78rem;
  line-height: 1;
}

.program-expand[open] > summary {
  background: #0b1f52;
  border-color: #0b1f52;
  color: #ffffff;
}

.program-expand[open] > summary::after {
  content: "−";
}

.program-expand > summary:hover {
  border-color: #f28b00;
}

/* =========================================================
   TARJETAS DE SALAS / PONENCIAS
   ========================================================= */

.program-detail-grid {
  display: grid;

  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));

  gap: 10px;

  width: 100%;

  margin-top: 14px;
}

.program-room-card {
  min-width: 0;

  overflow: hidden;

  background: #ffffff;

  border: 1px solid #dce4ed;
  border-radius: 11px;

  box-shadow: 0 3px 10px rgba(11, 31, 82, 0.05);
}

.program-room-head {
  display: flex;
  flex-direction: column;

  gap: 2px;

  padding: 8px 10px;

  background: #0b1f52;

  color: #ffffff;
}

.program-room-head strong {
  font-size: 0.75rem;
  font-weight: 900;
}

.program-room-head span {
  font-size: 0.58rem;
  font-weight: 600;

  opacity: 0.9;

  text-transform: uppercase;
}

.program-room-body {
  padding: 11px 10px 12px;
}

.program-number {
  display: inline-block;

  margin-bottom: 6px;

  color: #f28b00;

  font-size: 0.62rem;
  font-weight: 900;

  text-transform: uppercase;
}

.program-room-body h5 {
  margin: 0 0 8px;

  color: #334155;

  font-size: 0.72rem;
  line-height: 1.4;

  font-weight: 700;
}

.program-room-body p {
  margin: 0;

  color: #0b1f52;

  font-size: 0.65rem;
  line-height: 1.35;

  font-weight: 800;
}

/* =========================================================
   ETAPAS DEL CONCURSO DE PÓSTERES
   ========================================================= */

.program-mini-grid {
  display: grid;

  grid-template-columns: repeat(3, minmax(0, 1fr));

  gap: 10px;

  margin-top: 14px;
}

.program-mini-card {
  min-width: 0;

  padding: 12px;

  background: #f8fafc;

  border: 1px solid #dce4ed;
  border-top: 3px solid #f28b00;

  border-radius: 10px;
}

.program-mini-card span {
  display: block;

  margin-bottom: 5px;

  color: #f28b00;

  font-size: 0.65rem;
  font-weight: 900;
}

.program-mini-card strong {
  display: block;

  margin-bottom: 5px;

  color: #0b1f52;

  font-size: 0.7rem;
  line-height: 1.3;
}

.program-mini-card p {
  margin: 0;

  color: #64748b;

  font-size: 0.64rem;
  line-height: 1.4;
}

/* =========================================================
   TALLERES
   ========================================================= */

.program-workshop-list {
  display: flex;
  flex-direction: column;

  gap: 8px;

  margin-top: 14px;
}

.program-workshop-row {
  display: grid;

  grid-template-columns: 70px minmax(0, 1fr);

  gap: 10px;

  align-items: stretch;

  overflow: hidden;

  border: 1px solid #dce4ed;
  border-radius: 10px;

  background: #ffffff;
}

.program-workshop-row > span {
  display: flex;
  align-items: center;
  justify-content: center;

  padding: 9px 7px;

  background: #0b1f52;

  color: #ffffff;

  font-size: 0.66rem;
  font-weight: 900;
}

.program-workshop-row > div {
  padding: 8px 10px 8px 0;

  min-width: 0;
}

.program-workshop-row strong {
  display: block;

  color: #334155;

  font-size: 0.7rem;
  line-height: 1.35;
}

.program-workshop-row small {
  display: block;

  margin-top: 4px;

  color: #64748b;

  font-size: 0.62rem;
  line-height: 1.3;
}

/* =========================================================
   INTEGRANTES DEL PANEL
   ========================================================= */

.program-people-grid {
  display: grid;

  grid-template-columns: repeat(2, minmax(0, 1fr));

  gap: 9px;

  margin-top: 14px;
}

.program-people-grid > div {
  min-width: 0;

  padding: 10px 11px;

  background: #f8fafc;

  border-left: 3px solid #f28b00;
  border-radius: 0 8px 8px 0;
}

.program-people-grid strong {
  display: block;

  color: #0b1f52;

  font-size: 0.68rem;
  line-height: 1.3;
}

.program-people-grid span {
  display: block;

  margin-top: 3px;

  color: #64748b;

  font-size: 0.61rem;
  line-height: 1.35;
}

/* =========================================================
   PRESENTACIONES ORALES DÍA 2
   ========================================================= */

.program-source-note {
  margin: 12px 0 0;

  padding: 9px 10px;

  background: #fff7ed;

  border-left: 3px solid #f28b00;
  border-radius: 0 7px 7px 0;

  color: #7c5a24;

  font-size: 0.62rem;
  line-height: 1.4;
}

.program-oral-rooms {
  display: grid;

  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));

  gap: 12px;

  margin-top: 14px;
}

.program-oral-room {
  min-width: 0;

  overflow: hidden;

  background: #ffffff;

  border: 1px solid #dce4ed;
  border-radius: 11px;
}

.program-presentation-list {
  display: flex;
  flex-direction: column;
}

.program-presentation-row {
  display: flex;
  flex-direction: column;

  gap: 4px;

  padding: 10px 11px;

  border-bottom: 1px solid #edf2f7;
}

.program-presentation-row:last-child {
  border-bottom: none;
}

.program-presentation-row > span {
  color: #f28b00;

  font-size: 0.58rem;
  font-weight: 900;

  text-transform: uppercase;
}

.program-presentation-row > strong {
  color: #334155;

  font-size: 0.66rem;
  line-height: 1.38;
}

.program-presentation-row > small {
  color: #0b1f52;

  font-size: 0.6rem;
  line-height: 1.3;

  font-weight: 700;
}

/* =========================================================
   TABLET / MÓVIL
   ========================================================= */

@media (max-width: 850px) {
  .program-detail-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .program-download-card {
    min-height: 0;
    align-self: stretch;
  }
}

/* =========================================================
   IPHONE / ANDROID
   ========================================================= */

@media (max-width: 576px) {
  .program-event-title {
    font-size: 0.72rem;
  }

  .program-event-speaker {
    font-size: 0.7rem;
  }

  .program-event-meta {
    font-size: 0.66rem;
  }

  .program-expand {
    margin-top: 8px;
  }

  .program-expand > summary {
    width: 100%;

    min-height: 40px;

    padding: 8px 10px;

    font-size: 0.62rem;
  }

  .program-detail-grid {
    grid-template-columns: minmax(0, 1fr);

    gap: 9px;
  }

  .program-mini-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .program-people-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .program-oral-rooms {
    grid-template-columns: minmax(0, 1fr);
  }

  .program-workshop-row {
    grid-template-columns: 58px minmax(0, 1fr);
  }

  .program-workshop-row > span {
    font-size: 0.58rem;
  }

  .program-room-head {
    padding: 8px 9px;
  }

  .program-room-head strong {
    font-size: 0.7rem;
  }

  .program-room-body {
    padding: 10px;
  }

  .program-room-body h5 {
    font-size: 0.69rem;
  }

  .program-room-body p {
    font-size: 0.63rem;
  }

  .program-source-note {
    font-size: 0.59rem;
  }
}

/* =========================================================
   HEADER - CORRECCIÓN SOLO COMPUTADORA
   NO MODIFICA MÓVIL
   ========================================================= */

@media (min-width: 1151px) {
  .header-fixed-logos {
    display: flex;
    align-items: center;

    height: 55px;
    gap: 10px;

    min-width: 0;

    overflow: visible;
  }

  .header-fixed-logos img {
    display: block;

    width: auto;

    object-fit: contain;

    flex-shrink: 0;
  }

  /* UTEQ */
  .header-fixed-uteq {
    height: 50px;
    max-width: 78px;
  }

  /* ANÁHUAC */
  .header-fixed-anahuac {
    height: 45px;
    max-width: 78px;
  }

  /* UNIR */
  .header-fixed-unir {
    height: 55px;
    max-width: 82px;
  }
}

/* =========================================================
   CARRUSEL DE LOGOS - SOLO MÓVIL
   MISMAS PROPORCIONES VISUALES QUE EN PC
   ========================================================= */

@media (max-width: 576px) {
  .logos-bar {
    height: 68px;
  }

  .logos-track {
    height: 68px;
    gap: 18px;
  }

  .logo-box {
    width: 105px;
    height: 68px;
    flex: 0 0 105px;
  }

  /* Restablecemos las proporciones que ya se ven bien en PC */
  .logo-box img {
    width: auto;
    max-width: none;
    object-fit: contain;
    display: block;
  }

  .logo-siemens img {
    height: 20px;
    max-height: none;
  }

  .logo-checkpoint img {
    height: 100px;
    width: auto;
    max-width: none;
    max-height: none;
    margin-top: -6px;
  }

  .logo-unam img {
    height: 45px;
    max-height: none;
  }

  .logo-tecmty img {
    height: 30px;
    max-height: none;
  }

  .logo-ge img {
    height: 30px;
    max-height: none;
  }

  .logo-anahuac img {
    height: 45px;
    max-height: none;
  }

  .logo-uteq img {
    height: 45px;
    max-height: none;
  }

  .logo-marista img {
    height: 45px;
    max-height: none;
  }

  .logo-unir img {
    height: 50px;
    max-height: none;
  }

  .logo-concyteq img {
    height: 35px;
    max-height: none;
  }

  .logo-sedeq img {
    height: 35px;
    max-height: none;
  }

  .logo-qro2 img,
  .logo-qro3 img {
    height: 32px;
    max-height: none;
  }

  /* =========================================================
   AJUSTE LOGO MARISTA - SOLO CARRUSEL MÓVIL
   ========================================================= */

  @media (max-width: 576px) {
    /* Marista necesita una caja más ancha
       porque su logo es horizontal */
    .logo-marista {
      width: 175px;
      flex: 0 0 175px;
    }

    .logo-marista img {
      height: 45px;
      width: auto;

      max-width: 165px;
      max-height: 45px;

      object-fit: contain;
    }
  }

  /* =========================================================
   GE VERNOVA - MÁS ESPACIO SOLO EN MÓVIL
   ========================================================= */

  @media (max-width: 576px) {
    .logo-ge {
      width: 150px;
      flex: 0 0 150px;

      margin-left: 8px;
      margin-right: 8px;
    }

    .logo-ge img {
      height: 30px;
      width: auto;

      max-width: 135px;
      max-height: 38px;

      object-fit: contain;
    }
  }

  /* =========================================================
   VELOCIDAD DEL CARRUSEL - SOLO MÓVIL
   ========================================================= */

  @media (max-width: 576px) {
    .logos-track {
      animation: scroll 38s linear infinite;
    }
  }
}
/* =========================================================
   CONCURSO DE PÓSTERES - VERDE
   ========================================================= */

.program-mini-card {
  border-top: 3px solid #6f9f7d !important;
  border-bottom: 2px solid #6f9f7d !important;
}

.program-mini-card span {
  color: #6f9f7d !important;
}

.program-mini-card strong {
  color: #4f6f32 !important;
}

/* =========================================================
   TALLERES - SECCIÓN INDEPENDIENTE
   ========================================================= */

.talleres-section {
  width: 100%;
  padding: 80px 8%;
  background-color: #f8fafc;
  text-align: center;
}

/* Los talleres ahora siempre están visibles dentro de su propia sección */
.talleres-section .workshops-container,
.talleres-section .workshops-container-visible {
  display: block !important;
  position: relative;
  margin-top: 30px;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
  animation: none;
  text-align: left;
}

.talleres-section .workshops-title {
  padding-right: 0;
  text-align: center;
  margin-bottom: 30px;
}

.talleres-section .workshops-grid {
  margin-bottom: 0;
}

@media (max-width: 576px) {
  .talleres-section {
    padding: 55px 5%;
  }

  .talleres-section .workshops-container,
  .talleres-section .workshops-container-visible {
    margin-top: 20px;
  }
}

/* =========================================================
   TALLERES - CARRUSEL HORIZONTAL
   PC: 3 tarjetas | Tablet: 2 | Móvil: 1
   ========================================================= */

.talleres-section .workshops-carousel {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.talleres-section .workshops-grid {
  display: flex !important;
  grid-template-columns: none !important;
  gap: 20px;
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 8px 4px 18px;
  margin-bottom: 0;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  align-items: stretch;
}

.talleres-section .workshops-grid::-webkit-scrollbar {
  display: none;
}

.talleres-section .workshop-card {
  flex: 0 0 calc((100% - 40px) / 3);
  min-width: 0;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.workshops-carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 12px;
}

.workshops-carousel-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 2px solid #0b1f52;
  background: #ffffff;
  color: #0b1f52;
  font-size: 1.15rem;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    opacity 0.2s ease;
}

.workshops-carousel-btn:hover:not(:disabled) {
  background: #0b1f52;
  color: #ffffff;
}

.workshops-carousel-btn:disabled {
  opacity: 0.28;
  cursor: default;
}

.workshops-carousel-status {
  min-width: 62px;
  text-align: center;
  color: #0b1f52;
  font-size: 0.78rem;
  font-weight: 800;
}

.workshops-carousel-help {
  margin: 8px 0 0;
  text-align: center;
  color: #64748b;
  font-size: 0.7rem;
  font-weight: 600;
}

@media (max-width: 1024px) {
  .talleres-section .workshop-card {
    flex-basis: calc((100% - 20px) / 2);
  }
}

@media (max-width: 576px) {
  .talleres-section .workshops-grid {
    gap: 14px;
    padding-left: 2px;
    padding-right: 2px;
  }

  .talleres-section .workshop-card {
    flex: 0 0 90%;
  }

  .workshops-carousel-controls {
    margin-top: 8px;
  }

  .workshops-carousel-btn {
    width: 40px;
    height: 40px;
  }

  .workshops-carousel-help {
    font-size: 0.65rem;
  }
}

/* =========================================================
   TALLERES - FOTOS DE TALLERISTAS
   ========================================================= */

.talleres-section .workshop-header {
  display: flex;
  align-items: center;
  gap: 14px;
}

.talleres-section .workshop-header > div:last-child {
  min-width: 0;
  flex: 1 1 auto;
}

.workshop-speaker-photo {
  position: relative;
  width: 72px;
  height: 72px;
  flex: 0 0 72px;
}

.talleres-section .workshop-img,
.workshop-photo-fallback {
  width: 72px;
  height: 72px;
  border-radius: 50%;
}

.talleres-section .workshop-img {
  display: block;
  object-fit: cover;
  object-position: center;
  border: 3px solid #f28b00;
  background: #eef2f7;
}

.workshop-photo-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0b1f52;
  color: #ffffff;
  border: 3px solid #f28b00;
  font-size: 0.9rem;
  font-weight: 900;
  letter-spacing: 0.5px;
}

.workshop-photo-fallback[hidden] {
  display: none !important;
}

.workshop-speaker-photos {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  padding-left: 4px;
}

.workshop-speaker-photos .workshop-speaker-photo {
  width: 62px;
  height: 62px;
  flex-basis: 62px;
}

.workshop-speaker-photos .workshop-speaker-photo + .workshop-speaker-photo {
  margin-left: -14px;
}

.workshop-speaker-photos .workshop-img,
.workshop-speaker-photos .workshop-photo-fallback {
  width: 62px;
  height: 62px;
}

.workshop-speaker-photos .workshop-speaker-photo:last-child {
  position: relative;
  z-index: 2;
}

@media (max-width: 576px) {
  .talleres-section .workshop-header {
    gap: 10px;
  }

  .workshop-speaker-photo {
    width: 58px;
    height: 58px;
    flex-basis: 58px;
  }

  .talleres-section .workshop-img,
  .workshop-photo-fallback {
    width: 58px;
    height: 58px;
  }

  .workshop-speaker-photos .workshop-speaker-photo {
    width: 50px;
    height: 50px;
    flex-basis: 50px;
  }

  .workshop-speaker-photos .workshop-img,
  .workshop-speaker-photos .workshop-photo-fallback {
    width: 50px;
    height: 50px;
  }

  .workshop-speaker-photos .workshop-speaker-photo + .workshop-speaker-photo {
    margin-left: -12px;
  }

  .workshop-photo-fallback {
    font-size: 0.72rem;
  }
}

/* =========================================================
   LOGO CLÚSTER - CARRUSEL DE INSTITUCIONES
   Mantiene el logo controlado junto a Siemens
   ========================================================= */

.logo-cluster {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.logo-cluster img {
  width: auto !important;
  height: 28px !important;
  max-width: 105px !important;
  max-height: 30px !important;
  object-fit: contain !important;
  display: block;
}

@media (max-width: 850px) {
  .logo-cluster img {
    width: auto !important;
    height: 27px !important;
    max-width: 100px !important;
    max-height: 30px !important;
  }
}

@media (max-width: 576px) {
  .logo-cluster {
    width: 105px;
    height: 68px;
    flex: 0 0 105px;
  }

  .logo-cluster img {
    width: auto !important;
    height: 26px !important;
    max-width: 92px !important;
    max-height: 28px !important;
  }
}

/* =========================================================
   CONFERENCISTAS MAGISTRALES - CONTROLES DE CARRUSEL
   En PC sigue siendo grid; las flechas aparecen en móvil
   ========================================================= */

.conferencistas-carousel-controls,
.conferencistas-carousel-help {
  display: none;
}

@media (max-width: 576px) {
  .conferencistas-grid {
    margin-bottom: 8px;
  }

  .conferencistas-carousel-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-top: 4px;
  }

  .conferencistas-carousel-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #0b1f52;
    background: #ffffff;
    color: #0b1f52;
    font-size: 1.15rem;
    font-weight: 900;
    line-height: 1;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition:
      background-color 0.2s ease,
      color 0.2s ease,
      opacity 0.2s ease;
    touch-action: manipulation;
  }

  .conferencistas-carousel-btn:active:not(:disabled),
  .conferencistas-carousel-btn:hover:not(:disabled) {
    background: #0b1f52;
    color: #ffffff;
  }

  .conferencistas-carousel-btn:disabled {
    opacity: 0.28;
    cursor: default;
  }

  .conferencistas-carousel-status {
    min-width: 72px;
    text-align: center;
    color: #0b1f52;
    font-size: 0.78rem;
    font-weight: 900;
  }

  .conferencistas-carousel-help {
    display: block;
    margin: 8px 0 0;
    text-align: center;
    color: #64748b;
    font-size: 0.65rem;
    font-weight: 600;
  }
}

/* =========================================================
   TALLERES - CONTROLES MÁS CLAROS
   ========================================================= */

.workshops-carousel-status {
  min-width: 72px;
  font-weight: 900;
}

/* =========================================================
   AJUSTE 2026-09-13
   CONFERENCISTAS MAGISTRALES - CARRUSEL EN PC / TABLET / MÓVIL
   Solo modifica el comportamiento de esta sección.
   ========================================================= */

.conferencistas-grid {
  display: flex;
  flex-wrap: nowrap;
  width: 100%;
  max-width: 1200px;
  gap: 30px;
  overflow-x: auto;
  padding: 8px 3px 18px;
  margin: 0 auto 8px;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.conferencistas-grid::-webkit-scrollbar {
  display: none;
}

.conferencistas-grid .conferencista-card {
  flex: 0 0 calc((100% - 60px) / 3);
  width: calc((100% - 60px) / 3);
  min-width: 0;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.conferencistas-carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 4px;
}

.conferencistas-carousel-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid #0b1f52;
  background: #ffffff;
  color: #0b1f52;
  font-size: 1.15rem;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    opacity 0.2s ease;
  touch-action: manipulation;
}

.conferencistas-carousel-btn:active:not(:disabled),
.conferencistas-carousel-btn:hover:not(:disabled) {
  background: #0b1f52;
  color: #ffffff;
}

.conferencistas-carousel-btn:disabled {
  opacity: 0.28;
  cursor: default;
}

.conferencistas-carousel-status {
  min-width: 72px;
  text-align: center;
  color: #0b1f52;
  font-size: 0.78rem;
  font-weight: 900;
}

/* En PC/tablet las flechas son suficientes; la ayuda táctil queda solo en móvil. */
.conferencistas-carousel-help {
  display: none;
}

@media (max-width: 1024px) and (min-width: 577px) {
  .conferencistas-grid {
    gap: 20px;
  }

  .conferencistas-grid .conferencista-card {
    flex-basis: calc((100% - 20px) / 2);
    width: calc((100% - 20px) / 2);
  }
}

@media (max-width: 576px) {
  .conferencistas-grid {
    gap: 14px;
    padding: 4px 3px 18px;
  }

  .conferencistas-grid .conferencista-card {
    flex: 0 0 88%;
    width: 88%;
    scroll-snap-align: center;
  }

  .conferencistas-carousel-help {
    display: block;
    margin: 8px 0 0;
    text-align: center;
    color: #64748b;
    font-size: 0.65rem;
    font-weight: 600;
  }
}

/* =========================================================
   AJUSTE 2026-09-13 - FLECHAS LATERALES
   Carrusel de Conferencistas Magistrales
   ========================================================= */

.conferencistas-carousel-shell {
  position: relative;
  width: 100%;
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 30px;
}

.conferencistas-carousel-shell .conferencistas-grid {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.conferencistas-carousel-controls {
  margin-top: 0;
}

.conferencistas-carousel-btn {
  position: absolute;
  top: 50%;
  z-index: 8;
  transform: translateY(-50%);
  box-shadow: 0 5px 18px rgba(11, 31, 82, 0.16);
}

.conferencistas-prev {
  left: 0;
}

.conferencistas-next {
  right: 0;
}

.conferencistas-carousel-status {
  display: block;
  margin: 8px auto 0;
}

@media (max-width: 1024px) {
  .conferencistas-carousel-shell {
    padding-left: 26px;
    padding-right: 26px;
  }
}

@media (max-width: 576px) {
  .conferencistas-carousel-shell {
    padding-left: 0;
    padding-right: 0;
  }

  .conferencistas-carousel-btn {
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.96);
  }

  .conferencistas-prev {
    left: 6px;
  }

  .conferencistas-next {
    right: 6px;
  }

  .conferencistas-carousel-status {
    margin-top: 6px;
  }
}

/* =========================================================
   AJUSTE 2026-09-13 - BOTONES CIRCULARES Y FLECHAS < >
   Mantiene las flechas laterales y centra el símbolo.
   ========================================================= */

.conferencistas-carousel-btn {
  width: 42px !important;
  height: 42px !important;
  min-width: 42px !important;
  min-height: 42px !important;
  max-width: 42px !important;
  max-height: 42px !important;
  flex: 0 0 42px !important;
  aspect-ratio: 1 / 1;
  padding: 0 !important;
  margin: 0;
  border-radius: 50% !important;
  box-sizing: border-box;

  display: grid !important;
  place-items: center;

  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.45rem !important;
  font-weight: 700;
  line-height: 1 !important;
  text-align: center;
  text-indent: 0;
}

@media (max-width: 576px) {
  .conferencistas-carousel-btn {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    min-height: 40px !important;
    max-width: 40px !important;
    max-height: 40px !important;
    flex-basis: 40px !important;
    font-size: 1.35rem !important;
  }
}

/* =========================================================
   AJUSTE 2026-09-13 - FLECHAS DEFINITIVAS CIRCULARES < >
   Fuerza círculo perfecto, centra el símbolo y evita caché visual.
   ========================================================= */

.conferencistas-carousel-btn {
  width: 46px !important;
  height: 46px !important;
  min-width: 46px !important;
  min-height: 46px !important;
  max-width: 46px !important;
  max-height: 46px !important;
  flex: 0 0 46px !important;
  border-radius: 999px !important;
  overflow: hidden;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  background: #ffffff !important;
  border: 2px solid #0b1f52 !important;
  color: #0b1f52 !important;
  font-size: 0 !important;
  line-height: 1 !important;
  box-shadow: 0 6px 16px rgba(11, 31, 82, 0.14) !important;
}

.conferencistas-carousel-btn .carousel-arrow-glyph {
  display: block;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 27px;
  font-weight: 700;
  line-height: 1;
  color: #0b1f52;
  transform: translateY(-1px);
  pointer-events: none;
}

@media (max-width: 576px) {
  .conferencistas-carousel-btn {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    min-height: 40px !important;
    max-width: 40px !important;
    max-height: 40px !important;
    flex-basis: 40px !important;
  }

  .conferencistas-carousel-btn .carousel-arrow-glyph {
    font-size: 24px;
  }
}

/* =========================================================
   AJUSTE 2026-09-13 - MICROAJUSTE DE CENTRADO DE FLECHAS
   Centra visualmente < y > dentro del círculo.
   ========================================================= */

.conferencistas-carousel-btn .carousel-arrow-glyph {
  width: 100%;
  height: 100%;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  line-height: 1 !important;
  transform: none !important;
}

.conferencistas-prev .carousel-arrow-glyph {
  transform: translate(-1px, -1px) !important;
}

.conferencistas-next .carousel-arrow-glyph {
  transform: translate(1px, -1px) !important;
}

@media (max-width: 576px) {
  .conferencistas-prev .carousel-arrow-glyph {
    transform: translate(-1px, -1px) !important;
  }

  .conferencistas-next .carousel-arrow-glyph {
    transform: translate(1px, -1px) !important;
  }
}

/* =========================================================
   AJUSTE 2026-09-13 - CONTROLES DISCRETOS DE CARRUSEL
   Conferencistas + Talleres + Ponentes
   ========================================================= */

/* Los botones siguen visibles pero no compiten con la lectura. */
.conferencistas-carousel-btn,
.workshops-carousel-btn,
.ponentes-carousel-btn {
  opacity: 0.72 !important;
  background: rgba(255, 255, 255, 0.82) !important;
  border-color: rgba(11, 31, 82, 0.72) !important;
  color: #0b1f52 !important;
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  transition:
    opacity 0.2s ease,
    background-color 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease !important;
}

.conferencistas-carousel-btn:hover:not(:disabled),
.conferencistas-carousel-btn:focus-visible:not(:disabled),
.workshops-carousel-btn:hover:not(:disabled),
.workshops-carousel-btn:focus-visible:not(:disabled),
.ponentes-carousel-btn:hover:not(:disabled),
.ponentes-carousel-btn:focus-visible:not(:disabled) {
  opacity: 1 !important;
  background: #ffffff !important;
  border-color: #0b1f52 !important;
  color: #0b1f52 !important;
  box-shadow: 0 7px 20px rgba(11, 31, 82, 0.19) !important;
}

.conferencistas-carousel-btn:disabled,
.workshops-carousel-btn:disabled,
.ponentes-carousel-btn:disabled {
  opacity: 0.25 !important;
  cursor: default !important;
}

/* Talleres: los mismos controles laterales que Conferencistas. */
.talleres-section .workshops-carousel {
  position: relative;
  max-width: 1260px;
  padding-left: 30px;
  padding-right: 30px;
}

.workshops-carousel-controls {
  margin-top: 0 !important;
}

.workshops-carousel-btn {
  position: absolute !important;
  top: 50%;
  z-index: 8;
  transform: translateY(-50%);
  width: 46px !important;
  height: 46px !important;
  min-width: 46px !important;
  min-height: 46px !important;
  max-width: 46px !important;
  max-height: 46px !important;
  border-radius: 999px !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 0 !important;
  box-sizing: border-box;
}

.workshops-prev {
  left: 0;
}
.workshops-next {
  right: 0;
}

.workshops-arrow-glyph {
  width: 100%;
  height: 100%;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 27px;
  font-weight: 700;
  line-height: 1;
  color: #0b1f52;
  pointer-events: none;
}

.workshops-prev .workshops-arrow-glyph {
  transform: translate(-1px, -1px);
}
.workshops-next .workshops-arrow-glyph {
  transform: translate(1px, -1px);
}

.workshops-carousel-status {
  display: block;
  margin: 8px auto 0;
}

/* =========================================================
   PONENTES - CARRUSEL
   ========================================================= */

.ponentes-section {
  width: 100%;
  padding: 75px 8% 80px;
  background: #ffffff;
  text-align: center;
}

.ponentes-header {
  margin-bottom: 38px;
}

.ponentes-header h2 {
  color: #0b1f52;
  font-size: 1.8rem;
  font-weight: 900;
  text-transform: uppercase;
}

.ponentes-subtitle {
  max-width: 760px;
  margin: 14px auto 0;
  color: #64748b;
  font-size: 0.9rem;
  line-height: 1.55;
}

.ponentes-carousel-shell {
  position: relative;
  width: 100%;
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 30px;
}

.ponentes-grid {
  display: flex;
  flex-wrap: nowrap;
  gap: 24px;
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 8px 4px 18px;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  align-items: stretch;
  cursor: grab;
}

.ponentes-grid::-webkit-scrollbar {
  display: none;
}

.ponentes-grid.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none !important;
  scroll-behavior: auto !important;
  user-select: none;
}

.ponente-card {
  position: relative;
  flex: 0 0 calc((100% - 48px) / 3);
  min-width: 0;
  min-height: 355px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.055);
  scroll-snap-align: start;
  scroll-snap-stop: always;
  text-align: left;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.ponente-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 11px 26px rgba(11, 31, 82, 0.1);
}

.ponente-card-accent {
  height: 5px;
  background: #f28b00;
}

.ponente-card-body {
  padding: 24px 22px 22px;
  height: calc(100% - 5px);
  display: flex;
  flex-direction: column;
}

.ponente-card-head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 21px;
}

.ponente-avatar {
  width: 62px;
  height: 62px;
  min-width: 62px;
  border-radius: 50%;
  border: 2px solid #f28b00;
  background: #f8fafc;
  color: #0b1f52;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  text-align: center;
  font-size: 0.78rem;
  line-height: 1.05;
  font-weight: 900;
}

.ponente-head-text {
  min-width: 0;
  flex: 1 1 auto;
}

.ponente-badge {
  display: inline-block;
  padding: 5px 11px;
  margin-bottom: 8px;
  border-radius: 999px;
  background: #f28b00;
  color: #ffffff;
  font-size: 0.64rem;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.ponente-name {
  margin: 0;
  color: #0b1f52;
  font-size: 1rem;
  font-weight: 900;
  line-height: 1.28;
  overflow-wrap: anywhere;
}

.ponente-title {
  margin: 0 0 20px;
  color: #23395d;
  font-size: 0.9rem;
  line-height: 1.55;
  font-weight: 700;
  flex: 1 1 auto;
}

.ponente-meta {
  border-top: 1px solid #e8edf4;
  padding-top: 15px;
  display: grid;
  gap: 7px;
  color: #64748b;
  font-size: 0.76rem;
  line-height: 1.35;
}

.ponentes-carousel-controls {
  margin-top: 0;
}

.ponentes-carousel-btn {
  position: absolute;
  top: 50%;
  z-index: 8;
  transform: translateY(-50%);
  width: 46px !important;
  height: 46px !important;
  min-width: 46px !important;
  min-height: 46px !important;
  max-width: 46px !important;
  max-height: 46px !important;
  border: 2px solid #0b1f52;
  border-radius: 999px !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 0 !important;
  box-sizing: border-box;
  cursor: pointer;
}

.ponentes-prev {
  left: 0;
}
.ponentes-next {
  right: 0;
}

.ponentes-arrow-glyph {
  width: 100%;
  height: 100%;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 27px;
  font-weight: 700;
  line-height: 1;
  color: #0b1f52;
  pointer-events: none;
}

.ponentes-prev .ponentes-arrow-glyph {
  transform: translate(-1px, -1px);
}
.ponentes-next .ponentes-arrow-glyph {
  transform: translate(1px, -1px);
}

.ponentes-carousel-status {
  display: block;
  min-width: 72px;
  margin: 8px auto 0;
  color: #0b1f52;
  font-size: 0.78rem;
  font-weight: 900;
  text-align: center;
}

.ponentes-carousel-help {
  margin: 8px 0 0;
  color: #64748b;
  font-size: 0.7rem;
  font-weight: 600;
  text-align: center;
}

/* Arrastre manual con mouse también en los otros carruseles. */
.conferencistas-grid,
.talleres-section .workshops-grid {
  cursor: grab;
}

.conferencistas-grid.is-dragging,
.talleres-section .workshops-grid.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none !important;
  scroll-behavior: auto !important;
  user-select: none;
}

@media (max-width: 1024px) {
  .ponente-card {
    flex-basis: calc((100% - 24px) / 2);
  }

  .ponentes-carousel-shell,
  .talleres-section .workshops-carousel {
    padding-left: 26px;
    padding-right: 26px;
  }
}

@media (max-width: 576px) {
  .ponentes-section {
    padding: 55px 5% 65px;
  }

  .ponentes-header {
    margin-bottom: 28px;
  }

  .ponentes-header h2 {
    font-size: 1.45rem;
  }

  .ponentes-subtitle {
    font-size: 0.8rem;
  }

  .ponentes-carousel-shell,
  .talleres-section .workshops-carousel {
    padding-left: 0;
    padding-right: 0;
  }

  .ponentes-grid {
    gap: 14px;
    padding-left: 2px;
    padding-right: 2px;
  }

  .ponente-card {
    flex: 0 0 90%;
    min-height: 340px;
  }

  .ponente-card-body {
    padding: 20px 18px 19px;
  }

  .ponente-card-head {
    gap: 11px;
  }

  .ponente-avatar {
    width: 54px;
    height: 54px;
    min-width: 54px;
    font-size: 0.7rem;
  }

  .ponente-name {
    font-size: 0.94rem;
  }

  .ponente-title {
    font-size: 0.84rem;
  }

  .ponentes-carousel-btn,
  .workshops-carousel-btn {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    min-height: 40px !important;
    max-width: 40px !important;
    max-height: 40px !important;
  }

  .ponentes-prev,
  .workshops-prev {
    left: 6px;
  }

  .ponentes-next,
  .workshops-next {
    right: 6px;
  }

  .ponentes-arrow-glyph,
  .workshops-arrow-glyph {
    font-size: 24px;
  }

  .ponentes-carousel-help {
    font-size: 0.65rem;
  }
}

/* =========================================================
   AJUSTE 2026-09-13 - FECHAS EN CONFERENCISTAS Y TALLERES
   ========================================================= */

.conf-date {
  margin: 0 0 7px 0;
  color: #0b1f52;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: 0.01em;
}

.workshop-date {
  margin: 12px 0 8px 0;
  color: #0b1f52;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.35;
}

@media (max-width: 576px) {
  .conf-date,
  .workshop-date {
    font-size: 0.74rem;
  }
}

/* =========================================================
   AJUSTE 2026-09-13 - COMITÉ ORGANIZADOR DETALLADO
   Solo afecta la vista del comité.
   ========================================================= */

.committee-container {
  max-width: 1320px;
  margin-left: auto;
  margin-right: auto;
}

.committee-subtitle {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.55;
}

.committee-group {
  margin-top: 34px;
}

.committee-group:first-of-type {
  margin-top: 24px;
}

.committee-group-title {
  position: relative;
  display: inline-block;
  margin: 0 auto 20px;
  padding-bottom: 8px;
  color: #0b1f52;
  font-size: 1.02rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.035em;
}

.committee-group-title::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 46px;
  height: 3px;
  border-radius: 999px;
  background: #f28b00;
  transform: translateX(-50%);
}

.committee-group .committee-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  margin-bottom: 0;
}

.committee-group .committee-card {
  min-height: 160px;
  justify-content: flex-start;
  padding: 20px 18px;
  border-top: 3px solid transparent;
}

.committee-group .committee-card:hover {
  border-top-color: #f28b00;
}

.committee-degree {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 54px;
  min-height: 25px;
  margin-bottom: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #eef3f9;
  color: #0b1f52;
  font-size: 0.68rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.025em;
}

.committee-card strong {
  font-size: 0.94rem;
  line-height: 1.3;
}

.committee-role {
  margin-top: 8px;
  font-size: 0.79rem;
  line-height: 1.48;
}

.committee-card-featured {
  background: linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
  border-color: #d8e2ef;
  box-shadow: 0 7px 20px rgba(11, 31, 82, 0.07);
}

.committee-card-featured .committee-degree {
  background: #fff1de;
  color: #bd6500;
}

.committee-institutions-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.committee-institution-card {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 82px;
  padding: 16px 18px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #ffffff;
  color: #0b1f52;
  font-size: 0.79rem;
  font-weight: 800;
  line-height: 1.35;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.025);
}

@media (max-width: 900px) {
  .committee-group .committee-grid,
  .committee-institutions-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 576px) {
  .committee-container {
    padding-left: 14px;
    padding-right: 14px;
  }

  .committee-group {
    margin-top: 28px;
  }

  .committee-group-title {
    font-size: 0.86rem;
    line-height: 1.35;
  }

  .committee-group .committee-grid,
  .committee-institutions-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .committee-group .committee-card {
    min-height: 0;
    padding: 17px 15px;
  }

  .committee-institution-card {
    min-height: 68px;
  }
}

/* =========================================================
   AJUSTE 2026-09-13 - COMITÉ MÁS COMPACTO
   Reduce tamaño de tarjetas y separaciones sin cambiar contenido.
   ========================================================= */

.committee-container {
  padding: 28px 24px 24px;
}

.committee-subtitle {
  font-size: 0.8rem;
  margin-bottom: 18px;
}

.committee-group {
  margin-top: 24px;
}

.committee-group:first-of-type {
  margin-top: 18px;
}

.committee-group-title {
  margin-bottom: 14px;
  padding-bottom: 6px;
  font-size: 0.9rem;
}

.committee-group .committee-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.committee-group .committee-card {
  min-height: 122px;
  padding: 14px 12px;
  border-radius: 10px;
}

.committee-degree {
  min-width: 46px;
  min-height: 21px;
  margin-bottom: 7px;
  padding: 3px 8px;
  font-size: 0.6rem;
}

.committee-card strong {
  font-size: 0.82rem;
  line-height: 1.22;
}

.committee-role {
  margin-top: 5px;
  font-size: 0.69rem;
  line-height: 1.32;
}

.committee-institutions-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.committee-institution-card {
  min-height: 64px;
  padding: 11px 12px;
  border-radius: 10px;
  font-size: 0.7rem;
  line-height: 1.25;
}

@media (max-width: 1100px) {
  .committee-group .committee-grid,
  .committee-institutions-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 800px) {
  .committee-group .committee-grid,
  .committee-institutions-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 576px) {
  .committee-container {
    padding: 24px 12px 20px;
  }

  .committee-group {
    margin-top: 20px;
  }

  .committee-group-title {
    margin-bottom: 12px;
    font-size: 0.82rem;
  }

  .committee-group .committee-grid,
  .committee-institutions-grid {
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .committee-group .committee-card {
    min-height: 0;
    padding: 13px 12px;
  }

  .committee-card strong {
    font-size: 0.8rem;
  }

  .committee-role {
    font-size: 0.68rem;
  }

  .committee-institution-card {
    min-height: 56px;
    padding: 10px;
  }
}

/* =========================================================
   AJUSTE 2026-09-13 - COMITÉ UNIFORME Y MÁS PEQUEÑO
   Una sola cuadrícula, sin categorías ni tarjetas destacadas.
   ========================================================= */

.committee-container {
  max-width: 1360px;
  padding: 24px 20px 20px;
}

.committee-container .committee-subtitle {
  max-width: 680px;
  margin: 5px auto 16px;
  font-size: 0.74rem;
  line-height: 1.4;
}

.committee-grid-unified {
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  gap: 10px !important;
  margin: 0 0 18px !important;
}

.committee-grid-unified .committee-card {
  min-height: 104px !important;
  padding: 10px 9px !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 9px !important;
  background: #ffffff !important;
  box-shadow: 0 3px 9px rgba(0, 0, 0, 0.025) !important;
  justify-content: flex-start !important;
  transform: none;
}

.committee-grid-unified .committee-card:hover {
  border-color: #f28b00 !important;
  transform: translateY(-2px);
  box-shadow: 0 5px 12px rgba(242, 139, 0, 0.08) !important;
}

.committee-grid-unified .committee-degree {
  min-width: 38px;
  min-height: 18px;
  margin-bottom: 5px;
  padding: 2px 6px;
  font-size: 0.52rem;
  line-height: 1;
}

.committee-grid-unified .committee-card strong {
  font-size: 0.74rem !important;
  line-height: 1.18 !important;
}

.committee-grid-unified .committee-role {
  margin-top: 4px !important;
  font-size: 0.62rem !important;
  line-height: 1.25 !important;
}

.committee-grid-unified .committee-card-institution {
  justify-content: flex-start !important;
}

.committee-grid-unified .committee-card-institution .committee-degree {
  min-width: auto;
}

@media (max-width: 1180px) {
  .committee-grid-unified {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 900px) {
  .committee-grid-unified {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 650px) {
  .committee-container {
    padding: 20px 12px 18px;
  }

  .committee-grid-unified {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
  }

  .committee-grid-unified .committee-card {
    min-height: 96px !important;
    padding: 9px 8px !important;
  }

  .committee-grid-unified .committee-card strong {
    font-size: 0.7rem !important;
  }

  .committee-grid-unified .committee-role {
    font-size: 0.59rem !important;
  }
}

@media (max-width: 420px) {
  .committee-grid-unified {
    grid-template-columns: 1fr !important;
  }

  .committee-grid-unified .committee-card {
    min-height: 0 !important;
  }
}

/* =========================================================
   AJUSTE 2026-09-13 - GRADO JUNTO AL NOMBRE
   Elimina la pastilla de grado y mantiene nombre + grado en una sola línea visual.
   ========================================================= */
.committee-grid-unified .committee-degree {
  display: none !important;
}

.committee-grid-unified .committee-card strong {
  display: block;
  width: 100%;
  margin: 0 0 4px 0;
}

.committee-grid-unified .committee-card-institution strong {
  margin-bottom: 0;
}

/* =========================================================
   AJUSTE 2026-09-13 - RESPONSIVE ANDROID / IOS
   Comité Organizador compacto y legible en pantallas pequeñas.
   ========================================================= */

.committee-grid-unified,
.committee-grid-unified .committee-card,
.committee-grid-unified .committee-card strong,
.committee-grid-unified .committee-role {
  min-width: 0;
  max-width: 100%;
}

.committee-grid-unified .committee-card strong,
.committee-grid-unified .committee-role {
  overflow-wrap: anywhere;
  word-break: normal;
  hyphens: auto;
  -webkit-hyphens: auto;
}

/* Tablet vertical / móviles grandes */
@media (max-width: 650px) {
  .committee-container {
    width: 100%;
    max-width: 100%;
    padding-left: max(12px, env(safe-area-inset-left));
    padding-right: max(12px, env(safe-area-inset-right));
  }

  .committee-grid-unified {
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

/* Android e iPhone: una tarjeta por fila para evitar texto comprimido */
@media (max-width: 576px) {
  .committee-container {
    padding-top: 18px;
    padding-bottom: 16px;
  }

  .committee-grid-unified {
    grid-template-columns: 1fr !important;
    gap: 7px !important;
  }

  .committee-grid-unified .committee-card {
    min-height: 0 !important;
    padding: 9px 10px !important;
    border-radius: 8px !important;
  }

  .committee-grid-unified .committee-card strong {
    font-size: 0.76rem !important;
    line-height: 1.25 !important;
    margin-bottom: 3px !important;
  }

  .committee-grid-unified .committee-role {
    font-size: 0.64rem !important;
    line-height: 1.32 !important;
    margin-top: 2px !important;
  }

  .committee-container .committee-title {
    font-size: clamp(1.05rem, 5vw, 1.35rem);
    line-height: 1.15;
  }

  .committee-container .committee-subtitle {
    font-size: 0.68rem;
    line-height: 1.35;
    padding: 0 4px;
  }

  .close-committee-btn {
    width: 34px;
    height: 34px;
    right: max(10px, env(safe-area-inset-right));
    top: 10px;
  }
}

/* iPhone SE / Android compactos */
@media (max-width: 390px) {
  .committee-grid-unified .committee-card {
    padding: 8px 9px !important;
  }

  .committee-grid-unified .committee-card strong {
    font-size: 0.73rem !important;
  }

  .committee-grid-unified .committee-role {
    font-size: 0.62rem !important;
  }
}

/* En dispositivos táctiles evitamos movimientos hover accidentales */
@media (hover: none) and (pointer: coarse) {
  .committee-grid-unified .committee-card:hover {
    transform: none !important;
  }
}

/* =========================================================
   PANEL DE EDUCACIÓN - CONTROLES DE CARRUSEL SOLO MÓVIL
   PC/tablet grande conservan la cuadrícula estática original.
   ========================================================= */

.panel-mobile-carousel-controls {
  display: none;
}

@media (max-width: 576px) {
  .panel-mobile-carousel-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 13px;
    width: 100%;
    margin: 2px auto 0;
    padding: 0 4px;
  }

  .panel-mobile-carousel-btn {
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
    max-width: 40px;
    max-height: 40px;
    flex: 0 0 40px;
    padding: 0;
    margin: 0;
    border-radius: 50%;
    border: 2px solid rgba(11, 31, 82, 0.58);
    background: rgba(255, 255, 255, 0.72);
    color: rgba(11, 31, 82, 0.78);
    box-shadow: 0 4px 12px rgba(11, 31, 82, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    -webkit-appearance: none;
    appearance: none;
    touch-action: manipulation;
    transition:
      opacity 0.2s ease,
      background-color 0.2s ease,
      border-color 0.2s ease,
      transform 0.2s ease;
  }

  .panel-mobile-carousel-btn:active:not(:disabled),
  .panel-mobile-carousel-btn:focus-visible:not(:disabled) {
    background: rgba(255, 255, 255, 1);
    border-color: #0b1f52;
    color: #0b1f52;
    transform: scale(0.96);
  }

  .panel-mobile-carousel-btn:disabled {
    opacity: 0.28;
  }

  .panel-mobile-arrow {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 24px;
    font-weight: 700;
    line-height: 1;
    pointer-events: none;
  }

  .panel-mobile-prev .panel-mobile-arrow {
    transform: translate(-1px, -1px);
  }

  .panel-mobile-next .panel-mobile-arrow {
    transform: translate(1px, -1px);
  }

  .panel-mobile-carousel-status {
    min-width: 58px;
    text-align: center;
    color: #64748b;
    font-size: 0.68rem;
    font-weight: 800;
    line-height: 1;
  }

  /* El carrusel sigue siendo táctil/manual. */
  .panelists-grid {
    touch-action: pan-x pan-y;
    overscroll-behavior-x: contain;
  }
}

@media (hover: hover) and (pointer: fine) and (max-width: 576px) {
  .panel-mobile-carousel-btn:hover:not(:disabled) {
    background: rgba(255, 255, 255, 1);
    border-color: #0b1f52;
    color: #0b1f52;
  }
}

/* =========================================================
   HEADER STICKY - NAVEGACIÓN SIEMPRE VISIBLE
   PC / TABLET / ANDROID / IOS
   La barra conserva su lugar original y, al llegar arriba,
   permanece visible mientras el usuario continúa bajando.
   ========================================================= */

.header {
  position: -webkit-sticky !important;
  position: sticky !important;
  top: 0 !important;
  z-index: 10000 !important;
  width: 100%;
  isolation: isolate;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}

/* El menú desplegable siempre queda por encima del contenido. */
.header .navbar {
  z-index: 10001 !important;
}

.header .menu-toggle {
  position: relative;
  z-index: 10002 !important;
}

/* Al navegar por anclas, evita que el título quede tapado por el header sticky. */
section[id] {
  scroll-margin-top: 90px;
}

@media (max-width: 576px) {
  .header {
    top: 0 !important;
    z-index: 10000 !important;
  }

  section[id] {
    scroll-margin-top: 76px;
  }
}

/* =========================================================
   FIX DEFINITIVO MÓVIL - HEADER FIJO AL HACER SCROLL
   Android / iOS
   En PC se conserva el sticky existente.
   ========================================================= */

/* El separador solo ocupa espacio cuando el header sale del flujo. */
.mobile-header-spacer {
  display: none;
  width: 100%;
  height: 0;
}

/*
   En el rango donde ya usamos menú hamburguesa dejamos que el
   header esté en su lugar normal. JS lo convierte en fixed al
   alcanzar la parte superior del viewport.
*/
@media (max-width: 1150px) {
  .header {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    width: 100% !important;
    z-index: 10000 !important;
  }

  .header.mobile-header-fixed {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 2147483000 !important;
    margin: 0 !important;
    background: #ffffff !important;
    box-shadow: 0 3px 14px rgba(0, 0, 0, 0.14) !important;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    will-change: transform;
  }

  .mobile-header-spacer.is-active {
    display: block;
  }

  .header.mobile-header-fixed .navbar {
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 2147483001 !important;
  }

  .header.mobile-header-fixed .menu-toggle {
    position: relative !important;
    z-index: 2147483002 !important;
  }

  section[id] {
    scroll-margin-top: 82px;
  }
}

@media (max-width: 576px) {
  .header.mobile-header-fixed {
    padding-left: max(7px, env(safe-area-inset-left)) !important;
    padding-right: max(7px, env(safe-area-inset-right)) !important;
  }

  section[id] {
    scroll-margin-top: 76px;
  }
}

/* =========================================================
   AJUSTE FINAL - APAC Y CLÚSTER
   Igualar presencia visual con los demás logos
   PC / TABLET / ANDROID / IOS
   ========================================================= */

.logo-cluster,
.logo-apac {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 135px !important;
  width: 135px !important;
  min-width: 135px !important;
  height: 60px !important;
  overflow: visible !important;
}

.logo-cluster img,
.logo-apac img {
  display: block !important;
  width: auto !important;
  height: 42px !important;
  max-width: 150px !important;
  max-height: 44px !important;
  object-fit: contain !important;
  margin: 0 !important;
  transform: none !important;
}

@media (max-width: 850px) {
  .logo-cluster,
  .logo-apac {
    flex-basis: 125px !important;
    width: 125px !important;
    min-width: 125px !important;
  }

  .logo-cluster img,
  .logo-apac img {
    height: 39px !important;
    max-width: 140px !important;
    max-height: 41px !important;
  }
}

@media (max-width: 576px) {
  .logo-cluster,
  .logo-apac {
    flex-basis: 118px !important;
    width: 118px !important;
    min-width: 118px !important;
    height: 60px !important;
  }

  .logo-cluster img,
  .logo-apac img {
    height: 37px !important;
    max-width: 132px !important;
    max-height: 39px !important;
  }
}

/* =========================================================
   DURACIÓN - TALLERES
   ========================================================= */

.workshop-duration {
  margin: -2px 0 9px 0;
  color: #64748b;
  font-size: 0.76rem;
  font-weight: 800;
  line-height: 1.35;
}

/* =========================================================
   DURACIÓN - PONENTES
   ========================================================= */

.ponente-duration {
  color: #64748b;
  font-weight: 800;
}

@media (max-width: 576px) {
  .workshop-duration,
  .ponente-duration {
    font-size: 0.72rem;
  }
}

/* =========================================================
   AJUSTE FINAL CLÚSTER
   Compensa el espacio interno del archivo del logo.
   ========================================================= */

.logo-cluster {
  flex: 0 0 150px !important;
  width: 150px !important;
  min-width: 150px !important;
  height: 60px !important;
  overflow: visible !important;
}

.logo-cluster img {
  width: 145px !important;
  height: auto !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: contain !important;
  transform: scale(1.22) !important;
  transform-origin: center center !important;
  margin: 0 !important;
}

/* Tablet */
@media (max-width: 850px) {
  .logo-cluster {
    flex-basis: 142px !important;
    width: 142px !important;
    min-width: 142px !important;
  }

  .logo-cluster img {
    width: 138px !important;
    transform: scale(1.2) !important;
  }
}

/* Android / iPhone */
@media (max-width: 576px) {
  .logo-cluster {
    flex-basis: 135px !important;
    width: 135px !important;
    min-width: 135px !important;
  }

  .logo-cluster img {
    width: 132px !important;
    transform: scale(1.18) !important;
  }
}

/* =========================================================
   AJUSTE EQUILIBRADO CLÚSTER
   Tamaño intermedio para igualar visualmente al resto.
   ========================================================= */

.logo-cluster {
  flex: 0 0 128px !important;
  width: 128px !important;
  min-width: 128px !important;
  height: 60px !important;
  overflow: visible !important;
}

.logo-cluster img {
  width: 122px !important;
  height: auto !important;
  max-width: 122px !important;
  max-height: 34px !important;
  object-fit: contain !important;
  transform: none !important;
  margin: 0 !important;
}

/* Tablet */
@media (max-width: 850px) {
  .logo-cluster {
    flex-basis: 120px !important;
    width: 120px !important;
    min-width: 120px !important;
  }

  .logo-cluster img {
    width: 114px !important;
    max-width: 114px !important;
    max-height: 32px !important;
  }
}

/* Android / iPhone */
@media (max-width: 576px) {
  .logo-cluster {
    flex-basis: 116px !important;
    width: 116px !important;
    min-width: 116px !important;
  }

  .logo-cluster img {
    width: 110px !important;
    max-width: 110px !important;
    max-height: 31px !important;
  }
}

/* =========================================================
   CLÚSTER JUNTO A KOSTAL - TAMAÑO NORMALIZADO
   ========================================================= */

.logo-cluster {
  flex: 0 0 auto !important;
  width: auto !important;
  min-width: 0 !important;
  height: 60px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: visible !important;
}

.logo-cluster img {
  width: auto !important;
  height: 32px !important;
  max-width: 118px !important;
  max-height: 32px !important;
  object-fit: contain !important;
  transform: none !important;
  margin: 0 !important;
}

/* Tablet */
@media (max-width: 850px) {
  .logo-cluster img {
    height: 31px !important;
    max-width: 112px !important;
    max-height: 31px !important;
  }
}

/* Android / iPhone */
@media (max-width: 576px) {
  .logo-cluster img {
    height: 30px !important;
    max-width: 108px !important;
    max-height: 30px !important;
  }
}

/* =========================================================
   MICROAJUSTE CLÚSTER - 10/12 PX MENOS
   ========================================================= */

.logo-cluster img {
  max-width: 106px !important;
}

@media (max-width: 850px) {
  .logo-cluster img {
    max-width: 101px !important;
  }
}

@media (max-width: 576px) {
  .logo-cluster img {
    max-width: 98px !important;
  }
}

/* =========================================================
   CLÚSTER JUNTO A SIEMENS - AJUSTE FINAL
   ========================================================= */

.logo-cluster {
  flex: 0 0 126px !important;
  width: 126px !important;
  min-width: 126px !important;
  height: 60px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: visible !important;
}

.logo-cluster img {
  width: 118px !important;
  height: auto !important;
  max-width: 118px !important;
  max-height: 34px !important;
  object-fit: contain !important;
  transform: none !important;
  margin: 0 !important;
}

@media (max-width: 850px) {
  .logo-cluster {
    flex-basis: 120px !important;
    width: 120px !important;
    min-width: 120px !important;
  }

  .logo-cluster img {
    width: 114px !important;
    max-width: 114px !important;
    max-height: 33px !important;
  }
}

@media (max-width: 576px) {
  .logo-cluster {
    flex-basis: 116px !important;
    width: 116px !important;
    min-width: 116px !important;
  }

  .logo-cluster img {
    width: 110px !important;
    max-width: 110px !important;
    max-height: 32px !important;
  }
}

/* =========================================================
   CLÚSTER - COMPENSACIÓN DEL MARGEN TRANSPARENTE DEL PNG
   Mantiene posición junto a Siemens y aumenta SOLO
   la presencia visual del contenido.
   ========================================================= */

.logo-cluster {
  flex: 0 0 148px !important;
  width: 148px !important;
  min-width: 148px !important;
  height: 60px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: visible !important;
}

.logo-cluster img {
  width: 118px !important;
  height: auto !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: contain !important;
  transform: scale(1.35) !important;
  transform-origin: center center !important;
  margin: 0 !important;
}

/* Tablet */
@media (max-width: 850px) {
  .logo-cluster {
    flex-basis: 140px !important;
    width: 140px !important;
    min-width: 140px !important;
  }

  .logo-cluster img {
    width: 114px !important;
    transform: scale(1.33) !important;
  }
}

/* Android / iPhone */
@media (max-width: 576px) {
  .logo-cluster {
    flex-basis: 136px !important;
    width: 136px !important;
    min-width: 136px !important;
  }

  .logo-cluster img {
    width: 110px !important;
    transform: scale(1.32) !important;
  }
}

/* =========================================================
   CLÚSTER - TAMAÑO EXACTO SOLICITADO
   140 px PC/tablet | 135 px móvil
   ========================================================= */

.logo-cluster {
  flex: 0 0 150px !important;
  width: 150px !important;
  min-width: 150px !important;
  height: 60px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: visible !important;
}

.logo-cluster img {
  width: 140px !important;
  height: auto !important;
  max-width: 140px !important;
  max-height: none !important;
  object-fit: contain !important;
  transform: none !important;
  margin: 0 !important;
}

@media (max-width: 576px) {
  .logo-cluster {
    flex-basis: 145px !important;
    width: 145px !important;
    min-width: 145px !important;
  }

  .logo-cluster img {
    width: 135px !important;
    max-width: 135px !important;
    height: auto !important;
    transform: none !important;
  }
}

/* =========================================================
   CONVOCATORIA - 3 TARJETAS HORIZONTALES SOLO EN PC
   Móvil conserva una tarjeta por fila.
   ========================================================= */

@media (min-width: 901px) {
  .convocatoria-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 22px !important;
    align-items: stretch;
  }

  .convocatoria-grid .conv-card {
    width: 100%;
    height: 100%;
    padding: 26px 22px;
  }

  .convocatoria-grid .conv-card h3 {
    max-width: calc(100% - 52px);
    font-size: 1.02rem;
  }

  .convocatoria-grid .conv-card p {
    font-size: 0.78rem;
    line-height: 1.5;
  }
}

/* Tablet y móvil: comportamiento actual, apilado vertical */
@media (max-width: 900px) {
  .convocatoria-grid {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}

/* =========================================================
   PONENTES - IMAGEN TIPO MAGISTRALES
   Consolidado: PC / TABLET / ANDROID / IOS
   ========================================================= */

.ponente-card {
  min-height: 620px;
  overflow: hidden !important;
}

.ponente-card-body {
  padding: 0 !important;
  height: auto !important;
}

.ponente-card-head {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 0 !important;
  margin: 0 0 18px !important;
}

/* Foto individual del ponente */
.ponente-avatar,
.ponente-avatar.ponente-avatar--photo {
  width: 100% !important;
  min-width: 100% !important;
  height: 300px !important;
  min-height: 300px !important;
  flex: 0 0 300px !important;
  padding: 0 !important;
  overflow: hidden !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background: #e2e8f0 !important;
}

.ponente-avatar > img,
.ponente-avatar img,
.ponente-avatar.ponente-avatar--photo img {
  width: 100% !important;
  height: 100% !important;
  min-width: 100% !important;
  min-height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  display: block !important;
  object-fit: cover !important;
  object-position: center 22% !important;
  border: 0 !important;
  border-radius: 0 !important;
  position: static !important;
  transform: none !important;
}

/* Iniciales cuando no existe fotografía */
.ponente-avatar .ponente-avatar-fallback,
.ponente-avatar.ponente-avatar--photo .ponente-avatar-fallback {
  width: 100%;
  height: 100%;
  padding: 18px;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 1.3rem;
  line-height: 1.1;
  font-weight: 900;
  background: #e2e8f0;
  color: #0b1f52;
}

.ponente-avatar .ponente-avatar-fallback:not([hidden]),
.ponente-avatar.ponente-avatar--photo .ponente-avatar-fallback:not([hidden]) {
  display: flex;
}

.ponente-avatar .ponente-avatar-fallback[hidden],
.ponente-avatar.ponente-avatar--photo .ponente-avatar-fallback[hidden] {
  display: none !important;
}

/* =========================================================
   PONENCIA 2 - DOS FOTOS SIN FRANJA BLANCA
   Clases propias para evitar estilos heredados antiguos.
   Conserva el mismo tamaño exterior que las demás tarjetas.
   ========================================================= */

.ponente-dual-photo {
  width: 100% !important;
  min-width: 100% !important;
  height: 300px !important;
  display: flex !important;
  align-items: stretch !important;
  gap: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  background: #e2e8f0;
}

.ponente-dual-photo-item {
  position: relative;
  flex: 1 1 50%;
  width: 50%;
  min-width: 0;
  height: 100%;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  overflow: hidden !important;
  line-height: 0;
}

/* Evita cualquier línea de subpíxel entre ambas mitades. */
.ponente-dual-photo-item + .ponente-dual-photo-item {
  margin-left: -2px !important;
}

.ponente-dual-photo-item img {
  width: 100% !important;
  height: 100% !important;
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  object-fit: cover !important;
}

/* Recorta solo los bordes interiores claros de las fotos;
   no aumenta la tarjeta ni cambia el tamaño exterior. */
.ponente-dual-photo-item:first-child img {
  object-position: left 22% !important;
  transform: scale(1.08) !important;
  transform-origin: left center !important;
}

.ponente-dual-photo-item:last-child img {
  object-position: right 22% !important;
  transform: scale(1.08) !important;
  transform-origin: right center !important;
}

/* Texto de las tarjetas */
.ponente-head-text {
  width: 100%;
  min-width: 0;
  padding: 18px 22px 0;
  box-sizing: border-box;
  text-align: center;
}

.ponente-badge {
  margin-bottom: 10px;
}

.ponente-name {
  font-size: 1.05rem;
}

.ponente-title {
  margin: 0 0 18px;
  padding: 0 22px;
  box-sizing: border-box;
}

.ponente-meta {
  width: calc(100% - 44px);
  margin: 0 22px 22px;
  box-sizing: border-box;
}

/* =========================================================
   SEDES - CENTRADO Y ESPACIO ANTES DEL FOOTER
   ========================================================= */

.sedes-section {
  padding-bottom: 100px !important;
  text-align: center !important;
}

.sedes-section > .section-title {
  display: block;
  width: max-content;
  max-width: 100%;
  margin: 0 auto 10px !important;
  text-align: center !important;
}

.sedes-section > .section-subtitle {
  max-width: 760px;
  margin-left: auto !important;
  margin-right: auto !important;
  text-align: center !important;
}

/* TABLET */
@media (max-width: 1024px) {
  .ponente-card {
    min-height: 590px;
  }

  .ponente-avatar,
  .ponente-avatar.ponente-avatar--photo,
  .ponente-dual-photo {
    height: 280px !important;
    min-height: 280px !important;
    flex-basis: 280px !important;
  }

  .sedes-section {
    padding-bottom: 90px !important;
  }
}

/* ANDROID / IPHONE */
@media (max-width: 576px) {
  .ponente-card {
    min-height: 560px;
  }

  .ponente-avatar,
  .ponente-avatar.ponente-avatar--photo,
  .ponente-dual-photo {
    height: 260px !important;
    min-height: 260px !important;
    flex-basis: 260px !important;
  }

  .ponente-head-text {
    padding: 16px 18px 0;
  }

  .ponente-title {
    padding: 0 18px;
  }

  .ponente-meta {
    width: calc(100% - 36px);
    margin: 0 18px 18px;
  }

  .sedes-section {
    padding-bottom: 80px !important;
  }
}

/* =========================================================
   TALLER DEMOSTRATIVO DE REALIDAD AUMENTADA
   ING. PATRICIO SANTIAGO JIMÉNEZ
   SIN FOTO · DOS GRUPOS DE REGISTRO
   RESPONSIVE: PC / TABLET / ANDROID / IPHONE
   ========================================================= */

.workshop-card-ra .workshop-header-no-photo {
  justify-content: flex-start;
  align-items: flex-start;
}

.workshop-card-ra .workshop-header-no-photo > div {
  width: 100%;
  min-width: 0;
}

.workshop-registration-groups {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  width: 100%;
}

.workshop-registration-groups .workshop-group-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: 10px 8px;
  line-height: 1.3;
  white-space: normal;
  overflow-wrap: anywhere;
}

@media (max-width: 768px) {
  .workshop-registration-groups {
    grid-template-columns: 1fr;
    gap: 9px;
  }
}

@media (max-width: 576px) {
  .workshop-card-ra .workshop-header-no-photo {
    margin-bottom: 15px;
  }

  .workshop-registration-groups {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .workshop-registration-groups .workshop-group-button {
    width: 100%;
    min-height: 44px;
    padding: 11px 8px;
    font-size: 0.72rem;
    line-height: 1.3;
  }
}

