/* ==========================================================================
   Bizz Summit ES — Hoja de estilos
   Diseño basado en el Manual de Marca oficial (Identidad y marca)
   Tipografía: Segoe UI (familia del sistema, sin peticiones externas)
   ========================================================================== */

/* ----- Tokens de marca ----- */
:root {
  /* Paleta oficial */
  --navy:        #292B45;  /* Azul noche  — robusto, contundente, firme */
  --teal:        #119F9A;  /* Turquesa intenso — refrescante, abierto   */
  --teal-soft:   #4BE7D8;  /* Turquesa suave  — innovador, dinámico     */
  --pink:        #FF6EA8;  /* Rosa vibrante   — creativo, cercano        */
  --yellow:      #FFDA37;  /* Amarillo luminoso — positivo, enérgico     */

  /* Derivados accesibles (contraste AA sobre blanco para texto pequeño) */
  --teal-ink:    #0C7C77;
  --navy-80:     rgba(41, 43, 69, 0.80);
  --navy-60:     rgba(41, 43, 69, 0.60);

  /* Neutros */
  --bg:          #ffffff;
  --bg-alt:      #f7f8fb;
  --bg-soft:     #fdf6df;  /* amarillo muy diluido */
  --line:        #e7e8ef;
  --white:       #ffffff;

  /* Tipografía */
  --font: "Segoe UI", "Selawik", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;

  /* Métricas */
  --maxw: 1180px;
  --radius:    20px;
  --radius-lg: 34px;
  --radius-sm: 12px;
  --shadow:    0 18px 50px -22px rgba(41, 43, 69, 0.35);
  --shadow-sm: 0 8px 24px -14px rgba(41, 43, 69, 0.40);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ----- Reset ----- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

body {
  font-family: var(--font);
  color: var(--navy);
  background: var(--bg);
  line-height: 1.65;
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.08rem);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-ink); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }

/* ----- Accesibilidad: foco y skip link ----- */
:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 3px;
  border-radius: 4px;
}
.skip-link {
  position: absolute;
  left: 12px; top: -120px;
  z-index: 999;
  background: var(--navy);
  color: var(--white);
  padding: 12px 20px;
  border-radius: 0 0 12px 12px;
  font-weight: 700;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 0; }
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ----- Layout helpers ----- */
.container { width: min(100% - clamp(2.5rem, 6vw, 5rem), var(--maxw)); margin-inline: auto; }
.section { padding: clamp(3.5rem, 2rem + 7vw, 7rem) 0; }
.section--alt { background: var(--bg-alt); }
.section--navy { background: var(--navy); color: var(--white); }
.section--navy a:not(.btn) { color: var(--teal-soft); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.82rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--teal-ink);
  margin-bottom: 0.9rem;
}
.section--navy .eyebrow { color: var(--teal-soft); }
.eyebrow::before {
  content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px;
}

/* ----- Tipografía display (Segoe UI Black) ----- */
h1, h2, h3 { font-weight: 900; line-height: 1.05; letter-spacing: -0.02em; color: inherit; }
.section--navy h1, .section--navy h2, .section--navy h3 { color: var(--white); }
.h-display { font-size: clamp(2.4rem, 1.2rem + 5vw, 4.4rem); }
.section-title { font-size: clamp(1.9rem, 1.2rem + 2.6vw, 3rem); margin-bottom: 1rem; }
.section-intro { max-width: 60ch; color: var(--navy-80); font-size: 1.08rem; }
.section--navy .section-intro { color: rgba(255,255,255,0.82); }
.lead { font-size: clamp(1.05rem, 1rem + 0.5vw, 1.3rem); color: var(--navy-80); }

/* ----- Botones ----- */
.btn {
  --btn-bg: var(--yellow); --btn-fg: var(--navy);
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  background: var(--btn-bg); color: var(--btn-fg);
  font-weight: 800; font-size: 1rem; line-height: 1;
  padding: 0.95rem 1.6rem; border-radius: 100px; border: 2px solid var(--btn-bg);
  cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn:active { transform: translateY(0); }
.btn--secondary { --btn-bg: var(--navy); --btn-fg: #fff; border-color: var(--navy); }
.btn--teal { --btn-bg: var(--teal); --btn-fg: #fff; border-color: var(--teal); }
.btn--ghost {
  background: transparent; color: #fff; border-color: rgba(255,255,255,0.55);
}
.btn--ghost:hover { background: rgba(255,255,255,0.10); }
.btn--lg { padding: 1.1rem 2rem; font-size: 1.06rem; }

/* ==========================================================================
   Header / Navegación
   ========================================================================== */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  display: flex; align-items: center;
  padding: 0.7rem 0;
  transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease), padding 0.3s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(180%) blur(12px);
  box-shadow: 0 1px 0 var(--line), 0 10px 30px -24px rgba(41,43,69,.5);
}
.nav {
  display: flex; align-items: center; gap: 1.5rem;
  width: min(100% - clamp(2.5rem, 6vw, 5rem), var(--maxw));
  margin-inline: auto;
}
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand img { height: 34px; width: auto; }
@media (max-width: 520px){ .brand img { height: 30px; } }
.brand .logo-color { display: none; }
.site-header.is-scrolled .brand .logo-white { display: none; }
.site-header.is-scrolled .brand .logo-color { display: block; }

.nav-links {
  display: flex; align-items: center; gap: 0.3rem;
  margin-left: auto; list-style: none;
}
.nav-links a {
  display: inline-block; padding: 0.55rem 0.85rem; border-radius: 100px;
  color: rgba(255,255,255,0.92); font-weight: 600; font-size: 0.96rem;
  text-decoration: none; transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.nav-links a:hover { background: rgba(255,255,255,0.14); }
.site-header.is-scrolled .nav-links a { color: var(--navy); }
.site-header.is-scrolled .nav-links a:hover { background: var(--bg-alt); }
.nav-cta { margin-left: 0.4rem; }

.nav-toggle {
  display: none; margin-left: auto;
  width: 46px; height: 46px; border: 0; border-radius: 12px;
  background: rgba(255,255,255,0.15); cursor: pointer;
  align-items: center; justify-content: center;
}
.site-header.is-scrolled .nav-toggle { background: var(--bg-alt); }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; display: block; width: 22px; height: 2.5px; border-radius: 3px;
  background: #fff; position: relative; transition: transform 0.25s var(--ease), opacity 0.2s;
}
.site-header.is-scrolled .nav-toggle span,
.site-header.is-scrolled .nav-toggle span::before,
.site-header.is-scrolled .nav-toggle span::after { background: var(--navy); }
.nav-toggle span::before { position: absolute; top: -7px; }
.nav-toggle span::after  { position: absolute; top: 7px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after  { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 920px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: fixed; inset: 0 0 0 auto; width: min(82vw, 340px);
    flex-direction: column; align-items: stretch; gap: 0.25rem;
    background: var(--navy); padding: 6rem 1.4rem 2rem;
    transform: translateX(100%); transition: transform 0.32s var(--ease);
    box-shadow: -20px 0 60px -20px rgba(0,0,0,.5); overflow-y: auto;
  }
  .nav-links.is-open { transform: translateX(0); }
  .nav-links a { color: #fff !important; font-size: 1.1rem; padding: 0.85rem 1rem; }
  .nav-links a:hover { background: rgba(255,255,255,0.12) !important; }
  .nav-cta { margin: 0.6rem 0 0; }
  .nav-cta .btn { width: 100%; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative; isolation: isolate;
  background:
    radial-gradient(120% 90% at 85% -10%, rgba(75,231,216,0.18), transparent 55%),
    radial-gradient(90% 70% at 0% 110%, rgba(255,110,168,0.16), transparent 55%),
    linear-gradient(160deg, #2f3252 0%, var(--navy) 55%, #20223a 100%);
  color: #fff; overflow: hidden;
  padding: clamp(8rem, 6rem + 12vw, 11rem) 0 clamp(3rem, 2rem + 4vw, 5rem);
}
.hero__deco {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  opacity: 0.5;
}
.hero__deco svg { position: absolute; }
.hero-wheel {
  right: -120px; bottom: -120px; width: clamp(360px, 40vw, 620px);
  color: rgba(75,231,216,0.5);
  animation: spin 90s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .hero-wheel { animation: none; } }

.hero__badge {
  display: inline-flex; align-items: center; gap: 0.6rem;
  background: rgba(255,255,255,0.10); border: 1px solid rgba(255,255,255,0.18);
  padding: 0.45rem 1rem 0.45rem 0.55rem; border-radius: 100px;
  font-size: 0.9rem; font-weight: 600; margin-bottom: 1.6rem;
}
.hero__badge .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--teal-soft); box-shadow: 0 0 0 4px rgba(75,231,216,0.25); }
.hero h1 { font-size: clamp(2.6rem, 1.3rem + 6vw, 5.4rem); }
/* En escritorio/tablet "Business Solutions" se mantiene en una sola línea */
.hero h1 .nb { white-space: nowrap; }
@media (max-width: 600px) {
  /* En móvil dejamos que el título fluya en varias líneas de forma natural,
     rompiendo "Business Solutions" si hace falta para que no se recorte */
  .hero h1 { font-size: clamp(2rem, 8vw, 2.9rem); }
  .hero h1 .hero-br { display: none; }
  .hero h1 .nb { white-space: normal; }
}
.hero h1 .tagline {
  display: block; color: var(--yellow);
  font-size: clamp(1.3rem, 0.9rem + 2vw, 2.4rem); margin-top: 0.4rem; letter-spacing: -0.01em;
}
.hero__meta {
  display: flex; flex-wrap: wrap; gap: 0.8rem 1.8rem; margin: 1.6rem 0 0;
  font-size: 1.1rem; font-weight: 600;
}
.hero__meta span { display: inline-flex; align-items: center; gap: 0.55rem; }
.hero__meta svg { width: 22px; height: 22px; color: var(--teal-soft); flex-shrink: 0; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2rem; }

/* Cuenta atrás */
.countdown {
  display: flex; gap: 0.7rem; margin-top: 2.6rem; flex-wrap: wrap;
}
.countdown__item {
  background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius-sm); padding: 0.9rem 1.1rem; min-width: 84px; text-align: center;
}
.countdown__num { font-size: clamp(1.7rem, 1.2rem + 1.6vw, 2.5rem); font-weight: 900; line-height: 1; font-variant-numeric: tabular-nums; }
.countdown__label { font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(255,255,255,0.7); margin-top: 0.35rem; }

/* Métricas del evento */
.stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem;
  margin-top: 3rem; padding-top: 2.2rem; border-top: 1px solid rgba(255,255,255,0.14);
}
.stat__num { font-size: clamp(2rem, 1.4rem + 2vw, 3rem); font-weight: 900; color: var(--teal-soft); line-height: 1; }
.stat__label { font-size: 0.9rem; color: rgba(255,255,255,0.78); margin-top: 0.35rem; }

/* ==========================================================================
   Tarjetas de características
   ========================================================================== */
.grid { display: grid; gap: 1.4rem; }
.grid--features { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); margin-top: 2.6rem; }

.feature {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2rem 1.8rem; position: relative; overflow: hidden;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s;
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.feature__icon {
  width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center;
  margin-bottom: 1.2rem; color: #fff;
}
.feature__icon svg { width: 30px; height: 30px; }
.feature:nth-child(4n+1) .feature__icon { background: var(--teal); }
.feature:nth-child(4n+2) .feature__icon { background: var(--pink); }
.feature:nth-child(4n+3) .feature__icon { background: var(--navy); }
.feature:nth-child(4n+4) .feature__icon { background: var(--teal-soft); color: var(--navy); }
.feature h3 { font-size: 1.25rem; margin-bottom: 0.6rem; }
.feature p { color: var(--navy-80); font-size: 0.98rem; }

/* ==========================================================================
   Misión / Visión / Valores
   ========================================================================== */
.mvv { display: grid; gap: 1.4rem; grid-template-columns: 1fr 1fr; margin-top: 2.4rem; }
.mvv__card { border-radius: var(--radius); padding: 2.2rem; }
.mvv__card--mission { background: var(--teal); color: #fff; }
.mvv__card--vision  { background: var(--navy); color: #fff; }
.mvv__card h3 { font-size: 1.6rem; margin-bottom: 0.8rem; }
.mvv__card p { color: rgba(255,255,255,0.9); }

.values { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); gap: 1.2rem; margin-top: 0.2rem; }
.value {
  background: var(--white); border: 1px solid var(--line); border-left: 5px solid var(--yellow);
  border-radius: var(--radius-sm); padding: 1.4rem 1.5rem;
}
.value:nth-child(2) { border-left-color: var(--teal); }
.value:nth-child(3) { border-left-color: var(--pink); }
.value:nth-child(4) { border-left-color: var(--teal-soft); }
.value h4 { font-size: 1.1rem; font-weight: 800; margin-bottom: 0.45rem; }
.value p { font-size: 0.94rem; color: var(--navy-80); }
@media (max-width: 720px){ .mvv { grid-template-columns: 1fr; } }

/* ==========================================================================
   Banda solidaria
   ========================================================================== */
.solidaria {
  background: linear-gradient(135deg, var(--pink), #ff5fa0);
  border-radius: var(--radius-lg); padding: clamp(2.2rem, 1.5rem + 3vw, 3.5rem);
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 2rem; align-items: center; color: var(--navy);
}
.solidaria h2 { color: var(--navy); }
.solidaria p { color: rgba(41,43,69,0.86); margin-top: 0.8rem; }
.solidaria a:not(.btn) { color: var(--navy); font-weight: 800; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 2px; }
.solidaria a:not(.btn):hover { opacity: 0.72; }
.solidaria__aside {
  background: rgba(255,255,255,0.92); border-radius: var(--radius); padding: 1.8rem; text-align: center;
}
.solidaria__aside .big { font-size: 2.6rem; font-weight: 900; color: var(--pink); line-height: 1; }
.solidaria__logo { display: block; max-width: 220px; margin: 0 auto 1.2rem; }
.solidaria__logo img { display: block; width: 100%; height: auto; max-height: 88px; object-fit: contain; }
.solidaria__logo--ph { display: flex; align-items: center; justify-content: center; min-height: 80px; padding: 0.6rem 1rem; border: 2px dashed rgba(41,43,69,0.28); border-radius: var(--radius); color: rgba(41,43,69,0.62); font-weight: 800; text-align: center; }
@media (max-width: 820px){ .solidaria { grid-template-columns: 1fr; } }

/* ==========================================================================
   Sede
   ========================================================================== */
.venue { display: grid; grid-template-columns: 1fr 1fr; gap: 2.4rem; align-items: center; }
.venue__media {
  border-radius: var(--radius-lg); aspect-ratio: 4/3; position: relative; overflow: hidden;
  background:
    radial-gradient(80% 80% at 70% 20%, rgba(75,231,216,.35), transparent 60%),
    linear-gradient(160deg, var(--teal), var(--navy));
  display: grid; place-items: center; color: #fff;
}
.venue__media svg { width: 62%; height: auto; color: rgba(255,255,255,0.85); }
.venue__chips { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.4rem; }
.chip {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: var(--bg-alt); border: 1px solid var(--line);
  padding: 0.5rem 0.95rem; border-radius: 100px; font-weight: 600; font-size: 0.92rem;
}
.chip svg { width: 18px; height: 18px; color: var(--teal-ink); }
@media (max-width: 820px){ .venue { grid-template-columns: 1fr; } }

/* ==========================================================================
   Hackathon
   ========================================================================== */
.hackathon { position: relative; overflow: hidden; }
.hackathon__inner { position: relative; z-index: 1; }
.hackathon__tag {
  display: inline-block; background: var(--yellow); color: var(--navy);
  font-weight: 800; padding: 0.35rem 0.9rem; border-radius: 100px; font-size: 0.85rem;
  letter-spacing: 0.04em; margin-bottom: 1rem;
}
.hack-list { list-style: none; display: grid; gap: 0.9rem; margin-top: 1.6rem; max-width: 640px; }
.hack-list li { display: flex; gap: 0.9rem; align-items: flex-start; }
.hack-list svg { width: 26px; height: 26px; flex-shrink: 0; color: var(--teal-soft); margin-top: 2px; }

/* ==========================================================================
   Agenda
   ========================================================================== */
.agenda__bar { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; margin: 2rem 0 1.4rem; }
.search {
  display: flex; align-items: center; gap: 0.6rem; flex: 1 1 300px; max-width: 460px;
  background: var(--white); border: 2px solid var(--line); border-radius: 100px; padding: 0.55rem 1.1rem;
  transition: border-color 0.2s;
}
.search:focus-within { border-color: var(--teal); }
.search svg { width: 20px; height: 20px; color: var(--navy-60); flex-shrink: 0; }
.search input { border: 0; outline: 0; width: 100%; font: inherit; font-size: 1rem; background: transparent; color: var(--navy); }
.agenda__count { font-weight: 700; color: var(--navy-60); font-size: 0.92rem; }

.agenda-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 1rem; }
.session {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 1.25rem 1.3rem; display: flex; flex-direction: column; gap: 0.7rem;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), border-color 0.2s;
}
.session:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); border-color: var(--teal-soft); }
.session__pill {
  align-self: flex-start; font-size: 0.72rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em;
  padding: 0.28rem 0.7rem; border-radius: 100px; background: var(--bg-soft); color: var(--teal-ink);
}
.session h3 { font-size: 1.06rem; font-weight: 800; line-height: 1.3; letter-spacing: -0.01em; }
.agenda__empty { text-align: center; padding: 3rem 1rem; color: var(--navy-60); font-weight: 600; display: none; }
.agenda__note { margin-top: 1.4rem; font-size: 0.9rem; color: var(--navy-60); }

/* ==========================================================================
   Ponentes
   ========================================================================== */
.speakers-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1rem; margin-top: 2.4rem; }
.speaker {
  display: flex; gap: 1rem; align-items: center;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 1.1rem; transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.speaker:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.speaker__avatar {
  width: 56px; height: 56px; border-radius: 50%; flex-shrink: 0; display: grid; place-items: center;
  background: var(--bg-alt); border: 2px solid var(--line); overflow: hidden;
}
.speaker__avatar img { width: 64%; height: auto; }
.speaker:nth-child(5n+1) .speaker__avatar { background: rgba(17,159,154,.12); }
.speaker:nth-child(5n+2) .speaker__avatar { background: rgba(255,110,168,.14); }
.speaker:nth-child(5n+3) .speaker__avatar { background: rgba(255,218,55,.20); }
.speaker:nth-child(5n+4) .speaker__avatar { background: rgba(75,231,216,.18); }
.speaker__role { font-size: 0.9rem; font-weight: 600; color: var(--navy); line-height: 1.4; }
.speaker__name { font-size: 0.78rem; color: var(--navy-60); margin-top: 0.2rem; }
.speakers-note, .section-note { margin-top: 1.6rem; font-size: 0.9rem; color: var(--navy-60); max-width: 70ch; }
.section--navy .speakers-note { color: rgba(255,255,255,0.65); }

/* ==========================================================================
   Sponsors
   ========================================================================== */
.partner-tier { margin-top: 2.4rem; }
.partner-tier__label {
  display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem;
  font-weight: 800; text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.9rem;
}
.partner-tier__label::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.tier-platino { color: var(--navy); }
.tier-oro     { color: #C9A227; }
.tier-plata   { color: #8A8FA3; }
.partner-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 1rem; }
.partner-slot {
  aspect-ratio: 16/7; background: var(--white); border: 1px dashed var(--line); border-radius: var(--radius-sm);
  display: grid; place-items: center; color: var(--navy-60); font-weight: 600; font-size: 0.85rem; text-align: center; padding: 0.5rem;
}
.partner-cta { margin-top: 2.6rem; text-align: center; background: var(--bg-soft); border-radius: var(--radius); padding: 2.2rem; }

/* ==========================================================================
   Organización
   ========================================================================== */
.org-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: 2.2rem; }
@media (max-width: 760px){ .org-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px){ .org-grid { grid-template-columns: 1fr; } }
.org-member {
  text-align: center; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-sm); padding: 1.4rem 1rem;
}
.org-member__ava {
  width: 120px; height: 120px; border-radius: 50%; margin: 0 auto 0.8rem; display: grid; place-items: center;
  font-weight: 900; font-size: 1.3rem; color: #fff; background: var(--teal);
}
.org-member:nth-child(3n+2) .org-member__ava { background: var(--pink); }
.org-member:nth-child(3n+3) .org-member__ava { background: var(--navy); }
.org-member strong { font-size: 0.98rem; }

/* ==========================================================================
   FAQ + Código de conducta (acordeones accesibles)
   ========================================================================== */
.accordion { max-width: 820px; margin: 2.2rem auto 0; }
.acc-item { border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: 0.8rem; background: var(--white); overflow: hidden; }
.acc-item summary {
  list-style: none; cursor: pointer; padding: 1.15rem 1.4rem;
  font-weight: 800; font-size: 1.04rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.acc-item summary::-webkit-details-marker { display: none; }
.acc-item summary::after {
  content: "+"; font-size: 1.5rem; font-weight: 400; color: var(--teal); flex-shrink: 0;
  transition: transform 0.25s var(--ease); line-height: 1;
}
.acc-item[open] summary::after { transform: rotate(45deg); }
.acc-item summary:hover { color: var(--teal-ink); }
.acc-item__body { padding: 0 1.4rem 1.3rem; color: var(--navy-80); }
.acc-item__body p + p { margin-top: 0.7rem; }

.coc-cols { columns: 2; column-gap: 2rem; }
.coc-cols h4 { font-weight: 800; margin: 0.4rem 0; break-after: avoid; }
.coc-cols ul { margin: 0.3rem 0 1rem 1.1rem; }
.coc-cols li { margin-bottom: 0.3rem; }
@media (max-width: 680px){ .coc-cols { columns: 1; } }

/* ==========================================================================
   CTA final
   ========================================================================== */
.final-cta {
  text-align: center; color: #fff; border-radius: var(--radius-lg); overflow: hidden; position: relative;
  background:
    radial-gradient(80% 120% at 20% 0%, rgba(255,110,168,.30), transparent 55%),
    radial-gradient(80% 120% at 90% 100%, rgba(75,231,216,.30), transparent 55%),
    linear-gradient(150deg, #2f3252, var(--navy));
  padding: clamp(3rem, 2rem + 5vw, 5.5rem) 1.5rem;
}
.final-cta h2 { font-size: clamp(2rem, 1.3rem + 3vw, 3.4rem); }
.final-cta p { color: rgba(255,255,255,0.85); max-width: 56ch; margin: 1rem auto 0; }
.final-cta .hero__actions { justify-content: center; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--navy); color: rgba(255,255,255,0.78); padding: 3.5rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 2.5rem; }
.site-footer h4 { color: #fff; font-size: 1rem; font-weight: 800; margin-bottom: 1rem; }
.site-footer img.flogo { height: 30px; width: auto; margin-bottom: 1.1rem; }
.footer-links { list-style: none; display: grid; gap: 0.55rem; }
.footer-links a { color: rgba(255,255,255,0.78); text-decoration: none; }
.footer-links a:hover { color: #fff; text-decoration: underline; }
.social { display: flex; gap: 0.7rem; margin-top: 1rem; }
.social a {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(255,255,255,0.08); color: #fff; transition: background 0.2s;
}
.social a:hover { background: var(--teal); }
.social svg { width: 20px; height: 20px; }
.footer-bottom {
  margin-top: 2.6rem; padding-top: 1.6rem; border-top: 1px solid rgba(255,255,255,0.12);
  display: flex; flex-wrap: wrap; gap: 0.6rem 1.5rem; justify-content: space-between; font-size: 0.86rem;
  color: rgba(255,255,255,0.6);
}
@media (max-width: 760px){ .footer-grid { grid-template-columns: 1fr; gap: 2rem; } }
.footer-credit { text-align: center; flex: 1 1 auto; }
.footer-credit a:hover { opacity: 0.85; }
@media (max-width: 760px){ .footer-credit { flex-basis: 100%; order: 3; } }

/* ==========================================================================
   Animación de aparición
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce){ .reveal { opacity: 1; transform: none; } }

/* ==========================================================================
   Ajustes v2
   ========================================================================== */

/* Párrafos a ancho completo (igualan al .lead de bienvenida) */
.section-intro--wide { max-width: none; }

/* Indicadores "Próximamente" del hero */
.stat__soon {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-size: clamp(1.7rem, 1.3rem + 1.5vw, 2.5rem); font-weight: 900; color: var(--teal-soft);
}
.pulse {
  width: 11px; height: 11px; border-radius: 50%; flex-shrink: 0;
  background: var(--teal-soft); box-shadow: 0 0 0 0 rgba(75,231,216,0.5);
  animation: pulse 2.2s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(75,231,216,0.5); }
  70%  { box-shadow: 0 0 0 12px rgba(75,231,216,0); }
  100% { box-shadow: 0 0 0 0 rgba(75,231,216,0); }
}
@media (prefers-reduced-motion: reduce){ .pulse { animation: none; } }

/* Panel "Estamos trabajando en ello" (agenda y ponentes) */
.coming-soon {
  text-align: center; max-width: 760px; margin: 2.6rem auto 0;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(2.4rem, 1.6rem + 3vw, 3.8rem);
}
.coming-soon__wheel { width: 84px; height: 84px; margin: 0 auto 1.3rem; color: var(--teal); }
.coming-soon__wheel svg { width: 100%; height: 100%; display: block; opacity: 0.9; animation: spin 70s linear infinite; }
@media (prefers-reduced-motion: reduce){ .coming-soon__wheel svg { animation: none; } }
.coming-soon__badge {
  display: inline-flex; align-items: center; gap: 0.55rem;
  background: var(--bg-soft); color: var(--teal-ink);
  font-weight: 800; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em;
  padding: 0.45rem 1rem; border-radius: 100px; margin-bottom: 1.1rem;
}
.coming-soon h3 { font-size: clamp(1.5rem, 1.2rem + 1.6vw, 2.2rem); margin-bottom: 0.7rem; }
.coming-soon p { color: var(--navy-80); max-width: 54ch; margin: 0 auto 1.5rem; }
.cs-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center; margin-bottom: 1.7rem; }
.cs-chip {
  background: var(--bg-alt); border: 1px solid var(--line); color: var(--navy-80);
  padding: 0.4rem 0.95rem; border-radius: 100px; font-size: 0.85rem; font-weight: 600;
}

/* Mapa incrustado de la sede */
.venue__media { background: var(--bg-alt); }
.venue__map { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }

/* Fotografías del equipo de organización */
.org-member__ava--photo { background: none !important; border: 2px solid var(--line); overflow: hidden; padding: 0; }
.org-member__ava--photo img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }

/* Tarjetas de organización con enlace a LinkedIn */
a.org-member { text-decoration: none; color: inherit; display: block; transition: border-color 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s var(--ease); }
a.org-member:hover { border-color: var(--teal); transform: translateY(-3px); box-shadow: 0 10px 24px rgba(0,0,0,0.08); }
a.org-member:hover .org-member__ava--photo { border-color: var(--teal); }

/* ----- Navegación: submenú "Años anteriores" ----- */
.nav-has-sub { position: relative; }
.nav-sub-toggle {
  display: inline-flex; align-items: center; gap: 0.35rem;
  background: none; border: 0; cursor: pointer; font: inherit; font-weight: 600; font-size: 0.96rem;
  color: rgba(255,255,255,0.92); padding: 0.55rem 0.85rem; border-radius: 100px;
}
.site-header.is-scrolled .nav-sub-toggle { color: var(--navy); }
.nav-sub-toggle:hover { background: rgba(255,255,255,0.14); }
.site-header.is-scrolled .nav-sub-toggle:hover { background: var(--bg-alt); }
.nav-sub-toggle .caret { font-size: 0.8em; transition: transform 0.2s var(--ease); }
.nav-sub-toggle[aria-expanded="true"] .caret { transform: rotate(180deg); }
.nav-sub {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 175px; list-style: none;
  background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 0.5rem;
  box-shadow: var(--shadow); z-index: 50;
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0.2s;
}
.nav-has-sub:hover .nav-sub,
.nav-sub-toggle[aria-expanded="true"] + .nav-sub { opacity: 1; visibility: visible; transform: none; }
.nav-sub a { display: block; padding: 0.6rem 0.9rem; border-radius: 10px; color: var(--navy) !important; font-weight: 600; text-decoration: none; }
.nav-sub a:hover { background: var(--bg-alt) !important; }
.nav-sub a[aria-current="page"] { color: var(--teal-ink) !important; background: var(--bg-soft) !important; }
@media (max-width: 920px){
  .nav-has-sub { width: 100%; }
  .nav-sub-toggle { width: 100%; justify-content: space-between; color: #fff !important; font-size: 1.1rem; padding: 0.85rem 1rem; }
  .nav-sub {
    position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; display: none;
    background: rgba(255,255,255,0.06); border: 0; margin: 0.2rem 0 0.4rem 0.6rem; padding: 0.2rem;
  }
  .nav-sub-toggle[aria-expanded="true"] + .nav-sub { display: block; }
  .nav-sub a { color: #fff !important; }
  .nav-sub a:hover { background: rgba(255,255,255,0.12) !important; }
}

/* ----- Héroe de ediciones pasadas ----- */
.hero--past { padding-bottom: clamp(2.6rem, 2rem + 3vw, 4.5rem); }

/* ----- Slider de vídeos (2021): miniaturas enlazadas a YouTube ----- */
.slider--video .slide { aspect-ratio: 16 / 9; }
@media (min-width: 680px){ .slider--video .slide { flex-basis: 64%; } }
@media (min-width: 1000px){ .slider--video .slide { flex-basis: 49%; } }
.video-slide { overflow: hidden; }
.video-link { position: relative; display: block; width: 100%; height: 100%; cursor: pointer; }
.video-link img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.45s var(--ease); }
.video-link:hover img, .video-link:focus-visible img { transform: scale(1.05); }
.video-play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 74px; height: 74px; display: grid; place-items: center;
  background: rgba(41,43,69,0.82); color: #fff; border-radius: 50%;
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
}
.video-link:hover .video-play, .video-link:focus-visible .video-play { background: var(--pink); transform: translate(-50%, -50%) scale(1.08); }
.video-play svg { width: 28px; height: 28px; margin-left: 4px; }
.video-title {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 1.8rem 1.2rem 1.05rem;
  color: #fff; font-weight: 700; font-size: 1.02rem; line-height: 1.3;
  background: linear-gradient(transparent, rgba(15,16,28,0.88));
}
.slide__ph small { display: block; font-weight: 600; font-size: 0.8rem; opacity: 0.82; margin-top: 0.25rem; }

/* ----- Incrustación pendiente (Sessionize) ----- */
.embed-pending {
  text-align: center; max-width: 700px; margin: 1.6rem auto 0;
  background: var(--bg-alt); border: 1px dashed var(--line); border-radius: var(--radius); padding: clamp(2rem,1.4rem+2vw,2.8rem) 2rem;
}
.embed-pending__icon { width: 58px; height: 58px; margin: 0 auto 1rem; color: var(--teal); }
.embed-pending__icon svg { width: 100%; height: 100%; }
.embed-pending p { color: var(--navy-80); }
.embed-pending p + p { margin-top: 0.6rem; }
.sz-embed { margin-top: 1.5rem; }
.sz-frame {
  width: 100%; height: clamp(620px, 82vh, 1240px);
  border: 1px solid var(--line); border-radius: var(--radius);
  background: #fff; display: block;
}
.agenda-intro {
  display: grid; grid-template-columns: 1.5fr 1fr; gap: 1.4rem;
  margin-top: 2rem; align-items: stretch;
}
.agenda-intro__text {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2rem; display: flex; flex-direction: column; justify-content: center; gap: 0.9rem;
}
.agenda-intro__text h3 { font-size: 1.4rem; color: var(--navy); }
.agenda-intro__text p { margin: 0; font-size: 1.08rem; color: var(--navy); }
.agenda-topics {
  list-style: none; margin: 0.2rem 0 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 0.55rem;
}
.agenda-topics li {
  background: var(--teal-soft); color: var(--teal-ink);
  font-weight: 700; font-size: 0.9rem;
  padding: 0.4rem 0.85rem; border-radius: 100px;
}
.agenda-intro__app {
  background: var(--navy); color: #fff; border-radius: var(--radius);
  padding: 2rem; display: flex; flex-direction: column; align-items: flex-start; gap: 0.7rem;
}
.agenda-intro__app h3 { font-size: 1.4rem; }
.agenda-intro__app p { margin: 0; color: rgba(255,255,255,0.9); }
.agenda-intro__app .btn { margin-top: 0.5rem; }
@media (max-width: 720px){ .agenda-intro { grid-template-columns: 1fr; } }
code { background: #fff; border: 1px solid var(--line); padding: 0.1rem 0.42rem; border-radius: 6px; font-size: 0.9em; }
.section--alt code { background: #fff; }

/* ----- Logos de patrocinadores (con imagen) ----- */
.partner-card { aspect-ratio: 16 / 7; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); display: grid; place-items: center; padding: 1rem; }
.partner-card a.partner-link { width: 100%; height: 100%; display: grid; place-items: center; }
.partner-card img { max-width: 100%; max-height: 100%; object-fit: contain; }

/* Uniform visual height + per-logo trim for 2021 sponsors */
.partner-row--uniform .partner-card { aspect-ratio: auto; min-height: 96px; overflow: hidden; }
.partner-row--uniform .partner-card img { height: 58px; width: auto; max-width: 100%; max-height: none; object-fit: contain; }

.partner-row--uniform .partner-card img.logo-trim-avanade { transform: scale(1.2); }
.partner-row--uniform .partner-card img.logo-trim-microsoft { transform: scale(1.45); }
.partner-row--uniform .partner-card img.logo-trim-intelequia { transform: scale(2.2); }
.partner-row--uniform .partner-card img.logo-trim-adderit { transform: scale(2.2); }
.partner-row--uniform .partner-card img.logo-trim-necsia { transform: scale(0.9); }

.partner-card--dark { background: #2d2e33; border-color: #22263f; }

/* ----- Slider / galería ----- */
.slider__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.8rem; }
.slider__head h2 { margin-bottom: 0; }
.slider__nav { display: flex; gap: 0.6rem; }
.slider__btn {
  width: 50px; height: 50px; border-radius: 50%; border: 2px solid var(--line);
  background: var(--white); color: var(--navy); display: grid; place-items: center; cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.slider__btn:hover { background: var(--navy); color: #fff; border-color: var(--navy); transform: translateY(-2px); }
.slider__btn svg { width: 22px; height: 22px; }
.slider { position: relative; }
.slider__track {
  display: flex; gap: 1rem; list-style: none; margin: 0; padding: 0 0 0.5rem;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch; scrollbar-width: none;
}
.slider__track::-webkit-scrollbar { display: none; }
.slide {
  flex: 0 0 82%; max-width: 620px; scroll-snap-align: start;
  aspect-ratio: 16 / 13.2; border-radius: var(--radius); overflow: hidden; background: var(--bg-alt);
}
@media (min-width: 680px){ .slide { flex-basis: 46%; } }
@media (min-width: 1000px){ .slide { flex-basis: 31.5%; } }
.slide img { width: 100%; height: 100%; object-fit: cover; }
.slide--ph { display: grid; place-items: center; color: #fff; }
.slide__ph { display: flex; flex-direction: column; align-items: center; gap: 0.6rem; font-weight: 800; letter-spacing: 0.04em; opacity: 0.96; }
.slide__icon svg { width: 48px; height: 48px; }
.slide.c0 { background: linear-gradient(150deg, var(--teal), var(--navy)); }
.slide.c1 { background: linear-gradient(150deg, var(--pink), #d8497f); }
.slide.c2 { background: linear-gradient(150deg, var(--navy), #3b3e66); }
.slide.c3 { background: linear-gradient(150deg, #1cb6b0, var(--teal-soft)); color: var(--navy); }
.slide.c4 { background: linear-gradient(150deg, #ffce2e, var(--yellow)); color: var(--navy); }
.slider__dots { display: flex; gap: 0.5rem; justify-content: center; margin-top: 1.5rem; flex-wrap: wrap; }
.slider__dot { width: 10px; height: 10px; border-radius: 50%; border: 0; background: var(--line); padding: 0; cursor: pointer; transition: background 0.2s, width 0.2s; }
.slider__dot.is-active { background: var(--teal); width: 28px; border-radius: 5px; }
.slide[data-lb] { cursor: zoom-in; }
.slide[data-lb] img { transition: transform 0.4s var(--ease); }
.slide[data-lb]:hover img { transform: scale(1.05); }

/* ----- Lightbox ----- */
.lightbox {
  position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center;
  background: rgba(18, 19, 32, 0.93); backdrop-filter: blur(6px);
  padding: clamp(1rem, 4vw, 3rem); animation: lb-in 0.2s var(--ease);
}
.lightbox[hidden] { display: none; }
@keyframes lb-in { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce){ .lightbox { animation: none; } }
.lightbox__figure {
  margin: 0; width: 100%; max-width: min(1040px, 92vw); max-height: 82vh; aspect-ratio: 16 / 10;
  border-radius: var(--radius); overflow: hidden; display: grid; place-items: center;
  box-shadow: 0 30px 90px -20px rgba(0,0,0,0.6);
}
.lightbox__figure img { width: 100%; height: 100%; object-fit: contain; background: #0c0d18; }
.lightbox__figure.c0 { background: linear-gradient(150deg, var(--teal), var(--navy)); }
.lightbox__figure.c1 { background: linear-gradient(150deg, var(--pink), #d8497f); }
.lightbox__figure.c2 { background: linear-gradient(150deg, var(--navy), #3b3e66); }
.lightbox__figure.c3 { background: linear-gradient(150deg, #1cb6b0, var(--teal-soft)); color: var(--navy); }
.lightbox__figure.c4 { background: linear-gradient(150deg, #ffce2e, var(--yellow)); color: var(--navy); }
.lightbox__figure .slide__icon svg { width: 72px; height: 72px; }
.lightbox__figure .slide__ph { font-size: 1.4rem; gap: 1rem; }
.lightbox__close, .lightbox__nav {
  position: absolute; border: 0; color: #fff; background: rgba(255,255,255,0.14);
  cursor: pointer; display: grid; place-items: center; border-radius: 50%;
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
}
.lightbox__close:hover, .lightbox__nav:hover { background: rgba(255,255,255,0.28); }
.lightbox__close { top: clamp(0.8rem, 2vw, 1.6rem); right: clamp(0.8rem, 2vw, 1.6rem); width: 50px; height: 50px; }
.lightbox__close svg { width: 24px; height: 24px; }
.lightbox__nav { top: 50%; transform: translateY(-50%); width: 54px; height: 54px; }
.lightbox__nav:hover { transform: translateY(-50%) scale(1.06); }
.lightbox__nav svg { width: 26px; height: 26px; }
.lightbox__prev { left: clamp(0.5rem, 2vw, 1.6rem); }
.lightbox__next { right: clamp(0.5rem, 2vw, 1.6rem); }
.lightbox__caption {
  position: absolute; bottom: clamp(1rem, 3vw, 2rem); left: 0; right: 0; text-align: center;
  color: rgba(255,255,255,0.85); font-weight: 600; font-size: 0.95rem;
}
@media (max-width: 560px){
  .lightbox__nav { width: 46px; height: 46px; }
  .lightbox__figure { aspect-ratio: 4 / 3; }
}

/* ----- Banda "En la edición del año pasado" ----- */
.lastyear .ly-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; margin-top: 2.6rem; }
.ly-stat { text-align: center; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.14); border-radius: var(--radius); padding: clamp(1.8rem, 1.2rem + 2vw, 2.8rem) 1rem; }
.ly-num { display: block; font-size: clamp(2.6rem, 1.8rem + 3.2vw, 4.6rem); font-weight: 900; line-height: 1; color: var(--teal-soft); font-variant-numeric: tabular-nums; }
.ly-num--todo { color: rgba(255,255,255,0.45); }
.ly-label { display: block; margin-top: 0.7rem; font-weight: 600; color: rgba(255,255,255,0.82); text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.86rem; }
@media (max-width: 620px){ .lastyear .ly-grid { grid-template-columns: 1fr; } }
