/* =========================================================
   Jornadas de Administración 2026 · 67 aniversario
   Hoja de estilos principal
   ========================================================= */

/* ---------- Variables de color y tipografía ---------- */
:root {
  --ink: #140B2E;          /* morado casi negro: textos y botones oscuros */
  --ink-soft: #4B4370;     /* texto secundario */
  --ink-muted: #5E5680;    /* texto de apoyo (lugares) */
  --white: #FFFFFF;
  --lilac-bg: #F7F4FF;     /* fondo de tarjetas y secciones claras */
  --lilac-line: #E6DEF7;   /* bordes suaves */
  --lilac-strong: #CFC6EA;

  --yellow: #FFD60A;
  --pink: #FF3D7F;
  --pink-dark: #E0115F;    /* rosa legible sobre blanco */
  --cyan: #2DE1FC;
  --teal-dark: #0A7E96;    /* cyan legible sobre blanco */
  --lilac: #B79CFF;
  --green: #7CF29A;

  --footer: #0C0620;

  --font-display: 'Unbounded', sans-serif;
  --font-body: 'Rubik', system-ui, sans-serif;

  --radius-lg: 26px;
  --radius-md: 22px;
  --container: 1240px;
}

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

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

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* evita desplazamiento horizontal por la cinta inclinada */
main { overflow-x: hidden; overflow-x: clip; }

h1, h2, h3 { font-family: var(--font-display); margin: 0; }
p { margin: 0; }
a { color: var(--pink-dark); }
a:hover { color: #B00D4A; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* ---------- Botones ---------- */
.btn {
  display: inline-block;
  text-decoration: none;
  font-weight: 700;
  padding: 12px 20px;
  border-radius: 999px;
  border: 2px solid transparent;
  transition: transform .2s ease, background-color .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--lg { font-size: 18px; padding: 16px 30px; }
.btn--yellow { background: var(--yellow); color: var(--ink); }
.btn--pink { background: var(--pink); color: var(--ink); }
.btn--dark { background: var(--ink); color: var(--white); }
.btn--outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--yellow:hover, .btn--pink:hover, .btn--outline:hover { color: var(--ink); }
.btn--dark:hover { color: var(--white); }
.btn--pulse { animation: pulse 2.4s ease-in-out infinite; }

/* ---------- Navegación ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--white);
  border-bottom: 1px solid #EDE7F6;
}
.nav__inner {
  padding-top: 14px;
  padding-bottom: 14px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.nav__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
}
.nav__badge {
  width: 48px;
  height: 48px;
  display: block;
}
.nav__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .02em;
}
.nav__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
}
.nav__links a:not(.btn) {
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
  padding: 12px 14px;
}
.nav__links a:not(.btn):hover { color: var(--pink-dark); }

/* ---------- Inicio (hero) ---------- */
.hero { position: relative; overflow: hidden; }
.hero__ring {
  position: absolute;
  top: -140px;
  right: -140px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  border: 2px dashed var(--lilac-line);
  animation: spin 60s linear infinite;
}
.hero__inner {
  position: relative;
  padding-top: 56px;
  padding-bottom: 72px;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
}
.hero__text {
  flex: 999 1 560px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.stickers { display: flex; flex-wrap: wrap; gap: 10px; }
.sticker {
  display: inline-block;
  color: var(--ink);
  font-weight: 700;
  font-size: 14px;
  padding: 8px 14px;
  border-radius: 999px;
  animation: float 4.5s ease-in-out infinite;
}
.sticker--cyan   { background: var(--cyan);   --r: -3deg; animation-duration: 4s; }
.sticker--yellow { background: var(--yellow); --r: 2deg;  animation-duration: 5s; }
.sticker--pink   { background: var(--pink);   --r: -2deg; }

.hero__title {
  font-weight: 900;
  font-size: clamp(26px, 4.4vw, 62px);
  line-height: .98;
  letter-spacing: -.02em;
}
.hero__title span { color: var(--pink-dark); }
.hero__subtitle {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(18px, 2vw, 26px);
  line-height: 1.25;
  color: #3A2F66;
  margin-top: -8px;
}
.hero__lead {
  font-size: 20px;
  line-height: 1.5;
  color: var(--ink-soft);
  max-width: 600px;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }

.hero__aside {
  flex: 1 1 380px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.big67 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(130px, 15vw, 210px);
  line-height: .85;
  letter-spacing: -.04em;
  color: var(--pink);
  text-shadow: 10px 10px 0 var(--yellow), 20px 20px 0 var(--cyan);
}
.hero__years {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: .2em;
  color: var(--ink-soft);
}

/* Cuenta regresiva */
.countdown {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  width: 100%;
  max-width: 400px;
}
.countdown__cell {
  background: var(--ink);
  border-radius: 16px;
  padding: 12px 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
.countdown__cell span {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 28px;
  line-height: 1;
  color: var(--white);
}
.countdown__cell small { font-size: 13px; color: #B9AEE0; }

/* ---------- Cinta animada ---------- */
.marquee {
  background: var(--yellow);
  color: var(--ink);
  overflow: hidden;
  transform: rotate(-1.5deg);
  margin: 8px -20px;
  border-top: 3px solid var(--ink);
  border-bottom: 3px solid var(--ink);
}
.marquee__track {
  display: flex;
  width: max-content;
  padding: 14px 0;
  animation: marquee 28s linear infinite;
}
.marquee__track span {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 22px;
  white-space: nowrap;
  padding: 0 18px;
  display: flex;
  align-items: center;
  gap: 18px;
}
/* estrella rosa entre palabras */
.marquee__track span::after {
  content: "";
  width: 18px;
  height: 18px;
  background: var(--pink);
  clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%);
}

/* ---------- Secciones genéricas ---------- */
.section {
  padding-top: 96px;
  padding-bottom: 88px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.section__head {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 760px;
}
.section__head--row {
  max-width: none;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
}
.section__head--row > div { display: flex; flex-direction: column; gap: 10px; }
.section__head--row > p { max-width: 440px; }
.section__head h2 {
  font-weight: 900;
  font-size: clamp(32px, 4.4vw, 58px);
  line-height: 1.02;
}
.section__head p { font-size: 18px; color: var(--ink-soft); }
.eyebrow { font-weight: 700; font-size: 15px; letter-spacing: .12em; }
.eyebrow--teal { color: var(--teal-dark); }
.eyebrow--pink { color: var(--pink-dark); }

/* ---------- Programa: tarjetas de filtro ---------- */
.modes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}
.mode {
  text-align: left;
  cursor: pointer;
  font-family: inherit;
  color: var(--ink);
  border-radius: var(--radius-lg);
  padding: 26px;
  border: 4px solid transparent;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform .2s ease, opacity .2s ease, border-color .2s ease;
}
.mode--cyan   { background: var(--cyan);   transform: rotate(-1.5deg); }
.mode--yellow { background: var(--yellow); transform: rotate(1deg); }
.mode--pink   { background: var(--pink);   transform: rotate(-.5deg); }
.mode:hover { transform: rotate(0) translateY(-4px); }
.mode__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}
.mode__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 34px;
  line-height: 1;
}
.mode__count {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  background: var(--ink);
  color: var(--white);
  border-radius: 999px;
  padding: 6px 12px;
}
.mode__desc { font-size: 17px; font-weight: 500; line-height: 1.4; }

/* estados del filtro (los pone script.js) */
.modes.has-selection .mode { opacity: .45; }
.modes.has-selection .mode.is-selected {
  opacity: 1;
  border-color: var(--ink);
  transform: rotate(0);
}

/* ---------- Programa: pestañas por día ---------- */
.days { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.day {
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  padding: 14px 22px;
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  border: 2px solid var(--lilac-strong);
  transition: background-color .2s ease, color .2s ease;
}
.day:hover { border-color: var(--ink); }
.day.is-active { background: var(--ink); color: var(--white); border-color: var(--ink); }

/* ---------- Programa: actividades ---------- */
.events { display: flex; flex-direction: column; gap: 12px; }
.event {
  background: var(--lilac-bg);
  border: 1px solid var(--lilac-line);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  animation: fadeUp .35s ease both;
}
.event[hidden] { display: none; }
.event__time {
  flex: 0 0 auto;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  color: var(--ink);
  padding: 12px 16px;
  border-radius: 14px;
  min-width: 132px;
  text-align: center;
}
.event__body {
  flex: 999 1 360px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.event__tag { font-size: 13px; font-weight: 700; letter-spacing: .1em; }
.event h3 { font-weight: 700; font-size: 20px; line-height: 1.25; }
.event__people { font-size: 16px; line-height: 1.45; }
.event__place { font-size: 15px; color: var(--ink-muted); }
.event > .btn { flex: 0 0 auto; }

/* color según el tipo de actividad */
.event[data-mode="aprende"] .event__time { background: var(--cyan); }
.event[data-mode="aprende"] .event__tag  { color: var(--teal-dark); }
.event[data-mode="compite"] .event__time { background: var(--yellow); }
.event[data-mode="compite"] .event__tag  { color: #8A5A00; }
.event[data-mode="celebra"] .event__time { background: var(--pink); }
.event[data-mode="celebra"] .event__tag  { color: #C2185B; }

.events__empty {
  border: 2px dashed var(--lilac-strong);
  border-radius: var(--radius-md);
  padding: 28px;
  text-align: center;
  font-size: 17px;
  color: var(--ink-soft);
}

/* ---------- Conferencistas ---------- */
.speakers {
  background: var(--lilac-bg);
  border-top: 1px solid var(--lilac-line);
  border-bottom: 1px solid var(--lilac-line);
}
.speakers .section { padding-top: 88px; }
.speakers__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 18px;
}
.speaker {
  background: var(--white);
  border: 1px solid var(--lilac-line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .25s ease;
}
.speaker:hover { transform: translateY(-4px); }
.speaker__top {
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.speaker__top--cyan   { background: var(--cyan); }
.speaker__top--yellow { background: var(--yellow); }
.speaker__top--pink   { background: var(--pink); }
.speaker__top--lilac  { background: var(--lilac); }
.speaker__photo {
  width: 84px;
  height: 84px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--white);
  border: 3px dashed var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  object-fit: cover;          /* cuando sea <img> */
}
img.speaker__photo { border-style: solid; }
.speaker__kind {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  background: var(--ink);
  color: var(--white);
  padding: 6px 12px;
  border-radius: 999px;
}
.speaker__body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-grow: 1;
}
.speaker__when { font-size: 14px; font-weight: 700; color: var(--ink-muted); }
.speaker h3 { font-weight: 700; font-size: 18px; line-height: 1.25; }
.speaker__who {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-top: 8px;
  border-top: 1px solid #EDE7F6;
}
.speaker__who strong { font-size: 18px; }
.speaker__who span { font-size: 15px; color: var(--ink-muted); }
.speaker__body > p { font-size: 15px; line-height: 1.55; color: var(--ink-soft); }

/* ---------- Concursos y actividades ---------- */
.contests {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}
.contest {
  color: var(--ink);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 300px;
  transition: transform .25s ease;
}
.contest--cyan   { background: var(--cyan);   transform: rotate(-1.5deg); }
.contest--yellow { background: var(--yellow); transform: rotate(1deg); }
.contest--pink   { background: var(--pink);   transform: rotate(-1deg); }
.contest--lilac  { background: var(--lilac);  transform: rotate(1.5deg); }
.contest--green  { background: var(--green);  transform: rotate(-.5deg); }
.contest:hover { transform: rotate(0) translateY(-6px); }
.contest__num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 54px;
  line-height: .9;
  opacity: .85;
}
.contest h3 { font-weight: 900; font-size: 22px; line-height: 1.12; }
.contest__when { font-size: 15px; font-weight: 700; }
.contest p { font-size: 16px; line-height: 1.45; flex-grow: 1; }
.contest__actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.contest__link {
  color: var(--ink);
  font-weight: 700;
  padding: 12px 6px;
}
.contest__link:hover { color: var(--ink); text-decoration-thickness: 3px; }

/* ---------- Pie de página ---------- */
.footer { background: var(--footer); color: #B9AEE0; }
.footer__inner {
  padding-top: 40px;
  padding-bottom: 40px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  font-size: 15px;
}
.footer__info { display: flex; flex-direction: column; gap: 6px; }
.footer__info strong {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  color: var(--white);
}
.footer__ig {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid #3D2B7A;
  transition: border-color .2s ease;
}
.footer__ig svg { color: var(--yellow); }
.footer__ig:hover { color: var(--white); border-color: var(--yellow); }

/* =========================================================
   FOTOS DE ALUMNOS
   ========================================================= */

/* Recuadro de foto: si la imagen no existe (o aún no la subes),
   se ve el color con un icono de cámara y la descripción (data-label). */
.ph {
  position: relative;
  overflow: hidden;
  background: var(--lilac-bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  color: var(--ink);
}
.ph::before {
  content: "";
  width: 34px;
  height: 34px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23140B2E' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 8h3l2-3h6l2 3h3v11H4z'/%3E%3Ccircle cx='12' cy='13' r='3.5'/%3E%3C/svg%3E") center / contain no-repeat;
}
.ph::after {
  content: attr(data-label);
  font-size: 14px;
  font-weight: 700;
  padding: 0 14px;
}
.ph:not([data-label])::before { display: none; }
.ph img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}
.ph--cyan   { background: var(--cyan); }
.ph--yellow { background: var(--yellow); }
.ph--pink   { background: var(--pink); }
.ph--lilac  { background: var(--lilac); }
.ph--green  { background: var(--green); }
.ph--white  { background: var(--white); }

/* ---------- 1 · Rostros en el inicio ---------- */
.faces { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 4px; }
.faces__stack { display: flex; }
.faces__stack img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--ink);
  background: var(--lilac);
}
.faces__stack img + img { margin-left: -14px; }
.faces__text { font-size: 16px; line-height: 1.35; color: var(--ink-soft); }
.faces__text strong { color: var(--ink); }

/* ---------- 2 · Cintilla de fotos ---------- */
.photostrip { padding: 72px 0 24px; }
.photostrip__head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  padding-bottom: 28px;
}
.photostrip__head h2 { font-weight: 900; font-size: clamp(28px, 3.4vw, 44px); line-height: 1.05; }
.photostrip__head h2 span { color: var(--pink-dark); }
.photostrip__head p { font-size: 16px; color: var(--ink-soft); }
.photostrip__viewport { overflow: hidden; }
.photostrip__track {
  display: flex;
  gap: 22px;
  width: max-content;
  padding: 14px 0 24px;
  animation: marquee 45s linear infinite reverse;
}
.photostrip__viewport:hover .photostrip__track { animation-play-state: paused; }
.polaroid {
  margin: 0;
  flex: 0 0 auto;
  width: 230px;
  background: var(--white);
  border: 3px solid var(--ink);
  border-radius: 20px;
  padding: 10px 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.polaroid .ph { height: 250px; border-radius: 12px; }
.polaroid figcaption { font-family: var(--font-display); font-weight: 700; font-size: 14px; padding: 0 4px; }
.polaroid:nth-child(4n+1) { transform: rotate(-3deg); box-shadow: 6px 6px 0 var(--pink); }
.polaroid:nth-child(4n+2) { transform: rotate(2deg);  box-shadow: 6px 6px 0 var(--cyan); }
.polaroid:nth-child(4n+3) { transform: rotate(-1deg); box-shadow: 6px 6px 0 var(--yellow); }
.polaroid:nth-child(4n+4) { transform: rotate(3deg);  box-shadow: 6px 6px 0 var(--lilac); }

/* ---------- 3 · Mosaico "Somos Admin" ---------- */
.vida { padding-top: 40px; }
.vida__grid { display: flex; flex-wrap: wrap; gap: 16px; }
.vida__big {
  flex: 1 1 520px;
  min-width: 0;
  height: 436px;
  border: 3px solid var(--ink);
  border-radius: var(--radius-lg);
  box-shadow: 8px 8px 0 var(--pink);
}
.vida__big img { object-position: 50% 30%; }
.vida__tag {
  position: absolute;
  left: 18px;
  bottom: 18px;
  z-index: 2;
  background: var(--yellow);
  border: 3px solid var(--ink);
  border-radius: 999px;
  padding: 7px 16px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .06em;
}
.vida__small {
  flex: 1 1 520px;
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.vida__small > * { height: 210px; border: 3px solid var(--ink); border-radius: var(--radius-md); }
.vida__stat {
  background: var(--ink);
  color: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  padding: 16px;
}
.vida__stat strong { font-family: var(--font-display); font-weight: 900; font-size: 64px; line-height: .9; color: var(--yellow); }
.vida__stat span { font-weight: 700; font-size: 16px; }

/* ---------- 4 · Foto en cada concurso ---------- */
.contest__photo { height: 130px; border: 3px solid var(--ink); border-radius: 16px; }
.contest__photo::after { font-size: 13px; }

/* ---------- 5 · Franja final con foto ---------- */
.photoband { position: relative; overflow: hidden; border-top: 3px solid var(--ink); color: var(--white); }
.photoband__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 40%;
}
.photoband::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(20, 11, 46, .72);
}
.photoband__inner {
  position: relative;
  z-index: 2;
  padding-top: 96px;
  padding-bottom: 96px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.photoband__text { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.photoband__text .eyebrow { color: var(--yellow); }
.photoband__text h2 { font-weight: 900; font-size: clamp(30px, 4vw, 54px); line-height: 1.05; }
.photoband__text h2 span { color: var(--pink); }
.photoband__actions { flex: 1 1 280px; display: flex; flex-wrap: wrap; gap: 12px; }
.btn--outline-light { background: transparent; color: var(--white); border-color: var(--white); }
.btn--outline-light:hover { color: var(--white); }

@media (max-width: 640px) {
  .faces__stack img { width: 46px; height: 46px; }
  .polaroid { width: 190px; }
  .polaroid .ph { height: 210px; }
  .vida__big { height: 300px; }
  .vida__small > * { height: 160px; }
  .vida__stat strong { font-size: 48px; }
  .photoband__inner { padding-top: 64px; padding-bottom: 64px; }
}

/* ---------- Animaciones ---------- */
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(var(--r, 0deg)); }
  50%      { transform: translateY(-10px) rotate(var(--r, 0deg)); }
}
@keyframes spin  { to { transform: rotate(360deg); } }
@keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.06); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* Respeta a quien desactiva animaciones en su dispositivo */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* ---------- Celulares ---------- */
@media (max-width: 640px) {
  .nav__links { width: 100%; justify-content: space-between; }
  .nav__links a:not(.btn) { padding: 10px 6px; font-size: 15px; }
  .hero__inner { padding-top: 32px; padding-bottom: 48px; }
  .hero__lead { font-size: 18px; }
  .btn--lg { font-size: 16px; padding: 14px 22px; }
  .section { padding-top: 64px; padding-bottom: 64px; }
  .mode__title { font-size: 28px; }
  .event { padding: 18px; gap: 14px; }
  .event__time { min-width: 0; }
  .marquee__track span { font-size: 18px; }
}
