:root {
  color-scheme: light;

  /* Azul principal de logo.png. Solo se usa en botones de acción. */
  --brand: #264277;
  --brand-hover: #1c3260;
  --on-brand: #ffffff;

  --ink: #0a0a0a;
  --muted: #6e6e73;
  --line: #e5e5ea;
  --soft: #f5f5f7;
  --paper: #ffffff;
  --error: #c4161f;
  --live: #e5262d;
  --ph-from: #f0f0f2;
  --ph-to: #e4e4e8;

  --max: 1200px;
  --gutter: clamp(16px, 5vw, 48px);
  --section: clamp(96px, 14vw, 180px);
  --radius: 16px;
  --shadow: 0 1px 2px rgb(0 0 0 / .03), 0 8px 24px rgb(0 0 0 / .04);

  --ease-out: cubic-bezier(.23, 1, .32, 1);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI Variable Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1rem/1.5 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

h1, h2, h3, h4, p, ul { margin: 0; padding: 0; }
ul { list-style: none; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }

:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
.section--dark :focus-visible { outline-color: #fff; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 8px 16px;
  background: var(--ink);
  color: #fff;
  border-radius: 8px;
  transform: translateY(-200%);
}
.skip-link:focus { transform: none; }

.container {
  width: min(100%, calc(var(--max) + var(--gutter) * 2));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* Intro: sin JS o en visitas repetidas, .intro no existe y todo es visible */
@keyframes reveal {
  from { opacity: 0; visibility: hidden; }
  to { opacity: 1; visibility: visible; }
}
@keyframes reveal-rise {
  from { opacity: 0; visibility: hidden; transform: translateY(12px); }
  to { opacity: 1; visibility: visible; transform: none; }
}
.intro .reveal { animation: reveal .8s var(--ease-out) 2s both; }
.intro .reveal--rise { animation-name: reveal-rise; }

/* Aparición al hacer scroll */
.js .fade {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
}
.js .fade.is-in { opacity: 1; transform: none; }

/* Botones */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -.01em;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .2s var(--ease-out), box-shadow .2s var(--ease-out), transform .16s var(--ease-out);
}
.btn:active { transform: scale(.97); }
.btn--sm { min-height: 44px; padding: 0 20px; font-size: .9375rem; }
.btn--brand { background: var(--brand); color: var(--on-brand); }
.btn--ghost { background: transparent; box-shadow: inset 0 0 0 1px var(--line); }

/* Navegación */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  background: rgb(255 255 255 / 0);
  box-shadow: 0 1px 0 transparent;
  transition: background-color .2s var(--ease-out), box-shadow .2s var(--ease-out);
}
.nav.is-scrolled {
  background: rgb(255 255 255 / .72);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  box-shadow: 0 1px 0 rgb(0 0 0 / .06);
}
@media (prefers-reduced-transparency: reduce) {
  .nav.is-scrolled { background: var(--paper); }
}

.nav__bar {
  display: flex;
  align-items: center;
  gap: 32px;
  width: min(100%, calc(var(--max) + var(--gutter) * 2));
  height: 64px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.nav__logo img { display: block; width: auto; height: 52px; }
.nav__links { display: flex; gap: 28px; margin-left: auto; font-size: .9375rem; }
.nav__links a { color: var(--muted); transition: color .16s var(--ease-out); }
.nav__links a:focus-visible { color: var(--ink); }

.nav__toggle {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  margin-right: -10px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}
.nav__toggle span {
  position: absolute;
  left: 11px;
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform .2s var(--ease-out);
}
.nav__toggle span:first-child { transform: translateY(-4px); }
.nav__toggle span:last-child { transform: translateY(4px); }
.nav__toggle[aria-expanded="true"] span:first-child { transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { transform: rotate(-45deg); }

/* Hero */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(32px, 5vw, 56px);
  min-height: 100vh;
  min-height: 100svh;
  padding: 96px var(--gutter) 64px;
  text-align: center;
}
.wordmark {
  display: block;
  width: auto;
  height: clamp(280px, 56vh, 560px);
  max-width: 100%;
  aspect-ratio: 971 / 1445;
  overflow: visible;
}
.intro .wordmark__logo { animation: logo-fallback .3s var(--ease-out) 2s both; }
@keyframes logo-fallback { from { opacity: 0; } }

.wordmark__cover { display: none; fill: var(--paper); }
.ball { display: none; }
.wordmark.is-playing .wordmark__cover,
.wordmark.is-playing .ball { display: inline; }
.ball__fill { fill: var(--paper); }
.ball__ring { fill: none; stroke: var(--ink); stroke-width: 12; }
.ball__patch { fill: var(--ink); }
.ball__seams { fill: none; stroke: var(--ink); stroke-width: 5; stroke-linecap: round; }

.hero__lede p {
  max-width: 28ch;
  margin-inline: auto;
  color: var(--muted);
  font-size: clamp(1.25rem, 2.6vw, 1.75rem);
  line-height: 1.25;
  letter-spacing: -.02em;
  text-wrap: balance;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}

/* Secciones */
.section { padding-block: var(--section); }
.section--dark { background: #000; color: #f5f5f7; }
.section--dark .section__head p { color: #a1a1a6; }
.section--soft { background: var(--soft); }

.section__head { margin-bottom: clamp(40px, 6vw, 72px); }
.section__head h2 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -.035em;
  text-wrap: balance;
}
.section__head--center { text-align: center; }
.section__head--center p { margin-inline: auto; }
.section__head p {
  max-width: 44ch;
  margin-top: 16px;
  color: var(--muted);
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  line-height: 1.3;
  letter-spacing: -.015em;
}

/* Placeholders */
.ph {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: var(--radius);
  background: linear-gradient(145deg, var(--ph-from), var(--ph-to));
  color: #a1a1a6;
  font-size: .8125rem;
  letter-spacing: .02em;
}
.ph--video { aspect-ratio: 16 / 9; }
.ph--product { aspect-ratio: 4 / 5; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); }
.ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ph--product img { object-fit: contain; }

.play {
  position: relative;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgb(255 255 255 / .85);
  box-shadow: var(--shadow);
  transition: transform .2s var(--ease-out);
}
.play::after {
  content: "";
  margin-left: 3px;
  border-block: 8px solid transparent;
  border-left: 13px solid var(--ink);
}

/* Directos */
/* 3-4 tarjetas visibles en escritorio, 1,5 en móvil para insinuar el desplazamiento */
.live-track > * {
  flex: none;
  width: min(340px, calc((100vw - var(--gutter)) / 1.5 - 16px));
  scroll-snap-align: start;
}
.live-track .video-card h3 { font-size: 1.0625rem; }
.video-card h3 {
  margin-top: 16px;
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -.02em;
}
.video-card p { margin-top: 2px; color: var(--muted); font-size: .9375rem; }
.video-card__cta { margin-top: 16px; }
.live-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font-size: .8125rem;
  font-weight: 600;
}
.live-badge[hidden] { display: none; }
.live-fallback { margin-top: 40px; color: var(--muted); }

/* Indicador de directo en emisión */
.live-now {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  margin-bottom: 20px;
  padding: 8px 16px 8px 12px;
  border-radius: 999px;
  background: var(--soft);
  font-size: .9375rem;
  transition: background-color .2s var(--ease-out), transform .16s var(--ease-out);
}
.live-now[hidden] { display: none; }
.live-now:active { transform: scale(.98); }
.live-now__label { flex: none; font-weight: 600; }
.live-now__title { overflow: hidden; color: var(--muted); text-overflow: ellipsis; white-space: nowrap; }
.live-now__dot, .nav__cta.is-live::before {
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--live);
  animation: live-pulse 1.6s ease-in-out infinite;
}
.nav__cta.is-live { gap: 8px; }
.nav__cta.is-live::before { content: ""; }
@keyframes live-pulse { 50% { opacity: .35; } }

/* Cifras del canal */
.stats { margin-top: clamp(32px, 4vw, 48px); }
.stats[hidden], .stats__item[hidden] { display: none; }
.stats__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 32px; margin: 0; }
.stats__item { display: flex; flex-direction: column-reverse; gap: 2px; padding-top: 16px; border-top: 1px solid var(--line); }
.stats__item dt { color: var(--muted); font-size: .9375rem; }
.stats__item dd {
  margin: 0;
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.035em;
  font-variant-numeric: tabular-nums;
}
.section__head .stats__note { margin-top: 20px; font-size: .8125rem; }

/* Próximos directos */
.upcoming { margin-top: clamp(56px, 7vw, 88px); }
.upcoming[hidden] { display: none; }
.upcoming__title { margin-bottom: 16px; font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 700; letter-spacing: -.03em; }
.upcoming__list { margin: 0; padding: 0; border-top: 1px solid var(--line); list-style: none; }
.upcoming__item {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 32px);
  padding-block: 18px;
  border-bottom: 1px solid var(--line);
}
.upcoming__date {
  display: grid;
  flex: none;
  justify-items: center;
  width: 56px;
  line-height: 1.1;
  text-transform: uppercase;
}
.upcoming__weekday, .upcoming__month { color: var(--muted); font-size: .75rem; font-weight: 600; letter-spacing: .04em; }
.upcoming__day { font-size: 1.75rem; font-weight: 700; letter-spacing: -.03em; }
.upcoming__info { display: grid; flex: 1; gap: 2px; min-width: 0; }
.upcoming__name { overflow: hidden; font-size: 1.0625rem; font-weight: 600; letter-spacing: -.015em; text-overflow: ellipsis; white-space: nowrap; }
.upcoming__meta { color: var(--muted); font-size: .9375rem; }
.upcoming__arrow {
  flex: none;
  width: 20px;
  fill: none;
  stroke: var(--muted);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .2s var(--ease-out);
}
.live-fallback a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }

.skeleton .ph, .skeleton span {
  background: linear-gradient(100deg, var(--ph-from) 40%, var(--soft) 50%, var(--ph-from) 60%) 0 0 / 300% 100%;
  animation: shimmer 1.6s ease-in-out infinite;
}
.skeleton span { display: block; height: 18px; margin-top: 16px; border-radius: 6px; width: 70%; }
.skeleton span:last-child { width: 40%; margin-top: 10px; }
@keyframes shimmer { from { background-position: 100% 0; } to { background-position: 0 0; } }

/* Goles */
.highlights__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}
.carousel-controls { display: flex; flex: none; gap: 8px; margin-bottom: clamp(40px, 6vw, 72px); }
.icon-btn {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: #2c2c2e;
  cursor: pointer;
  transition: background-color .2s var(--ease-out), opacity .2s var(--ease-out), transform .16s var(--ease-out);
}
.icon-btn:active { transform: scale(.94); }
.icon-btn:disabled { opacity: .35; cursor: default; }
.icon-btn--light { background: var(--soft); }
.icon-btn.icon-btn--light svg { stroke: var(--ink); }
.icon-btn svg { width: 20px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.carousel {
  align-items: flex-start;
  --inset: max(var(--gutter), calc((100vw - var(--max)) / 2));
  display: flex;
  gap: 16px;
  padding-inline: var(--inset);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--inset);
  scrollbar-width: none;
}
.carousel::-webkit-scrollbar { display: none; }
.carousel:focus-visible { outline-offset: -2px; }
.carousel[hidden], .carousel-controls[hidden], .goals-empty[hidden], .goals-consent[hidden] { display: none; }
.goals-consent { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; color: #a1a1a6; }
.goals-consent p { flex-basis: 100%; }
.goals-consent a { color: #f5f5f7; text-decoration: underline; text-underline-offset: 2px; }
.goals-consent__accept {
  min-height: 44px;
  padding: 0 20px;
  border: 0;
  border-radius: 999px;
  background: #f5f5f7;
  color: var(--ink);
  font-size: .9375rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform .16s var(--ease-out);
}
.goals-consent__accept:active { transform: scale(.97); }
.goal-embed { flex: none; width: 328px; scroll-snap-align: start; }
.goal-embed:empty { aspect-ratio: 325 / 578; border-radius: 12px; background: #1c1c1e; }
.tiktok-player { display: block; width: 100%; aspect-ratio: 325 / 578; border: 0; border-radius: 12px; background: #1c1c1e; }
.goal-embed a, .goals-empty a { color: #f5f5f7; text-decoration: underline; text-underline-offset: 2px; }
.goal-embed .instagram-media a { color: var(--ink); }

/* Tienda */
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: clamp(32px, 4vw, 48px); }
.filter {
  min-height: 44px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: var(--soft);
  color: var(--muted);
  font-size: .9375rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color .2s var(--ease-out), color .2s var(--ease-out), transform .16s var(--ease-out);
}
.filter:active { transform: scale(.97); }
.filter[aria-pressed="true"] { background: var(--ink); color: var(--paper); }

.shop-grid {
  --shop-gap: clamp(16px, 3vw, 32px);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 48px var(--shop-gap);
}
.product {
  display: grid;
  flex: 0 1 calc((100% - 2 * var(--shop-gap)) / 3);
  grid-template-rows: auto 1fr auto;
  gap: 16px;
  justify-items: start;
}
.product[hidden] { display: none; }
.shop__terms { margin-top: clamp(40px, 5vw, 56px); color: var(--muted); font-size: .9375rem; text-align: center; }
.shop__terms a, .modal__terms a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }
.modal__terms { color: var(--muted); font-size: .8125rem; }
.product[data-product] { cursor: pointer; }

/* Modal de producto */
html:has(.modal[open]) { overflow: hidden; }
.modal {
  width: min(920px, calc(100vw - 32px));
  max-height: calc(100vh - 32px);
  max-height: calc(100dvh - 32px);
  padding: clamp(20px, 3vw, 36px);
  border: 0;
  border-radius: 20px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 24px 64px rgb(0 0 0 / .16);
}
.modal[open] { animation: modal-in .24s var(--ease-out); }
.modal::backdrop { background: rgb(0 0 0 / .4); animation: backdrop-in .24s var(--ease-out); }
@keyframes modal-in { from { opacity: 0; transform: scale(.97); } }
@keyframes backdrop-in { from { opacity: 0; } }

.modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--soft);
  cursor: pointer;
  transition: transform .16s var(--ease-out);
}
.modal__close:active { transform: scale(.94); }
.modal__close svg { width: 20px; fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; }

.modal__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
}
.modal__image { aspect-ratio: 1; touch-action: pan-y; user-select: none; }
.modal__image img { -webkit-user-drag: none; }
.modal__image img[hidden], .modal__image span[hidden] { display: none; }
.modal__thumbs { display: flex; gap: 8px; margin-top: 12px; }
.modal__thumbs:empty { display: none; }
.modal__thumb {
  width: 64px;
  height: 64px;
  padding: 4px;
  border: 0;
  border-radius: 10px;
  background: var(--paper);
  box-shadow: inset 0 0 0 1px var(--line);
  cursor: pointer;
  transition: box-shadow .16s var(--ease-out);
}
.modal__thumb[aria-pressed="true"] { box-shadow: inset 0 0 0 1.5px var(--ink); }
.modal__thumb img { display: block; width: 100%; height: 100%; object-fit: contain; }

.modal__info { display: grid; justify-items: start; gap: 12px; padding-top: 8px; }
.modal__info h2 { padding-right: 40px; font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 700; line-height: 1.1; letter-spacing: -.03em; }
.modal__price { font-size: 1.25rem; font-weight: 500; }
.modal__description { color: var(--muted); }
.modal__sizes { display: grid; gap: 8px; width: 100%; min-width: 0; margin: 8px 0 12px; padding: 0; border: 0; }
.modal__sizes[hidden] { display: none; }
.modal__sizes legend { padding: 0 0 8px; font-size: .9375rem; font-weight: 500; }
.sizes { display: flex; flex-wrap: wrap; gap: 8px; }
.size { position: relative; cursor: pointer; }
.size input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.size span {
  display: grid;
  place-items: center;
  min-width: 52px;
  height: 44px;
  padding: 0 12px;
  border-radius: 12px;
  box-shadow: inset 0 0 0 1px var(--line);
  font-weight: 500;
  transition: background-color .16s var(--ease-out), color .16s var(--ease-out), transform .16s var(--ease-out);
}
.size input:active + span { transform: scale(.97); }
.size input:checked + span { background: var(--ink); color: var(--paper); box-shadow: none; }
.size input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.product .ph { width: 100%; }
.product__info { display: flex; justify-content: space-between; gap: 12px; width: 100%; }
.product h3 { font-size: 1.125rem; font-weight: 600; letter-spacing: -.015em; }
.product__info p { color: var(--muted); white-space: nowrap; }

/* Patrocinadores */
.sponsors {
  padding-block: clamp(64px, 8vw, 96px);
  background: var(--soft);
}
.sponsors__title {
  margin-bottom: 40px;
  padding-inline: var(--gutter);
  color: var(--muted);
  font-size: 1rem;
  font-weight: 500;
  text-align: center;
}
.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee__track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee__group {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: space-around;
  gap: clamp(40px, 6vw, 80px);
  min-width: 100vw;
  padding-right: clamp(40px, 6vw, 80px);
}
.sponsor { flex: none; }
.sponsor img {
  display: block;
  width: auto;
  height: clamp(48px, 6vw, 64px);
  border-radius: 10px;
  filter: grayscale(100%);
  opacity: .85;
  transition: filter .3s var(--ease-out), opacity .3s var(--ease-out);
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* Formulario */
.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 8vw, 120px);
  align-items: start;
}
.form { display: grid; gap: 24px; justify-items: start; }
.field { display: grid; gap: 8px; width: 100%; }
.field label { font-size: .9375rem; font-weight: 500; }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; align-items: start; width: 100%; }
.field input, .field textarea, .field select {
  width: 100%;
  min-height: 48px;
  padding: 12px 16px;
  border: 0;
  border-radius: 12px;
  background: var(--soft);
  font-size: 1rem;
  box-shadow: inset 0 0 0 1px transparent;
  transition: background-color .2s var(--ease-out), box-shadow .2s var(--ease-out);
}
.field textarea { display: block; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: 0;
  background: var(--paper);
  box-shadow: inset 0 0 0 1.5px var(--ink);
}
.section--soft .field input, .section--soft .field textarea, .section--soft .field select { background: var(--paper); }
.field [aria-invalid="true"] { box-shadow: inset 0 0 0 1.5px var(--error); }
.field__error { color: var(--error); font-size: .875rem; }
.field__error:empty { display: none; }
.consent { display: flex; align-items: center; gap: 10px; color: var(--muted); }
.consent input { flex: none; width: 18px; height: 18px; margin: 0; accent-color: var(--ink); }
.consent input[aria-invalid="true"] { outline: 1.5px solid var(--error); outline-offset: 1px; box-shadow: none; }
.field .consent label { font-weight: 400; cursor: pointer; }
.consent a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }
.form__status { color: var(--muted); font-size: .9375rem; }
.form__status:empty { display: none; }

/* Contrataciones */
.hire {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 8vw, 120px);
  align-items: start;
}
.hire .section__head { margin-bottom: 40px; }
.hire .section__head h2 { font-size: clamp(2.25rem, 4.4vw, 3.5rem); }
.hire__services { display: grid; gap: 16px; font-size: 1.125rem; letter-spacing: -.01em; }
.hire__services li { display: flex; align-items: center; gap: 14px; }
.hire__services svg {
  flex: none;
  width: 24px;
  height: 24px;
  fill: none;
  stroke: var(--ink);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.hire__contact { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); }
.hire__contact > a { font-weight: 600; }
.hire__social { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 12px; color: var(--muted); font-size: .9375rem; }
.hire__social a { transition: color .16s var(--ease-out); }

/* Pie */
.footer { padding-block: 32px; color: var(--muted); font-size: .875rem; box-shadow: 0 -1px 0 var(--line); }
.footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.footer img { display: block; width: auto; height: 40px; }
.footer__links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px 24px; }
.footer__links button { padding: 0; border: 0; background: none; cursor: pointer; }

/* Botón flotante */
.to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 40;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgb(255 255 255 / .72);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  box-shadow: 0 0 0 1px rgb(0 0 0 / .06), var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .2s var(--ease-out), transform .2s var(--ease-out), visibility .2s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:active { transform: scale(.94); }
.to-top svg { width: 20px; fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Aviso de cookies */
.cookies {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 45;
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 520px;
  padding: 12px 12px 12px 16px;
  border-radius: 14px;
  background: rgb(255 255 255 / .86);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  box-shadow: 0 0 0 1px rgb(0 0 0 / .06), var(--shadow);
  color: var(--muted);
  font-size: .8125rem;
  line-height: 1.4;
}
.cookies[hidden] { display: none; }
.cookies a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }
.cookies__actions { display: flex; flex: none; gap: 8px; }
.cookies__button {
  min-height: 44px;
  padding: 0 14px;
  border: 0;
  border-radius: 10px;
  background: var(--ink);
  color: var(--paper);
  font-size: .875rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform .16s var(--ease-out);
}
.cookies__button:active { transform: scale(.97); }

/* Páginas legales */
.legal {
  width: min(100%, calc(680px + var(--gutter) * 2));
  margin-inline: auto;
  padding: clamp(128px, 16vw, 180px) var(--gutter) var(--section);
}
.legal h1 {
  font-size: clamp(2.5rem, 6vw, 3.5rem);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -.035em;
}
.legal__updated { margin-block: 12px 40px; color: var(--muted); font-size: .9375rem; }
.legal h2 { margin-block: 40px 8px; font-size: 1.25rem; font-weight: 600; letter-spacing: -.02em; }
.legal p, .legal li { color: #3a3a3c; line-height: 1.6; }
.legal p + p { margin-top: 12px; }
.legal a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }
.legal__back { margin-left: auto; color: var(--muted); font-size: .9375rem; }
.legal ol { display: grid; gap: 8px; padding-left: 1.25em; list-style: decimal; }
.legal__form { margin-top: 12px; padding: 20px 24px; border-radius: 14px; background: var(--soft); }
.legal__form p { overflow-wrap: anywhere; }

/* Interacciones solo con puntero real */
@media (hover: hover) and (pointer: fine) {
  .btn--brand:hover { background: var(--brand-hover); }
  .btn--ghost:hover { background: var(--soft); }
  .nav__links a:hover { color: var(--ink); }
  .video-card:hover .play { transform: scale(1.08); }
  .hire__social a:hover { color: var(--ink); }
  .live-now:hover { background: var(--line); }
  .upcoming__item:hover .upcoming__arrow { transform: translateX(3px); }
  .video-card:hover .video-card__cta { background: var(--brand-hover); }
  .icon-btn:not(:disabled):hover { background: #3a3a3c; }
  .icon-btn--light:not(:disabled):hover { background: var(--line); }
  .filter[aria-pressed="false"]:hover { color: var(--ink); }
  .legal__back:hover { color: var(--ink); }
  .marquee:hover .marquee__track { animation-play-state: paused; }
  .sponsor img:hover { filter: none; opacity: 1; }
  .footer a:hover, .footer button:hover { color: var(--ink); }
}

@media (max-width: 900px) {
  .nav__cta { margin-left: auto; }
  .nav__toggle { display: block; }
  .nav__bar { gap: 8px; }
  .nav__logo { margin-right: auto; }
  .nav__cta { margin-left: 0; }

  .nav__links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: grid;
    gap: 0;
    margin: 0;
    padding: 8px var(--gutter) 20px;
    background: var(--paper);
    box-shadow: 0 1px 0 var(--line), 0 16px 24px rgb(0 0 0 / .05);
    font-size: 1.125rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transform-origin: top;
    transition: opacity .18s var(--ease-out), transform .18s var(--ease-out), visibility .18s;
  }
  .nav__links.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav__links a { padding-block: 12px; color: var(--ink); }

  .contact, .hire { grid-template-columns: minmax(0, 1fr); }
  .modal__layout { grid-template-columns: minmax(0, 1fr); }
  .modal__image { max-height: 44vh; width: 100%; }
}

@media (max-width: 640px) {
  .carousel-controls { display: none; }
  .product { flex-basis: 100%; max-width: 360px; }
  .product .btn { width: 100%; }
  .form__row { grid-template-columns: minmax(0, 1fr); }
  .upcoming__meta { font-size: .875rem; }
  .upcoming__name { white-space: normal; }
  .cookies { right: 16px; left: 16px; bottom: 16px; flex-direction: column; align-items: stretch; gap: 10px; max-width: none; }
  .cookies__button { flex: 1; }
  .cookies:not([hidden]) ~ .to-top { bottom: 168px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
  .js .fade { opacity: 1; transform: none; }
  .marquee { -webkit-mask-image: none; mask-image: none; overflow-x: auto; }
  .marquee__track { animation: none; }
  .skeleton .ph, .skeleton span, .modal[open], .modal::backdrop, .live-now__dot, .nav__cta.is-live::before { animation: none; }
}
