/* ===== Identidad WMD Argentina 2026 / El Gran Jujuy ===== */
:root {
  --magenta: #e6197e;
  --blue: #2a5caa;
  --green: #4caf2f;
  --yellow: #f6c21c;
  --magenta-dark: #c0106a;   /* textos de acento sobre blanco */

  --night-900: #0d1b2e;      /* cielo nocturno de la foto */
  --night-800: #15294a;
  --night-700: #24426e;

  --ink: #1f2328;
  --muted: #5b6573;
  --line: #e4e7ec;
  --tag-bg: #eef1f5;
  --bg: #ffffff;
  --bg-soft: #f4f5f7;

  --font-sans: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-serif: "DM Serif Display", Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

svg {
  width: 14px; height: 14px;
  fill: none; stroke: currentColor; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
  flex-shrink: 0;
}

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

/* ===== Header ===== */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: var(--night-900);
  border-bottom: 1px solid rgba(255,255,255,.08);
  color: #fff;
}
.header-inner { display: flex; align-items: center; gap: 24px; height: 72px; }

.logo { display: flex; align-items: center; gap: 8px; line-height: 1; }
.logo-mark { height: 30px; width: auto; display: block; }
.logo-divider { width: 1px; height: 30px; background: rgba(255,255,255,.22); margin: 0 4px; }
.logo-wmd {
  font-weight: 800; font-size: 28px; letter-spacing: -.02em;
  color: var(--magenta);
}
.logo-sub { display: flex; flex-direction: column; gap: 2px; }
.logo-arg {
  font-size: 9px; font-weight: 800; text-transform: uppercase;
  letter-spacing: .08em; color: #7aa7ec;
}
.logo-year { font-size: 15px; font-weight: 800; color: var(--green); }

.main-nav { display: flex; gap: 28px; margin: 0 auto; }
.main-nav a {
  font-size: 12px; font-weight: 600;
  text-transform: uppercase; letter-spacing: .06em;
  color: rgba(255,255,255,.82);
  transition: color .2s;
}
.main-nav a:hover, .main-nav a.active { color: var(--yellow); }

.header-actions { display: flex; align-items: center; gap: 14px; }
.countdown {
  font-size: 11.5px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .06em;
  color: var(--yellow);
}
.btn-primary {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11.5px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .06em;
  background: var(--magenta); color: #fff;
  padding: 10px 16px; border-radius: 6px;
  transition: background .2s, transform .2s;
}
.btn-primary:hover { background: var(--magenta-dark); transform: translateY(-1px); }

.menu-toggle {
  display: none; background: none; border: 0; cursor: pointer;
  padding: 8px; margin-left: auto;
}
.menu-toggle span {
  display: block; width: 22px; height: 2px; background: #fff;
  margin: 5px 0; transition: transform .25s, opacity .25s;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  background:
    radial-gradient(ellipse at 85% 10%, rgba(230,25,126,.16), transparent 50%),
    radial-gradient(ellipse at 10% 100%, rgba(42,92,170,.35), transparent 55%),
    linear-gradient(180deg, var(--night-800) 0%, var(--night-900) 100%);
  color: #fff;
  padding: 28px 0 72px;
}
.hero-stripe {
  position: absolute; left: 0; right: 0; bottom: 0; height: 5px;
  background: linear-gradient(90deg,
    var(--magenta) 0 25%, var(--blue) 25% 50%,
    var(--green) 50% 75%, var(--yellow) 75% 100%);
}
.breadcrumb {
  display: flex; gap: 10px; align-items: center;
  font-size: 13px; color: rgba(255,255,255,.7);
  margin-bottom: 36px;
}
.breadcrumb a:hover { color: #fff; }
.breadcrumb .current { color: var(--yellow); font-weight: 600; }

.eyebrow {
  font-size: 10.5px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .2em;
  color: var(--yellow);
  margin: 0 0 12px;
}
.hero h1 {
  font-weight: 500;
  font-size: clamp(30px, 4.6vw, 46px);
  line-height: 1.15; letter-spacing: -.02em;
  margin: 0 0 18px;
}
.hero h1 em { font-style: normal; font-weight: 800; color: #ff5ba8; }
.big-10 {
  display: inline-block;
  font-weight: 800;
  background: #fff; color: var(--night-900);
  padding: 0 .18em; border-radius: 8px;
  margin-right: .1em;
}
.lead {
  font-size: clamp(15px, 1.6vw, 17.5px);
  color: rgba(255,255,255,.75);
  max-width: 640px; margin: 0 0 28px;
}
.hero-link { font-size: 14px; color: rgba(255,255,255,.75); margin: -14px 0 26px; }
.hero-link a {
  display: inline-flex; align-items: center; gap: 5px;
  color: var(--yellow); font-weight: 700;
  border-bottom: 1px solid rgba(246,194,28,.4);
}
.hero-link a:hover { border-bottom-color: var(--yellow); }
.site-footer a { color: rgba(255,255,255,.85); font-weight: 600; }
.site-footer a:hover { color: var(--yellow); }
.hero-meta {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-wrap: wrap; gap: 10px 26px;
  font-size: 14px; font-weight: 600;
}
.hero-meta li { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta svg { width: 16px; height: 16px; color: var(--yellow); }

/* ===== Tabs de días ===== */
.agenda { padding: 40px 0 72px; }

.day-tabs {
  display: flex; gap: 6px;
  max-width: 380px; margin: 0 auto 44px;
  padding: 7px;
  border: 1px solid var(--line); border-radius: 10px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(13,27,46,.05);
}
.day-tabs button {
  flex: 1;
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  font: inherit; color: var(--ink);
  background: transparent; border: 0; border-radius: 7px;
  padding: 9px 12px; cursor: pointer;
  transition: background .2s, color .2s;
}
.tab-label { font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.tab-date { font-size: 11px; font-weight: 500; opacity: .75; }
.day-tabs button:hover:not(.active) { background: var(--bg-soft); }
.day-tabs button.active { background: var(--night-900); color: #fff; }
.day-tabs button:focus-visible { outline: 2px solid var(--magenta); outline-offset: 2px; }

/* ===== Encabezado del día ===== */
.day-header { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 20px; }
.day-number {
  font-family: var(--font-serif);
  font-size: 34px; line-height: 1;
  color: var(--magenta);
}
.day-header h2 { font-weight: 500; font-size: 21px; margin: 0; line-height: 1.3; }
.tz { font-size: 11.5px; color: var(--muted); margin: 2px 0 0; }

.quick-links { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 10.5px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .1em;
  padding: 9px 13px; border-radius: 6px;
}
a.chip { transition: transform .2s, box-shadow .2s; }
a.chip:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(13,27,46,.12); }
.chip-dark { background: var(--night-800); color: #fff; }
.chip-light { border: 1px solid var(--line); color: var(--ink); background: #fff; }
.chip-open { background: #e7f6e1; color: #2c7a17; }
.chip-invite { background: #fde6f1; color: var(--magenta-dark); }
.chip-calendar { background: var(--blue); color: #fff; }

.register-box {
  display: flex; align-items: center; justify-content: space-between; gap: 16px 24px;
  flex-wrap: wrap;
  background: #fde6f1; border: 1px solid #f7b6d4; border-left: 4px solid var(--magenta);
  border-radius: 10px;
  padding: 16px 20px; margin: 4px 0 36px;
}
.register-box > div { min-width: 0; flex: 1 1 260px; }
.register-title {
  font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .12em;
  color: var(--magenta-dark); margin: 0 0 4px;
}
.register-text { font-size: 14.5px; font-weight: 600; margin: 0; }
.btn-register {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--magenta); color: #fff;
  font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em;
  padding: 12px 20px; border-radius: 6px;
  transition: background .2s, transform .2s;
}
.btn-register:hover { background: var(--magenta-dark); transform: translateY(-1px); }
.btn-register svg { width: 16px; height: 16px; }
.link-register { color: var(--magenta-dark); }

.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 28px; }
.btn-lg { font-size: 12.5px; padding: 14px 22px; }
.btn-lg svg { width: 16px; height: 16px; }
.hero-cta-note { font-size: 13px; color: rgba(255,255,255,.75); font-weight: 500; }

.day-text { font-size: 15px; color: var(--muted); margin: 0 0 36px; max-width: 640px; }

/* ===== Timeline ===== */
.timeline { list-style: none; margin: 0; padding: 0; }
.session {
  display: grid; grid-template-columns: 96px 1fr; gap: 24px;
  padding: 26px 0;
  border-top: 1px solid var(--line);
  animation: fadeIn .35s ease both;
}
.session:first-child { border-top: 0; padding-top: 0; }
.session-time {
  font-family: var(--font-serif); font-size: 14px;
  padding-top: 3px; white-space: nowrap;
}
.session-body h3 { font-size: 18px; font-weight: 700; line-height: 1.35; margin: 0 0 6px; }
.tag {
  display: inline-block; vertical-align: middle;
  font-size: 9px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em;
  background: var(--tag-bg); color: var(--night-700);
  padding: 3px 8px; border-radius: 4px;
  margin-left: 6px; position: relative; top: -2px;
}
.subtitle { color: var(--magenta-dark); font-weight: 600; margin: 0 0 10px; }
.description { font-weight: 500; font-size: 14.5px; margin: 0; }
.speakers {
  list-style: none; padding: 0; margin: 14px 0 0;
  display: grid; gap: 10px;
}
.speaker {
  display: flex; flex-direction: column; gap: 1px;
  padding-left: 12px; border-left: 2px solid var(--line);
}
.speaker-name { font-size: 14.5px; font-weight: 700; }
.speaker-role { font-size: 13px; color: var(--muted); line-height: 1.4; }
.speaker-talk { font-size: 13px; font-style: italic; color: var(--magenta-dark); line-height: 1.4; }
.moderator { font-size: 13px; color: var(--muted); margin: 12px 0 0; }
.moderator span { font-weight: 700; color: var(--ink); text-transform: uppercase; font-size: 11px; letter-spacing: .08em; }
.items { margin: 10px 0 0; padding-left: 18px; font-size: 14.5px; font-weight: 500; }
.items li { margin: 3px 0; }
.items li::marker { color: var(--magenta); }
.session.is-highlight .session-body {
  border-left: 3px solid var(--magenta);
  padding-left: 16px; margin-left: -19px;
}
.session.is-highlight .session-time { color: var(--magenta-dark); font-weight: 700; }
.session.is-break { padding: 16px 0; }
.session.is-break .session-body h3 {
  font-size: 12.5px; font-weight: 600;
  text-transform: uppercase; letter-spacing: .1em;
  color: var(--muted); margin: 0; padding-top: 2px;
}

.empty-state {
  border: 1.5px dashed var(--line); border-radius: 12px;
  padding: 32px 28px; text-align: center;
  animation: fadeIn .35s ease both;
}
.empty-state .eyebrow { color: var(--magenta-dark); }
.empty-state h3 { font-size: 19px; margin: 0 0 8px; }
.empty-state p:last-child { color: var(--muted); font-size: 14.5px; margin: 0 auto; max-width: 480px; }

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: none; }
}

/* ===== Sedes ===== */
.info-section { background: var(--bg-soft); padding: 64px 0; }
.info-section .eyebrow, .organizers .eyebrow { color: var(--magenta-dark); }
.section-title { font-size: clamp(22px, 3vw, 28px); font-weight: 700; margin: 0 0 28px; letter-spacing: -.01em; }
.venue-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.venue-card {
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 24px; border-top: 4px solid var(--blue);
}
.venue-card:nth-child(2) { border-top-color: var(--magenta); }
.venue-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; flex-wrap: wrap; }
.venue-day { font-size: 22px; font-weight: 800; }
.venue-date { font-size: 13px; font-weight: 600; color: var(--muted); margin: 0 0 4px; }
.venue-card h3 { font-size: 18px; margin: 0 0 6px; }
.venue-address { font-size: 14px; color: var(--muted); margin: 0 0 14px; }
.venue-links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--blue); }
.link-arrow:hover { text-decoration: underline; }

/* ===== Organizan ===== */
.organizers { padding: 64px 0; }
.org-main { text-align: center; }
.org-brand { display: flex; justify-content: center; margin: 0 0 28px; }
.org-brand img { height: 96px; width: auto; }
.org-logos {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 12px;
  flex-direction: row-reverse;   /* el primer logo de la lista queda a la derecha */
}
.org-logos li {
  flex: 0 1 calc((100% - 36px) / 4);
  display: flex; align-items: center; justify-content: center;
  height: 112px; padding: 14px;
  background: #fff;
  border: 1px solid var(--line); border-radius: 10px;
}
.org-logos img {
  max-width: 100%; max-height: 76px;
  width: auto; height: auto; object-fit: contain;
}
.org-hosts {
  margin-bottom: 44px; padding-bottom: 40px;
  border-bottom: 1px solid var(--line);
  text-align: center;
}
.org-logos--hosts { max-width: 640px; margin: 0 auto; }
.org-logos--hosts li { flex-basis: calc((100% - 24px) / 3); }

.org-support {
  margin-top: 44px; padding-top: 40px;
  border-top: 1px solid var(--line);
  text-align: center;
}
.org-logos--support li { flex-basis: calc((100% - 48px) / 5); height: 96px; padding: 12px; }
.org-logos--support img { max-height: 60px; }
.day-note {
  list-style: none;
  font-size: 13px; color: var(--muted); font-style: italic;
  padding-top: 18px; border-top: 1px solid var(--line);
}

/* ===== Footer ===== */
.site-footer { background: var(--night-900); color: rgba(255,255,255,.65); font-size: 13px; }
.footer-inner { display: flex; justify-content: space-between; gap: 16px; padding: 24px; flex-wrap: wrap; }

/* ===== Responsive ===== */
@media (max-width: 960px) {
  .menu-toggle { display: block; }
  .main-nav, .header-actions { display: none; }
  .nav-open .main-nav {
    display: flex; flex-direction: column; gap: 0;
    position: absolute; top: 72px; left: 0; right: 0;
    background: var(--night-900);
    padding: 8px 24px 20px;
    border-bottom: 1px solid rgba(255,255,255,.08);
  }
  .nav-open .main-nav a { padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.06); }
  .nav-open .menu-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-open .menu-toggle span:nth-child(2) { opacity: 0; }
  .nav-open .menu-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

@media (max-width: 720px) {
  .container { padding: 0 16px; }
  .venue-grid { grid-template-columns: 1fr; }
  .org-logos--support li { flex-basis: calc((100% - 10px) / 2); height: 84px; }
  .org-logos--support img { max-height: 52px; }
  .org-logos { gap: 10px; }
  .org-logos li { flex-basis: calc((100% - 10px) / 2); }
  .org-logos--hosts li { flex-basis: calc((100% - 20px) / 3); height: 84px; padding: 6px; }
  .org-logos--hosts img { max-height: 60px; }
  .org-logos li { height: 96px; padding: 12px; }
  .org-logos img { max-height: 64px; }
  .org-brand img { height: 76px; }
  .session { grid-template-columns: 1fr; gap: 6px; }
  .session-time { padding-top: 0; color: var(--magenta-dark); }
  .tag { margin: 6px 0 0; display: table; top: 0; }
  .session.is-highlight .session-body { margin-left: 0; }
  .day-tabs { max-width: none; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
