/* =========================================================
   FrenetikBeat — Hoja de estilos principal
   Mobile-first: los estilos base son para móvil y se amplían
   con media queries (min-width) para tablet y escritorio.

   ÍNDICE
   01. Variables (colores, tipografía, espaciado)
   02. Reset y base
   03. Utilidades
   04. Componentes (botones, tarjetas, tabs, iconos)
   05. Cabecera y navegación
   06. Hero
   07. Secciones
   08. Eventos
   09. Vídeos
   10. Galería y lightbox
   11. Servicios, FAQ y contacto
   12. Pie y newsletter
   13. Animaciones
   14. Responsive (tablet ≥ 640px, escritorio ≥ 960px, grande ≥ 1280px)
   15. Accesibilidad: movimiento reducido
   ========================================================= */

/* ---------- 01. Variables ---------- */
:root {
  --c-bg: #0A0B0A;
  --c-bg-alt: #0D0F0D;
  --c-surface: #111411;
  --c-surface-2: #161A16;
  --c-line: #232923;
  --c-line-2: #2E352E;
  --c-text: #EEF2EC;
  --c-text-2: #B8C1B7;
  --c-muted: #A3ADA2;
  --c-accent: #A6FF00;
  --c-accent-ink: #0C1500;

  --f-display: "Unbounded", "Space Grotesk", system-ui, sans-serif;
  --f-body: "Space Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Tipografía fluida: escala sola entre móvil y escritorio */
  --fs-hero: clamp(2.75rem, 1.6rem + 5.6vw, 5.25rem);
  --fs-h2: clamp(2rem, 1.4rem + 2.6vw, 3.25rem);
  --fs-h3: clamp(1.2rem, 1.05rem + .6vw, 1.6rem);
  --fs-lead: clamp(1.05rem, 1rem + .3vw, 1.2rem);

  --space-section: clamp(4.5rem, 3rem + 6vw, 8rem);
  --gutter: clamp(1.25rem, .8rem + 2vw, 2rem);
  --radius: 20px;
  --radius-sm: 12px;
  --header-h: 72px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- 02. Reset y base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--c-bg);
  color: var(--c-text);
  font-family: var(--f-body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
[hidden] { display: none !important; }
img, svg, video { display: block; max-width: 100%; height: auto; }
input, button, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
ul[role="list"] { list-style: none; padding: 0; }
a { color: var(--c-accent); text-underline-offset: 3px; }
a:hover { color: var(--c-text); }
h1, h2, h3 { line-height: 1.1; text-wrap: balance; }
p { text-wrap: pretty; }
:focus-visible { outline: 2px solid var(--c-accent); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--c-accent); color: var(--c-accent-ink); }

/* ---------- 03. Utilidades ---------- */
.container { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: var(--gutter); }
.stack { display: flex; flex-direction: column; gap: 1.25rem; }
.stack-lg { display: flex; flex-direction: column; gap: clamp(2rem, 1.5rem + 2vw, 3.5rem); }
.split { display: grid; gap: clamp(2rem, 1rem + 4vw, 3.5rem); align-items: start; }
.accent { color: var(--c-accent); }
.muted { color: var(--c-muted); }
.lead { font-size: var(--fs-lead); color: var(--c-text-2); }
.eyebrow { font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--c-accent); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 200; padding: .75rem 1rem; background: var(--c-accent); color: var(--c-accent-ink); border-radius: 8px; font-weight: 700; }
.skip-link:focus { top: 1rem; }

/* ---------- 04. Componentes ---------- */
.icon { width: 1.15em; height: 1.15em; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.icon--lg { width: 2rem; height: 2rem; stroke-width: 1.8; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 48px; padding: 0 1.5rem;
  border-radius: 999px; border: 1px solid transparent;
  font-weight: 700; font-size: .95rem; text-decoration: none; white-space: nowrap;
  transition: transform .2s var(--ease), background-color .2s, color .2s, border-color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--c-accent); color: var(--c-accent-ink); }
.btn--primary:hover { background: var(--c-text); color: var(--c-accent-ink); }
.btn--ghost { background: transparent; color: var(--c-text); border-color: var(--c-line-2); }
.btn--ghost:hover { border-color: var(--c-accent); color: var(--c-text); }
.btn--dark { background: var(--c-accent-ink); color: var(--c-text); }
.btn--dark:hover { background: #000; color: var(--c-text); }
.btn--grow { flex: 1 1 auto; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }

.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--c-line-2); background: transparent; color: var(--c-text); }
.icon-btn:hover { border-color: var(--c-accent); }

.card { background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--radius); }

.pill { display: inline-flex; align-items: center; gap: .6rem; align-self: flex-start; padding: .45rem 1rem; border: 1px solid var(--c-line-2); border-radius: 999px; font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--c-text-2); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--c-accent); box-shadow: 0 0 0 0 rgba(166,255,0,.6); animation: pulse 2s infinite; }

.tabs { display: flex; flex-wrap: wrap; gap: .5rem; }
.tab { min-height: 44px; padding: 0 1.15rem; border-radius: 999px; border: 1px solid var(--c-line-2); background: transparent; color: var(--c-text-2); font-size: .9rem; font-weight: 600; transition: background-color .2s, color .2s, border-color .2s; }
.tab:hover { border-color: var(--c-accent); color: var(--c-text); }
.tab.is-active { background: var(--c-accent); border-color: var(--c-accent); color: var(--c-accent-ink); }

.placeholder-bg { background-color: #121512; background-image: repeating-linear-gradient(135deg, rgba(166,255,0,.06) 0 2px, transparent 2px 14px); }

/* ---------- 05. Cabecera y navegación ---------- */
.header { position: sticky; top: 0; z-index: 50; height: var(--header-h); background: rgba(10,11,10,.85); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid transparent; transition: border-color .3s; }
.header.is-scrolled { border-bottom-color: #1C211C; }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; height: 100%; }

.logo { display: inline-flex; align-items: center; gap: .7rem; color: var(--c-text); text-decoration: none; }
.logo:hover { color: var(--c-text); }
.logo__img { height: 50px; width: auto; }
.footer__logo { height: 72px; width: auto; align-self: flex-start; }

/* Menú móvil (por defecto): panel desplegable */
.menu-toggle { display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; width: 48px; height: 48px; padding: 0 12px; border-radius: 50%; border: 1px solid var(--c-line-2); background: transparent; }
.menu-toggle span { display: block; height: 2px; border-radius: 2px; background: var(--c-text); transition: transform .3s var(--ease), opacity .2s; }
.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); }

.nav {
  position: fixed; inset: var(--header-h) 0 auto 0;
  display: flex; flex-direction: column; gap: 1rem;
  padding: 1rem var(--gutter) 1.5rem;
  background: rgba(10,11,10,.98); border-bottom: 1px solid var(--c-line);
  max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
  transform: translateY(-8px); opacity: 0; visibility: hidden;
  transition: opacity .25s, transform .25s var(--ease), visibility .25s;
}
.nav.is-open { transform: none; opacity: 1; visibility: visible; }
.nav__list { list-style: none; padding: 0; display: flex; flex-direction: column; }
.nav__link { display: flex; align-items: center; min-height: 52px; color: var(--c-text); text-decoration: none; font-size: 1.15rem; font-weight: 600; border-bottom: 1px solid #1C211C; }
.nav__link:hover, .nav__link.is-current { color: var(--c-accent); }
body.menu-open { overflow: hidden; }

/* ---------- 06. Hero ---------- */
.hero { padding-top: clamp(3rem, 2rem + 5vw, 6rem); overflow: hidden; }
.hero__grid { display: grid; gap: clamp(2.5rem, 2rem + 3vw, 4rem); align-items: center; }
.hero__copy { display: flex; flex-direction: column; gap: 1.6rem; }
.hero__title { font-family: var(--f-display); font-size: var(--fs-hero); font-weight: 900; line-height: .95; letter-spacing: -.035em; text-transform: uppercase; }
.hero__lead { font-size: var(--fs-lead); color: var(--c-text-2); max-width: 34rem; }

.next-event { padding: clamp(1.25rem, 1rem + 1vw, 1.75rem); display: flex; flex-direction: column; gap: 1.25rem; background: #0F120F; }
.next-event__top { display: flex; justify-content: space-between; gap: 1rem; font-size: .85rem; }
.next-event__title { font-family: var(--f-display); font-size: var(--fs-h3); font-weight: 700; letter-spacing: -.02em; }

.eq { display: flex; align-items: flex-end; gap: clamp(3px, .5vw, 6px); height: clamp(110px, 18vw, 170px); }
.eq span { flex: 1; height: 100%; background: var(--c-accent); border-radius: 3px 3px 0 0; transform-origin: bottom; animation: eq 1s ease-in-out infinite alternate; }

.marquee { margin-top: clamp(3.5rem, 2rem + 5vw, 6rem); background: var(--c-accent); color: var(--c-accent-ink); padding: 1rem 0; overflow: hidden; }
.marquee__track { display: flex; gap: 3rem; width: max-content; font-family: var(--f-display); font-weight: 900; font-size: clamp(1rem, .8rem + 1vw, 1.4rem); text-transform: uppercase; white-space: nowrap; animation: marquee 30s linear infinite; }

/* ---------- 07. Secciones ---------- */
.section { padding-block: var(--space-section); }
.section--alt { background: var(--c-bg-alt); border-block: 1px solid #1C211C; }
.section--flush-top { padding-top: 0; }
.section__head { display: flex; flex-direction: column; gap: .9rem; }
.section__head--narrow { max-width: 45rem; }
.section__title { font-family: var(--f-display); font-size: var(--fs-h2); font-weight: 900; letter-spacing: -.03em; }
/* Las mayúsculas del texto verde ópticamente parecen más pegadas: le damos un poco más de aire arriba */
.section__title .accent { display: inline-block; margin-top: .14em; }
.section__bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 1.5rem; }
.prose { display: flex; flex-direction: column; gap: 1.1rem; font-size: 1.05rem; color: var(--c-text-2); line-height: 1.75; }

.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.stat { padding: 1.4rem; display: flex; flex-direction: column; gap: .3rem; }
.stat__num { font-family: var(--f-display); font-weight: 900; font-size: clamp(1.6rem, 1.2rem + 1.8vw, 2.75rem); color: var(--c-accent); line-height: 1.1; }

.grid-3, .grid-4 { display: grid; gap: 1.25rem; }
.feature, .service { padding: clamp(1.5rem, 1.2rem + 1vw, 2rem); display: flex; flex-direction: column; gap: .9rem; transition: border-color .25s, transform .25s var(--ease); }
.feature:hover, .service:hover { border-color: var(--c-accent); transform: translateY(-4px); }
.feature h3, .service h3 { font-size: 1.25rem; }
/* Lista en columnas de 3 puntos de alto: el 4.º y siguientes pasan a la columna de la derecha */
.feature__list { list-style: none; padding: 0; display: grid; grid-template-rows: repeat(3, auto); grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: .55rem 1.25rem; color: var(--c-text-2); }
.feature__list li { position: relative; padding-left: 1.1rem; line-height: 1.5; }
.feature__list li::before { content: ""; position: absolute; left: 0; top: .6em; width: 6px; height: 6px; border-radius: 50%; background: var(--c-accent); }
.service__num { font-family: var(--f-display); font-weight: 700; font-size: .85rem; color: var(--c-accent); }

/* ---------- 08. Eventos ---------- */
.events { display: flex; flex-direction: column; gap: .9rem; }
.event {
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1rem 1.25rem; align-items: center;
  padding: 1.1rem; transition: border-color .25s, transform .25s var(--ease);
  animation: fadeUp .45s var(--ease) both;
}
.event:hover { border-color: var(--c-accent); }
.event__date { display: grid; place-content: center; text-align: center; width: 76px; height: 76px; border-radius: 14px; background: var(--c-bg); border: 1px solid var(--c-line-2); }
.event__day { font-family: var(--f-display); font-weight: 900; font-size: 1.5rem; color: var(--c-accent); line-height: 1; }
.event__month { font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--c-text-2); margin-top: .35rem; }
.event__body { display: flex; flex-direction: column; gap: .45rem; min-width: 0; }
.event__name { font-family: var(--f-display); font-size: clamp(1.05rem, .95rem + .6vw, 1.5rem); font-weight: 700; letter-spacing: -.02em; }
.event__tags { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; padding: 0; }
.event__tags li { padding: .2rem .7rem; border-radius: 999px; background: #1A1F1A; font-size: .75rem; font-weight: 600; color: var(--c-text-2); }
.event__cta { grid-column: 1 / -1; }
.event__cta .btn { width: 100%; }

/* ---------- 09. Vídeos ---------- */
.videos { display: grid; gap: 1.5rem; }
.videos__main { display: flex; flex-direction: column; gap: 1rem; min-width: 0; }
.videos__meta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: .5rem 1rem; }
.videos__title { font-family: var(--f-display); font-size: var(--fs-h3); font-weight: 700; letter-spacing: -.02em; }

.player { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); border: 1px solid var(--c-line); overflow: hidden; background: #000; }
.player img, .player iframe, .player video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.player__play { position: absolute; inset: 0; display: grid; place-items: center; width: 100%; border: 0; background: linear-gradient(0deg, rgba(0,0,0,.45), rgba(0,0,0,.1)); }
.player__btn { display: grid; place-items: center; width: clamp(64px, 10vw, 96px); aspect-ratio: 1; border-radius: 50%; background: var(--c-accent); color: var(--c-accent-ink); box-shadow: 0 0 0 12px rgba(166,255,0,.15); transition: transform .25s var(--ease), box-shadow .25s; }
.player__btn svg { width: 40%; height: 40%; fill: currentColor; stroke: none; margin-left: 6%; }
.player__play:hover .player__btn { transform: scale(1.08); box-shadow: 0 0 0 18px rgba(166,255,0,.12); }
.player__tag { position: absolute; top: 1rem; left: 1rem; z-index: 2; padding: .35rem .8rem; border-radius: 999px; background: rgba(5,7,5,.8); font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--c-accent); pointer-events: none; }

.playlist { padding: .75rem; align-self: start; }
.playlist__label { padding: .5rem .6rem .4rem; font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--c-muted); }
.playlist__list { display: flex; flex-direction: column; gap: .25rem; }
.playlist__item { width: 100%; display: flex; align-items: center; gap: .85rem; padding: .6rem; border-radius: var(--radius-sm); border: 1px solid transparent; background: transparent; text-align: left; transition: background-color .2s, border-color .2s; }
.playlist__item:hover { background: var(--c-surface-2); }
.playlist__item[aria-current="true"] { background: var(--c-surface-2); border-color: var(--c-accent); }
.playlist__thumb { flex: 0 0 auto; width: 96px; aspect-ratio: 16 / 9; border-radius: 8px; object-fit: cover; background: #121512; }
.playlist__text { display: flex; flex-direction: column; gap: .15rem; min-width: 0; }
.playlist__title { font-size: .95rem; font-weight: 600; line-height: 1.3; }
.playlist__info { font-size: .8rem; color: var(--c-muted); }

/* ---------- 10. Galería y lightbox ---------- */
.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 150px; grid-auto-flow: dense; gap: .75rem; }
.gallery__item { position: relative; border-radius: 14px; overflow: hidden; animation: fadeUp .45s var(--ease) both; }
.gallery__item.is-tall { grid-row: span 2; }
.gallery__btn { position: absolute; inset: 0; width: 100%; padding: 0; border: 0; background: #121512; }
.gallery__btn img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease), filter .3s; }
.gallery__btn:hover img { transform: scale(1.06); filter: brightness(.75); }
.gallery__cap { position: absolute; inset: auto 0 0 0; padding: .75rem; background: linear-gradient(0deg, rgba(5,7,5,.9), transparent); font-size: .8rem; text-align: left; color: var(--c-text); pointer-events: none; }
.gallery__cap b { display: block; font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: var(--c-accent); }

.lightbox { width: min(100% - 2rem, 1000px); max-height: 100dvh; padding: 0; border: 0; background: transparent; color: var(--c-text); }
.lightbox::backdrop { background: rgba(4,5,4,.94); }
.lightbox__inner { display: flex; flex-direction: column; gap: 1rem; padding: 1rem 0; }
.lightbox__bar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.lightbox__bar p { font-size: .95rem; color: var(--c-text-2); }
.lightbox img { width: 100%; max-height: 70dvh; object-fit: contain; border-radius: var(--radius); background: #121512; }
.lightbox__nav { display: flex; justify-content: space-between; gap: .75rem; }
.lightbox[open] { animation: fadeIn .25s ease both; }

/* ---------- 11. Servicios, FAQ y contacto ---------- */
.faq { border-top: 1px solid var(--c-line); }
.faq details { border-bottom: 1px solid var(--c-line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 64px; padding: 1rem 0; font-size: 1.05rem; font-weight: 600; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: 0 0 auto; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--c-line-2); color: var(--c-accent); font-size: 1.3rem; font-weight: 400; transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--c-accent); }
.faq details p { padding: 0 0 1.25rem; color: var(--c-muted); max-width: 40rem; }

.contact-list { display: flex; flex-direction: column; gap: .9rem; }
.contact-list li { display: flex; align-items: center; gap: .85rem; }
.contact-list a { color: var(--c-text); text-decoration: none; }
.contact-list a:hover { color: var(--c-accent); }
.socials { display: flex; flex-wrap: wrap; gap: .6rem; }
.social { display: inline-flex; align-items: center; min-height: 44px; padding: 0 1rem; border: 1px solid var(--c-line-2); border-radius: 999px; color: var(--c-text); text-decoration: none; font-size: .9rem; font-weight: 600; }
.social:hover { border-color: var(--c-accent); color: var(--c-accent); }

.form-card { padding: clamp(1.25rem, 1rem + 1.5vw, 2.25rem); }
.form { display: flex; flex-direction: column; gap: 1.1rem; }
.form__row { display: grid; gap: 1.1rem; }
.field label { display: block; margin-bottom: .45rem; font-size: .82rem; font-weight: 600; color: var(--c-muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: .75rem 1rem;
  border-radius: var(--radius-sm); border: 1px solid var(--c-line-2); background: #0C0E0C; color: var(--c-text);
  font-size: 16px; /* 16px evita el zoom automático en iOS */
  transition: border-color .2s;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--c-accent); box-shadow: 0 0 0 3px rgba(166,255,0,.2); }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: #FF6B6B; }
.check { display: flex; gap: .65rem; align-items: flex-start; font-size: .9rem; color: var(--c-text-2); }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--c-accent); flex: 0 0 auto; }
.form .btn { align-self: flex-start; }
.form__status { min-height: 1.5em; font-size: .95rem; font-weight: 600; }
.form__status.is-ok { color: var(--c-accent); }
.form__status.is-error { color: #FF8A8A; }

/* ---------- 12. Pie y newsletter ---------- */
.footer { padding: clamp(3.5rem, 2.5rem + 3vw, 5rem) 0 2.5rem; border-top: 1px solid #1C211C; }
.newsletter { display: grid; gap: 1.5rem; padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); border-radius: 24px; background: var(--c-accent); color: var(--c-accent-ink); }
.newsletter__title { font-family: var(--f-display); font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2rem); font-weight: 900; letter-spacing: -.02em; margin-bottom: .4rem; }
.newsletter p { font-weight: 500; }
.newsletter__form { display: flex; flex-wrap: wrap; gap: .6rem; }
.newsletter__form input { flex: 1 1 200px; min-height: 52px; padding: 0 1.25rem; border-radius: 999px; border: 0; background: var(--c-accent-ink); color: var(--c-text); font-size: 16px; }
.newsletter__form input::placeholder { color: #8B958A; }
.newsletter__form input:focus { outline: 3px solid var(--c-accent-ink); outline-offset: 2px; }
.newsletter__form .btn { min-height: 52px; flex: 1 1 auto; }

.footer__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; }
.footer__brand { grid-column: 1 / -1; display: flex; flex-direction: column; gap: .75rem; max-width: 22rem; }
.footer__label { font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--c-muted); margin-bottom: .5rem; }
.footer nav a { display: inline-flex; align-items: center; min-height: 40px; color: var(--c-text-2); text-decoration: none; }
.footer nav a:hover { color: var(--c-accent); }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-top: 1.75rem; border-top: 1px solid #1C211C; font-size: .85rem; color: var(--c-muted); }
.footer__bottom a { text-decoration: none; }

/* ---------- 13. Animaciones ---------- */
@keyframes eq { from { transform: scaleY(.15); } to { transform: scaleY(1); } }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(166,255,0,.6); } 70% { box-shadow: 0 0 0 10px rgba(166,255,0,0); } 100% { box-shadow: 0 0 0 0 rgba(166,255,0,0); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* Aparición al hacer scroll (solo si JS está activo) */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- 14. Responsive ---------- */

/* Móvil pequeño (≤ 359px): ajustes finos */
@media (max-width: 359px) {
  .logo__img { height: 40px; }
  .stats { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; grid-auto-rows: 200px; }
  .btn { padding: 0 1.1rem; }
}

/* Tablet (≥ 640px) */
@media (min-width: 640px) {
  .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .form__row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 180px; gap: 1rem; }
  .event { grid-template-columns: auto minmax(0, 1fr) auto; padding: 1.25rem 1.5rem; gap: 1.5rem; }
  .event__date { width: 92px; height: 92px; }
  .event__day { font-size: 1.85rem; }
  .event__cta { grid-column: auto; }
  .event__cta .btn { width: auto; }
  .footer__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .newsletter__form .btn { flex: 0 0 auto; }
}

/* Tablet en horizontal con altura baja: el hero no ocupa demasiado */
@media (min-width: 640px) and (max-height: 520px) {
  .hero { padding-top: 2rem; }
}

/* Escritorio (≥ 960px) */
@media (min-width: 960px) {
  :root { --header-h: 80px; }
  .menu-toggle { display: none; }
  .nav {
    position: static; flex-direction: row; align-items: center; gap: 2rem;
    padding: 0; background: none; border: 0; max-height: none; overflow: visible;
    transform: none; opacity: 1; visibility: visible; transition: none;
  }
  .nav__list { flex-direction: row; gap: 1.75rem; }
  .nav__link { min-height: 44px; font-size: .95rem; font-weight: 500; color: #C9D1C8; border: 0; position: relative; }
  .nav__link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 8px; height: 2px; background: var(--c-accent); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
  .nav__link:hover::after, .nav__link.is-current::after { transform: scaleX(1); }
  body.menu-open { overflow: auto; }

  .hero__grid { grid-template-columns: 1.15fr .85fr; }
  .split { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .videos { grid-template-columns: minmax(0, 1.7fr) minmax(300px, 1fr); }
  .playlist { position: sticky; top: calc(var(--header-h) + 1.5rem); }
  .gallery { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 200px; }
  .newsletter { grid-template-columns: 1fr 1fr; align-items: center; }
  .footer__grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
  .footer__brand { grid-column: auto; }
}

/* Pantallas grandes (≥ 1280px) */
@media (min-width: 1280px) {
  .gallery { grid-auto-rows: 220px; }
}

/* Dispositivos táctiles: sin efectos hover que "se quedan pegados" */
@media (hover: none) {
  .btn:hover, .feature:hover, .service:hover { transform: none; }
  .gallery__btn:hover img { transform: none; filter: none; }
}

/* ---------- 15. Movimiento reducido ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .marquee__track { animation: none; }
}

/* Impresión */
@media print {
  .header, .marquee, .newsletter, .lightbox, .player { display: none !important; }
  body { background: #fff; color: #000; }
}

/* ---------- 16. Añadidos del gestor de contenido ---------- */
.preview-bar { position: sticky; top: 0; z-index: 60; padding: .55rem 1rem; background: #FFD43B; color: #1A1500; font-size: .85rem; font-weight: 700; text-align: center; }
.preview-bar a { color: #1A1500; }
.event__tags .event__badge { display: inline-block; padding: .15rem .6rem; border-radius: 999px; background: #3A1A1A; color: #FFB3B3; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.event.is-soldout .event__date { opacity: .6; }
.btn[aria-disabled="true"] { opacity: .55; pointer-events: none; }
.is-loading .events:empty, .is-loading .gallery:empty, .is-loading .playlist__list:empty { min-height: 240px; border-radius: var(--radius); background: linear-gradient(90deg, #111411 0%, #171B17 50%, #111411 100%); background-size: 200% 100%; animation: shimmer 1.4s linear infinite; }
@keyframes shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }
