/* =========================================================
   FEDEGÁN 5.0 · 41º Congreso Nacional de Ganaderos
   Línea gráfica:
   Fondo:       #A90072 (magenta) · #2A0048 (morado profundo)
   Secundarios: #00E8AB (aqua) · #00D3F1 (cian) · #00F288 (verde)
   Títulos:     Krona One · Textos: Roboto
   ========================================================= */

/* ---------- Tipografías locales ---------- */
@font-face { font-family: "Krona One"; src: url("../assets/fonts/krona-one-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Roboto"; src: url("../assets/fonts/roboto-latin-300-normal.woff2") format("woff2"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "Roboto"; src: url("../assets/fonts/roboto-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Roboto"; src: url("../assets/fonts/roboto-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Roboto"; src: url("../assets/fonts/roboto-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  --magenta: #a90072;
  --purple: #2a0048;
  --purple-deep: #17002b;
  --purple-ink: #0c0017;
  --aqua: #00e8ab;
  --cyan: #00d3f1;
  --green: #00f288;
  --magenta-soft: #ff5cc6;

  --text: #f4eeff;
  --text-soft: rgba(244, 238, 255, 0.72);
  --text-mute: rgba(244, 238, 255, 0.48);
  --line: rgba(0, 211, 241, 0.16);
  --line-soft: rgba(244, 238, 255, 0.1);
  --glass: rgba(42, 0, 72, 0.42);
  --glass-strong: rgba(30, 0, 54, 0.82);

  --grad-brand: linear-gradient(90deg, var(--green) 0%, var(--aqua) 28%, var(--cyan) 55%, #7a3fd1 82%, var(--magenta) 100%);
  --grad-cool: linear-gradient(135deg, var(--aqua), var(--cyan));
  --grad-hot: linear-gradient(135deg, #d0108e, var(--magenta) 45%, #5b0c86);
  --grad-bg: radial-gradient(120% 80% at 50% 110%, rgba(169, 0, 114, 0.55) 0%, rgba(42, 0, 72, 0) 60%), linear-gradient(180deg, var(--purple-deep) 0%, var(--purple) 100%);

  --f-title: "Krona One", "Arial Black", sans-serif;
  --f-body: "Roboto", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 22px;
  --radius-sm: 12px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --container: 1240px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; overflow-x: clip; }
body {
  font-family: var(--f-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--purple-ink);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
body.is-loading, body.is-locked { overflow: hidden; }
main { overflow-x: clip; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
strong { color: #fff; font-weight: 600; }
::selection { background: var(--magenta); color: #fff; }
.container { width: min(var(--container), 100% - 32px); margin-inline: auto; }
.muted { color: var(--text-mute); font-size: 0.88rem; }

/* ---------- Texto ---------- */
.grad-text {
  background: var(--grad-brand);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradShift 8s ease-in-out infinite alternate;
}
@keyframes gradShift { to { background-position: 100% 0; } }

/* Texto de matriz de puntos (estilo HUD) */
.dotted {
  font-family: var(--f-title);
  -webkit-mask: radial-gradient(circle, #000 58%, transparent 62%) 0 0 / 4px 4px;
  mask: radial-gradient(circle, #000 58%, transparent 62%) 0 0 / 4px 4px;
}

/* Palabra gigante de fondo en contorno */
.bgword, .hero__bgword {
  position: absolute;
  font-family: var(--f-title);
  line-height: 0.8;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1px rgba(0, 211, 241, 0.16);
  pointer-events: none;
  user-select: none;
  z-index: 0;
}
.bgword {
  top: clamp(40px, 6vw, 90px);
  left: -2vw;
  font-size: clamp(5rem, 19vw, 17rem);
  background: linear-gradient(90deg, rgba(169, 0, 114, 0.22), rgba(0, 211, 241, 0.06));
  -webkit-background-clip: text; background-clip: text;
}
.bgword--right { left: auto; right: -2vw; }

/* ---------- Encabezados de sección (numerados) ---------- */
.section { position: relative; padding: clamp(84px, 11vw, 150px) 0; overflow: hidden; }
.section > .container { position: relative; z-index: 1; }
.shead { margin-bottom: clamp(36px, 5vw, 64px); }
.shead__idx {
  font-family: var(--f-body);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--aqua);
  margin-bottom: 1rem;
  display: flex; align-items: center; gap: 0.8rem;
}
.shead__idx::after { content: ""; flex: 0 0 60px; height: 1px; background: linear-gradient(90deg, var(--aqua), transparent); }
.shead__row {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 2rem; flex-wrap: wrap;
}
.shead__title {
  font-family: var(--f-title);
  font-weight: 400;
  font-size: clamp(1.9rem, 5vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}
.shead__aside {
  max-width: 300px;
  padding-left: 1.4rem;
  border-left: 1px solid var(--line);
  color: var(--text-soft);
  font-size: 0.95rem;
  line-height: 1.5;
}

/* ---------- Botones ---------- */
.btn {
  --pad: 0.95rem 1.6rem;
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.7rem;
  padding: var(--pad);
  border-radius: 999px;
  font-family: var(--f-title);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.35s, color 0.35s, border-color 0.35s;
  isolation: isolate; overflow: hidden; white-space: nowrap;
}
.btn--sm { --pad: 0.7rem 1.15rem; font-size: 0.62rem; }
.btn__arrow {
  display: inline-grid; place-items: center;
  width: 22px; height: 22px; border-radius: 50%;
  border: 1px solid currentColor;
  font-family: var(--f-body); font-size: 1rem; line-height: 1;
  transition: transform 0.35s var(--ease);
}
.btn:hover .btn__arrow { transform: translateX(3px); }
.btn--glow {
  color: var(--purple-ink);
  background: var(--grad-cool);
  box-shadow: 0 0 0 1px rgba(0, 232, 171, 0.4), 0 10px 40px -10px rgba(0, 211, 241, 0.8);
}
.btn--glow::after, .btn--magenta::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.55) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.8s var(--ease);
}
.btn--glow:hover::after, .btn--magenta:hover::after { transform: translateX(120%); }
.btn--glow:hover { box-shadow: 0 0 0 1px rgba(0, 232, 171, 0.7), 0 16px 50px -8px rgba(0, 242, 136, 0.9); }
.btn--magenta { color: #fff; background: var(--grad-hot); box-shadow: 0 0 0 1px rgba(255, 92, 198, 0.4), 0 10px 40px -10px rgba(169, 0, 114, 0.9); }
.btn--ghost { color: var(--text); border: 1px solid rgba(244, 238, 255, 0.3); background: rgba(244, 238, 255, 0.04); backdrop-filter: blur(6px); }
.btn--ghost:hover { border-color: var(--cyan); background: rgba(0, 211, 241, 0.12); }
.btn--light { color: var(--purple); background: #fff; }

/* ---------- Loader ---------- */
.loader { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; background: var(--grad-bg); transition: opacity 0.8s var(--ease), visibility 0.8s; }
.loader.is-done { opacity: 0; visibility: hidden; }
.loader__inner { text-align: center; width: min(320px, 80vw); }
.loader__cow { width: 160px; margin: 0 auto 1.4rem; filter: drop-shadow(0 0 18px rgba(0, 211, 241, 0.8)); animation: pulse 1.6s ease-in-out infinite; }
.loader__label { font-family: var(--f-title); font-size: 0.75rem; letter-spacing: 0.12em; color: var(--text-soft); }
.loader__label span { color: var(--aqua); }
.loader__bar { height: 3px; margin-top: 1rem; border-radius: 3px; background: rgba(255, 255, 255, 0.08); overflow: hidden; }
.loader__bar span { display: block; height: 100%; width: 0; background: var(--grad-brand); box-shadow: 0 0 12px var(--cyan); transition: width 0.2s linear; }
.loader__pct { margin-top: 0.6rem; font-family: var(--f-title); font-size: 0.7rem; color: var(--cyan); }
@keyframes pulse { 50% { opacity: 0.55; transform: scale(0.97); } }

/* ---------- Progreso / cursor ---------- */
.scroll-progress { position: fixed; top: 0; left: 0; height: 2px; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: var(--grad-brand); z-index: 200; box-shadow: 0 0 10px var(--cyan); }
.cursor-glow {
  position: fixed; left: 0; top: 0; width: 420px; height: 420px; border-radius: 50%;
  pointer-events: none; z-index: 1;
  background: radial-gradient(circle, rgba(0, 211, 241, 0.11) 0%, rgba(169, 0, 114, 0.08) 35%, transparent 70%);
  opacity: 0; transition: opacity 0.4s; mix-blend-mode: screen;
}
@media (hover: hover) { body:hover .cursor-glow { opacity: 1; } }

/* ---------- Nav ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 100; padding: 18px 0; transition: padding 0.4s var(--ease), background 0.4s, border-color 0.4s; border-bottom: 1px solid transparent; }
.nav.is-scrolled { padding: 10px 0; background: rgba(23, 0, 43, 0.72); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%); border-color: var(--line); }
.nav__wrap { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.nav__brand img { height: 38px; width: auto; }
.nav__menu {
  display: flex; gap: 0.2rem;
  padding: 5px;
  border-radius: 999px;
  border: 1px solid var(--line-soft);
  background: rgba(12, 0, 23, 0.35);
  backdrop-filter: blur(10px);
}
.nav__menu a { position: relative; padding: 0.45rem 0.95rem; font-size: 0.86rem; font-weight: 500; color: var(--text-soft); border-radius: 999px; transition: color 0.3s, background 0.3s; }
.nav__menu a:hover, .nav__menu a.is-active { color: #fff; background: rgba(0, 211, 241, 0.12); }
.nav__menu a.is-active { box-shadow: inset 0 0 0 1px rgba(0, 211, 241, 0.3); }
.nav__menu-contact { display: none; }
.nav__toggle { display: none; width: 44px; height: 44px; position: relative; }
.nav__toggle span { position: absolute; left: 11px; right: 11px; height: 2px; background: #fff; border-radius: 2px; transition: transform 0.4s var(--ease), opacity 0.3s, top 0.4s var(--ease); }
.nav__toggle span:nth-child(1) { top: 15px; }
.nav__toggle span:nth-child(2) { top: 21px; }
.nav__toggle span:nth-child(3) { top: 27px; }
.nav.is-open .nav__toggle span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav.is-open .nav__toggle span:nth-child(2) { opacity: 0; }
.nav.is-open .nav__toggle span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  padding: 130px 0 40px;
  background: var(--grad-bg), url("../assets/img/hero-bg.jpg") center / cover no-repeat;
  overflow: hidden;
}
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.hero__grid-overlay {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: linear-gradient(rgba(0, 211, 241, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 211, 241, 0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 50% 25%, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 25%, #000 0%, transparent 70%);
}
.hero__bgword {
  top: 70px; left: 50%;
  font-size: clamp(14rem, 42vw, 38rem);
  --hx-base: -30%;
  transform: translateX(calc(var(--hx-base) + var(--hx, 0px))) translateY(var(--hy, 0px));
  -webkit-text-stroke: 1.5px rgba(0, 211, 241, 0.14);
  background: linear-gradient(180deg, rgba(169, 0, 114, 0.18), transparent 70%);
  -webkit-background-clip: text; background-clip: text;
  transition: transform 0.8s var(--ease);
}

.hero__top {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 2rem;
  align-items: center;
  min-height: calc(100svh - 420px);
}
.chip-label {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--f-body); font-size: 0.78rem; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--text-soft);
  margin-bottom: 1.2rem;
}
.chip-label__ico { color: var(--aqua); font-size: 0.9rem; animation: spin 6s linear infinite; display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }
.hero__title {
  font-family: var(--f-title); font-weight: 400;
  font-size: clamp(2.6rem, 6.4vw, 5.6rem);
  line-height: 0.98; letter-spacing: -0.03em;
}
.hero__title > span { display: block; }
.hero__five {
  background: linear-gradient(180deg, #ffffff 0%, #d9c6f5 45%, #7b5ca8 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 4px 20px rgba(169, 0, 114, 0.6));
}
.hero__pill {
  margin-top: 1.4rem;
  display: inline-flex; align-items: center; gap: 0.7rem;
  padding: 0.55rem 1.1rem;
  border: 1px solid rgba(244, 238, 255, 0.3);
  border-radius: 999px;
  font-family: var(--f-title); font-size: clamp(0.58rem, 1.1vw, 0.68rem); letter-spacing: 0.18em;
  background: rgba(42, 0, 72, 0.4); backdrop-filter: blur(6px);
  min-height: 2.4rem; min-width: 18rem;
}
.typed::after { content: "▍"; color: var(--aqua); animation: blink 1s steps(2) infinite; margin-left: 2px; }
@keyframes blink { 50% { opacity: 0; } }
.dot-live { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--green); animation: ping 1.8s infinite; flex: none; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(0, 242, 136, 0.7); } 70%, 100% { box-shadow: 0 0 0 10px rgba(0, 242, 136, 0); } }

.hero__meta { margin-top: 2rem; display: flex; align-items: center; gap: 1.4rem; }
.hero__days, .hero__month { font-family: var(--f-title); font-size: clamp(1.15rem, 2.4vw, 1.75rem); line-height: 1.15; }
.hero__month { color: var(--aqua); }
.hero__sep { width: 1px; align-self: stretch; background: var(--line); }
.hero__place { font-size: 0.9rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--text-soft); line-height: 1.6; }
.hero__ctas { margin-top: 2.2rem; display: flex; gap: 0.8rem; flex-wrap: wrap; }

/* Vaca holograma */
.hero__visual { display: flex; justify-content: center; }
.cow-holo { position: relative; width: min(540px, 100%); aspect-ratio: 963 / 395; margin-block: 12% 14%; transition: transform 0.6s var(--ease); }
.cow-holo__img { position: relative; z-index: 2; width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 0 14px rgba(0, 211, 241, 0.7)) drop-shadow(0 0 40px rgba(0, 232, 171, 0.35)); animation: holoFloat 6s ease-in-out infinite; }
@keyframes holoFloat { 50% { transform: translateY(-14px); } }
.cow-holo__scan { position: absolute; z-index: 3; left: -4%; right: -4%; height: 3px; top: 0; background: linear-gradient(90deg, transparent, var(--green), var(--cyan), transparent); box-shadow: 0 0 20px 4px rgba(0, 242, 136, 0.6); animation: scan 3.6s ease-in-out infinite; border-radius: 3px; }
@keyframes scan { 0%, 100% { top: -6%; opacity: 0; } 10% { opacity: 1; } 50% { top: 100%; opacity: 1; } 60% { opacity: 0; } }
.cow-holo__ring { position: absolute; z-index: 1; left: 50%; bottom: -24%; width: 110%; aspect-ratio: 4 / 1; border-radius: 50%; transform: translateX(-50%); border: 1px solid rgba(0, 211, 241, 0.4); box-shadow: 0 0 40px rgba(169, 0, 114, 0.5), inset 0 0 30px rgba(0, 211, 241, 0.25); }
.cow-holo__ring--1 { animation: ring 4s ease-in-out infinite; }
.cow-holo__ring--2 { width: 80%; bottom: -16%; border-color: rgba(169, 0, 114, 0.6); animation: ring 4s ease-in-out infinite reverse; }
@keyframes ring { 50% { transform: translateX(-50%) scale(1.06); opacity: 0.6; } }
.cow-holo__tag { position: absolute; z-index: 3; top: -24%; left: 4%; font-family: var(--f-title); font-size: 0.55rem; letter-spacing: 0.15em; color: var(--aqua); padding: 0.3rem 0.5rem; border: 1px solid rgba(0, 232, 171, 0.35); background: rgba(12, 0, 23, 0.5); border-radius: 4px; }

/* Cuenta regresiva ampliada */
.countdown {
  position: relative; z-index: 2;
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap;
  margin-top: 1.2rem;
  padding: 0.9rem 1.4rem;
  border-radius: 18px;
  background: rgba(12, 0, 23, 0.4);
  border: 1px solid var(--line-soft);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.countdown__head { display: flex; flex-direction: column; gap: 0.15rem; }
.countdown__label { display: flex; align-items: center; gap: 0.6rem; font-size: 0.7rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--text-soft); }
.countdown__label .dot-live { width: 6px; height: 6px; }
.countdown__date { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-mute); }
.rings { display: flex; gap: clamp(8px, 1.6vw, 18px); }
.ring { position: relative; width: 64px; aspect-ratio: 1; display: grid; place-items: center; text-align: center; }
.ring svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 1.4; }
.ring__bg { stroke: rgba(244, 238, 255, 0.1); }
.ring__fg { stroke: var(--cyan); stroke-width: 1.8; stroke-linecap: round; stroke-dasharray: 176; stroke-dashoffset: 176; transition: stroke-dashoffset 0.8s var(--ease); opacity: 0.85; }
.ring[data-ring="d"] .ring__fg { stroke: var(--green); }
.ring[data-ring="m"] .ring__fg { stroke: var(--aqua); }
.ring[data-ring="s"] .ring__fg { stroke: var(--magenta-soft); }
.ring span { font-family: var(--f-title); font-size: 1rem; line-height: 1; font-variant-numeric: tabular-nums; margin-top: -0.35rem; }
.ring small { position: absolute; bottom: 17%; font-size: 0.48rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-mute); }

/* Bienvenida resumida */
.welcome__intro { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(24px, 5vw, 80px); align-items: end; }
.welcome__lead { font-family: var(--f-title); font-size: clamp(1.05rem, 2.2vw, 1.55rem); line-height: 1.5; color: var(--text); }
.welcome__lead strong { font-weight: 400; color: var(--aqua); }
.welcome__text { color: var(--text-soft); font-size: 1.02rem; padding-left: 1.4rem; border-left: 1px solid var(--line); }

/* Partners */
.partners { position: relative; z-index: 2; display: flex; align-items: center; gap: 1.6rem; margin-top: 2.4rem; padding-top: 1.4rem; border-top: 1px solid var(--line-soft); }
.partners__label { flex: none; font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--text-mute); }
.partners__viewport { flex: 1; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.partners__track { display: flex; gap: 2.6rem; width: max-content; animation: marquee 60s linear infinite; }
.partners__track:hover { animation-play-state: paused; }
.partners__track { align-items: center; }
.partners__track img { height: 40px; width: auto; max-width: 150px; object-fit: contain; opacity: 0.78; transition: opacity 0.3s, transform 0.3s; }
.partners__track img:hover { transform: scale(1.08); }
.partners__track img:hover { opacity: 1; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* =========================================================
   BIENVENIDA
   ========================================================= */
.welcome { background: radial-gradient(60% 50% at 0% 0%, rgba(169, 0, 114, 0.22), transparent 70%), radial-gradient(50% 50% at 100% 100%, rgba(0, 211, 241, 0.08), transparent 70%), var(--purple-deep); }
/* Cifras */
.figures { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; margin-top: clamp(50px, 7vw, 90px); }
.figure { border-top: 1px solid rgba(244, 238, 255, 0.25); padding-top: 1.2rem; }
.figure__num { display: block; font-family: var(--f-title); font-size: clamp(2.4rem, 5vw, 3.8rem); line-height: 1; background: var(--grad-cool); -webkit-background-clip: text; background-clip: text; color: transparent; }
.figure__label { display: block; margin-top: 0.7rem; font-size: 0.9rem; color: var(--text-soft); max-width: 220px; line-height: 1.45; }

/* =========================================================
   AGENDA
   ========================================================= */
.agenda { background: linear-gradient(rgba(0, 211, 241, 0.03) 1px, transparent 1px) 0 0 / 64px 64px, linear-gradient(90deg, rgba(0, 211, 241, 0.03) 1px, transparent 1px) 0 0 / 64px 64px, linear-gradient(180deg, var(--purple-deep), var(--purple) 50%, var(--purple-deep)); }
.agenda__bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.6rem; padding-bottom: 1.6rem; border-bottom: 1px solid var(--line); }
.tabs { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; width: min(480px, 100%); padding: 6px; border-radius: 18px; background: rgba(12, 0, 23, 0.55); border: 1px solid var(--line); }
.tab { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 0.7rem 0.4rem; border-radius: 13px; transition: color 0.4s; color: var(--text-mute); }
.tab__dow { font-family: var(--f-title); font-size: 0.55rem; writing-mode: vertical-rl; transform: rotate(180deg); padding: 0.25rem 0.12rem; border-radius: 4px; background: rgba(255, 255, 255, 0.08); transition: background 0.4s, color 0.4s; }
.tab__num { font-family: var(--f-title); font-size: clamp(1.4rem, 3vw, 1.9rem); line-height: 1; }
.tab__month { font-family: var(--f-title); font-size: 0.6rem; align-self: flex-end; margin-bottom: 0.2rem; }
.tab.is-active { color: var(--purple-ink); }
.tab.is-active .tab__dow { background: var(--purple); color: var(--aqua); }
.tabs__indicator { position: absolute; z-index: 0; top: 6px; bottom: 6px; left: 6px; width: calc((100% - 24px) / 3); border-radius: 13px; background: var(--grad-cool); box-shadow: 0 10px 30px -8px rgba(0, 211, 241, 0.7); transition: transform 0.55s var(--ease); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 0.5rem 1rem; border-radius: 999px; font-size: 0.82rem; border: 1px solid rgba(244, 238, 255, 0.2); color: var(--text-soft); transition: all 0.3s var(--ease); }
.chip:hover { border-color: var(--cyan); color: #fff; }
.chip.is-active { background: var(--magenta); border-color: var(--magenta); color: #fff; box-shadow: 0 6px 24px -6px rgba(169, 0, 114, 0.9); }

.timeline { list-style: none; position: relative; padding-left: 38px; max-width: 980px; margin-inline: auto; }
.timeline::before { content: ""; position: absolute; left: 9px; top: 6px; bottom: 6px; width: 1px; background: linear-gradient(180deg, var(--aqua), var(--cyan), var(--magenta)); opacity: 0.35; }
.timeline__fill { position: absolute; left: 8.5px; top: 6px; width: 2px; height: 0; background: linear-gradient(180deg, var(--green), var(--cyan)); box-shadow: 0 0 12px var(--cyan); transition: height 0.15s linear; }
.t-item::before { content: ""; position: absolute; left: -35px; top: 24px; width: 13px; height: 13px; border-radius: 50%; background: var(--purple-ink); border: 2px solid var(--aqua); box-shadow: 0 0 0 4px rgba(0, 232, 171, 0.12); }
.t-item--break::before { border-color: rgba(244, 238, 255, 0.35); box-shadow: none; }
.t-item--key::before { border-color: var(--magenta-soft); background: var(--magenta); box-shadow: 0 0 14px var(--magenta); }
.t-item { position: relative; margin-bottom: 14px; opacity: 0; transform: translateY(24px); animation: tIn 0.7s var(--ease) forwards; }
@keyframes tIn { to { opacity: 1; transform: none; } }
.t-item.is-hidden { display: none; }

.t-card {
  position: relative; height: 100%;
  display: grid; grid-template-columns: 140px 1fr; gap: 1.2rem;
  padding: 1rem;
  border-radius: var(--radius);
  background: var(--glass);
  border: 1px solid var(--line);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  transition: border-color 0.35s, transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
  overflow: hidden; text-align: left; width: 100%;
}
.t-card--noimg { grid-template-columns: 1fr; padding: 1.1rem 1.4rem; }
.t-card--break { background: rgba(244, 238, 255, 0.03); border-style: dashed; border-color: rgba(244, 238, 255, 0.15); }
.t-card--key { background: linear-gradient(120deg, rgba(169, 0, 114, 0.4), rgba(42, 0, 72, 0.5)); border-color: rgba(255, 92, 198, 0.45); }
button.t-card { cursor: pointer; }
button.t-card:hover { border-color: rgba(0, 232, 171, 0.55); transform: translateY(-4px); box-shadow: 0 24px 50px -26px rgba(0, 232, 171, 0.7); }
.t-card::after { content: ""; position: absolute; inset: 0; background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 50%), rgba(0, 211, 241, 0.12), transparent 50%); opacity: 0; transition: opacity 0.4s; pointer-events: none; }
.t-card:hover::after { opacity: 1; }
.t-card__img { border-radius: 14px; overflow: hidden; position: relative; }
.t-card__idx { position: absolute; top: 8px; left: 8px; font-family: var(--f-title); font-size: 0.58rem; padding: 0.25rem 0.45rem; border-radius: 6px; background: rgba(12, 0, 23, 0.7); color: var(--aqua); z-index: 1; }
.t-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); min-height: 150px; }
button.t-card:hover .t-card__img img { transform: scale(1.08); }
.t-card__body { display: flex; flex-direction: column; }
.t-card__time { font-family: var(--f-title); font-size: 0.72rem; color: var(--aqua); }
.t-card__type { display: inline-block; margin: 0.45rem 0 0.35rem; font-family: var(--f-title); font-size: 0.6rem; color: var(--magenta-soft); letter-spacing: 0.08em; }
.t-card h3 { font-family: var(--f-title); font-weight: 400; font-size: clamp(0.86rem, 1.4vw, 0.98rem); line-height: 1.42; color: #fff; }
.t-card--noimg h3 { font-size: clamp(0.82rem, 1.4vw, 0.92rem); margin-top: 0.3rem; }
.t-card__speaker { margin-top: 0.5rem; font-size: 0.86rem; color: var(--text-soft); line-height: 1.45; }
.t-card__speaker b { color: var(--aqua); font-weight: 600; }
.t-card__list { list-style: none; margin-top: 0.6rem; display: flex; flex-wrap: wrap; gap: 6px; }
.t-card__list li { padding: 0.25rem 0.7rem; font-size: 0.8rem; color: var(--text-soft); border-radius: 999px; border: 1px solid rgba(255, 92, 198, 0.35); background: rgba(169, 0, 114, 0.14); }
.t-card__more { margin-top: auto; padding-top: 0.8rem; display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.74rem; color: var(--cyan); letter-spacing: 0.08em; text-transform: uppercase; }
.t-card__more i { width: 26px; height: 26px; border-radius: 50%; border: 1px solid currentColor; display: grid; place-items: center; font-style: normal; transition: transform 0.35s var(--ease), background 0.3s, color 0.3s; }
button.t-card:hover .t-card__more i { transform: rotate(-45deg); background: var(--cyan); color: var(--purple-ink); }
.t-empty { grid-column: 1 / -1; text-align: center; color: var(--text-mute); padding: 2rem; list-style: none; }

/* =========================================================
   REMATE
   ========================================================= */
.remate { background: radial-gradient(70% 60% at 0% 60%, rgba(169, 0, 114, 0.35), transparent 70%), var(--purple-deep); }
.remate__grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.remate__text p { color: var(--text-soft); margin-bottom: 1rem; }
.remate__info { display: grid; grid-template-columns: auto 1fr; gap: 1px; margin-bottom: 1.4rem; border-radius: 16px; overflow: hidden; background: rgba(255, 92, 198, 0.4); }
.remate__info div { padding: 1rem 1.2rem; background: var(--magenta); }
.remate__info div:last-child { background: #7c0a6a; }
.remate__info small { display: block; font-size: 0.65rem; letter-spacing: 0.2em; text-transform: uppercase; opacity: 0.75; }
.remate__info strong { font-family: var(--f-title); font-weight: 400; font-size: 0.82rem; line-height: 1.4; }
.remate__claim { font-style: italic; color: #fff !important; }
.remate__poster { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid rgba(0, 211, 241, 0.3); box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.7), 0 0 60px -10px rgba(169, 0, 114, 0.6); transform-style: preserve-3d; }
.poster__shine { position: absolute; inset: 0; background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, 0.18) 50%, transparent 65%); background-size: 250% 100%; animation: shine 5s ease-in-out infinite; pointer-events: none; }
@keyframes shine { 0% { background-position: 150% 0; } 60%, 100% { background-position: -100% 0; } }

/* =========================================================
   PLANEA TU VIAJE
   ========================================================= */
.viaje { background: radial-gradient(60% 50% at 50% 0%, rgba(0, 211, 241, 0.1), transparent 70%), linear-gradient(180deg, var(--purple-deep), var(--purple)); }
.trip { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.trip__card {
  position: relative;
  display: flex; flex-direction: column;
  padding: clamp(1.4rem, 3vw, 2.2rem);
  border-radius: 26px;
  background: linear-gradient(160deg, rgba(0, 211, 241, 0.1), rgba(42, 0, 72, 0.55) 45%);
  border: 1px solid var(--line);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  overflow: hidden;
  transition: border-color 0.4s, transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.trip__card::before { content: ""; position: absolute; inset: 0 0 auto; height: 2px; background: var(--grad-cool); }
.trip__card--alt { background: linear-gradient(160deg, rgba(169, 0, 114, 0.22), rgba(42, 0, 72, 0.55) 45%); border-color: rgba(255, 92, 198, 0.22); }
.trip__card--alt::before { background: var(--grad-hot); }
.trip__card:hover { border-color: rgba(0, 232, 171, 0.45); transform: translateY(-4px); box-shadow: 0 30px 60px -32px rgba(0, 211, 241, 0.6); }
.trip__card--alt:hover { border-color: rgba(255, 92, 198, 0.6); box-shadow: 0 30px 60px -32px rgba(169, 0, 114, 0.8); }
.trip__head { display: flex; justify-content: space-between; align-items: center; }
.trip__idx { font-family: var(--f-title); font-size: 0.72rem; color: var(--text-mute); }
.trip__ico { width: 46px; height: 46px; padding: 11px; border-radius: 14px; fill: none; stroke: var(--purple-ink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; background: var(--grad-cool); }
.trip__card--alt .trip__ico { background: var(--grad-hot); stroke: #fff; }
.trip__title { font-family: var(--f-title); font-weight: 400; font-size: clamp(1.3rem, 2.4vw, 1.8rem); margin: 1.4rem 0 0.4rem; text-transform: uppercase; }
.trip__lead { color: var(--text-soft); }

.route { display: flex; align-items: center; gap: 1rem; margin: 1.8rem 0; }
.route__end strong { display: block; font-family: var(--f-title); font-weight: 400; font-size: 1.6rem; line-height: 1; }
.route__end small { font-size: 0.72rem; color: var(--text-mute); letter-spacing: 0.1em; text-transform: uppercase; }
.route__end:last-child { text-align: right; }
.route__path { flex: 1; position: relative; height: 2px; background: repeating-linear-gradient(90deg, var(--cyan) 0 6px, transparent 6px 12px); opacity: 0.8; }
.route__path::before, .route__path::after { content: ""; position: absolute; top: 50%; width: 9px; height: 9px; border-radius: 50%; transform: translateY(-50%); background: var(--aqua); box-shadow: 0 0 10px var(--aqua); }
.route__path::before { left: -2px; }
.route__path::after { right: -2px; background: var(--magenta-soft); box-shadow: 0 0 10px var(--magenta); }
.route__plane { position: absolute; top: 50%; left: 0; font-size: 1.1rem; color: #fff; text-shadow: 0 0 10px var(--cyan); transform: translate(-50%, -55%); animation: fly 4s ease-in-out infinite; }
@keyframes fly { 0% { left: 0; opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { left: 100%; opacity: 0; } }

.trip__list { list-style: none; display: grid; gap: 10px; margin-bottom: 1.8rem; }
.trip__list li { display: flex; align-items: center; gap: 0.9rem; padding: 0.7rem 0.9rem; border-radius: 14px; background: rgba(12, 0, 23, 0.4); border: 1px solid var(--line-soft); font-size: 0.9rem; color: var(--text-soft); }
.trip__list img { width: 84px; height: 34px; object-fit: contain; padding: 5px 8px; background: #fff; border-radius: 8px; flex: none; }
.trip__list b { color: #fff; font-weight: 600; }
.trip__list .code { font-family: var(--f-title); font-weight: 400; color: var(--aqua); letter-spacing: 0.08em; }
.trip__dot { width: 84px; height: 34px; flex: none; border-radius: 8px; background: rgba(0, 211, 241, 0.12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300D3F1' stroke-width='1.8'%3E%3Ccircle cx='12' cy='8' r='3.5'/%3E%3Cpath d='M5 20c1-3.5 3.5-5 7-5s6 1.5 7 5'/%3E%3C/svg%3E") center / 20px no-repeat; }
.trip__stats { display: grid; grid-template-columns: auto 1fr; gap: 2rem; margin: 1.8rem 0 1.2rem; }
.trip__stats div { border-top: 1px solid rgba(244, 238, 255, 0.25); padding-top: 0.8rem; }
.trip__stats .dotted { display: block; font-size: 2.6rem; line-height: 1; }
.trip__from { display: block; font-family: var(--f-title); font-size: clamp(1.4rem, 2.6vw, 1.9rem); line-height: 1.2; background: var(--grad-cool); -webkit-background-clip: text; background-clip: text; color: transparent; }
.trip__stats small { font-size: 0.74rem; color: var(--text-mute); letter-spacing: 0.1em; text-transform: uppercase; }
.trip__chips { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 1.2rem; }
.trip__chips li { padding: 0.35rem 0.8rem; border-radius: 999px; font-size: 0.8rem; border: 1px solid rgba(255, 92, 198, 0.35); background: rgba(169, 0, 114, 0.15); }
.trip__note { font-size: 0.85rem; color: var(--text-mute); margin-bottom: 1.8rem; }
.trip__btn { margin-top: auto; align-self: flex-start; }

/* =========================================================
   PATROCINADORES
   ========================================================= */
.sponsors { background: var(--purple-deep); }
.org { display: grid; grid-template-columns: 180px 1fr; align-items: center; gap: 1.5rem; padding-bottom: 2.4rem; margin-bottom: 2.4rem; border-bottom: 1px solid var(--line); }
.org__label { font-size: 0.78rem; font-weight: 500; letter-spacing: 0.24em; text-transform: uppercase; color: var(--aqua); display: flex; align-items: center; gap: 0.8rem; }
.org__label::before { content: ""; width: 24px; height: 1px; background: var(--aqua); }
.org__card { display: flex; justify-content: center; align-items: center; padding: clamp(1.4rem, 3vw, 2.2rem); border-radius: 22px; background: #fff; box-shadow: 0 0 0 1px rgba(0, 242, 136, 0.35), 0 30px 60px -30px rgba(0, 242, 136, 0.45); max-width: 520px; }
.sponsors__org { width: min(380px, 100%); height: auto; }
.sponsors__block { display: grid; grid-template-columns: 180px 1fr; gap: 1.5rem; align-items: start; }
.sponsors__block .org__label { padding-top: 0.6rem; }
.sponsor-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 10px; }
.sponsor { position: relative; aspect-ratio: 185 / 133; border-radius: 14px; background: #fff; overflow: hidden; display: grid; place-items: center; transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease); opacity: 0; transform: translateY(20px) scale(0.96); }
.sponsor.is-in { opacity: 1; transform: none; transition: opacity 0.6s var(--ease), transform 0.6s var(--ease), box-shadow 0.45s; }
.sponsor img { width: 100%; height: 100%; object-fit: contain; transition: transform 0.5s var(--ease); }
.sponsor:hover { box-shadow: 0 0 0 2px var(--aqua), 0 16px 40px -10px rgba(0, 232, 171, 0.7); transform: translateY(-4px); }
.sponsor:hover img { transform: scale(1.05); }

/* =========================================================
   CONTACTO
   ========================================================= */
.final { position: relative; padding: clamp(100px, 13vw, 170px) 0; text-align: center; overflow: hidden; background: radial-gradient(80% 70% at 50% 100%, rgba(169, 0, 114, 0.6), transparent 70%), var(--purple); }
.final__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.final__inner { position: relative; z-index: 1; }
.final .shead__idx { justify-content: center; }
.final .shead__idx::before { content: ""; flex: 0 0 60px; height: 1px; background: linear-gradient(270deg, var(--aqua), transparent); }
.final__title { font-family: var(--f-title); font-weight: 400; font-size: clamp(2rem, 7vw, 5.2rem); line-height: 1.05; margin-bottom: 1.2rem; text-transform: uppercase; letter-spacing: -0.02em; }
.final__date { font-size: clamp(0.85rem, 1.8vw, 1.05rem); letter-spacing: 0.25em; color: var(--text-soft); margin-bottom: 2.8rem; text-transform: uppercase; }

.contact {
  display: grid; grid-template-columns: 1.15fr 1fr 1.1fr;
  max-width: 1040px; margin-inline: auto;
  text-align: left;
  border-radius: 24px;
  overflow: hidden;
  background: rgba(12, 0, 23, 0.6);
  border: 1px solid rgba(0, 211, 241, 0.25);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.8);
}
.contact > * { padding: 1.4rem 1.5rem; display: flex; align-items: center; gap: 1rem; }
.contact > * + * { border-left: 1px solid var(--line); }
.contact small { display: block; font-size: 0.66rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-mute); }
.contact strong { display: block; font-family: var(--f-title); font-weight: 400; font-size: 0.8rem; line-height: 1.4; white-space: nowrap; }
.contact > * > span:not([class]) , .contact__person > div { min-width: 0; }
.contact__person span:not(.contact__avatar) { font-size: 0.82rem; color: var(--aqua); }
.contact__avatar { width: 52px; height: 52px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--grad-hot); box-shadow: 0 0 0 4px rgba(169, 0, 114, 0.25); }
.contact__avatar svg, .contact__ico svg { width: 24px; height: 24px; fill: none; stroke: #fff; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.contact__ico { width: 44px; height: 44px; flex: none; border-radius: 12px; display: grid; place-items: center; background: rgba(0, 211, 241, 0.12); border: 1px solid rgba(0, 211, 241, 0.3); transition: background 0.3s; }
.contact__ico svg { stroke: var(--cyan); width: 20px; height: 20px; }
.contact__item { position: relative; transition: background 0.35s; }
.contact__item:hover { background: rgba(0, 211, 241, 0.08); }
.contact__item:hover .contact__ico { background: var(--cyan); }
.contact__item:hover .contact__ico svg { stroke: var(--purple-ink); }
.contact__go { margin-left: auto; color: var(--cyan); transition: transform 0.35s var(--ease); }
.contact__item:hover .contact__go { transform: translateX(4px); }

/* ---------- Footer ---------- */
.footer { padding: 2rem 0; background: var(--purple-ink); border-top: 1px solid var(--line); }
.footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.footer img { height: 34px; width: auto; }
.footer p { font-size: 0.84rem; color: var(--text-mute); }
.to-top { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); color: var(--aqua); transition: all 0.3s; }
.to-top:hover { background: var(--aqua); color: var(--purple-ink); }

/* =========================================================
   POPUPS
   ========================================================= */
.modal { position: fixed; inset: 0; z-index: 500; display: grid; place-items: center; padding: 16px; visibility: hidden; }
.modal.is-open { visibility: visible; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(8, 0, 16, 0.78); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); opacity: 0; transition: opacity 0.4s; }
.modal.is-open .modal__backdrop { opacity: 1; }
.modal__panel {
  position: relative;
  width: min(780px, 100%);
  max-height: calc(100svh - 32px);
  border-radius: 26px;
  background: linear-gradient(160deg, var(--purple), var(--purple-deep) 60%);
  border: 1px solid rgba(0, 211, 241, 0.3);
  box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.9), 0 0 60px -20px rgba(0, 211, 241, 0.5);
  opacity: 0;
  transform: translateY(30px) scale(0.96);
  clip-path: inset(0 0 100% 0 round 26px);
  transition: opacity 0.45s var(--ease), transform 0.55s var(--ease), clip-path 0.7s var(--ease);
  overflow: hidden;
}
.modal.is-open .modal__panel { opacity: 1; transform: none; clip-path: inset(0 0 0 0 round 26px); }
.modal__panel::before { content: ""; position: absolute; inset: 0 0 auto; height: 2px; background: var(--grad-brand); z-index: 3; }
.modal__panel--session { display: grid; grid-template-columns: 0.9fr 1.1fr; overflow: auto; }
.modal__panel--wide { width: min(1120px, 100%); display: flex; flex-direction: column; }
.modal__scroll { overflow-y: auto; padding: clamp(1.6rem, 4vw, 2.8rem); overscroll-behavior: contain; }
.modal__scroll::-webkit-scrollbar { width: 8px; }
.modal__scroll::-webkit-scrollbar-thumb { background: rgba(0, 211, 241, 0.3); border-radius: 8px; }
.modal__h { font-family: var(--f-title); font-weight: 400; font-size: clamp(1.5rem, 3.6vw, 2.4rem); text-transform: uppercase; margin-bottom: 1.6rem; line-height: 1.1; }
.modal__img img { width: 100%; height: 100%; object-fit: cover; min-height: 280px; }
.modal__body { padding: 2.2rem 1.9rem; }
.modal__time { margin: 0.9rem 0 0.4rem; font-family: var(--f-title); font-size: 0.78rem; color: var(--aqua); }
.modal__body h3 { font-family: var(--f-title); font-weight: 400; font-size: 1.12rem; line-height: 1.42; margin-bottom: 0.8rem; }
.modal__speaker { color: #fff; font-size: 0.95rem; margin-bottom: 0.6rem; }
.modal__speaker:empty, .modal__desc:empty { display: none; }
.modal__desc { color: var(--text-soft); }
.modal__close { position: absolute; top: 14px; right: 14px; z-index: 4; width: 42px; height: 42px; border-radius: 50%; font-size: 1.5rem; line-height: 1; background: rgba(12, 0, 23, 0.75); border: 1px solid var(--line); transition: transform 0.3s var(--ease), background 0.3s; }
.modal__close:hover { transform: rotate(90deg); background: var(--magenta); }

.badge { display: inline-block; padding: 0.35rem 0.8rem; border-radius: 999px; font-size: 0.72rem; font-weight: 500; letter-spacing: 0.05em; color: var(--purple-ink); background: var(--aqua); }
.badge--magenta { background: var(--magenta); color: #fff; }

.mgrid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 16px; align-items: start; }
.mcol { display: grid; gap: 16px; }
.mcard { padding: clamp(1.2rem, 2.6vw, 1.7rem); border-radius: 18px; background: rgba(12, 0, 23, 0.45); border: 1px solid var(--line); }
.mcard p { color: var(--text-soft); font-size: 0.94rem; }
.mcard__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1rem; }
.mcard__eyebrow { font-size: 0.72rem !important; letter-spacing: 0.22em; text-transform: uppercase; color: var(--aqua) !important; }
.mcard__title { font-family: var(--f-title); font-weight: 400; font-size: 1.25rem; margin: 0.3rem 0 0.1rem; }
.airline-logo { height: 44px; width: auto; padding: 8px 14px; border-radius: 10px; background: #fff; }

.flights { margin-top: 1.2rem; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); }
.flights__row { display: grid; grid-template-columns: 1fr 1.3fr 1.3fr; gap: 0.5rem; padding: 0.8rem 1rem; font-size: 0.9rem; border-top: 1px solid rgba(0, 211, 241, 0.1); transition: background 0.3s; align-items: center; }
.flights__row:hover:not(.flights__row--head) { background: rgba(0, 211, 241, 0.08); }
.flights__row--head { border-top: 0; background: var(--grad-cool); color: var(--purple-ink); font-family: var(--f-title); font-size: 0.6rem; letter-spacing: 0.04em; }
.flights__date { font-weight: 600; color: #fff; }
.flight { display: flex; align-items: center; gap: 0.45rem; font-variant-numeric: tabular-nums; color: var(--text-soft); }
.flight b { color: #fff; font-weight: 500; }
.flight small { font-size: 0.72rem; color: var(--text-mute); }

.promo__code { width: 100%; margin-top: 1.2rem; display: flex; justify-content: space-between; align-items: center; padding: 1rem 1.2rem; border-radius: 12px; border: 1.5px dashed var(--aqua); background: rgba(0, 232, 171, 0.07); transition: background 0.3s, transform 0.3s var(--ease); }
.promo__code:hover { background: rgba(0, 232, 171, 0.16); transform: translateY(-2px); }
.promo__text { font-family: var(--f-title); font-size: 1.6rem; letter-spacing: 0.15em; color: var(--aqua); }
.promo__hint { font-size: 0.78rem; color: var(--text-soft); }
.promo__code.is-copied { border-style: solid; border-color: var(--green); }
.promo__code.is-copied .promo__hint { color: var(--green); }

.agents { list-style: none; display: grid; gap: 8px; margin-top: 1rem; }
.agents li { padding: 0.8rem 1rem; border-radius: 12px; background: rgba(42, 0, 72, 0.5); border: 1px solid rgba(0, 211, 241, 0.12); transition: border-color 0.3s; }
.agents li:hover { border-color: var(--cyan); }
.agent { display: flex; flex-direction: column; }
.agent__phone { font-family: var(--f-title); font-size: 0.92rem; color: #fff; }
.agent__name { font-size: 0.85rem; color: var(--text-soft); }
.agent__mail { display: inline-block; margin-top: 0.2rem; font-size: 0.8rem; color: var(--cyan); word-break: break-all; }
.agent__mail:hover { text-decoration: underline; }

.hotel-tools { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; margin-bottom: 1.4rem; }
.switch { position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; padding: 5px; border-radius: 999px; background: rgba(12, 0, 23, 0.6); border: 1px solid var(--line); }
.switch__btn { position: relative; z-index: 1; padding: 0.6rem 1.2rem; font-size: 0.85rem; font-weight: 500; transition: color 0.35s; color: var(--text-soft); }
.switch__btn.is-active { color: var(--purple-ink); }
.switch__thumb { position: absolute; top: 5px; bottom: 5px; left: 5px; width: calc(50% - 5px); border-radius: 999px; background: var(--grad-cool); transition: transform 0.5s var(--ease); }
.switch.is-doble .switch__thumb { transform: translateX(100%); }
.sort { display: flex; align-items: center; gap: 0.6rem; font-size: 0.85rem; color: var(--text-soft); }
.sort select { appearance: none; padding: 0.6rem 2.2rem 0.6rem 1rem; border-radius: 999px; border: 1px solid var(--line); color: #fff; font: inherit; background: rgba(12, 0, 23, 0.6) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%2300E8AB' stroke-width='2.5'/%3E%3C/svg%3E") no-repeat right 0.9rem center; cursor: pointer; }
.sort select option { background: var(--purple); }

.hotel-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.hotel { position: relative; display: flex; flex-direction: column; padding: 1.3rem; border-radius: 18px; background: rgba(12, 0, 23, 0.45); border: 1px solid var(--line); overflow: hidden; transition: border-color 0.35s, box-shadow 0.45s var(--ease), transform 0.45s var(--ease); animation: tIn 0.6s var(--ease) both; }
.hotel:hover { border-color: rgba(0, 232, 171, 0.55); box-shadow: 0 24px 50px -24px rgba(0, 211, 241, 0.6); transform: translateY(-4px); }
.hotel::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: var(--grad-brand); transform: scaleX(0); transform-origin: left; transition: transform 0.6s var(--ease); }
.hotel:hover::before { transform: scaleX(1); }
.hotel__idx { font-family: var(--f-title); font-size: 0.62rem; color: var(--text-mute); }
.hotel__name { font-family: var(--f-title); font-weight: 400; font-size: 0.98rem; line-height: 1.3; margin: 0.4rem 0 0.2rem; }
.hotel__note { font-size: 0.75rem; color: var(--text-mute); }
.hotel__price { margin: 0.9rem 0 0.2rem; }
.hotel__price strong { display: block; font-family: var(--f-title); font-weight: 400; font-size: 1.35rem; background: var(--grad-cool); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.hotel__price span { font-size: 0.74rem; color: var(--text-mute); }
.hotel__alt { font-size: 0.8rem; color: var(--text-soft); margin-bottom: 0.9rem; }
.hotel__inc { list-style: none; display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 1.2rem; }
.hotel__inc li { padding: 0.22rem 0.55rem; font-size: 0.71rem; border-radius: 6px; background: rgba(169, 0, 114, 0.2); border: 1px solid rgba(169, 0, 114, 0.45); color: #f6d4ec; }
.hotel__link { margin-top: auto; display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem; padding: 0.7rem; border-radius: 10px; font-size: 0.82rem; font-weight: 500; border: 1px solid rgba(0, 211, 241, 0.4); color: var(--cyan); transition: all 0.3s var(--ease); }
.hotel__link:hover { background: var(--cyan); color: var(--purple-ink); }
.notes { margin-top: 1.6rem; padding: 1.4rem 1.6rem; border-radius: 18px; border: 1px solid rgba(169, 0, 114, 0.5); background: linear-gradient(135deg, rgba(169, 0, 114, 0.2), rgba(42, 0, 72, 0.3)); }
.notes h4 { font-family: var(--f-title); font-weight: 400; font-size: 0.95rem; margin-bottom: 0.7rem; color: var(--magenta-soft); }
.notes ul { padding-left: 1.2rem; display: grid; gap: 0.35rem; color: var(--text-soft); font-size: 0.92rem; }
.notes li::marker { color: var(--aqua); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(36px); filter: blur(6px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease), filter 0.9s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; filter: none; }
.reveal[data-delay="1"] { transition-delay: 0.1s; }
.reveal[data-delay="2"] { transition-delay: 0.2s; }
.reveal[data-delay="3"] { transition-delay: 0.3s; }
.reveal[data-delay="4"] { transition-delay: 0.4s; }
.reveal[data-delay="5"] { transition-delay: 0.5s; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1180px) {
  .sponsor-grid { grid-template-columns: repeat(5, 1fr); }
  .org, .sponsors__block { grid-template-columns: 1fr; gap: 1rem; }
  .hotel-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 980px) {
  .nav__toggle { display: block; }
  .nav__cta { display: none; }
  .nav__menu {
    position: fixed; inset: 0;
    flex-direction: column; justify-content: center; align-items: center; gap: 0.5rem;
    border: 0; border-radius: 0;
    background: rgba(12, 0, 23, 0.97); backdrop-filter: blur(20px);
    clip-path: circle(0% at calc(100% - 38px) 38px);
    transition: clip-path 0.7s var(--ease);
    z-index: -1;
  }
  .nav.is-open .nav__menu { clip-path: circle(150% at calc(100% - 38px) 38px); }
  .nav__menu a { font-family: var(--f-title); font-size: 1.15rem; padding: 0.7rem 1.4rem; opacity: 0; transform: translateY(16px); transition: opacity 0.4s, transform 0.5s var(--ease), color 0.3s, background 0.3s; }
  .nav__menu-contact { display: block; margin-top: 1rem; color: var(--purple-ink) !important; background: var(--grad-cool) !important; }
  .nav.is-open .nav__menu a { opacity: 1; transform: none; }
  .nav.is-open .nav__menu a:nth-child(2) { transition-delay: 0.05s; }
  .nav.is-open .nav__menu a:nth-child(3) { transition-delay: 0.1s; }
  .nav.is-open .nav__menu a:nth-child(4) { transition-delay: 0.15s; }
  .nav.is-open .nav__menu a:nth-child(5) { transition-delay: 0.2s; }
  .nav.is-open .nav__menu a:nth-child(6) { transition-delay: 0.25s; }

  .hero__top { grid-template-columns: 1fr; text-align: center; min-height: 0; }
  .hero__visual { order: -1; }
  .cow-holo { width: min(420px, 86%); margin-block: 10% 12%; }
  .hero__meta, .hero__ctas { justify-content: center; }
  .hero__bgword { --hx-base: -50%; top: 60px; }

  .welcome__intro, .remate__grid, .trip, .mgrid { grid-template-columns: 1fr; }
  .remate__poster { max-width: 520px; }
  .figures { grid-template-columns: repeat(2, 1fr); }
  .contact { grid-template-columns: 1fr; }
  .contact > * + * { border-left: 0; border-top: 1px solid var(--line); }
  .contact strong { white-space: normal; overflow-wrap: anywhere; font-size: 0.74rem; }
  .contact__go { display: none; }
  .modal__panel--session { grid-template-columns: 1fr; }
  .modal__img img { max-height: 240px; min-height: 200px; }
  .hotel-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .section { padding: 76px 0; }
  .hero { padding-top: 100px; }
  .cow-holo__tag { display: none; }
  .hero__pill { min-width: 0; }
  .hero__ctas .btn { flex: 1 1 100%; }
  .hero__meta { flex-direction: column; gap: 0.6rem; }
  .hero__sep { width: 60px; height: 1px; align-self: center; }
  .hero__place br { display: none; }
  .partners { flex-direction: column; align-items: flex-start; gap: 0.8rem; }
  .partners__viewport { width: 100%; }
  .partners__track img { height: 26px; }

  .shead__aside { padding-left: 0; border-left: 0; padding-top: 0.8rem; border-top: 1px solid var(--line); max-width: none; }
  .welcome__text { padding-left: 0; border-left: 0; }
  .countdown { justify-content: center; text-align: center; padding: 0.9rem; }
  .countdown__head { align-items: center; }
  .ring { width: 62px; }
  .figures { gap: 22px; }

  .agenda__bar { flex-direction: column; align-items: stretch; }
  .tabs { width: 100%; }
  .filters { justify-content: center; }
  .t-card { grid-template-columns: 1fr; gap: 0.9rem; }
  .t-card__img img { max-height: 200px; }
  .t-card__img img { min-height: 0; aspect-ratio: 16 / 9; }
  .t-card--noimg { grid-template-columns: 1fr; }
  .timeline { padding-left: 26px; }
  .timeline::before { left: 5px; }
  .timeline__fill { left: 4.5px; }
  .t-item::before { left: -27px; width: 11px; height: 11px; }

    .remate__info { grid-template-columns: 1fr; }
  .route__end strong { font-size: 1.2rem; }
  .trip__list li { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
  .trip__stats { gap: 1.2rem; }
  .trip__btn { align-self: stretch; white-space: normal; }

  .sponsor-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .sponsor { border-radius: 10px; }

  .modal { padding: 0; align-items: end; }
  .modal__panel { border-radius: 24px 24px 0 0; max-height: 92svh; clip-path: inset(100% 0 0 0 round 24px 24px 0 0); }
  .modal.is-open .modal__panel { clip-path: inset(0 0 0 0 round 24px 24px 0 0); }
  .modal__panel--session { overflow: auto; }
  .flights__row { grid-template-columns: 1fr 1fr; font-size: 0.82rem; padding: 0.75rem 0.8rem; }
  .flights__row > :first-child { grid-column: 1 / -1; }
  .flights__row--head > :first-child { display: none; }
  .flight { flex-wrap: wrap; gap: 0.25rem; }
  .hotel-grid { grid-template-columns: 1fr; }
  .hotel-tools { flex-direction: column; align-items: stretch; }
  .switch { width: 100%; }
  .sort { justify-content: space-between; }
  .footer__inner { justify-content: center; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; filter: none; }
}
