/* =========================================================================
   I Congreso de Cibercrimen, Ciberdefensa e IA — San Juan 2026
   Direction B · Señal — ledger/signal aesthetic, square geometry, hairlines.
   Mobile-first. Breakpoints: 480 / 768 / 1024 / 1280 / 1440
   ========================================================================= */

/* ---------- Design tokens ---------- */
:root {
  /* Brand palette (Señal direction) */
  --ink: #0F0C09;
  --surface: #1A140F;
  --hairline: #3A2E24;
  --hairline-soft: #2A2119;

  --copper: #F07A26;
  --gold: #F5D35A;
  --bronze: #B07A3F;

  --text: #F4EEE6;
  --text-secondary: #CFC4B8;
  --muted: #A39485;

  --font-sans: 'Ubuntu', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'Ubuntu Mono', ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;

  --container-w: 1200px;
  --gutter: 20px;

  --ease: cubic-bezier(.22, .8, .32, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--font-sans);
  font-weight: 400;
  line-height: 1.55;
  font-size: 16px;
}
img { max-width: 100%; display: block; height: auto; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
svg { display: block; }

h1, h2, h3, h4 { hyphens: none; overflow-wrap: break-word; }

:focus-visible {
  outline: 3px solid var(--copper);
  outline-offset: 2px;
}
/* Copper backgrounds need an ink outline — a copper ring disappears on copper. */
.cta-final :focus-visible, .mobile-cta :focus-visible {
  outline-color: var(--ink);
}

.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;
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 12px;
  z-index: 999;
  background: var(--copper);
  color: var(--ink);
  padding: 10px 16px;
  font-weight: 700;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; outline-color: var(--ink); }

.container {
  width: 100%;
  max-width: var(--container-w);
  margin-inline: auto;
  padding-inline: var(--gutter);
  min-width: 0;
}

/* ---------- Typography helpers ---------- */
.eyebrow {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 14px;
}
.section__title {
  font-size: clamp(1.75rem, 9.2vw, 3rem);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--text);
  max-width: 20ch;
  text-wrap: balance;
}
.section__title b, .section__title strong { font-weight: 700; }
.section__title .text-accent { font-weight: 700; color: var(--copper); }
.section__lead {
  margin-top: 16px;
  max-width: 60ch;
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.6;
}
.text-accent { color: var(--copper); font-weight: 700; }

/* ---------- Buttons ---------- */
.btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 56px;
  padding: 0 22px;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-align: left;
  border-radius: 0;
}
.btn .icon-arrow { width: 20px; height: 20px; flex-shrink: 0; }
.btn--primary {
  background: var(--copper);
  color: var(--ink);
}
.btn--primary .icon-arrow { color: var(--ink); }
.btn--dark {
  background: var(--ink);
  color: var(--text);
}
.btn--dark .icon-arrow { color: var(--copper); }
.btn--outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--hairline);
  justify-content: center;
  min-height: 48px;
}
.btn--outline:hover { border-color: var(--copper); color: var(--copper); }
.btn--block { width: 100%; }
.btn--inline { display: inline-flex; width: auto; }

@media (min-width: 640px) {
  .btn--inline { min-width: 280px; }
}

/* =========================================================================
   REUSABLE: LEDGER (hairline-ruled index lists) + STATEMENT (typographic callouts)
   ========================================================================= */
.ledger { display: flex; flex-direction: column; margin-top: 8px; }
.ledger__row {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 16px;
  padding-block: 18px;
  border-top: 1px solid var(--hairline-soft);
  min-width: 0;
}
.ledger__row:last-child { border-bottom: 1px solid var(--hairline-soft); }

.ledger__body { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.ledger__title { font-size: 1rem; font-weight: 700; color: var(--text); }
.ledger__desc { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.5; }

.statement {
  margin-top: 36px;
  padding-top: 26px;
  border-top: 1px solid var(--hairline);
}
.statement h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
}
.statement p { color: var(--text-secondary); max-width: 56ch; }

.chip-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.chip {
  padding: 10px 16px;
  border: 1px solid var(--hairline);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

/* =========================================================================
   HERO
   ========================================================================= */
.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100svh;
  padding-top: 28px;
}
.hero__bg,
.network-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}
.hero__inner { position: relative; z-index: 1; flex: 1 0 auto; display: flex; flex-direction: column; gap: 26px; min-width: 0; padding-bottom: 36px; }
/* Meta row pinned to the top; the rest is centered in the remaining height */
.hero__head { margin-top: auto; }
.hero__date-block { margin-bottom: auto; }

.hero__meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero__meta-row { flex-wrap: wrap; justify-content: flex-start; gap: 10px 16px; }
.hero__meta-row .text-accent { color: var(--copper); }
/* San Juan is the host province and this is its first edition: give it weight */
.hero__place { color: var(--text-secondary); }
.hero__place b { font-family: var(--font-sans); font-size: 1.15rem; font-weight: 700; letter-spacing: .04em; color: var(--copper); }
.hero__head { display: flex; flex-direction: column; gap: 18px; }
.hero__date-block { display: flex; flex-direction: column; gap: 18px; margin-top: 8px; min-width: 0; }
.hero__title-line { display: inline; }

.hero__title {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: clamp(2.2rem, 11.2vw, 4.5rem);
  line-height: 1.03;
  letter-spacing: -0.02em;
  color: var(--text);
  text-wrap: balance;
  max-width: 18ch;
}
.hero__title-eyebrow { display: block; color: var(--copper); }

.hero__subtitle {
  font-size: clamp(1rem, 3.2vw, 1.15rem);
  line-height: 1.45;
  color: var(--text-secondary);
  max-width: 34ch;
}

.hero__date-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px;
  align-items: end;
}
.hero__date {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: clamp(3rem, 18.5vw, 5.5rem);
  line-height: 0.85;
  letter-spacing: -0.04em;
  color: var(--copper);
}
/* Date separator: light en dash with air, so it never fuses with the
   tightly tracked bold digits (brand cover uses a spaced "19 - 20"). */
.date-sep {
  display: inline-block;
  font-weight: 300;
  margin-inline: 0.08em;
  transform: translateY(-0.04em);
}
.hero__date-label {
  display: flex;
  flex-direction: column;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  line-height: 1.4;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text-secondary);
  padding-bottom: 4px;
}
.hero__venue {
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--text-secondary);
}

/* Organizers band at the foot of the hero */
.hero__logos {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--hairline);
  background: rgba(34, 26, 19, 0.88);
}
.hero__logos-inner { display: flex; flex-direction: column; gap: 22px; padding-block: 24px 28px; }
.hero__logos-group { display: flex; flex-direction: column; align-items: center; gap: 10px; min-width: 0; text-align: center; }
.hero__logos-label {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--copper);
  white-space: nowrap;
}
.hero__logo-organiza { width: min(100%, 320px); height: auto; }
.hero__logos-row { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 12px 18px; }
.hero__cic { display: flex; align-items: center; gap: 8px; }
.hero__cic-logo { width: 48px; height: auto; }
.hero__cic-text { display: flex; flex-direction: column; line-height: 1.2; text-align: left; }
.hero__cic-text strong { font-size: 0.85rem; color: var(--text); }
.hero__cic-text small { font-size: 0.7rem; color: var(--muted); }
.hero__logo-cliclex { height: 26px; width: auto; }
.hero__logo-mpf { height: 34px; width: auto; }

.hero__cta-row { display: flex; flex-direction: column; gap: 18px; }

.countdown { display: flex; flex-direction: column; gap: 10px; }
.countdown__label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}
.countdown__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}
.countdown__cell {
  padding: 12px 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  border-left: 1px solid var(--hairline);
  text-align: center;
}
.countdown__cell:first-child { border-left: 0; }
.countdown__value {
  font-family: var(--font-mono);
  font-size: clamp(1.25rem, 6.5vw, 1.75rem);
  font-weight: 500;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}
.countdown__value--accent { color: var(--copper); }
.countdown__unit {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}

/* =========================================================================
   NUMBERS — one compact dark band: the certification (strongest credential)
   on the left, the three figures inline on the right; copper top rule.
   ========================================================================= */
.numbers { position: relative; background: var(--ink); color: var(--text); border-top: 2px solid var(--copper); }
.numbers__bar { position: relative; isolation: isolate; border-bottom: 1px solid var(--hairline); }
.numbers__bar-inner { display: flex; flex-direction: column; gap: 20px; padding-block: 24px; }
.numbers__cert { display: flex; align-items: center; gap: 14px; min-width: 0; }
.numbers__cert-icon { width: 40px; height: 40px; flex-shrink: 0; color: var(--copper); }
.numbers__cert-text { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.numbers__cert-kicker {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--copper);
}
.numbers__cert-issuer { font-weight: 700; font-size: clamp(1.4rem, 6vw, 2rem); line-height: 1.05; letter-spacing: -0.02em; }
.numbers__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  padding: 16px 0 0;
  list-style: none;
  border-top: 1px solid var(--hairline);
}
.numbers__stat { display: flex; flex-direction: column; gap: 4px; min-width: 0; padding-inline: 12px; border-left: 1px solid var(--hairline); }
.numbers__stat:first-child { padding-left: 0; border-left: 0; }
.numbers__value {
  font-weight: 700;
  font-size: 2rem;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--copper);
  font-variant-numeric: tabular-nums;
}
.numbers__label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  line-height: 1.3;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.numbers__features {
  display: flow-root; /* contain the ledger's top margin (it collapsed and exposed a copper strip) */
  background: var(--ink);
  color: var(--text);
  position: relative;
  isolation: isolate;
}
.numbers__features .ledger__row {
  grid-template-columns: minmax(0, 1fr);
  border-top-color: var(--hairline-soft);
  padding-inline: var(--gutter);
}
.numbers__features .ledger__row:first-child { border-top: 0; }

/* =========================================================================
   KINETIC MARQUEE — full-bleed decorative band, brand topic words only.
   Two identical tracks side by side inside a max-content wrapper; animating
   the wrapper by -50% loops seamlessly since track two mirrors track one.
   ========================================================================= */
.marquee {
  overflow: hidden;
  border-block: 1px solid var(--hairline);
  background: var(--ink);
  padding-block: 20px;
  position: relative;
  isolation: isolate;
}
.marquee__inner {
  display: flex;
  width: max-content;
  animation: marquee-scroll 34s linear infinite;
}
.marquee:hover .marquee__inner,
.marquee.is-paused .marquee__inner {
  animation-play-state: paused;
}
.marquee__track {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.marquee__item {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: clamp(1.5rem, 6vw, 2.75rem);
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--bronze);
  padding-inline: 18px;
  white-space: nowrap;
}
.marquee__item--fill {
  color: var(--copper);
  -webkit-text-stroke: 1.5px var(--copper);
}
.marquee__dot {
  width: 7px;
  height: 7px;
  background: var(--copper);
  flex-shrink: 0;
}
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee__inner { animation: none; }
}

/* =========================================================================
   GENERIC SECTIONS
   ========================================================================= */
.section { padding-block: 56px; position: relative; isolation: isolate; }
#lobby { overflow: hidden; }
.section--surface { background: var(--surface); }

/* Why */
.why__grid { display: flex; flex-direction: column; gap: 32px; min-width: 0; }
.why__main { min-width: 0; }
/* Mobile/tablet: the globe becomes a dimmed background behind the copy
   (saves a full screen of scroll and keeps the text readable). */
@media (max-width: 899px) {
  #why { overflow: hidden; }
  .why__grid { position: relative; isolation: isolate; }
  .why__main { position: relative; z-index: 1; }
  .why__grid .why__globe {
    position: absolute;
    z-index: 0;
    top: 50%;
    left: 50%;
    width: min(115%, 560px);
    transform: translate(-50%, -50%);
    opacity: .45;
    pointer-events: none;
  }
}
.why__main .why__copy { margin-top: 20px; }
.why__copy { display: flex; flex-direction: column; gap: 18px; color: var(--text-secondary); font-size: 1rem; line-height: 1.6; max-width: 60ch; min-width: 0; position: relative; z-index: 1; }
.why__copy strong { color: var(--text); font-weight: 700; }

/* Network visual (Lobby): a dedicated, clearly-visible node-network cluster that grows
   outward from a focal centre once in view — not a boxed widget. No border,
   no panel background: it bleeds edge-to-edge and fades into the section
   via a mask, so it reads as atmosphere behind/beside the copy. Decorative
   — the real text lives in .lobby__copy, this whole block is aria-hidden.
   Mobile-first: a full-bleed band below the text; from 900px it becomes an
   absolutely-positioned layer spanning the section's right half. */
/* Mobile/tablet: hidden — it only added scroll length there */
@media (max-width: 899px) { .net-visual { display: none; } }
.net-visual {
  position: relative;
  height: 260px;
  margin-top: 28px;
  overflow: hidden;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 18%, black 82%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, black 18%, black 82%, transparent 100%);
}
.net-visual-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.net-visual-label {
  position: absolute;
  left: 0;
  top: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--text-secondary);
  white-space: nowrap;
  opacity: 0;
  transition: opacity .5s var(--ease);
  will-change: transform;
}
.net-visual-label.is-visible { opacity: 1; }
.net-visual-label-dot {
  width: 5px;
  height: 5px;
  background: var(--copper);
  flex-shrink: 0;
}
.net-visual-label-leader {
  width: 14px;
  height: 1px;
  background: var(--hairline);
  flex-shrink: 0;
}
@media (prefers-reduced-motion: reduce) {
  .net-visual-label { transition: none; }
}

@media (min-width: 900px) {
  .net-visual {
    position: absolute;
    inset: 0 0 0 50%;
    height: auto;
    margin-top: 0;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 35%);
    mask-image: linear-gradient(to right, transparent 0%, black 35%);
  }
  .net-visual-label { font-size: 13px; }
}

/* Audiences / Axes use .ledger + .statement (defined above) */

/* =========================================================================
   TABS / PROGRAMA
   ========================================================================= */
.tabs { margin-top: 0; }
.programa__side .tabs__list { margin-top: 28px; }
.tabs__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.tab-btn {
  min-height: 56px;
  padding: 10px 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  text-align: left;
  background: var(--surface);
  color: var(--text-secondary);
  border: 1px solid var(--hairline);
}
.tab-btn[aria-selected="true"] {
  background: var(--text);
  color: var(--ink);
  border-color: var(--text);
}
.tab-btn__day {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.tab-btn__date { font-size: 0.95rem; font-weight: 700; }

.tabs__panel-title {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 24px 0 6px;
}
.tabs__panel[data-panel-hidden] { display: none; }

.schedule { display: flex; flex-direction: column; position: relative; padding-left: 16px; }
.schedule__item {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 12px;
  padding-block: 18px;
  border-bottom: 1px solid var(--hairline-soft);
  min-width: 0;
}
/* Signal timeline: a hairline rail with a copper fill that grows as the
   list scrolls through view (js/main.js, initScheduleTimeline). */
.schedule__track {
  position: absolute;
  left: 3px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--hairline-soft);
  pointer-events: none;
}
.schedule__track-fill {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: var(--copper);
  transform: scaleY(0);
  transform-origin: top;
  will-change: transform;
}
@media (prefers-reduced-motion: reduce) {
  .schedule__track-fill { transform: scaleY(1); }
}
.schedule__time {
  font-family: var(--font-mono);
  font-weight: 500;
  color: var(--copper);
  font-variant-numeric: tabular-nums;
  font-size: 0.95rem;
  position: relative;
  transition: color .3s var(--ease);
}
.schedule__time::before {
  content: '';
  position: absolute;
  left: -12px;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  background: var(--hairline);
  transition: background .3s var(--ease), box-shadow .3s var(--ease);
}
.schedule__time.is-lit {
  color: var(--gold);
  font-weight: 700;
}
.schedule__time.is-lit::before {
  background: var(--copper);
  box-shadow: 0 0 0 3px rgba(240, 122, 38, .18);
}
@media (prefers-reduced-motion: reduce) {
  .schedule__time, .schedule__time::before { transition: none; }
}
.schedule__body { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.schedule__title { color: var(--text); font-weight: 600; font-size: 0.98rem; line-height: 1.3; }
.schedule__desc { color: var(--text-secondary); font-size: 0.88rem; line-height: 1.5; }
.schedule__speaker { color: var(--muted); font-size: 0.85rem; }

.schedule__item--break {
  align-items: center;
  padding-block: 10px;
  opacity: .8;
}
.schedule__item--break .schedule__time { color: var(--muted); font-size: 0.8rem; }
.schedule__item--break .schedule__title {
  text-align: left;
  justify-self: start;
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 0.8rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--muted);
}

/* =========================================================================
   SPEAKERS
   ========================================================================= */
/* Flex (not grid) so an incomplete last row is centered; --cols/--gx keep
   every card the same width as in a full row. */
.speaker-grid {
  --cols: 2;
  --gx: 16px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  column-gap: var(--gx);
  row-gap: 28px;
  margin-top: 28px;
}
.speaker-grid > * { flex: 0 0 calc((100% - (var(--cols) - 1) * var(--gx)) / var(--cols)); }
.speaker-card { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.speaker-card__photo,
.speaker-card__avatar {
  width: 116px;
  height: 116px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.speaker-card__avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(240, 122, 38, 0.14);
  color: var(--copper);
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 1.8rem;
  letter-spacing: -0.02em;
  border: 3px solid var(--copper);
}
.speaker-card__name { font-size: 1rem; font-weight: 700; color: var(--text); line-height: 1.25; }
.speaker-card__org {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--copper);
}
.speaker-card__bio { font-size: 0.85rem; line-height: 1.5; color: var(--text-secondary); }

/* Panel local: a moderator + participants "table" instead of a flat grid */
.panel-table {
  display: grid;
  gap: 32px;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--hairline);
}
.panel-table__label {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--copper);
}
.panel-table__moderator {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  align-items: center;
  gap: 16px 18px;
  min-width: 0;
}
.panel-table__moderator .panel-table__label { grid-column: 1 / -1; }
.panel-table__mod-photo { width: 104px; height: 104px; border-radius: 50%; object-fit: cover; }
.panel-table__mod-body { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.panel-table__mod-name { font-size: 1.3rem; font-weight: 700; line-height: 1.2; color: var(--text); }
.panel-table__participants { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.panel-table__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 16px;
}
.panel-table__grid .speaker-card__photo,
.panel-table__grid .speaker-card__avatar { width: 96px; height: 96px; }

/* =========================================================================
   VENUE
   ========================================================================= */
/* =========================================================================
   PHOTOS — shared copper-duotone treatment so stock/real photos read as
   part of the brand (grayscale → copper multiply → ink gradient).
   ========================================================================= */
.photo-bg { position: absolute; inset: 0; z-index: -2; overflow: hidden; background: var(--ink); }
.photo-bg img { position: relative; z-index: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.1) brightness(.85); }
.photo-bg::before,
.photo-bg::after { content: ""; position: absolute; inset: 0; pointer-events: none; }
.photo-bg::before { z-index: 1; background: var(--copper); mix-blend-mode: multiply; opacity: .6; }
.photo-bg::after { z-index: 2; background: linear-gradient(90deg, rgba(15, 12, 9, .94) 0%, rgba(15, 12, 9, .78) 45%, rgba(15, 12, 9, .35) 100%); }

/* Small screens: copy spans the full width, so darken evenly instead of left→right */
@media (max-width: 899px) {
  .photo-bg::after { background: rgba(15, 12, 9, .74); }
}
.venue--photo { position: relative; isolation: isolate; min-height: 70vh; display: flex; align-items: center; }
.venue--photo .container { width: 100%; }

.lobby__inner { display: flex; flex-direction: column; gap: 36px; }
.lobby__copy { min-width: 0; }

.venue__inner { display: flex; flex-direction: column; gap: 22px; }
.venue .btn--outline { align-self: flex-start; }

/* =========================================================================
   FINAL CTA (solid copper block)
   ========================================================================= */
.cta-final { background: var(--copper); color: var(--ink); padding-block: 56px 64px; position: relative; isolation: isolate; }
.cta-final .eyebrow { color: var(--ink); opacity: .7; }
.cta-final__title {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: clamp(2.2rem, 11.2vw, 3.5rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  max-width: 18ch;
  text-wrap: balance;
}
.cta-final__title b { font-weight: 700; }
.cta-final__lead {
  margin-top: 18px;
  max-width: 58ch;
  font-size: 1rem;
  line-height: 1.55;
}
.cta-final__actions { margin-top: 30px; }
.cta-final__date { display: none; }

/* =========================================================================
   MOBILE STICKY CTA BAR (square copper)
   ========================================================================= */
.mobile-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 90;
  background: var(--copper);
  padding-bottom: env(safe-area-inset-bottom);
  transform: translateY(100%);
  transition: transform .25s var(--ease);
}
.mobile-cta.is-visible { transform: translateY(0); }
.mobile-cta .btn { background: transparent; color: var(--ink); }
@media (prefers-reduced-motion: reduce) {
  .mobile-cta { transition: none; }
}

/* =========================================================================
   REVEAL ANIMATIONS (progressive enhancement — only active once JS runs)
   ========================================================================= */
html.js .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}
html.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  html.js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* =========================================================================
   DECODE / SCRAMBLE TEXT (progressive enhancement — js/main.js initDecodeText)
   The real text stays in a .sr-only sibling; the scrambling run is a plain
   aria-hidden text span, while the title's own height is pinned for the
   animation's duration so a transient internal re-wrap can't push content
   below it.
   ========================================================================= */

/* =========================================================================
   GRAIN TEXTURE — subtle film-grain on dark (ink/surface) blocks only.
   A desaturated feTurbulence noise painted just above each block's own
   background (z-index:-1 inside its isolated stacking context) and below
   its content, so it never touches text contrast. Static, not animated.
   Deliberately not applied to the solid-copper blocks (.numbers, .cta-final).
   ========================================================================= */
.hero::before,
.section::before,
.numbers__bar::before,
.numbers__features::before,
.marquee::before,
.site-footer::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.05;
  background-repeat: repeat;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* =========================================================================
   DEFENSIVE OVERFLOW GUARD
   Grid/flex items default to min-width:auto, which is content-based: a
   single long unbreakable word can force a track wider than its share and
   push the whole page into horizontal scroll on narrow phones. min-width:0
   lets these items shrink to their track/flex-basis instead.
   ========================================================================= */
.ledger__row, .ledger__body, .speaker-card, .schedule__item, .schedule__body, .numbers__stat, .container, .why__grid, .why__copy, .net-visual {
  min-width: 0;
}

/* =========================================================================
   RESPONSIVE
   ========================================================================= */
@media (min-width: 480px) {
  .speaker-grid { --cols: 3; }
}

@media (min-width: 640px) {
  :root { --gutter: 32px; }
}

@media (min-width: 768px) {
  .section { padding-block: 88px; }
  .hero { padding-top: 36px; }
  .hero__inner { padding-bottom: 48px; }

  .hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    grid-template-rows: auto minmax(0, 1fr);
    gap: 48px;
    align-items: center;
  }
  .hero__meta-row { grid-column: 1 / -1; align-self: start; }
  .hero__head { display: flex; flex-direction: column; gap: 24px; margin: 0; }
  .hero__date-block { margin: 0; }
  /* The headline column is only ~1.3fr of a 768–1023px container — much
     narrower than the full viewport the mobile clamp assumes — so its vw
     coefficient way overshoots and forces mid-word breaks. Cap it here;
     the 1024px/1280px rules below restore a larger size as the column
     widens. */
  .hero__title { font-size: clamp(2rem, 4vw, 3.6rem); max-width: none; }
  .hero__title-line { white-space: nowrap; }
  .hero__date-block {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding-top: 6px;
    min-width: 0;
  }
  /* The right rail is narrower than the mobile full-bleed hero, so the big
     date numeral needs a smaller ceiling here or "Octubre" overflows the
     tight second column next to it. The 1280px+ rule below restores the
     larger size once the rail has more room. */
  .hero__date { font-size: clamp(2.5rem, 7vw, 3.5rem); }

  .numbers__features .ledger { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .numbers__features .ledger__row { border-top: 0; border-left: 1px solid var(--hairline-soft); }
  .numbers__features .ledger__row:first-child { border-left: 0; padding-left: 0; }

  .tabs__list { grid-template-columns: repeat(2, minmax(0, 280px)); }
  .schedule__item { grid-template-columns: 70px minmax(0, 1fr); }

  .speaker-grid { --cols: 4; --gx: 24px; row-gap: 36px; }

  .venue__inner { flex-direction: row; align-items: flex-start; justify-content: space-between; gap: 32px; }

  .cta-final { padding-block: 88px; }
  .cta-final .container { display: flex; flex-direction: column; align-items: flex-start; }

  
  
  

  .mobile-cta { display: none; }
}

@media (min-width: 1024px) {
  .speaker-grid { --cols: 5; }
}

@media (min-width: 1280px) {
  :root { --gutter: 40px; }
  .hero { padding-top: 64px; }
  .hero__inner { grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.9fr); gap: 80px; }
  .hero__date { font-size: clamp(3.5rem, 5.4vw, 5rem); }
  .speaker-grid { --cols: 6; }
}

@media (min-width: 1024px) {
  .cta-final .container {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    column-gap: 64px;
    align-items: start;
  }
  .cta-final .container > * { grid-column: 1; }
  .cta-final .container > .cta-final__date {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
    grid-column: 2;
    grid-row: 1 / span 5;
    align-self: center;
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: clamp(6rem, 11vw, 10rem);
    line-height: 0.8;
    letter-spacing: -0.05em;
    color: var(--ink);
  }
  .cta-final__date-label {
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: .12em;
    text-transform: uppercase;
  }
}

@media (min-width: 900px) {
  /* Labels sit above the logos (not beside), freeing width for bigger marks;
     the organizer gets the larger share of the band. */
  .hero__logos-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: stretch;
    gap: 0;
    padding-block: 26px;
  }
  .hero__logos-group { align-items: flex-start; justify-content: center; gap: 14px; text-align: left; }
  .hero__logos-group--acompanan { padding-left: clamp(24px, 3vw, 48px); border-left: 1px solid var(--hairline); }
  .hero__logo-organiza { width: clamp(300px, 32vw, 440px); }
  .hero__logos-row { flex-wrap: nowrap; justify-content: flex-start; gap: clamp(20px, 2.4vw, 36px); }
  .hero__cic-logo { width: 72px; }
  .hero__cic-text strong { font-size: 1rem; }
  .hero__cic-text small { font-size: 0.78rem; }
  .hero__logo-cliclex { height: 38px; }
  .hero__logo-mpf { height: 54px; }
}

@media (min-width: 900px) {
  .panel-table {
    grid-template-columns: minmax(0, 280px) minmax(0, 1fr);
    gap: 0;
    padding-top: 36px;
  }
  .panel-table__moderator {
    grid-template-columns: minmax(0, 1fr);
    align-content: start;
    align-items: start;
    padding-right: 40px;
    border-right: 1px solid var(--hairline);
  }
  .panel-table__mod-photo { width: 168px; height: 168px; }
  .panel-table__mod-name { font-size: 1.5rem; }
  .panel-table__participants { padding-left: 40px; }
  .panel-table__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
  .panel-table__grid .speaker-card__photo,
  .panel-table__grid .speaker-card__avatar { width: 112px; height: 112px; }
}

@media (min-width: 900px) {
  /* Copy on the left half; the network visual fills the right half */
  .lobby__inner { display: block; }
  .lobby__copy { position: relative; z-index: 1; max-width: 50%; }
  /* Why: copy + globe side by side */
  .why__grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 48px; align-items: center; }
  #why { padding-bottom: 40px; }
  .why__globe { margin: 0; }
}

/* =========================================================================
   MOTION HOOKS (js/motion.js — anime.js)
   ========================================================================= */
html.motion-pending .hero-anim { opacity: 0; }

/* =========================================================================
   LOBBY GLOBE (cobe) — San Juan <-> Boston
   ========================================================================= */
.lobby__globe {
  position: relative;
  width: min(100%, 520px);
  aspect-ratio: 1;
  margin-inline: auto;
}
.globe-canvas {
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s var(--ease);
}
.lobby__globe.is-ready .globe-canvas { opacity: 1; }
.lobby__globe.is-failed { display: none; }

/* =========================================================================
   FLOATING ACTIONS — WhatsApp + back to top
   ========================================================================= */
.float-actions {
  position: fixed;
  right: 16px;
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  z-index: 90;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  opacity: 0;
  visibility: hidden;
  transition: transform .3s var(--ease), opacity .3s, visibility .3s;
}
html.is-past-hero .float-actions { opacity: 1; visibility: visible; }
html.has-mobile-cta .float-actions { transform: translateY(-68px); }
.float-btn {
  position: relative;
  display: grid;
  place-items: center;
  border-radius: 50%;
  text-decoration: none;
  transition: transform .2s var(--ease), box-shadow .2s, background-color .2s, color .2s;
}
/* WhatsApp: the universally recognised solid green disc */
/* WhatsApp: glossy 3D disc (app-icon style) built with gradients + shadows */
.float-btn--whatsapp {
  width: 48px;
  height: 48px;
  color: #fff;
  background:
    radial-gradient(120% 90% at 30% 15%, rgba(255, 255, 255, .45) 0%, rgba(255, 255, 255, 0) 45%),
    linear-gradient(180deg, #5BE584 0%, #25D366 45%, #12A84A 100%);
  box-shadow:
    inset 0 2px 1px rgba(255, 255, 255, .45),
    inset 0 -4px 8px rgba(0, 60, 20, .35),
    0 2px 0 #0E8A3C,
    0 10px 20px rgba(0, 0, 0, .45);
}
.float-btn--whatsapp svg { filter: drop-shadow(0 1.5px 1px rgba(0, 70, 25, .55)); }
.float-btn--whatsapp:hover {
  transform: translateY(-2px);
  box-shadow:
    inset 0 2px 1px rgba(255, 255, 255, .5),
    inset 0 -4px 8px rgba(0, 60, 20, .3),
    0 4px 0 #0E8A3C,
    0 14px 26px rgba(0, 0, 0, .5);
}
.float-btn--whatsapp:active { transform: translateY(1px); box-shadow: inset 0 2px 1px rgba(255, 255, 255, .35), inset 0 -2px 6px rgba(0, 60, 20, .35), 0 1px 0 #0E8A3C, 0 6px 12px rgba(0, 0, 0, .4); }
/* Back to top: small dark disc; the copper ring fills with page progress */
.float-btn--top {
  order: -1;
  width: 48px;
  height: 48px;
  color: var(--copper);
  background: rgba(15, 12, 9, .85);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, .35);
}
.float-btn--top:hover { color: var(--ink); background: var(--copper); }
.float-btn__ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); pointer-events: none; }
.float-btn__ring circle { fill: none; stroke-width: 2; }
.float-btn__ring-track { stroke: var(--hairline); }
.float-btn__ring-fill {
  stroke: var(--copper);
  stroke-dasharray: 100;
  stroke-dashoffset: calc(100 - var(--scroll-progress, 0) * 100);
  stroke-linecap: round;
}
.float-btn--top:hover .float-btn__ring-fill { stroke: var(--ink); }
.float-btn:focus-visible { outline: 2px solid var(--copper); outline-offset: 3px; }
@media (min-width: 768px) {
  .float-actions { right: 24px; bottom: 24px; }
  html.has-mobile-cta .float-actions { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .float-actions, .float-btn { transition: none; }
}

/* =========================================================================
   PATROCINAN — tiered logo slots (placeholders until logos arrive).
   Slot size encodes the tier: Platino > Oro > Plata.
   ========================================================================= */
.sponsors { display: flex; flex-direction: column; gap: 40px; margin-top: 36px; }
.sponsors__tier { display: flex; flex-direction: column; gap: 14px; }
.sponsors__tier-name {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--copper);
}
.sponsors__tier-name::after { content: ""; flex: 1; height: 1px; background: var(--hairline); }
.sponsors__grid { display: grid; gap: 12px; list-style: none; margin: 0; padding: 0; }
.sponsors__grid--platino { grid-template-columns: minmax(0, 1fr); }
.sponsors__grid--oro { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.sponsors__grid--plata { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.sponsor-slot {
  display: grid;
  place-items: center;
  min-width: 0;
  padding: 16px;
  border: 1px dashed rgba(240, 122, 38, .45);
  background: rgba(15, 12, 9, .35);
}
/* Real logos: <img> inside the slot keeps its aspect and fits the box */
.sponsor-slot img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
/* Odd last slot in a 2-col mobile row: center it instead of leaving a gap */
.sponsors__grid--oro .sponsor-slot:last-child:nth-child(odd) { grid-column: 1 / -1; width: calc(50% - 6px); justify-self: center; }
.sponsor-slot--platino { height: 150px; }
.sponsor-slot--oro { height: 110px; }
.sponsor-slot--plata { height: 84px; }
.sponsor-slot__ph {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
}
@media (min-width: 768px) {
  .sponsors__grid--platino { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .sponsors__grid--oro { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .sponsors__grid--oro .sponsor-slot:last-child:nth-child(odd) { grid-column: auto; width: auto; justify-self: stretch; }
  .sponsors__grid--plata { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
  .sponsor-slot--platino { height: 200px; }
  .sponsor-slot--oro { height: 140px; }
  .sponsor-slot--plata { height: 100px; }
}

@media (min-width: 900px) {
  .numbers__bar-inner { flex-direction: row; align-items: center; justify-content: space-between; gap: 40px; padding-block: 28px; }
  .numbers__stats { display: flex; padding: 0; border-top: 0; }
  .numbers__stat,
  .numbers__stat:first-child { flex-direction: row; align-items: center; gap: 12px; padding-inline: 28px; border-left: 1px solid var(--hairline); }
  .numbers__stat:last-child { padding-right: 0; }
  .numbers__value { font-size: 2.4rem; }
  .numbers__label { max-width: 11ch; }
}

/* Hero must fit one screen on desktop even in short windows (bookmarks bar,
   laptop screens): scale type, gaps and the logos band with viewport HEIGHT
   too, not only width. */
@media (min-width: 900px) {
  .hero { padding-top: clamp(14px, 3.5vh, 64px); }
  .hero__inner { gap: clamp(14px, 3vh, 48px); padding-bottom: clamp(14px, 3.5vh, 48px); }
  .hero__head { gap: clamp(10px, 2vh, 24px); }
  .hero__title { font-size: min(clamp(2rem, 4vw, 3.6rem), 7.2vh); }
  .hero__subtitle { font-size: min(1.15rem, 2.6vh); }
  .hero__date { font-size: min(clamp(3.5rem, 5.4vw, 5rem), 10vh); }
  .hero__date-block { gap: clamp(10px, 2vh, 24px); }
  .hero__cta-row { gap: clamp(10px, 1.8vh, 18px); }
  .countdown__cell { padding-block: clamp(6px, 1.4vh, 14px); }
  .hero__logos-inner { padding-block: clamp(10px, 2.6vh, 26px); }
  .hero__logos-group { gap: clamp(6px, 1.4vh, 14px); }
  .hero__logo-organiza { width: min(clamp(300px, 32vw, 440px), 52vh); }
  .hero__cic-logo { width: min(72px, 8.5vh); }
  .hero__logo-cliclex { height: min(38px, 4.6vh); }
  .hero__logo-mpf { height: min(54px, 6.4vh); }
}

/* =========================================================================
   AXES — "the full cycle": five nodes joined by a line (the brand's node
   network motif), from investigation to emerging tech. No boxes, static.
   Mobile: vertical chain; ≥900px: horizontal chain.
   ========================================================================= */
.axes__head { display: flex; flex-direction: column; gap: 20px; }
.axes__statement { max-width: 40ch; }
.axes__statement h3 { font-size: 1rem; font-weight: 700; color: var(--text); margin-bottom: 6px; }
.axes__statement p { font-size: 0.95rem; line-height: 1.6; color: var(--text-secondary); }

.axes__chain {
  --node: 16px;
  position: relative;
  display: grid;
  gap: 26px;
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
}
/* Mobile: each step draws the segment down to the next node, so the line
   ends exactly at the last node. */
.axes__step:not(:last-child)::before {
  content: "";
  position: absolute;
  left: calc(var(--node) / 2 - 1px);
  top: calc(var(--node) / 2);
  bottom: -26px; /* = chain gap */
  width: 2px;
  background: linear-gradient(180deg, var(--bronze), var(--copper));
  opacity: .8;
}
.axes__step {
  position: relative;
  display: grid;
  grid-template-columns: var(--node) minmax(0, 1fr);
  column-gap: 18px;
  row-gap: 4px;
  align-items: start;
  align-content: start;
  min-width: 0;
}
.axes__node {
  grid-row: 1 / span 2;
  width: var(--node);
  height: var(--node);
  margin-top: 2px;
  border-radius: 50%;
  background: var(--ink);
  border: 2px solid var(--copper);
  box-shadow: 0 0 0 4px var(--ink), 0 0 14px rgba(240, 122, 38, .45);
  position: relative;
  z-index: 1;
}
.axes__node::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--copper);
}
.axes__num { font-family: var(--font-mono); font-size: 0.78rem; font-weight: 700; letter-spacing: .12em; color: var(--copper); }
.axes__title { font-size: 1.05rem; font-weight: 500; line-height: 1.35; color: var(--text); }

@media (min-width: 900px) {
  .axes__head { flex-direction: row; justify-content: space-between; align-items: flex-end; gap: 48px; }
  .axes__chain { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; margin-top: 56px; }
  /* Desktop: one horizontal line through the node centres */
  .axes__step:not(:last-child)::before { display: none; }
  .axes__chain::before {
    content: "";
    position: absolute;
    left: 8px;
    /* end at the last node: one column width (5 cols, 4 gaps of 24px) minus half a node */
    right: calc((100% - 96px) / 5 - 8px);
    top: calc(var(--node) / 2 - 1px);
    height: 2px;
    background: linear-gradient(90deg, var(--bronze), var(--copper));
    opacity: .8;
  }
  .axes__step { grid-template-columns: minmax(0, 1fr); row-gap: 10px; }
  .axes__node { grid-row: auto; margin: 0 0 12px; }
  .axes__title { font-size: 1.1rem; max-width: 16ch; }
}

/* Programa ≥1024px: two columns — the heading and day tabs stay pinned on
   the left while the schedule (with its scroll-linked rail) scrolls on the
   right, so wide screens don't leave half the row empty. */
@media (min-width: 1024px) {
  .tabs { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 72px; align-items: start; }
  .programa__side { position: sticky; top: 32px; }
  .programa__side .tabs__list { grid-template-columns: minmax(0, 1fr); gap: 10px; margin-top: 32px; }
  .programa__panels { min-width: 0; }
  .programa__panels .tabs__panel-title { margin-top: 0; }
}

/* =========================================================================
   FOOTER — closing CTA row, organizers / partners / section links, legal bar
   ========================================================================= */
.site-footer { position: relative; isolation: isolate; background: var(--ink); border-top: 2px solid var(--copper); padding-block: 48px 28px; }
.site-footer__top { display: flex; flex-direction: column; gap: 22px; padding-bottom: 36px; border-bottom: 1px solid var(--hairline); }
.site-footer__title { font-size: clamp(1.3rem, 5vw, 1.9rem); font-weight: 700; line-height: 1.15; letter-spacing: -0.01em; color: var(--text); max-width: 30ch; }
.site-footer__title span { color: var(--copper); }
.site-footer__meta { margin-top: 10px; font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: .06em; line-height: 1.6; color: var(--text-secondary); }
.site-footer__grid { display: grid; gap: 32px; padding-block: 36px; }
.site-footer__col { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.site-footer__label { font-family: var(--font-mono); font-size: 0.74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--copper); }
.site-footer__logo-organiza { width: min(100%, 320px); height: auto; }
.site-footer__partners { display: flex; align-items: center; flex-wrap: wrap; gap: 16px 24px; }
.site-footer__cic { display: flex; align-items: center; gap: 8px; }
.site-footer__cic img { width: 52px; height: auto; }
.site-footer__cic > span { display: flex; flex-direction: column; line-height: 1.2; }
.site-footer__cic strong { font-size: 0.88rem; color: var(--text); }
.site-footer__cic small { font-size: 0.72rem; color: var(--muted); }
.site-footer__logo-cliclex { height: 30px; width: auto; }
.site-footer__logo-mpf { height: 40px; width: auto; }
.site-footer__nav { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 20px; }
.site-footer__nav a { color: var(--text-secondary); text-decoration: none; font-size: 0.92rem; }
.site-footer__nav a:hover { color: var(--copper); }
.site-footer__bottom { display: flex; flex-direction: column; gap: 6px; padding-top: 20px; border-top: 1px solid var(--hairline); font-size: 0.74rem; line-height: 1.5; color: var(--muted); }
.site-footer__credit a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
@media (min-width: 900px) {
  .site-footer { padding-block: 64px 32px; }
  .site-footer__top { flex-direction: row; align-items: flex-end; justify-content: space-between; gap: 48px; }
  .site-footer__grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.3fr) minmax(0, .8fr); gap: 48px; }
  .site-footer__col + .site-footer__col { padding-left: 48px; border-left: 1px solid var(--hairline); }
  .site-footer__nav { grid-template-columns: minmax(0, 1fr); }
  .site-footer__bottom { flex-direction: row; justify-content: space-between; gap: 24px; }
}
