/* ══════════════════════════════════════════════════════════════
   D'ORIGEN PRODUCCIONES · CardNav + Hero (splash)
   ══════════════════════════════════════════════════════════════ */

/* Fuentes servidas desde la propia web (subset latino, cubre el español):
   sin peticiones a Google al cargar la página, más rápido y sin ceder la
   IP de cada visitante a terceros. */
@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 400 800;
  font-stretch: 100%;
  font-display: swap;
  src: url("fonts/bricolage-grotesque-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("fonts/inter-latin.woff2") format("woff2");
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/jetbrains-mono-500-latin.woff2") format("woff2");
}

:root {
  --paper: #ffffff;
  --ink: #0b0b0c;
  --red: #e20714;
  --body: "Inter", system-ui, -apple-system, sans-serif;
  --display: "Bricolage Grotesque", var(--body);
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  /* Tema de página (claro por defecto). Se invierte con body.page-dark
     para poder alternar páginas blancas y negras. */
  --bg: var(--paper);
  --fg: var(--ink);
  --muted: #66666b;
  --line: rgba(11, 11, 12, .12);
  --root-img: url("img/raiz-black.webp");
}

/* Página en negro */
body.page-dark {
  --bg: var(--ink);
  --fg: #ffffff;
  --muted: rgba(255, 255, 255, .58);
  --line: rgba(255, 255, 255, .14);
  --root-img: url("img/raiz-white.webp");
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--body);
  background: var(--bg);
  color: var(--fg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
/* "hidden" manda siempre, aunque otra regla le dé display al elemento. */
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 4px; border-radius: 4px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* Enlace "saltar al contenido": invisible hasta que se navega con teclado,
   para no obligar a pasar por el nav (y su overlay) en cada página. */
.skip-link {
  position: fixed; top: -100px; left: 1rem; z-index: 1000;
  background: var(--red); color: #fff; font-weight: 600; font-size: .9rem;
  padding: .8rem 1.3rem; border-radius: 8px; transition: top .2s ease;
}
.skip-link:focus { top: 1rem; }

/* ══════════════ NAVBAR (CardNav) ══════════════
   No es una barra: son 3 elementos sueltos flotando sobre la página
   (hamburguesa · logo · caja de contacto), sin fondo ni línea que los una. */
:root { --nav-h: 84px; }
.card-nav-container {
  position: fixed;
  top: 0; left: 0; right: 0; width: 100%;
  z-index: 99; box-sizing: border-box;
}
.card-nav {
  display: block; height: var(--nav-h); padding: 0;
  background: none; border: 0; border-radius: 0;
  position: relative; overflow: visible;
}

.card-nav-top {
  position: absolute; top: 0; left: 0; right: 0; height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem); z-index: 2;
}
.hamburger-menu {
  height: 100%; min-width: 44px; display: flex; flex-direction: column; align-items: center; justify-content: center;
  cursor: pointer; gap: 7px; color: #fff; padding: 0 .5rem;
}
.hamburger-menu:hover .hamburger-line { opacity: 0.6; }
.hamburger-line {
  width: 27px; height: 3px; background-color: currentColor; border-radius: 2px;
  transition: transform .25s var(--ease), opacity .2s ease; transform-origin: 50% 50%;
}
.hamburger-menu.open .hamburger-line:first-child { transform: translateY(5px) rotate(45deg); }
.hamburger-menu.open .hamburger-line:last-child { transform: translateY(-5px) rotate(-45deg); }

.logo-container {
  display: flex; align-items: center;
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
}
/* nudge óptico: el logo pesa arriba (letras) y las raíces cuelgan finas abajo */
.logo { height: 24px; width: auto; transform: translateY(2px); }

.card-nav-cta-button {
  display: inline-flex; align-items: center;
  background-color: #fff; color: var(--ink); border: none;
  border-radius: 8px; padding: 0 1.1rem; height: 42px;
  font-size: .8rem; font-weight: 600; letter-spacing: .01em;
  text-decoration: none; cursor: pointer; transition: background-color .25s ease, color .25s ease;
}
.card-nav-cta-button:hover { background-color: var(--red); color: #fff; }

/* Overlay a pantalla completa: cubre todo el viewport y aparece con
   opacidad, no con una animación de altura (evita layout thrash). */
.card-nav-content {
  position: fixed; inset: 0; z-index: 1;
  background: var(--ink); color: #fff;
  display: flex; flex-direction: column; justify-content: center;
  padding: calc(var(--nav-h) + clamp(1.5rem, 5vh, 3rem)) clamp(1.25rem, 4vw, 2.5rem) clamp(1.5rem, 5vh, 3rem);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .4s var(--ease), visibility 0s linear .4s;
}
.card-nav.open .card-nav-content { opacity: 1; visibility: visible; pointer-events: auto; transition: opacity .4s var(--ease); }

.nav-overlay__links { display: flex; flex-direction: column; }
.nav-overlay__links a {
  font-family: var(--display); font-weight: 700; text-transform: uppercase;
  font-size: clamp(2rem, 6vw, 3.4rem); line-height: 1.28; letter-spacing: -.015em;
  color: #fff; opacity: 0; transform: translateY(24px);
  transition: opacity .5s var(--ease), transform .5s var(--ease), color .25s ease;
}
.card-nav.open .nav-overlay__links a { opacity: 1; transform: none; }
.card-nav.open .nav-overlay__links a:nth-child(1) { transition-delay: .06s; }
.card-nav.open .nav-overlay__links a:nth-child(2) { transition-delay: .12s; }
.card-nav.open .nav-overlay__links a:nth-child(3) { transition-delay: .18s; }
.nav-overlay__links a:hover { color: var(--red); }

.nav-overlay__foot {
  margin-top: clamp(2.5rem, 7vh, 4.5rem);
  display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
  opacity: 0; transition: opacity .5s var(--ease) .22s;
}
.card-nav.open .nav-overlay__foot { opacity: 1; }
.nav-overlay__foot > a { font-size: .9rem; color: rgba(255, 255, 255, .6); transition: color .2s ease; }
.nav-overlay__foot > a:hover { color: #fff; }
.nav-overlay__legal { display: flex; gap: 1.2rem; }
.nav-overlay__legal a { font-family: var(--mono); font-size: .68rem; letter-spacing: .04em; text-transform: uppercase; color: rgba(255, 255, 255, .65); transition: color .2s ease; }
.nav-overlay__legal a:hover { color: #fff; }

@media (prefers-reduced-motion: reduce) {
  .nav-overlay__links a, .nav-overlay__foot { opacity: 1; transform: none; transition: none; }
}

/* ══════════════ HERO (bento) ══════════════ */

/* Entrada en cascada (como el desplegable) */

/* ── Titular ── */

/* ── Tarjetas base ── */

/* ── Tarjeta destacada (D'OP) ── */

/* ── Tarjeta servicios ── */

/* ── Tarjeta CTA roja ── */

@keyframes floatSoft {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ══════════════ SECCIONES (comunes) ══════════════ */
.section { max-width: 1240px; margin: 0 auto; padding: clamp(3.75rem, 9vh, 6.5rem) clamp(1.25rem, 4vw, 2.5rem); }
.section--dark { max-width: none; margin: 0; background: var(--ink); color: #fff; }
.section--dark > * { max-width: 1240px; margin-inline: auto; }
/* Sección blanca a sangre (sirve también dentro de una página oscura) */

.sec-intro { margin-top: 1rem; color: #55555a; font-size: clamp(.95rem, 1.2vw, 1.08rem); line-height: 1.55; max-width: 52ch; }

/* Reveal on scroll */
/* Solo se oculta para animarlo si hay JavaScript (clase "js" en <html>):
   sin JS, todo el contenido se ve desde el principio. */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ══════════════ HERO con foto (estilo Live Nation) ══════════════ */

/* ══════════════ SERVICIOS · rejilla 2×2 cuadrada, se ilumina en rojo
   al pasar el ratón ══════════════ */
.services-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  background: var(--bg); color: var(--fg);
  border-top: 1px solid rgba(255, 255, 255, .14);
}
.service-card {
  position: relative; padding: clamp(2rem, 5vw, 3.2rem) clamp(1.5rem, 4vw, 2.5rem);
  border-bottom: 1px solid rgba(255, 255, 255, .14);
  outline: none; cursor: default;
  transition: background-color .35s var(--ease);
}
.service-card:nth-child(odd) { border-right: 1px solid rgba(255, 255, 255, .14); }
.service-card::before {
  content: ""; position: absolute; top: 0; left: clamp(1.5rem, 4vw, 2.5rem); right: clamp(1.5rem, 4vw, 2.5rem);
  height: 2px; background: var(--red);
}
.service-card__no {
  display: block; margin-top: 1.3rem;
  font-family: var(--display); font-weight: 800; letter-spacing: -.02em;
  font-size: clamp(2.6rem, 6vw, 4.2rem); line-height: 1; color: #fff;
}
.service-card__title {
  margin: .9rem 0 0; font-weight: 700; font-size: clamp(.92rem, 1.3vw, 1.05rem);
  letter-spacing: .01em; color: #ff3b45; max-width: 26ch; /* rojo aclarado: 5,4:1 sobre negro */
  transition: color .35s var(--ease);
}
.service-card:hover, .service-card:focus-visible { background: var(--red); }
.service-card:hover .service-card__title, .service-card:focus-visible .service-card__title { color: #fff; }

@media (max-width: 640px) {
  .services-grid { grid-template-columns: 1fr; }
  .service-card:nth-child(odd) { border-right: 0; }
}

/* ══════════════ PRÓXIMOS EVENTOS · declaración tipográfica ══════════════ */

/* ══════════════ MANIFIESTO (home) ══════════════ */

/* ══════════════ Eventos destacados (home): franjas finas, vídeo al pasar
   el ratón ══════════════ */

/* ══════════════ SOBRE NOSOTROS: titular con degradado + dos columnas ══════════════ */
.about-mccann { max-width: 1240px; margin: 0 auto; padding: clamp(120px, 20vh, 180px) clamp(1.25rem, 4vw, 2.5rem) clamp(2rem, 6vh, 3.5rem); }
.about-mccann__title { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: clamp(2.3rem, 10vw, 8.5rem); overflow-wrap: break-word; line-height: .9; letter-spacing: -.03em; margin: 0; }
.about-mccann__fade, .about-mccann__solid { display: block; }
.about-mccann__fade {
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, .85) 92%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.about-mccann__solid { color: #fff; }

.about-columns { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); }
.about-columns__col p { color: var(--muted); font-size: clamp(1rem, 1.3vw, 1.14rem); line-height: 1.7; }
.about-columns__col p + p { margin-top: 1.2rem; }
.about-columns__col strong { color: #fff; font-weight: 600; }
@media (max-width: 720px) {
  .about-columns { grid-template-columns: 1fr; gap: 2rem; }
}

/* ══════════════ HERO · logo grande en negro ══════════════ */
.hero-logo { min-height: 100svh; display: flex; align-items: center; justify-content: center; padding: clamp(96px, 13vh, 132px) clamp(1rem, 4vw, 2.5rem); }
.hero-logo__img { width: min(72vw, 820px); height: auto; animation: floatSoft 7s ease-in-out infinite; will-change: transform; }
@media (prefers-reduced-motion: reduce) { .hero-logo__img { animation: none; } }

/* ══════════════ ESPINA · raíz que crece con el scroll ══════════════ */

/* Principal (hero) */

/* Nodos (cajitas de sección) */

/* Parada ancha (Servicios): más espacio para una lista completa */

/* Las dos últimas paradas (bifurcación final): casi sin margen entre ellas,
   para que se lean como una sola horquilla y no como dos paradas seguidas. */

/* ── Hueco de imagen marcado ── */

/* Hueco relleno con foto real */

/* ── Cartelera: cartel + título + comprar entradas, y listo ── */

.poster { display: flex; flex-direction: column; align-items: center; text-align: center; }

/* ── Sobre: manifiesto ── */

/* ── Proceso (cómo trabajamos) ── */

/* ── Artistas ── */

/* ── Sobre (dark) ── */

.btn-line { display: inline-flex; align-items: center; gap: .5rem; margin-top: 2rem; font-weight: 500; color: #fff; border-bottom: 1px solid rgba(255, 255, 255, .3); padding-bottom: .3rem; transition: gap .25s var(--ease), border-color .25s var(--ease); }
.btn-line:hover { gap: .8rem; border-color: var(--red); }

/* ── Galería (bento asimétrico) ── */

/* ── Newsletter ── */
.news { text-align: center; }
.news__inner { max-width: 620px; }
.news__title { font-family: var(--display); font-weight: 800; font-size: clamp(2rem, 4.6vw, 3.4rem); line-height: 1; letter-spacing: -.02em; text-transform: uppercase; }
.news__title em { font-style: normal; color: var(--red); }
.news__sub { margin: 1rem auto 2rem; color: rgba(255, 255, 255, .6); max-width: 44ch; }

/* ── Footer ── */
.footer { background: #050505; color: #fff; padding: clamp(3rem, 7vh, 5rem) clamp(1.25rem, 4vw, 2.5rem) 2rem; }
.footer__grid { max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.5rem, 3vw, 3rem); padding-bottom: 3rem; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.footer__logo { height: 34px; width: auto; margin-bottom: 1rem; }
.footer__brand p { color: rgba(255, 255, 255, .5); max-width: 26ch; font-size: .9rem; }
.footer__heading { font-family: var(--mono); font-size: .64rem; letter-spacing: .15em; text-transform: uppercase; color: rgba(255, 255, 255, .62); margin-bottom: 1rem; }
.footer__col a { display: block; color: rgba(255, 255, 255, .8); font-size: .9rem; padding: .3rem 0; transition: color .2s ease; overflow-wrap: anywhere; }
.footer__col a:hover { color: var(--red); }
.footer__bottom { max-width: 1240px; margin: 1.5rem auto 0; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; font-family: var(--mono); font-size: .72rem; color: rgba(255, 255, 255, .62); }
/* Enlaces legales con zona de toque mínima de 24 px y separación. */
.footer__legal { display: flex; flex-wrap: wrap; gap: .25rem 1.2rem; }
.footer__legal a, .footer__legal button { display: inline-flex; align-items: center; min-height: 24px; }
.footer__legal a:hover { color: var(--red); }

/* ── Footer con 3 columnas (sin redes: no hay cuentas reales que enlazar) ── */
.footer__grid--3 { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1fr); }

/* ── Páginas legales: prosa ── */
.legal { max-width: 760px; margin: 0 auto; padding: clamp(3rem, 8vh, 5rem) clamp(1.25rem, 4vw, 2.5rem) clamp(4rem, 10vh, 7rem); }
.legal h2 { font-family: var(--display); font-weight: 700; font-size: clamp(1.2rem, 2vw, 1.5rem); letter-spacing: -.01em; margin: 2.2rem 0 .8rem; }
.legal h2:first-child { margin-top: 0; }
.legal p { color: var(--muted); line-height: 1.7; font-size: .98rem; }
.legal p + p { margin-top: .9rem; }
.legal strong { color: var(--fg); font-weight: 600; }
.legal ul { margin: .9rem 0 0; padding-left: 1.2rem; color: var(--muted); line-height: 1.7; font-size: .98rem; }
.legal li + li { margin-top: .3rem; }
.legal a { color: var(--fg); text-decoration: underline; text-underline-offset: 2px; }
.legal a:hover { color: var(--red); }
.legal__updated { font-family: var(--mono); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: #9a9aa0; margin-bottom: 2.2rem; display: block; }

/* ── Cabecera de sección con enlace "Ver todo" ── */

/* ── Eventos realizados: un evento por pantalla completa, con el título
   superpuesto sobre la imagen. Scroll-snap dentro de la propia sección:
   al bajar, la pantalla siguiente encaja entera, como una sucesión de
   diapositivas dentro de la página normal. ── */
.reel-section { position: relative; padding-bottom: 0; }
.reel {
  scroll-snap-type: y mandatory; overflow-y: auto; height: 100svh;
  -webkit-overflow-scrolling: touch;
}
.reel__item {
  position: relative; display: block; height: 100svh; overflow: hidden;
  scroll-snap-align: start; scroll-snap-stop: always;
}
.reel__media { position: absolute; inset: 0; background: #000; }
.reel__item::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(to top, rgba(0, 0, 0, .78) 0%, rgba(0, 0, 0, .2) 36%, rgba(0, 0, 0, 0) 60%);
}

/* Fondo de vídeo propio (mp4 local): se rellena con JS solo cuando la
   diapositiva está a la vista, para no reproducir ni descargar los seis
   vídeos a la vez. */
.reel__video { position: absolute; inset: 0; overflow: hidden; }
.reel__video video { width: 100%; height: 100%; object-fit: cover; }

.reel__meta {
  position: absolute; left: 0; right: 0; bottom: clamp(2rem, 6vh, 3.5rem); z-index: 2;
  display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
}
.reel__title {
  font-family: var(--display); font-weight: 800; text-transform: uppercase;
  font-size: clamp(2.4rem, 6.5vw, 5.5rem); line-height: .94; letter-spacing: -.02em;
  color: #fff; text-shadow: 0 2px 24px rgba(0, 0, 0, .35);
}
.reel__side { display: flex; flex-direction: column; align-items: flex-end; gap: .5rem; }
.reel__loc { font-family: var(--mono); font-size: .85rem; letter-spacing: .06em; text-transform: uppercase; color: rgba(255, 255, 255, .78); white-space: nowrap; }
.reel__watch {
  position: relative; z-index: 3; pointer-events: auto;
  font-size: .82rem; font-weight: 600; color: rgba(255, 255, 255, .85);
  border-bottom: 1px solid rgba(255, 255, 255, .35); padding-bottom: .15rem;
  transition: color .2s ease, border-color .2s ease;
}
.reel__watch:hover { color: var(--red); border-color: var(--red); }

/* Indicador de carga: un punto que respira mientras el vídeo aún no ha
   arrancado. Desaparece en cuanto la diapositiva tiene el iframe listo. */
.reel__loader {
  position: absolute; top: 50%; left: 50%; z-index: 1; transform: translate(-50%, -50%);
  width: 10px; height: 10px; border-radius: 50%; background: var(--red);
  animation: reel-pulse 1.3s ease-in-out infinite;
  transition: opacity .3s ease;
}
.reel__item.has-video .reel__loader { opacity: 0; animation: none; }
@keyframes reel-pulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: .55; }
  50% { transform: translate(-50%, -50%) scale(2.6); opacity: 0; }
}

/* Puntos de navegación: uno por evento, fijos a la derecha, para saber
   en cuál estás y saltar directo sin tener que hacer scroll uno a uno. */
.reel__dots {
  position: absolute; top: 50%; right: clamp(1rem, 3vw, 1.75rem); z-index: 4;
  transform: translateY(-50%);
  display: flex; flex-direction: column; gap: .7rem;
}
/* El botón mide 24×24 (zona de toque cómoda); el punto visible, 8 px. */
.reel__dots { gap: 0; }
.reel__dot {
  position: relative; width: 24px; height: 24px; padding: 0;
  background: transparent; border: 0; border-radius: 50%; cursor: pointer;
}
.reel__dot::before {
  content: ""; position: absolute; top: 50%; left: 50%; width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255, 255, 255, .3); transform: translate(-50%, -50%);
  transition: background-color .25s ease, transform .25s ease;
}
.reel__dot:hover::before { background: rgba(255, 255, 255, .6); }
.reel__dot.is-active::before { background: var(--red); transform: translate(-50%, -50%) scale(1.35); }

@media (max-width: 640px) {
  .reel__dots { display: none; }
}

/* Botón de pausa: el vídeo arranca solo al llegar a cada diapositiva, así
   que hace falta un control explícito para pararlo (WCAG 2.2.2). */
.reel__pause {
  position: absolute; left: clamp(1rem, 3vw, 1.75rem); bottom: clamp(1rem, 3vw, 1.75rem); z-index: 4;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(0, 0, 0, .4); border: 1px solid rgba(255, 255, 255, .35);
  transition: background-color .2s ease;
}
.reel__pause:hover { background: rgba(0, 0, 0, .6); }
/* Mientras suena se ve el icono de pausa (lo que hará el botón); pausado,
   el de reproducir. */
.reel__pause::before {
  content: ""; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 10px; height: 12px;
  background: linear-gradient(90deg, #fff 0 35%, transparent 35% 65%, #fff 65% 100%);
}
.reel__pause[aria-pressed="true"]::before {
  width: 12px; height: 12px; margin-left: 1px;
  background: #fff;
  clip-path: polygon(0 0, 0 100%, 100% 50%);
}
/* En móvil, arriba a la derecha: abajo chocaba con "Ver en YouTube". */
@media (max-width: 640px) {
  .reel__pause { bottom: auto; left: auto; top: 5.5rem; right: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  .reel { scroll-snap-type: none; }
  .reel__loader { animation: none; }
}

/* ── CTA sólido centrado ── */
.cta-solid { display: inline-flex; align-items: center; gap: .6rem; margin-top: .3rem; font-weight: 600; color: #fff; background: var(--red); padding: 1rem 1.9rem; border-radius: 100px; transition: transform .25s var(--ease), gap .25s var(--ease); }
.cta-solid:hover { transform: translateY(-2px); gap: .9rem; }

/* ── Cabecera de páginas internas ── */
.page-hero { max-width: 1240px; margin: 0 auto; padding: clamp(6.5rem, 15vh, 9rem) clamp(1.25rem, 4vw, 2.5rem) clamp(1.5rem, 3vh, 2.2rem); }
.page-hero__title { font-family: var(--display); font-weight: 800; font-size: clamp(2.2rem, 5.6vw, 4rem); line-height: .98; letter-spacing: -.02em; text-transform: uppercase; }
.page-hero__title em { font-style: normal; color: var(--red); }
.page-hero__intro { margin-top: 1rem; color: #55555a; max-width: 56ch; font-size: clamp(.98rem, 1.3vw, 1.12rem); line-height: 1.55; }

/* ── Servicios (página): tarjetas oscuras ── */

/* ── Galería (página) ── */

/* ── Contacto (página) ── */
.contact { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.contact__form { display: flex; flex-direction: column; gap: 1rem; }
.field { display: flex; flex-direction: column; gap: .4rem; }
.field label { font-family: var(--mono); font-size: .66rem; letter-spacing: .08em; text-transform: uppercase; color: #a1a1a7; }
.field input, .field textarea { background: #f6f6f4; border: 1px solid rgba(11, 11, 12, .12); border-radius: 10px; padding: .85rem 1rem; font: inherit; color: var(--ink); resize: vertical; }
.field input:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; border-color: transparent; }
.contact__form .cta-solid { align-self: flex-start; margin-top: .4rem; border: 0; cursor: pointer; }
.contact__note { font-family: var(--mono); font-size: .72rem; color: #88888e; margin-top: .2rem; }
.check { display: flex; align-items: flex-start; gap: .6rem; font-size: .84rem; color: var(--muted); line-height: 1.45; cursor: pointer; }
.check input { margin-top: .18rem; accent-color: var(--red); width: 16px; height: 16px; flex-shrink: 0; }
.check a { color: var(--fg); text-decoration: underline; text-underline-offset: 2px; }
.check a:hover { color: var(--red); }
.contact__info { display: grid; gap: 1.5rem; }
.info-block h2 { font-family: var(--mono); font-weight: 500; font-size: .64rem; letter-spacing: .12em; text-transform: uppercase; color: #9a9aa0; margin-bottom: .4rem; }
.info-block a { color: var(--fg); font-weight: 500; transition: color .2s ease; overflow-wrap: anywhere; }
.info-block a:hover { color: var(--red); }
.info-block .muted { color: #9a9aa0; font-size: .82rem; }

/* ══════════════════════════════════════════════════════════════
   PÁGINA EN NEGRO (body.page-dark)
   Invierte los componentes que viven sobre el fondo de página.
   Las secciones que ya son .section--dark no necesitan cambios.
   ══════════════════════════════════════════════════════════════ */

body.page-dark .page-hero__title,
body.page-dark .sec-title,
body.page-dark .poster__title,
body.page-dark .work__body h3,
body.page-dark .step h3,
body.page-dark .svc h3 { color: #fff; }

body.page-dark .page-hero__intro,
body.page-dark .sec-intro,
body.page-dark .work__body p,
body.page-dark .step p,
body.page-dark .svc p,
body.page-dark .about__text p { color: var(--muted); }

/* En página oscura, la sección oscura se distingue con un tono ligeramente distinto */
body.page-dark .section--dark { background: #131316; }

/* Sección BLANCA dentro de página oscura: los textos vuelven a ser oscuros */

/* ══════════════════════════════════════════════════════════════
   RAÍCES QUE BROTAN DE UN BORDE (nunca flotando)
   .roots-below → cuelga del borde INFERIOR del elemento hacia la
   sección siguiente, como raíces que se hunden en lo que hay debajo.
   Color automático según el tema de página (--root-img).
   ══════════════════════════════════════════════════════════════ */

/* variantes de color explícitas cuando el fondo de destino lo pide */

/* Variante GRIS: reaprovecha el arte rojo desaturado por filtro, para no
   depender de un archivo nuevo. A opacidad más alta que el resto porque
   se usa como acento visible, no solo como textura de fondo. */

/* .roots-from-top → la raíz nace del borde SUPERIOR de la sección y cuelga
   dentro de ella. Se usa cuando el bloque de arriba tiene overflow:hidden
   (p. ej. el hero con foto) y no puede dejar salir nada. */

/* En sección blanca dentro de página oscura, la raíz debe ser negra */

/* ── Responsive de secciones ── */
@media (max-width: 1000px) {
  
  
  
  
  
  
  
  
  .contact { grid-template-columns: 1fr; }
  
  .footer__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
@media (max-width: 620px) {
  
  
  
  
  
  
  
  
  
  
  
  .footer__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .footer__bottom { flex-direction: column; }
}

/* ══════════════ RESPONSIVE ══════════════ */
@media (max-width: 768px) {
  :root { --nav-h: 64px; }
  .card-nav-top { padding: 0 1rem; }
  .logo { height: 20px; }
  .card-nav-cta-button { font-size: .74rem; }
}

/* Bento en tablet: 2 columnas */

/* Bento en móvil: 1 columna */

/* ══════════════ PANEL DE EDICIÓN ══════════════ */
.panel { min-height: 100svh; padding: clamp(2rem, 6vh, 4rem) clamp(1.25rem, 4vw, 2.5rem); }

.panel-login { max-width: 360px; margin: 10vh auto 0; text-align: center; }
.panel-login__logo { height: 30px; width: auto; margin: 0 auto 2rem; }
.panel-login__title { font-family: var(--display); font-weight: 800; font-size: 1.6rem; letter-spacing: -.01em; }
.panel-login__hint { margin-top: .5rem; color: var(--muted); font-size: .9rem; }
.panel-login__form { margin-top: 2rem; display: flex; flex-direction: column; gap: .9rem; }
.panel-login__form label { text-align: left; font-family: var(--mono); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.panel-login__form input {
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .16); border-radius: 10px;
  padding: .85rem 1rem; color: #fff; font: inherit;
}
.panel-login__form input:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; border-color: transparent; }
.panel-login__form .cta-solid { border: 0; cursor: pointer; margin-top: .4rem; justify-content: center; }
.panel-note { font-size: .85rem; color: var(--red); min-height: 1.2em; }

.panel-editor { max-width: 760px; margin: 0 auto; }
.panel-editor__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; padding-bottom: 2rem; border-bottom: 1px solid var(--line); }
.panel-editor__head h1 { font-family: var(--display); font-weight: 800; font-size: 1.8rem; letter-spacing: -.01em; }
.panel-editor__head p { margin-top: .4rem; color: var(--muted); font-size: .92rem; max-width: 46ch; }
.panel-editor__actions { display: flex; gap: 1.2rem; }
.panel-editor__actions button.btn-line { background: none; border: 0; border-bottom: 1px solid rgba(255, 255, 255, .3); cursor: pointer; font: inherit; }

.panel-status { min-height: 1.4em; margin-top: 1.5rem; font-weight: 600; font-size: .92rem; }
.panel-status.is-ok { color: #3ecf6b; }
.panel-status.is-error { color: var(--red); }

.panel-section { border: 1px solid var(--line); border-radius: 14px; padding: 1.6rem clamp(1.1rem, 3vw, 1.8rem) 1.8rem; margin-top: 1.75rem; }
.panel-section legend { padding: 0 .5rem; font-family: var(--display); font-weight: 700; font-size: 1.05rem; }
.panel-field { margin-top: 1.1rem; display: flex; flex-direction: column; gap: .4rem; }
.panel-field--row { flex-direction: row; gap: 1.2rem; }
.panel-field--row > div { flex: 1 1 0; display: flex; flex-direction: column; gap: .4rem; }
.panel-field label { font-family: var(--mono); font-size: .66rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.panel-field input, .panel-field textarea {
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .14); border-radius: 8px;
  padding: .7rem .9rem; color: #fff; font: inherit; resize: vertical;
}
.panel-field input:focus-visible, .panel-field textarea:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; border-color: transparent; }
.panel-field__hint { font-size: .78rem; color: rgba(255, 255, 255, .62); }

.panel-event { padding: 1.1rem 0; border-top: 1px solid var(--line); }
.panel-event:first-child { border-top: 0; padding-top: 0; }
.panel-event h3 { font-family: var(--mono); font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; color: var(--red); }

.panel-event--upcoming { position: relative; padding: 1.4rem 1.2rem; border: 1px solid var(--line); border-top: 1px solid var(--line); border-radius: 10px; margin-top: 1rem; }
.panel-event--upcoming:first-child { margin-top: 0; }
.panel-event__remove {
  position: absolute; top: .9rem; right: .9rem; border: 0; background: none; cursor: pointer;
  font-family: var(--mono); font-size: .68rem; letter-spacing: .04em; text-transform: uppercase;
  color: rgba(255, 255, 255, .4); transition: color .2s ease;
}
.panel-event__remove:hover { color: var(--red); }
#add-event-btn { margin-top: 1.1rem; background: none; border: 0; border-bottom: 1px solid rgba(255, 255, 255, .3); cursor: pointer; font: inherit; color: #fff; padding: 0; }
#add-event-btn:hover { color: var(--red); border-color: var(--red); }

.panel-save { margin-top: 2.2rem; border: 0; cursor: pointer; width: 100%; justify-content: center; }
.panel-password { margin-top: 3.5rem; padding-bottom: 3rem; }
.panel-password .btn-line { margin-top: .4rem; }
.panel-password .panel-status { margin-top: 1rem; }

@media (max-width: 620px) {
  .panel-field--row { flex-direction: column; }
}

/* ══════════════ PRÓXIMOS EVENTOS · lista, botón de venta de entradas ══════════════ */
.events-list { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.event-card {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap;
  padding: clamp(1.8rem, 4.5vh, 2.6rem) 0; border-bottom: 1px solid var(--line);
}
.event-card__title { font-family: var(--display); font-weight: 800; font-size: clamp(1.4rem, 3.2vw, 2.1rem); letter-spacing: -.01em; }
.event-card__meta { margin-top: .4rem; font-family: var(--mono); font-size: .78rem; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }

/* Con cartel: la foto manda, el texto debajo. Nada de recuadro ni
   aspect-ratio inventados — cada cartel puede tener una forma distinta
   (el primero es una tira muy alargada), así que se deja que la imagen
   ocupe su proporción natural, sin recortar ni deformar nunca. */
.event-card--poster { align-items: center; gap: clamp(1.5rem, 4vw, 3rem); padding: clamp(2rem, 5vh, 3rem) 0; flex-wrap: wrap; }
.event-card__poster {
  flex: 0 0 auto; max-width: clamp(200px, 32vw, 380px); border-radius: 10px; overflow: hidden;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .45);
}
.event-card__poster img { display: block; max-width: 100%; max-height: 65vh; width: auto; height: auto; object-fit: contain; transition: transform .5s var(--ease); }
.event-card--poster:hover .event-card__poster img { transform: scale(1.03); }
.event-card__info { flex: 1 1 280px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: .3rem; }
.event-card__info .cta-solid { margin-top: 1.1rem; }

.events-empty-state { padding: clamp(2.5rem, 7vh, 4rem) 0; text-align: center; }
.events-empty-state p { color: var(--muted); font-size: 1.02rem; }

/* ── Panel: subir/quitar cartel ── */
.panel-poster { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.panel-poster__preview { width: 70px; height: 94px; object-fit: cover; border-radius: 6px; background: rgba(255, 255, 255, .06); }
.panel-poster__controls { display: flex; flex-direction: column; gap: .4rem; }
.panel-poster__controls input[type="file"] { font-size: .82rem; color: var(--muted); max-width: 240px; }
.panel-poster__controls .btn-line { align-self: flex-start; font-size: .82rem; background: none; border: 0; border-bottom: 1px solid rgba(255, 255, 255, .3); cursor: pointer; }
.panel-poster__status { font-size: .78rem; color: var(--red); min-height: 1.1em; }

/* Móviles muy estrechos (320-400 px): el pie en una sola columna.
   Va al final para mandar sobre las reglas de 1000 y 620 px. */
@media (max-width: 400px) {
  .footer__grid, .footer__grid--3 { grid-template-columns: minmax(0, 1fr); }
}

/* Marca de campo obligatorio en el formulario de contacto. */
.field__req { text-transform: none; letter-spacing: 0; color: #c9c9ce; }

/* ── Aviso de cookies ── */
.cookie-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 90;
  max-width: 560px; margin-left: auto;
  padding: 1.1rem 1.2rem; border-radius: 14px;
  background: #151517; color: #fff; border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: 0 18px 50px rgba(0, 0, 0, .55);
  font-size: .9rem; line-height: 1.5;
}
.cookie-banner__text a { color: #fff; text-decoration: underline; text-underline-offset: 2px; }
.cookie-banner__options { display: grid; gap: .55rem; margin-top: .9rem; }
.cookie-banner__options label { display: flex; gap: .55rem; align-items: flex-start; color: rgba(255, 255, 255, .85); }
.cookie-banner__options input { margin-top: .25rem; accent-color: var(--red); width: 1rem; height: 1rem; flex: none; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: .6rem; margin-top: 1rem; }
/* Aceptar y Rechazar con el mismo peso visual (criterio de la AEPD). */
.cookie-banner__btn {
  min-height: 44px; padding: .6rem 1.3rem; border-radius: 999px; cursor: pointer;
  font: inherit; font-weight: 600; color: #fff; background: transparent; border: 1px solid rgba(255, 255, 255, .55);
}
.cookie-banner__btn:hover { background: #fff; color: var(--ink); }
.cookie-banner__link {
  min-height: 44px; margin-right: auto; padding: .6rem .2rem; cursor: pointer;
  font: inherit; color: rgba(255, 255, 255, .85); background: none; border: 0; text-decoration: underline; text-underline-offset: 2px;
}
.footer__cookie-btn {
  padding: 0; cursor: pointer; font: inherit; color: inherit;
  background: none; border: 0; text-decoration: underline; text-underline-offset: 2px;
}
.footer__cookie-btn:hover { color: var(--red); }

button.cta-solid { border: 0; cursor: pointer; font: inherit; font-weight: 600; }
