/* estilos-portada.css — Tema AWS re:Invent 2026 + Animaciones + Mobile-First */

:root,
[data-tema="oscuro"] {
  --bg: #05060a;
  --bg-alt: #0b0e16;
  --bg-alt-glass: rgba(11, 14, 22, 0.56);
  --surface: rgba(16, 20, 32, 0.84);
  --surface-solid: #101420;
  --surface-hover: rgba(23, 30, 48, 0.94);
  --border: #232a3d;
  --border-strong: #334155;
  --text: #f8fafc;
  --text-muted: #94a3b8;
  --purple: #b052ff;
  --purple-deep: #7c3aed;
  --cyan: #00c2ff;
  --blue: #0578ff;
  --green: #6ee750;
  --orange: #ff6200;
  --pink: #ff4d8b;
  --shadow: 0 18px 45px rgba(0, 0, 0, 0.45);
  --spotlight: rgba(176, 82, 255, 0.14);
}

[data-tema="claro"] {
  --bg: #ffffff;
  --bg-alt: #f8fafc;
  --bg-alt-glass: rgba(241, 245, 249, 0.58);
  --surface: rgba(255, 255, 255, 0.86);
  --surface-solid: #ffffff;
  --surface-hover: rgba(241, 245, 249, 0.96);
  --border: #e2e8f0;
  --border-strong: #cbd5e1;
  --text: #0f172a;
  --text-muted: #475569;
  --purple: #7c3aed;
  --purple-deep: #6d28d9;
  --cyan: #0284c7;
  --blue: #0578ff;
  --green: #16a34a;
  --orange: #ea580c;
  --pink: #db2777;
  --shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
  --spotlight: rgba(124, 58, 237, 0.08);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  min-height: 100vh;
  overflow-x: clip;
  -webkit-tap-highlight-color: transparent;
  transition: background-color 0.2s ease, color 0.2s ease;
}

code {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.86em;
  background: rgba(176, 82, 255, 0.14);
  color: var(--purple);
  padding: 2px 7px;
  border-radius: 5px;
  word-break: break-word;
}

/* Micro-interacciones (Emil Kowalski spring curve) */
.spring-press {
  transition: transform 140ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 180ms ease, filter 180ms ease, border-color 180ms ease;
}
.spring-press:active { transform: scale(0.97) !important; }

@keyframes float-gentle {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-7px); }
}
.float-gentle { animation: float-gentle 6.5s ease-in-out infinite; }

@keyframes pulse-live {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.55; transform: scale(1.28); }
}
@keyframes orb-drift {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(24px, -18px, 0) scale(1.08); }
}
@keyframes spark-pop {
  0% { opacity: 1; transform: translate(-50%, -50%) scale(0.3); }
  100% { opacity: 0; transform: translate(var(--dx), var(--dy)) scale(1); }
}
.click-spark {
  position: fixed;
  width: 6px; height: 6px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  animation: spark-pop 480ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Scroll reveal seguro (solo oculta elementos estrictamente bajo el viewport) */
@keyframes hero-enter {
  from { opacity: 0.01; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-enter {
  animation: hero-enter 480ms cubic-bezier(0.16, 1, 0.3, 1) both;
}
.reveal {
  transition: opacity 480ms cubic-bezier(0.16, 1, 0.3, 1), transform 480ms cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.will-reveal {
  opacity: 0;
  transform: translateY(18px);
}
.reveal.will-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.spectrum-bar {
  height: 4px;
  width: 100%;
  background: linear-gradient(90deg, #ff4d8b 0%, #b052ff 25%, #0578ff 50%, #6ee750 75%, #ff6200 100%);
  position: sticky;
  top: 0;
  z-index: 60;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* NAVBAR + MOBILE DRAWER */
.navbar {
  position: sticky;
  top: 4px;
  z-index: 50;
  background: rgba(5, 6, 10, 0.86);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
[data-tema="claro"] .navbar { background: rgba(255, 255, 255, 0.92); }
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text);
  min-width: 0;
}
.brand-emblem { height: 40px; width: auto; display: block; border-radius: 4px; flex-shrink: 0; }
[data-tema="oscuro"] .brand-light { display: none; }
[data-tema="claro"] .brand-dark { display: none; }
.brand-copy { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.brand-kicker {
  font-family: "JetBrains Mono", monospace;
  font-size: 10.5px;
  color: var(--purple);
  letter-spacing: 0.06em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.brand-copy strong { font-size: 15px; font-weight: 800; white-space: nowrap; }

.nav-links { display: flex; gap: 24px; }
.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--text); }

.nav-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.btn-nav-gh, .btn-tema {
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  min-height: 40px;
  padding: 8px 14px;
  border-radius: 9px;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--text);
  text-decoration: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.btn-nav-gh:hover, .btn-tema:hover { border-color: var(--purple); background: var(--surface-hover); }

.btn-menu {
  display: none;
  width: 44px; height: 44px;
  border-radius: 10px;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.hamburger-bars { display: flex; flex-direction: column; gap: 5px; width: 20px; }
.hamburger-bars span { display: block; height: 2px; width: 100%; background: var(--text); border-radius: 2px; transition: transform 0.2s, opacity 0.2s; }
.btn-menu[aria-expanded="true"] .hamburger-bars span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.btn-menu[aria-expanded="true"] .hamburger-bars span:nth-child(2) { opacity: 0; }
.btn-menu[aria-expanded="true"] .hamburger-bars span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-drawer {
  border-top: 1px solid var(--border);
  background: var(--bg-alt);
  padding: 12px 20px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.mobile-drawer[hidden] { display: none; }
.drawer-link {
  display: flex;
  align-items: center;
  min-height: 46px;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}
.drawer-link:active { border-color: var(--purple); }
.drawer-gh { color: var(--cyan); border-color: rgba(0, 194, 255, 0.35); }

/* HERO + FONDO PERSISTENTE DE PARTÍCULAS Y ORBES EN TODO EL SITIO */
main, .footer {
  position: relative;
  z-index: 1;
}
.hero {
  position: relative;
  overflow: hidden;
  padding: 58px 0 68px;
  border-bottom: 1px solid var(--border);
}
.particles-canvas {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  opacity: 0.92;
}
.ambient-orbs {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}
.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(115px);
  pointer-events: none;
  opacity: 0.2;
  z-index: 0;
  animation: orb-drift 14s ease-in-out infinite;
}
[data-tema="claro"] .hero-glow { opacity: 0.1; }
.hero-glow-1 { width: 460px; height: 460px; background: #b052ff; top: -140px; left: -120px; }
.hero-glow-2 { width: 420px; height: 420px; background: #0578ff; bottom: -160px; right: -80px; animation-delay: -5s; }
.hero-glow-3 { width: 340px; height: 340px; background: #00c2ff; top: 45%; left: 55%; opacity: 0.12; animation-delay: -9s; }

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 44px;
  align-items: center;
}
.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(176, 82, 255, 0.14);
  border: 1px solid rgba(176, 82, 255, 0.45);
  color: var(--purple);
  margin-bottom: 20px;
  max-width: 100%;
}
.dot-live {
  width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0;
  background: #6ee750;
  box-shadow: 0 0 10px #6ee750;
  animation: pulse-live 2s ease-in-out infinite;
}
.hero-title {
  font-size: clamp(2.15rem, 5.2vw, 3.75rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
}
.hero-gradient {
  background: linear-gradient(90deg, #b052ff 0%, #00c2ff 55%, #6ee750 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
[data-tema="claro"] .hero-gradient {
  background: linear-gradient(90deg, #7c3aed 0%, #0578ff 60%, #0284c7 100%);
  -webkit-background-clip: text;
  background-clip: text;
}
.hero-lead {
  font-size: 16.5px;
  color: var(--text-muted);
  margin-top: 18px;
  max-width: 600px;
}
.hero-lead strong { color: var(--text); }

/* COUNTDOWN */
.countdown-bar {
  margin-top: 22px;
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  padding: 10px 16px;
  border-radius: 14px;
  background: rgba(16, 20, 32, 0.78);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-strong);
}
[data-tema="claro"] .countdown-bar { background: rgba(255, 255, 255, 0.88); }
.cd-label {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--cyan);
}
.cd-units { display: flex; gap: 8px; }
.cd-box {
  min-width: 54px;
  padding: 5px 8px;
  border-radius: 8px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  text-align: center;
  line-height: 1.1;
}
.cd-box strong {
  display: block;
  font-family: "JetBrains Mono", monospace;
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
}
.cd-box span {
  font-family: "JetBrains Mono", monospace;
  font-size: 9.5px;
  color: var(--text-muted);
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}
.btn-primary, .btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 24px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}
.btn-primary {
  background: linear-gradient(90deg, #b052ff, #7c3aed);
  color: #ffffff;
  border: 1px solid transparent;
  box-shadow: 0 6px 24px rgba(176, 82, 255, 0.35);
}
.btn-primary:hover { transform: translateY(-2px); filter: brightness(1.08); }
.btn-secondary {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border-strong);
}
.btn-secondary:hover { border-color: var(--cyan); transform: translateY(-2px); }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
}
.stat-item strong { display: block; font-size: 21px; font-weight: 800; color: var(--text); }
.stat-item span { font-size: 12px; color: var(--text-muted); }

.hero-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.mosaic-frame {
  width: 100%;
  max-width: 400px;
  background: #000000;
  border-radius: 20px;
  padding: 12px;
  border: 1.5px solid var(--border-strong);
  box-shadow: var(--shadow);
}
.mosaic-frame img { width: 100%; height: auto; display: block; border-radius: 12px; }
.hero-host-chip {
  width: 100%;
  max-width: 400px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
}
.hero-host-chip img { width: 40px; height: 40px; object-fit: contain; flex-shrink: 0; }
.hero-host-chip strong { display: block; font-size: 13px; }
.hero-host-chip span { font-size: 12px; color: var(--text-muted); }

/* SECCIONES */
.section { padding: 64px 0; position: relative; scroll-margin-top: 76px; }
.section-alt {
  background: var(--bg-alt-glass);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.section-kicker {
  display: inline-block;
  font-family: "JetBrains Mono", monospace;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--purple);
  margin-bottom: 8px;
}
.section-head h2 {
  font-size: clamp(1.6rem, 3.2vw, 2.3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.section-sub { color: var(--text-muted); font-size: 15px; margin-top: 8px; max-width: 680px; }

.count-pill {
  font-family: "JetBrains Mono", monospace;
  font-size: 12.5px;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  color: var(--cyan);
}

/* TOOLBAR BUSCADOR Y FILTROS (MOBILE-FRIENDLY) */
.toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}
.search-box {
  flex: 1 1 300px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--surface);
  border: 1.5px solid var(--border-strong);
  border-radius: 12px;
  padding: 2px 14px;
  min-height: 48px;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.search-box:focus-within {
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(176, 82, 255, 0.18);
}
.search-icon {
  font-family: "JetBrains Mono", monospace;
  font-weight: 700;
  color: var(--purple);
  font-size: 16px;
}
.search-box input {
  width: 100%;
  border: none;
  background: transparent;
  color: var(--text);
  font-family: inherit;
  font-size: 16px; /* evita zoom automático en iOS Safari */
  padding: 10px 4px;
  outline: none;
}

.filter-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.filter-btn {
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 700;
  min-height: 44px;
  padding: 10px 15px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-muted);
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
}
.filter-btn:hover { color: var(--text); border-color: var(--border-strong); }
.filter-btn.active {
  background: var(--purple-deep);
  color: #ffffff;
  border-color: var(--purple);
}

/* TARJETAS CON SPOTLIGHT GLOW */
.grid-participantes {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(272px, 1fr));
  gap: 16px;
}
.tarjeta {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 13px;
  position: relative;
  overflow: hidden;
  transition: transform 220ms cubic-bezier(0.16, 1, 0.3, 1), border-color 220ms ease, box-shadow 220ms ease;
}
.tarjeta::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; height: 4px;
  background: var(--green);
  z-index: 2;
}
.tarjeta::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(320px circle at var(--mx, -200px) var(--my, -200px), var(--spotlight), transparent 65%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 240ms ease;
  z-index: 1;
}
.tarjeta:hover::after { opacity: 1; }
.tarjeta > * { position: relative; z-index: 2; }

.tarjeta.tipo-organizador::before { background: linear-gradient(90deg, #b052ff, #ff4d8b); }
.tarjeta.tipo-speaker::before     { background: linear-gradient(90deg, #00c2ff, #b052ff); }
.tarjeta.tipo-lider::before       { background: linear-gradient(90deg, #ff6200, #ff4d8b); }

.tarjeta:hover {
  transform: translateY(-3px);
  border-color: var(--purple);
  box-shadow: var(--shadow);
}

.tarjeta-header { display: flex; align-items: center; gap: 13px; }
.tarjeta-foto {
  width: 56px; height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border-strong);
  flex-shrink: 0;
  background: #0f172a;
}
.tarjeta-avatar {
  width: 56px; height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "JetBrains Mono", monospace;
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  flex-shrink: 0;
  border: 2px solid rgba(255, 255, 255, 0.22);
}
.tarjeta-info { min-width: 0; }
.tarjeta-info h3 { font-size: 16px; font-weight: 700; line-height: 1.25; color: var(--text); }
.tarjeta-badge {
  display: inline-block;
  margin-top: 5px;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 5px;
  background: rgba(110, 231, 80, 0.14);
  color: var(--green);
}
.tipo-organizador .tarjeta-badge { background: rgba(176, 82, 255, 0.16); color: var(--purple); }
.tipo-speaker .tarjeta-badge     { background: rgba(0, 194, 255, 0.16); color: var(--cyan); }
.tipo-lider .tarjeta-badge       { background: rgba(255, 98, 0, 0.16); color: var(--orange); }

.tarjeta-descripcion { font-size: 13.5px; color: var(--text-muted); flex-grow: 1; }

.folder-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 6px 8px 6px 11px;
  border-radius: 9px;
  background: var(--bg-alt);
  border: 1px dashed var(--border-strong);
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  color: var(--text-muted);
}
.folder-bar span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.btn-copy-folder {
  background: var(--surface);
  border: 1px solid var(--border-strong);
  color: var(--text);
  font-family: "JetBrains Mono", monospace;
  font-size: 11.5px;
  font-weight: 700;
  min-height: 34px;
  padding: 4px 10px;
  border-radius: 6px;
  cursor: pointer;
  flex-shrink: 0;
}
.btn-copy-folder:hover { border-color: var(--cyan); color: var(--cyan); }

.tarjeta-enlace {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--surface-hover);
  border: 1px solid var(--border-strong);
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.tarjeta-enlace:hover {
  background: var(--purple-deep);
  border-color: var(--purple);
  color: #ffffff;
}

.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 40px 20px;
  border: 1.5px dashed var(--border-strong);
  border-radius: 16px;
  color: var(--text-muted);
}

/* AGENDA */
.agenda-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.agenda-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px;
  border-top: 4px solid var(--purple);
  transition: transform 220ms cubic-bezier(0.16, 1, 0.3, 1), border-color 220ms ease, box-shadow 220ms ease;
}
.agenda-card:hover {
  transform: translateY(-4px);
  border-color: var(--purple);
  box-shadow: var(--shadow);
}
.agenda-card.accent-cyan   { border-top-color: #00c2ff; }
.agenda-card.accent-blue   { border-top-color: #0578ff; }
.agenda-card.accent-purple { border-top-color: #b052ff; }
.agenda-card.accent-orange { border-top-color: #ff6200; }
.agenda-card.accent-green  { border-top-color: #6ee750; }
.agenda-card.accent-pink   { border-top-color: #ff4d8b; }
.agenda-time {
  font-family: "JetBrains Mono", monospace;
  font-size: 13px;
  font-weight: 700;
  color: var(--purple);
}
.agenda-card h3 { font-size: 16.5px; font-weight: 700; margin: 8px 0; }
.agenda-card p { font-size: 14px; color: var(--text-muted); }

/* GUÍA 4 PASOS */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.step-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px;
  transition: transform 220ms cubic-bezier(0.16, 1, 0.3, 1), border-color 220ms ease, box-shadow 220ms ease;
}
.step-card:hover {
  transform: translateY(-4px);
  border-color: var(--cyan);
  box-shadow: var(--shadow);
}
.step-num {
  display: inline-block;
  font-family: "JetBrains Mono", monospace;
  font-size: 22px;
  font-weight: 700;
  color: var(--cyan);
  margin-bottom: 10px;
}
.step-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.step-card p { font-size: 14px; color: var(--text-muted); }
.step-card a { color: var(--purple); font-weight: 700; }

.kiro-tip {
  margin-top: 20px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 16px 20px;
  border-radius: 14px;
  background: var(--surface);
  border: 1.5px solid var(--purple);
}
.kiro-badge {
  font-family: "JetBrains Mono", monospace;
  font-size: 11.5px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 6px;
  background: #b052ff;
  color: #000000;
}
.kiro-tip p { font-size: 14px; color: var(--text-muted); }

/* COMITÉ Y ALIADOS */
.committee-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 22px;
}
.comm-card {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  transition: transform 220ms cubic-bezier(0.16, 1, 0.3, 1), border-color 220ms ease, box-shadow 220ms ease;
}
.comm-card:hover {
  transform: translateY(-3px);
  border-color: var(--purple);
  box-shadow: var(--shadow);
}
.comm-card img { width: 76px; height: 76px; object-fit: contain; flex-shrink: 0; }
.comm-tag {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  font-weight: 700;
  color: var(--purple);
  letter-spacing: 0.08em;
}
.comm-tag.unam { color: var(--cyan); }
.comm-card h3 { font-size: 18px; font-weight: 800; margin: 4px 0 6px; }
.comm-card p { font-size: 14px; color: var(--text-muted); margin-bottom: 10px; }
.comm-link {
  font-family: "JetBrains Mono", monospace;
  font-size: 13px;
  font-weight: 700;
  color: var(--purple);
  text-decoration: none;
  word-break: break-all;
}
.comm-link:hover { text-decoration: underline; }

.allies-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}
.ally-pill {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  transition: transform 200ms cubic-bezier(0.16, 1, 0.3, 1), border-color 200ms ease;
}
.ally-pill:hover {
  transform: translateY(-3px);
  border-color: var(--cyan);
}
.ally-pill img { width: 44px; height: 44px; object-fit: contain; flex-shrink: 0; }
.ally-pill strong { display: block; font-size: 14px; line-height: 1.2; }
.ally-pill span { font-size: 11.5px; color: var(--text-muted); }

.venue-strip {
  margin-top: 18px;
  padding: 16px 18px;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 14px;
  color: var(--text-muted);
  text-align: center;
}
.venue-strip strong { color: var(--text); }

/* FOOTER */
.footer {
  border-top: 1px solid var(--border);
  padding: 26px 0 calc(34px + env(safe-area-inset-bottom, 0px));
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}
.footer-inner p { font-size: 13px; color: var(--text-muted); margin-top: 4px; }
.footer-links { display: flex; gap: 18px; }
.footer-links a { color: var(--cyan); font-size: 14px; font-weight: 600; text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }

/* BOTÓN FLOTANTE MÓVIL */
.fab-top {
  position: fixed;
  right: 16px;
  bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  z-index: 45;
  padding: 11px 16px;
  border-radius: 999px;
  background: rgba(124, 58, 237, 0.94);
  color: #ffffff;
  font-family: "JetBrains Mono", monospace;
  font-size: 12.5px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(124, 58, 237, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.25);
}
.fab-top[hidden] { display: none; }

/* ================= RESPONSIVE TABLET & MÓVIL ================= */
@media (max-width: 980px) {
  .nav-links, .desktop-only { display: none; }
  .btn-menu { display: inline-flex; }
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .mosaic-frame, .hero-host-chip { max-width: 340px; }
  .agenda-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .committee-row { grid-template-columns: 1fr; }
  .allies-strip { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .nav-inner { padding: 10px 14px; }
  .brand-emblem { height: 34px; }
  .brand-kicker { font-size: 9.5px; }
  .brand-copy strong { font-size: 14px; }
  .btn-tema { padding: 8px 11px; font-size: 12px; min-height: 44px; }

  .hero { padding: 28px 0 42px; }
  .hero-pill { font-size: 10.5px; padding: 7px 12px; border-radius: 12px; }
  .hero-lead { font-size: 15px; }

  .countdown-bar { width: 100%; flex-direction: column; align-items: center; text-align: center; gap: 8px; padding: 12px 14px; }
  .cd-box { min-width: 48px; }
  .cd-box strong { font-size: 16px; }

  .hero-cta-row { flex-direction: column; width: 100%; }
  .btn-primary, .btn-secondary { width: 100%; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 14px 12px; margin-top: 24px; }
  .mosaic-frame { max-width: 270px; padding: 9px; }
  .hero-host-chip { max-width: 100%; }

  .section { padding: 44px 0; }
  .toolbar { flex-direction: column; align-items: stretch; gap: 10px; }
  .search-box { flex: none; width: 100%; }
  .filter-pills {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 4px;
    margin: 0 -16px;
    padding-left: 16px;
    padding-right: 16px;
  }
  .filter-pills::-webkit-scrollbar { display: none; }

  .grid-participantes { grid-template-columns: 1fr; gap: 14px; }
  .agenda-grid, .steps-grid { grid-template-columns: 1fr; }
  .comm-card { flex-direction: column; align-items: flex-start; text-align: left; }
  .allies-strip { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .float-gentle, .hero-glow, .dot-live { animation: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}
