﻿
/* =========================================================
   Resultados en línea (tabla del cronometraje)
   ========================================================= */
.liveboard[hidden] { display: none; }
.liveboard__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.liveboard__sub {
  margin-top: 6px;
  font-size: .82rem;
  color: var(--gray-300);
}
.liveboard__meta { display: flex; align-items: center; gap: 10px; }
.liveboard__updated {
  font-family: var(--font-mono);
  font-size: .6rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gray-400);
}
.liveboard__refresh {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(244, 197, 66, .45);
  background: transparent;
  color: var(--yellow);
  cursor: pointer;
  transition: background .25s var(--ease);
}
.liveboard__refresh:hover { background: rgba(244, 197, 66, .14); }
.liveboard__refresh[disabled] { opacity: .45; cursor: default; }
.liveboard__refresh svg { width: 16px; height: 16px; }

.liveboard__bar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.liveboard__tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.liveboard__tab {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(244, 197, 66, .35);
  background: transparent;
  color: var(--bone);
  font-family: var(--font-mono);
  font-size: .6rem;
  letter-spacing: .07em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .25s var(--ease), color .25s var(--ease);
}
.liveboard__tab:hover { background: rgba(244, 197, 66, .12); }
.liveboard__tab.is-active { background: var(--yellow); color: var(--nogal-950); border-color: var(--yellow); }

.liveboard__search {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 1 1 240px;
  min-width: 200px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .16);
  background: rgba(255, 255, 255, .04);
}
.liveboard__search svg { width: 15px; height: 15px; color: var(--gray-400); flex: 0 0 auto; }
.liveboard__search input {
  flex: 1 1 auto;
  min-width: 0;
  border: 0;
  background: transparent;
  color: var(--bone);
  font-size: .8rem;
  outline: none;
}
.liveboard__search input::placeholder { color: var(--gray-500); }

.liveboard__select {
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(244, 197, 66, .35);
  background: var(--nogal-900, #241a13);
  color: var(--bone);
  font-size: .72rem;
  max-width: 320px;
}

.liveboard__field {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.liveboard__fieldlabel {
  font-family: var(--font-mono);
  font-size: .6rem;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--gray-400);
}

.liveboard__wrap {
  border: 1px solid rgba(244, 197, 66, .25);
  border-radius: 16px;
  background: rgba(255, 255, 255, .03);
  max-height: 62vh;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}

.lb-table { width: 100%; border-collapse: collapse; }
.lb-table th {
  position: sticky;
  top: 0;
  z-index: 1;
  padding: 10px 10px;
  text-align: left;
  background: var(--nogal-900, #241a13);
  color: var(--yellow);
  font-family: var(--font-mono);
  font-size: .56rem;
  letter-spacing: .09em;
  text-transform: uppercase;
  white-space: nowrap;
}
.lb-table td {
  padding: 8px 10px;
  border-top: 1px solid rgba(255, 255, 255, .06);
  color: var(--bone);
  font-size: .78rem;
  vertical-align: middle;
}
.lb-table tbody tr:nth-child(even) { background: rgba(255, 255, 255, .02); }
.lb-pos { width: 1%; white-space: nowrap; color: var(--yellow); font-family: var(--font-mono); font-weight: 700; }
.lb-bib { white-space: nowrap; font-family: var(--font-mono); color: var(--gray-300); }
.lb-name { min-width: 180px; }
.lb-cc {
  display: inline-block;
  margin-right: 5px;
  padding: 0 4px;
  border-radius: 4px;
  background: rgba(36, 20, 13, .08);
  color: #6b5d50;
  font-family: var(--font-mono);
  font-size: .56rem;
  letter-spacing: .06em;
  vertical-align: 1px;
}
.lb-cat { color: var(--gray-300); font-size: .7rem; }
.lb-time { white-space: nowrap; font-family: var(--font-mono); font-weight: 700; }
.lb-dif { white-space: nowrap; font-family: var(--font-mono); color: var(--gray-400); }
.lb-pace { white-space: nowrap; font-family: var(--font-mono); color: var(--gray-400); }

.liveboard__empty {
  margin: 16px 0 0;
  text-align: center;
  font-size: .8rem;
  color: var(--gray-400);
}
.liveboard__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 14px;
}
.liveboard__count { font-family: var(--font-mono); font-size: .6rem; color: var(--gray-400); }
.liveboard__note { margin-top: 10px; font-size: .66rem; color: var(--gray-500); }

/* Pantalla flotante con el top 3 en vivo */
.live-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 60;
  width: 272px;
  max-width: calc(100vw - 24px);
  padding: 11px 13px 13px;
  border-radius: 14px;
  border: 1px solid rgba(244, 197, 66, .42);
  background: rgba(27, 18, 13, .96);
  box-shadow: 0 20px 45px -22px rgba(0, 0, 0, .9);
  backdrop-filter: blur(6px);
}
.live-float[hidden] { display: none; }
.live-float__head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 9px;
}
.live-float__pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #e23b3b;
  animation: tctPulse 1.6s infinite;
  flex: 0 0 auto;
}
.live-float__head strong {
  flex: 1 1 auto;
  font-family: var(--font-mono);
  font-size: .56rem;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--bone);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.live-float__close {
  border: 0;
  background: transparent;
  color: var(--gray-400);
  font-size: 1.05rem;
  line-height: 1;
  padding: 0 2px;
  cursor: pointer;
}
.live-float__close:hover { color: var(--yellow); }
.live-float__list {
  list-style: none;
  margin: 0 0 10px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.live-float__row {
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-size: .72rem;
  color: var(--bone);
}
.live-float__pos {
  flex: 0 0 auto;
  width: 1.7em;
  font-family: var(--font-mono);
  color: var(--yellow);
}
.live-float__name {
  flex: 1 1 auto;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.live-float__time {
  flex: 0 0 auto;
  font-family: var(--font-mono);
  font-weight: 700;
}
.live-float__cta {
  display: block;
  padding: 7px 10px;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--nogal-950);
  font-family: var(--font-mono);
  font-size: .56rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-align: center;
  text-decoration: none;
}
.live-float__cta:hover { background: var(--yellow-2); }
@media (max-width: 640px) {
  .live-float { right: 10px; bottom: 10px; width: 226px; }
  .live-float__row { font-size: .68rem; }
}

@media (max-width: 680px) {
  .lb-table .lb-col-opt { display: none; }
  .lb-table td, .lb-table th { padding: 7px 8px; font-size: .72rem; }
  .lb-name { min-width: 130px; }
  .liveboard__wrap { max-height: 55vh; }
  .liveboard__select { max-width: 100%; }
}

/* =========================================================
   TCT · Landing 2027
   ========================================================= */

/* ================= TOPLINE + HEADER ================= */
.topline {
  background: var(--nogal-950);
  color: var(--gray-200);
  font-family: var(--font-mono);
  font-size: .6rem;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.topline__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 38px;
}
.topline__season { display: inline-flex; align-items: center; gap: 9px; color: var(--bone); }
.topline__links { display: inline-flex; align-items: center; gap: 14px; }
.topline__links a { transition: color .2s; }
.topline__links a:hover { color: var(--yellow); }
.topline__sep { width: 1px; height: 12px; background: rgba(244, 240, 232, .22); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(244, 240, 232, .86);
  border-bottom: 1px solid rgba(36, 20, 13, .1);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: box-shadow .3s, background .3s;
}
.site-header.is-scrolled { box-shadow: 0 16px 40px -30px rgba(36, 20, 13, .55); background: rgba(244, 240, 232, .95); }
.header__inner {
  display: flex;
  align-items: center;
  gap: 26px;
  min-height: var(--header-h);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: none;
}
.brand__stamp {
  width: 62px;
  height: 47px;
  padding: 4px;
  border-radius: 8px;
  background: var(--white);
  border: 1px solid rgba(36, 20, 13, .1);
  box-shadow: 0 4px 12px -8px rgba(36, 20, 13, .5);
  display: grid;
  place-items: center;
}
.brand__stamp img { width: 100%; height: 100%; object-fit: contain; }
.brand__name {
  display: flex;
  flex-direction: column;
  font-size: .82rem;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.01em;
  text-transform: uppercase;
}
.brand__name small {
  font-family: var(--font-mono);
  font-size: .51rem;
  font-weight: 500;
  letter-spacing: .14em;
  color: var(--gray-500);
  margin-top: 4px;
}
.nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: 26px; }
.nav__link {
  position: relative;
  display: inline-block;
  padding-block: 8px;
  font-size: .79rem;
  font-weight: 700;
  letter-spacing: -.005em;
  color: var(--nogal-700);
  transition: color .2s;
}
.nav__link::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 2px;
  height: 2px;
  background: var(--yellow);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav__link:hover, .nav__link.is-active { color: var(--nogal-950); }
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); }
.header__actions { display: flex; align-items: center; gap: 10px; margin-left: 8px; }
.header__cta { min-height: 44px; padding: 0 19px; font-size: .76rem; }
.admin-trigger {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(36, 20, 13, .16);
  color: var(--nogal-800);
  transition: background .25s, color .25s, border-color .25s, transform .25s var(--ease);
}
.admin-trigger svg { width: 17px; height: 17px; }
.admin-trigger:hover { background: var(--nogal-900); border-color: var(--nogal-900); color: var(--bone); transform: translateY(-1px); }
.admin-trigger:focus-visible { outline: 2px solid var(--lila); outline-offset: 2px; }
.menu-toggle {
  display: none;
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(36, 20, 13, .16);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}
.menu-toggle span { display: block; width: 18px; height: 2px; background: var(--nogal-900); transition: transform .3s var(--ease), opacity .3s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: var(--header-h) 0 0;
  z-index: 80;
  background: var(--nogal-950);
  color: var(--bone);
  padding: 32px var(--gutter) 40px;
  display: flex;
  flex-direction: column;
  gap: 26px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity .3s, transform .3s var(--ease), visibility .3s;
  overflow-y: auto;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; transform: none; }
.mobile-menu__list { display: flex; flex-direction: column; border-top: 1px solid rgba(244, 240, 232, .15); }
.mobile-menu__link {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding: 17px 0;
  border-bottom: 1px solid rgba(244, 240, 232, .15);
  font-family: var(--font-display);
  font-size: 2rem;
  line-height: 1;
  text-transform: uppercase;
  transition: color .2s, padding-left .25s var(--ease);
}
.mobile-menu__link:hover, .mobile-menu__link:focus-visible { color: var(--yellow); padding-left: 7px; }
.mobile-menu__link small { font-family: var(--font-mono); font-size: .55rem; letter-spacing: .12em; color: var(--gray-300); }
.mobile-menu__foot { margin-top: auto; display: flex; flex-direction: column; gap: 16px; }
.mobile-menu__meta { font-family: var(--font-mono); font-size: .64rem; line-height: 1.9; color: var(--gray-300); text-transform: uppercase; letter-spacing: .08em; }
.mobile-menu__meta a { color: var(--yellow); }

/* ================= HERO ================= */
.hero {
  position: relative;
  background: var(--nogal-900);
  color: var(--bone);
  overflow: hidden;
  isolation: isolate;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(720px 520px at 88% 12%, rgba(201, 180, 232, .24), transparent 66%),
    radial-gradient(560px 460px at 12% 88%, rgba(244, 197, 66, .13), transparent 70%),
    linear-gradient(155deg, var(--nogal-900) 0%, #1d100a 58%, #291811 100%);
}
.hero__bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(244, 240, 232, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244, 240, 232, .045) 1px, transparent 1px);
  background-size: 92px 92px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.85), transparent 82%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,.85), transparent 82%);
}
.hero__bg::after {
  content: '2027';
  position: absolute;
  right: -1.5vw;
  top: 5%;
  font-family: var(--font-display);
  font-size: clamp(18rem, 34vw, 34rem);
  line-height: .8;
  color: transparent;
  -webkit-text-stroke: 1px rgba(201, 180, 232, .12);
  letter-spacing: -.02em;
  pointer-events: none;
}
.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  align-items: center;
  gap: clamp(32px, 5vw, 76px);
  padding-top: clamp(38px, 5vw, 70px);
  padding-bottom: clamp(44px, 5vw, 70px);
  min-height: min(830px, calc(100svh - 120px));
}
.hero__copy { position: relative; z-index: 2; }
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 13px 8px 9px;
  border-radius: 999px;
  border: 1px solid rgba(244, 240, 232, .24);
  background: rgba(244, 240, 232, .06);
  font-family: var(--font-mono);
  font-size: .61rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--bone);
}
.hero__eyebrow .badge-dot { width: 6px; height: 6px; }
.hero__title {
  margin-top: 24px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(3.4rem, 7.6vw, 7.4rem);
  line-height: .82;
  letter-spacing: -.005em;
  text-transform: uppercase;
}
.hero__title span { display: block; }
.hero__title .line-outline {
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(244, 240, 232, .82);
}
.hero__title .line-accent {
  position: relative;
  display: inline-block;
  color: var(--lila);
  padding-right: .08em;
}
.hero__title .line-accent::after {
  content: '';
  position: absolute;
  left: .02em;
  right: .02em;
  bottom: -.05em;
  height: .075em;
  border-radius: 999px;
  background: var(--yellow);
  transform: rotate(-1.5deg);
}
.hero__lead {
  max-width: 33rem;
  margin-top: 26px;
  color: #d9d0c5;
  font-size: clamp(.96rem, 1.1vw, 1.06rem);
  line-height: 1.72;
}
.hero__lead strong { color: var(--bone); font-weight: 800; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 28px; }

.hero-search {
  display: flex;
  align-items: center;
  gap: 6px;
  max-width: 34rem;
  margin-top: 26px;
  padding: 6px 6px 6px 16px;
  border-radius: 16px;
  background: var(--bone);
  color: var(--nogal-950);
  box-shadow: 0 20px 50px -30px rgba(0, 0, 0, .7);
  border: 1px solid rgba(255, 253, 248, .35);
}
.hero-search__icon { width: 20px; height: 20px; color: var(--nogal-600); flex: none; }
.hero-search input {
  flex: 1;
  min-width: 0;
  height: 46px;
  border: 0;
  background: transparent;
  color: var(--nogal-950);
  font-size: .9rem;
  font-weight: 600;
}
.hero-search input::placeholder { color: var(--gray-500); font-weight: 500; }
.hero-search input:focus { outline: none; }
.hero-search .btn { min-height: 44px; padding-inline: 18px; flex: none; }
.hero-search__kbd {
  display: none;
  font-family: var(--font-mono);
  font-size: .58rem;
  padding: 4px 6px;
  border: 1px solid rgba(36, 20, 13, .18);
  border-radius: 5px;
  color: var(--gray-500);
}

.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 30px;
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid rgba(244, 240, 232, .16);
  max-width: 37rem;
}
.hero__stat { display: flex; flex-direction: column; gap: 2px; }
.hero__stat strong {
  font-family: var(--font-mono);
  font-size: 1.38rem;
  font-weight: 700;
  line-height: 1;
  color: var(--yellow);
  letter-spacing: -.04em;
}
.hero__stat span {
  font-family: var(--font-mono);
  font-size: .55rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gray-300);
}

/* --- Mazo de historias --- */
.hero__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 620px;
  z-index: 1;
}
.hero__visual::before {
  content: '';
  position: absolute;
  width: 82%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 180, 232, .2), transparent 68%);
  filter: blur(10px);
}
.hero__year {
  position: absolute;
  right: -18px;
  top: 18px;
  font-family: var(--font-mono);
  font-size: .59rem;
  letter-spacing: .18em;
  color: var(--gray-300);
  writing-mode: vertical-rl;
  text-transform: uppercase;
}
.deck {
  position: relative;
  width: min(336px, 74vw);
  aspect-ratio: 9 / 16;
  z-index: 2;
}
.deck__card {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  border-radius: 26px;
  overflow: hidden;
  background: var(--nogal-800);
  border: 1px solid rgba(244, 240, 232, .28);
  box-shadow: 0 44px 90px -30px rgba(0, 0, 0, .85);
  transform-origin: 50% 90%;
  transition: transform .75s var(--ease), opacity .6s, filter .6s;
  will-change: transform;
  isolation: isolate;
}
.deck__card img { width: 100%; height: 100%; object-fit: cover; }
.deck__card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(20, 10, 6, .9), transparent 32%);
  pointer-events: none;
}
.deck__card[data-pos="0"] { transform: translate3d(0, 0, 0) rotate(-1.6deg) scale(1); z-index: 4; opacity: 1; }
.deck__card[data-pos="1"] { transform: translate3d(26px, 22px, 0) rotate(3.4deg) scale(.945); z-index: 3; opacity: .92; }
.deck__card[data-pos="2"] { transform: translate3d(-24px, 38px, 0) rotate(-5deg) scale(.89); z-index: 2; opacity: .6; }
.deck__card:hover { filter: brightness(1.05); }
.deck__card[data-pos="0"]:hover { transform: translate3d(0, -6px, 0) rotate(-1deg) scale(1.015); }
.deck__badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 3;
}
.deck__body {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 3;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  color: var(--bone);
}
.deck__name {
  font-family: var(--font-display);
  font-size: 1.32rem;
  line-height: 1;
  text-transform: uppercase;
  max-width: 78%;
  text-shadow: 0 2px 18px rgba(0, 0, 0, .45);
}
.deck__meta { display: block; margin-top: 5px; font-family: var(--font-mono); font-size: .54rem; letter-spacing: .08em; color: var(--gray-200); text-transform: uppercase; }
.deck__arrow {
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--nogal-950);
  flex: none;
  transform: translateY(0);
  transition: transform .25s var(--ease);
}
.deck__arrow svg { width: 18px; height: 18px; }
.deck__card:hover .deck__arrow { transform: translate(2px, -2px); }
.deck__nav {
  position: absolute;
  left: 50%;
  bottom: -38px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 0;
  z-index: 5;
}
.deck__dot {
  position: relative;
  width: 24px; height: 24px;
  display: grid;
  place-items: center;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}
.deck__dot::before {
  content: "";
  display: block;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: rgba(244, 240, 232, .38);
  transition: width .3s var(--ease), height .3s var(--ease), background .3s;
}
.deck__dot:hover::before { background: rgba(244, 240, 232, .7); }
.deck__dot.is-active::before { width: 20px; height: 7px; border-radius: 999px; background: var(--yellow); }
.deck__dot:focus-visible { outline: 2px solid var(--yellow); outline-offset: -3px; border-radius: 50%; }

.clock-card {
  position: absolute;
  left: -16px;
  bottom: 8px;
  z-index: 6;
  width: 186px;
  padding: 14px 16px 13px;
  border-radius: 16px;
  background: var(--yellow);
  color: var(--nogal-950);
  box-shadow: 0 24px 50px -22px rgba(0, 0, 0, .7);
  transform: rotate(-4deg);
}
.clock-card__label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: .5rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.clock-card__label::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--nogal-950); animation: pulse 1.8s infinite; }
.clock-card__time {
  margin-top: 5px;
  font-family: var(--font-mono);
  font-size: 1.36rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.06em;
  font-variant-numeric: tabular-nums;
}
.clock-card__time small { font-size: .62rem; letter-spacing: 0; opacity: .65; }
.clock-card__sub { margin-top: 5px; font-size: .54rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; opacity: .65; }

.hero__scroll {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 18px;
  font-family: var(--font-mono);
  font-size: .57rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gray-300);
}
.hero__scroll svg { width: 14px; height: 14px; animation: bob 2s infinite; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(4px); } }

/* ================= MARQUEE ================= */
.marquee {
  position: relative;
  overflow: hidden;
  background: var(--yellow);
  color: var(--nogal-950);
  border-top: 1px solid rgba(26, 14, 8, .2);
  border-bottom: 1px solid rgba(26, 14, 8, .2);
  padding-block: 13px;
}
.marquee__track {
  display: flex;
  width: max-content;
  gap: 28px;
  animation: marquee 38s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  font-family: var(--font-mono);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  white-space: nowrap;
}
.marquee__item::after { content: 'âœ¦'; font-size: .8rem; opacity: .6; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ================= EVENTOS ================= */
.events { position: relative; background: var(--bone); }
.events::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(36, 20, 13, .09) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.5), transparent 60%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,.5), transparent 60%);
  pointer-events: none;
  opacity: .5;
}
.events > .container { position: relative; }
.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr);
  align-items: end;
  gap: 32px 60px;
}
.section-head h2 {
  margin-top: 16px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.6rem, 5vw, 4.7rem);
  line-height: .9;
  text-transform: uppercase;
  letter-spacing: -.005em;
}
.section-head__aside { padding-bottom: 8px; }
.section-head__aside p { max-width: 25rem; color: var(--gray-500); font-size: .92rem; line-height: 1.7; }
.section-head__aside .link-arrow { margin-top: 14px; }

.events__toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 42px;
  padding: 12px;
  border: 1px solid rgba(36, 20, 13, .12);
  border-radius: 18px;
  background: rgba(255, 253, 248, .78);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
}
.events-search {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1 1 250px;
  min-width: 210px;
  padding-inline: 12px;
}
.events-search svg { width: 18px; height: 18px; color: var(--gray-500); flex: none; }
.events-search input {
  width: 100%;
  height: 42px;
  border: 0;
  background: transparent;
  font-size: .84rem;
  font-weight: 600;
}
.events-search input:focus { outline: none; }
.events-search input::placeholder { color: var(--gray-400); font-weight: 500; }
.events-search__clear {
  width: 24px; height: 24px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--bone-3);
  color: var(--nogal-700);
  flex: none;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s;
}
.events-search__clear.is-visible { opacity: 1; pointer-events: auto; }
.events-search__clear svg { width: 12px; height: 12px; }

.filter-row {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
}
.filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid rgba(36, 20, 13, .15);
  border-radius: 999px;
  background: var(--white);
  color: var(--nogal-700);
  font-size: .72rem;
  font-weight: 700;
  white-space: nowrap;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.filter-chip:hover { transform: translateY(-1px); border-color: var(--nogal-400); }
.filter-chip.is-active { background: var(--nogal-900); border-color: var(--nogal-900); color: var(--bone); }
.filter-chip__count { font-family: var(--font-mono); font-size: .56rem; opacity: .55; }
.events__controls { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.select--sm {
  min-height: 40px;
  padding: 8px 32px 8px 12px;
  font-size: .7rem;
  font-weight: 700;
  border-radius: 999px;
  background-color: var(--white);
  background-position: right 12px center;
  width: auto;
}
.events__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 22px;
  font-family: var(--font-mono);
  font-size: .63rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gray-500);
}
.events__summary strong { color: var(--nogal-900); }

.events__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin-top: 18px;
}
.event-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}
.event-card__poster {
  position: relative;
  display: block;
  aspect-ratio: 9 / 16;
  border-radius: 18px;
  overflow: hidden;
  background: var(--nogal-800);
  border: 1px solid rgba(36, 20, 13, .14);
  box-shadow: 0 18px 40px -30px rgba(36, 20, 13, .55);
  transition: transform .45s var(--ease), box-shadow .45s, border-color .3s;
  isolation: isolate;
}
.event-card:hover .event-card__poster { transform: translateY(-6px); box-shadow: 0 34px 60px -32px rgba(36, 20, 13, .7); border-color: rgba(125, 97, 166, .5); }
.event-card__poster img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.event-card:hover .event-card__poster img { transform: scale(1.035); }
.event-card__link { position: absolute; inset: 0; z-index: 1; border-radius: 18px; }
.poster-fallback { display: grid; place-items: center; width: 100%; height: 100%; background: linear-gradient(150deg, var(--nogal-800), var(--nogal-950)); }
.poster-fallback img { width: 46%; height: auto; opacity: .55; }
.event-card__poster-grad {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(20, 10, 6, .88), transparent 38%);
  pointer-events: none;
}
.event-card__top {
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  z-index: 2;
  pointer-events: none;
}
.event-card__top .badge { backdrop-filter: blur(10px); }
.event-card__share { pointer-events: auto; }
.event-card__share {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(20, 10, 6, .58);
  border: 1px solid rgba(244, 240, 232, .28);
  color: var(--bone);
  backdrop-filter: blur(10px);
  transition: background .2s, color .2s, transform .2s;
  z-index: 3;
}
.event-card__share svg { width: 15px; height: 15px; }
.event-card__share:hover { background: var(--yellow); color: var(--nogal-950); transform: scale(1.06); }
.event-card__cta {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 6px 6px 6px 14px;
  border-radius: 999px;
  background: rgba(20, 10, 6, .55);
  border: 1px solid rgba(244, 240, 232, .24);
  color: var(--bone);
  backdrop-filter: blur(10px);
  transition: background .3s, border-color .3s, color .3s;
  pointer-events: none;
}
.event-card__cta span { font-family: var(--font-mono); font-size: .58rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.event-card__cta i {
  display: grid;
  place-items: center;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--nogal-950);
  transition: transform .3s var(--ease);
  flex: none;
}
.event-card__cta svg { width: 14px; height: 14px; }
.event-card:hover .event-card__cta { background: var(--yellow); border-color: var(--yellow); color: var(--nogal-950); }
.event-card:hover .event-card__cta i { background: var(--nogal-950); color: var(--yellow); transform: translate(2px, -2px); }
.event-card--soon { cursor: default; }
.event-card--soon:hover .event-card__poster {
  transform: none;
  box-shadow: 0 18px 40px -30px rgba(36, 20, 13, .55);
  border-color: rgba(36, 20, 13, .14);
}
.event-card--soon:hover .event-card__poster img { transform: none; }
.event-card__cta--soon {
  padding-right: 14px;
  border-style: dashed;
  border-color: rgba(244, 240, 232, .38);
}
.event-card--soon:hover .event-card__cta,
.event-card--soon:hover .event-card__cta--soon {
  background: rgba(20, 10, 6, .55);
  border-color: rgba(244, 240, 232, .38);
  color: var(--bone);
}
.event-card__body { padding-inline: 4px; display: flex; flex-direction: column; gap: 5px; }
.event-card__name {
  font-size: .9rem;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -.01em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.event-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px 8px;
  font-family: var(--font-mono);
  font-size: .56rem;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--gray-500);
}
.event-card__meta span { display: inline-flex; align-items: center; gap: 5px; }
.event-card__meta svg { width: 11px; height: 11px; opacity: .7; }
.event-card__ficha {
  align-self: flex-start;
  margin-top: 6px;
  font-family: var(--font-mono);
  font-size: .56rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--lila-deep);
  text-decoration: none;
  border-bottom: 1px solid rgba(125, 97, 166, .35);
  transition: color .2s, border-color .2s;
}
.event-card__ficha:hover { color: var(--nogal-950); border-color: var(--nogal-950); }
.event-card__dot { width: 3px; height: 3px; border-radius: 50%; background: var(--gray-300); }
.event-card.is-hidden { display: none; }

.event-card--promo { text-decoration: none; }
.promo-poster {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  aspect-ratio: 9 / 16;
  padding: 22px;
  border-radius: 18px;
  overflow: hidden;
  background: var(--yellow);
  color: var(--nogal-950);
  border: 1px solid rgba(36, 20, 13, .18);
  transition: transform .45s var(--ease), box-shadow .45s;
}
.promo-poster::before {
  content: '';
  position: absolute;
  width: 240px; height: 240px;
  border-radius: 50%;
  background: var(--lila);
  right: -90px; top: -60px;
  opacity: .8;
}
.promo-poster::after {
  content: '2027';
  position: absolute;
  right: -16px;
  bottom: 54px;
  font-family: var(--font-display);
  font-size: 7rem;
  line-height: .8;
  color: transparent;
  -webkit-text-stroke: 1px rgba(36, 20, 13, .2);
  pointer-events: none;
}
.event-card:hover .promo-poster { transform: translateY(-6px); box-shadow: 0 34px 60px -32px rgba(36, 20, 13, .55); }
.promo-poster .kicker { color: var(--nogal-800); position: relative; z-index: 1; }
.promo-poster h3 {
  position: relative;
  z-index: 1;
  margin-top: auto;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.1rem, 3.2vw, 2.8rem);
  line-height: .9;
  text-transform: uppercase;
}
.promo-poster p { position: relative; z-index: 1; margin-top: 10px; font-size: .76rem; font-weight: 600; line-height: 1.45; max-width: 90%; }
.promo-poster .promo-cta {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  margin-top: 16px;
  padding: 10px 15px;
  border-radius: 999px;
  background: var(--nogal-950);
  color: var(--bone);
  font-size: .7rem;
  font-weight: 800;
}
.promo-poster .promo-cta svg { width: 13px; height: 13px; }

.events__empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  padding: 70px 24px;
  margin-top: 18px;
  border: 1px dashed rgba(36, 20, 13, .2);
  border-radius: 22px;
  background: rgba(255, 253, 248, .55);
}
.events__empty strong { font-family: var(--font-display); font-size: 2.2rem; font-weight: 400; text-transform: uppercase; line-height: 1; }
.events__empty p { max-width: 28rem; color: var(--gray-500); font-size: .9rem; }
.events__more { display: flex; justify-content: center; margin-top: 38px; }

/* ================= EN VIVO ================= */
.live {
  position: relative;
  background: var(--nogal-900);
  color: var(--bone);
  overflow: hidden;
}
.live::before {
  content: '';
  position: absolute;
  right: -10%;
  top: -20%;
  width: 55%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 180, 232, .16), transparent 68%);
  pointer-events: none;
}
.live__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .9fr);
  gap: clamp(40px, 7vw, 90px);
  align-items: center;
}
.live h2 {
  margin-top: 16px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.6rem, 5vw, 4.6rem);
  line-height: .9;
  text-transform: uppercase;
}
.live h2 em { font-style: normal; color: var(--lila); }
.live__lead { max-width: 30rem; margin-top: 20px; color: #d5cbc0; font-size: .98rem; line-height: 1.75; }
.live__bullets { display: flex; flex-direction: column; gap: 13px; margin-top: 28px; }
.live__bullet { display: flex; align-items: flex-start; gap: 12px; font-size: .88rem; color: var(--gray-100); }
.live__bullet svg { width: 20px; height: 20px; flex: none; color: var(--yellow); margin-top: 1px; }
.live__bullet strong { color: var(--bone); font-weight: 800; }
.live__actions { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 30px; }
.live__steps {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid rgba(244, 240, 232, .14);
}
.live__step { display: flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: .57rem; letter-spacing: .08em; text-transform: uppercase; color: var(--gray-300); }
.live__step b { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: rgba(244, 197, 66, .14); color: var(--yellow); font-size: .55rem; }

.live__visual { display: flex; flex-direction: column; align-items: center; min-width: 0; }
.phone-wrap { position: relative; display: flex; justify-content: center; width: fit-content; max-width: 100%; min-width: 0; margin-inline: auto; }
.phone-wrap::before {
  content: '';
  position: absolute;
  width: 82%;
  aspect-ratio: 1;
  top: 10%;
  border-radius: 50%;
  background: var(--yellow);
  opacity: .07;
  filter: blur(20px);
}
.phone {
  position: relative;
  width: min(334px, 82vw);
  padding: 9px;
  border-radius: 46px;
  background: #0f0805;
  border: 1px solid rgba(244, 240, 232, .22);
  box-shadow: 0 50px 100px -36px rgba(0, 0, 0, .9), inset 0 1px 0 rgba(255, 255, 255, .08);
  transform: rotate(1.5deg);
  z-index: 2;
}
.phone::before {
  content: '';
  position: absolute;
  top: 15px;
  left: 50%;
  transform: translateX(-50%);
  width: 74px; height: 5px;
  border-radius: 999px;
  background: #2a1911;
  z-index: 5;
}
.phone__screen {
  border-radius: 38px;
  overflow: hidden;
  background: var(--bone);
  color: var(--ink);
  min-height: 570px;
  display: flex;
  flex-direction: column;
}
.phone__appbar {
  padding: 26px 16px 14px;
  background: var(--nogal-900);
  color: var(--bone);
}
.phone__appbar-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.phone__brand { display: flex; align-items: center; gap: 7px; font-family: var(--font-mono); font-size: .5rem; letter-spacing: .1em; text-transform: uppercase; }
.phone__brand img { width: 26px; height: 20px; object-fit: contain; background: var(--bone); border-radius: 3px; padding: 1px; }
.phone__live { display: inline-flex; align-items: center; gap: 5px; font-family: var(--font-mono); font-size: .48rem; letter-spacing: .1em; color: var(--yellow); }
.phone__event { margin-top: 16px; font-family: var(--font-display); font-size: 1.32rem; line-height: .98; text-transform: uppercase; }
.phone__event small { display: block; margin-top: 5px; font-family: var(--font-mono); font-size: .48rem; font-weight: 400; letter-spacing: .08em; color: var(--gray-300); text-transform: uppercase; }
.phone__search {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 13px;
  padding: 9px 11px;
  border-radius: 10px;
  background: rgba(244, 240, 232, .1);
  border: 1px solid rgba(244, 240, 232, .16);
  font-size: .66rem;
  color: var(--gray-300);
}
.phone__search svg { width: 13px; height: 13px; color: var(--yellow); }
.phone__tabs { display: flex; gap: 3px; padding: 10px 12px 0; background: var(--bone); border-bottom: 1px solid rgba(36, 20, 13, .1); }
.phone__tab {
  position: relative;
  padding: 8px 10px 10px;
  font-family: var(--font-mono);
  font-size: .53rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--gray-500);
  transition: color .2s;
}
.phone__tab.is-active { color: var(--nogal-950); }
.phone__tab.is-active::after { content: ''; position: absolute; left: 9px; right: 9px; bottom: -1px; height: 2px; background: var(--nogal-950); }
.phone__panel { padding: 10px 12px 12px; flex: 1; }
.phone__pill { display: inline-flex; align-items: center; gap: 4px; padding: 3px 7px; border-radius: 999px; background: var(--lila-2); color: var(--lila-dark); font-family: var(--font-mono); font-size: .43rem; letter-spacing: .06em; text-transform: uppercase; }
.leaderboard { margin-top: 8px; display: flex; flex-direction: column; gap: 4px; }
.leader-row {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) auto;
  align-items: center;
  gap: 7px;
  padding: 7px 8px;
  border-radius: 7px;
  background: var(--white);
  border: 1px solid rgba(36, 20, 13, .07);
}
.leader-row:first-child { background: var(--yellow); border-color: var(--yellow); }
.leader-row__pos { font-family: var(--font-mono); font-size: .56rem; font-weight: 700; color: var(--gray-500); }
.leader-row:first-child .leader-row__pos { color: var(--nogal-950); }
.leader-row__name { min-width: 0; }
.leader-row__name strong { display: block; font-size: .63rem; font-weight: 800; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.leader-row__name small { display: block; font-family: var(--font-mono); font-size: .43rem; color: var(--gray-500); letter-spacing: .04em; }
.leader-row__time { font-family: var(--font-mono); font-size: .56rem; font-weight: 600; letter-spacing: -.04em; }
.phone__hint { margin-top: 9px; font-family: var(--font-mono); font-size: .42rem; letter-spacing: .05em; text-transform: uppercase; color: var(--gray-400); text-align: center; }
.diploma {
  padding: 13px;
  border: 1px solid rgba(36, 20, 13, .14);
  border-radius: 8px;
  background: var(--white);
  text-align: center;
}
.diploma__seal { width: 36px; height: 36px; margin: 0 auto 7px; border-radius: 50%; background: var(--yellow); display: grid; place-items: center; font-family: var(--font-display); font-size: .7rem; }
.diploma h4 { font-family: var(--font-display); font-size: 1.1rem; font-weight: 400; text-transform: uppercase; }
.diploma p { margin-top: 4px; font-family: var(--font-mono); font-size: .47rem; letter-spacing: .06em; color: var(--gray-500); text-transform: uppercase; }
.diploma strong { display: block; margin-top: 8px; font-family: var(--font-mono); font-size: 1rem; letter-spacing: -.04em; }
.diploma button { margin-top: 10px; width: 100%; padding: 8px; border-radius: 5px; background: var(--nogal-900); color: var(--bone); font-size: .52rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; }

.phone-float {
  position: absolute;
  z-index: 4;
  padding: 8px 12px;
  border-radius: 9px;
  font-family: var(--font-mono);
  font-size: .5rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  box-shadow: var(--shadow-md);
  white-space: nowrap;
}
.phone-float--one { left: -58px; top: 25%; background: var(--lila); color: var(--nogal-950); transform: rotate(-5deg); }
.phone-float--two { right: -52px; bottom: 8%; background: var(--yellow); color: var(--nogal-950); transform: rotate(4deg); }
.phone-float--three { right: 4%; top: 8%; background: var(--bone); color: var(--nogal-950); transform: rotate(3deg); }
.live__demo-note { margin-top: 16px; text-align: center; font-family: var(--font-mono); font-size: .52rem; letter-spacing: .08em; text-transform: uppercase; color: var(--gray-300); }

/* ================= SERVICIOS ================= */
.services { background: var(--bone); }
.services__head { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 30px; }
.services h2 {
  margin-top: 16px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.6rem, 5vw, 4.6rem);
  line-height: .9;
  text-transform: uppercase;
}
.services__head p { max-width: 31rem; margin-top: 16px; color: var(--gray-500); font-size: .94rem; }
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 44px;
}
.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 270px;
  padding: 26px;
  border-radius: 20px;
  border: 1px solid rgba(36, 20, 13, .12);
  background: var(--white);
  overflow: hidden;
  transition: background .35s, color .35s, transform .35s var(--ease), border-color .35s;
}
.service-card::after {
  content: '';
  position: absolute;
  width: 160px; height: 160px;
  border-radius: 50%;
  right: -70px; bottom: -80px;
  background: var(--lila-2);
  opacity: 0;
  transition: opacity .35s;
}
.service-card:hover { background: var(--nogal-900); color: var(--bone); border-color: var(--nogal-900); transform: translateY(-5px); }
.service-card:hover::after { opacity: .12; }
.service-card__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.service-card__icon {
  display: grid;
  place-items: center;
  width: 54px; height: 54px;
  border-radius: 14px;
  background: var(--bone);
  color: var(--nogal-800);
  border: 1px solid rgba(36, 20, 13, .1);
  transition: background .35s, color .35s, border-color .35s;
}
.service-card__icon svg { width: 27px; height: 27px; }
.service-card:hover .service-card__icon { background: var(--yellow); color: var(--nogal-950); border-color: var(--yellow); }
.service-card__index { font-family: var(--font-mono); font-size: .58rem; letter-spacing: .1em; color: var(--gray-500); }
.service-card:hover .service-card__index { color: var(--lila); }
.service-card h3 { margin-top: auto; padding-top: 38px; font-family: var(--font-display); font-weight: 400; font-size: 1.75rem; line-height: .95; text-transform: uppercase; }
.service-card p { margin-top: 8px; font-size: .8rem; line-height: 1.55; color: var(--gray-500); max-width: 24rem; }
.service-card:hover p { color: var(--gray-100); }
.service-card__link {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  margin-top: 16px;
  font-family: var(--font-mono);
  font-size: .56rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--nogal-700);
}
.service-card__link svg { width: 12px; height: 12px; transition: transform .25s var(--ease); }
.service-card:hover .service-card__link { color: var(--yellow); }
.service-card:hover .service-card__link svg { transform: translate(2px, -2px); }

/* ================= POR QUÃ‰ / NOSOTROS ================= */
.why { position: relative; background: var(--lila-2); overflow: hidden; }
.why::before {
  content: 'TCT';
  position: absolute;
  left: -4vw;
  bottom: -8vw;
  font-family: var(--font-display);
  font-size: 36vw;
  line-height: .7;
  color: transparent;
  -webkit-text-stroke: 1px rgba(94, 70, 127, .12);
  pointer-events: none;
}
.why__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(38px, 6vw, 90px); align-items: start; }
.why__copy { position: sticky; top: calc(var(--header-h) + 30px); }
.why h2 {
  margin-top: 16px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.5rem, 4.6vw, 4.2rem);
  line-height: .9;
  text-transform: uppercase;
}
.why__copy p { max-width: 28rem; margin-top: 18px; color: var(--lila-dark); font-size: .95rem; line-height: 1.75; }
.why__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin-top: 32px; border: 1px solid rgba(94, 70, 127, .18); border-radius: 16px; overflow: hidden; background: rgba(94, 70, 127, .16); }
.why__stat { padding: 20px; background: rgba(255, 253, 248, .52); }
.why__stat strong { display: block; font-family: var(--font-mono); font-size: 1.8rem; line-height: 1; letter-spacing: -.05em; color: var(--nogal-900); }
.why__stat span { display: block; margin-top: 5px; font-family: var(--font-mono); font-size: .52rem; letter-spacing: .08em; text-transform: uppercase; color: var(--lila-dark); }
.why__cta { margin-top: 26px; }

.timeline { position: relative; display: flex; flex-direction: column; }
.timeline::before { content: ''; position: absolute; left: 27px; top: 18px; bottom: 18px; width: 1px; background: rgba(94, 70, 127, .25); }
.timeline__item { position: relative; display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 18px; padding: 18px 0; }
.timeline__dot {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--lila-3);
  border: 1px solid rgba(94, 70, 127, .22);
  font-family: var(--font-mono);
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--lila-dark);
  transition: background .25s, color .25s, border-color .25s;
}
.timeline__item:hover .timeline__dot { background: var(--nogal-900); border-color: var(--nogal-900); color: var(--yellow); }
.timeline__body { padding-top: 4px; }
.timeline__body h3 { font-size: 1rem; letter-spacing: -.015em; color: var(--nogal-950); }
.timeline__body p { margin-top: 5px; max-width: 32rem; font-size: .84rem; line-height: 1.6; color: var(--lila-dark); }

/* ================= CTA ORGANIZADORES ================= */
.hire { position: relative; background: var(--yellow); color: var(--nogal-950); overflow: hidden; }
.hire::before {
  content: '2027';
  position: absolute;
  right: -3vw;
  bottom: -6vw;
  font-family: var(--font-display);
  font-size: 38vw;
  line-height: .65;
  color: transparent;
  -webkit-text-stroke: 1px rgba(36, 20, 13, .14);
  pointer-events: none;
}
.hire__grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(380px, .85fr); gap: clamp(38px, 6vw, 80px); align-items: center; }
.hire h2 {
  margin-top: 16px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.7rem, 5.4vw, 5.2rem);
  line-height: .87;
  text-transform: uppercase;
}
.hire__lead { max-width: 32rem; margin-top: 20px; font-size: 1rem; line-height: 1.7; color: rgba(36, 20, 13, .8); }
.hire__badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.hire__badge { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; border: 1px solid rgba(36, 20, 13, .25); font-family: var(--font-mono); font-size: .56rem; letter-spacing: .06em; text-transform: uppercase; }
.hire__badge svg { width: 12px; height: 12px; }
.hire__countdown { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px; padding: 8px 12px; border-radius: 999px; background: var(--nogal-950); color: var(--bone); font-family: var(--font-mono); font-size: .56rem; letter-spacing: .08em; text-transform: uppercase; }
.hire__countdown b { color: var(--yellow); font-size: .74rem; }
.hire__direct { display: flex; flex-wrap: wrap; gap: 10px 20px; margin-top: 26px; font-family: var(--font-mono); font-size: .6rem; letter-spacing: .04em; color: rgba(36, 20, 13, .75); text-transform: uppercase; }
.hire__direct a { display: inline-flex; align-items: center; gap: 6px; border-bottom: 1px solid rgba(36, 20, 13, .3); padding-bottom: 2px; transition: border-color .2s; }
.hire__direct a:hover { border-color: var(--nogal-950); }
.hire__direct svg { width: 13px; height: 13px; }

.quote-card {
  position: relative;
  padding: clamp(22px, 3vw, 34px);
  border-radius: 24px;
  background: var(--bone);
  border: 1px solid rgba(36, 20, 13, .14);
  box-shadow: 0 40px 80px -42px rgba(36, 20, 13, .4);
}
.quote-card h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.65rem; line-height: 1; text-transform: uppercase; }
.quote-card > p { margin-top: 7px; font-size: .78rem; color: var(--gray-500); }
.quote-form { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 18px; }
.quote-form .field--full { grid-column: 1 / -1; }
.quote-form .input, .quote-form .select { min-height: 46px; font-size: .82rem; }
.quote-form .btn { grid-column: 1 / -1; margin-top: 4px; }
.quote-note { margin-top: 10px; font-size: .66rem; line-height: 1.5; color: var(--gray-400); text-align: center; }
.quote-success { display: none; padding: 18px; border-radius: 12px; background: var(--lila-2); font-size: .82rem; font-weight: 600; line-height: 1.5; text-align: center; }
.quote-card.is-sent .quote-form, .quote-card.is-sent .quote-note { display: none; }
.quote-card.is-sent .quote-success { display: block; }

/* ================= FAQ ================= */
.faq { background: var(--bone); }
.faq__grid { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: clamp(38px, 6vw, 90px); align-items: start; }
.faq h2 { margin-top: 16px; font-family: var(--font-display); font-weight: 400; font-size: clamp(2.4rem, 4.4vw, 3.9rem); line-height: .9; text-transform: uppercase; }
.faq__copy p { max-width: 25rem; margin-top: 18px; font-size: .92rem; line-height: 1.7; color: var(--gray-500); }
.faq__copy .btn { margin-top: 22px; }
.faq__list { border-top: 1px solid rgba(36, 20, 13, .16); }
.faq__item { border-bottom: 1px solid rgba(36, 20, 13, .16); }
.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 21px 0;
  cursor: pointer;
  list-style: none;
  font-size: .95rem;
  font-weight: 800;
  letter-spacing: -.01em;
  transition: color .2s;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--lila-deep); }
.faq__item summary::after {
  content: '';
  width: 14px; height: 14px;
  flex: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M7 1v12M1 7h12' stroke='%232a211b' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-size: contain;
  transition: transform .3s var(--ease);
}
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__answer { padding: 0 30px 20px 0; font-size: .86rem; line-height: 1.7; color: var(--gray-500); max-width: 44rem; }

/* ================= FOOTER ================= */
.site-footer { position: relative; background: var(--nogal-950); color: var(--bone); overflow: hidden; }
.site-footer::before {
  content: '';
  position: absolute;
  right: -10%;
  top: -30%;
  width: 50%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 180, 232, .12), transparent 70%);
  pointer-events: none;
}
.footer__main {
  position: relative;
  display: grid;
  grid-template-columns: 1.35fr .7fr .8fr 1fr;
  gap: 40px;
  padding: clamp(54px, 7vw, 86px) 0 46px;
}
.footer__brand { max-width: 24rem; }
.footer__stamp {
  display: inline-block;
  width: 158px;
  padding: 9px;
  border-radius: 10px;
  background: var(--bone);
  box-shadow: 0 14px 34px -20px rgba(0, 0, 0, .8);
}
.footer__stamp img { width: 100%; height: auto; }
.footer__brand p { margin-top: 18px; font-size: .82rem; line-height: 1.7; color: var(--gray-300); }
.footer__social { display: flex; gap: 8px; margin-top: 20px; }
.footer__social a {
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(244, 240, 232, .2);
  color: var(--bone);
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.footer__social a:hover { background: var(--yellow); color: var(--nogal-950); border-color: var(--yellow); transform: translateY(-2px); }
.footer__social svg { width: 16px; height: 16px; }
.footer__col h3 { font-family: var(--font-mono); font-size: .6rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--gray-300); }
.footer__links { display: flex; flex-direction: column; gap: 9px; margin-top: 16px; }
.footer__links a { font-size: .82rem; color: var(--bone); opacity: .78; transition: opacity .2s, color .2s; }
.footer__links a:hover { opacity: 1; color: var(--yellow); }
.footer__contact { display: flex; flex-direction: column; gap: 12px; margin-top: 16px; }
.footer__contact a, .footer__contact span { display: flex; align-items: flex-start; gap: 9px; font-size: .79rem; line-height: 1.45; color: var(--gray-200); }
.footer__contact a:hover { color: var(--yellow); }
.footer__contact svg { width: 15px; height: 15px; margin-top: 2px; flex: none; color: var(--yellow); }
.footer__bottom {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 0 22px;
  border-top: 1px solid rgba(244, 240, 232, .13);
  font-family: var(--font-mono);
  font-size: .55rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gray-400);
}
.footer__bottom a { transition: color .2s; }
.footer__bottom a:hover { color: var(--yellow); }
.footer__admin { display: inline-flex; align-items: center; gap: 6px; }
.footer__admin svg { width: 12px; height: 12px; }
.footer__made { color: var(--gray-400); }

/* ================= WHATSAPP FLOAT ================= */
.wa-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 70;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 16px 10px 10px;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--nogal-950);
  font-size: .76rem;
  font-weight: 800;
  box-shadow: 0 20px 40px -18px rgba(0, 0, 0, .55);
  transform: translateY(90px);
  opacity: 0;
  transition: transform .4s var(--ease), opacity .4s, background .2s;
  -webkit-tap-highlight-color: transparent;
}
.wa-float.is-visible { transform: none; opacity: 1; }
.wa-float:hover { background: var(--yellow-2); }
.wa-float__icon { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--nogal-950); color: var(--yellow); flex: none; }
.wa-float__icon svg { width: 19px; height: 19px; }
.wa-float span { white-space: nowrap; }

/* ================= RESPONSIVE ================= */
@media (max-width: 1180px) {
  .events__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .nav__list { gap: 20px; }
  .header__inner { gap: 18px; }
}
@media (max-width: 1040px) {
  .hero__inner { grid-template-columns: 1fr; gap: 48px; min-height: 0; padding-top: 52px; padding-bottom: 58px; }
  .hero__copy { max-width: 44rem; }
  .hero__visual { min-height: 600px; }
  .deck { width: min(330px, 70vw); }
  .clock-card { left: 4%; bottom: 0; }
  .hero__bg::after { top: auto; bottom: 4%; }
  .section-head { grid-template-columns: 1fr; gap: 22px; }
  .section-head__aside p { max-width: 38rem; }
  .live__grid { grid-template-columns: 1fr; }
  .live__copy { max-width: 42rem; }
  .phone-wrap { margin-top: 10px; }
  .services__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .why__grid { grid-template-columns: 1fr; }
  .why__copy { position: static; }
  .hire__grid { grid-template-columns: 1fr; }
  .hire__copy { max-width: 46rem; }
  .quote-card { max-width: 540px; }
  .faq__grid { grid-template-columns: 1fr; gap: 26px; }
  .footer__main { grid-template-columns: 1.5fr 1fr 1fr; }
  .footer__col--contact { grid-column: 2 / -1; }
}
@media (max-width: 900px) {
  .nav { display: none; }
  .header__actions { margin-left: auto; }
  .menu-toggle { display: flex; }
  .header__cta { display: none; }
  .events__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .events__controls { margin-left: 0; width: 100%; }
  .select--sm { flex: 1; }
  .footer__main { grid-template-columns: 1fr 1fr; }
  .footer__col--contact { grid-column: auto; }
}
@media (max-width: 720px) {
  .topline__links { display: none; }
  .topline__inner { justify-content: center; }
  .hero__title { font-size: clamp(3.2rem, 15vw, 5.8rem); }
  .hero__lead { margin-top: 20px; }
  .hero__visual { min-height: 540px; }
  .deck { width: min(292px, 72vw); }
  .clock-card { width: 160px; left: 0; bottom: -6px; padding: 11px 13px; }
  .clock-card__time { font-size: 1.12rem; }
  .hero__stats { gap: 12px 22px; }
  .hero__stat strong { font-size: 1.18rem; }
  .hero-search { flex-wrap: wrap; padding: 10px; }
  .hero-search input { height: 38px; padding-left: 6px; }
  .hero-search .btn { width: 100%; }
  .section-head h2 { font-size: clamp(2.4rem, 10vw, 3.6rem); }
  .events__toolbar { padding: 10px; }
  .filter-row { overflow-x: auto; flex-wrap: nowrap; width: 100%; padding-bottom: 4px; scrollbar-width: none; }
  .filter-row::-webkit-scrollbar { display: none; }
  .filter-chip { flex: none; }
  .events__summary { flex-direction: column; align-items: flex-start; gap: 4px; }
  .live h2, .services h2, .why h2, .faq h2 { font-size: clamp(2.3rem, 9.5vw, 3.4rem); }
  .hire h2 { font-size: clamp(2.5rem, 11vw, 4rem); }
  .services__grid { grid-template-columns: 1fr; }
  .service-card { min-height: 230px; }
  .service-card h3 { padding-top: 26px; }
  .timeline__item { grid-template-columns: 46px minmax(0, 1fr); gap: 14px; }
  .timeline__dot { width: 46px; height: 46px; font-size: .52rem; }
  .timeline::before { left: 22px; }
  .quote-form { grid-template-columns: 1fr; }
  .quote-form .field--full { grid-column: auto; }
  .footer__bottom { flex-direction: column; align-items: flex-start; gap: 8px; }
  .wa-float { right: 14px; bottom: 14px; padding: 8px; }
  .wa-float span { display: none; }
  .wa-float__icon { width: 42px; height: 42px; }
  .phone-float { display: none; }
  .hero__year { display: none; }
  .hero__visual::after { content: ''; }
}
@media (max-width: 540px) {
  .hero__title { font-size: clamp(2.85rem, 15.5vw, 4rem); }
  .hero__eyebrow { font-size: .54rem; }
  .hero__visual { min-height: 470px; }
  .deck { width: min(250px, 68vw); }
  .clock-card { width: 146px; left: -2px; bottom: -14px; }
  .clock-card__time { font-size: .98rem; }
  .clock-card__sub { font-size: .47rem; }
  .deck__name { font-size: 1.05rem; }
  .events__grid { gap: 14px; }
  .event-card__name { font-size: .78rem; }
  .event-card__cta { padding: 5px 5px 5px 10px; }
  .event-card__cta span { font-size: .48rem; }
  .event-card__cta i { width: 26px; height: 26px; }
  .event-card__share { width: 29px; height: 29px; }
  .event-card__meta { font-size: .48rem; }
  .promo-poster { padding: 16px; }
  .promo-poster h3 { font-size: 1.9rem; }
  .promo-poster p { font-size: .66rem; }
  .promo-poster::after { font-size: 5rem; }
  .footer__main { grid-template-columns: 1fr; }
  .footer__col--contact { grid-column: auto; }
  .quote-card { padding: 20px; }
  .hire__direct { flex-direction: column; align-items: flex-start; }
}

/* =========================================================
   Próximos eventos + banner de resultados en tiempo real
   ========================================================= */
.next[hidden] { display: none; }
.next { background: var(--bone-2); }
.next .events__grid { margin-top: 36px; }

@keyframes tctPulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 77, 77, .55); }
  70% { box-shadow: 0 0 0 12px rgba(255, 77, 77, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 77, 77, 0); }
}

/* Tarjetas de transmisión en vivo (una por próximo evento con enlace) */
.live-items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 16px;
  margin-bottom: 30px;
}
.live-items[hidden] { display: none; }
.live-item {
  position: relative;
  display: block;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(244, 197, 66, .45);
  background: var(--nogal-900);
  box-shadow: 0 22px 50px -32px rgba(0, 0, 0, .8);
}
.live-item__media {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}
.live-item__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform .6s var(--ease);
}
.live-item:hover .live-item__media img { transform: scale(1.04); }
.live-item__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 10px;
  border-radius: 999px;
  background: #e23b3b;
  color: #fff;
  font-family: var(--font-mono);
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.live-item__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
  animation: tctPulse 1.6s infinite;
}
.live-item__body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 14px 16px;
  color: var(--bone);
}
.live-item__body strong {
  font-family: var(--font-display);
  font-size: .98rem;
  line-height: 1.15;
  text-transform: uppercase;
}
.live-item__meta {
  font-family: var(--font-mono);
  font-size: .58rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gray-300);
}
.live-item__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  font-size: .64rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--yellow);
}
.live-item__cta svg { width: 12px; height: 12px; }
.live-item:hover .live-item__cta { color: var(--yellow-2); }

/* Dos enlaces por tarjeta: celular y PC */
.live-item__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}
.live-item__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 13px;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--nogal-950);
  font-family: var(--font-mono);
  font-size: .6rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background .25s var(--ease), transform .25s var(--ease);
}
.live-item__btn svg { width: 12px; height: 12px; }
.live-item__btn:hover { background: var(--yellow-2); transform: translateY(-1px); }
.live-item__btn--ghost {
  background: transparent;
  border: 1px solid rgba(244, 197, 66, .55);
  color: var(--yellow);
}
.live-item__btn--ghost:hover { background: rgba(244, 197, 66, .14); color: var(--yellow-2); }

.check {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .92rem;
  font-weight: 700;
  cursor: pointer;
}
.check input {
  width: 18px;
  height: 18px;
  accent-color: var(--yellow);
  flex: none;
}

/* ---------------------------------------------------------
   Contraste de la tabla de resultados sobre fondo claro.
   (La página usa crema #f4f0e8; el texto debe ser oscuro.)
   --------------------------------------------------------- */
.liveboard__sub,
.liveboard__updated,
.liveboard__empty,
.liveboard__count,
.liveboard__note { color: #6b5d50; }

.liveboard__wrap {
  background: #ffffff;
  border-color: rgba(36, 20, 13, .12);
  box-shadow: 0 14px 34px -26px rgba(36, 20, 13, .55);
}

.lb-table td {
  color: #2a211b;
  border-top-color: rgba(36, 20, 13, .08);
}
.lb-table tbody tr:nth-child(even) { background: rgba(36, 20, 13, .03); }
.lb-table tbody tr:hover { background: rgba(244, 197, 66, .12); }

.lb-pos { color: #8a6d1f; }
.lb-name { color: #2a211b; }
.lb-bib,
.lb-cat,
.lb-dif,
.lb-pace { color: #6b5d50; }
.lb-time { color: #2a211b; }

.liveboard__tab {
  color: #2a211b;
  border-color: rgba(36, 20, 13, .22);
  background: #ffffff;
}
.liveboard__tab:hover { background: rgba(36, 20, 13, .06); }
.liveboard__tab.is-active {
  background: #24140d;
  color: #f4c542;
  border-color: #24140d;
}

.liveboard__search {
  background: #ffffff;
  border-color: rgba(36, 20, 13, .18);
}
.liveboard__search svg { color: #8a7c6e; }
.liveboard__search input { color: #2a211b; }
.liveboard__search input::placeholder { color: #8a7c6e; }

.liveboard__select {
  background: #ffffff;
  color: #2a211b;
  border-color: rgba(36, 20, 13, .22);
}
.liveboard__select--event { font-weight: 700; }
.liveboard__fieldlabel { color: #8a7c6e; }

.liveboard__refresh {
  border-color: rgba(36, 20, 13, .25);
  color: #24140d;
}
.liveboard__refresh:hover { background: rgba(36, 20, 13, .06); }

/* La ventana flotante no debe tapar el botón de WhatsApp */
.live-float { bottom: 92px; }
@media (max-width: 640px) {
  .live-float { bottom: 86px; }
}


/* Al saltar a la sección, dejar aire bajo el encabezado fijo */
#resultadosEnVivo { scroll-margin-top: 96px; }


/* ---------- Galería de trabajo ---------- */
.gallery {
  position: relative;
  background: var(--nogal-950);
  color: var(--bone);
  overflow: hidden;
}
.gallery::before {
  content: 'EQUIPO';
  position: absolute;
  right: -3vw;
  top: 6vw;
  font-family: var(--font-display);
  font-size: 19vw;
  line-height: .7;
  color: transparent;
  -webkit-text-stroke: 1px rgba(244, 240, 232, .06);
  pointer-events: none;
}
.gallery__head {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr);
  gap: clamp(26px, 5vw, 70px);
  align-items: end;
}
.gallery h2 {
  margin-top: 16px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.5rem, 4.8vw, 4.4rem);
  line-height: .9;
  text-transform: uppercase;
}
.gallery__lead p {
  color: rgba(244, 240, 232, .72);
  font-size: .95rem;
  line-height: 1.7;
  max-width: 30rem;
}
.gallery__count {
  display: inline-block;
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: .66rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--yellow);
}
.gallery__grid {
  position: relative;
  margin-top: 42px;
  columns: 4;
  column-gap: 14px;
}
.gallery__item {
  position: relative;
  display: block;
  width: 100%;
  margin: 0 0 14px;
  padding: 0;
  border: 0;
  break-inside: avoid;
  border-radius: 14px;
  overflow: hidden;
  background: var(--nogal-900);
  cursor: zoom-in;
}
.gallery__item img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform .7s ease;
}
.gallery__item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(26, 14, 8, 0) 45%, rgba(26, 14, 8, .78) 100%);
  opacity: .55;
  transition: opacity .35s ease;
  pointer-events: none;
}
.gallery__item:hover img,
.gallery__item:focus-visible img { transform: scale(1.045); }
.gallery__item:hover::after,
.gallery__item:focus-visible::after { opacity: .95; }
.gallery__item:focus-visible { outline: 2px solid var(--yellow); outline-offset: 3px; }
.gallery__cap {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 12px;
  z-index: 1;
  font-family: var(--font-mono);
  font-size: .6rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--bone);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .35s ease, transform .35s ease;
  text-align: left;
}
.gallery__item:hover .gallery__cap,
.gallery__item:focus-visible .gallery__cap { opacity: 1; transform: none; }
.gallery__zoom {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: rgba(26, 14, 8, .55);
  color: var(--bone);
  opacity: 0;
  transition: opacity .3s ease;
}
.gallery__zoom svg { width: 15px; height: 15px; }
.gallery__item:hover .gallery__zoom,
.gallery__item:focus-visible .gallery__zoom { opacity: 1; }

/* ---------- Testimonios en video ---------- */
.testi {
  position: relative;
  background: var(--nogal-900);
  color: var(--bone);
  overflow: hidden;
}
.testi::before {
  content: 'VOCES';
  position: absolute;
  right: -3vw;
  top: 4vw;
  font-family: var(--font-display);
  font-size: 19vw;
  line-height: .7;
  color: transparent;
  -webkit-text-stroke: 1px rgba(244, 240, 232, .06);
  pointer-events: none;
}
.testi__head {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr);
  gap: clamp(26px, 5vw, 70px);
  align-items: end;
}
.testi h2 {
  margin-top: 16px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.5rem, 4.8vw, 4.4rem);
  line-height: .9;
  text-transform: uppercase;
}
.testi__lead p {
  color: rgba(244, 240, 232, .72);
  font-size: .95rem;
  line-height: 1.7;
  max-width: 30rem;
}
.testi__lead .btn { margin-top: 20px; }
.testi__grid {
  position: relative;
  margin-top: 42px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}
.testi-card {
  display: flex;
  flex-direction: column;
  border-radius: 16px;
  overflow: hidden;
  background: var(--nogal-850);
  border: 1px solid rgba(244, 240, 232, .1);
  color: inherit;
  text-decoration: none;
  transition: transform .35s ease, border-color .35s ease;
}
.testi-card:hover { transform: translateY(-4px); border-color: rgba(244, 197, 66, .55); }
.testi-card:focus-visible { outline: 2px solid var(--yellow); outline-offset: 3px; }
.testi-card__media {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  background:
    radial-gradient(circle at 50% 30%, rgba(244, 197, 66, .14), transparent 60%),
    linear-gradient(160deg, var(--nogal-800), var(--nogal-950));
  overflow: hidden;
}
.testi-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity .5s ease, transform .6s ease;
}
.testi-card__media img.is-ready { opacity: 1; }
.testi-card__media img.is-wide { transform: scale(1.38); }
.testi-card:hover .testi-card__media img,
.testi-card:focus-visible .testi-card__media img { transform: scale(1.045); }
.testi-card:hover .testi-card__media img.is-wide,
.testi-card:focus-visible .testi-card__media img.is-wide { transform: scale(1.44); }
.testi-card__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(26, 14, 8, .04) 38%, rgba(26, 14, 8, .78) 100%);
  pointer-events: none;
}
.testi-card__play {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--nogal-950);
  box-shadow: 0 12px 30px rgba(0, 0, 0, .35);
  transform: translate(-50%, -50%);
  transition: transform .3s ease;
}
.testi-card:hover .testi-card__play,
.testi-card:focus-visible .testi-card__play { transform: translate(-50%, -50%) scale(1.08); }
.testi-card__play svg { width: 22px; height: 22px; margin-left: 2px; }
.testi-card__tag {
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 1;
  max-width: calc(100% - 24px);
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(26, 14, 8, .74);
  color: var(--yellow-3);
  font-family: var(--font-mono);
  font-size: .58rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.testi-card__body {
  display: grid;
  gap: 7px;
  padding: 16px 18px 18px;
}
.testi-card__quote {
  font-size: .92rem;
  line-height: 1.5;
  color: rgba(244, 240, 232, .9);
}
.testi-card__name {
  font-family: var(--font-display);
  font-size: 1.16rem;
  text-transform: uppercase;
  letter-spacing: .01em;
}
.testi-card__meta {
  font-family: var(--font-mono);
  font-size: .6rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--yellow);
}

@media (max-width: 900px) {
  .testi__head { grid-template-columns: 1fr; align-items: start; }
  .testi__grid { margin-top: 32px; }
}

/* ---------- Visor (lightbox) ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 220;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 64px clamp(12px, 5vw, 84px);
  background: rgba(12, 7, 4, .95);
  backdrop-filter: blur(3px);
}
.lightbox[hidden] { display: none; }
.lightbox__bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px clamp(16px, 4vw, 34px);
}
.lightbox__count {
  font-family: var(--font-mono);
  font-size: .66rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(244, 240, 232, .72);
}
.lightbox__close,
.lightbox__nav {
  display: grid;
  place-items: center;
  border: 1px solid rgba(244, 240, 232, .28);
  border-radius: 999px;
  background: rgba(26, 14, 8, .5);
  color: var(--bone);
  cursor: pointer;
  transition: background .25s ease, border-color .25s ease, color .25s ease;
}
.lightbox__close { width: 38px; height: 38px; }
.lightbox__close svg { width: 18px; height: 18px; }
.lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; }
.lightbox__nav svg { width: 20px; height: 20px; }
.lightbox__nav--prev { left: clamp(8px, 2.5vw, 28px); }
.lightbox__nav--next { right: clamp(8px, 2.5vw, 28px); }
.lightbox__close:hover,
.lightbox__nav:hover { background: var(--yellow); border-color: var(--yellow); color: var(--nogal-950); }
.lightbox__fig {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  max-width: min(1080px, 100%);
}
.lightbox__fig img {
  max-width: 100%;
  max-height: 76vh;
  border-radius: 12px;
  object-fit: contain;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .5);
}
.lightbox__fig figcaption {
  font-family: var(--font-mono);
  font-size: .64rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(244, 240, 232, .78);
  text-align: center;
}
.lightbox__fig figcaption:empty { display: none; }
.lightbox__nav[disabled] { opacity: .3; cursor: default; }
body.lightbox-open { overflow: hidden; }

@media (max-width: 1100px) {
  .gallery__grid { columns: 3; }
}
@media (max-width: 900px) {
  .gallery__head { grid-template-columns: 1fr; align-items: start; }
}
@media (max-width: 760px) {
  .gallery__grid { columns: 2; column-gap: 10px; }
  .gallery__item { margin-bottom: 10px; border-radius: 11px; }
  .gallery__cap { opacity: 1; transform: none; font-size: .55rem; }
  .gallery__zoom { display: none; }
  .lightbox { padding: 58px 8px 72px; }
  .lightbox__nav { top: auto; bottom: 14px; transform: none; }
  .lightbox__nav--prev { left: calc(50% - 60px); }
  .lightbox__nav--next { right: calc(50% - 60px); }
  .lightbox__fig img { max-height: 66vh; }
}
