/* ============================================================
   EXPO KOSSODO 2026 — Rediseño "Precisión de Laboratorio"
   Paleta: navy #3a4062 · naranja #f18635 · teal #26b89a · blanco
   Tipografía: Space Grotesk (display) · Inter (texto) · IBM Plex Mono (datos)
   ============================================================ */
:root {
  /* Marca */
  --primary-blue: #3a4062;
  --secondary-blue: #2c3049;
  --accent-orange: #f18635;
  --accent-green: #26b89a;

  /* Neutros de sistema */
  --ink: #21243b;        /* navy casi-negro para bloques de alto contraste */
  --paper: #ffffff;
  --paper-2: #f4f6fa;    /* gris papel para alternar secciones */
  --light-bg: #f4f6fa;
  --line: #e3e7f0;       /* hairline */
  --border-line: #e3e7f0;
  --text-dark: #21243b;
  --text-muted: #6b7180;
  --white: #ffffff;

  /* Tipografías (uniformadas con los brochures) */
  --font-display: 'Satoshi', 'Segoe UI', sans-serif;
  --font-body: 'Titillium Web', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'IBM Plex Mono', 'SFMono-Regular', Consolas, monospace;
}

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

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background-color: var(--paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

.container { position: relative; }

/* ---------- FIRMA: regla de calibración ---------- */
.ruler,
.hero-ruler {
  height: 16px;
  width: 100%;
  background-image: repeating-linear-gradient(
    90deg,
    currentColor 0, currentColor 2px,
    transparent 2px, transparent 13px
  );
}

/* ---------- SISTEMA DE ENCABEZADO DE SECCIÓN ---------- */
.section-head {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  column-gap: 1.6rem;
  row-gap: 0.4rem;
  padding-bottom: 1.6rem;
  margin-bottom: 3.5rem;
  border-bottom: 1px solid var(--line);
}

.section-head::before {
  content: attr(data-index);
  grid-row: 1 / span 3;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 1.05rem;
  line-height: 1;
  color: var(--accent-orange);
  padding-top: 0.5rem;
  letter-spacing: 0.05em;
}

.section-head::after {
  content: attr(data-eyebrow);
  grid-column: 2;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent-green);
  order: -1;
}

.section-head h2 {
  grid-column: 2;
  font-size: clamp(1.7rem, 3.4vw, 2.7rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0.2rem 0 0.1rem;
}

.section-head .section-subtitle,
.section-head p {
  grid-column: 2;
  text-align: left;
  color: var(--text-muted);
  font-size: 1.02rem;
  max-width: 620px;
  margin: 0;
}

/* Variante invertida (sobre bloque navy) */
.section-head--invert { border-bottom-color: rgba(255,255,255,0.16); }
.section-head--invert::before { color: var(--accent-orange); }
.section-head--invert::after { color: #7fe0cd; }
.section-head--invert h2 { color: var(--white); }
.section-head--invert p,
.section-head--invert .section-subtitle { color: rgba(255,255,255,0.78); }

/* Variante centrada (formulario) */
.section-head--center {
  justify-items: center;
  text-align: center;
  grid-template-columns: 1fr;
}
.section-head--center::before { grid-row: auto; grid-column: 1; padding-top: 0; }
.section-head--center::after { grid-column: 1; }
.section-head--center h2,
.section-head--center p,
.section-head--center .section-subtitle { grid-column: 1; text-align: center; }
.section-head--center .section-subtitle { margin: 0 auto; }

/* Subtítulo suelto (compatibilidad) */
.section-subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 2rem;
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar-custom {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  box-shadow: none;
  padding: 0.7rem 0;
  position: sticky;
  top: 0;
  z-index: 999;
  width: 100%;
}

.navbar-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
}

.navbar-custom .navbar-brand {
  position: absolute;
  left: 1.5rem;
  display: flex;
  align-items: center;
  margin: 0 !important;
}

.navbar-logo { height: 42px; width: auto; object-fit: contain; }

.navbar-custom .navbar-toggler {
  display: none;
  border: none;
  position: absolute;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  padding: 0;
  cursor: pointer;
}
.navbar-custom .navbar-toggler:focus { outline: none; box-shadow: none; }
.navbar-custom .navbar-toggler-icon {
  width: 24px;
  height: 20px;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%233a4062' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-size: contain;
}

.navbar-centered {
  display: flex;
  flex-direction: row;
  gap: 0.25rem;
  align-items: center;
  justify-content: center;
}
#navbarDesktop { display: flex !important; flex-direction: row !important; margin: 0 auto; }

.navbar-custom .nav-link {
  color: var(--text-dark) !important;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 0.72rem;
  padding: 0.5rem 0.9rem !important;
  margin: 0 0.1rem;
  border-radius: 0;
  transition: color 0.2s ease;
  position: relative;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}
.navbar-custom .nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0.9rem;
  right: 0.9rem;
  height: 2px;
  background: var(--accent-orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.navbar-custom .nav-link:hover { color: var(--accent-orange) !important; background: transparent; }
.navbar-custom .nav-link:hover::after,
.navbar-custom .nav-link.active::after { transform: scaleX(1); }
.navbar-custom .nav-link.active { color: var(--accent-orange) !important; background: transparent; }

/* SIDEBAR (móvil) */
.sidebar-overlay {
  display: none;
  position: fixed; inset: 0;
  background: rgba(33,36,59,0.35);
  z-index: 997;
}
.sidebar-overlay.active { display: block; }
.sidebar-panel {
  position: fixed;
  top: 56px; left: 0; right: 0;
  width: 100%;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 10px 24px rgba(33,36,59,0.08);
  z-index: 998;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 20px;
}
.sidebar-panel.active { max-height: 420px; overflow-y: auto; }
.sidebar-header, .sidebar-close { display: none; }
.sidebar-nav { list-style: none; padding: 0; margin: 0; }
.sidebar-nav li { border-bottom: 1px solid var(--line); }
.sidebar-nav li:last-child { border-bottom: none; }
.sidebar-link {
  display: block;
  padding: 1rem 1.5rem;
  color: var(--text-dark);
  text-decoration: none;
  font-family: var(--font-mono);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.8rem;
  transition: all 0.2s ease;
  text-align: center;
}
.sidebar-link:hover { background: var(--paper-2); color: var(--accent-orange); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  color: var(--white);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(105deg,
    rgba(26,29,50,0.92) 0%,
    rgba(33,36,59,0.82) 42%,
    rgba(33,36,59,0.45) 100%);
  z-index: 1;
}
.hero-video {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  min-width: 100%; min-height: 100%;
  width: auto; height: auto;
  z-index: 0;
  object-fit: cover;
}
.hero-cortina {
  position: absolute;
  right: 0; top: 0;
  height: 100%; width: auto;
  z-index: 1;
  object-fit: contain;
  opacity: 0.5;
  filter: brightness(0) invert(1);
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: left;
  max-width: 1180px;
  width: 100%;
  margin: 0 auto;
  padding: 3rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent-orange);
  margin-bottom: 1.5rem;
  animation: fadeIn 0.7s ease both;
}
.hero-eyebrow .dot {
  width: 5px; height: 5px;
  background: var(--accent-green);
  border-radius: 50%;
  display: inline-block;
}
.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.03em;
  margin-bottom: 0;
  text-shadow: 0 2px 30px rgba(0,0,0,0.25);
  animation: fadeUp 0.8s ease 0.1s both;
}
.hero h1 em {
  font-style: normal;
  color: var(--accent-orange);
}
.hero-title-mobile { display: none; }
.hero-title-desktop { display: block; }

.hero-ruler {
  color: var(--accent-orange);
  max-width: 340px;
  margin: 2rem 0 1.8rem;
  height: 14px;
  opacity: 0.9;
  animation: fadeIn 0.8s ease 0.3s both;
}

.hero .meta {
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
  margin: 0 0 2rem;
  animation: fadeUp 0.8s ease 0.35s both;
}
.hero .meta-item {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  color: rgba(255,255,255,0.92);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.hero .meta-key {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  animation: fadeUp 0.8s ease 0.45s both;
}
.btn-hero {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.95rem 1.7rem;
  border-radius: 4px;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}
.btn-hero-primary {
  background: var(--accent-orange);
  color: var(--white);
  border: 1px solid var(--accent-orange);
}
.btn-hero-primary:hover {
  background: #dd7420;
  border-color: #dd7420;
  color: var(--white);
  transform: translateY(-2px);
}
.btn-hero-primary span { transition: transform 0.25s ease; }
.btn-hero-primary:hover span { transform: translateX(4px); }
.btn-hero-ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.4);
}
.btn-hero-ghost:hover { border-color: var(--white); background: rgba(255,255,255,0.08); color: var(--white); }

/* EXPOSITORES */
.hero-expositores-desktop {
  margin-top: 2.8rem;
  padding-top: 1.8rem;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  width: 100%;
  display: block;
  animation: fadeIn 0.9s ease 0.6s both;
}
.hero-expositores-mobile {
  display: none;
  background: var(--ink);
  padding: 0.75rem 0;
  width: 100%;
}
.expositores-title {
  color: rgba(255, 255, 255, 0.55);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  margin-bottom: 1.3rem;
  text-transform: uppercase;
}
.expositores-logos {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 2.5rem;
}
.logo-item { display: flex; align-items: center; justify-content: center; height: 40px; }
.logo-item img {
  height: 100%; width: auto; object-fit: contain;
  opacity: 0.7;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.logo-item:hover img { opacity: 1; transform: scale(1.06); }

@keyframes fadeUp { from { opacity: 0; transform: translateY(22px);} to { opacity:1; transform: translateY(0);} }
@keyframes fadeIn { from { opacity: 0;} to { opacity: 1;} }
@keyframes slideUp { from { opacity:0; transform: translateY(20px);} to { opacity:1; transform: translateY(0);} }

/* ============================================================
   INTRO CONTENT (bloque narrativo)
   ============================================================ */
.intro-content-section { background: var(--paper); padding: 5.5rem 0; }
.intro-content-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 4rem;
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.intro-text { display: flex; flex-direction: column; gap: 1.3rem; }
.intro-text h2 {
  color: var(--ink);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 0.4rem;
}
.intro-text p { color: var(--text-muted); font-size: 0.98rem; line-height: 1.75; }
.intro-text strong { color: var(--ink); font-weight: 600; }
.intro-text em {
  color: var(--accent-orange);
  font-style: normal;
  font-weight: 600;
}
.cta-text {
  background: var(--paper-2);
  padding: 1.5rem 1.6rem;
  border-left: 3px solid var(--accent-green);
  border-radius: 4px;
  margin-top: 0.6rem !important;
  color: var(--text-dark) !important;
  font-weight: 500;
  font-size: 0.96rem;
}
.intro-image { position: relative; display: flex; justify-content: center; align-items: center; }
.intro-img {
  width: 100%; height: auto;
  border-radius: 6px;
  box-shadow: 0 24px 60px rgba(33,36,59,0.18);
  object-fit: cover;
  aspect-ratio: 1;
}
.image-badge {
  position: absolute;
  bottom: 20px; left: 20px;
  background: var(--ink);
  color: var(--white);
  padding: 0.9rem 1.3rem;
  border-radius: 4px;
  border-left: 3px solid var(--accent-orange);
  box-shadow: 0 12px 28px rgba(33,36,59,0.28);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.badge-text {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ============================================================
   PILARES DE SEGURIDAD
   ============================================================ */
.security-pillars-section { background: var(--paper-2); padding: 5.5rem 0; }
.security-pillars-section .container,
.intro-section .container,
.cards-section .container,
.future-labs-section .container {
  max-width: 1180px; margin: 0 auto; padding: 0 1.5rem;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}
.pillar-card {
  background: var(--paper);
  padding: 2rem 1.8rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  text-align: left;
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
  position: relative;
  counter-increment: pillar;
}
.pillar-card::before {
  content: counter(pillar, decimal-leading-zero);
  position: absolute;
  top: 1.4rem; right: 1.4rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--accent-orange);
  letter-spacing: 0.05em;
}
.pillars-grid { counter-reset: pillar; }
.pillar-card:hover {
  border-color: var(--accent-orange);
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(33,36,59,0.08);
}
.pillar-icon {
  width: 70px; height: 70px;
  margin: 0 0 1.4rem;
  border-radius: 6px;
  overflow: hidden;
  background: var(--paper-2);
  display: flex; align-items: center; justify-content: center;
}
.pillar-icon img { width: 100%; height: 100%; object-fit: cover; }
.pillar-card h3 {
  color: var(--ink);
  font-size: 1.12rem;
  margin-bottom: 0.7rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.pillar-card p { color: var(--text-muted); font-size: 0.92rem; line-height: 1.6; }

/* ============================================================
   PROGRAMACIÓN POR PÚBLICO
   ============================================================ */
.intro-section { background: var(--paper); padding: 5.5rem 0; }
.event-types {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}
.event-type-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 6px;
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.event-type-card:hover {
  border-color: var(--primary-blue);
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(33,36,59,0.08);
}
.event-type-card .card-header {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 1.5rem 1.6rem;
  background: var(--ink);
  border-bottom: 3px solid var(--accent-orange);
}
.card-number {
  width: 52px; height: 52px; min-width: 52px;
  border-radius: 4px;
  background: var(--accent-orange);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono);
  font-size: 1.6rem;
  font-weight: 600;
  flex-shrink: 0;
}
.event-type-card .card-header img {
  width: 64px; height: 64px;
  border-radius: 4px;
  object-fit: cover;
  flex-shrink: 0;
}
.event-type-card .card-header h3 {
  color: var(--white);
  font-size: 1.12rem;
  font-weight: 600;
  margin: 0;
  letter-spacing: -0.01em;
}
.event-type-card .card-content { padding: 1.8rem 1.6rem; }
.event-type-card .card-content h4 {
  color: var(--accent-green);
  font-family: var(--font-mono);
  font-weight: 500;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
}
.event-type-card .card-content > p { font-size: 0.94rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 1rem; }
.topics-list { display: flex; flex-direction: column; gap: 1.3rem; margin-top: 1.3rem; }
.topic-item { padding-left: 1.4rem; position: relative; }
.topic-item::before {
  content: '';
  position: absolute;
  left: 0; top: 0.5rem;
  width: 7px; height: 7px;
  background: var(--accent-orange);
  border-radius: 1px;
}
.topic-item strong { color: var(--ink); font-size: 0.94rem; display: block; margin-bottom: 0.3rem; font-weight: 600; }
.topic-item p { color: var(--text-muted); font-size: 0.88rem; line-height: 1.6; margin: 0; }

/* ============================================================
   SESIONES ESPECIALES (cards)
   ============================================================ */
.cards-section { padding: 5.5rem 0; background: var(--paper-2); }
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}
.event-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 2rem 1.8rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
.event-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 4px;
}
.event-card:hover { transform: translateY(-5px); box-shadow: 0 20px 40px rgba(33,36,59,0.28); }

/* CARD 1 — Innovation Labs — Slate #4C5871 */
.cards-grid .event-card:nth-child(1) { background: #4C5871; border-color: #3a4457; }
.cards-grid .event-card:nth-child(1)::before { background: #aeb8d0; }
.cards-grid .event-card:nth-child(1) .badge { background: rgba(255,255,255,0.15); color: var(--white); }
.cards-grid .event-card:nth-child(1) h3 { color: var(--white); }
.cards-grid .event-card:nth-child(1) .date { color: #c6cee0; }
.cards-grid .event-card:nth-child(1) p { color: #dde1ea; }
.cards-grid .event-card:nth-child(1) .highlights li { color: #ced4e1; }
.cards-grid .event-card:nth-child(1) .highlights li::before { color: #aeb8d0; }
.cards-grid .event-card:nth-child(1) .cupos { color: #ffffff; }

/* CARD 2 — Sesión Ejecutiva Full Day — Blanco */
.cards-grid .event-card:nth-child(2) { background: #ffffff; border-color: var(--line); box-shadow: 0 6px 22px rgba(33,36,59,0.07); }
.cards-grid .event-card:nth-child(2)::before { background: var(--accent-green); }
.cards-grid .event-card:nth-child(2) .badge { background: var(--ink); color: var(--white); }
.cards-grid .event-card:nth-child(2) h3 { color: var(--ink); }
.cards-grid .event-card:nth-child(2) .date { color: var(--accent-green); }
.cards-grid .event-card:nth-child(2) p { color: var(--text-muted); }
.cards-grid .event-card:nth-child(2) p strong { color: var(--ink); }
.cards-grid .event-card:nth-child(2) .highlights li { color: var(--text-muted); }
.cards-grid .event-card:nth-child(2) .highlights li::before { color: var(--accent-green); }
.cards-grid .event-card:nth-child(2) .cupos { color: var(--ink); }

/* CARD 3 — Sesión Extraordinaria — Negro */
.cards-grid .event-card:nth-child(3) { background: #17181d; border-color: #000000; }
.cards-grid .event-card:nth-child(3)::before { background: var(--accent-orange); }
.cards-grid .event-card:nth-child(3) .badge { background: rgba(255,255,255,0.12); color: var(--white); }
.cards-grid .event-card:nth-child(3) h3 { color: var(--white); }
.cards-grid .event-card:nth-child(3) .date { color: var(--accent-orange); }
.cards-grid .event-card:nth-child(3) p { color: #d6d8df; }
.cards-grid .event-card:nth-child(3) .highlights li { color: #c4c7d0; }
.cards-grid .event-card:nth-child(3) .highlights li::before { color: var(--accent-orange); }
.cards-grid .event-card:nth-child(3) .cupos { color: #ffffff; }

.event-card .badge {
  display: inline-flex;
  align-items: center;
  background: var(--ink);
  color: var(--white);
  padding: 0.4rem 0.75rem;
  border-radius: 3px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  width: fit-content;
  margin-bottom: 1.2rem;
  text-transform: uppercase;
}
.event-card h3 {
  color: var(--ink);
  font-size: 1.4rem;
  margin-bottom: 0.6rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.event-card .date {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  margin-bottom: 1rem;
}
.event-card p { font-size: 0.94rem; line-height: 1.6; margin-bottom: 1rem; }
.event-card .highlights { list-style: none; margin: 1rem 0; padding: 0; }
.event-card .highlights li {
  padding: 0.45rem 0;
  padding-left: 1.5rem;
  position: relative;
  font-size: 0.9rem;
}
.event-card .highlights li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.85rem;
  width: 8px; height: 2px;
  background: var(--accent-green);
}
.event-card .cupos {
  margin: 1.2rem 0;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.event-card .btn-more {
  align-self: stretch;
  background: var(--accent-orange);
  color: var(--white);
  border: none;
  padding: 0.85rem 1.5rem;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.25s ease;
  margin-top: auto;
}
.event-card .btn-more:hover { background: #dd7420; }

/* Botón detalle genérico */
.btn-card-detail {
  background: var(--accent-orange);
  color: var(--white);
  border: none;
  padding: 0.8rem 1.5rem;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.25s ease;
  margin-top: 1.5rem;
  width: 100%;
}
.btn-card-detail:hover { background: #dd7420; color: var(--white); }

/* ============================================================
   MODALES  (estructura conservada)
   ============================================================ */
.modal-content { border: none; box-shadow: 0 24px 60px rgba(33,36,59,0.25); border-radius: 8px; overflow: hidden; }
.modal-close-top {
  position: absolute; top: 1.5rem; right: 1.5rem; z-index: 10;
  background: var(--white); border: none;
  width: 46px; height: 46px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%; cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  padding: 0;
}
.modal-close-top::after { content: '\00D7'; font-size: 1.8rem; color: var(--ink); font-weight: 300; line-height: 1; }
.modal-close-top:hover { transform: scale(1.1); box-shadow: 0 6px 16px rgba(0,0,0,0.2); }
.modal-image-section .btn-close { display: none; }
.modal-image-section { position: relative; overflow: hidden; height: 340px; }
.modal-featured-image { width: 100%; height: 100%; object-fit: cover; }
.modal-image-overlay {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(33,36,59,0.92) 60%, rgba(33,36,59,0.97) 100%);
  padding: 3rem 2rem 1.8rem;
  color: var(--white);
}
.modal-image-overlay .modal-title { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; margin: 0; line-height: 1.2; letter-spacing: -0.02em; }
.modal-body { padding: 2.5rem; background: var(--white); }
.modal-info-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem; margin-bottom: 2.5rem; padding-bottom: 2rem;
  border-bottom: 1px solid var(--line);
}
.info-item { display: flex; flex-direction: column; }
.info-label {
  font-family: var(--font-mono);
  font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--text-muted); font-weight: 500; margin-bottom: 0.4rem;
}
.info-value { font-size: 1rem; font-weight: 600; color: var(--ink); }
.modal-section { margin-bottom: 2rem; }
.modal-section h6 { color: var(--ink); font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; margin-bottom: 1rem; }
.modal-section-warning {
  background: var(--paper-2);
  padding: 1.25rem; border-radius: 4px;
  border-left: 3px solid var(--accent-orange);
}
.modal-section-warning h6 { margin-top: 0; }
.modal-list { list-style: none; padding: 0; margin: 0; }
.modal-list li { padding: 0.55rem 0; padding-left: 1.5rem; position: relative; font-size: 0.95rem; line-height: 1.6; color: var(--text-muted); }
.modal-list li::before { content: ''; position: absolute; left: 0; top: 0.95rem; width: 8px; height: 2px; background: var(--accent-green); }
.modal-list-compact li { padding: 0.4rem 0; padding-left: 1.5rem; font-size: 0.9rem; }
.modal-text { color: var(--text-muted); line-height: 1.7; margin: 0; }
.modal-schedule { display: flex; flex-direction: column; gap: 1.5rem; }
.schedule-day { padding: 1rem; background: var(--paper-2); border-left: 3px solid var(--accent-green); border-radius: 4px; }
.schedule-day strong { display: block; color: var(--ink); font-size: 0.95rem; margin-bottom: 0.3rem; }
.schedule-day em { display: block; color: var(--text-muted); font-size: 0.85rem; margin-bottom: 0.7rem; font-style: italic; }
.modal-footer { border-top: 1px solid var(--line); padding: 1.5rem; display: flex; gap: 1rem; background: var(--paper-2); }
.btn-modal-secondary {
  background: var(--white); color: var(--text-dark);
  border: 1px solid var(--line);
  padding: 0.75rem 1.5rem; border-radius: 4px;
  font-family: var(--font-mono); font-weight: 500; font-size: 0.78rem;
  letter-spacing: 0.08em; text-transform: uppercase;
  cursor: pointer; transition: all 0.25s ease;
}
.btn-modal-secondary:hover { border-color: var(--text-muted); }
.btn-inscribir {
  background: var(--accent-green); color: var(--white); border: none;
  padding: 0.75rem 1.5rem; border-radius: 4px;
  font-family: var(--font-mono); font-weight: 600; font-size: 0.78rem;
  letter-spacing: 0.08em; text-transform: uppercase;
  cursor: pointer; flex: 1; transition: all 0.25s ease;
}
.btn-inscribir:hover { background: #1f9d84; transform: translateY(-2px); }

/* ============================================================
   INFORMACIÓN IMPORTANTE
   ============================================================ */
.info-section { max-width: 1180px; margin: 0 auto; padding: 3.5rem 1.5rem; }
.info-box {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent-orange);
  border-radius: 4px;
  padding: 2rem 2.2rem;
}
.info-content { display: flex; flex-direction: column; gap: 0.8rem; }
.info-content p { color: var(--text-dark); font-size: 0.94rem; line-height: 1.65; margin: 0; }
.info-content strong { color: var(--ink); font-weight: 600; }

/* ============================================================
   FORMULARIO
   ============================================================ */
.form-section {
  max-width: 900px; margin: 0 auto 5rem;
  padding: 3rem 3rem 3.5rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 24px 60px rgba(33,36,59,0.06);
}
.form-section .small-text { text-align: center; color: var(--text-muted); margin-bottom: 2rem; font-size: 0.95rem; }
.form-group { margin-bottom: 1.5rem; }
.form-group label {
  display: block;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 0.6rem;
}
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 0.9rem 1rem;
  border: 1px solid var(--line);
  border-radius: 4px;
  font-size: 0.95rem;
  font-family: var(--font-body);
  background: var(--paper);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--accent-orange);
  box-shadow: 0 0 0 3px rgba(241,134,53,0.12);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.hint { font-size: 0.8rem; color: var(--text-muted); margin-top: 0.4rem; }
.form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.5rem; margin-bottom: 1.5rem; }
.form-group.full { grid-column: 1 / -1; }

.checkbox-group, .radio-group { display: flex; flex-direction: column; gap: 0.8rem; margin-top: 0.8rem; }
.checkbox-item, .radio-item {
  display: flex; align-items: flex-start; gap: 0.8rem;
  padding: 0.9rem 1rem;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 4px; cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.checkbox-item:hover, .radio-item:hover { border-color: var(--accent-orange); background: var(--paper); }
.checkbox-item input, .radio-item input {
  width: 20px !important; height: 20px !important; min-width: 20px !important;
  cursor: pointer !important; margin-top: 2px !important; margin-right: 0 !important;
  accent-color: var(--accent-orange); flex-shrink: 0; position: relative; z-index: 10;
}
.checkbox-item label, .radio-item label { flex: 1; cursor: pointer; margin-bottom: 0; font-weight: 500; color: var(--text-dark); }
.checkbox-item .description, .radio-item .description { display: block; font-size: 0.85rem; color: var(--text-muted); margin-top: 0.3rem; }

.horarios-container {
  background: var(--paper-2);
  padding: 1.2rem; border-radius: 4px;
  border-left: 3px solid var(--accent-green);
  margin-top: 1rem; display: none;
}
.horarios-container.show { display: block; }
.horarios-container h5 { color: var(--ink); font-weight: 600; margin-bottom: 1rem; font-size: 0.95rem; }

.btn-submit {
  width: 100%; padding: 1.1rem;
  background: var(--ink);
  color: var(--white); border: none;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.25s ease;
  margin-top: 1rem;
}
.btn-submit:hover { background: var(--primary-blue); transform: translateY(-2px); box-shadow: 0 12px 28px rgba(33,36,59,0.2); }
.btn-submit:disabled { opacity: 0.6; cursor: not-allowed; }

.form-message { grid-column: 1 / -1; padding: 1.2rem; border-radius: 4px; margin-bottom: 1rem; display: none; }
.form-message.show { display: block; }
.form-message.success { background: #D1FAE5; border: 1px solid #6EE7B7; color: #047857; }
.form-message.error { background: #FEE2E2; border: 1px solid #FECACA; color: #DC2626; }

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: var(--ink);
  color: rgba(255,255,255,0.85);
  padding: 3rem 2rem 2.5rem;
  text-align: center;
  border-top: 4px solid var(--accent-orange);
}
footer p { margin: 0.5rem 0; font-size: 0.92rem; }
footer a { color: var(--accent-orange); text-decoration: none; font-weight: 600; }
footer a:hover { text-decoration: underline; }

/* ============================================================
   INNOVATION LAB CARDS (formulario)
   ============================================================ */
/* Innovation Lab — selección agrupada por día/turno en columnas */
.innovation-lab-cards { margin-bottom: 1.5rem; }
.il-groups {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.8rem 1.4rem;
}
.il-group { display: flex; flex-direction: column; }
.il-group-title {
  display: flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink);
  padding-bottom: 0.7rem;
  margin-bottom: 0.9rem;
  border-bottom: 2px solid var(--line);
}
.il-group-title::before {
  content: '';
  width: 14px; height: 14px; flex-shrink: 0;
  background-color: var(--accent-orange);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4.5' width='18' height='17' rx='2'/%3E%3Cpath d='M3 9.5h18M8 2.5v4M16 2.5v4'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4.5' width='18' height='17' rx='2'/%3E%3Cpath d='M3 9.5h18M8 2.5v4M16 2.5v4'/%3E%3C/svg%3E") center / contain no-repeat;
}
.il-group-cards { display: flex; flex-direction: column; gap: 0.7rem; }

.il-card {
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0.9rem 1rem;
  cursor: pointer;
  background: var(--paper);
  position: relative;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.il-card:hover { border-color: var(--accent-orange); box-shadow: 0 6px 16px rgba(241, 134, 53, 0.1); }
.il-card:has(input[type="radio"]:checked) {
  border-color: var(--accent-green);
  background: rgba(38, 184, 154, 0.06);
  box-shadow: inset 0 0 0 1px var(--accent-green);
}
.il-card input[type="radio"] {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  margin: 0; opacity: 0; cursor: pointer; z-index: 5;
}
.il-card-content { position: relative; z-index: 1; padding-right: 1.8rem; }
.il-time {
  font-family: var(--font-display);
  font-size: 0.98rem; font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.il-badge {
  display: inline-block; margin-top: 0.5rem;
  background: var(--accent-green); color: #fff;
  padding: 0.22rem 0.5rem; border-radius: 3px;
  font-family: var(--font-mono); font-size: 0.6rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
}
.il-check {
  position: absolute; top: 50%; right: 0.85rem;
  transform: translateY(-50%);
  width: 22px; height: 22px;
  background: var(--accent-green);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; opacity: 0;
  transition: opacity 0.25s ease; z-index: 10;
}
.il-card input[type="radio"]:checked ~ .il-check { opacity: 1; }

@media (max-width: 600px) {
  .il-groups { grid-template-columns: 1fr; gap: 1.3rem; }
}

/* ============================================================
   LOS LABORATORIOS DEL FUTURO (bloque navy)
   ============================================================ */
.future-labs-section { background: var(--ink); padding: 5.5rem 0; }
.future-labs-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.5rem; }
.future-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);
  padding: 2rem 1.7rem;
  border-radius: 6px;
  text-align: left;
  transition: all 0.25s ease;
  counter-increment: fcard;
  position: relative;
}
.future-labs-grid { counter-reset: fcard; }
.future-card::after {
  content: counter(fcard, decimal-leading-zero);
  position: absolute; top: 1.3rem; right: 1.4rem;
  font-family: var(--font-mono); font-size: 0.75rem; color: var(--accent-orange);
}
.future-card:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.28); transform: translateY(-4px); }
.future-icon {
  width: 64px; height: 64px; margin: 0 0 1.3rem;
  border-radius: 6px; overflow: hidden;
  background: rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
}
.future-icon img { width: 100%; height: 100%; object-fit: cover; }
.future-card h3 { color: var(--white); font-size: 1.1rem; margin-bottom: 0.7rem; font-weight: 600; letter-spacing: -0.01em; }
.future-card p { color: rgba(255,255,255,0.72); font-size: 0.92rem; line-height: 1.6; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@keyframes scroll-logos { 0% { transform: translateX(0);} 100% { transform: translateX(-50%);} }

@media (max-width: 900px) {
  .intro-content-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}

@media (max-width: 768px) {
  .navbar-custom .navbar-toggler { display: block !important; }
  #navbarDesktop { display: none !important; }
  .navbar-custom .navbar-brand { left: 1rem; }
  .navbar-custom .navbar-toggler { right: 1rem; }
  .navbar-centered { flex-direction: column; gap: 0; }
  .navbar-custom .nav-link { padding: 0.9rem 1rem !important; margin: 0 !important; width: 100%; text-align: center; }
  .navbar-custom .nav-link::after { display: none; }

  .hero-cortina { display: none; }
  .hero { min-height: 500px; }
  .hero-content { padding: 2.5rem 1.3rem; }
  .hero-title-mobile { display: block !important; }
  .hero-title-desktop { display: none !important; }
  .hero .meta { gap: 1.5rem; }
  .hero-actions { width: 100%; }
  .btn-hero { flex: 1; justify-content: center; }

  .hero-expositores-desktop { display: none !important; }
  .hero-expositores-mobile { display: block !important; }
  .hero-expositores-mobile .expositores-logos {
    display: flex; flex-wrap: nowrap; gap: 0; overflow: hidden;
    padding: 0; width: 100%; align-items: center; position: relative; height: 50px;
  }
  .hero-expositores-mobile .expositores-logos::-webkit-scrollbar { display: none; }
  .hero-expositores-mobile .logo-item {
    height: 40px; width: 80px; min-width: 80px !important; flex-shrink: 0;
    animation: scroll-logos 4s linear infinite;
    display: flex; align-items: center; justify-content: center; padding: 0;
  }
  .hero-expositores-mobile .logo-item img { height: 34px; width: auto; max-width: 70px; object-fit: contain; opacity: 0.95; }

  .section-head { grid-template-columns: 1fr; row-gap: 0.3rem; }
  .section-head::before { grid-row: auto; padding-top: 0; }

  .security-pillars-section, .intro-section, .cards-section,
  .future-labs-section, .intro-content-section { padding: 3.5rem 0; }

  .pillars-grid, .event-types, .cards-grid, .future-labs-grid { grid-template-columns: 1fr; gap: 1.2rem; }
  .event-type-card .card-header { padding: 1.3rem; }
  .form-section { padding: 2rem 1.4rem; }
  .form-row { grid-template-columns: 1fr; }
  .modal-body { padding: 1.5rem; }
  .info-section { padding: 2.5rem 1.3rem; }
}

@media (max-width: 480px) {
  .navbar-logo { height: 34px; }
  .hero h1 { font-size: 2rem; }
  .form-section { padding: 1.5rem 1.1rem; }
}

/* ============================================================
   MEJORAS — v2.1
   ============================================================ */

/* Navegación suave con offset por navbar fija */
html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: 80px; }

/* --- Sección narrativa: eyebrow + lead + imagen alineada/sticky --- */
.intro-eyebrow {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent-green);
  margin-bottom: 0.2rem;
}
.intro-content-grid { align-items: start; }
.intro-text .lead {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text-dark);
}
.intro-text .lead strong { color: var(--ink); }
.intro-image {
  position: sticky;
  top: 96px;
  align-self: start;
}

/* --- Pilares: número fantasma que llena el espacio --- */
.pillar-card::before {
  content: counter(pillar, decimal-leading-zero);
  position: absolute;
  top: auto;
  bottom: 0.4rem;
  right: 1.1rem;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 3.6rem;
  line-height: 1;
  letter-spacing: -0.02em;
  color: rgba(58, 64, 98, 0.06);
  pointer-events: none;
}
.pillar-card:hover::before { color: rgba(241, 134, 53, 0.12); }

/* --- Info: panel de datos corporativo --- */
.info-box {
  display: grid;
  gap: 1.8rem;
  padding: 2.2rem 2.4rem;
  border-left: 1px solid var(--line);
}
.info-specs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
}
.spec {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding-left: 1rem;
  border-left: 2px solid var(--accent-orange);
}
.spec-key {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-green);
}
.spec-val {
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.35;
}
.info-note {
  border-top: 1px solid var(--line);
  padding-top: 1.6rem;
}
.info-note-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-orange);
  margin-bottom: 0.6rem;
}
.info-note p { color: var(--text-muted); font-size: 0.94rem; line-height: 1.7; margin: 0; }

/* --- Footer editorial --- */
footer { text-align: left; }
.footer-ruler {
  height: 12px;
  width: 100%;
  color: var(--accent-orange);
  background-image: repeating-linear-gradient(90deg, currentColor 0 2px, transparent 2px 13px);
  opacity: 0.85;
  margin-bottom: 2.6rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}
.footer-event {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  color: var(--white);
  margin: 0;
}
.footer-event span { color: var(--accent-orange); }
.footer-tag { font-size: 0.9rem; color: rgba(255, 255, 255, 0.6); margin: 0.4rem 0 0; }
.footer-col { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-key {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #7fe0cd;
  margin-bottom: 0.3rem;
}
.footer-col a, .footer-col span { color: rgba(255, 255, 255, 0.82); font-size: 0.92rem; text-decoration: none; font-weight: 500; }
.footer-col a:hover { color: var(--accent-orange); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.8rem;
  padding-top: 1.5rem;
}
.footer-bottom span { font-size: 0.8rem; color: rgba(255, 255, 255, 0.5); margin: 0; }
.footer-sign { font-family: var(--font-mono); letter-spacing: 0.12em; text-transform: uppercase; }

/* --- Reveal on scroll --- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.pillars-grid .pillar-card:nth-child(2).reveal { transition-delay: 0.07s; }
.pillars-grid .pillar-card:nth-child(3).reveal { transition-delay: 0.14s; }
.pillars-grid .pillar-card:nth-child(4).reveal { transition-delay: 0.21s; }
.event-types .event-type-card:nth-child(2).reveal { transition-delay: 0.07s; }
.event-types .event-type-card:nth-child(3).reveal { transition-delay: 0.14s; }
.cards-grid .event-card:nth-child(2).reveal { transition-delay: 0.07s; }
.cards-grid .event-card:nth-child(3).reveal { transition-delay: 0.14s; }
.future-labs-grid .future-card:nth-child(2).reveal { transition-delay: 0.07s; }
.future-labs-grid .future-card:nth-child(3).reveal { transition-delay: 0.14s; }
.future-labs-grid .future-card:nth-child(4).reveal { transition-delay: 0.21s; }

@media (max-width: 768px) {
  .info-specs { grid-template-columns: 1fr; gap: 1.2rem; }
  .info-box { padding: 1.8rem 1.6rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.8rem; }
  .footer-bottom { justify-content: flex-start; }
  .intro-image { position: static; }
  footer { text-align: left; }
}

/* ============================================================
   MEJORAS — v2.2 (íconos vectoriales, logos 1 línea, botones al fondo)
   ============================================================ */

/* Íconos vectoriales — Pilares */
.pillar-icon {
  width: 54px; height: 54px;
  margin: 0 0 1.4rem;
  border-radius: 8px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  color: var(--primary-blue);
  overflow: visible;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.pillar-icon svg { width: 26px; height: 26px; }
.pillar-card:hover .pillar-icon {
  background: rgba(241, 134, 53, 0.12);
  border-color: rgba(241, 134, 53, 0.35);
  color: var(--accent-orange);
}

/* Íconos vectoriales — Laboratorios del Futuro (sobre navy) */
.future-icon {
  width: 54px; height: 54px;
  margin: 0 0 1.3rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  display: flex; align-items: center; justify-content: center;
  color: #7fe0cd;
  overflow: visible;
  transition: background 0.25s ease, color 0.25s ease;
}
.future-icon svg { width: 26px; height: 26px; }
.future-card:hover .future-icon { background: rgba(38, 184, 154, 0.18); color: #ffffff; }

/* Bloque de expositores: mención especial + partners en dos columnas */
.hero-expositores-desktop {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.expositores-featured {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.6rem;
  padding-right: 2rem;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
  flex-shrink: 0;
}
.featured-badge {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-orange);
  border: 1px solid rgba(241, 134, 53, 0.55);
  border-radius: 3px;
  padding: 0.18rem 0.5rem;
  white-space: nowrap;
}
.featured-logo {
  height: 32px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.95;
}
.expositores-partners { flex: 1; min-width: 0; }

/* Los 6 logos partner en una sola línea */
.hero-expositores-desktop .expositores-logos {
  flex-wrap: nowrap;
  justify-content: space-between;
  gap: 1.4rem;
  margin-top: 0;
}
.hero-expositores-desktop .logo-item { height: 24px; flex: 0 1 auto; min-width: 0; }
.hero-expositores-desktop .logo-item img { height: 100%; width: auto; max-width: 100%; }

/* Waldner en blanco dentro del carrusel móvil */
.hero-expositores-mobile .logo-item--featured .featured-logo {
  height: 32px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.95;
}

/* Botón "Ver más detalle" fijado al fondo (alineado entre tarjetas) */
.event-type-card .card-content { display: flex; flex-direction: column; flex: 1; }
.event-type-card .card-content .topics-list { margin-bottom: 1.5rem; }
.event-type-card .card-content .btn-card-detail { margin-top: auto; }

/* ============================================================
   MEJORAS — v2.3 (íconos en sesiones + carrusel móvil)
   ============================================================ */

/* Íconos vectoriales dentro de las tarjetas de sesión */
.event-card .badge { gap: 0.45rem; }
.event-card .badge::before {
  content: '';
  width: 12px; height: 12px; flex-shrink: 0;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4.5' width='18' height='17' rx='2'/%3E%3Cpath d='M3 9.5h18M8 2.5v4M16 2.5v4'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4.5' width='18' height='17' rx='2'/%3E%3Cpath d='M3 9.5h18M8 2.5v4M16 2.5v4'/%3E%3C/svg%3E") center / contain no-repeat;
}

.event-card .date { display: inline-flex; align-items: center; gap: 0.5rem; }
.event-card .date::before {
  content: '';
  width: 15px; height: 15px; flex-shrink: 0;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7.5V12l3 2'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7.5V12l3 2'/%3E%3C/svg%3E") center / contain no-repeat;
}

.event-card .cupos { display: inline-flex; align-items: center; gap: 0.5rem; }
.event-card .cupos::before {
  content: '';
  width: 15px; height: 15px; flex-shrink: 0;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='8' r='3'/%3E%3Cpath d='M3.5 20a5.5 5.5 0 0 1 11 0'/%3E%3Cpath d='M15.5 5.6a3 3 0 0 1 0 5.8'/%3E%3Cpath d='M18.5 20a5.5 5.5 0 0 0-3-4.9'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='8' r='3'/%3E%3Cpath d='M3.5 20a5.5 5.5 0 0 1 11 0'/%3E%3Cpath d='M15.5 5.6a3 3 0 0 1 0 5.8'/%3E%3Cpath d='M18.5 20a5.5 5.5 0 0 0-3-4.9'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Highlights con check-circle en color de acento por tarjeta */
.event-card .highlights li { padding-left: 1.75rem; }
.event-card .highlights li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.35rem;
  width: 16px; height: 16px;
  background: none;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M8.5 12.5l2.5 2.5 4.5-5'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M8.5 12.5l2.5 2.5 4.5-5'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Indicador de deslizamiento (solo móvil) */
.swipe-cue { display: none; }

@media (max-width: 768px) {
  /* Carrusel horizontal para grillas con varias tarjetas */
  .pillars-grid,
  .event-types,
  .cards-grid,
  .future-labs-grid {
    display: flex;
    grid-template-columns: none;
    overflow-x: auto;
    overflow-y: visible;
    scroll-snap-type: x mandatory;
    gap: 1rem;
    margin-inline: -1.5rem;
    padding: 0.4rem 1.5rem 0.75rem;
    scroll-padding-left: 1.5rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .pillars-grid::-webkit-scrollbar,
  .event-types::-webkit-scrollbar,
  .cards-grid::-webkit-scrollbar,
  .future-labs-grid::-webkit-scrollbar { display: none; }

  .pillars-grid > *,
  .event-types > *,
  .cards-grid > *,
  .future-labs-grid > * {
    flex: 0 0 84%;
    scroll-snap-align: start;
  }

  .swipe-cue {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    margin-top: 1rem;
    font-family: var(--font-mono);
    font-size: 0.66rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-muted);
    transition: opacity 0.4s ease;
  }
  .future-labs-section .swipe-cue { color: rgba(255, 255, 255, 0.55); }
  .swipe-cue.hide { opacity: 0; pointer-events: none; }
  .swipe-cue svg { width: 26px; height: 12px; color: var(--accent-orange); animation: swipeCue 1.5s ease-in-out infinite; }
  @keyframes swipeCue { 0%, 100% { transform: translateX(-4px); } 50% { transform: translateX(4px); } }
}

/* ============================================================
   WIZARD — formulario en cascada con resumen
   ============================================================ */
.wizard { display: flex; flex-direction: column; gap: 0.85rem; }
.wizard-progress { display: flex; gap: 0.4rem; margin-bottom: 0.4rem; }
.wp-dot { flex: 1; height: 4px; border-radius: 2px; background: var(--line); transition: background 0.3s ease; }
.wp-dot.done { background: var(--accent-green); }
.wp-dot.active { background: var(--accent-orange); }

.wstep {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.wstep.is-locked { display: none; }
.wstep.is-active { border-color: var(--accent-orange); box-shadow: 0 8px 24px rgba(33, 36, 59, 0.06); }

.wstep-head {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.95rem 1.15rem;
}
.wstep.is-done .wstep-head { cursor: pointer; }
.wstep.is-done .wstep-head:hover { background: var(--paper-2); border-radius: 8px; }

.wstep-status {
  flex-shrink: 0;
  width: 22px; height: 22px;
  border-radius: 50%;
  border: 2px solid var(--line);
  background: var(--paper);
  display: flex; align-items: center; justify-content: center;
}
.wstep.is-active .wstep-status { border-color: var(--accent-orange); }
.wstep.is-active .wstep-status::after {
  content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--accent-orange);
}
.wstep.is-done .wstep-status { border-color: var(--accent-green); background: var(--accent-green); }
.wstep.is-done .wstep-status::after {
  content: '';
  width: 11px; height: 11px;
  background: #fff;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
}

.wstep-index {
  flex-shrink: 0;
  font-family: var(--font-mono);
  font-size: 0.7rem; font-weight: 600;
  color: var(--text-muted);
}
.wstep.is-active .wstep-index { color: var(--accent-orange); }
.wstep-title {
  font-family: var(--font-mono);
  font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink);
}
.wstep-summary {
  margin-left: auto;
  text-align: right;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-dark);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  max-width: 55%;
}
.wstep.is-active .wstep-summary { display: none; }
.wstep-edit {
  margin-left: 0.7rem;
  flex-shrink: 0;
  background: none; border: none; cursor: pointer;
  color: var(--accent-orange);
  font-family: var(--font-mono);
  font-size: 0.64rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
}
.wstep:not(.is-done) .wstep-edit { display: none; }

.wstep-body { padding: 0 1.15rem 1.2rem; }
.wstep:not(.is-active) .wstep-body { display: none; }
/* quita el margen inferior extra del ultimo campo dentro de cada paso */
.wstep-body > .form-group:last-child { margin-bottom: 0; }

/* ============================================================
   WHATSAPP FLOTANTE
   ============================================================ */
.wa-float {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 1000;
  display: flex;
  align-items: center;
  text-decoration: none;
}
.wa-float-label {
  max-width: 0;
  opacity: 0;
  overflow: hidden;
  white-space: nowrap;
  background: var(--ink);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  height: 44px;
  line-height: 44px;
  padding: 0;
  margin-right: 0;
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
  transition: max-width 0.35s ease, opacity 0.3s ease, padding 0.35s ease, margin 0.35s ease;
}
.wa-float:hover .wa-float-label,
.wa-float:focus-visible .wa-float-label {
  max-width: 240px;
  opacity: 1;
  padding: 0 1.15rem;
  margin-right: 0.7rem;
}
.wa-float-icon {
  position: relative;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(145deg, #29d366 0%, #128c7e 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 26px rgba(18, 140, 126, 0.42), 0 3px 8px rgba(0, 0, 0, 0.22);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.wa-float-icon svg { width: 32px; height: 32px; position: relative; z-index: 2; }
.wa-float-icon::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(41, 211, 102, 0.5);
  animation: waPulse 2.4s ease-out infinite;
}
.wa-float:hover .wa-float-icon,
.wa-float:focus-visible .wa-float-icon {
  transform: scale(1.07);
  box-shadow: 0 14px 32px rgba(18, 140, 126, 0.5), 0 4px 10px rgba(0, 0, 0, 0.28);
}
.wa-float:focus-visible { outline: none; }
.wa-float:focus-visible .wa-float-icon { outline: 3px solid rgba(41, 211, 102, 0.45); outline-offset: 3px; }
@keyframes waPulse {
  0% { box-shadow: 0 0 0 0 rgba(41, 211, 102, 0.45); }
  70% { box-shadow: 0 0 0 16px rgba(41, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(41, 211, 102, 0); }
}

@media (max-width: 768px) {
  .wa-float { right: 1rem; bottom: 1rem; }
  .wa-float-icon { width: 52px; height: 52px; }
  .wa-float-icon svg { width: 29px; height: 29px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .swipe-cue svg { animation: none !important; }
  .wa-float-icon::before { animation: none !important; }
}
