/* XIII Congreso Nacional de Neuropsicología
   Lenguaje inspirado en Konfero (fondos nocturnos con resplandor, tarjetas redondeadas, píldoras, títulos geométricos)
   con la identidad del congreso: azul marino y cian. */

@font-face { font-family: "Montserrat"; font-weight: 600 800; font-style: normal; font-display: swap; src: url("fonts/montserrat-var.woff2?v=311d352d") format("woff2"); }
@font-face { font-family: "Material Symbols Rounded"; font-weight: 500; font-style: normal; font-display: block; src: url("fonts/material-symbols-rounded.woff2?v=f7866f4e") format("woff2"); }
@font-face { font-family: "Figtree"; font-weight: 400 700; font-style: normal; font-display: swap; src: url("fonts/figtree-var.woff2?v=202cfb54") format("woff2"); }

:root {
  --night: #060D24;
  --night-2: #0B1A3A;
  --night-3: #142A5C;
  --line-d: rgba(255, 255, 255, .13);
  --muted-d: #AFBEDA;
  --ice: #F4F8FC;
  --tint: #E8F0F9;
  --tint-2: #D6E4F4;
  --line: #D3DEEA;
  --ink: #0B1A3A;
  --ink-2: #4A5874;
  --cyan: #2CC6EA;
  --cyan-2: #86E2F6;
  --cyan-ink: #0C6E8F;
  --blue: #2F6BFF;
  --grad: linear-gradient(135deg, #8FE6F7 0%, #2CC6EA 52%, #17AAD4 100%);
  --focus: #1468C2;

  --f-head: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --f-body: "Figtree", "Helvetica Neue", Arial, sans-serif;

  --gutter: clamp(16px, 4vw, 40px);
  --sec: clamp(72px, 9vw, 120px);
  --top-h: 76px;
  --r-xl: 30px;
  --r-lg: 24px;
  --r: 18px;
  --r-sm: 12px;
  --soft: 0 1px 2px rgba(11, 26, 58, .06), 0 20px 44px -26px rgba(11, 26, 58, .32);
  --ease: cubic-bezier(.16, 1, .3, 1);  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--top-h) + 12px); -webkit-text-size-adjust: 100%; scrollbar-color: var(--night-3) var(--ice); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--ice); color: var(--ink); font: 400 1.0625rem/1.6 var(--f-body); -webkit-font-smoothing: antialiased; caret-color: var(--blue); }
::selection { background: var(--cyan); color: var(--night); }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4 { margin: 0; text-wrap: balance; }
p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-underline-offset: .22em; text-decoration-thickness: 1.5px; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
.top, .hero, .sec--dark, .cta-band, .foot, .dock, .dlg-head, .pe--dark, .poster, .spk-plate, .spk-more, .countdown .cd-cells, .code-box { --focus: var(--cyan); }
.sr, .screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: var(--gutter); top: -100px; z-index: 90; background: var(--cyan); color: var(--night); padding: 10px 16px; border-radius: 999px; font: 700 .95rem var(--f-head); }
.skip:focus { top: 10px; }
.wrap { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: var(--gutter); }
.small { font-size: .88rem; color: var(--ink-2); }

/* ---------------------------------------------------------------- piezas */
.mi { font-family: "Material Symbols Rounded"; font-weight: 500; font-style: normal; line-height: 1; letter-spacing: 0; text-transform: none; text-decoration: none;
  display: inline-block; white-space: nowrap; word-wrap: normal; direction: ltr; font-feature-settings: "liga"; -webkit-font-smoothing: antialiased;
  font-variation-settings: "FILL" 0, "wght" 500, "GRAD" 0, "opsz" 24; overflow: hidden; width: 1em; height: 1em; }
.ic { font-size: 1.25em; flex: none; }
.ic-inline { font-size: 1.05em; vertical-align: -.18em; margin-left: .25em; }
.ic-arrow { font-size: 1.1em; transition: transform .35s var(--ease); }
a:focus-visible .ic-arrow { transform: translateX(3px); }

.pill {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em; padding: 15px 28px;
  background: var(--grad); color: var(--night); border: 0; border-radius: 999px;
  font: 700 .92rem/1.1 var(--f-head); letter-spacing: .04em; text-transform: uppercase; text-decoration: none; white-space: nowrap;
  transition: filter .25s var(--ease), transform .25s var(--ease);
}
.pill small { font: 600 .8rem var(--f-body); letter-spacing: 0; text-transform: none; opacity: .8; }
.pill:hover { filter: brightness(1.06); }
.pill .ic { font-size: 1.1em; }
.pill--sm { padding: 11px 20px; font-size: .8rem; }
.pill--dark { background: var(--night); color: #fff; }
.pill--dark:hover { background: var(--night-3); filter: none; }
.pill--block { width: 100%; }

.link-light, .link-dark { display: inline-flex; align-items: center; gap: .45em; font: 700 .86rem/1.2 var(--f-head); letter-spacing: .04em; text-transform: uppercase; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: .35em; }
.link-light { color: #fff; }
.link-light .ic-arrow { color: var(--cyan); }
.link-dark { color: var(--ink); }

.hint { white-space: nowrap; display: inline-flex; align-items: center; gap: .4em; margin-top: auto; padding-top: 10px; font: 700 .78rem/1.2 var(--f-head); letter-spacing: .05em; text-transform: uppercase; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: .35em; }
.hint .ic-arrow { text-decoration: none; }

.code { display: inline-flex; align-items: center; justify-content: center; min-width: 2.7em; padding: 4px 8px; border-radius: 8px; border: 1.5px solid var(--line); font: 700 .72rem/1 var(--f-head); letter-spacing: .05em; color: var(--ink); text-decoration: none; white-space: nowrap; font-variant-numeric: tabular-nums; background: #fff; }
a.code:hover { border-color: var(--ink); }
.sec--dark .code { background: transparent; color: var(--cyan-2); border-color: rgba(134, 226, 246, .45); }
.code--light { background: transparent; color: var(--cyan-2); border-color: rgba(134, 226, 246, .5); }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: var(--tint-2); color: var(--ink); font: 600 .78rem var(--f-body); }
.chip--line { background: transparent; border: 1px solid var(--line-d); color: var(--muted-d); }

.copy { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; }
.copy-src { font-weight: 600; user-select: all; overflow-wrap: anywhere; }
.copy-btn { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; background: transparent; border: 1.5px solid var(--line); font: 600 .82rem var(--f-body); color: var(--ink); }
.copy-btn:hover { border-color: var(--ink); }
.copy-btn .ic { font-size: 1em; }
.copy-btn--light { color: #fff; border-color: rgba(255, 255, 255, .35); }
.copy-btn--light:hover { border-color: #fff; }

/* ---------------------------------------------------------------- encabezado */
.top { position: sticky; top: 0; z-index: 50; background: rgba(6, 13, 36, .88); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); color: #fff; padding-top: env(safe-area-inset-top, 0px); border-bottom: 1px solid rgba(255, 255, 255, .06); }
.top-in { display: flex; align-items: center; gap: 28px; min-height: var(--top-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; }
.brand b { font: 800 1.7rem/1 var(--f-head); letter-spacing: -.04em; }
.brand span { font: 700 .66rem/1.15 var(--f-head); letter-spacing: .07em; text-transform: uppercase; color: var(--muted-d); }
.brand--lg b { font-size: 2.4rem; }
.brand--lg span { font-size: .78rem; }
.nav { margin-left: auto; }
.nav ul { display: flex; gap: 22px; }
.nav a { font: 600 .82rem/1 var(--f-head); letter-spacing: .05em; text-transform: uppercase; text-decoration: none; color: #DDE6F5; padding: 8px 0; }
.nav a:hover { color: #fff; }
.menu { display: none; margin-left: auto; width: 46px; height: 46px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid var(--line-d); align-items: center; justify-content: center; color: #fff; }

/* ---------------------------------------------------------------- portada */
/* textura y resplandores en capas propias: la textura puede moverse (parallax) bajo los degradados fijos */
.hero { position: relative; isolation: isolate; color: #fff; overflow: hidden; background: var(--night); view-timeline: --hero block; }
.hero::before, .hero::after { content: ""; position: absolute; inset: 0; z-index: -1; }
.hero::before { background: url("img/textura.webp?v=9fb572f9") right top / cover no-repeat; }
.hero::after {
  background:
    radial-gradient(60% 70% at 88% 8%, rgba(44, 198, 234, .32), transparent 60%),
    radial-gradient(45% 60% at 4% 100%, rgba(47, 107, 255, .26), transparent 60%),
    linear-gradient(90deg, var(--night) 30%, rgba(6, 13, 36, .72) 70%, rgba(6, 13, 36, .55));
}
.hero-in { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr); gap: clamp(32px, 5vw, 72px); align-items: center; padding-block: clamp(48px, 6vw, 88px) clamp(64px, 7vw, 104px); }
.hero-copy { display: grid; gap: 26px; align-content: center; }
.hero-title { display: grid; gap: 10px; text-transform: uppercase; }
.ht-num { font: 800 clamp(5.2rem, 10.5vw, 8.6rem)/.82 var(--f-head); letter-spacing: -.045em; }
.ht-txt { font: 800 clamp(2rem, 3.9vw, 3.4rem)/1.04 var(--f-head); letter-spacing: -.012em; max-width: 13em; }
.hero-lead { font-size: clamp(1.05rem, 1.4vw, 1.2rem); line-height: 1.6; color: var(--muted-d); max-width: 46ch; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 26px; }
.hero-org { display: grid; gap: 12px; padding-top: 6px; }
.hero-org p { font: 600 1.05rem var(--f-body); color: var(--muted-d); }
.hero-org ul { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 44px; }
.hero-org img { height: 68px; width: auto; opacity: .92; }

/* mosaico de presentación (sin enlaces: las semblanzas están en la sección de ponentes) */
.hero-art { position: relative; container-type: inline-size; }
.mosaic { --t: calc((100cqi - 28px) / 3 * 1.18); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: repeat(6, calc(var(--t) / 2 - 7px)); gap: 14px; }
.mosaic li { border-radius: var(--r-lg); overflow: hidden; position: relative; background: var(--night-3); }
.mo-1 { grid-area: 1 / 1 / 3 / 2; } .mo-2 { grid-area: 3 / 1 / 5 / 2; }
.mo-3 { grid-area: 1 / 2 / 3 / 3; } .mo-4 { grid-area: 3 / 2 / 5 / 3; } .mo-5 { grid-area: 5 / 2 / 7 / 3; }
.mo-6 { grid-area: 2 / 3 / 4 / 4; } .mo-7 { grid-area: 4 / 3 / 6 / 4; }
.mo-img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; transition: transform .7s var(--ease); }
.mo-tag { position: absolute; inset: auto 0 0; display: grid; gap: 1px; padding: 26px 12px 10px; background: linear-gradient(180deg, transparent, rgba(6, 13, 36, .88)); font: 500 .72rem/1.25 var(--f-body); color: var(--muted-d); }
.mo-tag b { font: 700 .76rem/1.2 var(--f-head); color: #fff; }
.event-card {
  position: absolute; left: clamp(-36px, -3vw, -12px); bottom: 0; width: calc((100cqi - 28px) / 3 + clamp(12px, 3vw, 36px)); display: grid; gap: 8px; padding: 18px 18px 16px;
  background: rgba(11, 26, 58, .74); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border: 1px solid rgba(255, 255, 255, .18); border-radius: var(--r-lg);
}
.ec-k { font: 700 .74rem var(--f-head); letter-spacing: .08em; text-transform: uppercase; color: var(--cyan-2); }
.ec-t { font: 800 1.15rem/1.12 var(--f-head); text-transform: uppercase; padding-bottom: 10px; border-bottom: 1px solid var(--line-d); }
.event-card ul { display: grid; gap: 8px; padding-top: 4px; }
.event-card li { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; line-height: 1.35; }
.event-card .ic { color: var(--cyan); margin-top: 1px; }

/* ---------------------------------------------------------------- cuenta regresiva */
.countdown { background: var(--tint-2); }
.cd-in { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: clamp(16px, 2.4vw, 28px) clamp(24px, 4vw, 56px); padding-block: clamp(36px, 4.5vw, 56px); }
.cd-t { font: 800 clamp(1.5rem, 3vw, 2.5rem)/1.08 var(--f-head); text-transform: uppercase; }
.cd-cells { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(10px, 2vw, 24px); }
.cd-cells li { display: grid; place-items: center; align-content: center; gap: 6px; padding-block: clamp(18px, 3vw, 34px); border-radius: var(--r-lg); color: #fff;
  background: radial-gradient(90% 90% at 100% 100%, rgba(44, 198, 234, .55), transparent 60%), var(--night); }
.cd-cells b { font: 800 clamp(2rem, 6vw, 4.6rem)/1 var(--f-head); font-variant-numeric: tabular-nums; }
.cd-cells span { font-size: clamp(.8rem, 1.3vw, 1.05rem); color: var(--muted-d); }
.cd-live { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-start; gap: 10px 16px; font-size: 1.05rem; }
.cd-live b { font-family: var(--f-head); }

/* ---------------------------------------------------------------- secciones */
.sec { padding-block: var(--sec); background: var(--ice); }
.sec--tint { background: var(--tint); }
.sec--dark { color: #fff; background: radial-gradient(50% 40% at 100% 0%, rgba(44, 198, 234, .22), transparent 70%), radial-gradient(40% 40% at 0% 100%, rgba(47, 107, 255, .18), transparent 70%), var(--night); }
.sec-head { display: grid; gap: 14px; margin-bottom: clamp(36px, 4.5vw, 56px); }
.sec-head--center { text-align: center; justify-items: center; }
.sec-head p { color: var(--ink-2); font-size: 1.08rem; max-width: 62ch; }
.sec--dark .sec-head p { color: var(--muted-d); }
.sec-head a { font-weight: 600; }
.h2 { font: 800 clamp(2rem, 4vw, 3.1rem)/1.06 var(--f-head); letter-spacing: -.012em; text-transform: uppercase; }
.h3 { font: 800 clamp(1.25rem, 2vw, 1.55rem)/1.15 var(--f-head); text-transform: uppercase; }

/* bienvenida */
.about-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.about-media { display: grid; gap: 32px; }
.about-img { width: 100%; aspect-ratio: 16 / 11; object-fit: cover; border-radius: var(--r-xl); }
.about-copy { display: grid; gap: 30px; justify-items: start; padding-top: 8px; }
.about-lead { font-size: 1.12rem; line-height: 1.7; }
.feats { display: grid; gap: 22px; }
.feats li { display: grid; grid-template-columns: 58px minmax(0, 1fr); gap: 18px; align-items: start; }
.feat-ic { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 16px; background: var(--tint-2); color: var(--night-2); }
.feat-ic .ic { font-size: 28px; }
.feats h3 { font: 800 1rem/1.2 var(--f-head); text-transform: uppercase; margin-bottom: 4px; }
.feats p { color: var(--ink-2); }

/* ponentes */
.spk-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2vw, 26px); }
.spk-grid > li { display: flex; }
.spk { flex: 1; display: flex; flex-direction: column; padding: 12px; border-radius: var(--r-xl); background: var(--tint); text-decoration: none; transition: transform .35s var(--ease), background-color .35s var(--ease); }
.spk:hover { background: var(--tint-2); }
.spk-photo { display: block; aspect-ratio: 1; border-radius: var(--r-lg); overflow: hidden; }
.spk-img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; transition: transform .7s var(--ease); }
.spk-plate {
  flex: 1; position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center;
  margin: -52px 10px 0; padding: 18px 16px 16px; border-radius: var(--r); color: #fff;
  background: radial-gradient(70% 60% at 50% 125%, rgba(44, 198, 234, .5), transparent 70%), var(--night);
}
.spk-name { font: 800 1rem/1.2 var(--f-head); text-transform: uppercase; }
.spk-meta { font: 600 .82rem var(--f-body); color: var(--cyan-2); }
.spk-talk { font-size: .86rem; line-height: 1.45; color: var(--muted-d); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.spk .hint .ic-arrow { color: var(--cyan); }
.spk-more { flex: 1; display: flex; flex-direction: column; gap: 14px; padding: 28px 24px; border-radius: var(--r-xl); text-decoration: none; color: #fff;
  background: radial-gradient(90% 70% at 100% 100%, rgba(44, 198, 234, .45), transparent 65%), var(--night); }
.spk-more b { font: 800 1.25rem/1.15 var(--f-head); text-transform: uppercase; }
.spk-more span:not(.hint) { font-size: .95rem; color: var(--muted-d); padding-top: 12px; border-top: 1px solid var(--line-d); }
.spk-more .ic-arrow { color: var(--cyan); }

/* ---------------------------------------------------------------- programa */
.status { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; max-width: 900px; margin: 0 auto 28px; padding: 14px 20px; border-radius: var(--r); background: rgba(44, 198, 234, .12); border: 1px solid rgba(44, 198, 234, .35); color: #fff; }
.status b { font-family: var(--f-head); }
.now-tag { display: inline-flex; align-items: center; gap: .5em; padding: .4em .8em; border-radius: 999px; background: var(--grad); color: var(--night); font: 700 .72rem/1 var(--f-head); letter-spacing: .07em; text-transform: uppercase; white-space: nowrap; }
.now-tag i { width: .5em; height: .5em; border-radius: 50%; background: var(--night); }
.now-tag--live i { animation: latido 1.6s ease-in-out infinite; }
@keyframes latido { 50% { opacity: .25; transform: scale(.65); } }

.daybar { position: sticky; top: var(--top-h); z-index: 20; display: flex; align-items: center; gap: 20px; margin: 0 calc(var(--gutter) * -1) 8px; padding: 12px var(--gutter);
  background: rgba(6, 13, 36, .92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
html:not(.js) .daybar { display: none; }
.day-cue { flex: none; display: grid; grid-template-columns: auto auto; grid-template-rows: auto auto; column-gap: 12px; align-items: center; }
.day-cue b { font: 800 1rem var(--f-head); text-transform: uppercase; }
.day-cue span:not(.mi) { grid-column: 1; font-size: .86rem; color: var(--muted-d); }
.ic-cue { grid-column: 2; grid-row: 1 / span 2; font-size: 1.6em; color: var(--cyan); animation: empuje 1.1s var(--ease) .5s 2; }
@keyframes empuje { 50% { transform: translateX(6px); } }
.day-tabs { flex: 1; min-width: 0; display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; padding: 2px; }
.day-tabs::-webkit-scrollbar { display: none; }
.day-tab { flex: 1 0 auto; min-width: 8.5rem; display: grid; gap: 2px; text-align: left; padding: 12px 18px; border-radius: var(--r); background: rgba(255, 255, 255, .06); border: 1px solid var(--line-d); color: #fff; transition: background-color .25s var(--ease), border-color .25s var(--ease), transform .16s var(--ease); }
.day-tab b { font: 800 1.15rem/1.1 var(--f-head); text-transform: uppercase; }
.day-tab span { font-size: .84rem; color: var(--muted-d); }
.day-tab:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .3); }
.day-tab[aria-selected="true"] { background: var(--grad); color: var(--night); border-color: transparent; }
.day-tab[aria-selected="true"] span { color: rgba(6, 13, 36, .75); }
.day-tab.has-now b::after { content: ""; display: inline-block; width: .45em; height: .45em; margin-left: .45em; vertical-align: .15em; border-radius: 50%; background: currentColor; }

.days { display: grid; gap: 48px; }
html.js .days { gap: 0; }
html.js .day[hidden] { display: none; }
.day-title { display: grid; gap: 6px; padding-block: 28px 18px; font: 800 1.35rem/1.15 var(--f-head); text-transform: uppercase; }
.day-title span { font: 400 1rem/1.4 var(--f-body); text-transform: none; color: var(--muted-d); }
.agenda { display: grid; gap: 14px; }
.slot { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: 24px; align-items: start; }
.slot-time { display: grid; gap: 4px; padding-top: 18px; }
.t-ini { font: 800 1.6rem/1 var(--f-head); font-variant-numeric: tabular-nums; }
.t-fin { font-size: .9rem; color: var(--muted-d); }
.slot-time .now-tag { margin-top: 8px; justify-self: start; }
.slot-body { display: grid; gap: 8px; padding: 22px 26px; border-radius: var(--r-lg); background: rgba(255, 255, 255, .04); border: 1px solid var(--line-d); }
.slot-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; font-size: .88rem; color: var(--muted-d); }
.type { display: inline-flex; align-items: center; gap: 8px; font: 700 .72rem/1 var(--f-head); letter-spacing: .08em; text-transform: uppercase; color: var(--cyan-2); }
.type .ic { font-size: 1.25rem; }
.where { display: inline-flex; align-items: center; gap: 6px; }
.where .ic { font-size: 1.05em; color: var(--cyan); }
.slot-title { font: 700 1.15rem/1.35 var(--f-head); }
.slot-by { color: var(--muted-d); font-size: .95rem; }
.slot--pausa { align-items: center; }
.slot--pausa .slot-time { padding-top: 0; }
.slot--pausa .t-ini { font-size: 1.1rem; color: var(--muted-d); font-weight: 700; }
.pausa { display: flex; align-items: center; gap: 10px; padding: 10px 26px; color: var(--muted-d); border-top: 1px dashed var(--line-d); border-bottom: 1px dashed var(--line-d); }
.pausa .ic { color: var(--muted-d); }

.key { display: grid; grid-template-columns: 148px minmax(0, 1fr); gap: 24px; padding: 16px; border-radius: var(--r-lg); text-decoration: none; color: #fff;
  background: radial-gradient(70% 120% at 100% 0%, rgba(44, 198, 234, .22), transparent 65%), rgba(255, 255, 255, .05); border: 1px solid rgba(134, 226, 246, .3);
  transition: border-color .25s var(--ease), background-color .25s var(--ease); }
.key:hover { border-color: var(--cyan); }
.key-img { width: 148px; height: 148px; object-fit: cover; object-position: 50% 22%; border-radius: var(--r); }
.key-body { display: flex; flex-direction: column; gap: 8px; min-width: 0; padding-block: 4px; }
.key-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; font-size: .88rem; color: var(--muted-d); }
.key-title { font: 700 clamp(1.15rem, 1.7vw, 1.35rem)/1.32 var(--f-head); }
.key-by { color: var(--muted-d); font-size: .95rem; }
.key-by b { color: #fff; font-family: var(--f-head); }
.key .hint .ic-arrow { color: var(--cyan); }

.rooms { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); gap: 12px; margin-top: 6px; }
.room { display: flex; flex-direction: column; gap: 6px; padding: 16px; border-radius: var(--r); background: rgba(255, 255, 255, .05); border: 1px solid var(--line-d); text-decoration: none; color: #fff; transition: border-color .25s var(--ease), background-color .25s var(--ease); }
.room:hover { border-color: var(--cyan); background: rgba(255, 255, 255, .08); }
.room-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.room-name { display: inline-flex; align-items: center; gap: 5px; font-size: .84rem; color: var(--muted-d); text-align: right; }
.room-name .ic { font-size: 1em; color: var(--cyan); }
.room-title { font: 700 1rem/1.35 var(--f-head); }
.room-sub { font-size: .88rem; color: var(--muted-d); }
.room .chip { align-self: flex-start; }
.room .hint .ic-arrow { color: var(--cyan); }

/* ---------------------------------------------------------------- talleres */
.ws-group + .ws-group { margin-top: 48px; }
.ws-group .h3 { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-bottom: 20px; }
.ws-group .h3 span { display: inline-flex; padding: 6px 14px; border-radius: 999px; background: var(--night); color: #fff; font-size: .95rem; font-variant-numeric: tabular-nums; }
.ws-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 26px); }
.ws-grid > li { display: flex; }
.ws { flex: 1; display: flex; flex-direction: column; border-radius: var(--r-xl); overflow: hidden; background: #fff; box-shadow: var(--soft); }
.ws-media { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: var(--night); }
.ws-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; }
.ws-mono { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; width: 100%; height: 100%; font: 800 2.4rem var(--f-head); letter-spacing: .06em; color: #fff;
  background: radial-gradient(80% 80% at 100% 100%, rgba(44, 198, 234, .55), transparent 65%), radial-gradient(60% 60% at 0% 0%, rgba(47, 107, 255, .35), transparent 70%), var(--night); }
.ws-badge { position: absolute; left: 14px; bottom: 14px; display: grid; padding: 10px 16px; border-radius: var(--r); color: #fff; background: rgba(6, 13, 36, .62); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, .2); font: 800 1.9rem/1 var(--f-head); }
.ws-badge small { font: 700 .66rem/1.3 var(--f-head); letter-spacing: .1em; text-transform: uppercase; color: var(--cyan-2); }
.ws-body { flex: 1; display: flex; flex-direction: column; gap: 10px; padding: 22px 24px 24px; }
.ws-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; font-size: .86rem; color: var(--ink-2); }
.ws-meta > span:not(.chip) { display: inline-flex; align-items: center; gap: 6px; }
.ws-meta .ic { font-size: 1.05em; color: var(--cyan-ink); }
.ws-title { font: 700 1.08rem/1.38 var(--f-head); }
.ws-by { color: var(--ink-2); font-size: .95rem; }
.ws-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: auto; padding-top: 8px; }

/* ---------------------------------------------------------------- trabajos libres */
.subsec + .subsec { margin-top: clamp(48px, 6vw, 72px); }
.subsec > .h3 { margin-bottom: 22px; }
.sym-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: start; }
.sym-col h4 { font: 700 .8rem/1.3 var(--f-head); letter-spacing: .07em; text-transform: uppercase; color: var(--ink-2); padding-bottom: 10px; margin-bottom: 12px; border-bottom: 2px solid var(--ink); }
.sym-col ul { display: grid; gap: 12px; }
.sym { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 14px; padding: 18px; border-radius: var(--r-lg); background: #fff; box-shadow: var(--soft); text-decoration: none; transition: transform .3s var(--ease); }
.sym .code { grid-row: span 3; align-self: start; }
.sym-name { font: 700 1rem/1.35 var(--f-head); }
.sym-sub { font-size: .88rem; color: var(--ink-2); }
.sym .hint { grid-column: 2; padding-top: 6px; }
.posters-row { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 28px; align-items: center; }
.posters { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.posters > li { display: flex; }
.poster { flex: 1; display: flex; flex-direction: column; gap: 6px; padding: 26px; border-radius: var(--r-xl); text-decoration: none; color: #fff;
  background: radial-gradient(110% 110% at 100% 100%, rgba(44, 198, 234, .5), transparent 58%), var(--night); transition: transform .3s var(--ease); }
.poster-when { font-size: .9rem; color: var(--muted-d); }
.poster-n { font: 800 1.9rem/1.1 var(--f-head); text-transform: uppercase; }
.poster-sub { font: 700 .82rem var(--f-head); letter-spacing: .05em; color: var(--cyan-2); }
.poster .ic-arrow { color: var(--cyan); }
.finder { display: grid; gap: 10px; }
.finder label { font: 700 .95rem var(--f-head); }
.finder-row { display: flex; gap: 10px; }
.finder input, #drawer-q { flex: 1; min-width: 0; padding: 14px 22px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font: 400 1rem var(--f-body); color: var(--ink); }
.finder input::placeholder, #drawer-q::placeholder { color: #6A7792; }
.finder input:focus-visible, #drawer-q:focus-visible { outline: 3px solid var(--focus); outline-offset: 1px; }

/* ---------------------------------------------------------------- inscripción */
.prices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 26px); }
.prices > li { display: flex; }
.price { flex: 1; display: flex; flex-direction: column; gap: 14px; padding: 34px 30px 30px; border-radius: var(--r-xl); background: #fff; border: 1.5px solid var(--line); }
.price h3 { font: 800 1.1rem/1.2 var(--f-head); text-transform: uppercase; }
.price-note { color: var(--ink-2); font-size: .95rem; }
.price-amt { display: flex; align-items: baseline; gap: 4px; font: 800 3.2rem/1 var(--f-head); letter-spacing: -.02em; font-variant-numeric: tabular-nums; padding-block: 6px 10px; margin-top: auto; }
.price-amt small { font-size: 1.3rem; align-self: flex-start; margin-top: .35em; }
.price-amt span { font: 600 1rem var(--f-body); color: var(--ink-2); letter-spacing: 0; margin-left: 4px; }
.price-extra { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 26px); margin-top: clamp(16px, 2vw, 26px); }
.pe { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; padding: 28px; border-radius: var(--r-xl); background: #fff; border: 1.5px solid var(--line); }
.pe h3 { font: 800 1rem/1.2 var(--f-head); text-transform: uppercase; }
.pe p { color: var(--ink-2); font-size: .95rem; }
.pe .copy { margin-top: auto; }
.pe-rows { width: 100%; display: grid; }
.pe-rows li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.pe-rows b { font: 800 1.15rem var(--f-head); white-space: nowrap; font-variant-numeric: tabular-nums; }
.pe .pill { margin-top: auto; }
.pe--dark { background: radial-gradient(90% 70% at 100% 0%, rgba(44, 198, 234, .35), transparent 60%), var(--night); color: #fff; border-color: transparent; }
.pe--dark .pe-rows li { border-color: var(--line-d); color: var(--muted-d); }
.pe--dark .pe-rows b { color: #fff; }

/* ---------------------------------------------------------------- franja de cierre */
/* foto y velo en capas propias: la foto puede acercarse con transform sin repintar el fondo */
.cta-band { position: relative; isolation: isolate; overflow: hidden; padding-block: clamp(80px, 11vw, 150px); color: #fff; background: var(--night); view-timeline: --cta block; }
.cta-band::before, .cta-band::after { content: ""; position: absolute; inset: 0; z-index: -1; }
.cta-band::before { background: url("img/escenario-auditorio-espejo.webp?v=9cfa3d68") center top / cover no-repeat; transform-origin: 50% 30%; }
.cta-band::after { background: linear-gradient(90deg, rgba(6, 13, 36, .94) 0%, rgba(6, 13, 36, .7) 48%, rgba(6, 13, 36, .35) 100%); }
.cta-card { max-width: 600px; display: grid; gap: 20px; padding: clamp(28px, 4vw, 48px); border-radius: var(--r-xl); background: rgba(11, 26, 58, .5); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border: 1px solid rgba(255, 255, 255, .16); }
.cta-card p { color: var(--muted-d); font-size: 1.08rem; }

/* ---------------------------------------------------------------- sede */
.venue { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(16px, 2vw, 24px); align-items: start; }
.rooms-card, .hotel { border-radius: var(--r-xl); background: #fff; box-shadow: var(--soft); overflow: hidden; }
.rooms-card > img, .hotel > img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; }
.rooms-in, .hotel-in { display: grid; gap: 14px; justify-items: start; padding: clamp(22px, 3vw, 32px); }
.rooms-in > p, .hotel-in > p { color: var(--ink-2); }
.rooms-list { width: 100%; display: grid; }
.rooms-list li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 14px; align-items: center; padding: 13px 0; border-top: 1px solid var(--line); }
.rm { font: 700 .95rem/1.3 var(--f-head); }
.rm-codes { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; }
.hotel-in a[href^="tel"] { font-weight: 600; color: var(--ink); }
.hotel-data { display: grid; gap: 10px; color: var(--ink-2); }
.hotel-data li { display: grid; grid-template-columns: 1.4em minmax(0, 1fr); gap: 10px; align-items: start; }
.hotel-data .ic { font-size: 1.3em; color: var(--cyan-ink); margin-top: .05em; }
.code-box { display: flex; flex-direction: column; align-items: flex-start; width: 100%; gap: 10px; padding: 18px 22px; border-radius: var(--r); background: var(--night); color: #fff; }
.code-box span { font-size: .86rem; color: var(--muted-d); }
.code-box b { font: 800 1.6rem/1 var(--f-head); letter-spacing: .08em; }

/* ---------------------------------------------------------------- preguntas */
.faq { max-width: 900px; }
.qas { display: grid; gap: 12px; }
.qa { border-radius: var(--r-lg); background: #fff; box-shadow: var(--soft); }
.qa summary { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 22px 26px; cursor: pointer; list-style: none; font: 700 .98rem/1.4 var(--f-head); text-transform: uppercase; letter-spacing: .01em; }
.qa summary::-webkit-details-marker { display: none; }
.ic-chev { font-size: 1.3em; transition: transform .3s var(--ease); }
.qa[open] .ic-chev { transform: rotate(180deg); }
.qa p { padding: 0 26px 24px; color: var(--ink-2); max-width: 70ch; }

/* ---------------------------------------------------------------- aliados */
.lgs { display: grid; gap: 30px; }
.lg { display: grid; gap: 14px; justify-items: center; }
.lg h3 { font: 700 .8rem var(--f-head); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
.logos { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.logos li { display: grid; place-items: center; width: 178px; height: 108px; padding: 18px 22px; border-radius: var(--r-lg); background: #fff; box-shadow: var(--soft); }
.logos img { max-width: 100%; max-height: 66px; width: auto; object-fit: contain; }
.logos li.on-dark { background: var(--night); }

/* ---------------------------------------------------------------- pie */
.foot { color: var(--muted-d); padding-block: clamp(56px, 7vw, 84px) calc(32px + env(safe-area-inset-bottom, 0px));
  background: radial-gradient(40% 70% at 0% 100%, rgba(44, 198, 234, .32), transparent 70%), var(--night); }
.foot-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px 40px; padding-bottom: 40px; border-bottom: 1px solid var(--line-d); }
.foot-top > div { display: grid; gap: 16px; max-width: 56ch; }
.foot-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; padding-block: 40px; }
.foot-cols h2 { font: 800 .9rem var(--f-head); letter-spacing: .06em; text-transform: uppercase; color: #fff; margin-bottom: 14px; }
.foot-cols ul { display: grid; gap: 9px; }
.foot-cols a { text-decoration: none; }
.foot-cols a:hover { color: #fff; text-decoration: underline; }
.foot-cols .copy-src { color: #fff; }
.foot-cols p + p { margin-top: 10px; }
.foot-bottom { padding-top: 22px; border-top: 1px solid var(--line-d); font-size: .86rem; text-align: left; }
.foot-credit { display: inline; white-space: nowrap; font-size: .68rem; letter-spacing: .04em; color: var(--muted-d); text-decoration: none; }
.foot-credit:hover { color: #fff; text-decoration: none; }
.dock { display: none; }

/* ---------------------------------------------------------------- capas */
.dlg { width: min(780px, calc(100vw - 2 * var(--gutter))); max-height: min(88dvh, 920px); padding: 0; border: 0; border-radius: var(--r-xl); background: #fff; color: var(--ink); overflow: hidden; flex-direction: column; box-shadow: 0 40px 90px -30px rgba(6, 13, 36, .7); }
.dlg[open] { display: flex; }
.dlg::backdrop { background: rgba(6, 13, 36, .66); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.dlg-head { flex: none; display: flex; align-items: center; gap: 14px; padding: 18px 18px 18px 26px; color: #fff; background: radial-gradient(60% 140% at 100% 0%, rgba(44, 198, 234, .35), transparent 70%), var(--night); }
.dlg-title { flex: 1; font: 800 clamp(1.05rem, 2vw, 1.35rem)/1.25 var(--f-head); text-transform: uppercase; }
.dlg-close { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 999px; color: #fff; background: rgba(255, 255, 255, .1); border: 1px solid var(--line-d); }
.dlg-close:hover { background: rgba(255, 255, 255, .2); }
.dlg-body { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 26px 28px 32px; display: grid; gap: 14px; align-content: start; }
.dlg-body p, .dlg-body li { max-width: 68ch; }
.dlg-body ol { list-style: decimal; padding-left: 1.3em; display: grid; gap: 6px; }
.dlg-body a { color: var(--ink); font-weight: 600; }
.dlg-sub { font: 800 .82rem var(--f-head); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); padding-top: 8px; }
.dlg-who { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 20px; align-items: center; }
.dlg-img { width: 140px; height: 140px; object-fit: cover; object-position: 50% 22%; border-radius: var(--r); }
.dlg-who > div { display: grid; gap: 6px; }
.dlg-country { font-size: .92rem; color: var(--ink-2); }
.dlg-talk { font: 700 1.2rem/1.35 var(--f-head); }
.dlg-when { font-size: .95rem; color: var(--ink-2); }
.dlg-cross { display: inline-flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: var(--r); background: var(--tint); text-decoration: none; font-weight: 600; }
.dlg-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; padding-top: 8px; }
.dlg-sign { font: 800 1rem var(--f-head); text-transform: uppercase; }
.pons { list-style: none !important; padding: 0 !important; gap: 0 !important; }
.pons li { display: grid; gap: 4px; padding: 14px 0; border-top: 1px solid var(--line); }
.pon-t { font: 700 1rem/1.4 var(--f-head); }
.pon-a { font-size: .9rem; color: var(--ink-2); }
.pon-w { font-size: .84rem; color: var(--ink-2); }
.cols2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 30px; }
.cols2 ul { display: grid; gap: 4px; }

.dlg--drawer { width: min(580px, 100vw); height: 100dvh; max-height: 100dvh; margin: 0 0 0 auto; border-radius: var(--r-xl) 0 0 var(--r-xl); }
.dlg--drawer .dlg-body { padding-top: 0; }
.drawer-tools { position: sticky; top: 0; z-index: 1; display: grid; gap: 12px; padding: 18px 0 14px; background: #fff; border-bottom: 1px solid var(--line); }
.filters { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.filters button { padding: 7px 14px; border-radius: 999px; background: transparent; border: 1.5px solid var(--line); font: 600 .9rem var(--f-body); }
.filters button[aria-pressed="true"] { background: var(--night); color: #fff; border-color: var(--night); }
.count { margin-left: auto; font-size: .88rem; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.posters-list li { display: grid; grid-template-columns: 3.8rem minmax(0, 1fr); gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.posters-list li[hidden] { display: none; }
.posters-list .code { align-self: start; }
.empty { padding: 28px 0; color: var(--ink-2); }
html:not(.js) .dlg:target { display: flex; position: fixed; inset: 0; margin: auto; z-index: 80; opacity: 1; transform: none; }
html:not(.js) .dlg--drawer:target { margin: 0 0 0 auto; }

/* ---------------------------------------------------------------- respuesta */
@media (max-width: 1140px) {
  .nav { display: none; position: absolute; inset: 100% 0 auto; background: var(--night); border-top: 1px solid var(--line-d); padding: 8px var(--gutter) 18px; }
  .top.open .nav { display: block; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav a { display: block; padding: 15px 0; font-size: .95rem; border-bottom: 1px solid var(--line-d); }
  .top-in { position: relative; }
  .top-cta { margin-left: auto; }
  .menu { display: inline-flex; margin-left: 0; }
  .spk-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .spk-grid > li:last-child { grid-column: span 2; }
  .sym-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 940px) {
  .hero-in { grid-template-columns: 1fr; }
  .hero-art { max-width: 620px; }
  .about-in, .venue, .posters-row { grid-template-columns: 1fr; }
  .ws-grid, .prices, .price-extra { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .foot-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  :root { --top-h: 64px; }
  .brand span { display: none; }
  .top-cta { padding: 10px 16px; }
  .hero-in { padding-block: 32px 56px; gap: 28px; }
  .ht-num { font-size: clamp(4.6rem, 26vw, 6rem); }
  .ht-txt { font-size: clamp(1.7rem, 8.4vw, 2.2rem); }
  .hero-actions .pill { width: 100%; }
  .pill { white-space: normal; text-align: center; }
  .about-in > *, .venue > *, .posters-row > * { min-width: 0; }
  .mosaic { --t: auto; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: none; gap: 8px; }
  .mosaic li { grid-area: auto !important; aspect-ratio: 1; border-radius: 14px; }
  .mo-tag { display: none; }
  .hero-org ul { gap: 16px 28px; }
  .hero-org img { height: 56px; }
  .event-card { position: static; width: 100%; margin-top: 14px; }
  .cd-in { grid-template-columns: 1fr; }
  .cd-t { text-align: center; }
  .cd-live { justify-content: center; }
  .cd-cells { gap: 8px; }
  .cd-cells li { border-radius: 16px; }
  .cd-cells span { font-size: .78rem; }
  .spk-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .spk-grid > li:last-child { grid-column: 1 / -1; }
  .spk { padding: 8px; border-radius: 22px; }
  .spk-plate { margin: -36px 4px 0; padding: 14px 10px 12px; }
  .spk-name { font-size: .86rem; }
  .spk-talk { display: none; }
  .spk .hint { font-size: .68rem; }
  .spk-meta { font-size: .76rem; }
  .daybar { flex-direction: column; align-items: stretch; gap: 8px; padding-block: 10px; }
  .day-cue { display: flex; align-items: center; gap: 8px; }
  .day-cue span:not(.mi) { font-size: .95rem; }
  .ic-cue { font-size: 1.2em; transform: rotate(90deg); animation-name: empuje-abajo; }
  @keyframes empuje-abajo { 0%, 100% { transform: rotate(90deg); } 50% { transform: rotate(90deg) translateX(5px); } }
  .day-tab { min-width: 0; flex: 1 1 0; padding: 10px; text-align: center; }
  .day-tab b { font-size: .95rem; }
  .day-tab span { display: none; }
  .slot { grid-template-columns: 1fr; gap: 8px; }
  .slot-time { padding-top: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 10px; }
  .slot-time .now-tag { margin-top: 0; }
  .slot-body { padding: 18px; }
  .key { grid-template-columns: 76px minmax(0, 1fr); gap: 14px; padding: 12px; }
  .key-img { width: 76px; height: 76px; }
  .pausa { padding-inline: 0; }
  .ws-grid, .prices, .price-extra, .sym-cols, .posters, .foot-cols, .cols2 { grid-template-columns: 1fr; }
  .finder-row { flex-direction: column; }
  .rooms-list li { grid-template-columns: 1fr; }
  .rm-codes { justify-content: flex-start; }
  .logos li { width: calc(50% - 7px); height: 96px; }
  .dlg { width: 100vw; max-width: 100vw; max-height: 92dvh; margin: auto 0 0; border-radius: var(--r-xl) var(--r-xl) 0 0; }
  .dlg-who { grid-template-columns: 92px minmax(0, 1fr); }
  .dlg-img { width: 92px; height: 92px; }
  .dlg--drawer { height: 100dvh; max-height: 100dvh; border-radius: 0; }
  .dock { display: flex; position: fixed; inset: auto 0 0; z-index: 40; align-items: center; justify-content: space-between; gap: 12px;
    padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom, 0px)); background: rgba(6, 13, 36, .94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
    color: #fff; font-size: .92rem; transition: transform .4s var(--ease); }
  .dock b { font-family: var(--f-head); }
  .dock.is-away { transform: translateY(120%); }
  .foot { padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px)); }
}

/* ---------------------------------------------------------------- movimiento
   Discreto: solo opacity y transform, ease-out fuerte (--ease). Nada se mueve en el contenido que se lee. */

/* hover: solo con puntero fino (el tacto dispara hovers falsos) */
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  a:hover .ic-arrow, button:hover .ic-arrow { transform: translateX(3px); }
  .mosaic li:hover .mo-img, .spk:hover .spk-img { transform: scale(1.03); }
  .spk:hover { transform: translateY(-3px); }
  .sym:hover, .poster:hover { transform: translateY(-2px); }
}

/* presión: confirma el toque */
.copy-btn, .filters button, .dlg-close, .menu { transition: transform .16s var(--ease), background-color .2s ease, border-color .2s ease; }
.pill:active, .day-tab:active, .copy-btn:active, .filters button:active, .dlg-close:active, .menu:active { transform: scale(.97); }

/* modales: suben 10 px al abrir; cierran más rápido de lo que abren */
.dlg { opacity: 0; transform: translateY(10px) scale(.985);
  transition: opacity .16s var(--ease), transform .16s var(--ease), overlay .16s allow-discrete, display .16s allow-discrete; }
.dlg[open] { opacity: 1; transform: none;
  transition: opacity .24s var(--ease), transform .28s var(--ease), overlay .28s allow-discrete, display .28s allow-discrete; }
@starting-style { .dlg[open] { opacity: 0; transform: translateY(10px) scale(.985); } }
.dlg::backdrop { opacity: 0; transition: opacity .2s var(--ease), overlay .2s allow-discrete, display .2s allow-discrete; }
.dlg[open]::backdrop { opacity: 1; }
@starting-style { .dlg[open]::backdrop { opacity: 0; } }
.dlg--drawer { transform: translateX(32px); }
@starting-style { .dlg--drawer[open] { transform: translateX(32px); } }
@media (max-width: 640px) {
  .dlg:not([open], .dlg--drawer) { transform: translateY(32px); }
  @starting-style { .dlg[open]:not(.dlg--drawer) { transform: translateY(32px); } }
}

/* cambio de día: la agenda nueva entra en vez de aparecer de golpe */
html.js .day { transition: opacity .24s var(--ease), transform .3s var(--ease); }
@starting-style { html.js .day { opacity: 0; transform: translateY(6px); } }

/* preguntas: la respuesta se funde al abrir (navegadores con ::details-content) */
.qa::details-content { opacity: 0; transition: opacity .25s var(--ease), content-visibility .25s allow-discrete; }
.qa[open]::details-content { opacity: 1; }

/* portada: entrada única al cargar. Animación CSS (corre fuera del hilo principal mientras la página
   termina de cargar); solo declara el inicio, así que sin animación todo queda en su lugar. */
@keyframes sube { from { opacity: 0; transform: translateY(12px); } }
@keyframes aparece { from { opacity: 0; transform: translateY(8px) scale(.97); } }
.ht-num, .ht-txt, .hero-lead, .hero-actions, .hero-org, .event-card { animation: sube .7s var(--ease) both; }
.ht-txt { animation-delay: 70ms; }
.hero-lead { animation-delay: 140ms; }
.hero-actions { animation-delay: 210ms; }
.hero-org { animation-delay: 280ms; }
.mosaic li { animation: aparece .8s var(--ease) both; }
.mo-1 { animation-delay: 160ms; } .mo-3 { animation-delay: 220ms; } .mo-6 { animation-delay: 280ms; }
.mo-2 { animation-delay: 340ms; } .mo-4 { animation-delay: 400ms; } .mo-7 { animation-delay: 460ms; }
.mo-5 { animation-delay: 520ms; }
.event-card { animation-delay: 600ms; }

/* cuenta regresiva: si se ve al cargar, entra después de la portada; si no, la toma la aparición al hacer scroll.
   Los segundos no se animan: cambian cada segundo y distraerían. */
.countdown:not(:has(.rv)) :is(.cd-t, .cd-cells li) { animation: sube .7s var(--ease) both; }
.countdown:not(:has(.rv)) .cd-t { animation-delay: 450ms; }
.countdown:not(:has(.rv)) .cd-cells li:nth-child(1) { animation-delay: 520ms; }
.countdown:not(:has(.rv)) .cd-cells li:nth-child(2) { animation-delay: 580ms; }
.countdown:not(:has(.rv)) .cd-cells li:nth-child(3) { animation-delay: 640ms; }
.countdown:not(:has(.rv)) .cd-cells li:nth-child(4) { animation-delay: 700ms; }

/* franja de cierre: parallax. La foto (25 % más alta arriba y abajo) baja más lento que la página mientras
   la franja cruza la pantalla. Ligada al scroll y fuera del hilo principal; sin soporte (Firefox) queda quieta. */
@keyframes paralaje { from { transform: translateY(-15%); } to { transform: translateY(15%); } }
/* portada: la textura (50 % más alta por arriba) baja mientras el hero sale de pantalla, a ~0.55× la velocidad
   del scroll; el desplazamiento máximo (30 % de 1.5 alturas = 0.45) no alcanza a destapar el borde superior */
@keyframes paralaje-hero { to { transform: translateY(30%); } }
@supports (animation-timeline: view()) {
  /* franja: 25 % de sobra arriba y abajo; ±15 % de 1.5 alturas = ±0.225, dentro de la sobra */
  .cta-band::before { inset: -25% 0; animation: paralaje linear both; animation-timeline: --cta; animation-range: entry 0% exit 100%; }
  .hero::before { inset: -50% 0 0; animation: paralaje-hero linear both; animation-timeline: --hero; animation-range: exit 0% exit 100%; }
}

/* aparición al hacer scroll (app.js marca .rv solo lo que está debajo del pliegue) */
.rv { opacity: 0; transform: translateY(14px); transition: opacity .5s var(--ease), transform .6s var(--ease); }
.rv.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; }
  .rv, .dlg, .dlg--drawer, html.js .day, a:focus-visible .ic-arrow,
  .pill:active, .day-tab:active, .copy-btn:active, .filters button:active, .dlg-close:active, .menu:active { transform: none !important; }
  .dock { transition: none; }
  .cta-band::before, .hero::before { inset: 0; }
}

/* ---------------------------------------------------------------- WordPress: barra de administración (solo con sesión iniciada) */
.admin-bar .top { top: 32px; }
.admin-bar .daybar { top: calc(var(--top-h) + 32px); }
html:has(body.admin-bar) { scroll-padding-top: calc(var(--top-h) + 44px); }
@media (max-width: 782px) {
  .admin-bar .top { top: 46px; }
  .admin-bar .daybar { top: calc(var(--top-h) + 46px); }
}
@media (max-width: 600px) {
  .admin-bar .top { top: 0; }
  .admin-bar .daybar { top: var(--top-h); }
}
